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 _djb2 ; -- Begin function djb2
.p2align 2
_djb2: ; @djb2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
mov x8, #5381
str x8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w8, [x8]
str w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #16]
ldr x8, [sp, #16]
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #12]
add x8, x8, x9
str x8, [sp, #16]
b LBB0_1
LBB0_3:
ldr x0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function dwalltime
lCPI1_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _dwalltime
.p2align 2
_dwalltime: ; @dwalltime
.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
ldr d0, [sp, #8]
scvtf d0, d0
ldr s2, [sp, #16]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
adrp x8, lCPI1_0@PAGE
ldr d2, [x8, lCPI1_0@PAGEOFF]
fdiv d1, d1, d2
fadd d0, d0, d1
stur d0, [x29, #-8]
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ini_params ; -- Begin function ini_params
.p2align 2
_ini_params: ; @ini_params
.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
ldr x9, [x29, #16]
ldr x8, [x29, #24]
adrp x10, _optarg@GOTPAGE
ldr x10, [x10, _optarg@GOTPAGEOFF]
str x10, [sp, #16] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur x4, [x29, #-40]
stur x5, [x29, #-48]
str x6, [sp, #56]
str x7, [sp, #48]
str x9, [sp, #40]
str x8, [sp, #32]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
add x4, sp, #24
str wzr, [sp, #24]
ldur w0, [x29, #-4]
ldur x1, [x29, #-16]
adrp x2, l_.str.8@PAGE
add x2, x2, l_.str.8@PAGEOFF
adrp x3, _ini_params.long_options@PAGE
add x3, x3, _ini_params.long_options@PAGEOFF
bl _getopt_long
str w0, [sp, #28]
ldr w8, [sp, #28]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
b LBB2_29
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #28]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_13
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #63
cset w8, eq
tbnz w8, #0, LBB2_26
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #97
cset w8, eq
tbnz w8, #0, LBB2_24
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #98
cset w8, eq
tbnz w8, #0, LBB2_19
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #100
cset w8, eq
tbnz w8, #0, LBB2_22
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #104
cset w8, eq
tbnz w8, #0, LBB2_23
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #108
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #112
cset w8, eq
tbnz w8, #0, LBB2_25
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #115
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #118
cset w8, eq
tbnz w8, #0, LBB2_18
b LBB2_27
LBB2_13: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #24]
adrp x8, _ini_params.long_options@PAGE
add x8, x8, _ini_params.long_options@PAGEOFF
add x8, x8, x9, lsl #5
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_1 Depth=1
b LBB2_28
LBB2_15: ; in Loop: Header=BB2_1 Depth=1
ldrsw x8, [sp, #24]
lsl x9, x8, #5
adrp x8, _ini_params.long_options@PAGE
add x8, x8, _ini_params.long_options@PAGEOFF
ldr x8, [x8, x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_1 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB2_28
LBB2_18: ; in Loop: Header=BB2_1 Depth=1
adrp x9, _ini_params.verbose_flag@PAGE
mov w8, #1
str w8, [x9, _ini_params.verbose_flag@PAGEOFF]
b LBB2_28
LBB2_19: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _ini_params.verbose_flag@PAGE
str wzr, [x8, _ini_params.verbose_flag@PAGEOFF]
b LBB2_28
LBB2_20: ; in Loop: Header=BB2_1 Depth=1
adrp x9, _ini_params.all_flag@PAGE
mov w8, #1
str w8, [x9, _ini_params.all_flag@PAGEOFF]
b LBB2_28
LBB2_21: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #56]
ldr x1, [x8]
mov x2, #-1
bl ___strcpy_chk
b LBB2_28
LBB2_22: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #48]
ldr x1, [x8]
mov x2, #-1
bl ___strcpy_chk
b LBB2_28
LBB2_23: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-48]
ldr x1, [x8]
mov x2, #-1
bl ___strcpy_chk
b LBB2_28
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x10, [x29, #-40]
mov w9, #1
str w9, [x10]
ldr x0, [x8]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
ldr x9, [sp, #40]
str x8, [x9]
b LBB2_28
LBB2_25: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
ldr x9, [sp, #32]
str x8, [x9]
b LBB2_28
LBB2_26: ; in Loop: Header=BB2_1 Depth=1
b LBB2_28
LBB2_27:
mov w0, #0
bl _exit
LBB2_28: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_29:
adrp x8, _ini_params.verbose_flag@PAGE
ldr w8, [x8, _ini_params.verbose_flag@PAGEOFF]
ldur x9, [x29, #-24]
str w8, [x9]
adrp x8, _ini_params.all_flag@PAGE
ldr w8, [x8, _ini_params.all_flag@PAGEOFF]
ldur x9, [x29, #-32]
str w8, [x9]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_ini_params.verbose_flag,4,2 ; @ini_params.verbose_flag
.zerofill __DATA,__bss,_ini_params.all_flag,4,2 ; @ini_params.all_flag
.section __DATA,__data
.p2align 3 ; @ini_params.long_options
_ini_params.long_options:
.quad l_.str
.long 0 ; 0x0
.space 4
.quad _ini_params.verbose_flag
.long 1 ; 0x1
.space 4
.quad l_.str.1
.long 0 ; 0x0
.space 4
.quad _ini_params.verbose_flag
.long 0 ; 0x0
.space 4
.quad l_.str.2
.long 0 ; 0x0
.space 4
.quad _ini_params.all_flag
.long 1 ; 0x1
.space 4
.quad l_.str.3
.long 1 ; 0x1
.space 4
.quad 0
.long 97 ; 0x61
.space 4
.quad l_.str.4
.long 1 ; 0x1
.space 4
.quad 0
.long 112 ; 0x70
.space 4
.quad l_.str.5
.long 1 ; 0x1
.space 4
.quad 0
.long 104 ; 0x68
.space 4
.quad l_.str.6
.long 1 ; 0x1
.space 4
.quad 0
.long 115 ; 0x73
.space 4
.quad l_.str.7
.long 1 ; 0x1
.space 4
.quad 0
.long 100 ; 0x64
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "verbose"
l_.str.1: ; @.str.1
.asciz "brief"
l_.str.2: ; @.str.2
.asciz "all"
l_.str.3: ; @.str.3
.asciz "bytes"
l_.str.4: ; @.str.4
.asciz "pos"
l_.str.5: ; @.str.5
.asciz "host"
l_.str.6: ; @.str.6
.asciz "src"
l_.str.7: ; @.str.7
.asciz "dest"
l_.str.8: ; @.str.8
.asciz "vbls:d:h:a:p:"
l_.str.9: ; @.str.9
.asciz "option %s"
l_.str.10: ; @.str.10
.asciz " with arg %s"
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 _djb2 ## -- Begin function djb2
.p2align 4, 0x90
_djb2: ## @djb2
.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 $5381, -16(%rbp) ## imm = 0x1505
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -8(%rbp)
movsbl (%rax), %eax
movl %eax, -20(%rbp)
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
shlq $5, %rax
addq -16(%rbp), %rax
movslq -20(%rbp), %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_3:
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function dwalltime
LCPI1_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _dwalltime
.p2align 4, 0x90
_dwalltime: ## @dwalltime
.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
cvtsi2sdq -24(%rbp), %xmm0
cvtsi2sdl -16(%rbp), %xmm1
movsd LCPI1_0(%rip), %xmm2 ## xmm2 = mem[0],zero
divsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ini_params ## -- Begin function ini_params
.p2align 4, 0x90
_ini_params: ## @ini_params
.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 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl $0, -56(%rbp)
movl -4(%rbp), %edi
movq -16(%rbp), %rsi
leaq L_.str.8(%rip), %rdx
leaq _ini_params.long_options(%rip), %rcx
leaq -56(%rbp), %r8
callq _getopt_long
movl %eax, -52(%rbp)
cmpl $-1, -52(%rbp)
jne LBB2_3
## %bb.2:
jmp LBB2_20
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB2_4
jmp LBB2_21
LBB2_21: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $63, %eax
je LBB2_17
jmp LBB2_22
LBB2_22: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $97, %eax
je LBB2_15
jmp LBB2_23
LBB2_23: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $98, %eax
je LBB2_10
jmp LBB2_24
LBB2_24: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $100, %eax
je LBB2_13
jmp LBB2_25
LBB2_25: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $104, %eax
je LBB2_14
jmp LBB2_26
LBB2_26: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $108, %eax
je LBB2_11
jmp LBB2_27
LBB2_27: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $112, %eax
je LBB2_16
jmp LBB2_28
LBB2_28: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $115, %eax
je LBB2_12
jmp LBB2_29
LBB2_29: ## in Loop: Header=BB2_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
subl $118, %eax
je LBB2_9
jmp LBB2_18
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movslq -56(%rbp), %rcx
leaq _ini_params.long_options(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
cmpq $0, 16(%rax)
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_19
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movslq -56(%rbp), %rcx
leaq _ini_params.long_options(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rsi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq _optarg@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB2_8
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_19
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movl $1, _ini_params.verbose_flag(%rip)
jmp LBB2_19
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
movl $0, _ini_params.verbose_flag(%rip)
jmp LBB2_19
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
movl $1, _ini_params.all_flag(%rip)
jmp LBB2_19
LBB2_12: ## in Loop: Header=BB2_1 Depth=1
movq 16(%rbp), %rdi
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB2_19
LBB2_13: ## in Loop: Header=BB2_1 Depth=1
movq 24(%rbp), %rdi
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB2_19
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
movq -48(%rbp), %rdi
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB2_19
LBB2_15: ## in Loop: Header=BB2_1 Depth=1
movq -40(%rbp), %rax
movl $1, (%rax)
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movslq %eax, %rcx
movq 32(%rbp), %rax
movq %rcx, (%rax)
jmp LBB2_19
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movslq %eax, %rcx
movq 40(%rbp), %rax
movq %rcx, (%rax)
jmp LBB2_19
LBB2_17: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_19
LBB2_18:
xorl %edi, %edi
callq _exit
LBB2_19: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_20:
movl _ini_params.verbose_flag(%rip), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movl _ini_params.all_flag(%rip), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_ini_params.verbose_flag,4,2 ## @ini_params.verbose_flag
.zerofill __DATA,__bss,_ini_params.all_flag,4,2 ## @ini_params.all_flag
.section __DATA,__data
.p2align 4 ## @ini_params.long_options
_ini_params.long_options:
.quad L_.str
.long 0 ## 0x0
.space 4
.quad _ini_params.verbose_flag
.long 1 ## 0x1
.space 4
.quad L_.str.1
.long 0 ## 0x0
.space 4
.quad _ini_params.verbose_flag
.long 0 ## 0x0
.space 4
.quad L_.str.2
.long 0 ## 0x0
.space 4
.quad _ini_params.all_flag
.long 1 ## 0x1
.space 4
.quad L_.str.3
.long 1 ## 0x1
.space 4
.quad 0
.long 97 ## 0x61
.space 4
.quad L_.str.4
.long 1 ## 0x1
.space 4
.quad 0
.long 112 ## 0x70
.space 4
.quad L_.str.5
.long 1 ## 0x1
.space 4
.quad 0
.long 104 ## 0x68
.space 4
.quad L_.str.6
.long 1 ## 0x1
.space 4
.quad 0
.long 115 ## 0x73
.space 4
.quad L_.str.7
.long 1 ## 0x1
.space 4
.quad 0
.long 100 ## 0x64
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "verbose"
L_.str.1: ## @.str.1
.asciz "brief"
L_.str.2: ## @.str.2
.asciz "all"
L_.str.3: ## @.str.3
.asciz "bytes"
L_.str.4: ## @.str.4
.asciz "pos"
L_.str.5: ## @.str.5
.asciz "host"
L_.str.6: ## @.str.6
.asciz "src"
L_.str.7: ## @.str.7
.asciz "dest"
L_.str.8: ## @.str.8
.asciz "vbls:d:h:a:p:"
L_.str.9: ## @.str.9
.asciz "option %s"
L_.str.10: ## @.str.10
.asciz " with arg %s"
L_.str.11: ## @.str.11
.asciz "\n"
.subsections_via_symbols
| the_stack_data/179829383.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/135344.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
mov w1, #65
mov w2, #67
mov w3, #66
bl _towerOfHanoi
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _towerOfHanoi ; -- Begin function towerOfHanoi
.p2align 2
_towerOfHanoi: ; @towerOfHanoi
.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]
sturb w1, [x29, #-5]
sturb w2, [x29, #-6]
sturb w3, [x29, #-7]
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldursb w11, [x29, #-5]
ldursb w10, [x29, #-6]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
ldur w8, [x29, #-4]
subs w0, w8, #1
ldursb w1, [x29, #-5]
ldursb w2, [x29, #-7]
ldursb w3, [x29, #-6]
bl _towerOfHanoi
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
ldursb w11, [x29, #-5]
ldursb w10, [x29, #-6]
mov x9, sp
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.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-4]
subs w0, w8, #1
ldursb w1, [x29, #-7]
ldursb w2, [x29, #-6]
ldursb w3, [x29, #-5]
bl _towerOfHanoi
b LBB1_3
LBB1_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the number of disks\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Move disk 1 from rod %c to rod %c\n"
l_.str.3: ; @.str.3
.asciz "Move disk %d from rod %c to rod %c\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %edi
movl $65, %esi
movl $67, %edx
movl $66, %ecx
callq _towerOfHanoi
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _towerOfHanoi ## -- Begin function towerOfHanoi
.p2align 4, 0x90
_towerOfHanoi: ## @towerOfHanoi
.cfi_startproc
## %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 %cl, %al
movb %dl, %cl
movb %sil, %dl
movl %edi, -4(%rbp)
movb %dl, -5(%rbp)
movb %cl, -6(%rbp)
movb %al, -7(%rbp)
cmpl $1, -4(%rbp)
jne LBB1_2
## %bb.1:
movsbl -5(%rbp), %esi
movsbl -6(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
movl -4(%rbp), %edi
subl $1, %edi
movb -5(%rbp), %cl
movb -7(%rbp), %al
movsbl %cl, %esi
movsbl %al, %edx
movsbl -6(%rbp), %ecx
callq _towerOfHanoi
movl -4(%rbp), %esi
movsbl -5(%rbp), %edx
movsbl -6(%rbp), %ecx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %edi
subl $1, %edi
movb -7(%rbp), %cl
movb -6(%rbp), %al
movsbl %cl, %esi
movsbl %al, %edx
movsbl -5(%rbp), %ecx
callq _towerOfHanoi
LBB1_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the number of disks\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Move disk 1 from rod %c to rod %c\n"
L_.str.3: ## @.str.3
.asciz "Move disk %d from rod %c to rod %c\n"
.subsections_via_symbols
| the_stack_data/836371.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compute_x ; -- Begin function compute_x
.p2align 2
_compute_x: ; @compute_x
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #32]
ldr s0, [x8]
str s0, [sp] ; 4-byte Folded Spill
ldr x8, [sp, #8]
ldr s0, [x8, #8]
str s0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #8]
ldr s0, [x8, #16]
bl _ada_cos
ldr s2, [sp] ; 4-byte Folded Reload
fmov s1, s0
ldr s0, [sp, #4] ; 4-byte Folded Reload
fmadd s0, s0, s1, s2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _compute_y ; -- Begin function compute_y
.p2align 2
_compute_y: ; @compute_y
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #32]
ldr s0, [x8, #4]
str s0, [sp] ; 4-byte Folded Spill
ldr x8, [sp, #8]
ldr s0, [x8, #8]
str s0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #8]
ldr s0, [x8, #16]
bl _ada_sin
ldr s2, [sp] ; 4-byte Folded Reload
fmov s1, s0
ldr s0, [sp, #4] ; 4-byte Folded Reload
fmadd s0, s0, s1, s2
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 _compute_x ## -- Begin function compute_x
.p2align 4, 0x90
_compute_x: ## @compute_x
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _ada_cos
movss -16(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movaps %xmm0, %xmm2
movss -12(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _compute_y ## -- Begin function compute_y
.p2align 4, 0x90
_compute_y: ## @compute_y
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _ada_sin
movss -16(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movaps %xmm0, %xmm2
movss -12(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/184518166.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _search ; -- Begin function search
.p2align 2
_search: ; @search
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str w2, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w8, [sp, #4]
str w8, [sp, #28]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_6:
mov w8, #-1
str w8, [sp, #28]
b LBB0_7
LBB0_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x8, l___const.main.arr@PAGE
add x8, x8, l___const.main.arr@PAGEOFF
ldr q0, [x8]
add x0, sp, #32
str q0, [sp, #32]
ldr w8, [x8, #16]
str w8, [sp, #48]
mov w8, #4
str w8, [sp, #24]
mov w8, #5
str w8, [sp, #20]
ldr w1, [sp, #20]
ldr w2, [sp, #24]
bl _search
str w0, [sp, #16]
ldr w8, [sp, #16]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
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:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.arr
l___const.main.arr:
.long 2 ; 0x2
.long 36 ; 0x24
.long 4 ; 0x4
.long 15 ; 0xf
.long 40 ; 0x28
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Element is not present in array"
l_.str.1: ; @.str.1
.asciz "Element is present at index %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _search ## -- Begin function search
.p2align 4, 0x90
_search: ## @search
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -24(%rbp), %eax
jne LBB0_4
## %bb.3:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_6:
movl $-1, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movq l___const.main.arr(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.arr+8(%rip), %rax
movq %rax, -24(%rbp)
movl l___const.main.arr+16(%rip), %eax
movl %eax, -16(%rbp)
movl $4, -40(%rbp)
movl $5, -44(%rbp)
leaq -32(%rbp), %rdi
movl -44(%rbp), %esi
movl -40(%rbp), %edx
callq _search
movl %eax, -48(%rbp)
cmpl $-1, -48(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
movl -48(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB1_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_5
## %bb.4:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB1_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.arr
l___const.main.arr:
.long 2 ## 0x2
.long 36 ## 0x24
.long 4 ## 0x4
.long 15 ## 0xf
.long 40 ## 0x28
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Element is not present in array"
L_.str.1: ## @.str.1
.asciz "Element is present at index %d"
.subsections_via_symbols
| the_stack_data/45945.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Primeiro programa em C!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Primeiro programa em C!\n"
.subsections_via_symbols
| the_stack_data/81375.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str wzr, [sp, #28]
str wzr, [sp, #24]
mov w8, #1
str w8, [sp, #20]
mov w8, #2
str w8, [sp, #16]
mov w8, #3
str w8, [sp, #12]
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
str w8, [sp, #20]
ldr w8, [sp, #16]
ldr w9, [sp, #12]
add w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_3:
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr w8, [sp, #24]
str w8, [sp, #20]
b LBB0_9
LBB0_5:
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr w8, [sp, #20]
str w8, [sp, #24]
b LBB0_8
LBB0_7:
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
mov w8, #2
str w8, [sp, #16]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #20]
add w8, w8, #3
str w8, [sp, #20]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_10
LBB0_13:
mov w0, #0
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $1, -12(%rbp)
movl $2, -16(%rbp)
movl $3, -20(%rbp)
movl -12(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -8(%rbp)
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_5
## %bb.4:
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
jmp LBB0_9
LBB0_5:
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_7
## %bb.6:
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
jmp LBB0_8
LBB0_7:
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB0_8:
jmp LBB0_9
LBB0_9:
movl $2, -16(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $10, -16(%rbp)
jge LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movl -12(%rbp), %eax
addl $3, %eax
movl %eax, -12(%rbp)
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_10
LBB0_13:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/91363.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-24]
str x1, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8]
mov x9, #54700
movk x9, #781, lsl #16
subs x8, x8, x9
mov x9, #42940
movk x9, #5174, lsl #16
subs x8, x8, x9
stur x8, [x29, #-16]
str xzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
sub x10, x29, #16
ldr x8, [x10, x8, lsl #3]
ldr x9, [sp, #24]
ldr x9, [x10, x9, lsl #3]
and x9, x9, #0xf
orr x9, x9, #0x1
lsr x8, x8, x9
ldr x9, [sp, #24]
ldr x9, [x10, x9, lsl #3]
ldr x11, [sp, #24]
ldr x10, [x10, x11, lsl #3]
and x10, x10, #0xf
orr x11, x10, #0x1
mov x10, #64
subs x10, x10, x11
lsl x9, x9, x10
orr x8, x8, x9
and x9, x8, #0x3f
ldur x8, [x29, #-16]
orr x8, x8, x9, lsl #4
stur x8, [x29, #-16]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x10, [sp, #24]
sub x9, x29, #16
str x9, [sp, #8] ; 8-byte Folded Spill
mov x8, x9
add x8, x8, x10, lsl #3
ldrh w8, [x8, #2]
strh w8, [sp, #22]
ldr x10, [sp, #24]
mov x8, x9
add x8, x8, x10, lsl #3
ldrh w8, [x8]
ldr x11, [sp, #24]
mov x10, x9
add x10, x10, x11, lsl #3
strh w8, [x10, #2]
ldrh w8, [sp, #22]
ldr x11, [sp, #24]
mov x10, x9
add x10, x10, x11, lsl #3
strh w8, [x10]
ldr x10, [sp, #24]
mov x8, x9
add x8, x8, x10, lsl #3
ldrh w8, [x8]
strh w8, [sp, #22]
ldr x10, [sp, #24]
mov x8, x9
add x8, x8, x10, lsl #3
ldrh w8, [x8, #4]
ldr x11, [sp, #24]
mov x10, x9
add x10, x10, x11, lsl #3
strh w8, [x10]
ldrh w8, [sp, #22]
ldr x10, [sp, #24]
add x9, x9, x10, lsl #3
strh w8, [x9, #4]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_1
LBB0_6:
ldur x9, [x29, #-16]
ldur x8, [x29, #-16]
lsr x8, x8, #55
orr x8, x8, x9, lsl #9
mov x9, #57500
movk x9, #14385, lsl #16
eor x8, x8, x9
ldr x9, [sp, #32]
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, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, LBB2_2
b LBB2_1
LBB2_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB2_2:
b LBB2_3
LBB2_3:
str wzr, [sp, #36]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_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 LBB2_4
LBB2_6:
sub x0, x29, #16
sub x1, x29, #24
bl _RandomFunc
ldur x8, [x29, #-24]
mov x9, #-48285
movk x9, #20308, lsl #16
movk x9, #65489, lsl #32
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_9
LBB2_8:
b LBB2_9
LBB2_9:
str wzr, [sp, #20]
b LBB2_10
LBB2_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_10 Depth=1
ldrsw x9, [sp, #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 LBB2_10
LBB2_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, LBB2_14
b LBB2_13
LBB2_13:
bl ___stack_chk_fail
LBB2_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
.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 _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
subq $51238316, %rax ## imm = 0x30DD5AC
subq $339126204, %rax ## imm = 0x1436A7BC
movq %rax, -16(%rbp)
movq $0, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -40(%rbp)
jae LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
cmpq -40(%rbp), %rax
jbe LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movq -16(%rbp,%rax,8), %rax
movq -40(%rbp), %rcx
movq -16(%rbp,%rcx,8), %rcx
andq $15, %rcx
orq $1, %rcx
## kill: def $cl killed $rcx
shrq %cl, %rax
movq -40(%rbp), %rcx
movq -16(%rbp,%rcx,8), %rdx
movq -40(%rbp), %rcx
movq -16(%rbp,%rcx,8), %rsi
andq $15, %rsi
orq $1, %rsi
movl $64, %ecx
subq %rsi, %rcx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
andq $63, %rax
shlq $4, %rax
orq -16(%rbp), %rax
movq %rax, -16(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
movw -14(%rbp,%rax,8), %ax
movw %ax, -42(%rbp)
movq -40(%rbp), %rax
movw -16(%rbp,%rax,8), %cx
movq -40(%rbp), %rax
movw %cx, -14(%rbp,%rax,8)
movw -42(%rbp), %cx
movq -40(%rbp), %rax
movw %cx, -16(%rbp,%rax,8)
movq -40(%rbp), %rax
movw -16(%rbp,%rax,8), %ax
movw %ax, -42(%rbp)
movq -40(%rbp), %rax
movw -12(%rbp,%rax,8), %cx
movq -40(%rbp), %rax
movw %cx, -16(%rbp,%rax,8)
movw -42(%rbp), %cx
movq -40(%rbp), %rax
movw %cx, -12(%rbp,%rax,8)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB0_1
LBB0_6:
movq -16(%rbp), %rcx
shlq $9, %rcx
movq -16(%rbp), %rax
shrq $55, %rax
orq %rax, %rcx
xorq $942792860, %rcx ## imm = 0x3831E09C
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 LBB0_8
## %bb.7:
addq $48, %rsp
popq %rbp
retq
LBB0_8:
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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.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 LBB2_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB2_2:
jmp LBB2_3
LBB2_3:
movl $0, -44(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -44(%rbp)
jge LBB2_6
## %bb.5: ## in Loop: Header=BB2_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 LBB2_4
LBB2_6:
leaq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _RandomFunc
movabsq $-200532540573, %rax ## imm = 0xFFFFFFD14F544363
cmpq %rax, -24(%rbp)
jne LBB2_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_9
LBB2_8:
jmp LBB2_9
LBB2_9:
movl $0, -60(%rbp)
LBB2_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -60(%rbp)
jge LBB2_12
## %bb.11: ## in Loop: Header=BB2_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 LBB2_10
LBB2_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 LBB2_14
## %bb.13:
movl -64(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB2_14:
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/154829470.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
add x0, sp, #16
adrp x1, l___const.main.arr@PAGE
add x1, x1, l___const.main.arr@PAGEOFF
mov x2, #40
bl _memcpy
ldr w8, [sp, #16]
add w11, w8, #10
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.arr
l___const.main.arr:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %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
movl -48(%rbp), %esi
addl $10, %esi
movl -36(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.arr
l___const.main.arr:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/871056.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #1
str w8, [sp, #12]
str w8, [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, -4(%rbp)
movl $1, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/12693.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]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #8]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
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]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x8, [sp, #8]
mov x11, #400
mul x10, x8, x11
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
mov x8, x9
add x8, x8, x10
ldrsw x10, [sp, #4]
ldr w8, [x8, x10, lsl #2]
add w8, w8, #1
ldrsw x10, [sp, #8]
mul x10, x10, x11
add x9, x9, x10
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
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, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_8:
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _a,40000,2 ; @a
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $100, -8(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $100, -12(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -8(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movslq -8(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
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:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,40000,4 ## @a
.subsections_via_symbols
| the_stack_data/242329399.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]
mov w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _fork
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x1, [x8, x9, lsl #3]
mov x8, sp
; kill: def $x9 killed $xzr
str xzr, [x8]
bl _execlp
ldr w0, [sp, #24]
bl __exit
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_6:
mov w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
sub x0, x29, #20
bl _wait
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_10:
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 "Pai aqui\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $1, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _fork
cmpl $0, %eax
jne LBB0_4
## %bb.3:
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
xorl %eax, %eax
movl %eax, %edx
## kill: def $al killed $al killed $eax
movq %rsi, %rdi
callq _execlp
movl -24(%rbp), %edi
callq __exit
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_6:
movl $1, -28(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
leaq -20(%rbp), %rdi
callq _wait
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_7
LBB0_10:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Pai aqui\n"
.subsections_via_symbols
| the_stack_data/18889135.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_global ; -- Begin function set_global
.p2align 2
_set_global: ; @set_global
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _global@GOTPAGE
ldr x9, [x9, _global@GOTPAGEOFF]
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #1
bl _set_global
mov w0, #2
bl _set_global
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 _global,4,2 ; @global
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_global ## -- Begin function set_global
.p2align 4, 0x90
_set_global: ## @set_global
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %ecx
movq _global@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $1, %edi
callq _set_global
movl $2, %edi
callq _set_global
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _global,4,2 ## @global
.subsections_via_symbols
| the_stack_data/124149.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _abort
.cfi_endproc
; -- End function
.comm _defaultalign,16,3 ; @defaultalign
.comm _sixteen,12,2 ; @sixteen
.comm _two,9,0 ; @two
.comm _three,10,1 ; @three
.comm _resetalign,16,3 ; @resetalign
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _abort
.cfi_endproc
## -- End function
.comm _defaultalign,16,3 ## @defaultalign
.comm _sixteen,16,3 ## @sixteen
.comm _two,9,0 ## @two
.comm _three,10,1 ## @three
.comm _resetalign,16,3 ## @resetalign
.subsections_via_symbols
| the_stack_data/145452567.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #32
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
mov x9, sp
mov x8, #10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #32]
str w8, [sp, #20]
str w8, [sp, #24]
str wzr, [sp, #8]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #24]
ldrsw x10, [sp, #8]
add x9, sp, #32
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #8]
add x8, sp, #32
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #24]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
ldrsw x10, [sp, #8]
add x9, sp, #32
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #8]
add x8, sp, #32
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #20]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_5
LBB0_12:
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_15
LBB0_14:
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
str w8, [sp, #16]
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_15
LBB0_15:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
bl ___stack_chk_fail
LBB0_17:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the 10 integer values: \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%lu"
l_.str.3: ; @.str.3
.asciz "Maximum Value: %d \n"
l_.str.4: ; @.str.4
.asciz "Minimum Value: %d \n"
l_.str.5: ; @.str.5
.asciz "Equal \n"
l_.str.6: ; @.str.6
.asciz "Difference: %d \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -68(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -68(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -68(%rbp), %rax
leaq -48(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.2(%rip), %rdi
movl $10, %esi
movb $0, %al
callq _printf
movl -48(%rbp), %eax
movl %eax, -60(%rbp)
movl %eax, -56(%rbp)
movl $0, -72(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -72(%rbp)
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -56(%rbp), %eax
movslq -72(%rbp), %rcx
cmpl -48(%rbp,%rcx,4), %eax
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movslq -72(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movl %eax, -56(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl -60(%rbp), %eax
movslq -72(%rbp), %rcx
cmpl -48(%rbp,%rcx,4), %eax
jge LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movslq -72(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movl %eax, -60(%rbp)
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_5
LBB0_12:
movl -60(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -56(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -60(%rbp), %eax
cmpl -56(%rbp), %eax
jne LBB0_14
## %bb.13:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_15
LBB0_14:
movl -60(%rbp), %eax
subl -56(%rbp), %eax
movl %eax, -64(%rbp)
movl -64(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_17
## %bb.16:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the 10 integer values: \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%lu"
L_.str.3: ## @.str.3
.asciz "Maximum Value: %d \n"
L_.str.4: ## @.str.4
.asciz "Minimum Value: %d \n"
L_.str.5: ## @.str.5
.asciz "Equal \n"
L_.str.6: ## @.str.6
.asciz "Difference: %d \n"
.subsections_via_symbols
| the_stack_data/50007.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/49540.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cholsl ; -- Begin function cholsl
.p2align 2
_cholsl: ; @cholsl
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, #56]
str w1, [sp, #52]
str x2, [sp, #40]
str x3, [sp, #32]
str x4, [sp, #24]
mov w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #20]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #20]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #8]
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #56]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #8]
fmsub d0, d0, d1, d2
str d0, [sp, #8]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr d0, [sp, #8]
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
ldr d1, [x8, x9, lsl #3]
fdiv d0, d0, d1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
str d0, [x8, x9, lsl #3]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_8:
ldr w8, [sp, #52]
str w8, [sp, #20]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #8]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #52]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [sp, #56]
ldrsw x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #20]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #8]
fmsub d0, d0, d1, d2
str d0, [sp, #8]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
ldr d0, [sp, #8]
ldr x8, [sp, #40]
ldrsw x9, [sp, #20]
ldr d1, [x8, x9, lsl #3]
fdiv d0, d0, d1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
str d0, [x8, x9, lsl #3]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_9
LBB0_16:
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cholsl ## -- Begin function cholsl
.p2align 4, 0x90
_cholsl: ## @cholsl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movl $1, -44(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movl -44(%rbp), %eax
subl $1, %eax
movl %eax, -48(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, -48(%rbp)
jl LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
movslq -48(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -56(%rbp), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -56(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -48(%rbp), %eax
addl $-1, %eax
movl %eax, -48(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
divsd (%rax,%rcx,8), %xmm0
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_1
LBB0_8:
movl -12(%rbp), %eax
movl %eax, -44(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $1, -44(%rbp)
jl LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -8(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -44(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
movslq -48(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -56(%rbp), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -56(%rbp)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
divsd (%rax,%rcx,8), %xmm0
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
movl -44(%rbp), %eax
addl $-1, %eax
movl %eax, -44(%rbp)
jmp LBB0_9
LBB0_16:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/32951574.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum ; -- Begin function sum
.p2align 2
_sum: ; @sum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, 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, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #4]
ldr w9, [sp, #8]
add w8, w8, w9
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
subs w0, w8, #1
ldr w8, [sp, #4]
add w1, w8, #1
bl _sum
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
stur wzr, [x29, #-4]
mov w8, #2
str w8, [sp, #8]
mov w8, #3
str w8, [sp, #4]
ldr w0, [sp, #8]
ldr w1, [sp, #4]
bl _sum
str w0, [sp]
ldr w8, [sp]
ldr w9, [sp, #8]
ldr w10, [sp, #4]
add w9, w9, w10
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
b LBB1_2
LBB1_2:
bl ___VERIFIER_error
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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum ## -- Begin function sum
.p2align 4, 0x90
_sum: ## @sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $0, -8(%rbp)
jg LBB0_2
## %bb.1:
movl -12(%rbp), %eax
addl -8(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %edi
subl $1, %edi
movl -12(%rbp), %esi
addl $1, %esi
callq _sum
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
movl $0, -4(%rbp)
movl $2, -8(%rbp)
movl $3, -12(%rbp)
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _sum
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
addl -12(%rbp), %ecx
cmpl %ecx, %eax
jne LBB1_3
## %bb.1:
jmp LBB1_2
LBB1_2:
movb $0, %al
callq ___VERIFIER_error
LBB1_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/161080465.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _c_GEO_YEE_CURL_L_scmc_kernel ; -- Begin function c_GEO_YEE_CURL_L_scmc_kernel
.p2align 2
_c_GEO_YEE_CURL_L_scmc_kernel: ; @c_GEO_YEE_CURL_L_scmc_kernel
.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, #1616
ldr x16, [x29, #16]
ldr x15, [x29, #24]
ldr w14, [x29, #32]
ldr x13, [x29, #40]
ldr x12, [x29, #48]
ldr x11, [x29, #56]
ldr w10, [x29, #64]
ldr x9, [x29, #72]
ldr x8, [x29, #80]
stur x0, [x29, #-24]
stur x1, [x29, #-32]
stur x2, [x29, #-40]
stur x3, [x29, #-48]
stur x4, [x29, #-56]
stur x5, [x29, #-64]
stur x6, [x29, #-72]
stur x7, [x29, #-80]
stur x16, [x29, #-88]
stur x15, [x29, #-96]
stur w14, [x29, #-100]
stur x13, [x29, #-112]
stur x12, [x29, #-120]
stur x11, [x29, #-128]
stur w10, [x29, #-132]
stur d0, [x29, #-144]
stur d1, [x29, #-152]
stur d2, [x29, #-160]
stur d3, [x29, #-168]
stur d4, [x29, #-176]
stur x9, [x29, #-184]
stur x8, [x29, #-192]
stur xzr, [x29, #-200]
mov x8, #1
stur x8, [x29, #-208]
stur xzr, [x29, #-216]
ldur x9, [x29, #-184]
stur x9, [x29, #-224]
stur x8, [x29, #-232]
ldur x8, [x29, #-192]
stur x8, [x29, #-240]
ldur x8, [x29, #-224]
lsr x8, x8, #0
add x8, x8, #0
stur x8, [x29, #-248]
ldur x8, [x29, #-72]
subs x8, x8, #1
ldur x9, [x29, #-64]
sdiv x8, x8, x9
add x8, x8, #1
stur x8, [x29, #-256]
ldur x8, [x29, #-224]
ldur x9, [x29, #-256]
mul x8, x8, x9
str x8, [sp, #1368]
ldur x8, [x29, #-224]
add x8, x8, #1
ldur x9, [x29, #-256]
mul x8, x8, x9
str x8, [sp, #1360]
ldr x8, [sp, #1360]
ldur x9, [x29, #-72]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-72]
str x8, [sp, #1360]
b LBB0_3
LBB0_2:
b LBB0_3
LBB0_3:
ldur x8, [x29, #-112]
ldur x9, [x29, #-120]
ldur x10, [x29, #-128]
mul x9, x9, x10
mul x8, x8, x9
str x8, [sp, #1352]
ldr x8, [sp, #1368]
str x8, [sp, #1344]
b LBB0_4
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr x8, [sp, #1344]
ldr x9, [sp, #1360]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur x8, [x29, #-40]
ldr x9, [sp, #1344]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #1340]
ldur x8, [x29, #-48]
ldr x9, [sp, #1344]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #1336]
ldur x8, [x29, #-56]
ldr x9, [sp, #1344]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #1332]
ldur x8, [x29, #-80]
ldur x9, [x29, #-88]
ldur x10, [x29, #-96]
mul x9, x9, x10
mul x8, x8, x9
str x8, [sp, #1320]
ldr x8, [sp, #1352]
ldr x9, [sp, #1344]
ldursw x10, [x29, #-132]
mul x9, x9, x10
mul x8, x8, x9
str x8, [sp, #1312]
str xzr, [sp, #1304]
str xzr, [sp, #1304]
b LBB0_6
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #1304]
ldr x9, [sp, #1320]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=2
ldr x8, [sp, #1304]
add x8, x8, #0
str x8, [sp, #1296]
ldr x8, [sp, #1296]
ldur x10, [x29, #-80]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #1288]
ldr x8, [sp, #1296]
ldur x9, [x29, #-80]
sdiv x8, x8, x9
ldur x10, [x29, #-88]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #1280]
ldr x8, [sp, #1296]
ldur x9, [x29, #-80]
ldur x10, [x29, #-88]
mul x9, x9, x10
sdiv x8, x8, x9
str x8, [sp, #1272]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1264]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1256]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1248]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1240]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1232]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1224]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1216]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1208]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1200]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1192]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1184]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1176]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1168]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1160]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1152]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1144]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1136]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1128]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1120]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1112]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1104]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1096]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1088]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1080]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1072]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1064]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #0
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1056]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1048]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1040]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1032]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1024]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1016]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1008]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #1000]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #992]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #984]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #976]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #968]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #960]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #952]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #944]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #936]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #928]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #920]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #912]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #904]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #896]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #888]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #880]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #872]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #864]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #856]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #848]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #1
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #840]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #832]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #824]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #816]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #808]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #800]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #792]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #784]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #776]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #0
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #768]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #760]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #752]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #744]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #736]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #728]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #720]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #712]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #704]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #1
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #696]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #688]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #680]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #0
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #672]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #664]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #656]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #1
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #648]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #640]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #632]
ldur x8, [x29, #-32]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
subs x10, x10, #1
add x10, x10, #2
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
subs x12, x12, #1
add x12, x12, #2
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
subs x14, x14, #1
add x14, x14, #2
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #624]
ldrsw x8, [sp, #1340]
ldr x9, [sp, #1288]
subs x9, x9, #1
add x8, x8, x9
scvtf d0, x8
str d0, [sp, #616]
ldur x8, [x29, #-24]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #184] ; 8-byte Folded Spill
ldur d0, [x29, #-144]
str d0, [sp, #192] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
str d0, [sp, #176] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
ldr d1, [sp, #616]
fadd d1, d0, d1
fmov d0, #1.00000000
str d0, [sp, #480] ; 8-byte Folded Spill
fadd d0, d0, d1
fmov d1, #-1.00000000
str d1, [sp, #536] ; 8-byte Folded Spill
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #168] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
str d0, [sp, #160] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #152] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #144] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
str d2, [sp, #136] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
str d0, [sp, #24] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #16] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
str d0, [sp, #8] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d3, [sp, #8] ; 8-byte Folded Reload
ldr d2, [sp, #16] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d4, d0
ldr d0, [sp, #24] ; 8-byte Folded Reload
ldr d5, [sp, #968]
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
fmul d0, d0, d2
str d0, [sp, #128] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
str d2, [sp, #56] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
str d0, [sp, #48] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #40] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
str d0, [sp, #32] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d5, [sp, #32] ; 8-byte Folded Reload
ldr d4, [sp, #40] ; 8-byte Folded Reload
ldr d3, [sp, #48] ; 8-byte Folded Reload
ldr d2, [sp, #56] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d6, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldr d7, [sp, #944]
fmul d6, d6, d7
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
str d2, [sp, #120] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #80] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #72] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #64] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d4, [sp, #64] ; 8-byte Folded Reload
ldr d3, [sp, #72] ; 8-byte Folded Reload
ldr d2, [sp, #80] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d5, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldur d6, [x29, #-152]
ldr d7, [sp, #1008]
fmul d6, d6, d7
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
str d2, [sp, #112] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #104] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #96] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #88] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d22, [sp, #88] ; 8-byte Folded Reload
ldr d21, [sp, #96] ; 8-byte Folded Reload
ldr d20, [sp, #104] ; 8-byte Folded Reload
ldr d19, [sp, #112] ; 8-byte Folded Reload
ldr d18, [sp, #120] ; 8-byte Folded Reload
ldr d17, [sp, #128] ; 8-byte Folded Reload
ldr d16, [sp, #136] ; 8-byte Folded Reload
ldr d7, [sp, #144] ; 8-byte Folded Reload
ldr d6, [sp, #152] ; 8-byte Folded Reload
ldr d5, [sp, #160] ; 8-byte Folded Reload
ldr d4, [sp, #168] ; 8-byte Folded Reload
ldr d2, [sp, #176] ; 8-byte Folded Reload
ldr d3, [sp, #184] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d23, d0
ldr d0, [sp, #192] ; 8-byte Folded Reload
ldur d24, [x29, #-152]
ldr d25, [sp, #936]
fmul d24, d24, d25
fmul d23, d23, d24
fmul d22, d22, d23
fmul d21, d21, d22
fmul d20, d20, d21
fmadd d19, d1, d19, d20
fmadd d18, d1, d18, d19
fmadd d16, d16, d17, d18
fmul d7, d7, d16
fmul d6, d6, d7
fmul d5, d5, d6
fmul d4, d4, d5
fmul d2, d2, d4
fmadd d0, d0, d2, d3
ldur x8, [x29, #-24]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
str d0, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #376] ; 8-byte Folded Spill
ldur d0, [x29, #-144]
str d0, [sp, #384] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
str d2, [sp, #368] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
str d0, [sp, #360] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #352] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
str d0, [sp, #344] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
str d2, [sp, #336] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #224] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #216] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
str d0, [sp, #208] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #200] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d5, [sp, #200] ; 8-byte Folded Reload
ldr d4, [sp, #208] ; 8-byte Folded Reload
ldr d3, [sp, #216] ; 8-byte Folded Reload
ldr d2, [sp, #224] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d6, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldr d7, [sp, #976]
fmul d6, d6, d7
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
str d2, [sp, #328] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #320] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #248] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
str d0, [sp, #240] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #232] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d3, [sp, #232] ; 8-byte Folded Reload
ldr d2, [sp, #240] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d4, d0
ldr d0, [sp, #248] ; 8-byte Folded Reload
ldr d5, [sp, #952]
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
fmul d0, d0, d2
str d0, [sp, #312] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
str d0, [sp, #304] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
ldr d2, [sp, #616]
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #264] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #256] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d3, [sp, #256] ; 8-byte Folded Reload
ldr d2, [sp, #264] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d4, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldur d5, [x29, #-152]
ldr d6, [sp, #1152]
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
str d2, [sp, #296] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #288] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #280] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #272] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d24, [sp, #272] ; 8-byte Folded Reload
ldr d23, [sp, #280] ; 8-byte Folded Reload
ldr d22, [sp, #288] ; 8-byte Folded Reload
ldr d21, [sp, #296] ; 8-byte Folded Reload
ldr d20, [sp, #304] ; 8-byte Folded Reload
ldr d19, [sp, #312] ; 8-byte Folded Reload
ldr d18, [sp, #320] ; 8-byte Folded Reload
ldr d17, [sp, #328] ; 8-byte Folded Reload
ldr d16, [sp, #336] ; 8-byte Folded Reload
ldr d7, [sp, #344] ; 8-byte Folded Reload
ldr d6, [sp, #352] ; 8-byte Folded Reload
ldr d5, [sp, #360] ; 8-byte Folded Reload
ldr d3, [sp, #368] ; 8-byte Folded Reload
ldr d4, [sp, #376] ; 8-byte Folded Reload
ldr d2, [sp, #384] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d25, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldur d26, [x29, #-152]
ldr d27, [sp, #936]
fmul d26, d26, d27
fmul d25, d25, d26
fmul d24, d24, d25
fmul d23, d23, d24
fmul d22, d22, d23
fmul d22, d1, d22
fmadd d20, d20, d21, d22
fmadd d18, d18, d19, d20
fmadd d17, d1, d17, d18
fmul d16, d16, d17
fmul d7, d7, d16
fmul d6, d6, d7
fmul d5, d5, d6
fmul d3, d3, d5
fmadd d2, d2, d3, d4
ldur x8, [x29, #-24]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
str d2, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d2, [x8, x9, lsl #3]
str d2, [sp, #600] ; 8-byte Folded Spill
ldur d2, [x29, #-144]
str d2, [sp, #608] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #592] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #584] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #576] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
str d2, [sp, #568] ; 8-byte Folded Spill
ldur d2, [x29, #-152]
str d2, [sp, #560] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #552] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #408] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
str d0, [sp, #400] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #392] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d4, [sp, #392] ; 8-byte Folded Reload
ldr d3, [sp, #400] ; 8-byte Folded Reload
ldr d2, [sp, #408] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d5, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
ldr d6, [sp, #1024]
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
str d2, [sp, #544] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
str d2, [sp, #440] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #432] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
str d0, [sp, #424] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #416] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d4, [sp, #416] ; 8-byte Folded Reload
ldr d3, [sp, #424] ; 8-byte Folded Reload
ldr d2, [sp, #432] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d5, d0
ldr d0, [sp, #440] ; 8-byte Folded Reload
ldr d6, [sp, #952]
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
fmul d0, d0, d2
str d0, [sp, #528] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #472] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
ldr d2, [sp, #616]
fadd d0, d0, d2
str d0, [sp, #464] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #456] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
str d0, [sp, #448] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d4, [sp, #448] ; 8-byte Folded Reload
ldr d3, [sp, #456] ; 8-byte Folded Reload
ldr d2, [sp, #464] ; 8-byte Folded Reload
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d5, d0
ldr d0, [sp, #472] ; 8-byte Folded Reload
ldr d6, [sp, #1160]
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d2, d2, d3
fmul d0, d0, d2
str d0, [sp, #520] ; 8-byte Folded Spill
ldur d0, [x29, #-176]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
fmov d2, d0
ldr d0, [sp, #480] ; 8-byte Folded Reload
str d2, [sp, #512] ; 8-byte Folded Spill
ldur d2, [x29, #-176]
ldr d3, [sp, #616]
fadd d2, d2, d3
fadd d0, d0, d2
str d0, [sp, #504] ; 8-byte Folded Spill
ldur d0, [x29, #-168]
bl _pow
ldr d1, [sp, #536] ; 8-byte Folded Reload
str d0, [sp, #496] ; 8-byte Folded Spill
ldur d0, [x29, #-160]
str d0, [sp, #488] ; 8-byte Folded Spill
ldur d0, [x29, #-152]
bl _pow
ldr d23, [sp, #488] ; 8-byte Folded Reload
ldr d22, [sp, #496] ; 8-byte Folded Reload
ldr d21, [sp, #504] ; 8-byte Folded Reload
ldr d20, [sp, #512] ; 8-byte Folded Reload
ldr d19, [sp, #520] ; 8-byte Folded Reload
ldr d18, [sp, #528] ; 8-byte Folded Reload
ldr d17, [sp, #536] ; 8-byte Folded Reload
ldr d16, [sp, #544] ; 8-byte Folded Reload
ldr d7, [sp, #552] ; 8-byte Folded Reload
ldr d6, [sp, #560] ; 8-byte Folded Reload
ldr d5, [sp, #568] ; 8-byte Folded Reload
ldr d4, [sp, #576] ; 8-byte Folded Reload
ldr d3, [sp, #584] ; 8-byte Folded Reload
ldr d1, [sp, #592] ; 8-byte Folded Reload
ldr d2, [sp, #600] ; 8-byte Folded Reload
fmov d24, d0
ldr d0, [sp, #608] ; 8-byte Folded Reload
ldr d25, [sp, #944]
fmul d24, d24, d25
fmul d23, d23, d24
fmul d22, d22, d23
fmul d21, d21, d22
fmul d20, d20, d21
fmadd d19, d17, d19, d20
fmadd d17, d17, d18, d19
fmadd d7, d7, d16, d17
fmul d6, d6, d7
fmul d5, d5, d6
fmul d4, d4, d5
fmul d3, d3, d4
fmul d1, d1, d3
fmadd d0, d0, d1, d2
ldur x8, [x29, #-24]
ldr x9, [sp, #1312]
add x8, x8, x9, lsl #3
ldursw x9, [x29, #-132]
ldr x10, [sp, #1288]
ldursw x11, [x29, #-100]
add x10, x10, x11
ldur x11, [x29, #-112]
ldr x12, [sp, #1280]
ldursw x13, [x29, #-100]
add x12, x12, x13
ldur x13, [x29, #-120]
ldr x14, [sp, #1272]
ldursw x15, [x29, #-100]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
str d0, [x8, x9, lsl #3]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=2
ldr x8, [sp, #1304]
add x8, x8, #1
str x8, [sp, #1304]
b LBB0_6
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #1344]
add x8, x8, #1
str x8, [sp, #1344]
b LBB0_4
LBB0_11:
add sp, sp, #1616
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _c_YEE_CURL_R_scmc_kernel ; -- Begin function c_YEE_CURL_R_scmc_kernel
.p2align 2
_c_YEE_CURL_R_scmc_kernel: ; @c_YEE_CURL_R_scmc_kernel
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w27, -8
.cfi_offset w28, -16
sub sp, sp, #976
.cfi_def_cfa_offset 992
ldr x16, [sp, #992]
ldr x15, [sp, #1000]
ldr w14, [sp, #1008]
ldr x13, [sp, #1016]
ldr x12, [sp, #1024]
ldr x11, [sp, #1032]
ldr w10, [sp, #1040]
ldr x9, [sp, #1048]
ldr x8, [sp, #1056]
str x0, [sp, #968]
str x1, [sp, #960]
str x2, [sp, #952]
str x3, [sp, #944]
str x4, [sp, #936]
str x5, [sp, #928]
str x6, [sp, #920]
str x7, [sp, #912]
str x16, [sp, #904]
str x15, [sp, #896]
str w14, [sp, #892]
str x13, [sp, #880]
str x12, [sp, #872]
str x11, [sp, #864]
str w10, [sp, #860]
str d0, [sp, #848]
str x9, [sp, #840]
str x8, [sp, #832]
str xzr, [sp, #824]
mov x8, #1
str x8, [sp, #816]
str xzr, [sp, #808]
ldr x9, [sp, #840]
str x9, [sp, #800]
str x8, [sp, #792]
ldr x8, [sp, #832]
str x8, [sp, #784]
ldr x8, [sp, #800]
lsr x8, x8, #0
add x8, x8, #0
str x8, [sp, #776]
ldr x8, [sp, #920]
subs x8, x8, #1
ldr x9, [sp, #928]
sdiv x8, x8, x9
add x8, x8, #1
str x8, [sp, #768]
ldr x8, [sp, #800]
ldr x9, [sp, #768]
mul x8, x8, x9
str x8, [sp, #760]
ldr x8, [sp, #800]
add x8, x8, #1
ldr x9, [sp, #768]
mul x8, x8, x9
str x8, [sp, #752]
ldr x8, [sp, #752]
ldr x9, [sp, #920]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #920]
str x8, [sp, #752]
b LBB1_3
LBB1_2:
b LBB1_3
LBB1_3:
ldr x8, [sp, #880]
ldr x9, [sp, #872]
ldr x10, [sp, #864]
mul x9, x9, x10
mul x8, x8, x9
str x8, [sp, #744]
ldr x8, [sp, #760]
str x8, [sp, #736]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
ldr x8, [sp, #736]
ldr x9, [sp, #752]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #952]
ldr x9, [sp, #736]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #732]
ldr x8, [sp, #944]
ldr x9, [sp, #736]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #728]
ldr x8, [sp, #936]
ldr x9, [sp, #736]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #724]
ldr x8, [sp, #912]
ldr x9, [sp, #904]
ldr x10, [sp, #896]
mul x9, x9, x10
mul x8, x8, x9
str x8, [sp, #712]
ldr x8, [sp, #744]
ldr x9, [sp, #736]
ldrsw x10, [sp, #860]
mul x9, x9, x10
mul x8, x8, x9
str x8, [sp, #704]
str xzr, [sp, #696]
str xzr, [sp, #696]
b LBB1_6
LBB1_6: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #696]
ldr x9, [sp, #712]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_6 Depth=2
ldr x8, [sp, #696]
add x8, x8, #0
str x8, [sp, #688]
ldr x8, [sp, #688]
ldr x10, [sp, #912]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #680]
ldr x8, [sp, #688]
ldr x9, [sp, #912]
sdiv x8, x8, x9
ldr x10, [sp, #904]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #672]
ldr x8, [sp, #688]
ldr x9, [sp, #912]
ldr x10, [sp, #904]
mul x9, x9, x10
sdiv x8, x8, x9
str x8, [sp, #664]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #656]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #648]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #640]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #632]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #624]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #616]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #608]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #600]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #592]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #584]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #576]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #568]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #560]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #552]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #544]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #536]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #528]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #520]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #512]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #504]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #496]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #488]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #480]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #472]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #464]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #456]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #0
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #448]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #440]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #432]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #424]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #416]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #408]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #400]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #392]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #384]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #376]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #368]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #360]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #352]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #344]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #336]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #328]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #320]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #312]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #304]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #296]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #288]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #280]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #272]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #264]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #256]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #248]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #240]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #1
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #232]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #224]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #216]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #208]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #200]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #192]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #184]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #176]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #168]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #0
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #160]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #152]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #144]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #136]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #128]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #120]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #112]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #104]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #96]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #1
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #88]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #80]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #72]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #0
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #64]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #56]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #48]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #1
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #40]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #32]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #24]
ldr x8, [sp, #960]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
subs x10, x10, #1
add x10, x10, #2
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
subs x12, x12, #1
add x12, x12, #2
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
subs x14, x14, #1
add x14, x14, #2
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #16]
ldrsw x8, [sp, #732]
ldr x9, [sp, #680]
subs x9, x9, #1
add x8, x8, x9
scvtf d0, x8
str d0, [sp, #8]
ldr x8, [sp, #968]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
ldr d3, [x8, x9, lsl #3]
ldr d0, [sp, #848]
ldr d2, [sp, #336]
ldr d4, [sp, #312]
ldr d6, [sp, #328]
ldr d5, [sp, #256]
fmov d1, #-1.00000000
fmadd d5, d1, d5, d6
fadd d4, d4, d5
fmadd d2, d1, d2, d4
fmadd d0, d0, d2, d3
ldr x8, [sp, #968]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #0
str d0, [x8, x9, lsl #3]
ldr x8, [sp, #968]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
ldr d3, [x8, x9, lsl #3]
ldr d0, [sp, #848]
ldr d2, [sp, #344]
ldr d4, [sp, #320]
ldr d5, [sp, #328]
ldr d6, [sp, #112]
fmadd d5, d1, d5, d6
fmadd d4, d1, d4, d5
fadd d2, d2, d4
fmadd d0, d0, d2, d3
ldr x8, [sp, #968]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #1
str d0, [x8, x9, lsl #3]
ldr x8, [sp, #968]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
ldr d2, [x8, x9, lsl #3]
ldr d0, [sp, #848]
ldr d3, [sp, #344]
ldr d4, [sp, #272]
ldr d6, [sp, #336]
ldr d5, [sp, #120]
fmadd d5, d1, d5, d6
fadd d4, d4, d5
fmadd d1, d1, d3, d4
fmadd d0, d0, d1, d2
ldr x8, [sp, #968]
ldr x9, [sp, #704]
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #860]
ldr x10, [sp, #680]
ldrsw x11, [sp, #892]
add x10, x10, x11
ldr x11, [sp, #880]
ldr x12, [sp, #672]
ldrsw x13, [sp, #892]
add x12, x12, x13
ldr x13, [sp, #872]
ldr x14, [sp, #664]
ldrsw x15, [sp, #892]
add x14, x14, x15
mul x13, x13, x14
add x12, x12, x13
mul x11, x11, x12
add x10, x10, x11
mul x9, x9, x10
add x9, x9, #2
str d0, [x8, x9, lsl #3]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_6 Depth=2
ldr x8, [sp, #696]
add x8, x8, #1
str x8, [sp, #696]
b LBB1_6
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #736]
add x8, x8, #1
str x8, [sp, #736]
b LBB1_4
LBB1_11:
add sp, sp, #976
ldp x28, x27, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function c_GEO_YEE_CURL_L_scmc_kernel
LCPI0_0:
.quad 0xbff0000000000000 ## double -1
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _c_GEO_YEE_CURL_L_scmc_kernel
.p2align 4, 0x90
_c_GEO_YEE_CURL_L_scmc_kernel: ## @c_GEO_YEE_CURL_L_scmc_kernel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1504, %rsp ## imm = 0x5E0
movq 96(%rbp), %rax
movq 88(%rbp), %rax
movl 80(%rbp), %eax
movq 72(%rbp), %rax
movq 64(%rbp), %rax
movq 56(%rbp), %rax
movl 48(%rbp), %eax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movsd %xmm0, -56(%rbp)
movsd %xmm1, -64(%rbp)
movsd %xmm2, -72(%rbp)
movsd %xmm3, -80(%rbp)
movsd %xmm4, -88(%rbp)
movq $0, -96(%rbp)
movq $1, -104(%rbp)
movq $0, -112(%rbp)
movq 88(%rbp), %rax
movq %rax, -120(%rbp)
movq $1, -128(%rbp)
movq 96(%rbp), %rax
movq %rax, -136(%rbp)
movq -120(%rbp), %rax
shlq $0, %rax
addq $0, %rax
movq %rax, -144(%rbp)
movq 16(%rbp), %rax
subq $1, %rax
cqto
idivq -48(%rbp)
addq $1, %rax
movq %rax, -152(%rbp)
movq -120(%rbp), %rax
imulq -152(%rbp), %rax
movq %rax, -160(%rbp)
movq -120(%rbp), %rax
addq $1, %rax
imulq -152(%rbp), %rax
movq %rax, -168(%rbp)
movq -168(%rbp), %rax
cmpq 16(%rbp), %rax
jl LBB0_2
## %bb.1:
movq 16(%rbp), %rax
movq %rax, -168(%rbp)
jmp LBB0_3
LBB0_2:
jmp LBB0_3
LBB0_3:
movq 56(%rbp), %rax
movq 64(%rbp), %rcx
imulq 72(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -176(%rbp)
movq -160(%rbp), %rax
movq %rax, -184(%rbp)
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq -184(%rbp), %rax
cmpq -168(%rbp), %rax
jge LBB0_11
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -24(%rbp), %rax
movq -184(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -188(%rbp)
movq -32(%rbp), %rax
movq -184(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -192(%rbp)
movq -40(%rbp), %rax
movq -184(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -196(%rbp)
movq 24(%rbp), %rax
movq 32(%rbp), %rcx
imulq 40(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -208(%rbp)
movq -176(%rbp), %rax
movq -184(%rbp), %rcx
movslq 80(%rbp), %rdx
imulq %rdx, %rcx
imulq %rcx, %rax
movq %rax, -216(%rbp)
movq $0, -224(%rbp)
movq $0, -224(%rbp)
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq -224(%rbp), %rax
cmpq -208(%rbp), %rax
jge LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq -224(%rbp), %rax
addq $0, %rax
movq %rax, -232(%rbp)
movq -232(%rbp), %rax
cqto
idivq 24(%rbp)
movq %rdx, -240(%rbp)
movq -232(%rbp), %rax
cqto
idivq 24(%rbp)
cqto
idivq 32(%rbp)
movq %rdx, -248(%rbp)
movq -232(%rbp), %rax
movq 24(%rbp), %rcx
imulq 32(%rbp), %rcx
cqto
idivq %rcx
movq %rax, -256(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -264(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -272(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -280(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -288(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -296(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -304(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -312(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -320(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -328(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -336(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -344(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -352(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -360(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -368(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -376(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -384(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -392(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -400(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -408(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -416(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -424(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -432(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -440(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -448(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -456(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -464(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -472(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -480(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -488(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -496(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -504(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -512(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -520(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -528(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -536(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -544(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -552(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -560(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -568(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -576(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -584(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -592(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -600(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -608(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -616(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -624(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -632(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -640(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -648(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -656(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -664(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -672(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -680(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -688(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -696(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -704(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -712(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -720(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -728(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -736(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -744(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -752(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -760(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -768(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -776(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -784(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -792(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -800(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -808(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -816(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -824(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -832(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -840(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -848(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -856(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -864(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -872(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -880(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -888(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -896(%rbp)
movq -16(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -904(%rbp)
movslq -188(%rbp), %rax
movq -240(%rbp), %rcx
addq $-1, %rcx
addq %rcx, %rax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -912(%rbp)
movq -8(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1328(%rbp) ## 8-byte Spill
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1320(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1336(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1344(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1352(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1360(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1368(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1384(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -1488(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1496(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1504(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1504(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1496(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm3
movsd -1488(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -560(%rbp), %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1376(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1456(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -1464(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1472(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1480(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1480(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -1472(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1464(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm4
movsd -1456(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -584(%rbp), %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1392(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1432(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1440(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1448(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1448(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1440(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm3
movsd -1432(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm4 ## xmm4 = mem[0],zero
mulsd -520(%rbp), %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1400(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1408(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1416(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1424(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1424(%rbp), %xmm13 ## 8-byte Reload
## xmm13 = mem[0],zero
movsd -1416(%rbp), %xmm12 ## 8-byte Reload
## xmm12 = mem[0],zero
movsd -1408(%rbp), %xmm8 ## 8-byte Reload
## xmm8 = mem[0],zero
movsd -1400(%rbp), %xmm11 ## 8-byte Reload
## xmm11 = mem[0],zero
movsd -1392(%rbp), %xmm10 ## 8-byte Reload
## xmm10 = mem[0],zero
movsd -1384(%rbp), %xmm7 ## 8-byte Reload
## xmm7 = mem[0],zero
movsd -1376(%rbp), %xmm9 ## 8-byte Reload
## xmm9 = mem[0],zero
movsd -1368(%rbp), %xmm6 ## 8-byte Reload
## xmm6 = mem[0],zero
movsd -1360(%rbp), %xmm5 ## 8-byte Reload
## xmm5 = mem[0],zero
movsd -1352(%rbp), %xmm4 ## 8-byte Reload
## xmm4 = mem[0],zero
movsd -1344(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -1336(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1328(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm14
movsd -1320(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm15 ## xmm15 = mem[0],zero
mulsd -592(%rbp), %xmm15
mulsd %xmm15, %xmm14
mulsd %xmm14, %xmm13
mulsd %xmm13, %xmm12
mulsd %xmm12, %xmm8
subsd %xmm11, %xmm8
subsd %xmm10, %xmm8
mulsd %xmm9, %xmm7
addsd %xmm8, %xmm7
mulsd %xmm7, %xmm6
mulsd %xmm6, %xmm5
mulsd %xmm5, %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -8(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -8(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1136(%rbp) ## 8-byte Spill
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1128(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1144(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -1152(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1160(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1168(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1176(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1288(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1296(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1304(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1312(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1312(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -1304(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1296(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm4
movsd -1288(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -552(%rbp), %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1184(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1200(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1264(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1272(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1280(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1280(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1272(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm3
movsd -1264(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -576(%rbp), %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1192(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1216(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -912(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1248(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1256(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1256(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm2
movsd -1248(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -64(%rbp), %xmm3 ## xmm3 = mem[0],zero
mulsd -376(%rbp), %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1208(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1224(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1232(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1240(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1240(%rbp), %xmm14 ## 8-byte Reload
## xmm14 = mem[0],zero
movsd -1232(%rbp), %xmm11 ## 8-byte Reload
## xmm11 = mem[0],zero
movsd -1224(%rbp), %xmm13 ## 8-byte Reload
## xmm13 = mem[0],zero
movsd -1216(%rbp), %xmm9 ## 8-byte Reload
## xmm9 = mem[0],zero
movsd -1208(%rbp), %xmm12 ## 8-byte Reload
## xmm12 = mem[0],zero
movsd -1200(%rbp), %xmm7 ## 8-byte Reload
## xmm7 = mem[0],zero
movsd -1192(%rbp), %xmm10 ## 8-byte Reload
## xmm10 = mem[0],zero
movsd -1184(%rbp), %xmm8 ## 8-byte Reload
## xmm8 = mem[0],zero
movsd -1176(%rbp), %xmm6 ## 8-byte Reload
## xmm6 = mem[0],zero
movsd -1168(%rbp), %xmm5 ## 8-byte Reload
## xmm5 = mem[0],zero
movsd -1160(%rbp), %xmm4 ## 8-byte Reload
## xmm4 = mem[0],zero
movsd -1152(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -1144(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1136(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm15
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -592(%rbp), %xmm0
mulsd %xmm0, %xmm15
movsd -1128(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd %xmm15, %xmm14
mulsd %xmm14, %xmm11
mulsd %xmm11, %xmm13
movsd LCPI0_0(%rip), %xmm11 ## xmm11 = mem[0],zero
mulsd %xmm13, %xmm11
mulsd %xmm12, %xmm9
addsd %xmm11, %xmm9
mulsd %xmm10, %xmm7
addsd %xmm9, %xmm7
subsd %xmm8, %xmm7
mulsd %xmm7, %xmm6
mulsd %xmm6, %xmm5
mulsd %xmm5, %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -8(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -8(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -928(%rbp) ## 8-byte Spill
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -920(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -936(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -944(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -952(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -960(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -968(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -984(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1104(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1112(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1120(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1120(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1112(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm3
movsd -1104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -504(%rbp), %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -976(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1072(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1080(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1088(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1096(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1096(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -1088(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1080(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm4
movsd -1072(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -576(%rbp), %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -992(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1040(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -912(%rbp), %xmm0
movsd %xmm0, -1048(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1056(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1064(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1064(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -1056(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -1048(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm4
movsd -1040(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -368(%rbp), %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -1000(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1008(%rbp) ## 8-byte Spill
movsd -88(%rbp), %xmm1 ## xmm1 = mem[0],zero
addsd -912(%rbp), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -1016(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd %xmm0, -1024(%rbp) ## 8-byte Spill
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -1032(%rbp) ## 8-byte Spill
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -1032(%rbp), %xmm14 ## 8-byte Reload
## xmm14 = mem[0],zero
movsd -1024(%rbp), %xmm13 ## 8-byte Reload
## xmm13 = mem[0],zero
movsd -1016(%rbp), %xmm12 ## 8-byte Reload
## xmm12 = mem[0],zero
movsd -1008(%rbp), %xmm8 ## 8-byte Reload
## xmm8 = mem[0],zero
movsd -1000(%rbp), %xmm11 ## 8-byte Reload
## xmm11 = mem[0],zero
movsd -992(%rbp), %xmm10 ## 8-byte Reload
## xmm10 = mem[0],zero
movsd -984(%rbp), %xmm7 ## 8-byte Reload
## xmm7 = mem[0],zero
movsd -976(%rbp), %xmm9 ## 8-byte Reload
## xmm9 = mem[0],zero
movsd -968(%rbp), %xmm6 ## 8-byte Reload
## xmm6 = mem[0],zero
movsd -960(%rbp), %xmm5 ## 8-byte Reload
## xmm5 = mem[0],zero
movsd -952(%rbp), %xmm4 ## 8-byte Reload
## xmm4 = mem[0],zero
movsd -944(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -936(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -928(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movaps %xmm0, %xmm15
movsd -920(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -584(%rbp), %xmm15
mulsd %xmm15, %xmm14
mulsd %xmm14, %xmm13
mulsd %xmm13, %xmm12
mulsd %xmm12, %xmm8
subsd %xmm11, %xmm8
subsd %xmm10, %xmm8
mulsd %xmm9, %xmm7
addsd %xmm8, %xmm7
mulsd %xmm7, %xmm6
mulsd %xmm6, %xmm5
mulsd %xmm5, %xmm4
mulsd %xmm4, %xmm3
mulsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -8(%rbp), %rax
movq -216(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -240(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -248(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -256(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movq -224(%rbp), %rax
addq $1, %rax
movq %rax, -224(%rbp)
jmp LBB0_6
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movq -184(%rbp), %rax
addq $1, %rax
movq %rax, -184(%rbp)
jmp LBB0_4
LBB0_11:
addq $1504, %rsp ## imm = 0x5E0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _c_YEE_CURL_R_scmc_kernel ## -- Begin function c_YEE_CURL_R_scmc_kernel
.p2align 4, 0x90
_c_YEE_CURL_R_scmc_kernel: ## @c_YEE_CURL_R_scmc_kernel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $752, %rsp ## imm = 0x2F0
movq 96(%rbp), %rax
movq 88(%rbp), %rax
movl 80(%rbp), %eax
movq 72(%rbp), %rax
movq 64(%rbp), %rax
movq 56(%rbp), %rax
movl 48(%rbp), %eax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movsd %xmm0, -56(%rbp)
movq $0, -64(%rbp)
movq $1, -72(%rbp)
movq $0, -80(%rbp)
movq 88(%rbp), %rax
movq %rax, -88(%rbp)
movq $1, -96(%rbp)
movq 96(%rbp), %rax
movq %rax, -104(%rbp)
movq -88(%rbp), %rax
shlq $0, %rax
addq $0, %rax
movq %rax, -112(%rbp)
movq 16(%rbp), %rax
subq $1, %rax
cqto
idivq -48(%rbp)
addq $1, %rax
movq %rax, -120(%rbp)
movq -88(%rbp), %rax
imulq -120(%rbp), %rax
movq %rax, -128(%rbp)
movq -88(%rbp), %rax
addq $1, %rax
imulq -120(%rbp), %rax
movq %rax, -136(%rbp)
movq -136(%rbp), %rax
cmpq 16(%rbp), %rax
jl LBB1_2
## %bb.1:
movq 16(%rbp), %rax
movq %rax, -136(%rbp)
jmp LBB1_3
LBB1_2:
jmp LBB1_3
LBB1_3:
movq 56(%rbp), %rax
movq 64(%rbp), %rcx
imulq 72(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -144(%rbp)
movq -128(%rbp), %rax
movq %rax, -152(%rbp)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_6 Depth 2
movq -152(%rbp), %rax
cmpq -136(%rbp), %rax
jge LBB1_11
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax
movq -152(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -156(%rbp)
movq -32(%rbp), %rax
movq -152(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -160(%rbp)
movq -40(%rbp), %rax
movq -152(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -164(%rbp)
movq 24(%rbp), %rax
movq 32(%rbp), %rcx
imulq 40(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -176(%rbp)
movq -144(%rbp), %rax
movq -152(%rbp), %rcx
movslq 80(%rbp), %rdx
imulq %rdx, %rcx
imulq %rcx, %rax
movq %rax, -184(%rbp)
movq $0, -192(%rbp)
movq $0, -192(%rbp)
LBB1_6: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq -192(%rbp), %rax
cmpq -176(%rbp), %rax
jge LBB1_9
## %bb.7: ## in Loop: Header=BB1_6 Depth=2
movq -192(%rbp), %rax
addq $0, %rax
movq %rax, -200(%rbp)
movq -200(%rbp), %rax
cqto
idivq 24(%rbp)
movq %rdx, -208(%rbp)
movq -200(%rbp), %rax
cqto
idivq 24(%rbp)
cqto
idivq 32(%rbp)
movq %rdx, -216(%rbp)
movq -200(%rbp), %rax
movq 24(%rbp), %rcx
imulq 32(%rbp), %rcx
cqto
idivq %rcx
movq %rax, -224(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -232(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -240(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -248(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -256(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -264(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -272(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -280(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -288(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -296(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -304(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -312(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -320(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -328(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -336(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -344(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -352(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -360(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -368(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -376(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -384(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -392(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -400(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -408(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -416(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -424(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -432(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $0, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -440(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -448(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -456(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -464(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -472(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -480(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -488(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -496(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -504(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -512(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -520(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -528(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -536(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -544(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -552(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -560(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -568(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -576(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -584(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -592(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -600(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -608(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -616(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -624(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -632(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -640(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -648(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $1, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -656(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -664(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -672(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -680(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -688(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -696(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -704(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -712(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -720(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $0, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -728(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -736(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -744(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -752(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -760(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -768(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -776(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -784(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -792(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $1, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -800(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -808(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -816(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $0, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -824(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -832(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -840(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $1, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -848(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -856(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -864(%rbp)
movq -16(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
addq $-1, %rdx
addq $2, %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
addq $-1, %rdi
addq $2, %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
addq $-1, %r9
addq $2, %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -872(%rbp)
movslq -156(%rbp), %rax
movq -208(%rbp), %rcx
addq $-1, %rcx
addq %rcx, %rax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -880(%rbp)
movq -8(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -552(%rbp), %xmm3 ## xmm3 = mem[0],zero
movsd -576(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -560(%rbp), %xmm4 ## xmm4 = mem[0],zero
movsd -632(%rbp), %xmm5 ## xmm5 = mem[0],zero
subsd %xmm5, %xmm4
addsd %xmm4, %xmm2
subsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -8(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $0, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -8(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -544(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -568(%rbp), %xmm4 ## xmm4 = mem[0],zero
movsd -560(%rbp), %xmm5 ## xmm5 = mem[0],zero
movsd -776(%rbp), %xmm3 ## xmm3 = mem[0],zero
subsd %xmm5, %xmm3
subsd %xmm4, %xmm3
addsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -8(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -8(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -544(%rbp), %xmm3 ## xmm3 = mem[0],zero
movsd -616(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd -552(%rbp), %xmm4 ## xmm4 = mem[0],zero
movsd -768(%rbp), %xmm5 ## xmm5 = mem[0],zero
subsd %xmm5, %xmm4
addsd %xmm4, %xmm2
subsd %xmm3, %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq -8(%rbp), %rax
movq -184(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq 80(%rbp), %rcx
movq -208(%rbp), %rdx
movslq 48(%rbp), %rsi
addq %rsi, %rdx
movq 56(%rbp), %rsi
movq -216(%rbp), %rdi
movslq 48(%rbp), %r8
addq %r8, %rdi
movq 64(%rbp), %r8
movq -224(%rbp), %r9
movslq 48(%rbp), %r10
addq %r10, %r9
imulq %r9, %r8
addq %r8, %rdi
imulq %rdi, %rsi
addq %rsi, %rdx
imulq %rdx, %rcx
addq $2, %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.8: ## in Loop: Header=BB1_6 Depth=2
movq -192(%rbp), %rax
addq $1, %rax
movq %rax, -192(%rbp)
jmp LBB1_6
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
movq -152(%rbp), %rax
addq $1, %rax
movq %rax, -152(%rbp)
jmp LBB1_4
LBB1_11:
addq $752, %rsp ## imm = 0x2F0
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/97011819.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
sub x8, x29, #20
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
str w8, [sp, #24]
ldur w8, [x29, #-16]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
subs w8, w8, #2
ldur w9, [x29, #-20]
sdiv w8, w8, w9
add w8, w8, #2
str w8, [sp, #24]
ldur w8, [x29, #-16]
subs w8, w8, #2
ldur w10, [x29, #-20]
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: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -20(%rbp), %rdx
movb $0, %al
callq _scanf
movl $1, -24(%rbp)
cmpl $2, -16(%rbp)
jle LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
subl $2, %eax
cltd
idivl -20(%rbp)
addl $2, %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
subl $2, %eax
cltd
idivl -20(%rbp)
cmpl $0, %edx
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_8:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/242331923.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _create_SOM ; -- Begin function create_SOM
.p2align 2
_create_SOM: ; @create_SOM
.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, x8
str x9, [sp, #8] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
ldur w8, [x29, #-4]
str w8, [x9]
ldur w8, [x29, #-8]
str w8, [x9, #4]
ldur w8, [x29, #-12]
str w8, [x9, #8]
ldursw x9, [x29, #-12]
mov x8, #4
mul x8, x8, x9
ldursw x9, [x29, #-4]
mul x8, x8, x9
ldursw x9, [x29, #-8]
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _create_SOMTrainingParams ; -- Begin function create_SOMTrainingParams
.p2align 2
_create_SOMTrainingParams: ; @create_SOMTrainingParams
.cfi_startproc
; %bb.0:
mov w9, #1000
str w9, [x8]
mov w9, #52429
movk w9, #15820, lsl #16
fmov s0, w9
str s0, [x8, #4]
mov w9, #55050
movk w9, #15395, lsl #16
fmov s0, w9
str s0, [x8, #8]
fmov s0, #5.00000000
str s0, [x8, #12]
fmov s0, #2.00000000
str s0, [x8, #16]
ret
.cfi_endproc
; -- End function
.globl _free_SOM ; -- Begin function free_SOM
.p2align 2
_free_SOM: ; @free_SOM
.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
ldr x0, [x0, #16]
bl _free
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_num_weight_elements ; -- Begin function get_num_weight_elements
.p2align 2
_get_num_weight_elements: ; @get_num_weight_elements
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x0, #4]
mul w8, w8, w9
ldr w9, [x0, #8]
mul w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _get_neuron_weight_vector ; -- Begin function get_neuron_weight_vector
.p2align 2
_get_neuron_weight_vector: ; @get_neuron_weight_vector
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w1, [sp, #12]
ldr x8, [x0, #16]
ldr w9, [sp, #12]
ldr w10, [x0, #8]
mul w9, w9, w10
add x0, x8, w9, sxtw #2
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _save_SOM ; -- Begin function save_SOM
.p2align 2
_save_SOM: ; @save_SOM
.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
str x0, [sp, #40] ; 8-byte Folded Spill
stur x1, [x29, #-16]
ldur x0, [x29, #-16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB5_10
LBB5_2:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldr w9, [x8]
; implicit-def: $x11
mov x11, x9
ldr w9, [x8, #4]
; implicit-def: $x10
mov x10, x9
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 x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
stur wzr, [x29, #-28]
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur w9, [x29, #-28]
str w9, [sp, #36] ; 4-byte Folded Spill
ldr q0, [x8]
add x0, sp, #48
str q0, [sp, #48]
ldr x8, [x8, #16]
str x8, [sp, #64]
bl _get_num_weight_elements
ldr w8, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB5_9
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldr x8, [x8, #16]
ldursw x9, [x29, #-28]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur w8, [x29, #-28]
add w8, w8, #1
ldr w10, [x9, #8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=1
ldur x0, [x29, #-24]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
b LBB5_7
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
ldur x0, [x29, #-24]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_3 Depth=1
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_3 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB5_3
LBB5_9:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _fclose
stur wzr, [x29, #-4]
b LBB5_10
LBB5_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _load_SOM ; -- Begin function load_SOM
.p2align 2
_load_SOM: ; @load_SOM
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #136]
str x1, [sp, #128]
ldr x0, [sp, #128]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
str x0, [sp, #120]
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr x8, [sp, #128]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-128]
b LBB6_17
LBB6_2:
str wzr, [sp, #112]
b LBB6_3
LBB6_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #120]
bl _fgetc
strb w0, [sp, #119]
sxtb w8, w0
subs w8, w8, #10
cset w8, eq
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_3 Depth=1
ldrb w8, [sp, #119]
ldrsw x10, [sp, #112]
mov x9, x10
add w9, w9, #1
str w9, [sp, #112]
sub x9, x29, #124
add x9, x9, x10
strb w8, [x9]
b LBB6_3
LBB6_5:
ldrsw x9, [sp, #112]
sub x0, x29, #124
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
ldr x11, [sp, #136]
ldr x8, [sp, #136]
add x10, x8, #4
ldr x8, [sp, #136]
add x8, x8, #8
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _sscanf
str wzr, [sp, #112]
str wzr, [sp, #108]
b LBB6_6
LBB6_6: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #120]
bl _fgetc
strb w0, [sp, #119]
mov w8, #-1
subs w8, w8, w0, sxtb
cset w8, eq
tbnz w8, #0, LBB6_14
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_6 Depth=1
ldr w8, [sp, #108]
str w8, [sp, #44] ; 4-byte Folded Spill
ldr x8, [sp, #136]
ldr q0, [x8]
add x0, sp, #80
str q0, [sp, #80]
ldr x8, [x8, #16]
str x8, [sp, #96]
bl _get_num_weight_elements
ldr w8, [sp, #44] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, lt
tbnz w8, #0, LBB6_9
b LBB6_8
LBB6_8:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-128]
b LBB6_17
LBB6_9: ; in Loop: Header=BB6_6 Depth=1
ldrsb w8, [sp, #119]
subs w8, w8, #44
cset w8, eq
tbnz w8, #0, LBB6_11
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_6 Depth=1
ldrsb w8, [sp, #119]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_6 Depth=1
ldrsw x9, [sp, #112]
sub x0, x29, #124
mov x8, x0
add x8, x8, x9
strb wzr, [x8]
str wzr, [sp, #112]
ldr x8, [sp, #136]
ldr x8, [x8, #16]
ldrsw x9, [sp, #108]
mov x10, x9
add w10, w10, #1
str w10, [sp, #108]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _sscanf
b LBB6_13
LBB6_12: ; in Loop: Header=BB6_6 Depth=1
ldrb w8, [sp, #119]
ldrsw x10, [sp, #112]
mov x9, x10
add w9, w9, #1
str w9, [sp, #112]
sub x9, x29, #124
add x9, x9, x10
strb w8, [x9]
b LBB6_13
LBB6_13: ; in Loop: Header=BB6_6 Depth=1
b LBB6_6
LBB6_14:
ldr w8, [sp, #108]
str w8, [sp, #40] ; 4-byte Folded Spill
ldr x8, [sp, #136]
ldr q0, [x8]
add x0, sp, #48
str q0, [sp, #48]
ldr x8, [x8, #16]
str x8, [sp, #64]
bl _get_num_weight_elements
ldr w8, [sp, #40] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, eq
tbnz w8, #0, LBB6_16
b LBB6_15
LBB6_15:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-128]
b LBB6_17
LBB6_16:
ldr x0, [sp, #120]
bl _fclose
stur wzr, [x29, #-128]
b LBB6_17
LBB6_17:
ldur w8, [x29, #-128]
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, LBB6_19
b LBB6_18
LBB6_18:
bl ___stack_chk_fail
LBB6_19:
ldr w0, [sp, #36] ; 4-byte Folded Reload
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
.cfi_endproc
; -- End function
.globl _is_line_empty ; -- Begin function is_line_empty
.p2align 2
_is_line_empty: ; @is_line_empty
.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 LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
ldrb w0, [x8]
bl _isspace
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB7_6
LBB7_4: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB7_1
LBB7_5:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB7_6
LBB7_6:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _read_input_file_line ; -- Begin function read_input_file_line
.p2align 2
_read_input_file_line: ; @read_input_file_line
.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]
add x0, sp, #24
str x1, [sp, #24]
add x1, sp, #16
mov x8, #20480
str x8, [sp, #16]
ldur x2, [x29, #-16]
bl _getline
str x0, [sp, #8]
ldr x8, [sp, #8]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
mov w8, #3
stur w8, [x29, #-4]
b LBB8_5
LBB8_2:
ldr x0, [sp, #24]
bl _is_line_empty
tbz w0, #0, LBB8_4
b LBB8_3
LBB8_3:
mov w8, #2
stur w8, [x29, #-4]
b LBB8_5
LBB8_4:
stur wzr, [x29, #-4]
b LBB8_5
LBB8_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _parse_input_line ; -- Begin function parse_input_line
.p2align 2
_parse_input_line: ; @parse_input_line
.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]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _strtok
str x0, [sp, #8]
str wzr, [sp, #4]
str wzr, [sp]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr x0, [sp, #8]
bl _atof
fcvt s0, d0
ldr x8, [sp, #24]
ldrsw x9, [sp]
mov x10, x9
add w10, w10, #1
str w10, [sp]
str s0, [x8, x9, lsl #2]
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
mov x0, #0
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _strtok
str x0, [sp, #8]
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB9_1
LBB9_5:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _euclidean_distance ; -- Begin function euclidean_distance
.p2align 2
_euclidean_distance: ; @euclidean_distance
.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]
movi d0, #0000000000000000
str s0, [sp, #8]
str wzr, [sp, #4]
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_4
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #4]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr s1, [x8, x9, lsl #2]
fsub s0, s0, s1
fmov s1, #2.00000000
bl _powf
fmov s1, s0
ldr s0, [sp, #8]
fadd s0, s0, s1
str s0, [sp, #8]
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB10_1
LBB10_4:
ldr s0, [sp, #8]
fsqrt s0, s0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _calc_vector_difference ; -- Begin function calc_vector_difference
.p2align 2
_calc_vector_difference: ; @calc_vector_difference
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str w3, [sp, #4]
str wzr, [sp]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_4
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #24]
ldrsw x9, [sp]
ldr s1, [x8, x9, lsl #2]
fsub s0, s0, s1
ldr x8, [sp, #8]
ldrsw x9, [sp]
str s0, [x8, x9, lsl #2]
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB11_1
LBB11_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _do_vector_add ; -- Begin function do_vector_add
.p2align 2
_do_vector_add: ; @do_vector_add
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str w3, [sp, #4]
str wzr, [sp]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB12_4
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp]
ldr s0, [x8, x9, lsl #2]
ldr x8, [sp, #16]
ldrsw x9, [sp]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
ldr x8, [sp, #8]
ldrsw x9, [sp]
str s0, [x8, x9, lsl #2]
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB12_1
LBB12_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _do_scalar_vector_mul ; -- Begin function do_scalar_vector_mul
.p2align 2
_do_scalar_vector_mul: ; @do_scalar_vector_mul
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, #28]
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
str wzr, [sp]
b LBB13_1
LBB13_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB13_4
b LBB13_2
LBB13_2: ; in Loop: Header=BB13_1 Depth=1
ldr s0, [sp, #28]
ldr x8, [sp, #16]
ldrsw x9, [sp]
ldr s1, [x8, x9, lsl #2]
fmul s0, s0, s1
ldr x8, [sp, #8]
ldrsw x9, [sp]
str s0, [x8, x9, lsl #2]
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB13_1
LBB13_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _find_bmu ; -- Begin function find_bmu
.p2align 2
_find_bmu: ; @find_bmu
.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
str x0, [sp, #8] ; 8-byte Folded Spill
stur x1, [x29, #-8]
ldr w8, [x0]
ldr w9, [x0, #4]
mul w8, w8, w9
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
mov w8, #2139095039
fmov s0, w8
stur s0, [x29, #-20]
stur wzr, [x29, #-24]
b LBB14_1
LBB14_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB14_6
b LBB14_2
LBB14_2: ; in Loop: Header=BB14_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur x9, [x29, #-8]
str x9, [sp] ; 8-byte Folded Spill
ldur w1, [x29, #-24]
ldr q0, [x8]
add x0, sp, #16
str q0, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #32]
bl _get_neuron_weight_vector
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x1, x0
ldr x0, [sp] ; 8-byte Folded Reload
ldr w2, [x8, #8]
bl _euclidean_distance
stur s0, [x29, #-28]
ldur s0, [x29, #-28]
ldur s1, [x29, #-20]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3: ; in Loop: Header=BB14_1 Depth=1
ldur s0, [x29, #-28]
stur s0, [x29, #-20]
ldur w8, [x29, #-24]
stur w8, [x29, #-16]
b LBB14_4
LBB14_4: ; in Loop: Header=BB14_1 Depth=1
b LBB14_5
LBB14_5: ; in Loop: Header=BB14_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB14_1
LBB14_6:
ldur w0, [x29, #-16]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _neighbourhood_function ; -- Begin function neighbourhood_function
.p2align 2
_neighbourhood_function: ; @neighbourhood_function
.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 s1, [sp, #8]
mov w8, #63572
movk w8, #16429, lsl #16
fmov s0, w8
str s0, [sp, #4]
ldr s0, [sp, #4]
str s0, [sp] ; 4-byte Folded Spill
ldur s0, [x29, #-4]
ldr s1, [sp, #8]
fdiv s0, s0, s1
fmov s1, #2.00000000
bl _powf
fmov s1, s0
ldr s0, [sp] ; 4-byte Folded Reload
fcvt d2, s1
fmov d1, #-0.50000000
fmul d1, d1, d2
fcvt s1, d1
bl _powf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _neuron_distance ; -- Begin function neuron_distance
.p2align 2
_neuron_distance: ; @neuron_distance
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w1, [x29, #-28]
str w2, [sp, #32]
ldur w8, [x29, #-28]
ldr w9, [x0, #4]
sdiv w8, w8, w9
str w8, [sp, #28]
ldur w8, [x29, #-28]
ldr w10, [x0, #4]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #24]
ldr w8, [sp, #32]
ldr w9, [x0, #4]
sdiv w8, w8, w9
str w8, [sp, #20]
ldr w8, [sp, #32]
ldr w10, [x0, #4]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #16]
ldr s0, [sp, #28]
scvtf s0, s0
sub x0, x29, #16
stur s0, [x29, #-16]
ldr s0, [sp, #24]
scvtf s0, s0
stur s0, [x29, #-12]
ldr s0, [sp, #20]
scvtf s0, s0
sub x1, x29, #24
stur s0, [x29, #-24]
ldr s0, [sp, #16]
scvtf s0, s0
stur s0, [x29, #-20]
mov w2, #2
bl _euclidean_distance
str s0, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
bl ___stack_chk_fail
LBB16_2:
ldr s0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _neuron_neighbourhood_function ; -- Begin function neuron_neighbourhood_function
.p2align 2
_neuron_neighbourhood_function: ; @neuron_neighbourhood_function
.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 x8, x0
stur w1, [x29, #-4]
stur w2, [x29, #-8]
stur s0, [x29, #-12]
ldur w1, [x29, #-4]
ldur w2, [x29, #-8]
ldr q0, [x8]
mov x0, sp
str q0, [sp]
ldr x8, [x8, #16]
str x8, [sp, #16]
bl _neuron_distance
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
ldur s1, [x29, #-12]
bl _neighbourhood_function
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _linear_blend ; -- Begin function linear_blend
.p2align 2
_linear_blend: ; @linear_blend
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
str s2, [sp, #4]
ldr s2, [sp, #12]
ldr s0, [sp, #8]
ldr s1, [sp, #12]
fsub s0, s0, s1
ldr s1, [sp, #4]
fmadd s0, s0, s1, s2
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _get_linear_blend ; -- Begin function get_linear_blend
.p2align 2
_get_linear_blend: ; @get_linear_blend
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
str s2, [sp, #4]
ldr s0, [sp, #4]
ldr s1, [sp, #12]
fsub s0, s0, s1
ldr s1, [sp, #8]
ldr s2, [sp, #12]
fsub s1, s1, s2
fdiv s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _adjust_neuron_weight_vector ; -- Begin function adjust_neuron_weight_vector
.p2align 2
_adjust_neuron_weight_vector: ; @adjust_neuron_weight_vector
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #128
mov x8, x0
stur x8, [x29, #-104] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur s0, [x29, #-28]
ldr w9, [x8, #8]
; kill: def $x9 killed $w9
stur x9, [x29, #-112] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-40]
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-120] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-120] ; 8-byte Folded Reload
ldur x9, [x29, #-112] ; 8-byte Folded Reload
mov x10, sp
subs x0, x10, x11
stur x0, [x29, #-96] ; 8-byte Folded Spill
mov sp, x0
stur x9, [x29, #-48]
ldur w1, [x29, #-12]
ldr q0, [x8]
sub x0, x29, #80
stur q0, [x29, #-80]
ldr x8, [x8, #16]
stur x8, [x29, #-64]
bl _get_neuron_weight_vector
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldur x1, [x29, #-96] ; 8-byte Folded Reload
stur x0, [x29, #-56]
ldur s0, [x29, #-28]
ldur x0, [x29, #-24]
ldr w2, [x8, #8]
bl _do_scalar_vector_mul
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldur x1, [x29, #-96] ; 8-byte Folded Reload
ldur x0, [x29, #-56]
ldur x2, [x29, #-56]
ldr w3, [x8, #8]
bl _do_vector_add
ldur x8, [x29, #-40]
stur x8, [x29, #-88] ; 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, LBB20_2
b LBB20_1
LBB20_1:
bl ___stack_chk_fail
LBB20_2:
ldur x8, [x29, #-88] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _adjust_weights ; -- Begin function adjust_weights
.p2align 2
_adjust_weights: ; @adjust_weights
.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, #224
mov x8, x0
stur x8, [x29, #-192] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
stur s0, [x29, #-24]
stur s1, [x29, #-28]
ldr w9, [x8]
ldr w10, [x8, #4]
mul w9, w9, w10
stur w9, [x29, #-32]
ldr w9, [x8, #8]
; kill: def $x9 killed $w9
stur x9, [x29, #-200] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-48]
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-208] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-208] ; 8-byte Folded Reload
ldur x9, [x29, #-200] ; 8-byte Folded Reload
mov x10, sp
subs x0, x10, x11
stur x0, [x29, #-184] ; 8-byte Folded Spill
mov sp, x0
stur x9, [x29, #-56]
ldur w1, [x29, #-20]
ldr q0, [x8]
sub x0, x29, #96
stur q0, [x29, #-96]
ldr x8, [x8, #16]
stur x8, [x29, #-80]
bl _get_neuron_weight_vector
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x2, [x29, #-184] ; 8-byte Folded Reload
stur x0, [x29, #-64]
ldur x0, [x29, #-64]
ldur x1, [x29, #-16]
ldr w3, [x8, #8]
bl _calc_vector_difference
stur wzr, [x29, #-108]
b LBB21_1
LBB21_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-108]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB21_4
b LBB21_2
LBB21_2: ; in Loop: Header=BB21_1 Depth=1
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur w1, [x29, #-20]
ldur w2, [x29, #-108]
ldur s0, [x29, #-28]
ldr q1, [x8]
sub x0, x29, #144
stur q1, [x29, #-144]
ldr x8, [x8, #16]
stur x8, [x29, #-128]
bl _neuron_neighbourhood_function
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x2, [x29, #-184] ; 8-byte Folded Reload
stur s0, [x29, #-36]
ldur w1, [x29, #-108]
ldur s0, [x29, #-24]
ldur s1, [x29, #-36]
fmul s0, s0, s1
ldr q1, [x8]
sub x0, x29, #176
stur q1, [x29, #-176]
ldr x8, [x8, #16]
stur x8, [x29, #-160]
bl _adjust_neuron_weight_vector
b LBB21_3
LBB21_3: ; in Loop: Header=BB21_1 Depth=1
ldur w8, [x29, #-108]
add w8, w8, #1
stur w8, [x29, #-108]
b LBB21_1
LBB21_4:
ldur x8, [x29, #-48]
stur x8, [x29, #-216] ; 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, LBB21_6
b LBB21_5
LBB21_5:
bl ___stack_chk_fail
LBB21_6:
ldur x8, [x29, #-216] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _find_normalize_minima_maxima ; -- Begin function find_normalize_minima_maxima
.p2align 2
_find_normalize_minima_maxima: ; @find_normalize_minima_maxima
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #112
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
stur x3, [x29, #-32]
stur x4, [x29, #-40]
ldur x11, [x29, #-16]
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #32
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
add sp, sp, #32
ldur x0, [x29, #-16]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB22_2
b LBB22_1
LBB22_1:
ldur x8, [x29, #-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 _printf
add sp, sp, #16
b LBB22_25
LBB22_2:
stur wzr, [x29, #-52]
b LBB22_3
LBB22_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-52]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB22_6
b LBB22_4
LBB22_4: ; in Loop: Header=BB22_3 Depth=1
ldur x8, [x29, #-32]
ldursw x9, [x29, #-52]
mov w10, #2139095039
fmov s0, w10
str s0, [x8, x9, lsl #2]
ldur x8, [x29, #-40]
ldursw x9, [x29, #-52]
mov w10, #-8388609
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB22_5
LBB22_5: ; in Loop: Header=BB22_3 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB22_3
LBB22_6:
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-64]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-104] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-104] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-96] ; 8-byte Folded Spill
stur x8, [x29, #-72]
b LBB22_7
LBB22_7: ; =>This Loop Header: Depth=1
; Child Loop BB22_13 Depth 2
b LBB22_8
LBB22_8: ; in Loop: Header=BB22_7 Depth=1
mov x0, #20480
bl _malloc
stur x0, [x29, #-80]
ldur x0, [x29, #-48]
ldur x1, [x29, #-80]
bl _read_input_file_line
stur w0, [x29, #-56]
ldur w8, [x29, #-56]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB22_10
b LBB22_9
LBB22_9: ; in Loop: Header=BB22_7 Depth=1
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB22_7
LBB22_10: ; in Loop: Header=BB22_7 Depth=1
ldur w8, [x29, #-56]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB22_12
b LBB22_11
LBB22_11:
b LBB22_24
LBB22_12: ; in Loop: Header=BB22_7 Depth=1
ldur x2, [x29, #-96] ; 8-byte Folded Reload
ldur x0, [x29, #-80]
ldur w1, [x29, #-20]
ldur w3, [x29, #-24]
bl _parse_input_line
stur wzr, [x29, #-84]
b LBB22_13
LBB22_13: ; Parent Loop BB22_7 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-84]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB22_21
b LBB22_14
LBB22_14: ; in Loop: Header=BB22_13 Depth=2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
ldursw x9, [x29, #-84]
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-84]
ldr s1, [x8, x9, lsl #2]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB22_16
b LBB22_15
LBB22_15: ; in Loop: Header=BB22_13 Depth=2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
ldursw x9, [x29, #-84]
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-32]
ldursw x9, [x29, #-84]
str s0, [x8, x9, lsl #2]
b LBB22_19
LBB22_16: ; in Loop: Header=BB22_13 Depth=2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
ldursw x9, [x29, #-84]
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-40]
ldursw x9, [x29, #-84]
ldr s1, [x8, x9, lsl #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB22_18
b LBB22_17
LBB22_17: ; in Loop: Header=BB22_13 Depth=2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
ldursw x9, [x29, #-84]
ldr s0, [x8, x9, lsl #2]
ldur x8, [x29, #-40]
ldursw x9, [x29, #-84]
str s0, [x8, x9, lsl #2]
b LBB22_18
LBB22_18: ; in Loop: Header=BB22_13 Depth=2
b LBB22_19
LBB22_19: ; in Loop: Header=BB22_13 Depth=2
b LBB22_20
LBB22_20: ; in Loop: Header=BB22_13 Depth=2
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB22_13
LBB22_21: ; in Loop: Header=BB22_7 Depth=1
b LBB22_22
LBB22_22: ; in Loop: Header=BB22_7 Depth=1
b LBB22_23
LBB22_23: ; in Loop: Header=BB22_7 Depth=1
ldur x0, [x29, #-80]
bl _free
b LBB22_7
LBB22_24:
ldur x8, [x29, #-64]
mov sp, x8
b LBB22_25
LBB22_25:
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, LBB22_27
b LBB22_26
LBB22_26:
bl ___stack_chk_fail
LBB22_27:
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _normalize_input_vector ; -- Begin function normalize_input_vector
.p2align 2
_normalize_input_vector: ; @normalize_input_vector
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
str wzr, [sp, #12]
b LBB23_1
LBB23_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB23_7
b LBB23_2
LBB23_2: ; in Loop: Header=BB23_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #8]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #4]
ldr s0, [sp, #8]
ldr s1, [sp, #4]
fcmp s0, s1
cset w8, ne
tbnz w8, #0, LBB23_4
b LBB23_3
LBB23_3: ; in Loop: Header=BB23_1 Depth=1
ldr s0, [sp, #8]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #12]
str s0, [x8, x9, lsl #2]
b LBB23_5
LBB23_4: ; in Loop: Header=BB23_1 Depth=1
ldr s0, [sp, #8]
ldr s1, [sp, #4]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #12]
ldr s2, [x8, x9, lsl #2]
bl _get_linear_blend
ldur x8, [x29, #-16]
ldrsw x9, [sp, #12]
str s0, [x8, x9, lsl #2]
b LBB23_5
LBB23_5: ; in Loop: Header=BB23_1 Depth=1
b LBB23_6
LBB23_6: ; in Loop: Header=BB23_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB23_1
LBB23_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _denormalize_neuron_weight_vector ; -- Begin function denormalize_neuron_weight_vector
.p2align 2
_denormalize_neuron_weight_vector: ; @denormalize_neuron_weight_vector
.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 x8, x0
str x8, [sp, #8] ; 8-byte Folded Spill
stur w1, [x29, #-4]
stur x2, [x29, #-16]
stur x3, [x29, #-24]
ldur w1, [x29, #-4]
ldr q0, [x8]
add x0, sp, #32
str q0, [sp, #32]
ldr x8, [x8, #16]
str x8, [sp, #48]
bl _get_neuron_weight_vector
stur x0, [x29, #-32]
str wzr, [sp, #28]
b LBB24_1
LBB24_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB24_4
b LBB24_2
LBB24_2: ; in Loop: Header=BB24_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #28]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #24]
ldur x8, [x29, #-24]
ldrsw x9, [sp, #28]
ldr s0, [x8, x9, lsl #2]
str s0, [sp, #20]
ldr s0, [sp, #24]
ldr s1, [sp, #20]
ldur x8, [x29, #-32]
ldrsw x9, [sp, #28]
ldr s2, [x8, x9, lsl #2]
bl _linear_blend
ldur x8, [x29, #-32]
ldrsw x9, [sp, #28]
str s0, [x8, x9, lsl #2]
b LBB24_3
LBB24_3: ; in Loop: Header=BB24_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB24_1
LBB24_4:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _denormalize_som ; -- Begin function denormalize_som
.p2align 2
_denormalize_som: ; @denormalize_som
.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
str x0, [sp, #8] ; 8-byte Folded Spill
stur x1, [x29, #-8]
stur x2, [x29, #-16]
ldr w8, [x0]
ldr w9, [x0, #4]
mul w8, w8, w9
stur w8, [x29, #-20]
stur wzr, [x29, #-24]
b LBB25_1
LBB25_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB25_4
b LBB25_2
LBB25_2: ; in Loop: Header=BB25_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w1, [x29, #-24]
ldur x2, [x29, #-8]
ldur x3, [x29, #-16]
ldr q0, [x8]
add x0, sp, #16
str q0, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #32]
bl _denormalize_neuron_weight_vector
b LBB25_3
LBB25_3: ; in Loop: Header=BB25_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB25_1
LBB25_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _train_SOM ; -- Begin function train_SOM
.p2align 2
_train_SOM: ; @train_SOM
.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, #208
stur x0, [x29, #-192] ; 8-byte Folded Spill
stur x1, [x29, #-184] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w2, [x29, #-12]
stur x3, [x29, #-24]
stur w4, [x29, #-28]
mov w8, #1
and w8, w5, w8
sturb w8, [x29, #-29]
stur x6, [x29, #-40]
stur x7, [x29, #-48]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
add sp, sp, #16
ldur x0, [x29, #-24]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
stur x0, [x29, #-56]
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB26_2
b LBB26_1
LBB26_1:
ldur x8, [x29, #-24]
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
b LBB26_25
LBB26_2:
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldr w8, [x8, #8]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-64]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-208] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-208] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-200] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-72]
mov x0, #20480
bl _malloc
stur x0, [x29, #-80]
stur wzr, [x29, #-84]
stur wzr, [x29, #-88]
stur wzr, [x29, #-92]
b LBB26_3
LBB26_3: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-184] ; 8-byte Folded Reload
ldur w8, [x29, #-92]
ldur w10, [x29, #-88]
subs w8, w8, w10
stur w8, [x29, #-84]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB26_24
b LBB26_4
LBB26_4: ; in Loop: Header=BB26_3 Depth=1
ldur x8, [x29, #-184] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB26_6
b LBB26_5
LBB26_5: ; in Loop: Header=BB26_3 Depth=1
movi d0, #0000000000000000
stur s0, [x29, #-96]
b LBB26_7
LBB26_6: ; in Loop: Header=BB26_3 Depth=1
ldur x8, [x29, #-184] ; 8-byte Folded Reload
ldur s0, [x29, #-84]
scvtf s0, s0
ldr w8, [x8]
subs w8, w8, #1
scvtf s1, w8
fdiv s0, s0, s1
stur s0, [x29, #-96]
b LBB26_7
LBB26_7: ; in Loop: Header=BB26_3 Depth=1
ldur x0, [x29, #-56]
ldur x1, [x29, #-80]
bl _read_input_file_line
stur w0, [x29, #-100]
ldur w8, [x29, #-100]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB26_9
b LBB26_8
LBB26_8:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB26_24
LBB26_9: ; in Loop: Header=BB26_3 Depth=1
ldur w8, [x29, #-100]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB26_11
b LBB26_10
LBB26_10: ; in Loop: Header=BB26_3 Depth=1
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB26_23
LBB26_11: ; in Loop: Header=BB26_3 Depth=1
ldur w8, [x29, #-100]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB26_13
b LBB26_12
LBB26_12: ; in Loop: Header=BB26_3 Depth=1
ldur x0, [x29, #-56]
bl _rewind
ldur w8, [x29, #-88]
add w8, w8, #1
stur w8, [x29, #-88]
b LBB26_23
LBB26_13: ; in Loop: Header=BB26_3 Depth=1
b LBB26_14
LBB26_14: ; in Loop: Header=BB26_3 Depth=1
b LBB26_15
LBB26_15: ; in Loop: Header=BB26_3 Depth=1
ldur w8, [x29, #-100]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB26_17
b LBB26_16
LBB26_16:
adrp x0, l___func__.train_SOM@PAGE
add x0, x0, l___func__.train_SOM@PAGEOFF
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
mov w2, #412
adrp x3, l_.str.17@PAGE
add x3, x3, l_.str.17@PAGEOFF
bl ___assert_rtn
LBB26_17: ; in Loop: Header=BB26_3 Depth=1
b LBB26_18
LBB26_18: ; in Loop: Header=BB26_3 Depth=1
ldur x2, [x29, #-200] ; 8-byte Folded Reload
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x0, [x29, #-80]
ldur w1, [x29, #-28]
ldr w3, [x8, #8]
bl _parse_input_line
ldurb w8, [x29, #-29]
tbz w8, #0, LBB26_20
b LBB26_19
LBB26_19: ; in Loop: Header=BB26_3 Depth=1
ldur x1, [x29, #-200] ; 8-byte Folded Reload
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldr w0, [x8, #8]
ldur x2, [x29, #-40]
ldur x3, [x29, #-48]
bl _normalize_input_vector
b LBB26_20
LBB26_20: ; in Loop: Header=BB26_3 Depth=1
ldur x8, [x29, #-184] ; 8-byte Folded Reload
ldr s0, [x8, #4]
ldr s1, [x8, #8]
ldur s2, [x29, #-96]
bl _linear_blend
ldur x8, [x29, #-184] ; 8-byte Folded Reload
stur s0, [x29, #-104]
ldr s0, [x8, #12]
ldr s1, [x8, #16]
ldur s2, [x29, #-96]
bl _linear_blend
stur s0, [x29, #-108]
ldur w8, [x29, #-84]
mov w10, #100
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB26_22
b LBB26_21
LBB26_21: ; in Loop: Header=BB26_3 Depth=1
ldur s0, [x29, #-96]
mov w8, #1120403456
fmov s1, w8
fmul s0, s0, s1
fcvt d2, s0
ldur w8, [x29, #-84]
; implicit-def: $x9
mov x9, x8
ldur s0, [x29, #-104]
fcvt d1, s0
ldur s0, [x29, #-108]
fcvt d0, s0
sub sp, sp, #32
mov x8, sp
str d2, [x8]
str x9, [x8, #8]
str d1, [x8, #16]
str d0, [x8, #24]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
add sp, sp, #32
b LBB26_22
LBB26_22: ; in Loop: Header=BB26_3 Depth=1
ldur x1, [x29, #-200] ; 8-byte Folded Reload
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldr q0, [x8]
sub x0, x29, #144
stur q0, [x29, #-144]
ldr x8, [x8, #16]
stur x8, [x29, #-128]
bl _find_bmu
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x1, [x29, #-200] ; 8-byte Folded Reload
stur w0, [x29, #-112]
ldur w2, [x29, #-112]
ldur s0, [x29, #-104]
ldur s1, [x29, #-108]
ldr q2, [x8]
sub x0, x29, #176
stur q2, [x29, #-176]
ldr x8, [x8, #16]
stur x8, [x29, #-160]
bl _adjust_weights
b LBB26_23
LBB26_23: ; in Loop: Header=BB26_3 Depth=1
ldur w8, [x29, #-92]
add w8, w8, #1
stur w8, [x29, #-92]
b LBB26_3
LBB26_24:
ldur x0, [x29, #-80]
bl _free
ldur x0, [x29, #-56]
bl _fclose
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldur x8, [x29, #-64]
mov sp, x8
b LBB26_25
LBB26_25:
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_27
b LBB26_26
LBB26_26:
bl ___stack_chk_fail
LBB26_27:
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _rand_float_range ; -- Begin function rand_float_range
.p2align 2
_rand_float_range: ; @rand_float_range
.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 s1, [sp, #8]
bl _rand
scvtf s0, w0
movi.2s v1, #79, lsl #24
; kill: def $s1 killed $s1 killed $d1
fdiv s0, s0, s1
str s0, [sp, #4]
ldur s2, [x29, #-4]
ldr s0, [sp, #4]
ldr s1, [sp, #8]
ldur s3, [x29, #-4]
fsub s1, s1, s3
fmadd s0, s0, s1, s2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _randomize_weight_vectors ; -- Begin function randomize_weight_vectors
.p2align 2
_randomize_weight_vectors: ; @randomize_weight_vectors
.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
str x0, [sp, #8] ; 8-byte Folded Spill
stur s0, [x29, #-4]
stur s1, [x29, #-8]
stur wzr, [x29, #-12]
b LBB28_1
LBB28_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
str w9, [sp, #4] ; 4-byte Folded Spill
ldr q0, [x8]
add x0, sp, #16
str q0, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #32]
bl _get_num_weight_elements
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB28_4
b LBB28_2
LBB28_2: ; in Loop: Header=BB28_1 Depth=1
ldur s0, [x29, #-4]
ldur s1, [x29, #-8]
bl _rand_float_range
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldursw x9, [x29, #-12]
str s0, [x8, x9, lsl #2]
b LBB28_3
LBB28_3: ; in Loop: Header=BB28_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB28_1
LBB28_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _equalize_weight_vectors ; -- Begin function equalize_weight_vectors
.p2align 2
_equalize_weight_vectors: ; @equalize_weight_vectors
.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
str x0, [sp, #8] ; 8-byte Folded Spill
stur s0, [x29, #-4]
stur wzr, [x29, #-8]
b LBB29_1
LBB29_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-8]
str w9, [sp, #4] ; 4-byte Folded Spill
ldr q0, [x8]
add x0, sp, #16
str q0, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #32]
bl _get_num_weight_elements
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB29_4
b LBB29_2
LBB29_2: ; in Loop: Header=BB29_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur s0, [x29, #-4]
ldr x8, [x8, #16]
ldursw x9, [x29, #-8]
str s0, [x8, x9, lsl #2]
b LBB29_3
LBB29_3: ; in Loop: Header=BB29_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB29_1
LBB29_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _intelligently_randomize_weight_vectors ; -- Begin function intelligently_randomize_weight_vectors
.p2align 2
_intelligently_randomize_weight_vectors: ; @intelligently_randomize_weight_vectors
.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, #224
sub x8, x29, #16
stur x8, [x29, #-168] ; 8-byte Folded Spill
stur x0, [x29, #-160] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-8]
str x1, [x8]
stur w2, [x29, #-20]
ldr x0, [x8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB30_2
b LBB30_1
LBB30_1:
ldur x8, [x29, #-168] ; 8-byte Folded Reload
ldr x8, [x8]
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
b LBB30_26
LBB30_2:
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldr w9, [x8, #8]
; kill: def $x9 killed $w9
stur x9, [x29, #-200] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-40]
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-208] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-208] ; 8-byte Folded Reload
ldur x9, [x29, #-200] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-192] ; 8-byte Folded Spill
stur x9, [x29, #-48]
ldr w8, [x8, #8]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-184] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-184] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-176] ; 8-byte Folded Spill
stur x8, [x29, #-56]
stur wzr, [x29, #-60]
b LBB30_3
LBB30_3: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur w8, [x29, #-60]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_6
b LBB30_4
LBB30_4: ; in Loop: Header=BB30_3 Depth=1
ldur x8, [x29, #-176] ; 8-byte Folded Reload
ldur x9, [x29, #-192] ; 8-byte Folded Reload
ldursw x10, [x29, #-60]
mov w11, #2139095039
fmov s0, w11
str s0, [x9, x10, lsl #2]
ldursw x9, [x29, #-60]
mov w10, #8388608
fmov s0, w10
str s0, [x8, x9, lsl #2]
b LBB30_5
LBB30_5: ; in Loop: Header=BB30_3 Depth=1
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB30_3
LBB30_6:
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldr w8, [x8, #8]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-224] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-224] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-216] ; 8-byte Folded Spill
stur x8, [x29, #-72]
mov x0, #20480
bl _malloc
stur x0, [x29, #-80]
b LBB30_7
LBB30_7: ; =>This Loop Header: Depth=1
; Child Loop BB30_9 Depth 2
ldur x0, [x29, #-32]
ldur x1, [x29, #-80]
bl _read_input_file_line
stur w0, [x29, #-84]
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB30_17
b LBB30_8
LBB30_8: ; in Loop: Header=BB30_7 Depth=1
ldur x2, [x29, #-216] ; 8-byte Folded Reload
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldur x0, [x29, #-80]
ldur w1, [x29, #-20]
ldr w3, [x8, #8]
bl _parse_input_line
stur wzr, [x29, #-88]
b LBB30_9
LBB30_9: ; Parent Loop BB30_7 Depth=1
; => This Inner Loop Header: Depth=2
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur w8, [x29, #-88]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_16
b LBB30_10
LBB30_10: ; in Loop: Header=BB30_9 Depth=2
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur x9, [x29, #-216] ; 8-byte Folded Reload
ldursw x10, [x29, #-88]
ldr s0, [x9, x10, lsl #2]
stur s0, [x29, #-92]
ldur s0, [x29, #-92]
ldursw x9, [x29, #-88]
ldr s1, [x8, x9, lsl #2]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB30_12
b LBB30_11
LBB30_11: ; in Loop: Header=BB30_9 Depth=2
ldur x8, [x29, #-192] ; 8-byte Folded Reload
ldur s0, [x29, #-92]
ldursw x9, [x29, #-88]
str s0, [x8, x9, lsl #2]
b LBB30_12
LBB30_12: ; in Loop: Header=BB30_9 Depth=2
ldur x8, [x29, #-176] ; 8-byte Folded Reload
ldur s0, [x29, #-92]
ldursw x9, [x29, #-88]
ldr s1, [x8, x9, lsl #2]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB30_14
b LBB30_13
LBB30_13: ; in Loop: Header=BB30_9 Depth=2
ldur x8, [x29, #-176] ; 8-byte Folded Reload
ldur s0, [x29, #-92]
ldursw x9, [x29, #-88]
str s0, [x8, x9, lsl #2]
b LBB30_14
LBB30_14: ; in Loop: Header=BB30_9 Depth=2
b LBB30_15
LBB30_15: ; in Loop: Header=BB30_9 Depth=2
ldur w8, [x29, #-88]
add w8, w8, #1
stur w8, [x29, #-88]
b LBB30_9
LBB30_16: ; in Loop: Header=BB30_7 Depth=1
b LBB30_7
LBB30_17:
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldr w8, [x9]
ldr w9, [x9, #4]
mul w8, w8, w9
stur w8, [x29, #-96]
stur wzr, [x29, #-100]
b LBB30_18
LBB30_18: ; =>This Loop Header: Depth=1
; Child Loop BB30_20 Depth 2
ldur w8, [x29, #-100]
ldur w9, [x29, #-96]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_25
b LBB30_19
LBB30_19: ; in Loop: Header=BB30_18 Depth=1
ldur x8, [x29, #-160] ; 8-byte Folded Reload
ldur w1, [x29, #-100]
ldr q0, [x8]
sub x0, x29, #144
stur q0, [x29, #-144]
ldr x8, [x8, #16]
stur x8, [x29, #-128]
bl _get_neuron_weight_vector
stur x0, [x29, #-112]
stur wzr, [x29, #-148]
b LBB30_20
LBB30_20: ; Parent Loop BB30_18 Depth=1
; => This Inner Loop Header: Depth=2
ldur x9, [x29, #-160] ; 8-byte Folded Reload
ldur w8, [x29, #-148]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB30_23
b LBB30_21
LBB30_21: ; in Loop: Header=BB30_20 Depth=2
ldur x8, [x29, #-176] ; 8-byte Folded Reload
ldur x9, [x29, #-192] ; 8-byte Folded Reload
ldursw x10, [x29, #-148]
ldr s0, [x9, x10, lsl #2]
ldursw x9, [x29, #-148]
ldr s1, [x8, x9, lsl #2]
bl _rand_float_range
ldur x8, [x29, #-112]
ldursw x9, [x29, #-148]
str s0, [x8, x9, lsl #2]
b LBB30_22
LBB30_22: ; in Loop: Header=BB30_20 Depth=2
ldur w8, [x29, #-148]
add w8, w8, #1
stur w8, [x29, #-148]
b LBB30_20
LBB30_23: ; in Loop: Header=BB30_18 Depth=1
b LBB30_24
LBB30_24: ; in Loop: Header=BB30_18 Depth=1
ldur w8, [x29, #-100]
add w8, w8, #1
stur w8, [x29, #-100]
b LBB30_18
LBB30_25:
ldur x0, [x29, #-80]
bl _free
ldur x0, [x29, #-32]
bl _fclose
ldur x8, [x29, #-40]
mov sp, x8
b LBB30_26
LBB30_26:
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, LBB30_28
b LBB30_27
LBB30_27:
bl ___stack_chk_fail
LBB30_28:
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_neuron_weights ; -- Begin function print_neuron_weights
.p2align 2
_print_neuron_weights: ; @print_neuron_weights
.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 x8, x0
str x8, [sp, #16] ; 8-byte Folded Spill
stur w1, [x29, #-4]
ldur w1, [x29, #-4]
ldr q0, [x8]
add x0, sp, #32
str q0, [sp, #32]
ldr x8, [x8, #16]
str x8, [sp, #48]
bl _get_neuron_weight_vector
stur x0, [x29, #-16]
str wzr, [sp, #28]
b LBB31_1
LBB31_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #28]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB31_4
b LBB31_2
LBB31_2: ; in Loop: Header=BB31_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #28]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB31_3
LBB31_3: ; in Loop: Header=BB31_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB31_1
LBB31_4:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _print_vector ; -- Begin function print_vector
.p2align 2
_print_vector: ; @print_vector
.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.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB32_1
LBB32_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, LBB32_6
b LBB32_2
LBB32_2: ; in Loop: Header=BB32_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr s0, [x8, x9, lsl #2]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB32_4
b LBB32_3
LBB32_3: ; in Loop: Header=BB32_1 Depth=1
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
b LBB32_4
LBB32_4: ; in Loop: Header=BB32_1 Depth=1
b LBB32_5
LBB32_5: ; in Loop: Header=BB32_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB32_1
LBB32_6:
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@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 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, #912
mov x19, sp
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [x19, #516]
str w0, [x19, #512]
str x1, [x19, #504]
mov w8, #10
str w8, [x19, #500]
str w8, [x19, #496]
mov w8, #3
str w8, [x19, #492]
mov w8, #-1
str w8, [x19, #488]
sub x0, x29, #152
adrp x1, l___const.main.opt_train_file@PAGE
add x1, x1, l___const.main.opt_train_file@PAGEOFF
mov x2, #128
str x2, [x19, #72] ; 8-byte Folded Spill
bl _memcpy
ldr x2, [x19, #72] ; 8-byte Folded Reload
add x0, x19, #648
adrp x1, l___const.main.opt_save_file@PAGE
add x1, x1, l___const.main.opt_save_file@PAGEOFF
bl _memcpy
ldr x2, [x19, #72] ; 8-byte Folded Reload
add x0, x19, #520
adrp x1, l___const.main.opt_weight_init_method@PAGE
add x1, x1, l___const.main.opt_weight_init_method@PAGEOFF
bl _memcpy
movi d0, #0000000000000000
str s0, [x19, #484]
fmov s0, #-1.00000000
str s0, [x19, #480]
fmov s0, #1.00000000
str s0, [x19, #476]
strb wzr, [x19, #475]
add x8, x19, #452
bl _create_SOMTrainingParams
add x8, x19, #432
bl _create_SOMTrainingParams
str wzr, [x19, #428]
b LBB33_1
LBB33_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #428]
ldr w9, [x19, #512]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB33_74
b LBB33_2
LBB33_2: ; in Loop: Header=BB33_1 Depth=1
ldr x8, [x19, #504]
ldrsw x9, [x19, #428]
ldr x8, [x8, x9, lsl #3]
str x8, [x19, #416]
ldr x8, [x19, #416]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB33_8
b LBB33_3
LBB33_3: ; in Loop: Header=BB33_1 Depth=1
ldr x8, [x19, #416]
ldrsb w8, [x8, #1]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB33_8
b LBB33_4
LBB33_4: ; in Loop: Header=BB33_1 Depth=1
ldr w8, [x19, #512]
ldr w9, [x19, #428]
subs w8, w8, w9
cset w9, le
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB33_6
b LBB33_5
LBB33_5:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
mov w2, #549
adrp x3, l_.str.25@PAGE
add x3, x3, l_.str.25@PAGEOFF
bl ___assert_rtn
LBB33_6: ; in Loop: Header=BB33_1 Depth=1
b LBB33_7
LBB33_7: ; in Loop: Header=BB33_1 Depth=1
b LBB33_8
LBB33_8: ; in Loop: Header=BB33_1 Depth=1
ldr w8, [x19, #428]
add w8, w8, #1
ldr w9, [x19, #512]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB33_10
b LBB33_9
LBB33_9: ; in Loop: Header=BB33_1 Depth=1
ldr x8, [x19, #504]
ldr w9, [x19, #428]
add w9, w9, #1
ldr x8, [x8, w9, sxtw #3]
str x8, [x19, #408]
b LBB33_10
LBB33_10: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_12
b LBB33_11
LBB33_11: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atoi
str w0, [x19, #500]
b LBB33_72
LBB33_12: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_14
b LBB33_13
LBB33_13: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atoi
str w0, [x19, #496]
b LBB33_71
LBB33_14: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_16
b LBB33_15
LBB33_15: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atoi
str w0, [x19, #492]
b LBB33_70
LBB33_16: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_18
b LBB33_17
LBB33_17: ; in Loop: Header=BB33_1 Depth=1
ldr x1, [x19, #408]
sub x0, x29, #152
mov x2, #128
bl ___strcpy_chk
b LBB33_69
LBB33_18: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_20
b LBB33_19
LBB33_19: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atoi
str w0, [x19, #488]
b LBB33_68
LBB33_20: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_22
b LBB33_21
LBB33_21: ; in Loop: Header=BB33_1 Depth=1
ldr x1, [x19, #408]
add x0, x19, #648
mov x2, #128
bl ___strcpy_chk
b LBB33_67
LBB33_22: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_24
b LBB33_23
LBB33_23: ; in Loop: Header=BB33_1 Depth=1
ldr x1, [x19, #408]
add x0, x19, #520
mov x2, #128
bl ___strcpy_chk
b LBB33_66
LBB33_24: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_26
b LBB33_25
LBB33_25: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #484]
b LBB33_65
LBB33_26: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.34@PAGE
add x1, x1, l_.str.34@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_28
b LBB33_27
LBB33_27: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #480]
b LBB33_64
LBB33_28: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.35@PAGE
add x1, x1, l_.str.35@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_30
b LBB33_29
LBB33_29: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #476]
b LBB33_63
LBB33_30: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.36@PAGE
add x1, x1, l_.str.36@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_32
b LBB33_31
LBB33_31: ; in Loop: Header=BB33_1 Depth=1
mov w8, #1
strb w8, [x19, #475]
b LBB33_62
LBB33_32: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.37@PAGE
add x1, x1, l_.str.37@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_34
b LBB33_33
LBB33_33: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atoi
str w0, [x19, #452]
b LBB33_61
LBB33_34: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.38@PAGE
add x1, x1, l_.str.38@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_36
b LBB33_35
LBB33_35: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atoi
str w0, [x19, #432]
b LBB33_60
LBB33_36: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.39@PAGE
add x1, x1, l_.str.39@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_38
b LBB33_37
LBB33_37: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #456]
b LBB33_59
LBB33_38: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.40@PAGE
add x1, x1, l_.str.40@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_40
b LBB33_39
LBB33_39: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #436]
b LBB33_58
LBB33_40: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.41@PAGE
add x1, x1, l_.str.41@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_42
b LBB33_41
LBB33_41: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #460]
b LBB33_57
LBB33_42: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.42@PAGE
add x1, x1, l_.str.42@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_44
b LBB33_43
LBB33_43: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #440]
b LBB33_56
LBB33_44: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_46
b LBB33_45
LBB33_45: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #464]
b LBB33_55
LBB33_46: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.44@PAGE
add x1, x1, l_.str.44@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_48
b LBB33_47
LBB33_47: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #444]
b LBB33_54
LBB33_48: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.45@PAGE
add x1, x1, l_.str.45@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_50
b LBB33_49
LBB33_49: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #468]
b LBB33_53
LBB33_50: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #416]
adrp x1, l_.str.46@PAGE
add x1, x1, l_.str.46@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_52
b LBB33_51
LBB33_51: ; in Loop: Header=BB33_1 Depth=1
ldr x0, [x19, #408]
bl _atof
fcvt s0, d0
str s0, [x19, #448]
b LBB33_52
LBB33_52: ; in Loop: Header=BB33_1 Depth=1
b LBB33_53
LBB33_53: ; in Loop: Header=BB33_1 Depth=1
b LBB33_54
LBB33_54: ; in Loop: Header=BB33_1 Depth=1
b LBB33_55
LBB33_55: ; in Loop: Header=BB33_1 Depth=1
b LBB33_56
LBB33_56: ; in Loop: Header=BB33_1 Depth=1
b LBB33_57
LBB33_57: ; in Loop: Header=BB33_1 Depth=1
b LBB33_58
LBB33_58: ; in Loop: Header=BB33_1 Depth=1
b LBB33_59
LBB33_59: ; in Loop: Header=BB33_1 Depth=1
b LBB33_60
LBB33_60: ; in Loop: Header=BB33_1 Depth=1
b LBB33_61
LBB33_61: ; in Loop: Header=BB33_1 Depth=1
b LBB33_62
LBB33_62: ; in Loop: Header=BB33_1 Depth=1
b LBB33_63
LBB33_63: ; in Loop: Header=BB33_1 Depth=1
b LBB33_64
LBB33_64: ; in Loop: Header=BB33_1 Depth=1
b LBB33_65
LBB33_65: ; in Loop: Header=BB33_1 Depth=1
b LBB33_66
LBB33_66: ; in Loop: Header=BB33_1 Depth=1
b LBB33_67
LBB33_67: ; in Loop: Header=BB33_1 Depth=1
b LBB33_68
LBB33_68: ; in Loop: Header=BB33_1 Depth=1
b LBB33_69
LBB33_69: ; in Loop: Header=BB33_1 Depth=1
b LBB33_70
LBB33_70: ; in Loop: Header=BB33_1 Depth=1
b LBB33_71
LBB33_71: ; in Loop: Header=BB33_1 Depth=1
b LBB33_72
LBB33_72: ; in Loop: Header=BB33_1 Depth=1
b LBB33_73
LBB33_73: ; in Loop: Header=BB33_1 Depth=1
ldr w8, [x19, #428]
add w8, w8, #1
str w8, [x19, #428]
b LBB33_1
LBB33_74:
ldr w9, [x19, #500]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.47@PAGE
add x0, x0, l_.str.47@PAGEOFF
bl _printf
add sp, sp, #16
ldr w9, [x19, #492]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.48@PAGE
add x0, x0, l_.str.48@PAGEOFF
bl _printf
add sp, sp, #16
ldr w9, [x19, #496]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.49@PAGE
add x0, x0, l_.str.49@PAGEOFF
bl _printf
add sp, sp, #16
sub sp, sp, #16
mov x9, sp
sub x8, x29, #152
str x8, [x9]
adrp x0, l_.str.50@PAGE
add x0, x0, l_.str.50@PAGEOFF
bl _printf
add sp, sp, #16
ldr w9, [x19, #488]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.51@PAGE
add x0, x0, l_.str.51@PAGEOFF
bl _printf
add sp, sp, #16
sub sp, sp, #16
mov x9, sp
add x8, x19, #648
str x8, [x9]
adrp x0, l_.str.52@PAGE
add x0, x0, l_.str.52@PAGEOFF
bl _printf
add sp, sp, #16
sub sp, sp, #16
mov x9, sp
add x8, x19, #520
str x8, [x19, #64] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.53@PAGE
add x0, x0, l_.str.53@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #484]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.54@PAGE
add x0, x0, l_.str.54@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #480]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.55@PAGE
add x0, x0, l_.str.55@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #476]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.56@PAGE
add x0, x0, l_.str.56@PAGEOFF
bl _printf
add sp, sp, #16
ldr w9, [x19, #452]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.57@PAGE
add x0, x0, l_.str.57@PAGEOFF
bl _printf
add sp, sp, #16
ldr w9, [x19, #432]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.58@PAGE
add x0, x0, l_.str.58@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #456]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.59@PAGE
add x0, x0, l_.str.59@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #436]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.60@PAGE
add x0, x0, l_.str.60@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #460]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.61@PAGE
add x0, x0, l_.str.61@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #440]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.62@PAGE
add x0, x0, l_.str.62@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #464]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.63@PAGE
add x0, x0, l_.str.63@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #444]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.64@PAGE
add x0, x0, l_.str.64@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #468]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.65@PAGE
add x0, x0, l_.str.65@PAGEOFF
bl _printf
add sp, sp, #16
ldr s0, [x19, #448]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.66@PAGE
add x0, x0, l_.str.66@PAGEOFF
bl _printf
add sp, sp, #16
ldrb w8, [x19, #475]
sub sp, sp, #16
mov x9, sp
; kill: def $x8 killed $w8
and x8, x8, #0x1
str x8, [x9]
adrp x0, l_.str.67@PAGE
add x0, x0, l_.str.67@PAGEOFF
bl _printf
add sp, sp, #16
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w0, [x19, #500]
ldr w1, [x19, #496]
ldr w2, [x19, #492]
add x8, x19, #384
bl _create_SOM
ldr x0, [x19, #64] ; 8-byte Folded Reload
adrp x1, l_.str.68@PAGE
add x1, x1, l_.str.68@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_76
b LBB33_75
LBB33_75:
ldr w2, [x19, #488]
ldr q0, [x19, #384]
add x0, x19, #352
str q0, [x19, #352]
ldr x8, [x19, #400]
str x8, [x19, #368]
sub x1, x29, #152
bl _intelligently_randomize_weight_vectors
b LBB33_82
LBB33_76:
add x0, x19, #520
adrp x1, l_.str.69@PAGE
add x1, x1, l_.str.69@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_78
b LBB33_77
LBB33_77:
ldr s0, [x19, #480]
ldr s1, [x19, #476]
ldr q2, [x19, #384]
add x0, x19, #320
str q2, [x19, #320]
ldr x8, [x19, #400]
str x8, [x19, #336]
bl _randomize_weight_vectors
b LBB33_81
LBB33_78:
add x0, x19, #520
adrp x1, l_.str.70@PAGE
add x1, x1, l_.str.70@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB33_80
b LBB33_79
LBB33_79:
ldr s0, [x19, #484]
ldr q1, [x19, #384]
add x0, x19, #288
str q1, [x19, #288]
ldr x8, [x19, #400]
str x8, [x19, #304]
bl _equalize_weight_vectors
b LBB33_80
LBB33_80:
b LBB33_81
LBB33_81:
b LBB33_82
LBB33_82:
ldr w8, [x19, #492]
; kill: def $x8 killed $w8
mov x9, sp
str x9, [x19, #280]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
str x9, [x19, #32] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldr x10, [x19, #32] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
str x0, [x19, #40] ; 8-byte Folded Spill
mov sp, x0
str x8, [x19, #272]
ldr w8, [x19, #492]
; kill: def $x8 killed $w8
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
str x9, [x19, #48] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldr x10, [x19, #48] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
str x0, [x19, #56] ; 8-byte Folded Spill
mov sp, x0
str x8, [x19, #264]
ldrb w8, [x19, #475]
tbz w8, #0, LBB33_84
b LBB33_83
LBB33_83:
ldr x4, [x19, #56] ; 8-byte Folded Reload
ldr x3, [x19, #40] ; 8-byte Folded Reload
ldr w1, [x19, #488]
ldr w2, [x19, #492]
sub x0, x29, #152
bl _find_normalize_minima_maxima
adrp x0, l_.str.71@PAGE
add x0, x0, l_.str.71@PAGEOFF
bl _printf
ldr x0, [x19, #40] ; 8-byte Folded Reload
ldr w1, [x19, #492]
bl _print_vector
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
str x0, [x19, #24] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.72@PAGE
add x0, x0, l_.str.72@PAGEOFF
bl _printf
ldr x0, [x19, #56] ; 8-byte Folded Reload
ldr w1, [x19, #492]
bl _print_vector
ldr x0, [x19, #24] ; 8-byte Folded Reload
bl _printf
b LBB33_84
LBB33_84:
ldr x7, [x19, #56] ; 8-byte Folded Reload
ldr x6, [x19, #40] ; 8-byte Folded Reload
ldr w4, [x19, #488]
ldrb w8, [x19, #475]
ldr q0, [x19, #384]
add x0, x19, #240
str q0, [x19, #240]
ldr x9, [x19, #400]
str x9, [x19, #256]
add x9, x19, #197
ldur q0, [x9, #255]
add x1, x19, #208
str q0, [x19, #208]
ldr w9, [x19, #468]
str w9, [x19, #224]
mov w2, #1
sub x3, x29, #152
str x3, [x19, #16] ; 8-byte Folded Spill
and w5, w8, #0x1
bl _train_SOM
ldr x3, [x19, #16] ; 8-byte Folded Reload
ldr x6, [x19, #40] ; 8-byte Folded Reload
ldr x7, [x19, #56] ; 8-byte Folded Reload
ldr w4, [x19, #488]
ldrb w8, [x19, #475]
ldr q0, [x19, #384]
add x0, x19, #176
str q0, [x19, #176]
ldr x9, [x19, #400]
str x9, [x19, #192]
ldr q0, [x19, #432]
add x1, x19, #144
str q0, [x19, #144]
ldr w9, [x19, #448]
str w9, [x19, #160]
mov w2, #2
and w5, w8, #0x1
bl _train_SOM
ldrb w8, [x19, #475]
tbz w8, #0, LBB33_86
b LBB33_85
LBB33_85:
ldr x2, [x19, #56] ; 8-byte Folded Reload
ldr x1, [x19, #40] ; 8-byte Folded Reload
ldr q0, [x19, #384]
add x0, x19, #112
str q0, [x19, #112]
ldr x8, [x19, #400]
str x8, [x19, #128]
bl _denormalize_som
b LBB33_86
LBB33_86:
ldr q0, [x19, #384]
add x0, x19, #80
str q0, [x19, #80]
ldr x8, [x19, #400]
str x8, [x19, #96]
add x1, x19, #648
bl _save_SOM
str wzr, [x19, #516]
ldr x8, [x19, #280]
mov sp, x8
ldr w8, [x19, #516]
str w8, [x19, #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, LBB33_88
b LBB33_87
LBB33_87:
bl ___stack_chk_fail
LBB33_88:
ldr w0, [x19, #12] ; 4-byte Folded Reload
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "w"
l_.str.1: ; @.str.1
.asciz "Error opening file: %s\n"
l_.str.2: ; @.str.2
.asciz "%d,%d,%d\n"
l_.str.3: ; @.str.3
.asciz "%f"
l_.str.4: ; @.str.4
.asciz "\n"
l_.str.5: ; @.str.5
.asciz ","
l_.str.6: ; @.str.6
.asciz "Saved SOM to \"%s\"\n"
l_.str.7: ; @.str.7
.asciz "r"
l_.str.8: ; @.str.8
.asciz "%d,%d,%d"
l_.str.9: ; @.str.9
.asciz "ERROR: number of weight elements exceeds expected amount\n"
l_.str.10: ; @.str.10
.asciz "ERROR: wrong number of weight elements\n"
l_.str.11: ; @.str.11
.asciz "find_normalize_minima_maxima %s, %d, %d"
l_.str.12: ; @.str.12
.asciz "WARNING empty line\n"
l_.str.13: ; @.str.13
.asciz "===== TRAINING Phase %d =====\n"
l_.str.14: ; @.str.14
.asciz "ERROR: Could not read input file\n"
l_.str.15: ; @.str.15
.asciz "Skipping empty line in input file...\n"
l___func__.train_SOM: ; @__func__.train_SOM
.asciz "train_SOM"
l_.str.16: ; @.str.16
.asciz "120555.c"
l_.str.17: ; @.str.17
.asciz "status == STATUS_OK"
l_.str.18: ; @.str.18
.asciz "Progress: %0.1f%%, Iteration %d, learn_rate %f, n_radius %f\r"
l_.str.19: ; @.str.19
.asciz "\n\n"
l_.str.20: ; @.str.20
.asciz "%f, "
l_.str.21: ; @.str.21
.asciz "("
l_.str.22: ; @.str.22
.asciz "%.2f"
l_.str.23: ; @.str.23
.asciz ", "
l_.str.24: ; @.str.24
.asciz ")"
.section __TEXT,__const
l___const.main.opt_train_file: ; @__const.main.opt_train_file
.asciz "data/default_train_file.txt\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
l___const.main.opt_save_file: ; @__const.main.opt_save_file
.asciz "trained/default_save_file.som\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
l___const.main.opt_weight_init_method: ; @__const.main.opt_weight_init_method
.asciz "intelligent\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.25: ; @.str.25
.asciz "argc > i"
l_.str.26: ; @.str.26
.asciz "--rows"
l_.str.27: ; @.str.27
.asciz "--cols"
l_.str.28: ; @.str.28
.asciz "--input-dims"
l_.str.29: ; @.str.29
.asciz "--train"
l_.str.30: ; @.str.30
.asciz "--train-file-class-index"
l_.str.31: ; @.str.31
.asciz "--save"
l_.str.32: ; @.str.32
.asciz "--weight-init-method"
l_.str.33: ; @.str.33
.asciz "--weight-equalize-val"
l_.str.34: ; @.str.34
.asciz "--weight-randomize-min"
l_.str.35: ; @.str.35
.asciz "--weight-randomize-max"
l_.str.36: ; @.str.36
.asciz "--normalize-inputs"
l_.str.37: ; @.str.37
.asciz "--p1-iterations"
l_.str.38: ; @.str.38
.asciz "--p2-iterations"
l_.str.39: ; @.str.39
.asciz "--p1-learn-rate-initial"
l_.str.40: ; @.str.40
.asciz "--p2-learn-rate-initial"
l_.str.41: ; @.str.41
.asciz "--p1-learn-rate-final"
l_.str.42: ; @.str.42
.asciz "--p2-learn-rate-final"
l_.str.43: ; @.str.43
.asciz "--p1-n-radius-initial"
l_.str.44: ; @.str.44
.asciz "--p2-n-radius-initial"
l_.str.45: ; @.str.45
.asciz "--p1-n-radius-final"
l_.str.46: ; @.str.46
.asciz "--p2-n-radius-final"
l_.str.47: ; @.str.47
.asciz "Set rows: %d\n"
l_.str.48: ; @.str.48
.asciz "Set input_dims: %d\n"
l_.str.49: ; @.str.49
.asciz "Set cols: %d\n"
l_.str.50: ; @.str.50
.asciz "Set train file: \"%s\"\n"
l_.str.51: ; @.str.51
.asciz "Set train file class index to: %d\n"
l_.str.52: ; @.str.52
.asciz "Set save file: \"%s\"\n"
l_.str.53: ; @.str.53
.asciz "Set weight init method: %s\n"
l_.str.54: ; @.str.54
.asciz "Set weight equalize val: %f\n"
l_.str.55: ; @.str.55
.asciz "Set weight randomize min: %f\n"
l_.str.56: ; @.str.56
.asciz "Set weight randomize max: %f\n"
l_.str.57: ; @.str.57
.asciz "Set p1 iterations: %d\n"
l_.str.58: ; @.str.58
.asciz "Set p2 iterations: %d\n"
l_.str.59: ; @.str.59
.asciz "Set p1 learn_rate_initial: %f\n"
l_.str.60: ; @.str.60
.asciz "Set p2 learn_rate_initial: %f\n"
l_.str.61: ; @.str.61
.asciz "Set p1 learn_rate_final: %f\n"
l_.str.62: ; @.str.62
.asciz "Set p2 learn_rate_final: %f\n"
l_.str.63: ; @.str.63
.asciz "Set p1 n_radius_initial: %f\n"
l_.str.64: ; @.str.64
.asciz "Set p2 n_radius_initial: %f\n"
l_.str.65: ; @.str.65
.asciz "Set p1 n_radius_final: %f\n"
l_.str.66: ; @.str.66
.asciz "Set p2 n_radius_final: %f\n"
l_.str.67: ; @.str.67
.asciz "Set normalize inputs: %d\n"
l_.str.68: ; @.str.68
.asciz "intelligent"
l_.str.69: ; @.str.69
.asciz "randomize"
l_.str.70: ; @.str.70
.asciz "equalize"
l_.str.71: ; @.str.71
.asciz "Normalize minima: "
l_.str.72: ; @.str.72
.asciz "Normalize maxima: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _create_SOM ## -- Begin function create_SOM
.p2align 4, 0x90
_create_SOM: ## @create_SOM
.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, -32(%rbp) ## 8-byte Spill
movq %rdi, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movl %esi, -4(%rbp)
movl %edx, -8(%rbp)
movl %ecx, -12(%rbp)
movl -4(%rbp), %eax
movl %eax, (%rdi)
movl -8(%rbp), %eax
movl %eax, 4(%rdi)
movl -12(%rbp), %eax
movl %eax, 8(%rdi)
movslq -12(%rbp), %rdi
shlq $2, %rdi
movslq -4(%rbp), %rax
imulq %rax, %rdi
movslq -8(%rbp), %rax
imulq %rax, %rdi
callq _malloc
movq -32(%rbp), %rdi ## 8-byte Reload
movq %rax, %rcx
movq -24(%rbp), %rax ## 8-byte Reload
movq %rcx, 16(%rdi)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function create_SOMTrainingParams
LCPI1_0:
.long 0x40000000 ## float 2
LCPI1_1:
.long 0x40a00000 ## float 5
LCPI1_2:
.long 0x3c23d70a ## float 0.00999999977
LCPI1_3:
.long 0x3dcccccd ## float 0.100000001
.section __TEXT,__text,regular,pure_instructions
.globl _create_SOMTrainingParams
.p2align 4, 0x90
_create_SOMTrainingParams: ## @create_SOMTrainingParams
.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
movl $1000, (%rdi) ## imm = 0x3E8
movss LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 4(%rdi)
movss LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 8(%rdi)
movss LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 12(%rdi)
movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _free_SOM ## -- Begin function free_SOM
.p2align 4, 0x90
_free_SOM: ## @free_SOM
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq 16(%rbp), %rax
movq 16(%rax), %rdi
callq _free
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_num_weight_elements ## -- Begin function get_num_weight_elements
.p2align 4, 0x90
_get_num_weight_elements: ## @get_num_weight_elements
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq 16(%rbp), %rcx
movl (%rcx), %eax
imull 4(%rcx), %eax
imull 8(%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_neuron_weight_vector ## -- Begin function get_neuron_weight_vector
.p2align 4, 0x90
_get_neuron_weight_vector: ## @get_neuron_weight_vector
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq 16(%rbp), %rdx
movl %edi, -4(%rbp)
movq 16(%rdx), %rax
movl -4(%rbp), %ecx
imull 8(%rdx), %ecx
movslq %ecx, %rcx
shlq $2, %rcx
addq %rcx, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _save_SOM ## -- Begin function save_SOM
.p2align 4, 0x90
_save_SOM: ## @save_SOM
.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
leaq 16(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB5_2
## %bb.1:
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB5_10
LBB5_2:
movq -40(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rdi
movl (%rax), %edx
movl 4(%rax), %ecx
movl 8(%rax), %r8d
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -28(%rbp)
LBB5_3: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax ## 8-byte Reload
movl -28(%rbp), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_num_weight_elements
movl %eax, %ecx
movl -44(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB5_9
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movq -40(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rdi
movq 16(%rax), %rax
movslq -28(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%rip), %rsi
movb $1, %al
callq _fprintf
movq -40(%rbp), %rcx ## 8-byte Reload
movl -28(%rbp), %eax
addl $1, %eax
cltd
idivl 8(%rcx)
cmpl $0, %edx
jne LBB5_6
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB5_7
LBB5_6: ## in Loop: Header=BB5_3 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
LBB5_7: ## in Loop: Header=BB5_3 Depth=1
jmp LBB5_8
LBB5_8: ## in Loop: Header=BB5_3 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB5_3
LBB5_9:
movq -16(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _fclose
movl $0, -4(%rbp)
LBB5_10:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _load_SOM ## -- Begin function load_SOM
.p2align 4, 0x90
_load_SOM: ## @load_SOM
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $192, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -128(%rbp)
movq %rsi, -136(%rbp)
movq -136(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -144(%rbp)
cmpq $0, -144(%rbp)
jne LBB6_2
## %bb.1:
movq -136(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -116(%rbp)
jmp LBB6_17
LBB6_2:
movl $0, -152(%rbp)
LBB6_3: ## =>This Inner Loop Header: Depth=1
movq -144(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -145(%rbp)
movsbl %al, %eax
cmpl $10, %eax
je LBB6_5
## %bb.4: ## in Loop: Header=BB6_3 Depth=1
movb -145(%rbp), %cl
movl -152(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -152(%rbp)
cltq
movb %cl, -112(%rbp,%rax)
jmp LBB6_3
LBB6_5:
movslq -152(%rbp), %rax
movb $0, -112(%rbp,%rax)
leaq -112(%rbp), %rdi
movq -128(%rbp), %rdx
movq -128(%rbp), %rcx
addq $4, %rcx
movq -128(%rbp), %r8
addq $8, %r8
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _sscanf
movl $0, -152(%rbp)
movl $0, -156(%rbp)
LBB6_6: ## =>This Inner Loop Header: Depth=1
movq -144(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movb %al, -145(%rbp)
movsbl %al, %eax
cmpl $-1, %eax
je LBB6_14
## %bb.7: ## in Loop: Header=BB6_6 Depth=1
movl -156(%rbp), %eax
movl %eax, -160(%rbp) ## 4-byte Spill
movq -128(%rbp), %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_num_weight_elements
movl %eax, %ecx
movl -160(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jl LBB6_9
## %bb.8:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -116(%rbp)
jmp LBB6_17
LBB6_9: ## in Loop: Header=BB6_6 Depth=1
movsbl -145(%rbp), %eax
cmpl $44, %eax
je LBB6_11
## %bb.10: ## in Loop: Header=BB6_6 Depth=1
movsbl -145(%rbp), %eax
cmpl $10, %eax
jne LBB6_12
LBB6_11: ## in Loop: Header=BB6_6 Depth=1
movslq -152(%rbp), %rax
movb $0, -112(%rbp,%rax)
movl $0, -152(%rbp)
leaq -112(%rbp), %rdi
movq -128(%rbp), %rax
movq 16(%rax), %rdx
movl -156(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -156(%rbp)
cltq
shlq $2, %rax
addq %rax, %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _sscanf
jmp LBB6_13
LBB6_12: ## in Loop: Header=BB6_6 Depth=1
movb -145(%rbp), %cl
movl -152(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -152(%rbp)
cltq
movb %cl, -112(%rbp,%rax)
LBB6_13: ## in Loop: Header=BB6_6 Depth=1
jmp LBB6_6
LBB6_14:
movl -156(%rbp), %eax
movl %eax, -164(%rbp) ## 4-byte Spill
movq -128(%rbp), %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_num_weight_elements
movl %eax, %ecx
movl -164(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
je LBB6_16
## %bb.15:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -116(%rbp)
jmp LBB6_17
LBB6_16:
movq -144(%rbp), %rdi
callq _fclose
movl $0, -116(%rbp)
LBB6_17:
movl -116(%rbp), %eax
movl %eax, -168(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_19
## %bb.18:
movl -168(%rbp), %eax ## 4-byte Reload
addq $192, %rsp
popq %rbp
retq
LBB6_19:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _is_line_empty ## -- Begin function is_line_empty
.p2align 4, 0x90
_is_line_empty: ## @is_line_empty
.cfi_startproc
## %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)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB7_5
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %edi
callq _isspace
cmpl $0, %eax
jne LBB7_4
## %bb.3:
movb $0, -1(%rbp)
jmp LBB7_6
LBB7_4: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB7_1
LBB7_5:
movb $1, -1(%rbp)
LBB7_6:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read_input_file_line ## -- Begin function read_input_file_line
.p2align 4, 0x90
_read_input_file_line: ## @read_input_file_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 $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq $20480, -32(%rbp) ## imm = 0x5000
movq -16(%rbp), %rdx
leaq -24(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _getline
movq %rax, -40(%rbp)
cmpq $-1, -40(%rbp)
jne LBB8_2
## %bb.1:
movl $3, -4(%rbp)
jmp LBB8_5
LBB8_2:
movq -24(%rbp), %rdi
callq _is_line_empty
testb $1, %al
jne LBB8_3
jmp LBB8_4
LBB8_3:
movl $2, -4(%rbp)
jmp LBB8_5
LBB8_4:
movl $0, -4(%rbp)
LBB8_5:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse_input_line ## -- Begin function parse_input_line
.p2align 4, 0x90
_parse_input_line: ## @parse_input_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 $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq -8(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strtok
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -40(%rbp)
je LBB9_5
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
je LBB9_4
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movq -40(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movq -24(%rbp), %rax
movl -48(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -48(%rbp)
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
LBB9_4: ## in Loop: Header=BB9_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.5(%rip), %rsi
callq _strtok
movq %rax, -40(%rbp)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB9_1
LBB9_5:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function euclidean_distance
LCPI10_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _euclidean_distance
.p2align 4, 0x90
_euclidean_distance: ## @euclidean_distance
.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)
xorps %xmm0, %xmm0
movss %xmm0, -24(%rbp)
movl $0, -28(%rbp)
LBB10_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB10_4
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
movss LCPI10_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _powf
addss -24(%rbp), %xmm0
movss %xmm0, -24(%rbp)
## %bb.3: ## in Loop: Header=BB10_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB10_1
LBB10_4:
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
sqrtss %xmm0, %xmm0
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calc_vector_difference ## -- Begin function calc_vector_difference
.p2align 4, 0x90
_calc_vector_difference: ## @calc_vector_difference
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $0, -32(%rbp)
LBB11_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB11_4
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
subss (%rax,%rcx,4), %xmm0
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB11_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB11_1
LBB11_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_vector_add ## -- Begin function do_vector_add
.p2align 4, 0x90
_do_vector_add: ## @do_vector_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl $0, -32(%rbp)
LBB12_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB12_4
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
addss (%rax,%rcx,4), %xmm0
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB12_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB12_1
LBB12_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_scalar_vector_mul ## -- Begin function do_scalar_vector_mul
.p2align 4, 0x90
_do_scalar_vector_mul: ## @do_scalar_vector_mul
.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)
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl $0, -32(%rbp)
LBB13_1: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB13_4
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -32(%rbp), %rcx
mulss (%rax,%rcx,4), %xmm0
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB13_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB13_1
LBB13_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function find_bmu
LCPI14_0:
.long 0x7f7fffff ## float 3.40282347E+38
.section __TEXT,__text,regular,pure_instructions
.globl _find_bmu
.p2align 4, 0x90
_find_bmu: ## @find_bmu
.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
leaq 16(%rbp), %rcx
movq %rcx, -40(%rbp) ## 8-byte Spill
movq %rdi, -8(%rbp)
movl (%rcx), %eax
imull 4(%rcx), %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
movss LCPI14_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
movl $0, -24(%rbp)
LBB14_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB14_6
## %bb.2: ## in Loop: Header=BB14_1 Depth=1
movq -40(%rbp), %rax ## 8-byte Reload
movq -8(%rbp), %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movl -24(%rbp), %edi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_neuron_weight_vector
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
movq -40(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edx
callq _euclidean_distance
movss %xmm0, -28(%rbp)
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB14_4
## %bb.3: ## in Loop: Header=BB14_1 Depth=1
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
movl -24(%rbp), %eax
movl %eax, -16(%rbp)
LBB14_4: ## in Loop: Header=BB14_1 Depth=1
jmp LBB14_5
LBB14_5: ## in Loop: Header=BB14_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB14_1
LBB14_6:
movl -16(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function neighbourhood_function
LCPI15_0:
.quad 0xbfe0000000000000 ## double -0.5
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI15_1:
.long 0x40000000 ## float 2
LCPI15_2:
.long 0x402df854 ## float 2.71828175
.section __TEXT,__text,regular,pure_instructions
.globl _neighbourhood_function
.p2align 4, 0x90
_neighbourhood_function: ## @neighbourhood_function
.cfi_startproc
## %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)
movss %xmm1, -8(%rbp)
movss LCPI15_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp) ## 4-byte Spill
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -8(%rbp), %xmm0
movss LCPI15_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _powf
movaps %xmm0, %xmm1
movss -16(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm2
movsd LCPI15_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm1
cvtsd2ss %xmm1, %xmm1
callq _powf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _neuron_distance ## -- Begin function neuron_distance
.p2align 4, 0x90
_neuron_distance: ## @neuron_distance
.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
leaq 16(%rbp), %rcx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -28(%rbp)
movl %esi, -32(%rbp)
movl -28(%rbp), %eax
cltd
idivl 4(%rcx)
movl %eax, -36(%rbp)
movl -28(%rbp), %eax
cltd
idivl 4(%rcx)
movl %edx, -40(%rbp)
movl -32(%rbp), %eax
cltd
idivl 4(%rcx)
movl %eax, -44(%rbp)
movl -32(%rbp), %eax
cltd
idivl 4(%rcx)
movl %edx, -48(%rbp)
cvtsi2ssl -36(%rbp), %xmm0
movss %xmm0, -16(%rbp)
cvtsi2ssl -40(%rbp), %xmm0
movss %xmm0, -12(%rbp)
cvtsi2ssl -44(%rbp), %xmm0
movss %xmm0, -24(%rbp)
cvtsi2ssl -48(%rbp), %xmm0
movss %xmm0, -20(%rbp)
leaq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
movl $2, %edx
callq _euclidean_distance
movss %xmm0, -52(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB16_2
## %bb.1:
movss -52(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
addq $64, %rsp
popq %rbp
retq
LBB16_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _neuron_neighbourhood_function ## -- Begin function neuron_neighbourhood_function
.p2align 4, 0x90
_neuron_neighbourhood_function: ## @neuron_neighbourhood_function
.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
leaq 16(%rbp), %rax
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movss %xmm0, -12(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _neuron_distance
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _neighbourhood_function
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _linear_blend ## -- Begin function linear_blend
.p2align 4, 0x90
_linear_blend: ## @linear_blend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss %xmm2, -12(%rbp)
movss -4(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -4(%rbp), %xmm0
movss -12(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_linear_blend ## -- Begin function get_linear_blend
.p2align 4, 0x90
_get_linear_blend: ## @get_linear_blend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss %xmm2, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -4(%rbp), %xmm0
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -4(%rbp), %xmm1
divss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _adjust_neuron_weight_vector ## -- Begin function adjust_neuron_weight_vector
.p2align 4, 0x90
_adjust_neuron_weight_vector: ## @adjust_neuron_weight_vector
.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
leaq 16(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movl %edi, -12(%rbp)
movq %rsi, -24(%rbp)
movss %xmm0, -28(%rbp)
movl 8(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
movq -80(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp)
movl -12(%rbp), %edi
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_neuron_weight_vector
movq -64(%rbp), %rsi ## 8-byte Reload
addq $32, %rsp
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
movq %rcx, -56(%rbp)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rdi
movl 8(%rax), %edx
callq _do_scalar_vector_mul
movq -72(%rbp), %rax ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movq -56(%rbp), %rdi
movq -56(%rbp), %rdx
movl 8(%rax), %ecx
callq _do_vector_add
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 LBB20_2
## %bb.1:
movq %rbp, %rsp
popq %rbp
retq
LBB20_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _adjust_weights ## -- Begin function adjust_weights
.p2align 4, 0x90
_adjust_weights: ## @adjust_weights
.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
leaq 16(%rbp), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movss %xmm0, -24(%rbp)
movss %xmm1, -28(%rbp)
movl (%rax), %ecx
movl 4(%rax), %edx
imull %edx, %ecx
movl %ecx, -32(%rbp)
movl 8(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -48(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
movq -104(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -88(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %rcx, -56(%rbp)
movl -20(%rbp), %edi
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_neuron_weight_vector
movq -96(%rbp), %rdx ## 8-byte Reload
addq $32, %rsp
movq %rax, %rcx
movq -88(%rbp), %rax ## 8-byte Reload
movq %rcx, -64(%rbp)
movq -64(%rbp), %rdi
movq -16(%rbp), %rsi
movl 8(%rax), %ecx
callq _calc_vector_difference
movl $0, -76(%rbp)
LBB21_1: ## =>This Inner Loop Header: Depth=1
movl -76(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB21_4
## %bb.2: ## in Loop: Header=BB21_1 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movl -20(%rbp), %edi
movl -76(%rbp), %esi
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _neuron_neighbourhood_function
movq -88(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
addq $32, %rsp
movss %xmm0, -36(%rbp)
movl -76(%rbp), %edi
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -36(%rbp), %xmm0
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _adjust_neuron_weight_vector
addq $32, %rsp
## %bb.3: ## in Loop: Header=BB21_1 Depth=1
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB21_1
LBB21_4:
movq -48(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB21_6
## %bb.5:
movq %rbp, %rsp
popq %rbp
retq
LBB21_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function find_normalize_minima_maxima
LCPI22_0:
.long 0xff7fffff ## float -3.40282347E+38
LCPI22_1:
.long 0x7f7fffff ## float 3.40282347E+38
.section __TEXT,__text,regular,pure_instructions
.globl _find_normalize_minima_maxima
.p2align 4, 0x90
_find_normalize_minima_maxima: ## @find_normalize_minima_maxima
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB22_2
## %bb.1:
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB22_25
LBB22_2:
movl $0, -52(%rbp)
LBB22_3: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB22_6
## %bb.4: ## in Loop: Header=BB22_3 Depth=1
movq -32(%rbp), %rax
movslq -52(%rbp), %rcx
movss LCPI22_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
movq -40(%rbp), %rax
movslq -52(%rbp), %rcx
movss LCPI22_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB22_3 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB22_3
LBB22_6:
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -64(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -104(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -96(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp)
LBB22_7: ## =>This Loop Header: Depth=1
## Child Loop BB22_13 Depth 2
jmp LBB22_8
LBB22_8: ## in Loop: Header=BB22_7 Depth=1
movl $20480, %edi ## imm = 0x5000
callq _malloc
movq %rax, -80(%rbp)
movq -48(%rbp), %rdi
movq -80(%rbp), %rsi
callq _read_input_file_line
movl %eax, -56(%rbp)
cmpl $2, -56(%rbp)
jne LBB22_10
## %bb.9: ## in Loop: Header=BB22_7 Depth=1
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB22_7
LBB22_10: ## in Loop: Header=BB22_7 Depth=1
cmpl $3, -56(%rbp)
jne LBB22_12
## %bb.11:
jmp LBB22_24
LBB22_12: ## in Loop: Header=BB22_7 Depth=1
movq -96(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %rdi
movl -20(%rbp), %esi
movl -24(%rbp), %ecx
callq _parse_input_line
movl $0, -84(%rbp)
LBB22_13: ## Parent Loop BB22_7 Depth=1
## => This Inner Loop Header: Depth=2
movl -84(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB22_21
## %bb.14: ## in Loop: Header=BB22_13 Depth=2
movq -96(%rbp), %rax ## 8-byte Reload
movslq -84(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -84(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB22_16
## %bb.15: ## in Loop: Header=BB22_13 Depth=2
movq -96(%rbp), %rax ## 8-byte Reload
movslq -84(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -84(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
jmp LBB22_19
LBB22_16: ## in Loop: Header=BB22_13 Depth=2
movq -96(%rbp), %rax ## 8-byte Reload
movslq -84(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
movslq -84(%rbp), %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB22_18
## %bb.17: ## in Loop: Header=BB22_13 Depth=2
movq -96(%rbp), %rax ## 8-byte Reload
movslq -84(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -40(%rbp), %rax
movslq -84(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB22_18: ## in Loop: Header=BB22_13 Depth=2
jmp LBB22_19
LBB22_19: ## in Loop: Header=BB22_13 Depth=2
jmp LBB22_20
LBB22_20: ## in Loop: Header=BB22_13 Depth=2
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB22_13
LBB22_21: ## in Loop: Header=BB22_7 Depth=1
jmp LBB22_22
LBB22_22: ## in Loop: Header=BB22_7 Depth=1
jmp LBB22_23
LBB22_23: ## in Loop: Header=BB22_7 Depth=1
movq -80(%rbp), %rdi
callq _free
jmp LBB22_7
LBB22_24:
movq -64(%rbp), %rax
movq %rax, %rsp
LBB22_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB22_27
## %bb.26:
movq %rbp, %rsp
popq %rbp
retq
LBB22_27:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _normalize_input_vector ## -- Begin function normalize_input_vector
.p2align 4, 0x90
_normalize_input_vector: ## @normalize_input_vector
.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 $0, -36(%rbp)
LBB23_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB23_7
## %bb.2: ## in Loop: Header=BB23_1 Depth=1
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -40(%rbp)
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -44(%rbp)
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -44(%rbp), %xmm0
jne LBB23_4
jp LBB23_4
## %bb.3: ## in Loop: Header=BB23_1 Depth=1
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
jmp LBB23_5
LBB23_4: ## in Loop: Header=BB23_1 Depth=1
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
callq _get_linear_blend
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB23_5: ## in Loop: Header=BB23_1 Depth=1
jmp LBB23_6
LBB23_6: ## in Loop: Header=BB23_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB23_1
LBB23_7:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _denormalize_neuron_weight_vector ## -- Begin function denormalize_neuron_weight_vector
.p2align 4, 0x90
_denormalize_neuron_weight_vector: ## @denormalize_neuron_weight_vector
.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
leaq 16(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl -4(%rbp), %edi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_neuron_weight_vector
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB24_1: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
movl -36(%rbp), %eax
cmpl 8(%rcx), %eax
jge LBB24_4
## %bb.2: ## in Loop: Header=BB24_1 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -40(%rbp)
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -44(%rbp)
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movss (%rax,%rcx,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
callq _linear_blend
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB24_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB24_1
LBB24_4:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _denormalize_som ## -- Begin function denormalize_som
.p2align 4, 0x90
_denormalize_som: ## @denormalize_som
.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
leaq 16(%rbp), %rcx
movq %rcx, -32(%rbp) ## 8-byte Spill
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl (%rcx), %eax
imull 4(%rcx), %eax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB25_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB25_4
## %bb.2: ## in Loop: Header=BB25_1 Depth=1
movq -32(%rbp), %rax ## 8-byte Reload
movl -24(%rbp), %edi
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _denormalize_neuron_weight_vector
## %bb.3: ## in Loop: Header=BB25_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB25_1
LBB25_4:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function train_SOM
LCPI26_0:
.long 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _train_SOM
.p2align 4, 0x90
_train_SOM: ## @train_SOM
.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
movb %cl, %al
leaq 40(%rbp), %rcx
movq %rcx, -128(%rbp) ## 8-byte Spill
leaq 16(%rbp), %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movl %edi, -12(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
andb $1, %al
movb %al, -29(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movl -12(%rbp), %esi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
jne LBB26_2
## %bb.1:
movq -24(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB26_25
LBB26_2:
movq -120(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -144(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -64(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -144(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -136(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp)
movl $20480, %edi ## imm = 0x5000
callq _malloc
movq %rax, -80(%rbp)
movl $0, -84(%rbp)
movl $0, -88(%rbp)
movl $0, -92(%rbp)
LBB26_3: ## =>This Inner Loop Header: Depth=1
movq -128(%rbp), %rcx ## 8-byte Reload
movl -92(%rbp), %eax
subl -88(%rbp), %eax
movl %eax, -84(%rbp)
cmpl (%rcx), %eax
jge LBB26_24
## %bb.4: ## in Loop: Header=BB26_3 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
cmpl $1, (%rax)
jne LBB26_6
## %bb.5: ## in Loop: Header=BB26_3 Depth=1
xorps %xmm0, %xmm0
movss %xmm0, -96(%rbp)
jmp LBB26_7
LBB26_6: ## in Loop: Header=BB26_3 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
cvtsi2ssl -84(%rbp), %xmm0
movl (%rax), %eax
subl $1, %eax
cvtsi2ss %eax, %xmm1
divss %xmm1, %xmm0
movss %xmm0, -96(%rbp)
LBB26_7: ## in Loop: Header=BB26_3 Depth=1
movq -56(%rbp), %rdi
movq -80(%rbp), %rsi
callq _read_input_file_line
movl %eax, -100(%rbp)
cmpl $1, -100(%rbp)
jne LBB26_9
## %bb.8:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB26_24
LBB26_9: ## in Loop: Header=BB26_3 Depth=1
cmpl $2, -100(%rbp)
jne LBB26_11
## %bb.10: ## in Loop: Header=BB26_3 Depth=1
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB26_23
LBB26_11: ## in Loop: Header=BB26_3 Depth=1
cmpl $3, -100(%rbp)
jne LBB26_13
## %bb.12: ## in Loop: Header=BB26_3 Depth=1
movq -56(%rbp), %rdi
callq _rewind
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB26_23
LBB26_13: ## in Loop: Header=BB26_3 Depth=1
jmp LBB26_14
LBB26_14: ## in Loop: Header=BB26_3 Depth=1
jmp LBB26_15
LBB26_15: ## in Loop: Header=BB26_3 Depth=1
cmpl $0, -100(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB26_17
## %bb.16:
leaq L___func__.train_SOM(%rip), %rdi
leaq L_.str.16(%rip), %rsi
leaq L_.str.17(%rip), %rcx
movl $412, %edx ## imm = 0x19C
callq ___assert_rtn
LBB26_17: ## in Loop: Header=BB26_3 Depth=1
jmp LBB26_18
LBB26_18: ## in Loop: Header=BB26_3 Depth=1
movq -136(%rbp), %rdx ## 8-byte Reload
movq -120(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rdi
movl -28(%rbp), %esi
movl 8(%rax), %ecx
callq _parse_input_line
testb $1, -29(%rbp)
je LBB26_20
## %bb.19: ## in Loop: Header=BB26_3 Depth=1
movq -136(%rbp), %rsi ## 8-byte Reload
movq -120(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
movq -40(%rbp), %rdx
movq -48(%rbp), %rcx
callq _normalize_input_vector
LBB26_20: ## in Loop: Header=BB26_3 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -96(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
callq _linear_blend
movq -128(%rbp), %rax ## 8-byte Reload
movss %xmm0, -104(%rbp)
movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 16(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -96(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
callq _linear_blend
movss %xmm0, -108(%rbp)
movl -84(%rbp), %eax
movl $100, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB26_22
## %bb.21: ## in Loop: Header=BB26_3 Depth=1
movss LCPI26_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -96(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movl -84(%rbp), %esi
movss -104(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -108(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
leaq L_.str.18(%rip), %rdi
movb $3, %al
callq _printf
LBB26_22: ## in Loop: Header=BB26_3 Depth=1
movq -136(%rbp), %rdi ## 8-byte Reload
movq -120(%rbp), %rax ## 8-byte Reload
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _find_bmu
movq -136(%rbp), %rdi ## 8-byte Reload
addq $32, %rsp
movl %eax, %ecx
movq -120(%rbp), %rax ## 8-byte Reload
movl %ecx, -112(%rbp)
movl -112(%rbp), %esi
movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _adjust_weights
addq $32, %rsp
LBB26_23: ## in Loop: Header=BB26_3 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB26_3
LBB26_24:
movq -80(%rbp), %rdi
callq _free
movq -56(%rbp), %rdi
callq _fclose
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rax
movq %rax, %rsp
LBB26_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB26_27
## %bb.26:
movq %rbp, %rsp
popq %rbp
retq
LBB26_27:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function rand_float_range
LCPI27_0:
.long 0x4f000000 ## float 2.14748365E+9
.section __TEXT,__text,regular,pure_instructions
.globl _rand_float_range
.p2align 4, 0x90
_rand_float_range: ## @rand_float_range
.cfi_startproc
## %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)
movss %xmm1, -8(%rbp)
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI27_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -12(%rbp)
movss -4(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
subss -4(%rbp), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _randomize_weight_vectors ## -- Begin function randomize_weight_vectors
.p2align 4, 0x90
_randomize_weight_vectors: ## @randomize_weight_vectors
.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
leaq 16(%rbp), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movl $0, -12(%rbp)
LBB28_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax ## 8-byte Reload
movl -12(%rbp), %ecx
movl %ecx, -28(%rbp) ## 4-byte Spill
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_num_weight_elements
movl %eax, %ecx
movl -28(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB28_4
## %bb.2: ## in Loop: Header=BB28_1 Depth=1
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _rand_float_range
movq -24(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB28_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB28_1
LBB28_4:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _equalize_weight_vectors ## -- Begin function equalize_weight_vectors
.p2align 4, 0x90
_equalize_weight_vectors: ## @equalize_weight_vectors
.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
leaq 16(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movss %xmm0, -4(%rbp)
movl $0, -8(%rbp)
LBB29_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
movl -8(%rbp), %ecx
movl %ecx, -20(%rbp) ## 4-byte Spill
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_num_weight_elements
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB29_4
## %bb.2: ## in Loop: Header=BB29_1 Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq 16(%rax), %rax
movslq -8(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB29_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB29_1
LBB29_4:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function intelligently_randomize_weight_vectors
LCPI30_0:
.long 0x00800000 ## float 1.17549435E-38
LCPI30_1:
.long 0x7f7fffff ## float 3.40282347E+38
.section __TEXT,__text,regular,pure_instructions
.globl _intelligently_randomize_weight_vectors
.p2align 4, 0x90
_intelligently_randomize_weight_vectors: ## @intelligently_randomize_weight_vectors
.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
leaq 16(%rbp), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB30_2
## %bb.1:
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB30_26
LBB30_2:
movq -128(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -160(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
movq -160(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -128(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -152(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp)
movl 8(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -144(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -144(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -136(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp)
movl $0, -60(%rbp)
LBB30_3: ## =>This Inner Loop Header: Depth=1
movq -128(%rbp), %rcx ## 8-byte Reload
movl -60(%rbp), %eax
cmpl 8(%rcx), %eax
jge LBB30_6
## %bb.4: ## in Loop: Header=BB30_3 Depth=1
movq -136(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rcx ## 8-byte Reload
movslq -60(%rbp), %rdx
movss LCPI30_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rcx,%rdx,4)
movslq -60(%rbp), %rcx
movss LCPI30_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB30_3 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB30_3
LBB30_6:
movq -128(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -176(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -176(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -168(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp)
movl $20480, %edi ## imm = 0x5000
callq _malloc
movq %rax, -80(%rbp)
LBB30_7: ## =>This Loop Header: Depth=1
## Child Loop BB30_9 Depth 2
movq -32(%rbp), %rdi
movq -80(%rbp), %rsi
callq _read_input_file_line
movl %eax, -84(%rbp)
cmpl $0, %eax
jne LBB30_17
## %bb.8: ## in Loop: Header=BB30_7 Depth=1
movq -168(%rbp), %rdx ## 8-byte Reload
movq -128(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rdi
movl -20(%rbp), %esi
movl 8(%rax), %ecx
callq _parse_input_line
movl $0, -88(%rbp)
LBB30_9: ## Parent Loop BB30_7 Depth=1
## => This Inner Loop Header: Depth=2
movq -128(%rbp), %rcx ## 8-byte Reload
movl -88(%rbp), %eax
cmpl 8(%rcx), %eax
jge LBB30_16
## %bb.10: ## in Loop: Header=BB30_9 Depth=2
movq -152(%rbp), %rax ## 8-byte Reload
movq -168(%rbp), %rcx ## 8-byte Reload
movslq -88(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -92(%rbp)
movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movslq -88(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB30_12
## %bb.11: ## in Loop: Header=BB30_9 Depth=2
movq -152(%rbp), %rax ## 8-byte Reload
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -88(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB30_12: ## in Loop: Header=BB30_9 Depth=2
movq -136(%rbp), %rax ## 8-byte Reload
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -88(%rbp), %rcx
ucomiss (%rax,%rcx,4), %xmm0
jbe LBB30_14
## %bb.13: ## in Loop: Header=BB30_9 Depth=2
movq -136(%rbp), %rax ## 8-byte Reload
movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -88(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
LBB30_14: ## in Loop: Header=BB30_9 Depth=2
jmp LBB30_15
LBB30_15: ## in Loop: Header=BB30_9 Depth=2
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB30_9
LBB30_16: ## in Loop: Header=BB30_7 Depth=1
jmp LBB30_7
LBB30_17:
movq -128(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %eax
imull 4(%rcx), %eax
movl %eax, -96(%rbp)
movl $0, -100(%rbp)
LBB30_18: ## =>This Loop Header: Depth=1
## Child Loop BB30_20 Depth 2
movl -100(%rbp), %eax
cmpl -96(%rbp), %eax
jge LBB30_25
## %bb.19: ## in Loop: Header=BB30_18 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
movl -100(%rbp), %edi
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_neuron_weight_vector
addq $32, %rsp
movq %rax, -112(%rbp)
movl $0, -116(%rbp)
LBB30_20: ## Parent Loop BB30_18 Depth=1
## => This Inner Loop Header: Depth=2
movq -128(%rbp), %rcx ## 8-byte Reload
movl -116(%rbp), %eax
cmpl 8(%rcx), %eax
jge LBB30_23
## %bb.21: ## in Loop: Header=BB30_20 Depth=2
movq -136(%rbp), %rax ## 8-byte Reload
movq -152(%rbp), %rcx ## 8-byte Reload
movslq -116(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -116(%rbp), %rcx
movss (%rax,%rcx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _rand_float_range
movq -112(%rbp), %rax
movslq -116(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
## %bb.22: ## in Loop: Header=BB30_20 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB30_20
LBB30_23: ## in Loop: Header=BB30_18 Depth=1
jmp LBB30_24
LBB30_24: ## in Loop: Header=BB30_18 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB30_18
LBB30_25:
movq -80(%rbp), %rdi
callq _free
movq -32(%rbp), %rdi
callq _fclose
movq -40(%rbp), %rax
movq %rax, %rsp
LBB30_26:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB30_28
## %bb.27:
movq %rbp, %rsp
popq %rbp
retq
LBB30_28:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _print_neuron_weights ## -- Begin function print_neuron_weights
.p2align 4, 0x90
_print_neuron_weights: ## @print_neuron_weights
.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
leaq 16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _get_neuron_weight_vector
movq %rax, -16(%rbp)
movl $0, -20(%rbp)
LBB31_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rcx ## 8-byte Reload
movl -20(%rbp), %eax
cmpl 8(%rcx), %eax
jge LBB31_4
## %bb.2: ## in Loop: Header=BB31_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.20(%rip), %rdi
movb $1, %al
callq _printf
## %bb.3: ## in Loop: Header=BB31_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB31_1
LBB31_4:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_vector ## -- Begin function print_vector
.p2align 4, 0x90
_print_vector: ## @print_vector
.cfi_startproc
## %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.21(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -16(%rbp)
LBB32_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB32_6
## %bb.2: ## in Loop: Header=BB32_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.22(%rip), %rdi
movb $1, %al
callq _printf
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
je LBB32_4
## %bb.3: ## in Loop: Header=BB32_1 Depth=1
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
LBB32_4: ## in Loop: Header=BB32_1 Depth=1
jmp LBB32_5
LBB32_5: ## in Loop: Header=BB32_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB32_1
LBB32_6:
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI33_0:
.long 0x3f800000 ## float 1
LCPI33_1:
.long 0xbf800000 ## float -1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $608, %rsp ## imm = 0x260
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -404(%rbp)
movl %edi, -408(%rbp)
movq %rsi, -416(%rbp)
movl $10, -420(%rbp)
movl $10, -424(%rbp)
movl $3, -428(%rbp)
movl $-1, -432(%rbp)
leaq -144(%rbp), %rdi
leaq l___const.main.opt_train_file(%rip), %rsi
movl $128, %edx
callq _memcpy
leaq -272(%rbp), %rdi
leaq l___const.main.opt_save_file(%rip), %rsi
movl $128, %edx
callq _memcpy
leaq -400(%rbp), %rdi
leaq l___const.main.opt_weight_init_method(%rip), %rsi
movl $128, %edx
callq _memcpy
xorps %xmm0, %xmm0
movss %xmm0, -436(%rbp)
movss LCPI33_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -440(%rbp)
movss LCPI33_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -444(%rbp)
movb $0, -445(%rbp)
leaq -472(%rbp), %rdi
callq _create_SOMTrainingParams
leaq -496(%rbp), %rdi
callq _create_SOMTrainingParams
movl $0, -500(%rbp)
LBB33_1: ## =>This Inner Loop Header: Depth=1
movl -500(%rbp), %eax
cmpl -408(%rbp), %eax
jge LBB33_74
## %bb.2: ## in Loop: Header=BB33_1 Depth=1
movq -416(%rbp), %rax
movslq -500(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -512(%rbp)
movq -512(%rbp), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB33_8
## %bb.3: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rax
movsbl 1(%rax), %eax
cmpl $45, %eax
jne LBB33_8
## %bb.4: ## in Loop: Header=BB33_1 Depth=1
movl -408(%rbp), %eax
cmpl -500(%rbp), %eax
setg %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB33_6
## %bb.5:
leaq L___func__.main(%rip), %rdi
leaq L_.str.16(%rip), %rsi
leaq L_.str.25(%rip), %rcx
movl $549, %edx ## imm = 0x225
callq ___assert_rtn
LBB33_6: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_7
LBB33_7: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_8
LBB33_8: ## in Loop: Header=BB33_1 Depth=1
movl -500(%rbp), %eax
addl $1, %eax
cmpl -408(%rbp), %eax
jge LBB33_10
## %bb.9: ## in Loop: Header=BB33_1 Depth=1
movq -416(%rbp), %rax
movl -500(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -520(%rbp)
LBB33_10: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.26(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_12
## %bb.11: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atoi
movl %eax, -420(%rbp)
jmp LBB33_72
LBB33_12: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.27(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_14
## %bb.13: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atoi
movl %eax, -424(%rbp)
jmp LBB33_71
LBB33_14: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.28(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_16
## %bb.15: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atoi
movl %eax, -428(%rbp)
jmp LBB33_70
LBB33_16: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_18
## %bb.17: ## in Loop: Header=BB33_1 Depth=1
leaq -144(%rbp), %rdi
movq -520(%rbp), %rsi
movl $128, %edx
callq ___strcpy_chk
jmp LBB33_69
LBB33_18: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_20
## %bb.19: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atoi
movl %eax, -432(%rbp)
jmp LBB33_68
LBB33_20: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.31(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_22
## %bb.21: ## in Loop: Header=BB33_1 Depth=1
leaq -272(%rbp), %rdi
movq -520(%rbp), %rsi
movl $128, %edx
callq ___strcpy_chk
jmp LBB33_67
LBB33_22: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.32(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_24
## %bb.23: ## in Loop: Header=BB33_1 Depth=1
leaq -400(%rbp), %rdi
movq -520(%rbp), %rsi
movl $128, %edx
callq ___strcpy_chk
jmp LBB33_66
LBB33_24: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.33(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_26
## %bb.25: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -436(%rbp)
jmp LBB33_65
LBB33_26: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.34(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_28
## %bb.27: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -440(%rbp)
jmp LBB33_64
LBB33_28: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.35(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_30
## %bb.29: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -444(%rbp)
jmp LBB33_63
LBB33_30: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.36(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_32
## %bb.31: ## in Loop: Header=BB33_1 Depth=1
movb $1, -445(%rbp)
jmp LBB33_62
LBB33_32: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.37(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_34
## %bb.33: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atoi
movl %eax, -472(%rbp)
jmp LBB33_61
LBB33_34: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.38(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_36
## %bb.35: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atoi
movl %eax, -496(%rbp)
jmp LBB33_60
LBB33_36: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.39(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_38
## %bb.37: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -468(%rbp)
jmp LBB33_59
LBB33_38: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.40(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_40
## %bb.39: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -492(%rbp)
jmp LBB33_58
LBB33_40: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.41(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_42
## %bb.41: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -464(%rbp)
jmp LBB33_57
LBB33_42: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.42(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_44
## %bb.43: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -488(%rbp)
jmp LBB33_56
LBB33_44: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_46
## %bb.45: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -460(%rbp)
jmp LBB33_55
LBB33_46: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.44(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_48
## %bb.47: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -484(%rbp)
jmp LBB33_54
LBB33_48: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.45(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_50
## %bb.49: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -456(%rbp)
jmp LBB33_53
LBB33_50: ## in Loop: Header=BB33_1 Depth=1
movq -512(%rbp), %rdi
leaq L_.str.46(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_52
## %bb.51: ## in Loop: Header=BB33_1 Depth=1
movq -520(%rbp), %rdi
callq _atof
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -480(%rbp)
LBB33_52: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_53
LBB33_53: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_54
LBB33_54: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_55
LBB33_55: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_56
LBB33_56: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_57
LBB33_57: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_58
LBB33_58: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_59
LBB33_59: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_60
LBB33_60: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_61
LBB33_61: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_62
LBB33_62: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_63
LBB33_63: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_64
LBB33_64: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_65
LBB33_65: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_66
LBB33_66: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_67
LBB33_67: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_68
LBB33_68: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_69
LBB33_69: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_70
LBB33_70: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_71
LBB33_71: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_72
LBB33_72: ## in Loop: Header=BB33_1 Depth=1
jmp LBB33_73
LBB33_73: ## in Loop: Header=BB33_1 Depth=1
movl -500(%rbp), %eax
addl $1, %eax
movl %eax, -500(%rbp)
jmp LBB33_1
LBB33_74:
movl -420(%rbp), %esi
leaq L_.str.47(%rip), %rdi
movb $0, %al
callq _printf
movl -428(%rbp), %esi
leaq L_.str.48(%rip), %rdi
movb $0, %al
callq _printf
movl -424(%rbp), %esi
leaq L_.str.49(%rip), %rdi
movb $0, %al
callq _printf
leaq -144(%rbp), %rsi
leaq L_.str.50(%rip), %rdi
movb $0, %al
callq _printf
movl -432(%rbp), %esi
leaq L_.str.51(%rip), %rdi
movb $0, %al
callq _printf
leaq -272(%rbp), %rsi
leaq L_.str.52(%rip), %rdi
movb $0, %al
callq _printf
leaq -400(%rbp), %rsi
leaq L_.str.53(%rip), %rdi
movb $0, %al
callq _printf
movss -436(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.54(%rip), %rdi
movb $1, %al
callq _printf
movss -440(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.55(%rip), %rdi
movb $1, %al
callq _printf
movss -444(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.56(%rip), %rdi
movb $1, %al
callq _printf
movl -472(%rbp), %esi
leaq L_.str.57(%rip), %rdi
movb $0, %al
callq _printf
movl -496(%rbp), %esi
leaq L_.str.58(%rip), %rdi
movb $0, %al
callq _printf
movss -468(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.59(%rip), %rdi
movb $1, %al
callq _printf
movss -492(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.60(%rip), %rdi
movb $1, %al
callq _printf
movss -464(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.61(%rip), %rdi
movb $1, %al
callq _printf
movss -488(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.62(%rip), %rdi
movb $1, %al
callq _printf
movss -460(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.63(%rip), %rdi
movb $1, %al
callq _printf
movss -484(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.64(%rip), %rdi
movb $1, %al
callq _printf
movss -456(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.65(%rip), %rdi
movb $1, %al
callq _printf
movss -480(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.66(%rip), %rdi
movb $1, %al
callq _printf
movb -445(%rbp), %al
andb $1, %al
movzbl %al, %esi
leaq L_.str.67(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -420(%rbp), %esi
movl -424(%rbp), %edx
movl -428(%rbp), %ecx
leaq -544(%rbp), %rdi
callq _create_SOM
leaq -400(%rbp), %rdi
leaq L_.str.68(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_76
## %bb.75:
leaq -144(%rbp), %rdi
movl -432(%rbp), %esi
leaq -544(%rbp), %rax
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _intelligently_randomize_weight_vectors
addq $32, %rsp
jmp LBB33_82
LBB33_76:
leaq -400(%rbp), %rdi
leaq L_.str.69(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_78
## %bb.77:
movss -440(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -444(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
leaq -544(%rbp), %rax
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _randomize_weight_vectors
addq $32, %rsp
jmp LBB33_81
LBB33_78:
leaq -400(%rbp), %rdi
leaq L_.str.70(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB33_80
## %bb.79:
movss -436(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
leaq -544(%rbp), %rax
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _equalize_weight_vectors
addq $32, %rsp
LBB33_80:
jmp LBB33_81
LBB33_81:
jmp LBB33_82
LBB33_82:
movl -428(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -600(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -552(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -600(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -592(%rbp) ## 8-byte Spill
movq %rax, -560(%rbp)
movl -428(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -584(%rbp) ## 8-byte Spill
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -584(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -576(%rbp) ## 8-byte Spill
movq %rax, -568(%rbp)
testb $1, -445(%rbp)
je LBB33_84
## %bb.83:
movq -576(%rbp), %r8 ## 8-byte Reload
movq -592(%rbp), %rcx ## 8-byte Reload
leaq -144(%rbp), %rdi
movl -432(%rbp), %esi
movl -428(%rbp), %edx
callq _find_normalize_minima_maxima
leaq L_.str.71(%rip), %rdi
movb $0, %al
callq _printf
movq -592(%rbp), %rdi ## 8-byte Reload
movl -428(%rbp), %esi
callq _print_vector
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.72(%rip), %rdi
movb $0, %al
callq _printf
movq -576(%rbp), %rdi ## 8-byte Reload
movl -428(%rbp), %esi
callq _print_vector
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB33_84:
movq -576(%rbp), %r9 ## 8-byte Reload
movq -592(%rbp), %r8 ## 8-byte Reload
leaq -144(%rbp), %rsi
movl -432(%rbp), %edx
movb -445(%rbp), %al
leaq -544(%rbp), %r10
leaq -472(%rbp), %rcx
movl $1, %edi
andb $1, %al
subq $48, %rsp
movq (%r10), %r11
movq %r11, (%rsp)
movq 8(%r10), %r11
movq %r11, 8(%rsp)
movq 16(%r10), %r10
movq %r10, 16(%rsp)
movq (%rcx), %r10
movq %r10, 24(%rsp)
movq 8(%rcx), %r10
movq %r10, 32(%rsp)
movl 16(%rcx), %ecx
movl %ecx, 40(%rsp)
movzbl %al, %ecx
callq _train_SOM
movq -592(%rbp), %r8 ## 8-byte Reload
movq -576(%rbp), %r9 ## 8-byte Reload
addq $48, %rsp
leaq -144(%rbp), %rsi
movl -432(%rbp), %edx
movb -445(%rbp), %al
leaq -544(%rbp), %r10
leaq -496(%rbp), %rcx
movl $2, %edi
andb $1, %al
subq $48, %rsp
movq (%r10), %r11
movq %r11, (%rsp)
movq 8(%r10), %r11
movq %r11, 8(%rsp)
movq 16(%r10), %r10
movq %r10, 16(%rsp)
movq (%rcx), %r10
movq %r10, 24(%rsp)
movq 8(%rcx), %r10
movq %r10, 32(%rsp)
movl 16(%rcx), %ecx
movl %ecx, 40(%rsp)
movzbl %al, %ecx
callq _train_SOM
addq $48, %rsp
testb $1, -445(%rbp)
je LBB33_86
## %bb.85:
movq -576(%rbp), %rsi ## 8-byte Reload
movq -592(%rbp), %rdi ## 8-byte Reload
leaq -544(%rbp), %rax
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _denormalize_som
addq $32, %rsp
LBB33_86:
leaq -272(%rbp), %rdi
leaq -544(%rbp), %rax
subq $32, %rsp
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 8(%rax), %rcx
movq %rcx, 8(%rsp)
movq 16(%rax), %rax
movq %rax, 16(%rsp)
callq _save_SOM
addq $32, %rsp
movl $0, -404(%rbp)
movq -552(%rbp), %rax
movq %rax, %rsp
movl -404(%rbp), %eax
movl %eax, -604(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB33_88
## %bb.87:
movl -604(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB33_88:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "w"
L_.str.1: ## @.str.1
.asciz "Error opening file: %s\n"
L_.str.2: ## @.str.2
.asciz "%d,%d,%d\n"
L_.str.3: ## @.str.3
.asciz "%f"
L_.str.4: ## @.str.4
.asciz "\n"
L_.str.5: ## @.str.5
.asciz ","
L_.str.6: ## @.str.6
.asciz "Saved SOM to \"%s\"\n"
L_.str.7: ## @.str.7
.asciz "r"
L_.str.8: ## @.str.8
.asciz "%d,%d,%d"
L_.str.9: ## @.str.9
.asciz "ERROR: number of weight elements exceeds expected amount\n"
L_.str.10: ## @.str.10
.asciz "ERROR: wrong number of weight elements\n"
L_.str.11: ## @.str.11
.asciz "find_normalize_minima_maxima %s, %d, %d"
L_.str.12: ## @.str.12
.asciz "WARNING empty line\n"
L_.str.13: ## @.str.13
.asciz "===== TRAINING Phase %d =====\n"
L_.str.14: ## @.str.14
.asciz "ERROR: Could not read input file\n"
L_.str.15: ## @.str.15
.asciz "Skipping empty line in input file...\n"
L___func__.train_SOM: ## @__func__.train_SOM
.asciz "train_SOM"
L_.str.16: ## @.str.16
.asciz "120555.c"
L_.str.17: ## @.str.17
.asciz "status == STATUS_OK"
L_.str.18: ## @.str.18
.asciz "Progress: %0.1f%%, Iteration %d, learn_rate %f, n_radius %f\r"
L_.str.19: ## @.str.19
.asciz "\n\n"
L_.str.20: ## @.str.20
.asciz "%f, "
L_.str.21: ## @.str.21
.asciz "("
L_.str.22: ## @.str.22
.asciz "%.2f"
L_.str.23: ## @.str.23
.asciz ", "
L_.str.24: ## @.str.24
.asciz ")"
.section __TEXT,__const
.p2align 4 ## @__const.main.opt_train_file
l___const.main.opt_train_file:
.asciz "data/default_train_file.txt\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.p2align 4 ## @__const.main.opt_save_file
l___const.main.opt_save_file:
.asciz "trained/default_save_file.som\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.p2align 4 ## @__const.main.opt_weight_init_method
l___const.main.opt_weight_init_method:
.asciz "intelligent\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.25: ## @.str.25
.asciz "argc > i"
L_.str.26: ## @.str.26
.asciz "--rows"
L_.str.27: ## @.str.27
.asciz "--cols"
L_.str.28: ## @.str.28
.asciz "--input-dims"
L_.str.29: ## @.str.29
.asciz "--train"
L_.str.30: ## @.str.30
.asciz "--train-file-class-index"
L_.str.31: ## @.str.31
.asciz "--save"
L_.str.32: ## @.str.32
.asciz "--weight-init-method"
L_.str.33: ## @.str.33
.asciz "--weight-equalize-val"
L_.str.34: ## @.str.34
.asciz "--weight-randomize-min"
L_.str.35: ## @.str.35
.asciz "--weight-randomize-max"
L_.str.36: ## @.str.36
.asciz "--normalize-inputs"
L_.str.37: ## @.str.37
.asciz "--p1-iterations"
L_.str.38: ## @.str.38
.asciz "--p2-iterations"
L_.str.39: ## @.str.39
.asciz "--p1-learn-rate-initial"
L_.str.40: ## @.str.40
.asciz "--p2-learn-rate-initial"
L_.str.41: ## @.str.41
.asciz "--p1-learn-rate-final"
L_.str.42: ## @.str.42
.asciz "--p2-learn-rate-final"
L_.str.43: ## @.str.43
.asciz "--p1-n-radius-initial"
L_.str.44: ## @.str.44
.asciz "--p2-n-radius-initial"
L_.str.45: ## @.str.45
.asciz "--p1-n-radius-final"
L_.str.46: ## @.str.46
.asciz "--p2-n-radius-final"
L_.str.47: ## @.str.47
.asciz "Set rows: %d\n"
L_.str.48: ## @.str.48
.asciz "Set input_dims: %d\n"
L_.str.49: ## @.str.49
.asciz "Set cols: %d\n"
L_.str.50: ## @.str.50
.asciz "Set train file: \"%s\"\n"
L_.str.51: ## @.str.51
.asciz "Set train file class index to: %d\n"
L_.str.52: ## @.str.52
.asciz "Set save file: \"%s\"\n"
L_.str.53: ## @.str.53
.asciz "Set weight init method: %s\n"
L_.str.54: ## @.str.54
.asciz "Set weight equalize val: %f\n"
L_.str.55: ## @.str.55
.asciz "Set weight randomize min: %f\n"
L_.str.56: ## @.str.56
.asciz "Set weight randomize max: %f\n"
L_.str.57: ## @.str.57
.asciz "Set p1 iterations: %d\n"
L_.str.58: ## @.str.58
.asciz "Set p2 iterations: %d\n"
L_.str.59: ## @.str.59
.asciz "Set p1 learn_rate_initial: %f\n"
L_.str.60: ## @.str.60
.asciz "Set p2 learn_rate_initial: %f\n"
L_.str.61: ## @.str.61
.asciz "Set p1 learn_rate_final: %f\n"
L_.str.62: ## @.str.62
.asciz "Set p2 learn_rate_final: %f\n"
L_.str.63: ## @.str.63
.asciz "Set p1 n_radius_initial: %f\n"
L_.str.64: ## @.str.64
.asciz "Set p2 n_radius_initial: %f\n"
L_.str.65: ## @.str.65
.asciz "Set p1 n_radius_final: %f\n"
L_.str.66: ## @.str.66
.asciz "Set p2 n_radius_final: %f\n"
L_.str.67: ## @.str.67
.asciz "Set normalize inputs: %d\n"
L_.str.68: ## @.str.68
.asciz "intelligent"
L_.str.69: ## @.str.69
.asciz "randomize"
L_.str.70: ## @.str.70
.asciz "equalize"
L_.str.71: ## @.str.71
.asciz "Normalize minima: "
L_.str.72: ## @.str.72
.asciz "Normalize maxima: "
.subsections_via_symbols
| the_stack_data/120555.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vasprintf ; -- Begin function vasprintf
.p2align 2
_vasprintf: ; @vasprintf
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8]
ldr x4, [sp, #24]
ldr x5, [sp, #8]
mov x0, #0
mov x1, #0
mov w2, #0
mov x3, #-1
bl ___vsnprintf_chk
str w0, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #4]
add w8, w8, #1
mov x0, x8
bl _malloc
ldur x9, [x29, #-16]
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_4
LBB0_3:
ldur x8, [x29, #-16]
ldr x0, [x8]
ldr w8, [sp, #4]
add w8, w8, #1
mov x1, x8
ldr x4, [sp, #24]
ldr x5, [sp, #16]
mov w2, #0
mov x3, #-1
bl ___vsnprintf_chk
stur w0, [x29, #-4]
b LBB0_4
LBB0_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vasprintf ## -- Begin function vasprintf
.p2align 4, 0x90
_vasprintf: ## @vasprintf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -48(%rbp)
movq %rsi, -56(%rbp)
movq %rdx, -64(%rbp)
leaq -32(%rbp), %rax
movq -64(%rbp), %rcx
movq 16(%rcx), %rdx
movq %rdx, 16(%rax)
movups (%rcx), %xmm0
movups %xmm0, (%rax)
movq -56(%rbp), %r8
leaq -32(%rbp), %r9
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
movq $-1, %rcx
movq %rsi, %rdi
callq ___vsnprintf_chk
movl %eax, -68(%rbp)
leaq -32(%rbp), %rax
cmpl $0, -68(%rbp)
jl LBB0_2
## %bb.1:
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, %eax
movl %eax, %edi
callq _malloc
movq -48(%rbp), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB0_3
LBB0_2:
movl $-1, -36(%rbp)
jmp LBB0_4
LBB0_3:
movq -48(%rbp), %rax
movq (%rax), %rdi
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, %eax
movl %eax, %esi
movq -56(%rbp), %r8
movq -64(%rbp), %r9
xorl %edx, %edx
movq $-1, %rcx
callq ___vsnprintf_chk
movl %eax, -36(%rbp)
LBB0_4:
movl -36(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
movl -72(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/154321.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getbuf ; -- Begin function getbuf
.p2align 2
_getbuf: ; @getbuf
.cfi_startproc
; %bb.0:
adrp x0, _buf@PAGE
add x0, x0, _buf@PAGEOFF
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
bl _getbuf
str x0, [sp]
ldr x8, [sp]
mov x9, #16384
ldr w0, [x8, x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_buf,16384,2 ; @buf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getbuf ## -- Begin function getbuf
.p2align 4, 0x90
_getbuf: ## @getbuf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _buf(%rip), %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)
callq _getbuf
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl 16384(%rax), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_buf,16384,4 ## @buf
.subsections_via_symbols
| the_stack_data/1184254.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isblank ; -- Begin function isblank
.p2align 2
_isblank: ; @isblank
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_2
LBB0_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isblank ## -- Begin function isblank
.p2align 4, 0x90
_isblank: ## @isblank
.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)
movb $1, %al
cmpl $32, -4(%rbp)
movb %al, -5(%rbp) ## 1-byte Spill
je LBB0_2
## %bb.1:
cmpl $9, -4(%rbp)
sete %al
movb %al, -5(%rbp) ## 1-byte Spill
LBB0_2:
movb -5(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/981942.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 0x4130000000000000 ; double 1048576
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_2
LBB0_2:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
stur xzr, [x29, #-32]
str xzr, [sp, #32]
str xzr, [sp, #24]
str wzr, [sp, #20]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
sub x0, x29, #24
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
sub x1, x29, #32
stur xzr, [x29, #-32]
ldur x2, [x29, #-16]
bl _getline
str x0, [sp, #40]
adds x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-24]
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _sscanf
b LBB0_10
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-24]
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _sscanf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-24]
bl _free
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_13:
ldr x8, [sp, #32]
ldr x9, [sp, #24]
subs x8, x8, x9
ucvtf d0, x8
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.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
bl _fclose
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 "/proc/meminfo"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Unkown"
l_.str.3: ; @.str.3
.asciz "%*s %lu "
l_.str.4: ; @.str.4
.asciz "%.2lf GB"
.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 0x4130000000000000 ## double 1048576
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.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)
movq $0, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_2:
movq $0, -24(%rbp)
movq $0, -32(%rbp)
movq $0, -48(%rbp)
movq $0, -56(%rbp)
movl $0, -60(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl $3, -60(%rbp)
jge LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq $0, -24(%rbp)
movq $0, -32(%rbp)
movq -16(%rbp), %rdx
leaq -24(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _getline
movq %rax, -40(%rbp)
cmpq $-1, %rax
je LBB0_11
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -60(%rbp)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
leaq -48(%rbp), %rdx
movb $0, %al
callq _sscanf
jmp LBB0_10
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
cmpl $2, -60(%rbp)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -24(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
leaq -56(%rbp), %rdx
movb $0, %al
callq _sscanf
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq -24(%rbp), %rdi
callq _free
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_3
LBB0_13:
movq -48(%rbp), %rax
movq -56(%rbp), %rcx
subq %rcx, %rax
movq %rax, %xmm0
movaps LCPI0_1(%rip), %xmm1 ## xmm1 = [1127219200,1160773632,0,0]
punpckldq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd LCPI0_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 LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
movq -16(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/proc/meminfo"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Unkown"
L_.str.3: ## @.str.3
.asciz "%*s %lu "
L_.str.4: ## @.str.4
.asciz "%.2lf GB"
.subsections_via_symbols
| the_stack_data/200144371.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #368
.cfi_def_cfa_offset 368
stp x28, x27, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-108]
stur w0, [x29, #-112]
stur x1, [x29, #-120]
mov x8, #80
str x8, [sp, #64]
mov x0, #0
bl _time
str x0, [sp, #72]
mov w8, #1
stur w8, [x29, #-124]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-124]
ldur w9, [x29, #-112]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-120]
ldursw x9, [x29, #-124]
ldr x0, [x8, x9, lsl #3]
add x1, sp, #80
bl _stat
str w0, [sp, #60]
ldr w8, [sp, #60]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #112]
str x8, [sp, #48]
ldr x0, [sp, #72]
ldr x1, [sp, #48]
bl _difftime
fcvtzs x8, d0
add x9, sp, #40
str x9, [sp, #24] ; 8-byte Folded Spill
str x8, [sp, #40]
ldur x8, [x29, #-120]
ldursw x9, [x29, #-124]
ldr x10, [x8, x9, lsl #3]
ldr x8, [sp, #40]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _localtime
mov x3, x0
sub x0, x29, #104
str x0, [sp, #32] ; 8-byte Folded Spill
mov x1, #80
adrp x2, l_.str.2@PAGE
add x2, x2, l_.str.2@PAGEOFF
bl _strftime
ldr x8, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-124]
add w8, w8, #1
stur w8, [x29, #-124]
b LBB0_1
LBB0_7:
ldur w8, [x29, #-108]
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_9
b LBB0_8
LBB0_8:
bl ___stack_chk_fail
LBB0_9:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x28, x27, [sp, #336] ; 16-byte Folded Reload
add sp, sp, #368
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stat failed"
l_.str.1: ; @.str.1
.asciz "file %s has age %ds\n"
l_.str.2: ; @.str.2
.asciz "%j days %k hours %M minutes and %S seconds"
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $320, %rsp ## imm = 0x140
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
movl %edi, -104(%rbp)
movq %rsi, -112(%rbp)
movq $80, -280(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, -272(%rbp)
movl $1, -116(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -116(%rbp), %eax
cmpl -104(%rbp), %eax
jge LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -112(%rbp), %rax
movslq -116(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq -264(%rbp), %rsi
callq _stat$INODE64
movl %eax, -284(%rbp)
cmpl $-1, -284(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -232(%rbp), %rax
movq %rax, -296(%rbp)
movq -272(%rbp), %rdi
movq -296(%rbp), %rsi
callq _difftime
cvttsd2si %xmm0, %rax
movq %rax, -304(%rbp)
movq -112(%rbp), %rax
movslq -116(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -304(%rbp), %rax
movl %eax, %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -96(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
leaq -304(%rbp), %rdi
callq _localtime
movq -312(%rbp), %rdi ## 8-byte Reload
movq %rax, %rcx
movl $80, %esi
leaq L_.str.2(%rip), %rdx
callq _strftime
leaq -96(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB0_1
LBB0_7:
movl -100(%rbp), %eax
movl %eax, -316(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
movl -316(%rbp), %eax ## 4-byte Reload
addq $320, %rsp ## imm = 0x140
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "stat failed"
L_.str.1: ## @.str.1
.asciz "file %s has age %ds\n"
L_.str.2: ## @.str.2
.asciz "%j days %k hours %M minutes and %S seconds"
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/168892315.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
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, #-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.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 the no of numbers :"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "sum of numbers : %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -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
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl -16(%rbp), %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.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 "enter the no of numbers :"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "sum of numbers : %d"
.subsections_via_symbols
| the_stack_data/1050047.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1056
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
add x0, sp, #38
str x0, [sp, #16] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
str w8, [sp, #24]
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #38
ldrsb w8, [x8, x9]
subs w8, w8, #112
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #38
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w9, w8, #1
add x8, sp, #38
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #112
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w9, w8, #1
add x8, sp, #38
ldrsb w10, [x8, w9, sxtw]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_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, LBB0_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
mov w0, #0
add sp, sp, #1056
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 "%c"
l_.str.1: ; @.str.1
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1040, %rsp ## imm = 0x410
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1028(%rbp)
movl $0, -1032(%rbp)
movl $0, -1036(%rbp)
leaq -1024(%rbp), %rdi
callq _gets
leaq -1024(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -1036(%rbp)
movl $0, -1032(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -1032(%rbp), %eax
cmpl -1036(%rbp), %eax
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -1032(%rbp), %rax
movsbl -1024(%rbp,%rax), %eax
cmpl $112, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -1032(%rbp), %rax
movsbl -1024(%rbp,%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -1032(%rbp), %eax
addl $1, %eax
cltq
movsbl -1024(%rbp,%rax), %eax
cmpl $112, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -1032(%rbp), %eax
addl $1, %eax
cltq
movsbl -1024(%rbp,%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -1032(%rbp), %eax
addl $1, %eax
movl %eax, -1032(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%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
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -1032(%rbp), %eax
addl $1, %eax
movl %eax, -1032(%rbp)
jmp LBB0_1
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $1040, %rsp ## imm = 0x410
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
L_.str.1: ## @.str.1
.space 1
.subsections_via_symbols
| the_stack_data/28262368.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
mov w9, #10
mul w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #16]
ldur w10, [x29, #-12]
sdiv w11, w10, w9
mul w11, w11, w9
subs w10, w10, w11
add w8, w8, w10
str w8, [sp, #16]
ldur w8, [x29, #-12]
sdiv w8, w8, w9
stur w8, [x29, #-12]
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_3
LBB0_3:
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite um numero: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Palindromo"
l_.str.3: ; @.str.3
.asciz "Nao e palindromo"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
imull $10, -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -20(%rbp), %eax ## 4-byte Reload
addl %edx, %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -12(%rbp)
jne LBB0_1
## %bb.3:
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB0_5
## %bb.4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite um numero: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Palindromo"
L_.str.3: ## @.str.3
.asciz "Nao e palindromo"
.subsections_via_symbols
| the_stack_data/97012977.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/182952008.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _r2_str_is_equ ; -- Begin function r2_str_is_equ
.p2align 2
_r2_str_is_equ: ; @r2_str_is_equ
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [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, ne
mov w9, #1
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
ldr x9, [sp, #8]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_1
LBB0_7:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB0_8
LBB0_8:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _r2_str_is_equ ## -- Begin function r2_str_is_equ
.p2align 4, 0x90
_r2_str_is_equ: ## @r2_str_is_equ
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
setne %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
movq -24(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
je LBB0_6
## %bb.5:
movb $0, -1(%rbp)
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_1
LBB0_7:
movb $1, -1(%rbp)
LBB0_8:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/22013753.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function simple_set_radio_freq
_simple_set_radio_freq: ; @simple_set_radio_freq
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-40]
stur x1, [x29, #-48]
ldur x8, [x29, #-40]
ldr x8, [x8]
stur x8, [x29, #-64]
ldur x8, [x29, #-48]
ldr w8, [x8]
str w8, [sp, #52]
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
adrp x9, _V4L2_TUNER_MODE_MONO@GOTPAGE
ldr x9, [x9, _V4L2_TUNER_MODE_MONO@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #48]
ldur x8, [x29, #-64]
ldr x8, [x8, #16]
stur x8, [x29, #-56]
ldur x8, [x29, #-56]
ldr w8, [x8]
subs w8, w8, #1
str w8, [sp, #68]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-56]
ldr x8, [x8, #8]
ldrsw x9, [sp, #68]
mov x10, #96
mul x9, x9, x10
ldr x8, [x8, x9]
adrp x9, _TUNER_PARAM_TYPE_RADIO@GOTPAGE
ldr x9, [x9, _TUNER_PARAM_TYPE_RADIO@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #68]
subs w8, w8, #1
str w8, [sp, #68]
b LBB0_1
LBB0_6:
ldur x8, [x29, #-56]
ldr x8, [x8, #8]
ldrsw x9, [sp, #68]
mov x10, #96
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #56]
ldr x8, [sp, #56]
ldr w8, [x8, #8]
str w8, [sp, #20] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_12
LBB0_9:
ldr w8, [sp, #52]
mov w9, #40128
movk w9, #2, lsl #16
add w8, w8, w9
str w8, [sp, #52]
b LBB0_13
LBB0_10:
ldr w8, [sp, #52]
mov w9, #8512
movk w9, #8, lsl #16
add w8, w8, w9
str w8, [sp, #52]
b LBB0_13
LBB0_11:
ldr w8, [sp, #52]
mov w9, #5440
movk w9, #10, lsl #16
add w8, w8, w9
str w8, [sp, #52]
b LBB0_13
LBB0_12:
ldr x8, [sp, #56]
ldr w1, [x8, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _tuner_warn
stur wzr, [x29, #-28]
b LBB0_41
LBB0_13:
ldr x8, [sp, #56]
ldr x8, [x8, #88]
ldr w8, [x8]
adrp x9, _TUNER_RATIO_MASK@GOTPAGE
ldr x9, [x9, _TUNER_RATIO_MASK@GOTPAGEOFF]
ldr w9, [x9]
bic w8, w8, w9
adrp x9, _TUNER_RATIO_SELECT_50@GOTPAGE
ldr x9, [x9, _TUNER_RATIO_SELECT_50@GOTPAGEOFF]
ldr w9, [x9]
orr w8, w8, w9
sub x1, x29, #24
stur w8, [x29, #-16]
ldur x0, [x29, #-40]
bl _simple_radio_bandswitch
ldr w8, [sp, #52]
add w8, w8, #400
mov w9, #800
udiv w8, w8, w9
stur w8, [x29, #-68]
ldr x8, [sp, #56]
ldr x8, [x8, #80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14:
ldur w8, [x29, #-68]
ldur x9, [x29, #-64]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldur w8, [x29, #-16]
stur w8, [x29, #-24]
ldur w8, [x29, #-12]
stur w8, [x29, #-20]
ldur w8, [x29, #-68]
asr w8, w8, #8
and w8, w8, #0x7f
stur w8, [x29, #-16]
ldurb w8, [x29, #-68]
stur w8, [x29, #-12]
b LBB0_17
LBB0_16:
ldur w8, [x29, #-68]
asr w8, w8, #8
and w8, w8, #0x7f
stur w8, [x29, #-24]
ldurb w8, [x29, #-68]
stur w8, [x29, #-20]
b LBB0_17
LBB0_17:
ldur w1, [x29, #-24]
ldur w2, [x29, #-20]
ldur w3, [x29, #-16]
ldur w4, [x29, #-12]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _tuner_dbg
ldur w8, [x29, #-68]
ldur x9, [x29, #-64]
str w8, [x9]
ldr x8, [sp, #56]
ldr x8, [x8, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_18
LBB0_18:
add x8, sp, #44
str wzr, [sp, #44]
adrp x9, _TUNER_TDA9887@GOTPAGE
ldr x9, [x9, _TUNER_TDA9887@GOTPAGEOFF]
ldr w9, [x9]
str w9, [sp, #32]
str x8, [sp, #24]
ldr x8, [sp, #56]
ldr x8, [x8, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19:
ldr x8, [sp, #56]
ldr w8, [x8, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
adrp x8, _TDA9887_PORT1_ACTIVE@GOTPAGE
ldr x8, [x8, _TDA9887_PORT1_ACTIVE@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #44]
orr w8, w8, w9
str w8, [sp, #44]
b LBB0_21
LBB0_21:
ldr x8, [sp, #56]
ldr x8, [x8, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_24
b LBB0_22
LBB0_22:
ldr x8, [sp, #56]
ldr w8, [x8, #40]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
adrp x8, _TDA9887_PORT2_ACTIVE@GOTPAGE
ldr x8, [x8, _TDA9887_PORT2_ACTIVE@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #44]
orr w8, w8, w9
str w8, [sp, #44]
b LBB0_24
LBB0_24:
ldr x8, [sp, #56]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
adrp x8, _TDA9887_INTERCARRIER@GOTPAGE
ldr x8, [x8, _TDA9887_INTERCARRIER@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #44]
orr w8, w8, w9
str w8, [sp, #44]
b LBB0_26
LBB0_26:
ldr x8, [sp, #56]
ldr x8, [x8, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_29
b LBB0_27
LBB0_27:
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
adrp x8, _TDA9887_PORT1_ACTIVE@GOTPAGE
ldr x8, [x8, _TDA9887_PORT1_ACTIVE@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #44]
bic w8, w8, w9
str w8, [sp, #44]
b LBB0_29
LBB0_29:
ldr x8, [sp, #56]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30:
adrp x8, _TDA9887_GAIN_NORMAL@GOTPAGE
ldr x8, [x8, _TDA9887_GAIN_NORMAL@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #44]
orr w8, w8, w9
str w8, [sp, #44]
b LBB0_31
LBB0_31:
ldr x8, [sp, #56]
ldr w8, [x8, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
adrp x8, _TDA9887_RIF_41_3@GOTPAGE
ldr x8, [x8, _TDA9887_RIF_41_3@GOTPAGEOFF]
ldr w9, [x8]
ldr w8, [sp, #44]
orr w8, w8, w9
str w8, [sp, #44]
b LBB0_33
LBB0_33:
ldur x8, [x29, #-64]
ldr w0, [x8, #8]
adrp x8, _TUNER_SET_CONFIG@GOTPAGE
ldr x8, [x8, _TUNER_SET_CONFIG@GOTPAGEOFF]
ldr w1, [x8]
add x2, sp, #24
bl _i2c_clients_command
b LBB0_34
LBB0_34:
ldur x8, [x29, #-64]
add x0, x8, #8
sub x1, x29, #24
mov w2, #4
str w2, [sp, #16] ; 4-byte Folded Spill
bl _tuner_i2c_xfer_send
ldr w8, [sp, #16] ; 4-byte Folded Reload
str w0, [sp, #72]
ldr w9, [sp, #72]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_35
LBB0_35:
ldr w1, [sp, #72]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _tuner_warn
b LBB0_36
LBB0_36:
ldur x8, [x29, #-64]
ldr w8, [x8, #4]
subs w8, w8, #128
cset w8, ne
tbnz w8, #0, LBB0_40
b LBB0_37
LBB0_37:
sub x1, x29, #24
mov w8, #152
stur w8, [x29, #-16]
mov w8, #32
stur w8, [x29, #-12]
ldur x8, [x29, #-64]
add x0, x8, #8
mov w2, #4
str w2, [sp, #12] ; 4-byte Folded Spill
bl _tuner_i2c_xfer_send
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w0, [sp, #72]
ldr w9, [sp, #72]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
ldr w1, [sp, #72]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _tuner_warn
b LBB0_39
LBB0_39:
b LBB0_40
LBB0_40:
stur wzr, [x29, #-28]
b LBB0_41
LBB0_41:
ldur w8, [x29, #-28]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42:
bl ___stack_chk_fail
LBB0_43:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.comm _V4L2_TUNER_MODE_MONO,8,3 ; @V4L2_TUNER_MODE_MONO
.comm _TUNER_PARAM_TYPE_RADIO,8,3 ; @TUNER_PARAM_TYPE_RADIO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unsupported radio_if value %d\n"
.comm _TUNER_RATIO_MASK,4,2 ; @TUNER_RATIO_MASK
.comm _TUNER_RATIO_SELECT_50,4,2 ; @TUNER_RATIO_SELECT_50
l_.str.1: ; @.str.1
.asciz "radio 0x%02x 0x%02x 0x%02x 0x%02x\n"
.comm _TUNER_TDA9887,4,2 ; @TUNER_TDA9887
.comm _TDA9887_PORT1_ACTIVE,4,2 ; @TDA9887_PORT1_ACTIVE
.comm _TDA9887_PORT2_ACTIVE,4,2 ; @TDA9887_PORT2_ACTIVE
.comm _TDA9887_INTERCARRIER,4,2 ; @TDA9887_INTERCARRIER
.comm _TDA9887_GAIN_NORMAL,4,2 ; @TDA9887_GAIN_NORMAL
.comm _TDA9887_RIF_41_3,4,2 ; @TDA9887_RIF_41_3
.comm _TUNER_SET_CONFIG,4,2 ; @TUNER_SET_CONFIG
l_.str.2: ; @.str.2
.asciz "i2c i/o error: rc == %d (should be 4)\n"
.no_dead_strip _simple_set_radio_freq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function simple_set_radio_freq
_simple_set_radio_freq: ## @simple_set_radio_freq
.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, -48(%rbp)
movq %rsi, -56(%rbp)
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -72(%rbp)
movq -56(%rbp), %rax
movl (%rax), %eax
movl %eax, -100(%rbp)
movq -56(%rbp), %rax
movq 8(%rax), %rax
movq _V4L2_TUNER_MODE_MONO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -104(%rbp)
movq -72(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movl (%rax), %eax
subl $1, %eax
movl %eax, -84(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -84(%rbp)
jle LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rax
movq 8(%rax), %rax
movslq -84(%rbp), %rcx
imulq $96, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq _TUNER_PARAM_TYPE_RADIO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -84(%rbp), %eax
addl $-1, %eax
movl %eax, -84(%rbp)
jmp LBB0_1
LBB0_6:
movq -64(%rbp), %rax
movq 8(%rax), %rax
movslq -84(%rbp), %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -96(%rbp)
movq -96(%rbp), %rax
movl 8(%rax), %eax
movl %eax, -132(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_7
jmp LBB0_42
LBB0_42:
movl -132(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_8
jmp LBB0_43
LBB0_43:
movl -132(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_9
jmp LBB0_10
LBB0_7:
movl -100(%rbp), %eax
addl $171200, %eax ## imm = 0x29CC0
movl %eax, -100(%rbp)
jmp LBB0_11
LBB0_8:
movl -100(%rbp), %eax
addl $532800, %eax ## imm = 0x82140
movl %eax, -100(%rbp)
jmp LBB0_11
LBB0_9:
movl -100(%rbp), %eax
addl $660800, %eax ## imm = 0xA1540
movl %eax, -100(%rbp)
jmp LBB0_11
LBB0_10:
movq -96(%rbp), %rax
movl 8(%rax), %esi
leaq L_.str(%rip), %rdi
callq _tuner_warn
movl $0, -36(%rbp)
jmp LBB0_39
LBB0_11:
movq -96(%rbp), %rax
movq 88(%rax), %rax
movl (%rax), %eax
movq _TUNER_RATIO_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
xorl $-1, %ecx
andl %ecx, %eax
movq _TUNER_RATIO_SELECT_50@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, -24(%rbp)
movq -48(%rbp), %rdi
leaq -32(%rbp), %rsi
callq _simple_radio_bandswitch
movl -100(%rbp), %eax
addl $400, %eax ## imm = 0x190
movl $800, %ecx ## imm = 0x320
xorl %edx, %edx
divl %ecx
movl %eax, -76(%rbp)
movq -96(%rbp), %rax
cmpq $0, 80(%rax)
je LBB0_14
## %bb.12:
movl -76(%rbp), %eax
movq -72(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_14
## %bb.13:
movl -24(%rbp), %eax
movl %eax, -32(%rbp)
movl -20(%rbp), %eax
movl %eax, -28(%rbp)
movl -76(%rbp), %eax
sarl $8, %eax
andl $127, %eax
movl %eax, -24(%rbp)
movl -76(%rbp), %eax
andl $255, %eax
movl %eax, -20(%rbp)
jmp LBB0_15
LBB0_14:
movl -76(%rbp), %eax
sarl $8, %eax
andl $127, %eax
movl %eax, -32(%rbp)
movl -76(%rbp), %eax
andl $255, %eax
movl %eax, -28(%rbp)
LBB0_15:
movl -32(%rbp), %esi
movl -28(%rbp), %edx
movl -24(%rbp), %ecx
movl -20(%rbp), %r8d
leaq L_.str.1(%rip), %rdi
callq _tuner_dbg
movl -76(%rbp), %ecx
movq -72(%rbp), %rax
movl %ecx, (%rax)
movq -96(%rbp), %rax
cmpq $0, 72(%rax)
je LBB0_32
## %bb.16:
movl $0, -108(%rbp)
movq _TUNER_TDA9887@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -120(%rbp)
leaq -108(%rbp), %rax
movq %rax, -128(%rbp)
movq -96(%rbp), %rax
cmpq $0, 64(%rax)
je LBB0_19
## %bb.17:
movq -96(%rbp), %rax
cmpl $0, 56(%rax)
jne LBB0_19
## %bb.18:
movq _TDA9887_PORT1_ACTIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -108(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_19:
movq -96(%rbp), %rax
cmpq $0, 48(%rax)
je LBB0_22
## %bb.20:
movq -96(%rbp), %rax
cmpl $0, 40(%rax)
jne LBB0_22
## %bb.21:
movq _TDA9887_PORT2_ACTIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -108(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_22:
movq -96(%rbp), %rax
cmpq $0, 32(%rax)
je LBB0_24
## %bb.23:
movq _TDA9887_INTERCARRIER@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -108(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_24:
movq -96(%rbp), %rax
cmpq $0, 24(%rax)
je LBB0_27
## %bb.25:
cmpl $0, -104(%rbp)
je LBB0_27
## %bb.26:
movq _TDA9887_PORT1_ACTIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl $-1, %eax
andl -108(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_27:
movq -96(%rbp), %rax
cmpq $0, 16(%rax)
je LBB0_29
## %bb.28:
movq _TDA9887_GAIN_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -108(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_29:
movq -96(%rbp), %rax
cmpl $2, 8(%rax)
jne LBB0_31
## %bb.30:
movq _TDA9887_RIF_41_3@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -108(%rbp), %eax
movl %eax, -108(%rbp)
LBB0_31:
movq -72(%rbp), %rax
movl 8(%rax), %edi
movq _TUNER_SET_CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -128(%rbp), %rdx
callq _i2c_clients_command
LBB0_32:
movq -72(%rbp), %rdi
addq $8, %rdi
leaq -32(%rbp), %rsi
movl $4, %edx
callq _tuner_i2c_xfer_send
movl %eax, -80(%rbp)
movl $4, %eax
cmpl -80(%rbp), %eax
je LBB0_34
## %bb.33:
movl -80(%rbp), %esi
leaq L_.str.2(%rip), %rdi
callq _tuner_warn
LBB0_34:
movq -72(%rbp), %rax
movl 4(%rax), %eax
subl $128, %eax
jne LBB0_38
jmp LBB0_35
LBB0_35:
movl $152, -24(%rbp)
movl $32, -20(%rbp)
movq -72(%rbp), %rdi
addq $8, %rdi
leaq -32(%rbp), %rsi
movl $4, %edx
callq _tuner_i2c_xfer_send
movl %eax, -80(%rbp)
movl $4, %eax
cmpl -80(%rbp), %eax
je LBB0_37
## %bb.36:
movl -80(%rbp), %esi
leaq L_.str.2(%rip), %rdi
callq _tuner_warn
LBB0_37:
jmp LBB0_38
LBB0_38:
movl $0, -36(%rbp)
LBB0_39:
movl -36(%rbp), %eax
movl %eax, -136(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_41
## %bb.40:
movl -136(%rbp), %eax ## 4-byte Reload
addq $144, %rsp
popq %rbp
retq
LBB0_41:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _V4L2_TUNER_MODE_MONO,8,3 ## @V4L2_TUNER_MODE_MONO
.comm _TUNER_PARAM_TYPE_RADIO,8,3 ## @TUNER_PARAM_TYPE_RADIO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unsupported radio_if value %d\n"
.comm _TUNER_RATIO_MASK,4,2 ## @TUNER_RATIO_MASK
.comm _TUNER_RATIO_SELECT_50,4,2 ## @TUNER_RATIO_SELECT_50
L_.str.1: ## @.str.1
.asciz "radio 0x%02x 0x%02x 0x%02x 0x%02x\n"
.comm _TUNER_TDA9887,4,2 ## @TUNER_TDA9887
.comm _TDA9887_PORT1_ACTIVE,4,2 ## @TDA9887_PORT1_ACTIVE
.comm _TDA9887_PORT2_ACTIVE,4,2 ## @TDA9887_PORT2_ACTIVE
.comm _TDA9887_INTERCARRIER,4,2 ## @TDA9887_INTERCARRIER
.comm _TDA9887_GAIN_NORMAL,4,2 ## @TDA9887_GAIN_NORMAL
.comm _TDA9887_RIF_41_3,4,2 ## @TDA9887_RIF_41_3
.comm _TUNER_SET_CONFIG,4,2 ## @TUNER_SET_CONFIG
L_.str.2: ## @.str.2
.asciz "i2c i/o error: rc == %d (should be 4)\n"
.no_dead_strip _simple_set_radio_freq
.subsections_via_symbols
| the_stack_data/50137741.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _some_int_array@GOTPAGE
ldr x8, [x8, _some_int_array@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #15
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_4
LBB0_4:
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5:
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x9, [sp, #8]
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, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #16
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_7:
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
ldr x8, [sp] ; 8-byte Folded Reload
mov w9, #5
str w9, [x8, #20]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #19
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_11:
b LBB0_12
LBB0_12:
ldr x8, [sp] ; 8-byte Folded Reload
ldr w8, [x8, #20]
subs w8, w8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #20
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_14:
b LBB0_15
LBB0_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _some_int_array,40,2 ; @some_int_array
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "402713.c"
l_.str.1: ; @.str.1
.asciz "some_int_array[1]==0"
l_.str.2: ; @.str.2
.asciz "some_int_array[i]==0"
l_.str.3: ; @.str.3
.asciz "some_int_array[5]==5"
.comm _some_struct_array,120,2 ; @some_struct_array
.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 _some_int_array@GOTPCREL(%rip), %rax
cmpl $0, 4(%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
cmpl $0, -8(%rbp)
jl LBB0_9
## %bb.4:
cmpl $10, -8(%rbp)
jge LBB0_9
## %bb.5:
movslq -8(%rbp), %rcx
movq _some_int_array@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_7
## %bb.6:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $16, %edx
callq ___assert_rtn
LBB0_7:
jmp LBB0_8
LBB0_8:
jmp LBB0_9
LBB0_9:
movq _some_int_array@GOTPCREL(%rip), %rax
movl $5, 20(%rax)
movq _some_int_array@GOTPCREL(%rip), %rax
cmpl $0, 4(%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_11
## %bb.10:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $19, %edx
callq ___assert_rtn
LBB0_11:
jmp LBB0_12
LBB0_12:
movq _some_int_array@GOTPCREL(%rip), %rax
cmpl $5, 20(%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_14
## %bb.13:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $20, %edx
callq ___assert_rtn
LBB0_14:
jmp LBB0_15
LBB0_15:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _some_int_array,40,4 ## @some_int_array
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "402713.c"
L_.str.1: ## @.str.1
.asciz "some_int_array[1]==0"
L_.str.2: ## @.str.2
.asciz "some_int_array[i]==0"
L_.str.3: ## @.str.3
.asciz "some_int_array[5]==5"
.comm _some_struct_array,120,4 ## @some_struct_array
.subsections_via_symbols
| the_stack_data/402713.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 x9, l___const.main.s@PAGE
add x9, x9, l___const.main.s@PAGEOFF
ldr x10, [x9]
add x8, sp, #24
str x8, [sp, #8] ; 8-byte Folded Spill
str x10, [sp, #24]
ldrh w9, [x9, #8]
strh w9, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _rev_string
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #24
ldrsb w0, [x8, x9]
bl _putchar
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:
mov w0, #10
bl _putchar
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _rev_string ; -- Begin function rev_string
.p2align 2
_rev_string: ; @rev_string
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #20]
add w9, w9, #1
str w9, [sp, #20]
add x8, x8, w9, sxtw
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_3:
str wzr, [sp, #16]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
ldr x8, [sp, #24]
ldr w9, [sp, #20]
subs w9, w9, #1
ldr w10, [sp, #16]
subs w9, w9, w10
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
add x9, x9, x10
strb w8, [x9]
ldrb w8, [sp, #15]
ldr x9, [sp, #24]
ldr w10, [sp, #20]
subs w10, w10, #1
ldr w11, [sp, #16]
subs w10, w10, w11
add x9, x9, w10, sxtw
strb w8, [x9]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_4
LBB1_7:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.main.s: ; @__const.main.s
.asciz "ABCDEFG\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\345\260\206\345\255\227\347\254\246\344\270\262%s\351\200\206\345\220\221\346\216\222\345\272\217:\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)
movl $0, -24(%rbp)
movq l___const.main.s(%rip), %rax
movq %rax, -18(%rbp)
movw l___const.main.s+8(%rip), %ax
movw %ax, -10(%rbp)
leaq -18(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -18(%rbp), %rdi
callq _rev_string
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -28(%rbp), %rax
movsbl -18(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -28(%rbp), %rax
movsbl -18(%rbp,%rax), %edi
callq _putchar
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_4:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _rev_string ## -- Begin function rev_string
.p2align 4, 0x90
_rev_string: ## @rev_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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movl %ecx, -12(%rbp)
movslq %ecx, %rcx
cmpb $0, (%rax,%rcx)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_3:
movl $0, -16(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB1_7
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
subl -16(%rbp), %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movb %dl, (%rax,%rcx)
movb -17(%rbp), %dl
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
subl -16(%rbp), %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_4
LBB1_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l___const.main.s: ## @__const.main.s
.asciz "ABCDEFG\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\345\260\206\345\255\227\347\254\246\344\270\262%s\351\200\206\345\220\221\346\216\222\345\272\217:\n"
.subsections_via_symbols
| the_stack_data/157079.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #60]
str w0, [sp, #56]
str x1, [sp, #48]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #44]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #44]
sub x8, x29, #48
str x8, [sp, #24] ; 8-byte Folded Spill
add x10, x8, x9, lsl #2
ldrsw x9, [sp, #44]
sub x8, x29, #88
str x8, [sp, #32] ; 8-byte Folded Spill
add x8, x8, x9, lsl #2
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
bl _getchar
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldrsw x10, [sp, #44]
ldr w8, [x8, x10, lsl #2]
ldrsw x10, [sp, #44]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
ldrsw x10, [sp, #44]
add x9, sp, #64
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_1
LBB0_4:
str wzr, [sp, #40]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #40]
sub x8, x29, #48
ldr w8, [x8, x9, lsl #2]
; implicit-def: $x10
mov x10, x8
ldrsw x9, [sp, #40]
sub x8, x29, #88
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldrsw x9, [sp, #40]
add x8, sp, #64
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 LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_5
LBB0_8:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
bl ___stack_chk_fail
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Diga o valor de A e B e eu te digo A - B\n"
l_.str.1: ; @.str.1
.asciz "%i %i"
l_.str.2: ; @.str.2
.asciz "C = %i - %i = "
l_.str.3: ; @.str.3
.asciz "%i\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -148(%rbp)
movl %edi, -152(%rbp)
movq %rsi, -160(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -164(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -164(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -164(%rbp), %rax
leaq -48(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
movslq -164(%rbp), %rax
leaq -96(%rbp), %rdx
shlq $2, %rax
addq %rax, %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
callq _getchar
movslq -164(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
movslq -164(%rbp), %rax
subl -96(%rbp,%rax,4), %ecx
movslq -164(%rbp), %rax
movl %ecx, -144(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -164(%rbp), %eax
addl $1, %eax
movl %eax, -164(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -168(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -168(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -168(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
movslq -168(%rbp), %rax
movl -96(%rbp,%rax,4), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movslq -168(%rbp), %rax
movl -144(%rbp,%rax,4), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -168(%rbp)
jmp LBB0_5
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Diga o valor de A e B e eu te digo A - B\n"
L_.str.1: ## @.str.1
.asciz "%i %i"
L_.str.2: ## @.str.2
.asciz "C = %i - %i = "
L_.str.3: ## @.str.3
.asciz "%i\n"
.subsections_via_symbols
| the_stack_data/150141988.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, #5
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_14
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=2
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_14:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "* "
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $5, -8(%rbp)
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $1, -12(%rbp)
jl LBB0_14
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_12
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_9
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_10: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_14:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "* "
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/114554.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
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]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d%d"
l_.str.1: ; @.str.1
.asciz "A = %d, B = %d, C = %d\n"
l_.str.2: ; @.str.2
.asciz "A = %10d, B = %10d, C = %10d\n"
l_.str.3: ; @.str.3
.asciz "A = %010d, B = %010d, C = %010d\n"
l_.str.4: ; @.str.4
.asciz "A = %-10d, B = %-10d, C = %-10d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d%d"
L_.str.1: ## @.str.1
.asciz "A = %d, B = %d, C = %d\n"
L_.str.2: ## @.str.2
.asciz "A = %10d, B = %10d, C = %10d\n"
L_.str.3: ## @.str.3
.asciz "A = %010d, B = %010d, C = %010d\n"
L_.str.4: ## @.str.4
.asciz "A = %-10d, B = %-10d, C = %-10d\n"
.subsections_via_symbols
| the_stack_data/159515279.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _vi0@GOTPAGE
ldr x8, [x8, _vi0@GOTPAGEOFF]
str wzr, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
adrp x8, _vi1@GOTPAGE
ldr x8, [x8, _vi1@GOTPAGEOFF]
str wzr, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
stur x0, [x29, #-8] ; 8-byte Folded Spill
bl _printf
adrp x8, _vi2@GOTPAGE
ldr x8, [x8, _vi2@GOTPAGEOFF]
str wzr, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
adrp x8, _vi3@GOTPAGE
ldr x8, [x8, _vi3@GOTPAGEOFF]
str wzr, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x9, _vi4@GOTPAGE
ldr x9, [x9, _vi4@GOTPAGEOFF]
str wzr, [x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
stur x0, [x29, #-16] ; 8-byte Folded Spill
bl _printf
ldur x8, [x29, #-8] ; 8-byte Folded Reload
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x9, _vi5@GOTPAGE
ldr x9, [x9, _vi5@GOTPAGEOFF]
str wzr, [x9]
mov x9, sp
str x8, [x9]
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x9, _vi6@GOTPAGE
ldr x9, [x9, _vi6@GOTPAGEOFF]
str wzr, [x9]
mov x9, sp
str x8, [x9]
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x0, [x29, #-16] ; 8-byte Folded Reload
adrp x9, _vi7@GOTPAGE
ldr x9, [x9, _vi7@GOTPAGEOFF]
str wzr, [x9]
mov x9, sp
str x8, [x9]
bl _printf
adrp x8, _vi8@GOTPAGE
ldr x8, [x8, _vi8@GOTPAGEOFF]
str wzr, [x8]
mov x9, sp
mov x8, #120
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x8, [x29, #-8] ; 8-byte Folded Reload
adrp x9, _vi9@GOTPAGE
ldr x9, [x9, _vi9@GOTPAGEOFF]
str wzr, [x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
adrp x8, _via@GOTPAGE
ldr x8, [x8, _via@GOTPAGEOFF]
str wzr, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _vi0,4,2 ; @vi0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello"
.comm _vi1,4,2 ; @vi1
l_.str.1: ; @.str.1
.asciz "hello\n"
.comm _vi2,4,2 ; @vi2
l_.str.2: ; @.str.2
.asciz "a"
.comm _vi3,4,2 ; @vi3
l_.str.3: ; @.str.3
.space 1
.comm _vi4,4,2 ; @vi4
l_.str.4: ; @.str.4
.asciz "%s"
.comm _vi5,4,2 ; @vi5
.comm _vi6,4,2 ; @vi6
.comm _vi7,4,2 ; @vi7
.comm _vi8,4,2 ; @vi8
l_.str.5: ; @.str.5
.asciz "%c"
.comm _vi9,4,2 ; @vi9
l_.str.6: ; @.str.6
.asciz "%s\n"
.comm _via,4,2 ; @via
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _vi0@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq _vi1@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq _vi2@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq _vi3@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq _vi4@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.4(%rip), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _printf
movq _vi5@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.4(%rip), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
movq _vi6@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.4(%rip), %rdi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _printf
movq _vi7@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.4(%rip), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _printf
movq _vi8@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.5(%rip), %rdi
movl $120, %esi
movb $0, %al
callq _printf
movq _vi9@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.6(%rip), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
movq _via@GOTPCREL(%rip), %rax
movl $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _vi0,4,2 ## @vi0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello"
.comm _vi1,4,2 ## @vi1
L_.str.1: ## @.str.1
.asciz "hello\n"
.comm _vi2,4,2 ## @vi2
L_.str.2: ## @.str.2
.asciz "a"
.comm _vi3,4,2 ## @vi3
L_.str.3: ## @.str.3
.space 1
.comm _vi4,4,2 ## @vi4
L_.str.4: ## @.str.4
.asciz "%s"
.comm _vi5,4,2 ## @vi5
.comm _vi6,4,2 ## @vi6
.comm _vi7,4,2 ## @vi7
.comm _vi8,4,2 ## @vi8
L_.str.5: ## @.str.5
.asciz "%c"
.comm _vi9,4,2 ## @vi9
L_.str.6: ## @.str.6
.asciz "%s\n"
.comm _via,4,2 ## @via
.subsections_via_symbols
| the_stack_data/161079450.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, #704
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #92]
mov x9, sp
add x8, sp, #96
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #56] ; 8-byte Folded Spill
bl _scanf
ldr x0, [sp, #56] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #196
str x8, [sp, #64] ; 8-byte Folded Spill
str x8, [x9]
bl _scanf
ldr x0, [sp, #64] ; 8-byte Folded Reload
bl _atoi
str w0, [sp, #88]
str wzr, [sp, #84]
str wzr, [sp, #84]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #84]
add x8, sp, #96
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #84]
add x8, sp, #96
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #84]
add x8, sp, #96
ldrsb w8, [x8, x9]
subs w8, w8, #48
ldrsw x10, [sp, #84]
add x9, sp, #296
str w8, [x9, x10, lsl #2]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB0_1
LBB0_6:
str wzr, [sp, #80]
str wzr, [sp, #76]
ldr w8, [sp, #84]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_7
LBB0_7:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10:
ldr w8, [sp, #84]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_11
LBB0_11:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr w8, [sp, #296]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #300]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #304]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #76]
b LBB0_13
LBB0_13:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldr w8, [sp, #296]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #300]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #304]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #76]
b LBB0_15
LBB0_15:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldr w8, [sp, #296]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #300]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #304]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #76]
b LBB0_17
LBB0_17:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
ldr w9, [sp, #304]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
ldr w8, [sp, #296]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #300]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #304]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #76]
b LBB0_19
LBB0_19:
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
ldr w8, [sp, #84]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_23
LBB0_23:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
ldr w9, [sp, #308]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
ldr w8, [sp, #296]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #300]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #304]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #308]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #76]
b LBB0_25
LBB0_25:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
ldr w9, [sp, #304]
subs w8, w8, w9
ldr w9, [sp, #308]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #300]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #304]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #308]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_27
LBB0_27:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
ldr w9, [sp, #308]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #300]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #304]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #308]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_29
LBB0_29:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
subs w8, w8, w9
ldr w9, [sp, #308]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #300]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #304]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #308]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_31
LBB0_31:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
ldr w9, [sp, #308]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #300]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #304]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #308]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x13, [x9]
str x12, [x9, #8]
str x11, [x9, #16]
str x10, [x9, #24]
str x8, [x9, #32]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_33
LBB0_33:
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_35
LBB0_35:
b LBB0_36
LBB0_36:
ldr w8, [sp, #84]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB0_50
b LBB0_37
LBB0_37:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
ldr w9, [sp, #308]
add w8, w8, w9
ldr w9, [sp, #312]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #300]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #304]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #308]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #312]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_39
LBB0_39:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
subs w8, w8, w9
ldr w9, [sp, #308]
add w8, w8, w9
ldr w9, [sp, #312]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #300]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #304]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #308]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #312]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_41
LBB0_41:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
add w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
ldr w9, [sp, #308]
add w8, w8, w9
ldr w9, [sp, #312]
subs w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #300]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #304]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #308]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #312]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_43
LBB0_43:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
ldr w9, [sp, #304]
subs w8, w8, w9
ldr w9, [sp, #308]
add w8, w8, w9
ldr w9, [sp, #312]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #300]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #304]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #308]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #312]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_45
LBB0_45:
ldr w8, [sp, #296]
ldr w9, [sp, #300]
subs w8, w8, w9
ldr w9, [sp, #304]
add w8, w8, w9
ldr w9, [sp, #308]
subs w8, w8, w9
ldr w9, [sp, #312]
add w8, w8, w9
str w8, [sp, #80]
ldr w8, [sp, #80]
ldr w9, [sp, #88]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_47
b LBB0_46
LBB0_46:
mov w8, #1
str w8, [sp, #76]
ldr w8, [sp, #296]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #300]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #304]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #308]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #312]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x14, [x9]
str x13, [x9, #8]
str x12, [x9, #16]
str x11, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB0_47
LBB0_47:
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_49
b LBB0_48
LBB0_48:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_49
LBB0_49:
b LBB0_50
LBB0_50:
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_52
b LBB0_51
LBB0_51:
bl ___stack_chk_fail
LBB0_52:
mov w0, #0
add sp, sp, #704
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "-1\n"
l_.str.2: ; @.str.2
.asciz "%d+%d+%d=%d\n"
l_.str.3: ; @.str.3
.asciz "%d+%d-%d=%d\n"
l_.str.4: ; @.str.4
.asciz "%d-%d-%d=%d\n"
l_.str.5: ; @.str.5
.asciz "%d+%d+%d+%d=%d\n"
l_.str.6: ; @.str.6
.asciz "%d-%d-%d+%d=%d\n"
l_.str.7: ; @.str.7
.asciz "%d+%d+%d-%d=%d\n"
l_.str.8: ; @.str.8
.asciz "%d+%d-%d-%d=%d\n"
l_.str.9: ; @.str.9
.asciz "%d-%d+%d-%d=%d\n"
l_.str.10: ; @.str.10
.asciz "%d+%d+%d+%d+%d=%d\n"
l_.str.11: ; @.str.11
.asciz "%d-%d-%d+%d+%d=%d\n"
l_.str.12: ; @.str.12
.asciz "%d+%d+%d+%d-%d=%d\n"
l_.str.13: ; @.str.13
.asciz "%d-%d+%d-%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 $672, %rsp ## imm = 0x2A0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -644(%rbp)
leaq -640(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
leaq -528(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
leaq -528(%rbp), %rdi
callq _atoi
movl %eax, -648(%rbp)
movl $0, -652(%rbp)
movl $0, -652(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -652(%rbp), %rax
cmpb $0, -640(%rbp,%rax)
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -652(%rbp), %rax
movsbl -640(%rbp,%rax), %eax
cmpl $32, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -652(%rbp), %rax
movsbl -640(%rbp,%rax), %ecx
subl $48, %ecx
movslq -652(%rbp), %rax
movl %ecx, -416(%rbp,%rax,4)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -652(%rbp), %eax
addl $1, %eax
movl %eax, -652(%rbp)
jmp LBB0_1
LBB0_6:
movl $0, -656(%rbp)
movl $0, -660(%rbp)
cmpl $2, -652(%rbp)
jne LBB0_10
## %bb.7:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
movl %eax, -656(%rbp)
movl -416(%rbp), %eax
subl -412(%rbp), %eax
movl %eax, -656(%rbp)
cmpl $0, -660(%rbp)
jne LBB0_9
## %bb.8:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_9:
jmp LBB0_10
LBB0_10:
cmpl $3, -652(%rbp)
jne LBB0_22
## %bb.11:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
addl -408(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_13
## %bb.12:
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -656(%rbp), %r8d
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -660(%rbp)
LBB0_13:
movl -416(%rbp), %eax
subl -412(%rbp), %eax
addl -408(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_15
## %bb.14:
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -656(%rbp), %r8d
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -660(%rbp)
LBB0_15:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
subl -408(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_17
## %bb.16:
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -656(%rbp), %r8d
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -660(%rbp)
LBB0_17:
movl -416(%rbp), %eax
subl -412(%rbp), %eax
subl -408(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_19
## %bb.18:
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -656(%rbp), %r8d
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -660(%rbp)
LBB0_19:
cmpl $0, -660(%rbp)
jne LBB0_21
## %bb.20:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_21:
jmp LBB0_22
LBB0_22:
cmpl $4, -652(%rbp)
jne LBB0_36
## %bb.23:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
addl -408(%rbp), %eax
addl -404(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_25
## %bb.24:
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -656(%rbp), %r9d
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -660(%rbp)
LBB0_25:
movl -416(%rbp), %eax
subl -412(%rbp), %eax
subl -408(%rbp), %eax
addl -404(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_27
## %bb.26:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -656(%rbp), %r9d
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_27:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
addl -408(%rbp), %eax
subl -404(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_29
## %bb.28:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -656(%rbp), %r9d
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_29:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
subl -408(%rbp), %eax
subl -404(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_31
## %bb.30:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -656(%rbp), %r9d
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB0_31:
movl -416(%rbp), %eax
subl -412(%rbp), %eax
addl -408(%rbp), %eax
subl -404(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_33
## %bb.32:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -656(%rbp), %r9d
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB0_33:
cmpl $0, -660(%rbp)
jne LBB0_35
## %bb.34:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_35:
jmp LBB0_36
LBB0_36:
cmpl $5, -652(%rbp)
jne LBB0_50
## %bb.37:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
addl -408(%rbp), %eax
addl -404(%rbp), %eax
addl -400(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_39
## %bb.38:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -400(%rbp), %r9d
movl -656(%rbp), %eax
leaq L_.str.10(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
LBB0_39:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
subl -408(%rbp), %eax
addl -404(%rbp), %eax
addl -400(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_41
## %bb.40:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -400(%rbp), %r9d
movl -656(%rbp), %eax
leaq L_.str.11(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
LBB0_41:
movl -416(%rbp), %eax
addl -412(%rbp), %eax
addl -408(%rbp), %eax
addl -404(%rbp), %eax
subl -400(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_43
## %bb.42:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -400(%rbp), %r9d
movl -656(%rbp), %eax
leaq L_.str.12(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
LBB0_43:
movl -416(%rbp), %eax
subl -412(%rbp), %eax
subl -408(%rbp), %eax
addl -404(%rbp), %eax
addl -400(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_45
## %bb.44:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -400(%rbp), %r9d
movl -656(%rbp), %eax
leaq L_.str.11(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
LBB0_45:
movl -416(%rbp), %eax
subl -412(%rbp), %eax
addl -408(%rbp), %eax
subl -404(%rbp), %eax
addl -400(%rbp), %eax
movl %eax, -656(%rbp)
movl -656(%rbp), %eax
cmpl -648(%rbp), %eax
jne LBB0_47
## %bb.46:
movl $1, -660(%rbp)
movl -416(%rbp), %esi
movl -412(%rbp), %edx
movl -408(%rbp), %ecx
movl -404(%rbp), %r8d
movl -400(%rbp), %r9d
movl -656(%rbp), %eax
leaq L_.str.13(%rip), %rdi
movl %eax, (%rsp)
movb $0, %al
callq _printf
LBB0_47:
cmpl $0, -660(%rbp)
jne LBB0_49
## %bb.48:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_49:
jmp LBB0_50
LBB0_50:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_52
## %bb.51:
xorl %eax, %eax
addq $672, %rsp ## imm = 0x2A0
popq %rbp
retq
LBB0_52:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "-1\n"
L_.str.2: ## @.str.2
.asciz "%d+%d+%d=%d\n"
L_.str.3: ## @.str.3
.asciz "%d+%d-%d=%d\n"
L_.str.4: ## @.str.4
.asciz "%d-%d-%d=%d\n"
L_.str.5: ## @.str.5
.asciz "%d+%d+%d+%d=%d\n"
L_.str.6: ## @.str.6
.asciz "%d-%d-%d+%d=%d\n"
L_.str.7: ## @.str.7
.asciz "%d+%d+%d-%d=%d\n"
L_.str.8: ## @.str.8
.asciz "%d+%d-%d-%d=%d\n"
L_.str.9: ## @.str.9
.asciz "%d-%d+%d-%d=%d\n"
L_.str.10: ## @.str.10
.asciz "%d+%d+%d+%d+%d=%d\n"
L_.str.11: ## @.str.11
.asciz "%d-%d-%d+%d+%d=%d\n"
L_.str.12: ## @.str.12
.asciz "%d+%d+%d+%d-%d=%d\n"
L_.str.13: ## @.str.13
.asciz "%d-%d+%d-%d+%d=%d\n"
.subsections_via_symbols
| the_stack_data/61075406.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 x8, x1
mov w1, #0
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _open
str w0, [sp, #12]
ldr w9, [sp, #12]
mov w8, #-1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #5
bl _exit
LBB0_2:
ldr w0, [sp, #12]
mov w1, #0
bl _dup2
mov x8, sp
; kill: def $x9 killed $xzr
str xzr, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x0, x1
bl _execlp
mov w8, #-1
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #8
bl _exit
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "open"
l_.str.1: ; @.str.1
.asciz "wc"
l_.str.2: ; @.str.2
.asciz "exec"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -20(%rbp)
movl $4294967295, %eax ## imm = 0xFFFFFFFF
cmpl -20(%rbp), %eax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $5, %edi
callq _exit
LBB0_2:
movl -20(%rbp), %edi
xorl %esi, %esi
callq _dup2
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
movq %rsi, %rdi
movb $0, %al
callq _execlp
movl %eax, %ecx
movl $4294967295, %eax ## imm = 0xFFFFFFFF
cmpl %ecx, %eax
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $8, %edi
callq _exit
LBB0_4:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "open"
L_.str.1: ## @.str.1
.asciz "wc"
L_.str.2: ## @.str.2
.asciz "exec"
.subsections_via_symbols
| the_stack_data/37636962.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, #3
bl _meow
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _meow ; -- Begin function meow
.p2align 2
_meow: ; @meow
.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 LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "meow\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $3, %edi
callq _meow
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _meow ## -- Begin function meow
.p2align 4, 0x90
_meow: ## @meow
.cfi_startproc
## %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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str(%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
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "meow\n"
.subsections_via_symbols
| the_stack_data/436694.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/97711.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello, world!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello, world!\n"
.subsections_via_symbols
| the_stack_data/148578435.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-16]
stur wzr, [x29, #-12]
stur wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
stur w0, [x29, #-20]
subs w8, w0, #32
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_9:
ldur w8, [x29, #-8]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "blanks ==> %d\ntabs ==> %d\nnewlines ==> %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -16(%rbp)
movl $0, -12(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -20(%rbp)
cmpl $32, %eax
je LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -20(%rbp)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpl $9, -20(%rbp)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, -20(%rbp)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_9:
movl -8(%rbp), %esi
movl -12(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "blanks ==> %d\ntabs ==> %d\nnewlines ==> %d\n"
.subsections_via_symbols
| the_stack_data/115765917.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w0, [sp, #4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
add x0, sp, #8
bl _gets
ldr w8, [sp, #4]
mov w9, #47806
movk w9, #51966, lsl #16
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _system
b LBB0_3
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
mov w0, #48879
movk w0, #57005, lsl #16
bl _func
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "overflow me : "
l_.str.1: ; @.str.1
.asciz "/bin/sh"
l_.str.2: ; @.str.2
.asciz "Nah..\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -52(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
callq _gets
cmpl $-889275714, -52(%rbp) ## imm = 0xCAFEBABE
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _system
jmp LBB0_3
LBB0_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
addq $64, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $3735928559, %edi ## imm = 0xDEADBEEF
callq _func
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "overflow me : "
L_.str.1: ## @.str.1
.asciz "/bin/sh"
L_.str.2: ## @.str.2
.asciz "Nah..\n"
.subsections_via_symbols
| the_stack_data/29684.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_finished ; -- Begin function is_finished
.p2align 2
_is_finished: ; @is_finished
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, _global_mutex@GOTPAGE
ldr x0, [x0, _global_mutex@GOTPAGEOFF]
str x0, [sp] ; 8-byte Folded Spill
bl _sem_wait
ldr x0, [sp] ; 8-byte Folded Reload
adrp x8, _NotEatenCount@PAGE
ldr w8, [x8, _NotEatenCount@PAGEOFF]
stur w8, [x29, #-4]
bl _sem_post
ldur w8, [x29, #-4]
subs w8, w8, #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
.globl _philosopher_thread ; -- Begin function philosopher_thread
.p2align 2
_philosopher_thread: ; @philosopher_thread
.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, _forks@GOTPAGE
ldr x8, [x8, _forks@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
mov w8, #1
stur w8, [x29, #-28]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_4 Depth 2
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_16
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _rand
mov w9, #60
sdiv w8, w0, w9
mul w8, w8, w9
subs w9, w0, w8
mov w8, #100
mul w8, w8, w9
add w9, w8, #1000
mov w8, #500
mul w0, w8, w9
bl _usleep
ldur x8, [x29, #-24]
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, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-24]
ldrsw x9, [x9, #4]
add x8, x8, x9, lsl #3
add x0, x8, #4
bl _sem_trywait
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
bl _rand
mov w9, #50
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #10
str w8, [sp, #32]
b LBB1_4
LBB1_4: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_11
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-24]
ldrsw x9, [x9, #8]
add x8, x8, x9, lsl #3
add x0, x8, #4
bl _sem_trywait
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=2
ldur x8, [x29, #-24]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x8, [x29, #-24]
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_4 Depth=2
adrp x0, _global_mutex@GOTPAGE
ldr x0, [x0, _global_mutex@GOTPAGEOFF]
str x0, [sp, #16] ; 8-byte Folded Spill
bl _sem_wait
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x9, _NotEatenCount@PAGE
ldr w8, [x9, _NotEatenCount@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _NotEatenCount@PAGEOFF]
bl _sem_post
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=2
ldur x9, [x29, #-24]
ldr w8, [x9, #12]
add w8, w8, #1
str w8, [x9, #12]
bl _rand
mov w9, #60
sdiv w8, w0, w9
mul w8, w8, w9
subs w9, w0, w8
mov w8, #100
mul w8, w8, w9
add w9, w8, #1000
mov w8, #500
mul w0, w8, w9
bl _usleep
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-24]
ldrsw x9, [x9, #8]
add x8, x8, x9, lsl #3
add x0, x8, #4
bl _sem_post
ldr w9, [sp, #32]
mov w8, #0
subs w8, w8, w9
str w8, [sp, #32]
b LBB1_10
LBB1_9: ; in Loop: Header=BB1_4 Depth=2
ldr w8, [sp, #32]
subs w8, w8, #1
str w8, [sp, #32]
mov w0, #34464
movk w0, #1, lsl #16
bl _usleep
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=2
b LBB1_4
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldur x9, [x29, #-24]
ldrsw x9, [x9, #4]
add x8, x8, x9, lsl #3
add x0, x8, #4
bl _sem_post
b LBB1_15
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-24]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
bl _is_finished
subs w8, w0, #0
cset w8, eq
and w8, w8, #0x1
stur w8, [x29, #-28]
b LBB1_1
LBB1_16:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _forks@GOTPAGE
ldr x8, [x8, _forks@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov w8, #5
str w8, [sp, #32]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _atoi
str w0, [sp, #32]
b LBB2_2
LBB2_2:
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
ldr w8, [sp, #32]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldr w8, [sp, #32]
subs w8, w8, #1000
cset w8, le
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
mov w8, #5
str w8, [sp, #32]
b LBB2_5
LBB2_5:
ldrsw x9, [sp, #32]
mov x8, #24
mul x0, x8, x9
bl _malloc
stur x0, [x29, #-24]
ldrsw x9, [sp, #32]
mov x8, #8
mul x0, x8, x9
bl _malloc
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x0, [x8]
adrp x0, _global_mutex@GOTPAGE
ldr x0, [x0, _global_mutex@GOTPAGEOFF]
mov w1, #0
mov w2, #1
bl _sem_init
ldr w8, [sp, #32]
adrp x9, _NotEatenCount@PAGE
str w8, [x9, _NotEatenCount@PAGEOFF]
stur wzr, [x29, #-28]
b LBB2_6
LBB2_6: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_12
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_6 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-28]
add x8, x8, x9, lsl #3
add x0, x8, #4
mov w1, #0
mov w2, #1
bl _sem_init
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mov x11, #24
mul x9, x9, x11
add x8, x8, x9
str wzr, [x8, #12]
ldur w8, [x29, #-28]
add w8, w8, #1
ldur x9, [x29, #-24]
ldursw x10, [x29, #-28]
mul x10, x10, x11
str w8, [x9, x10]
ldur w8, [x29, #-28]
ldur x9, [x29, #-24]
ldursw x10, [x29, #-28]
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #4]
ldur w8, [x29, #-28]
add w8, w8, #1
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_6 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
str wzr, [x8, #8]
b LBB2_10
LBB2_9: ; in Loop: Header=BB2_6 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
ldur x9, [x29, #-24]
ldursw x10, [x29, #-28]
mov x11, #24
mul x10, x10, x11
add x9, x9, x10
str w8, [x9, #8]
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_6 Depth=1
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_6 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_6
LBB2_12:
stur wzr, [x29, #-28]
b LBB2_13
LBB2_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_16
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
add x0, x8, #16
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mul x9, x9, x10
add x3, x8, x9
mov x1, #0
adrp x2, _philosopher_thread@PAGE
add x2, x2, _philosopher_thread@PAGEOFF
bl _pthread_create
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_13 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_13
LBB2_16:
b LBB2_17
LBB2_17: ; =>This Inner Loop Header: Depth=1
bl _is_finished
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_17 Depth=1
mov w0, #100
bl _usleep
b LBB2_17
LBB2_19:
stur wzr, [x29, #-28]
b LBB2_20
LBB2_20: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_23
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_20 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mov x10, #24
mul x9, x9, x10
add x8, x8, x9
ldr x0, [x8, #16]
mov x1, #0
bl _pthread_join
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_20 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_20
LBB2_23:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
stur wzr, [x29, #-28]
b LBB2_24
LBB2_24: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_27
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_24 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mov x11, #24
mul x9, x9, x11
ldr w8, [x8, x9]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
mul x9, x9, x11
add x8, x8, x9
ldr w9, [x8, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB2_26
LBB2_26: ; in Loop: Header=BB2_24 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_24
LBB2_27:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _free
ldur x0, [x29, #-24]
bl _free
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _NotEatenCount ; @NotEatenCount
.zerofill __DATA,__common,_NotEatenCount,4,2
.comm _global_mutex,4,2 ; @global_mutex
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Philosopher %d is Thinking\n"
l_.str.1: ; @.str.1
.asciz "Philosopher %d is trying to eat...\n"
.comm _forks,8,3 ; @forks
l_.str.2: ; @.str.2
.asciz "Philosopher %d is Eating\n"
l_.str.3: ; @.str.3
.asciz "Philosopher %d cannot take second fork...\n"
l_.str.4: ; @.str.4
.asciz "Philosopher %d cannot eat at this moment...\n"
l_.str.5: ; @.str.5
.asciz "\nStatistics:\n"
l_.str.6: ; @.str.6
.asciz "Philosopher %d eaten for %d times\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_finished ## -- Begin function is_finished
.p2align 4, 0x90
_is_finished: ## @is_finished
.cfi_startproc
## %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 _global_mutex@GOTPCREL(%rip), %rdi
callq _sem_wait
movl _NotEatenCount(%rip), %eax
movl %eax, -4(%rbp)
movq _global_mutex@GOTPCREL(%rip), %rdi
callq _sem_post
cmpl $0, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _philosopher_thread ## -- Begin function philosopher_thread
.p2align 4, 0x90
_philosopher_thread: ## @philosopher_thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movl $1, -28(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
cmpl $0, -28(%rbp)
je LBB1_16
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _rand
movl $60, %ecx
cltd
idivl %ecx
imull $100, %edx, %eax
addl $1000, %eax ## imm = 0x3E8
imull $500, %eax, %edi ## imm = 0x1F4
callq _usleep
movq -24(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq _forks@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rax
movslq 4(%rax), %rax
shlq $3, %rax
addq %rax, %rdi
addq $4, %rdi
callq _sem_trywait
cmpl $0, %eax
jne LBB1_14
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
callq _rand
movl $50, %ecx
cltd
idivl %ecx
addl $10, %edx
movl %edx, -32(%rbp)
LBB1_4: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -32(%rbp)
jle LBB1_11
## %bb.5: ## in Loop: Header=BB1_4 Depth=2
movq _forks@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rax
movslq 8(%rax), %rax
shlq $3, %rax
addq %rax, %rdi
addq $4, %rdi
callq _sem_trywait
cmpl $0, %eax
jne LBB1_9
## %bb.6: ## in Loop: Header=BB1_4 Depth=2
movq -24(%rbp), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rax
cmpl $0, 12(%rax)
jne LBB1_8
## %bb.7: ## in Loop: Header=BB1_4 Depth=2
movq _global_mutex@GOTPCREL(%rip), %rdi
callq _sem_wait
movl _NotEatenCount(%rip), %eax
addl $-1, %eax
movl %eax, _NotEatenCount(%rip)
movq _global_mutex@GOTPCREL(%rip), %rdi
callq _sem_post
LBB1_8: ## in Loop: Header=BB1_4 Depth=2
movq -24(%rbp), %rax
movl 12(%rax), %ecx
addl $1, %ecx
movl %ecx, 12(%rax)
callq _rand
movl $60, %ecx
cltd
idivl %ecx
imull $100, %edx, %eax
addl $1000, %eax ## imm = 0x3E8
imull $500, %eax, %edi ## imm = 0x1F4
callq _usleep
movq _forks@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rax
movslq 8(%rax), %rax
shlq $3, %rax
addq %rax, %rdi
addq $4, %rdi
callq _sem_post
xorl %eax, %eax
subl -32(%rbp), %eax
movl %eax, -32(%rbp)
jmp LBB1_10
LBB1_9: ## in Loop: Header=BB1_4 Depth=2
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
movl $100000, %edi ## imm = 0x186A0
callq _usleep
LBB1_10: ## in Loop: Header=BB1_4 Depth=2
jmp LBB1_4
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -32(%rbp)
jne LBB1_13
## %bb.12: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
movq _forks@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rax
movslq 4(%rax), %rax
shlq $3, %rax
addq %rax, %rdi
addq $4, %rdi
callq _sem_post
jmp LBB1_15
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movl (%rax), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB1_15: ## in Loop: Header=BB1_1 Depth=1
callq _is_finished
cmpl $0, %eax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_16:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $5, -32(%rbp)
cmpl $2, -8(%rbp)
jl LBB2_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -32(%rbp)
LBB2_2:
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
cmpl $2, -32(%rbp)
jl LBB2_4
## %bb.3:
cmpl $1000, -32(%rbp) ## imm = 0x3E8
jle LBB2_5
LBB2_4:
movl $5, -32(%rbp)
LBB2_5:
movslq -32(%rbp), %rax
imulq $24, %rax, %rdi
callq _malloc
movq %rax, -24(%rbp)
movslq -32(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq _forks@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _global_mutex@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $1, %edx
callq _sem_init
movl -32(%rbp), %eax
movl %eax, _NotEatenCount(%rip)
movl $0, -28(%rbp)
LBB2_6: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB2_12
## %bb.7: ## in Loop: Header=BB2_6 Depth=1
movq _forks@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movslq -28(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
addq $4, %rdi
xorl %esi, %esi
movl $1, %edx
callq _sem_init
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movl $0, 12(%rax)
movl -28(%rbp), %ecx
addl $1, %ecx
movq -24(%rbp), %rax
movslq -28(%rbp), %rdx
imulq $24, %rdx, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movl -28(%rbp), %ecx
movq -24(%rbp), %rax
movslq -28(%rbp), %rdx
imulq $24, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 4(%rax)
movl -28(%rbp), %eax
addl $1, %eax
cmpl -32(%rbp), %eax
jne LBB2_9
## %bb.8: ## in Loop: Header=BB2_6 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movl $0, 8(%rax)
jmp LBB2_10
LBB2_9: ## in Loop: Header=BB2_6 Depth=1
movl -28(%rbp), %ecx
addl $1, %ecx
movq -24(%rbp), %rax
movslq -28(%rbp), %rdx
imulq $24, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 8(%rax)
LBB2_10: ## in Loop: Header=BB2_6 Depth=1
jmp LBB2_11
LBB2_11: ## in Loop: Header=BB2_6 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_6
LBB2_12:
movl $0, -28(%rbp)
LBB2_13: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB2_16
## %bb.14: ## in Loop: Header=BB2_13 Depth=1
movq -24(%rbp), %rdi
movslq -28(%rbp), %rax
imulq $24, %rax, %rax
addq %rax, %rdi
addq $16, %rdi
movq -24(%rbp), %rcx
movslq -28(%rbp), %rax
imulq $24, %rax, %rax
addq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _philosopher_thread(%rip), %rdx
callq _pthread_create
## %bb.15: ## in Loop: Header=BB2_13 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_13
LBB2_16:
jmp LBB2_17
LBB2_17: ## =>This Inner Loop Header: Depth=1
callq _is_finished
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB2_18
jmp LBB2_19
LBB2_18: ## in Loop: Header=BB2_17 Depth=1
movl $100, %edi
callq _usleep
jmp LBB2_17
LBB2_19:
movl $0, -28(%rbp)
LBB2_20: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB2_23
## %bb.21: ## in Loop: Header=BB2_20 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movq 16(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.22: ## in Loop: Header=BB2_20 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_20
LBB2_23:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB2_24: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB2_27
## %bb.25: ## in Loop: Header=BB2_24 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %esi
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
imulq $24, %rcx, %rcx
addq %rcx, %rax
movl 12(%rax), %edx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
## %bb.26: ## in Loop: Header=BB2_24 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_24
LBB2_27:
movq _forks@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _NotEatenCount ## @NotEatenCount
.zerofill __DATA,__common,_NotEatenCount,4,2
.comm _global_mutex,4,2 ## @global_mutex
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Philosopher %d is Thinking\n"
L_.str.1: ## @.str.1
.asciz "Philosopher %d is trying to eat...\n"
.comm _forks,8,3 ## @forks
L_.str.2: ## @.str.2
.asciz "Philosopher %d is Eating\n"
L_.str.3: ## @.str.3
.asciz "Philosopher %d cannot take second fork...\n"
L_.str.4: ## @.str.4
.asciz "Philosopher %d cannot eat at this moment...\n"
L_.str.5: ## @.str.5
.asciz "\nStatistics:\n"
L_.str.6: ## @.str.6
.asciz "Philosopher %d eaten for %d times\n"
.subsections_via_symbols
| the_stack_data/23575690.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ubiutils_get_bytes ; -- Begin function ubiutils_get_bytes
.p2align 2
_ubiutils_get_bytes: ; @ubiutils_get_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
add x1, sp, #24
mov w2, #0
bl _strtoull
str x0, [sp, #16]
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov x8, #-1
stur x8, [x29, #-8]
b LBB0_8
LBB0_3:
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4:
ldr x0, [sp, #24]
bl _get_multiplier
str w0, [sp, #12]
ldr w8, [sp, #12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov x8, #-1
stur x8, [x29, #-8]
b LBB0_8
LBB0_6:
ldrsw x9, [sp, #12]
ldr x8, [sp, #16]
mul x8, x8, x9
str x8, [sp, #16]
b LBB0_7
LBB0_7:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_8
LBB0_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 get_multiplier
_get_multiplier: ; @get_multiplier
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB1_27
LBB1_2:
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #32
cset w8, eq
mov w9, #1
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #9
cset w8, eq
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB1_3
LBB1_7:
ldur x0, [x29, #-16]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
mov w8, #1024
stur w8, [x29, #-4]
b LBB1_27
LBB1_9:
ldur x0, [x29, #-16]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
mov w8, #1048576
stur w8, [x29, #-4]
b LBB1_27
LBB1_11:
ldur x0, [x29, #-16]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
mov w8, #1073741824
stur w8, [x29, #-4]
b LBB1_27
LBB1_13:
ldur x0, [x29, #-16]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_14
LBB1_14:
ldur x0, [x29, #-16]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15:
ldur x0, [x29, #-16]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
ldur x0, [x29, #-16]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _fprintf
mov w8, #1024
stur w8, [x29, #-4]
b LBB1_27
LBB1_18:
ldur x0, [x29, #-16]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_19
LBB1_19:
ldur x0, [x29, #-16]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20:
ldur x0, [x29, #-16]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _fprintf
mov w8, #1048576
stur w8, [x29, #-4]
b LBB1_27
LBB1_22:
ldur x0, [x29, #-16]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23:
ldur x0, [x29, #-16]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24:
ldur x0, [x29, #-16]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_26
b LBB1_25
LBB1_25:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
mov w8, #1073741824
stur w8, [x29, #-4]
b LBB1_27
LBB1_26:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_27
LBB1_27:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function ubiutils_print_bytes
lCPI2_0:
.quad 0x41d0000000000000 ; double 1073741824
lCPI2_1:
.quad 0x4130000000000000 ; double 1048576
lCPI2_2:
.quad 0x4090000000000000 ; double 1024
.section __TEXT,__text,regular,pure_instructions
.globl _ubiutils_print_bytes
.p2align 2
_ubiutils_print_bytes: ; @ubiutils_print_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #24]
b LBB2_3
LBB2_2:
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp, #24]
b LBB2_3
LBB2_3:
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
mov x9, #1073741824
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr x9, [sp, #24]
ldur d0, [x29, #-8]
scvtf d0, d0
adrp x8, lCPI2_0@PAGE
ldr d1, [x8, lCPI2_0@PAGEOFF]
fdiv d0, d0, d1
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB2_13
LBB2_5:
ldur x8, [x29, #-8]
subs x8, x8, #256, lsl #12 ; =1048576
cset w8, le
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr x9, [sp, #24]
ldur d0, [x29, #-8]
scvtf d0, d0
adrp x8, lCPI2_1@PAGE
ldr d1, [x8, lCPI2_1@PAGEOFF]
fdiv d0, d0, d1
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB2_12
LBB2_7:
ldur x8, [x29, #-8]
subs x8, x8, #1024
cset w8, le
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8:
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldr x9, [sp, #24]
ldur d0, [x29, #-8]
scvtf d0, d0
adrp x8, lCPI2_2@PAGE
ldr d1, [x8, lCPI2_2@PAGEOFF]
fdiv d0, d0, d1
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB2_11
LBB2_10:
b LBB2_15
LBB2_11:
b LBB2_12
LBB2_12:
b LBB2_13
LBB2_13:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB2_15
LBB2_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ubiutils_print_text ; -- Begin function ubiutils_print_text
.p2align 2
_ubiutils_print_text: ; @ubiutils_print_text
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1088
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #48]
str x1, [sp, #40]
str w2, [sp, #36]
str wzr, [sp, #28]
ldr w8, [sp, #36]
subs w8, w8, #1023
cset w8, le
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x0, [sp, #48]
ldr x8, [sp, #40]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
b LBB3_24
LBB3_2:
ldr x8, [sp, #40]
str x8, [sp, #16]
str wzr, [sp, #32]
b LBB3_3
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
; Child Loop BB3_12 Depth 2
; Child Loop BB3_19 Depth 2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_24
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
b LBB3_5
LBB3_5: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
ldrsb w0, [x8, x9]
bl _isspace
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB3_11
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #32]
add x9, sp, #56
add x9, x9, x10
strb w8, [x9]
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_3 Depth=1
b LBB3_11
LBB3_8: ; in Loop: Header=BB3_5 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #32]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_5 Depth=2
ldrsw x10, [sp, #32]
add x8, sp, #56
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
ldr x0, [sp, #48]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldrsw x9, [sp, #32]
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
str wzr, [sp, #32]
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_5 Depth=2
b LBB3_5
LBB3_11: ; in Loop: Header=BB3_3 Depth=1
b LBB3_12
LBB3_12: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_18
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_12 Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #32]
add x9, sp, #56
add x9, x9, x10
strb w8, [x9]
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_15
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #32]
str w8, [sp, #28]
b LBB3_18
LBB3_15: ; in Loop: Header=BB3_12 Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
ldrsb w0, [x8, x9]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_12 Depth=2
ldr w8, [sp, #32]
str w8, [sp, #28]
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_12 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB3_12
LBB3_18: ; in Loop: Header=BB3_3 Depth=1
ldrsw x10, [sp, #28]
add x8, sp, #56
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
ldr x0, [sp, #48]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldrsw x9, [sp, #28]
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
str wzr, [sp, #32]
b LBB3_19
LBB3_19: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
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, LBB3_21
b LBB3_20
LBB3_20: ; in Loop: Header=BB3_19 Depth=2
ldr x8, [sp, #16]
ldrsw x9, [sp, #32]
ldrsb w0, [x8, x9]
bl _isspace
subs w8, w0, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_21
LBB3_21: ; in Loop: Header=BB3_19 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB3_23
b LBB3_22
LBB3_22: ; in Loop: Header=BB3_19 Depth=2
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_19
LBB3_23: ; in Loop: Header=BB3_3 Depth=1
b LBB3_3
LBB3_24:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_26
b LBB3_25
LBB3_25:
bl ___stack_chk_fail
LBB3_26:
add sp, sp, #1088
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "incorrect amount of bytes: \"%s\"\n"
l_.str.1: ; @.str.1
.asciz "bad size specifier: \"%s\" - should be 'KiB', 'MiB' or 'GiB'\n"
l_.str.2: ; @.str.2
.asciz " ("
l_.str.3: ; @.str.3
.asciz ", "
l_.str.4: ; @.str.4
.asciz "%lld bytes"
l_.str.5: ; @.str.5
.asciz "%s%.1f GiB"
l_.str.6: ; @.str.6
.asciz "%s%.1f MiB"
l_.str.7: ; @.str.7
.asciz "%s%.1f KiB"
l_.str.8: ; @.str.8
.asciz ")"
l_.str.9: ; @.str.9
.asciz "%s\n"
l_.str.10: ; @.str.10
.asciz "KiB"
l_.str.11: ; @.str.11
.asciz "MiB"
l_.str.12: ; @.str.12
.asciz "GiB"
l_.str.13: ; @.str.13
.asciz "KB"
l_.str.14: ; @.str.14
.asciz "Kib"
l_.str.15: ; @.str.15
.asciz "kib"
l_.str.16: ; @.str.16
.asciz "kiB"
l_.str.17: ; @.str.17
.asciz "Warning: use \"KiB\" instead of \"%s\" to specify Kilobytes - support will be removed\n"
l_.str.18: ; @.str.18
.asciz "MB"
l_.str.19: ; @.str.19
.asciz "Mib"
l_.str.20: ; @.str.20
.asciz "mb"
l_.str.21: ; @.str.21
.asciz "Warning: use \"MiB\" instead of \"%s\", this support will be removed\n"
l_.str.22: ; @.str.22
.asciz "GB"
l_.str.23: ; @.str.23
.asciz "Gib"
l_.str.24: ; @.str.24
.asciz "gb"
l_.str.25: ; @.str.25
.asciz "Warning: use \"GiB\" instead of \"%s\", this support will be removed\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ubiutils_get_bytes ## -- Begin function ubiutils_get_bytes
.p2align 4, 0x90
_ubiutils_get_bytes: ## @ubiutils_get_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
leaq -24(%rbp), %rsi
xorl %edx, %edx
callq _strtoull
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
cmpq -16(%rbp), %rax
je LBB0_2
## %bb.1:
cmpq $0, -32(%rbp)
jge LBB0_3
LBB0_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
movq $-1, -8(%rbp)
jmp LBB0_8
LBB0_3:
movq -24(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_7
## %bb.4:
movq -24(%rbp), %rdi
callq _get_multiplier
movl %eax, -36(%rbp)
cmpl $-1, -36(%rbp)
jne LBB0_6
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rdx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
movq $-1, -8(%rbp)
jmp LBB0_8
LBB0_6:
movslq -36(%rbp), %rax
imulq -32(%rbp), %rax
movq %rax, -32(%rbp)
LBB0_7:
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_8:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function get_multiplier
_get_multiplier: ## @get_multiplier
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB1_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB1_27
LBB1_2:
jmp LBB1_3
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %ecx
movb $1, %al
cmpl $32, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $9, %eax
sete %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB1_5: ## in Loop: Header=BB1_3 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_6
jmp LBB1_7
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB1_3
LBB1_7:
movq -16(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_9
## %bb.8:
movl $1024, -4(%rbp) ## imm = 0x400
jmp LBB1_27
LBB1_9:
movq -16(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_11
## %bb.10:
movl $1048576, -4(%rbp) ## imm = 0x100000
jmp LBB1_27
LBB1_11:
movq -16(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_13
## %bb.12:
movl $1073741824, -4(%rbp) ## imm = 0x40000000
jmp LBB1_27
LBB1_13:
movq -16(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_17
## %bb.14:
movq -16(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_17
## %bb.15:
movq -16(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_17
## %bb.16:
movq -16(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_18
LBB1_17:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str.17(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1024, -4(%rbp) ## imm = 0x400
jmp LBB1_27
LBB1_18:
movq -16(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_21
## %bb.19:
movq -16(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_21
## %bb.20:
movq -16(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_22
LBB1_21:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str.21(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1048576, -4(%rbp) ## imm = 0x100000
jmp LBB1_27
LBB1_22:
movq -16(%rbp), %rdi
leaq L_.str.22(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_25
## %bb.23:
movq -16(%rbp), %rdi
leaq L_.str.23(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_25
## %bb.24:
movq -16(%rbp), %rdi
leaq L_.str.24(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_26
LBB1_25:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
leaq L_.str.25(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1073741824, -4(%rbp) ## imm = 0x40000000
jmp LBB1_27
LBB1_26:
movl $-1, -4(%rbp)
LBB1_27:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function ubiutils_print_bytes
LCPI2_0:
.quad 0x4090000000000000 ## double 1024
LCPI2_1:
.quad 0x4130000000000000 ## double 1048576
LCPI2_2:
.quad 0x41d0000000000000 ## double 1073741824
.section __TEXT,__text,regular,pure_instructions
.globl _ubiutils_print_bytes
.p2align 4, 0x90
_ubiutils_print_bytes: ## @ubiutils_print_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $0, -12(%rbp)
je LBB2_2
## %bb.1:
leaq L_.str.2(%rip), %rax
movq %rax, -24(%rbp)
jmp LBB2_3
LBB2_2:
leaq L_.str.3(%rip), %rax
movq %rax, -24(%rbp)
LBB2_3:
movq -8(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
cmpq $1073741824, -8(%rbp) ## imm = 0x40000000
jle LBB2_5
## %bb.4:
movq -24(%rbp), %rsi
cvtsi2sdq -8(%rbp), %xmm0
movsd LCPI2_2(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.5(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB2_13
LBB2_5:
cmpq $1048576, -8(%rbp) ## imm = 0x100000
jle LBB2_7
## %bb.6:
movq -24(%rbp), %rsi
cvtsi2sdq -8(%rbp), %xmm0
movsd LCPI2_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.6(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB2_12
LBB2_7:
cmpq $1024, -8(%rbp) ## imm = 0x400
jle LBB2_10
## %bb.8:
cmpq $0, -8(%rbp)
je LBB2_10
## %bb.9:
movq -24(%rbp), %rsi
cvtsi2sdq -8(%rbp), %xmm0
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB2_11
LBB2_10:
jmp LBB2_15
LBB2_11:
jmp LBB2_12
LBB2_12:
jmp LBB2_13
LBB2_13:
cmpl $0, -12(%rbp)
je LBB2_15
## %bb.14:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB2_15:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ubiutils_print_text ## -- Begin function ubiutils_print_text
.p2align 4, 0x90
_ubiutils_print_text: ## @ubiutils_print_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1088, %rsp ## imm = 0x440
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -1048(%rbp)
movq %rsi, -1056(%rbp)
movl %edx, -1060(%rbp)
movl $0, -1068(%rbp)
cmpl $1023, -1060(%rbp) ## imm = 0x3FF
jle LBB3_2
## %bb.1:
movq -1048(%rbp), %rdi
movq -1056(%rbp), %rdx
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB3_24
LBB3_2:
movq -1056(%rbp), %rax
movq %rax, -1080(%rbp)
movl $0, -1064(%rbp)
LBB3_3: ## =>This Loop Header: Depth=1
## Child Loop BB3_5 Depth 2
## Child Loop BB3_12 Depth 2
## Child Loop BB3_19 Depth 2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB3_24
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_5
LBB3_5: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isspace
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB3_6
jmp LBB3_11
LBB3_6: ## in Loop: Header=BB3_5 Depth=2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
movb (%rax,%rcx), %cl
movslq -1064(%rbp), %rax
movb %cl, -1040(%rbp,%rax)
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB3_8
## %bb.7: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_11
LBB3_8: ## in Loop: Header=BB3_5 Depth=2
movl -1064(%rbp), %eax
addl $1, %eax
movl %eax, -1064(%rbp)
movl -1064(%rbp), %eax
cmpl -1060(%rbp), %eax
jne LBB3_10
## %bb.9: ## in Loop: Header=BB3_5 Depth=2
movslq -1064(%rbp), %rax
movb $0, -1040(%rbp,%rax)
movq -1048(%rbp), %rdi
leaq -1040(%rbp), %rdx
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
movl -1064(%rbp), %ecx
movq -1080(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -1080(%rbp)
movl $0, -1064(%rbp)
LBB3_10: ## in Loop: Header=BB3_5 Depth=2
jmp LBB3_5
LBB3_11: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_12
LBB3_12: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -1064(%rbp), %eax
cmpl -1060(%rbp), %eax
jge LBB3_18
## %bb.13: ## in Loop: Header=BB3_12 Depth=2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
movb (%rax,%rcx), %cl
movslq -1064(%rbp), %rax
movb %cl, -1040(%rbp,%rax)
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
cmpb $0, (%rax,%rcx)
jne LBB3_15
## %bb.14: ## in Loop: Header=BB3_3 Depth=1
movl -1064(%rbp), %eax
movl %eax, -1068(%rbp)
jmp LBB3_18
LBB3_15: ## in Loop: Header=BB3_12 Depth=2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isspace
cmpl $0, %eax
je LBB3_17
## %bb.16: ## in Loop: Header=BB3_12 Depth=2
movl -1064(%rbp), %eax
movl %eax, -1068(%rbp)
LBB3_17: ## in Loop: Header=BB3_12 Depth=2
movl -1064(%rbp), %eax
addl $1, %eax
movl %eax, -1064(%rbp)
jmp LBB3_12
LBB3_18: ## in Loop: Header=BB3_3 Depth=1
movslq -1068(%rbp), %rax
movb $0, -1040(%rbp,%rax)
movq -1048(%rbp), %rdi
leaq -1040(%rbp), %rdx
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
movl -1068(%rbp), %ecx
movq -1080(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -1080(%rbp)
movl $0, -1064(%rbp)
LBB3_19: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -1081(%rbp) ## 1-byte Spill
je LBB3_21
## %bb.20: ## in Loop: Header=BB3_19 Depth=2
movq -1080(%rbp), %rax
movslq -1064(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _isspace
cmpl $0, %eax
setne %al
movb %al, -1081(%rbp) ## 1-byte Spill
LBB3_21: ## in Loop: Header=BB3_19 Depth=2
movb -1081(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_22
jmp LBB3_23
LBB3_22: ## in Loop: Header=BB3_19 Depth=2
movq -1080(%rbp), %rax
addq $1, %rax
movq %rax, -1080(%rbp)
jmp LBB3_19
LBB3_23: ## in Loop: Header=BB3_3 Depth=1
jmp LBB3_3
LBB3_24:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_26
## %bb.25:
addq $1088, %rsp ## imm = 0x440
popq %rbp
retq
LBB3_26:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "incorrect amount of bytes: \"%s\"\n"
L_.str.1: ## @.str.1
.asciz "bad size specifier: \"%s\" - should be 'KiB', 'MiB' or 'GiB'\n"
L_.str.2: ## @.str.2
.asciz " ("
L_.str.3: ## @.str.3
.asciz ", "
L_.str.4: ## @.str.4
.asciz "%lld bytes"
L_.str.5: ## @.str.5
.asciz "%s%.1f GiB"
L_.str.6: ## @.str.6
.asciz "%s%.1f MiB"
L_.str.7: ## @.str.7
.asciz "%s%.1f KiB"
L_.str.8: ## @.str.8
.asciz ")"
L_.str.9: ## @.str.9
.asciz "%s\n"
L_.str.10: ## @.str.10
.asciz "KiB"
L_.str.11: ## @.str.11
.asciz "MiB"
L_.str.12: ## @.str.12
.asciz "GiB"
L_.str.13: ## @.str.13
.asciz "KB"
L_.str.14: ## @.str.14
.asciz "Kib"
L_.str.15: ## @.str.15
.asciz "kib"
L_.str.16: ## @.str.16
.asciz "kiB"
L_.str.17: ## @.str.17
.asciz "Warning: use \"KiB\" instead of \"%s\" to specify Kilobytes - support will be removed\n"
L_.str.18: ## @.str.18
.asciz "MB"
L_.str.19: ## @.str.19
.asciz "Mib"
L_.str.20: ## @.str.20
.asciz "mb"
L_.str.21: ## @.str.21
.asciz "Warning: use \"MiB\" instead of \"%s\", this support will be removed\n"
L_.str.22: ## @.str.22
.asciz "GB"
L_.str.23: ## @.str.23
.asciz "Gib"
L_.str.24: ## @.str.24
.asciz "gb"
L_.str.25: ## @.str.25
.asciz "Warning: use \"GiB\" instead of \"%s\", this support will be removed\n"
.subsections_via_symbols
| the_stack_data/25138055.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlen ; -- Begin function ft_strlen
.p2align 2
_ft_strlen: ; @ft_strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _ft_concat_params ; -- Begin function ft_concat_params
.p2align 2
_ft_concat_params: ; @ft_concat_params
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur x1, [x29, #-16]
mov w8, #1
str w8, [sp, #20]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x0, [x8, x9, lsl #3]
bl _ft_strlen
ldr w8, [sp, #16]
add w8, w8, w0
str w8, [sp, #16]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_3:
ldrsw x9, [sp, #16]
mov x8, #1
mul x0, x8, x9
bl _malloc
str x0, [sp, #24]
mov w8, #1
str w8, [sp, #20]
str wzr, [sp, #16]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
ldr w8, [sp, #20]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
b LBB1_6
LBB1_6: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_6 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
add x10, x8, x9, lsl #3
ldr x8, [x10]
add x9, x8, #1
str x9, [x10]
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
mov x11, x10
add w11, w11, #1
str w11, [sp, #16]
add x9, x9, x10
strb w8, [x9]
b LBB1_6
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
mov x10, x9
add w10, w10, #1
str w10, [sp, #16]
add x9, x8, x9
mov w8, #10
strb w8, [x9]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_4
LBB1_9:
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlen ## -- Begin function ft_strlen
.p2align 4, 0x90
_ft_strlen: ## @ft_strlen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -8(%rbp)
cmpb $0, (%rax)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_concat_params ## -- Begin function ft_concat_params
.p2align 4, 0x90
_ft_concat_params: ## @ft_concat_params
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl $1, -28(%rbp)
movl $0, -32(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _ft_strlen
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_3:
movslq -32(%rbp), %rdi
shlq $0, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $1, -28(%rbp)
movl $0, -32(%rbp)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_6 Depth 2
movl -28(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB1_9
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_6
LBB1_6: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB1_8
## %bb.7: ## in Loop: Header=BB1_6 Depth=2
movq -16(%rbp), %rcx
movslq -28(%rbp), %rdx
movq (%rcx,%rdx,8), %rax
movq %rax, %rsi
addq $1, %rsi
movq %rsi, (%rcx,%rdx,8)
movb (%rax), %dl
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -32(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp LBB1_6
LBB1_8: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax
movl -32(%rbp), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, -32(%rbp)
movslq %ecx, %rcx
movb $10, (%rax,%rcx)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_4
LBB1_9:
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/25451.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
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-32]
ldur x0, [x29, #-32]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
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, #48] ; 8-byte Folded Spill
bl _fopen
ldr x1, [sp, #48] ; 8-byte Folded Reload
adrp x8, _virtual@GOTPAGE
ldr x8, [x8, _virtual@GOTPAGEOFF]
str x0, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _fopen
ldr x1, [sp, #48] ; 8-byte Folded Reload
adrp x8, _physical@GOTPAGE
ldr x8, [x8, _physical@GOTPAGEOFF]
str x0, [x8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _fopen
adrp x8, _val@GOTPAGE
ldr x8, [x8, _val@GOTPAGEOFF]
str x0, [x8]
b LBB0_3
LBB0_2:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_7
LBB0_3:
ldur x0, [x29, #-24]
mov x9, sp
sub x8, x29, #36
str x8, [x9]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fscanf
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur x0, [x29, #-24]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
adrp x9, _addressCount@PAGE
ldr w8, [x9, _addressCount@PAGEOFF]
add w8, w8, #1
str w8, [x9, _addressCount@PAGEOFF]
sub x8, x29, #36
str x8, [sp, #40] ; 8-byte Folded Spill
ldur w0, [x29, #-36]
bl _getPage
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fscanf
b LBB0_4
LBB0_6:
adrp x8, _addressCount@PAGE
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w9, [x8, _addressCount@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x0, [x29, #-24]
bl _fclose
adrp x8, _virtual@GOTPAGE
ldr x8, [x8, _virtual@GOTPAGEOFF]
ldr x0, [x8]
bl _fclose
adrp x8, _physical@GOTPAGE
ldr x8, [x8, _physical@GOTPAGEOFF]
ldr x0, [x8]
bl _fclose
adrp x8, _val@GOTPAGE
ldr x8, [x8, _val@GOTPAGEOFF]
ldr x0, [x8]
bl _fclose
ldr x9, [sp, #24] ; 8-byte Folded Reload
adrp x8, _page_faults@PAGE
ldr s1, [x8, _page_faults@PAGEOFF]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s2, [x9, _addressCount@PAGEOFF]
; 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
stur d0, [x29, #-48]
adrp x10, _tlb_hits@PAGE
str x10, [sp, #32] ; 8-byte Folded Spill
ldr s1, [x10, _tlb_hits@PAGEOFF]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s2, [x9, _addressCount@PAGEOFF]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
str d0, [sp, #56]
ldr w8, [x8, _page_faults@PAGEOFF]
; implicit-def: $x9
mov x9, x8
ldur d0, [x29, #-48]
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8, _tlb_hits@PAGEOFF]
; implicit-def: $x9
mov x9, x8
ldr d0, [sp, #56]
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _getPage ; -- Begin function getPage
.p2align 2
_getPage: ; @getPage
.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]
ldur w8, [x29, #-4]
asr w8, w8, #8
and w8, w8, #0xff
sturb w8, [x29, #-5]
ldurb w8, [x29, #-4]
sturb w8, [x29, #-6]
mov w8, #-1
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
adrp x9, _TLBPos@PAGE
ldr w9, [x9, _TLBPos@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldursw x8, [x29, #-16]
lsl x9, x8, #3
adrp x8, _TLB@GOTPAGE
ldr x8, [x8, _TLB@GOTPAGEOFF]
ldr w8, [x8, x9]
ldurb w9, [x29, #-5]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldursw x9, [x29, #-16]
adrp x8, _TLB@GOTPAGE
ldr x8, [x8, _TLB@GOTPAGEOFF]
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
stur w8, [x29, #-12]
adrp x9, _tlb_hits@PAGE
ldr w8, [x9, _tlb_hits@PAGEOFF]
add w8, w8, #1
str w8, [x9, _tlb_hits@PAGEOFF]
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_1
LBB1_6:
ldur w8, [x29, #-12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_7
LBB1_7:
stur wzr, [x29, #-16]
b LBB1_8
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
adrp x9, _PTPos@PAGE
ldr w9, [x9, _PTPos@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldursw x8, [x29, #-16]
lsl x9, x8, #3
adrp x8, _page_table@GOTPAGE
ldr x8, [x8, _page_table@GOTPAGEOFF]
ldr w8, [x8, x9]
ldurb w9, [x29, #-5]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
ldursw x9, [x29, #-16]
adrp x8, _page_table@GOTPAGE
ldr x8, [x8, _page_table@GOTPAGEOFF]
add x8, x8, x9, lsl #3
ldr w8, [x8, #4]
stur w8, [x29, #-12]
b LBB1_13
LBB1_11: ; in Loop: Header=BB1_8 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_8
LBB1_13:
b LBB1_14
LBB1_14:
ldur w8, [x29, #-12]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15:
ldurb w0, [x29, #-5]
bl _readStore
adrp x9, _page_faults@PAGE
ldr w8, [x9, _page_faults@PAGEOFF]
add w8, w8, #1
str w8, [x9, _page_faults@PAGEOFF]
adrp x8, _framePos@PAGE
ldr w8, [x8, _framePos@PAGEOFF]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB1_16
LBB1_16:
ldurb w0, [x29, #-5]
ldur w1, [x29, #-12]
bl _TLBInsert
adrp x8, _virtual@GOTPAGE
ldr x8, [x8, _virtual@GOTPAGEOFF]
ldr x0, [x8]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
str x1, [sp, #16] ; 8-byte Folded Spill
bl _fprintf
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
ldurb w8, [x29, #-6]
add w8, w8, w9, lsl #8
stur w8, [x29, #-20]
adrp x8, _physical@GOTPAGE
ldr x8, [x8, _physical@GOTPAGEOFF]
ldr x0, [x8]
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _fprintf
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
adrp x8, _physical_memory@GOTPAGE
ldr x8, [x8, _physical_memory@GOTPAGEOFF]
add x8, x8, x9, lsl #10
ldurb w9, [x29, #-6]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
sturb w8, [x29, #-21]
adrp x8, _val@GOTPAGE
ldr x8, [x8, _val@GOTPAGEOFF]
ldr x0, [x8]
ldursb w10, [x29, #-21]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _fprintf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _readStore ; -- Begin function readStore
.p2align 2
_readStore: ; @readStore
.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, _backing_store@GOTPAGE
ldr x8, [x8, _backing_store@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _page_table@GOTPAGE
ldr x8, [x8, _page_table@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x8, _physical_memory@GOTPAGE
ldr x8, [x8, _physical_memory@GOTPAGEOFF]
str x8, [sp, #8] ; 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 w0, [sp, #36]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fopen
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x0, [x8]
ldr x0, [x8]
ldr w8, [sp, #36]
lsl w9, w8, #8
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
mov w2, #0
bl _fseek
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
b LBB2_2
LBB2_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x3, [x8]
add x0, sp, #40
mov x1, #1
mov x2, #256
bl _fread
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
b LBB2_4
LBB2_4:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
adrp x8, _framePos@PAGE
ldr w8, [x8, _framePos@PAGEOFF]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_5
LBB2_5:
str wzr, [sp, #32]
b LBB2_6
LBB2_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB2_9
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_6 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #32]
add x8, sp, #40
ldrsb w8, [x8, x10]
adrp x10, _framePos@PAGE
ldrsw x10, [x10, _framePos@PAGEOFF]
add x9, x9, x10, lsl #10
ldrsw x10, [sp, #32]
str w8, [x9, x10, lsl #2]
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_6 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB2_6
LBB2_9:
ldr x11, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #36]
adrp x9, _PTPos@PAGE
ldrsw x10, [x9, _PTPos@PAGEOFF]
lsl x10, x10, #3
str w8, [x11, x10]
adrp x10, _framePos@PAGE
ldr w8, [x10, _framePos@PAGEOFF]
ldrsw x12, [x9, _PTPos@PAGEOFF]
add x11, x11, x12, lsl #3
str w8, [x11, #4]
ldr w8, [x10, _framePos@PAGEOFF]
add w8, w8, #1
str w8, [x10, _framePos@PAGEOFF]
ldr w8, [x9, _PTPos@PAGEOFF]
add w8, w8, #1
str w8, [x9, _PTPos@PAGEOFF]
b LBB2_23
LBB2_10:
str wzr, [sp, #28]
b LBB2_11
LBB2_11: ; =>This Loop Header: Depth=1
; Child Loop BB2_13 Depth 2
ldr w8, [sp, #28]
subs w8, w8, #255
cset w8, ge
tbnz w8, #0, LBB2_18
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_11 Depth=1
str wzr, [sp, #32]
b LBB2_13
LBB2_13: ; Parent Loop BB2_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB2_16
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
add w10, w8, #1
; implicit-def: $x8
mov x8, x10
sxtw x10, w8
mov x8, x9
add x8, x8, x10, lsl #10
ldrsw x10, [sp, #32]
ldr w8, [x8, x10, lsl #2]
ldrsw x10, [sp, #28]
add x9, x9, x10, lsl #10
ldrsw x10, [sp, #32]
str w8, [x9, x10, lsl #2]
b LBB2_15
LBB2_15: ; in Loop: Header=BB2_13 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB2_13
LBB2_16: ; in Loop: Header=BB2_11 Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldrsw x10, [sp, #28]
ldr w8, [sp, #28]
add w8, w8, #1
ldr x8, [x9, w8, sxtw #3]
str x8, [x9, x10, lsl #3]
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_11 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_11
LBB2_18:
str wzr, [sp, #32]
b LBB2_19
LBB2_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #256
cset w8, ge
tbnz w8, #0, LBB2_22
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_19 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #32]
add x8, sp, #40
ldrsb w8, [x8, x10]
ldrsw x10, [sp, #28]
add x9, x9, x10, lsl #10
ldrsw x10, [sp, #32]
str w8, [x9, x10, lsl #2]
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_19 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB2_19
LBB2_22:
ldr x9, [sp] ; 8-byte Folded Reload
ldr w8, [sp, #36]
ldrsw x10, [sp, #28]
lsl x10, x10, #3
str w8, [x9, x10]
adrp x8, _framePos@PAGE
ldr w8, [x8, _framePos@PAGEOFF]
subs w8, w8, #1
ldrsw x10, [sp, #28]
add x9, x9, x10, lsl #3
str w8, [x9, #4]
b LBB2_23
LBB2_23:
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_25
b LBB2_24
LBB2_24:
bl ___stack_chk_fail
LBB2_25:
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
.globl _TLBInsert ; -- Begin function TLBInsert
.p2align 2
_TLBInsert: ; @TLBInsert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _TLB@GOTPAGE
ldr x8, [x8, _TLB@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
str w0, [sp, #28]
str w1, [sp, #24]
str wzr, [sp, #20]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
adrp x9, _TLBPos@PAGE
ldr w9, [x9, _TLBPos@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [sp, #20]
lsl x9, x9, #3
ldr w8, [x8, x9]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
b LBB3_6
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB3_1
LBB3_6:
ldr w8, [sp, #20]
adrp x9, _TLBPos@PAGE
ldr w9, [x9, _TLBPos@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_15
b LBB3_7
LBB3_7:
adrp x8, _TLBPos@PAGE
ldr w8, [x8, _TLBPos@PAGEOFF]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
adrp x10, _TLBPos@PAGE
ldrsw x11, [x10, _TLBPos@PAGEOFF]
lsl x11, x11, #3
str w8, [x9, x11]
ldr w8, [sp, #24]
ldrsw x10, [x10, _TLBPos@PAGEOFF]
add x9, x9, x10, lsl #3
str w8, [x9, #4]
b LBB3_14
LBB3_9:
str wzr, [sp, #20]
b LBB3_10
LBB3_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #15
cset w8, ge
tbnz w8, #0, LBB3_13
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_10 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #20]
ldr w8, [sp, #20]
add w8, w8, #1
ldr x8, [x9, w8, sxtw #3]
str x8, [x9, x10, lsl #3]
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_10 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB3_10
LBB3_13:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
str w8, [x9, #120]
ldr w8, [sp, #24]
str w8, [x9, #124]
b LBB3_14
LBB3_14:
b LBB3_23
LBB3_15:
ldr w8, [sp, #20]
str w8, [sp, #20]
b LBB3_16
LBB3_16: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #15
cset w8, ge
tbnz w8, #0, LBB3_19
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_16 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x10, [sp, #20]
ldr w8, [sp, #20]
add w8, w8, #1
ldr x8, [x9, w8, sxtw #3]
str x8, [x9, x10, lsl #3]
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_16 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB3_16
LBB3_19:
adrp x8, _TLBPos@PAGE
ldr w8, [x8, _TLBPos@PAGEOFF]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_21
b LBB3_20
LBB3_20:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
adrp x10, _TLBPos@PAGE
ldrsw x11, [x10, _TLBPos@PAGEOFF]
lsl x11, x11, #3
str w8, [x9, x11]
ldr w8, [sp, #24]
ldrsw x10, [x10, _TLBPos@PAGEOFF]
add x9, x9, x10, lsl #3
str w8, [x9, #4]
b LBB3_22
LBB3_21:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
adrp x10, _TLBPos@PAGE
ldr w11, [x10, _TLBPos@PAGEOFF]
subs w12, w11, #1
; implicit-def: $x11
mov x11, x12
sxtw x11, w11
lsl x11, x11, #3
str w8, [x9, x11]
ldr w8, [sp, #24]
ldr w10, [x10, _TLBPos@PAGEOFF]
subs w10, w10, #1
add x9, x9, w10, sxtw #3
str w8, [x9, #4]
b LBB3_22
LBB3_22:
b LBB3_23
LBB3_23:
adrp x8, _TLBPos@PAGE
ldr w8, [x8, _TLBPos@PAGEOFF]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_25
b LBB3_24
LBB3_24:
adrp x9, _TLBPos@PAGE
ldr w8, [x9, _TLBPos@PAGEOFF]
add w8, w8, #1
str w8, [x9, _TLBPos@PAGEOFF]
b LBB3_25
LBB3_25:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _page_faults ; @page_faults
.zerofill __DATA,__common,_page_faults,4,2
.globl _tlb_hits ; @tlb_hits
.zerofill __DATA,__common,_tlb_hits,4,2
.globl _framePos ; @framePos
.zerofill __DATA,__common,_framePos,4,2
.globl _PTPos ; @PTPos
.zerofill __DATA,__common,_PTPos,4,2
.globl _TLBPos ; @TLBPos
.zerofill __DATA,__common,_TLBPos,4,2
.globl _addressCount ; @addressCount
.zerofill __DATA,__common,_addressCount,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rt"
l_.str.1: ; @.str.1
.asciz "out1.txt"
l_.str.2: ; @.str.2
.asciz "w"
.comm _virtual,8,3 ; @virtual
l_.str.3: ; @.str.3
.asciz "out2.txt"
.comm _physical,8,3 ; @physical
l_.str.4: ; @.str.4
.asciz "out3.txt"
.comm _val,8,3 ; @val
l_.str.5: ; @.str.5
.asciz "Input address file not specified.\n"
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "%d addresses.\n"
l_.str.8: ; @.str.8
.asciz "Page Faults: %d\tPage Fault Rate: %.2f\n"
l_.str.9: ; @.str.9
.asciz "TLB Hits: %d\t TLB Rate: %.3f\n"
.comm _TLB,128,2 ; @TLB
.comm _page_table,2048,2 ; @page_table
l_.str.10: ; @.str.10
.asciz "%d\n"
.comm _physical_memory,262144,2 ; @physical_memory
l_.str.11: ; @.str.11
.asciz "BACKING_STORE.bin"
l_.str.12: ; @.str.12
.asciz "rb"
.comm _backing_store,8,3 ; @backing_store
l_.str.13: ; @.str.13
.asciz "Error seeking through backing_store\n"
l_.str.14: ; @.str.14
.asciz "Error reading through 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 $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _virtual@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
leaq L_.str.3(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _physical@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
leaq L_.str.4(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _val@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
jmp LBB0_3
LBB0_2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movl $-1, -4(%rbp)
jmp LBB0_7
LBB0_3:
movq -24(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
leaq -36(%rbp), %rdx
movb $0, %al
callq _fscanf
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_5
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
movl _addressCount(%rip), %eax
addl $1, %eax
movl %eax, _addressCount(%rip)
movl -36(%rbp), %edi
callq _getPage
movq -24(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
leaq -36(%rbp), %rdx
movb $0, %al
callq _fscanf
jmp LBB0_4
LBB0_6:
movl _addressCount(%rip), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rdi
callq _fclose
movq _virtual@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
movq _physical@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
movq _val@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
cvtsi2sdl _page_faults(%rip), %xmm0
cvtsi2sdl _addressCount(%rip), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -48(%rbp)
cvtsi2sdl _tlb_hits(%rip), %xmm0
cvtsi2sdl _addressCount(%rip), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -56(%rbp)
movl _page_faults(%rip), %esi
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.8(%rip), %rdi
movb $1, %al
callq _printf
movl _tlb_hits(%rip), %esi
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getPage ## -- Begin function getPage
.p2align 4, 0x90
_getPage: ## @getPage
.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
sarl $8, %eax
andl $255, %eax
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
movl -4(%rbp), %eax
andl $255, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
movl $-1, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl _TLBPos(%rip), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -16(%rbp), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
movzbl -5(%rbp), %ecx
cmpl %ecx, %eax
jne LBB1_4
## %bb.3:
movslq -16(%rbp), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl 4(%rax,%rcx,8), %eax
movl %eax, -12(%rbp)
movl _tlb_hits(%rip), %eax
addl $1, %eax
movl %eax, _tlb_hits(%rip)
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:
cmpl $-1, -12(%rbp)
jne LBB1_14
## %bb.7:
movl $0, -16(%rbp)
LBB1_8: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl _PTPos(%rip), %eax
jge LBB1_13
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movslq -16(%rbp), %rcx
movq _page_table@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
movzbl -5(%rbp), %ecx
cmpl %ecx, %eax
jne LBB1_11
## %bb.10:
movslq -16(%rbp), %rcx
movq _page_table@GOTPCREL(%rip), %rax
movl 4(%rax,%rcx,8), %eax
movl %eax, -12(%rbp)
jmp LBB1_13
LBB1_11: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_8 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_8
LBB1_13:
jmp LBB1_14
LBB1_14:
cmpl $-1, -12(%rbp)
jne LBB1_16
## %bb.15:
movzbl -5(%rbp), %edi
callq _readStore
movl _page_faults(%rip), %eax
addl $1, %eax
movl %eax, _page_faults(%rip)
movl _framePos(%rip), %eax
subl $1, %eax
movl %eax, -12(%rbp)
LBB1_16:
movzbl -5(%rbp), %edi
movl -12(%rbp), %esi
callq _TLBInsert
movq _virtual@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -4(%rbp), %edx
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
movl -12(%rbp), %eax
shll $8, %eax
movzbl -6(%rbp), %ecx
addl %ecx, %eax
movl %eax, -20(%rbp)
movq _physical@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -20(%rbp), %edx
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
movslq -12(%rbp), %rcx
movq _physical_memory@GOTPCREL(%rip), %rax
shlq $10, %rcx
addq %rcx, %rax
movzbl -6(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %eax
## kill: def $al killed $al killed $eax
movb %al, -21(%rbp)
movq _val@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movsbl -21(%rbp), %edx
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readStore ## -- Begin function readStore
.p2align 4, 0x90
_readStore: ## @readStore
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -276(%rbp)
leaq L_.str.11(%rip), %rdi
leaq L_.str.12(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _backing_store@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _backing_store@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -276(%rbp), %eax
shll $8, %eax
movslq %eax, %rsi
xorl %edx, %edx
callq _fseek
cmpl $0, %eax
je LBB2_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
LBB2_2:
leaq -272(%rbp), %rdi
movq _backing_store@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %esi
movl $256, %edx ## imm = 0x100
callq _fread
cmpq $0, %rax
jne LBB2_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.14(%rip), %rsi
movb $0, %al
callq _fprintf
LBB2_4:
movq _backing_store@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
cmpl $256, _framePos(%rip) ## imm = 0x100
jge LBB2_10
## %bb.5:
movl $0, -280(%rbp)
LBB2_6: ## =>This Inner Loop Header: Depth=1
cmpl $256, -280(%rbp) ## imm = 0x100
jge LBB2_9
## %bb.7: ## in Loop: Header=BB2_6 Depth=1
movslq -280(%rbp), %rax
movsbl -272(%rbp,%rax), %edx
movslq _framePos(%rip), %rcx
movq _physical_memory@GOTPCREL(%rip), %rax
shlq $10, %rcx
addq %rcx, %rax
movslq -280(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.8: ## in Loop: Header=BB2_6 Depth=1
movl -280(%rbp), %eax
addl $1, %eax
movl %eax, -280(%rbp)
jmp LBB2_6
LBB2_9:
movl -276(%rbp), %edx
movslq _PTPos(%rip), %rcx
movq _page_table@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,8)
movl _framePos(%rip), %edx
movslq _PTPos(%rip), %rcx
movq _page_table@GOTPCREL(%rip), %rax
movl %edx, 4(%rax,%rcx,8)
movl _framePos(%rip), %eax
addl $1, %eax
movl %eax, _framePos(%rip)
movl _PTPos(%rip), %eax
addl $1, %eax
movl %eax, _PTPos(%rip)
jmp LBB2_23
LBB2_10:
movl $0, -284(%rbp)
LBB2_11: ## =>This Loop Header: Depth=1
## Child Loop BB2_13 Depth 2
cmpl $255, -284(%rbp)
jge LBB2_18
## %bb.12: ## in Loop: Header=BB2_11 Depth=1
movl $0, -280(%rbp)
LBB2_13: ## Parent Loop BB2_11 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $256, -280(%rbp) ## imm = 0x100
jge LBB2_16
## %bb.14: ## in Loop: Header=BB2_13 Depth=2
movl -284(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _physical_memory@GOTPCREL(%rip), %rax
shlq $10, %rcx
addq %rcx, %rax
movslq -280(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movslq -284(%rbp), %rcx
movq _physical_memory@GOTPCREL(%rip), %rax
shlq $10, %rcx
addq %rcx, %rax
movslq -280(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.15: ## in Loop: Header=BB2_13 Depth=2
movl -280(%rbp), %eax
addl $1, %eax
movl %eax, -280(%rbp)
jmp LBB2_13
LBB2_16: ## in Loop: Header=BB2_11 Depth=1
movslq -284(%rbp), %rcx
movl -284(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq _page_table@GOTPCREL(%rip), %rax
movq (%rax,%rdx,8), %rdx
movq %rdx, (%rax,%rcx,8)
## %bb.17: ## in Loop: Header=BB2_11 Depth=1
movl -284(%rbp), %eax
addl $1, %eax
movl %eax, -284(%rbp)
jmp LBB2_11
LBB2_18:
movl $0, -280(%rbp)
LBB2_19: ## =>This Inner Loop Header: Depth=1
cmpl $256, -280(%rbp) ## imm = 0x100
jge LBB2_22
## %bb.20: ## in Loop: Header=BB2_19 Depth=1
movslq -280(%rbp), %rax
movsbl -272(%rbp,%rax), %edx
movslq -284(%rbp), %rcx
movq _physical_memory@GOTPCREL(%rip), %rax
shlq $10, %rcx
addq %rcx, %rax
movslq -280(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.21: ## in Loop: Header=BB2_19 Depth=1
movl -280(%rbp), %eax
addl $1, %eax
movl %eax, -280(%rbp)
jmp LBB2_19
LBB2_22:
movl -276(%rbp), %edx
movslq -284(%rbp), %rcx
movq _page_table@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,8)
movl _framePos(%rip), %edx
subl $1, %edx
movslq -284(%rbp), %rcx
movq _page_table@GOTPCREL(%rip), %rax
movl %edx, 4(%rax,%rcx,8)
LBB2_23:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_25
## %bb.24:
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB2_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _TLBInsert ## -- Begin function TLBInsert
.p2align 4, 0x90
_TLBInsert: ## @TLBInsert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $0, -12(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl _TLBPos(%rip), %eax
jge LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq -12(%rbp), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl (%rax,%rcx,8), %eax
cmpl -4(%rbp), %eax
jne LBB3_4
## %bb.3:
jmp LBB3_6
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB3_1
LBB3_6:
movl -12(%rbp), %eax
cmpl _TLBPos(%rip), %eax
jne LBB3_15
## %bb.7:
cmpl $16, _TLBPos(%rip)
jge LBB3_9
## %bb.8:
movl -4(%rbp), %edx
movslq _TLBPos(%rip), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,8)
movl -8(%rbp), %edx
movslq _TLBPos(%rip), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl %edx, 4(%rax,%rcx,8)
jmp LBB3_14
LBB3_9:
movl $0, -12(%rbp)
LBB3_10: ## =>This Inner Loop Header: Depth=1
cmpl $15, -12(%rbp)
jge LBB3_13
## %bb.11: ## in Loop: Header=BB3_10 Depth=1
movslq -12(%rbp), %rcx
movl -12(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq _TLB@GOTPCREL(%rip), %rax
movq (%rax,%rdx,8), %rdx
movq %rdx, (%rax,%rcx,8)
## %bb.12: ## in Loop: Header=BB3_10 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB3_10
LBB3_13:
movl -4(%rbp), %ecx
movq _TLB@GOTPCREL(%rip), %rax
movl %ecx, 120(%rax)
movl -8(%rbp), %ecx
movq _TLB@GOTPCREL(%rip), %rax
movl %ecx, 124(%rax)
LBB3_14:
jmp LBB3_23
LBB3_15:
movl -12(%rbp), %eax
movl %eax, -12(%rbp)
LBB3_16: ## =>This Inner Loop Header: Depth=1
cmpl $15, -12(%rbp)
jge LBB3_19
## %bb.17: ## in Loop: Header=BB3_16 Depth=1
movslq -12(%rbp), %rcx
movl -12(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
movq _TLB@GOTPCREL(%rip), %rax
movq (%rax,%rdx,8), %rdx
movq %rdx, (%rax,%rcx,8)
## %bb.18: ## in Loop: Header=BB3_16 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB3_16
LBB3_19:
cmpl $16, _TLBPos(%rip)
jge LBB3_21
## %bb.20:
movl -4(%rbp), %edx
movslq _TLBPos(%rip), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,8)
movl -8(%rbp), %edx
movslq _TLBPos(%rip), %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl %edx, 4(%rax,%rcx,8)
jmp LBB3_22
LBB3_21:
movl -4(%rbp), %edx
movl _TLBPos(%rip), %eax
subl $1, %eax
movslq %eax, %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,8)
movl -8(%rbp), %edx
movl _TLBPos(%rip), %eax
subl $1, %eax
movslq %eax, %rcx
movq _TLB@GOTPCREL(%rip), %rax
movl %edx, 4(%rax,%rcx,8)
LBB3_22:
jmp LBB3_23
LBB3_23:
cmpl $16, _TLBPos(%rip)
jge LBB3_25
## %bb.24:
movl _TLBPos(%rip), %eax
addl $1, %eax
movl %eax, _TLBPos(%rip)
LBB3_25:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _page_faults ## @page_faults
.zerofill __DATA,__common,_page_faults,4,2
.globl _tlb_hits ## @tlb_hits
.zerofill __DATA,__common,_tlb_hits,4,2
.globl _framePos ## @framePos
.zerofill __DATA,__common,_framePos,4,2
.globl _PTPos ## @PTPos
.zerofill __DATA,__common,_PTPos,4,2
.globl _TLBPos ## @TLBPos
.zerofill __DATA,__common,_TLBPos,4,2
.globl _addressCount ## @addressCount
.zerofill __DATA,__common,_addressCount,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rt"
L_.str.1: ## @.str.1
.asciz "out1.txt"
L_.str.2: ## @.str.2
.asciz "w"
.comm _virtual,8,3 ## @virtual
L_.str.3: ## @.str.3
.asciz "out2.txt"
.comm _physical,8,3 ## @physical
L_.str.4: ## @.str.4
.asciz "out3.txt"
.comm _val,8,3 ## @val
L_.str.5: ## @.str.5
.asciz "Input address file not specified.\n"
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "%d addresses.\n"
L_.str.8: ## @.str.8
.asciz "Page Faults: %d\tPage Fault Rate: %.2f\n"
L_.str.9: ## @.str.9
.asciz "TLB Hits: %d\t TLB Rate: %.3f\n"
.comm _TLB,128,4 ## @TLB
.comm _page_table,2048,4 ## @page_table
L_.str.10: ## @.str.10
.asciz "%d\n"
.comm _physical_memory,262144,4 ## @physical_memory
L_.str.11: ## @.str.11
.asciz "BACKING_STORE.bin"
L_.str.12: ## @.str.12
.asciz "rb"
.comm _backing_store,8,3 ## @backing_store
L_.str.13: ## @.str.13
.asciz "Error seeking through backing_store\n"
L_.str.14: ## @.str.14
.asciz "Error reading through file\n"
.subsections_via_symbols
| the_stack_data/22727.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sbrk ; -- Begin function sbrk
.p2align 2
_sbrk: ; @sbrk
.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]
bl _emscripten_get_sbrk_ptr
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #32]
ldr x8, [sp, #32]
ldur x9, [x29, #-16]
add x8, x8, x9
str x8, [sp, #24]
bl _emscripten_get_heap_size
str x0, [sp, #16]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
str x8, [sp, #8]
ldr x0, [sp, #24]
bl _emscripten_resize_heap
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
bl ___error
mov w8, #12
str w8, [x0]
mov x8, #-1
stur x8, [x29, #-8]
b LBB0_5
LBB0_3:
b LBB0_4
LBB0_4:
ldr x8, [sp, #24]
ldur x9, [x29, #-24]
str x8, [x9]
ldr x8, [sp, #32]
stur x8, [x29, #-8]
b LBB0_5
LBB0_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _brk ; -- Begin function brk
.p2align 2
_brk: ; @brk
.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]
mov x0, #0
bl _sbrk
str x0, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x0, x8, x9
bl _sbrk
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_3
LBB1_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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sbrk ## -- Begin function sbrk
.p2align 4, 0x90
_sbrk: ## @sbrk
.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)
callq _emscripten_get_sbrk_ptr
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
addq -16(%rbp), %rax
movq %rax, -40(%rbp)
callq _emscripten_get_heap_size
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
jbe LBB0_4
## %bb.1:
movq -40(%rbp), %rax
subq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq -40(%rbp), %rdi
callq _emscripten_resize_heap
cmpl $0, %eax
jne LBB0_3
## %bb.2:
callq ___error
movl $12, (%rax)
movq $-1, %rax
movq %rax, -8(%rbp)
jmp LBB0_5
LBB0_3:
jmp LBB0_4
LBB0_4:
movq -40(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_5:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _brk ## -- Begin function brk
.p2align 4, 0x90
_brk: ## @brk
.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)
xorl %eax, %eax
movl %eax, %edi
callq _sbrk
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
subq -24(%rbp), %rdi
callq _sbrk
movq $-1, %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB1_3
LBB1_2:
movl $0, -4(%rbp)
LBB1_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/104827644.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imprimirGabarito ; -- Begin function imprimirGabarito
.p2align 2
_imprimirGabarito: ; @imprimirGabarito
.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] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
add w12, w9, #1
ldursw x9, [x29, #-4]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x10
mov x10, x9
add x8, x8, #20
ldursw x9, [x29, #-4]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x11
mov x11, x12
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-16] ; 8-byte Folded Reload
add x8, x8, #40
ldursw x9, [x29, #-4]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_4:
ldur x8, [x29, #-16] ; 8-byte Folded Reload
ldr w9, [x8, #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
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-20]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
stur wzr, [x29, #-84]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-84]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _rand
mov w9, #99
str w9, [sp, #40] ; 4-byte Folded Spill
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
stur w8, [x29, #-8]
bl _rand
ldr w9, [sp, #40] ; 4-byte Folded Reload
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
ldursw x10, [x29, #-84]
sub x9, x29, #80
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-12]
add x10, x9, #20
ldursw x11, [x29, #-84]
str w8, [x10, x11, lsl #2]
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
add w8, w8, w10
add x9, x9, #40
ldursw x10, [x29, #-84]
str w8, [x9, x10, lsl #2]
ldur w8, [x29, #-84]
add w12, w8, #1
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x11
mov x11, x12
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB1_1
LBB1_6:
add x0, sp, #44
str x0, [sp, #32] ; 8-byte Folded Spill
sub x1, x29, #80
mov x2, #64
bl _memcpy
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _imprimirGabarito
mov w0, #0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n%d. Qual \303\251 a soma de %d + %d?:\n"
l_.str.1: ; @.str.1
.asciz "Resposta Correta = %d\n"
l_.str.2: ; @.str.2
.asciz "\nVoc\303\252 acertou %d perguntas!\n"
l_.str.3: ; @.str.3
.asciz "%d.Qual \303\251 a soma de %d + %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 _imprimirGabarito ## -- Begin function imprimirGabarito
.p2align 4, 0x90
_imprimirGabarito: ## @imprimirGabarito
.cfi_startproc
## %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 16(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -4(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
movl -4(%rbp), %esi
addl $1, %esi
movslq -4(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movslq -4(%rbp), %rcx
movl 20(%rax,%rcx,4), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## kill: def $ecx killed $eax
movq -16(%rbp), %rax ## 8-byte Reload
movslq -4(%rbp), %rcx
movl 40(%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
movq -16(%rbp), %rax ## 8-byte Reload
movl 60(%rax), %esi
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 $160, %rsp
movl $0, -4(%rbp)
movl $0, -20(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -84(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -84(%rbp)
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _rand
movl $99, %ecx
cltd
idivl %ecx
movl %edx, -8(%rbp)
callq _rand
movl $99, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
movl -8(%rbp), %ecx
movslq -84(%rbp), %rax
movl %ecx, -80(%rbp,%rax,4)
movl -12(%rbp), %ecx
movslq -84(%rbp), %rax
movl %ecx, -60(%rbp,%rax,4)
movl -8(%rbp), %ecx
addl -12(%rbp), %ecx
movslq -84(%rbp), %rax
movl %ecx, -40(%rbp,%rax,4)
movl -84(%rbp), %esi
addl $1, %esi
movl -8(%rbp), %edx
movl -12(%rbp), %ecx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
addl -12(%rbp), %ecx
cmpl %ecx, %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB1_1
LBB1_6:
movups -80(%rbp), %xmm0
movups -64(%rbp), %xmm1
movups -48(%rbp), %xmm2
movups -32(%rbp), %xmm3
movq %rsp, %rax
movups %xmm3, 48(%rax)
movups %xmm2, 32(%rax)
movups %xmm1, 16(%rax)
movups %xmm0, (%rax)
callq _imprimirGabarito
xorl %eax, %eax
addq $160, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n%d. Qual \303\251 a soma de %d + %d?:\n"
L_.str.1: ## @.str.1
.asciz "Resposta Correta = %d\n"
L_.str.2: ## @.str.2
.asciz "\nVoc\303\252 acertou %d perguntas!\n"
L_.str.3: ## @.str.3
.asciz "%d.Qual \303\251 a soma de %d + %d? "
L_.str.4: ## @.str.4
.asciz "%d"
.subsections_via_symbols
| the_stack_data/1246231.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/122351.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/218894082.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/131085.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_graduate_i0i0d0i0_d0d0i0 ; -- Begin function scilab_rt_graduate_i0i0d0i0_d0d0i0
.p2align 2
_scilab_rt_graduate_i0i0d0i0_d0d0i0: ; @scilab_rt_graduate_i0i0d0i0_d0d0i0
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur d0, [x29, #-16]
stur w2, [x29, #-20]
str x3, [sp, #32]
str x4, [sp, #24]
str x5, [sp, #16]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur d0, [x29, #-16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
bl _rand
scvtf d0, w0
ldr x8, [sp, #32]
str d0, [x8]
bl _rand
scvtf d0, w0
ldr x8, [sp, #24]
str d0, [x8]
bl _rand
ldr x8, [sp, #16]
str w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_graduate_i0i0d0i0_d0d0i0 ## -- Begin function scilab_rt_graduate_i0i0d0i0_d0d0i0
.p2align 4, 0x90
_scilab_rt_graduate_i0i0d0i0_d0d0i0: ## @scilab_rt_graduate_i0i0d0i0_d0d0i0
.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)
movsd %xmm0, -16(%rbp)
movl %edx, -20(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _rand
cvtsi2sd %eax, %xmm0
movq -32(%rbp), %rax
movsd %xmm0, (%rax)
callq _rand
cvtsi2sd %eax, %xmm0
movq -40(%rbp), %rax
movsd %xmm0, (%rax)
callq _rand
movl %eax, %ecx
movq -48(%rbp), %rax
movl %ecx, (%rax)
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 "%f"
.subsections_via_symbols
| the_stack_data/79877.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/234517366.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #8]
bl _test_clistlib_suite_runner
ldr w8, [sp, #8]
add w8, w8, w0
str w8, [sp, #8]
bl _test_clist_util_suite_runner
ldr w8, [sp, #8]
add w8, w8, w0
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %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)
callq _test_clistlib_suite_runner
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
callq _test_clist_util_suite_runner
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1059101.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #44]
str wzr, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #32]
add x8, sp, #48
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
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #32]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
subs w9, w8, #1
add x8, sp, #48
ldr w8, [x8, w9, sxtw #2]
; 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
b LBB0_1
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
mov w10, #2
sdiv w8, w8, w10
subs w9, w8, #1
add x8, sp, #48
ldr w9, [x8, w9, sxtw #2]
str w9, [sp, #40]
ldr w9, [sp, #32]
sdiv w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #36]
ldr w8, [sp, #40]
ldr w9, [sp, #36]
add w8, w8, w9
scvtf s0, w8
fmov s1, #2.00000000
fdiv s0, s0, s1
str s0, [sp, #28]
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
mov w9, #2
sdiv w9, w8, w9
add x8, sp, #48
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
scvtf s0, w8
str s0, [sp, #28]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr s0, [sp, #28]
fcvt d0, s0
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str d0, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
LBB0_11:
ldr w8, [sp, #44]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
ldr w0, [sp, #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,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Median is %d, for total numbers = %d\n"
l_.str.2: ; @.str.2
.asciz "Median is %f, for total numbers = %d\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 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $0, -64(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -64(%rbp)
jge LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -64(%rbp), %rax
leaq -48(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
cmpl $1, -64(%rbp)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax
subl $1, %eax
cltq
movl -48(%rbp,%rax,4), %esi
movl -64(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
subl $1, %eax
cltq
movl -48(%rbp,%rax,4), %eax
movl %eax, -56(%rbp)
movl -64(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cltq
movl -48(%rbp,%rax,4), %eax
movl %eax, -60(%rbp)
movl -56(%rbp), %eax
addl -60(%rbp), %eax
cvtsi2ss %eax, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -68(%rbp)
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -64(%rbp)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cltq
movl -48(%rbp,%rax,4), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -72(%rbp), %eax ## 4-byte Reload
cvtsi2ss %eax, %xmm0
movss %xmm0, -68(%rbp)
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movl -64(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_1
LBB0_11:
movl -52(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_13
## %bb.12:
movl -76(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_13:
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 "Median is %d, for total numbers = %d\n"
L_.str.2: ## @.str.2
.asciz "Median is %f, for total numbers = %d\n"
.subsections_via_symbols
| the_stack_data/145318.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/187643699.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
bl ___VERIFIER_error
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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, _k@GOTPAGE
ldr x8, [x8, _k@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _i@GOTPAGE
ldr x8, [x8, _i@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _y@GOTPAGE
ldr x8, [x8, _y@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
bl ___VERIFIER_nondet_int
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
str w0, [x9]
str wzr, [x8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [x8]
adrp x8, _x@GOTPAGE
ldr x8, [x8, _x@GOTPAGEOFF]
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 x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [sp] ; 8-byte Folded Reload
ldrsw x11, [x9]
adrp x8, _x@GOTPAGE
ldr x8, [x8, _x@GOTPAGEOFF]
add x8, x8, x11
ldrb w8, [x8]
ldrsw x11, [x9]
add x10, x10, x11
strb w8, [x10]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_1
LBB1_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldrsw x10, [x10]
add x9, x9, x10
strb wzr, [x9]
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_8
b LBB1_4
LBB1_4:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [x9]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
mov w0, #0
bl ___VERIFIER_assert
b LBB1_7
LBB1_7:
b LBB1_8
LBB1_8:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _k,4,2 ; @k
.comm _i,4,2 ; @i
.comm _x,100,0 ; @x
.comm _y,100,0 ; @y
.comm _j,4,2 ; @j
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB0_3
## %bb.1:
jmp LBB0_2
LBB0_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq ___VERIFIER_error
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, %ecx
movq _k@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _i@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq _i@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _x@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq _i@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _x@GOTPCREL(%rip), %rax
movb (%rax,%rcx), %dl
movq _i@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _y@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _i@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_1
LBB1_3:
movq _i@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _y@GOTPCREL(%rip), %rax
movb $0, (%rax,%rcx)
movq _k@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jl LBB1_8
## %bb.4:
movq _k@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _i@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_8
## %bb.5:
movq _k@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _y@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_7
## %bb.6:
xorl %edi, %edi
callq ___VERIFIER_assert
LBB1_7:
jmp LBB1_8
LBB1_8:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _k,4,2 ## @k
.comm _i,4,2 ## @i
.comm _x,100,4 ## @x
.comm _y,100,4 ## @y
.comm _j,4,2 ## @j
.subsections_via_symbols
| the_stack_data/79814.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, #480
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 xzr, [sp, #56]
mov x0, #100
bl _malloc
str x0, [sp, #40]
ldr x8, [sp, #40]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov x9, sp
add x8, sp, #52
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #40]
bl _strlen
mov x8, x0
subs w8, w8, #1
str w8, [sp, #36]
str wzr, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #48
str w8, [sp, #48]
b LBB0_9
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #70
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #55
str w8, [sp, #48]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr s1, [sp, #48]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
str d0, [sp, #8] ; 8-byte Folded Spill
ldr s1, [sp, #52]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldr s1, [sp, #36]
fmov w8, s1
subs w8, w8, #1
str w8, [sp, #36]
fmov w8, s1
scvtf d1, w8
bl _pow
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
ldr d2, [sp, #56]
scvtf d2, d2
fmadd d0, d0, d1, d2
fcvtzs x8, d0
str x8, [sp, #56]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_1
LBB0_11:
ldr x8, [sp, #56]
str x8, [sp, #24]
mov w8, #1
str w8, [sp, #16]
b LBB0_12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [sp, #24]
mov x9, #2
sdiv x10, x8, x9
mul x10, x10, x9
subs x8, x8, x10
ldrsw x11, [sp, #16]
mov x10, x11
add w10, w10, #1
str w10, [sp, #16]
add x10, sp, #72
; kill: def $w8 killed $w8 killed $x8
str w8, [x10, x11, lsl #2]
ldr x8, [sp, #24]
sdiv x8, x8, x9
str x8, [sp, #24]
b LBB0_12
LBB0_14:
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #72
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_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_15
LBB0_18:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
bl ___stack_chk_fail
LBB0_20:
mov w0, #0
add sp, sp, #480
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $480, %rsp ## imm = 0x1E0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
movq $0, -432(%rbp)
movl $100, %edi
callq _malloc
movq %rax, -448(%rbp)
movq -448(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.1(%rip), %rdi
leaq -436(%rbp), %rsi
movb $0, %al
callq _scanf
movq -448(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
subl $1, %eax
movl %eax, -452(%rbp)
movl $0, -456(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $48, %eax
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $57, %eax
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $48, %eax
movl %eax, -440(%rbp)
jmp LBB0_9
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $65, %eax
jl LBB0_8
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $70, %eax
jg LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq -448(%rbp), %rax
movslq -456(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $55, %eax
movl %eax, -440(%rbp)
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
cvtsi2sdl -440(%rbp), %xmm0
movsd %xmm0, -480(%rbp) ## 8-byte Spill
cvtsi2sdl -436(%rbp), %xmm0
movl -452(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -452(%rbp)
cvtsi2sd %eax, %xmm1
callq _pow
movaps %xmm0, %xmm2
movsd -480(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
cvtsi2sdq -432(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movq %rax, -432(%rbp)
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movl -456(%rbp), %eax
addl $1, %eax
movl %eax, -456(%rbp)
jmp LBB0_1
LBB0_11:
movq -432(%rbp), %rax
movq %rax, -464(%rbp)
movl $1, -472(%rbp)
LBB0_12: ## =>This Inner Loop Header: Depth=1
cmpq $0, -464(%rbp)
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq -464(%rbp), %rax
movl $2, %ecx
cqto
idivq %rcx
movl %edx, %ecx
movl -472(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -472(%rbp)
cltq
movl %ecx, -416(%rbp,%rax,4)
movq -464(%rbp), %rax
movl $2, %ecx
cqto
idivq %rcx
movq %rax, -464(%rbp)
jmp LBB0_12
LBB0_14:
movl -472(%rbp), %eax
subl $1, %eax
movl %eax, -468(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
cmpl $0, -468(%rbp)
jle LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movslq -468(%rbp), %rax
movl -416(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movl -468(%rbp), %eax
addl $-1, %eax
movl %eax, -468(%rbp)
jmp LBB0_15
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_20
## %bb.19:
xorl %eax, %eax
addq $480, %rsp ## imm = 0x1E0
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/470366.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello CVA6!\\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello CVA6!\\n"
.subsections_via_symbols
| the_stack_data/131610.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]
str wzr, [sp, #24]
str wzr, [sp, #20]
mov w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #200
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_6:
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Count = %d\n"
l_.str.1: ; @.str.1
.asciz "Sum = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
movl $1, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $200, -20(%rbp)
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_6:
movl -28(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Count = %d\n"
L_.str.1: ## @.str.1
.asciz "Sum = %d\n"
.subsections_via_symbols
| the_stack_data/14849.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-44]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #48
str x8, [x9]
add x8, sp, #44
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov x9, sp
sub x8, x29, #38
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w9, [sp, #48]
; implicit-def: $x10
mov x10, x9
ldr s0, [sp, #44]
fcvt d0, s0
mov x9, sp
str x10, [x9]
str d0, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter your age, assets, and favorite pet.\n"
l_.str.1: ; @.str.1
.asciz "%d %f"
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "%d $%.2f %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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -56(%rbp), %rsi
leaq -60(%rbp), %rdx
movb $0, %al
callq _scanf
leaq -48(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
movl -56(%rbp), %esi
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq -48(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter your age, assets, and favorite pet.\n"
L_.str.1: ## @.str.1
.asciz "%d %f"
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "%d $%.2f %s\n"
.subsections_via_symbols
| the_stack_data/74208.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convert ; -- Begin function convert
.p2align 2
_convert: ; @convert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #8]
mov w9, #2
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
str w8, [sp, #4] ; 4-byte Folded Spill
ldr w8, [sp, #8]
sdiv w0, w8, w9
bl _convert
ldr w8, [sp, #4] ; 4-byte Folded Reload
mov w9, #10
mul w9, w9, w0
add w8, w8, w9
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
bl _convert
stur w0, [x29, #-8]
ldur w8, [x29, #-4]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov 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 "\nenter the number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "the binary equivalent of %d is %d."
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convert ## -- Begin function convert
.p2align 4, 0x90
_convert: ## @convert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB0_2
## %bb.1:
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp) ## 4-byte Spill
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edi
callq _convert
movl -12(%rbp), %edx ## 4-byte Reload
imull $10, %eax, %eax
addl %eax, %edx
movl %edx, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %edi
callq _convert
movl %eax, -8(%rbp)
movl -4(%rbp), %esi
movl -8(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nenter the number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "the binary equivalent of %d is %d."
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/59513859.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imprime_matriz ; -- Begin function imprime_matriz
.p2align 2
_imprime_matriz: ; @imprime_matriz
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldursw x8, [x29, #-4]
mov x9, #40
mul x9, x8, x9
adrp x8, _matriz@GOTPAGE
ldr x8, [x8, _matriz@GOTPAGEOFF]
add x8, x8, x9
ldrsw x9, [sp, #8]
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_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _inicializa_matriz ; -- Begin function inicializa_matriz
.p2align 2
_inicializa_matriz: ; @inicializa_matriz
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
bl _pthread_mutex_lock
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
bl _rand
mov w9, #100
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
ldrsw x9, [sp, #12]
mov x10, #40
mul x10, x9, x10
adrp x9, _matriz@GOTPAGE
ldr x9, [x9, _matriz@GOTPAGEOFF]
add x9, x9, x10
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
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, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
bl _pthread_mutex_unlock
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
str w0, [sp, #32]
str x1, [sp, #24]
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
mov x1, #0
str x1, [sp, #8] ; 8-byte Folded Spill
bl _pthread_mutex_init
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #40
add x0, x8, x9, lsl #3
ldrsw x3, [sp, #20]
mov x1, #0
adrp x2, _inicializa_matriz@PAGE
add x2, x2, _inicializa_matriz@PAGEOFF
bl _pthread_create
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_4:
str wzr, [sp, #20]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #40
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_5
LBB2_8:
bl _imprime_matriz
adrp x0, _mutex@GOTPAGE
ldr x0, [x0, _mutex@GOTPAGEOFF]
bl _pthread_mutex_destroy
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _counter ; @counter
.p2align 2
_counter:
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\t"
.comm _matriz,400,2 ; @matriz
l_.str.1: ; @.str.1
.asciz "\n"
.comm _mutex,64,3 ; @mutex
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imprime_matriz ## -- Begin function imprime_matriz
.p2align 4, 0x90
_imprime_matriz: ## @imprime_matriz
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $10, -4(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -8(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -8(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -4(%rbp), %rcx
movq _matriz@GOTPCREL(%rip), %rax
imulq $40, %rcx, %rcx
addq %rcx, %rax
movslq -8(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inicializa_matriz ## -- Begin function inicializa_matriz
.p2align 4, 0x90
_inicializa_matriz: ## @inicializa_matriz
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq _mutex@GOTPCREL(%rip), %rdi
callq _pthread_mutex_lock
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -16(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _rand
movl $100, %ecx
cltd
idivl %ecx
movslq -20(%rbp), %rcx
movq _matriz@GOTPCREL(%rip), %rax
imulq $40, %rcx, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %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:
movq _mutex@GOTPCREL(%rip), %rdi
callq _pthread_mutex_unlock
xorl %eax, %eax
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
movl %edi, -104(%rbp)
movq %rsi, -112(%rbp)
movq _mutex@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_mutex_init
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -116(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -116(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -116(%rbp), %rax
leaq -96(%rbp), %rdi
shlq $3, %rax
addq %rax, %rdi
movslq -116(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _inicializa_matriz(%rip), %rdx
callq _pthread_create
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB2_1
LBB2_4:
movl $0, -116(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -116(%rbp)
jge LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movslq -116(%rbp), %rax
movq -96(%rbp,%rax,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB2_5
LBB2_8:
callq _imprime_matriz
movq _mutex@GOTPCREL(%rip), %rdi
callq _pthread_mutex_destroy
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_10
## %bb.9:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB2_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _counter ## @counter
.p2align 2
_counter:
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\t"
.comm _matriz,400,4 ## @matriz
L_.str.1: ## @.str.1
.asciz "\n"
.comm _mutex,64,3 ## @mutex
.subsections_via_symbols
| the_stack_data/68886491.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_file ; -- Begin function read_file
.p2align 2
_read_file: ; @read_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, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x0, [x29, #-16]
mov x1, #0
str x1, [sp, #8] ; 8-byte Folded Spill
mov w2, #2
bl _fseek
ldur x0, [x29, #-16]
bl _ftell
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16]
mov x8, x0
str w8, [x9]
ldur x0, [x29, #-16]
mov w2, #0
bl _fseek
ldr x0, [sp, #24]
ldr x8, [sp, #16]
ldr w8, [x8]
mov x2, x8
ldur x3, [x29, #-16]
mov x1, #1
bl _fread
b LBB0_5
LBB0_4:
ldur x0, [x29, #-16]
mov x1, #0
str x1, [sp] ; 8-byte Folded Spill
mov w2, #2
bl _fseek
ldur x0, [x29, #-16]
bl _ftell
ldr x1, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #16]
mov x8, x0
str w8, [x9]
ldur x0, [x29, #-16]
mov w2, #0
bl _fseek
b LBB0_5
LBB0_5:
mov w8, #1
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB0_7
LBB0_6:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
sturb w8, [x29, #-1]
b LBB0_7
LBB0_7:
ldurb w8, [x29, #-1]
and w0, w8, #0x1
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, #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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
subs 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
stur wzr, [x29, #-4]
b LBB1_21
LBB1_2:
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_4
LBB1_4:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
stur x8, [x29, #-24]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-32]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
stur x8, [x29, #-32]
b LBB1_12
LBB1_6:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _strdup
stur x0, [x29, #-32]
ldur x0, [x29, #-32]
bl _strlen
mov x8, x0
stur w8, [x29, #-36]
ldur x8, [x29, #-32]
ldur w9, [x29, #-36]
subs w9, w9, #3
add x0, x8, w9, sxtw
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldur x8, [x29, #-32]
ldur w9, [x29, #-36]
subs w9, w9, #3
add x0, x8, w9, sxtw
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
mov x2, #-1
bl ___strcpy_chk
b LBB1_11
LBB1_8:
ldur x8, [x29, #-32]
ldur w9, [x29, #-36]
subs w9, w9, #3
add x0, x8, w9, sxtw
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldur x8, [x29, #-32]
ldur w9, [x29, #-36]
subs w9, w9, #3
add x0, x8, w9, sxtw
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
mov x2, #-1
bl ___strcpy_chk
b LBB1_10
LBB1_10:
b LBB1_11
LBB1_11:
b LBB1_12
LBB1_12:
ldur x0, [x29, #-24]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
stur x0, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_16
b LBB1_13
LBB1_13:
sub x2, x29, #52
str x2, [sp, #8] ; 8-byte Folded Spill
stur wzr, [x29, #-52]
ldur x0, [x29, #-48]
mov x1, #0
bl _read_file
ldur w8, [x29, #-52]
mov x0, x8
bl _malloc
ldr x2, [sp, #8] ; 8-byte Folded Reload
str x0, [sp, #48]
ldur x0, [x29, #-48]
ldr x1, [sp, #48]
bl _read_file
mov w8, #1
and w8, w0, w8
strb w8, [sp, #47]
ldrb w8, [sp, #47]
and w8, w8, #0x1
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
ldur w8, [x29, #-52]
subs w8, w8, #2048
; kill: def $x8 killed $w8
str x8, [sp, #32]
ldr x0, [sp, #32]
bl _malloc
str x0, [sp, #24]
ldr x0, [sp, #24]
ldr x8, [sp, #48]
add x1, x8, #2048
ldr x2, [sp, #32]
mov x3, #-1
bl ___memcpy_chk
ldur x0, [x29, #-32]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x0, [sp, #24]
ldr x2, [sp, #32]
ldr x3, [sp, #16]
mov x1, #1
bl _fwrite
ldr x0, [sp, #24]
bl _free
ldr x0, [sp, #48]
bl _free
ldr x0, [sp, #16]
bl _fclose
ldur x0, [x29, #-48]
bl _fclose
stur wzr, [x29, #-4]
b LBB1_21
LBB1_15:
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_21
LBB1_16:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_21
LBB1_17:
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_21
LBB1_19:
b LBB1_20
LBB1_20:
b LBB1_21
LBB1_21:
ldur w0, [x29, #-4]
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 "ASUS UEFI Firmware Extractor v1.0.2\n"
l_.str.1: ; @.str.1
.asciz "Usage: input_file [output_file]\n"
l_.str.2: ; @.str.2
.asciz "CAP"
l_.str.3: ; @.str.3
.asciz "rom"
l_.str.4: ; @.str.4
.asciz "cap"
l_.str.5: ; @.str.5
.asciz "rb"
l_.str.6: ; @.str.6
.asciz "wb"
l_.str.7: ; @.str.7
.asciz "Failed to read file \"%s\""
l_.str.8: ; @.str.8
.asciz "Input file does not exist!\n"
l_.str.9: ; @.str.9
.asciz "Too many arguments provided!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_file ## -- Begin function read_file
.p2align 4, 0x90
_read_file: ## @read_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)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
cmpq $0, -16(%rbp)
je LBB0_6
## %bb.1:
cmpq $0, -32(%rbp)
je LBB0_6
## %bb.2:
cmpq $0, -24(%rbp)
je LBB0_4
## %bb.3:
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -16(%rbp), %rdi
callq _ftell
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movl (%rax), %eax
movl %eax, %edx
movq -16(%rbp), %rcx
movl $1, %esi
callq _fread
jmp LBB0_5
LBB0_4:
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
movq -16(%rbp), %rdi
callq _ftell
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
LBB0_5:
movb $1, -1(%rbp)
jmp LBB0_7
LBB0_6:
movb $0, -1(%rbp)
LBB0_7:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
cmpl $1, -8(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
jmp LBB1_21
LBB1_2:
cmpl $2, -8(%rbp)
je LBB1_4
## %bb.3:
cmpl $3, -8(%rbp)
jne LBB1_17
LBB1_4:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq $0, -32(%rbp)
cmpl $3, -8(%rbp)
jne LBB1_6
## %bb.5:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB1_12
LBB1_6:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _strdup
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movq -32(%rbp), %rdi
movl -36(%rbp), %eax
subl $3, %eax
cltq
addq %rax, %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_8
## %bb.7:
movq -32(%rbp), %rdi
movl -36(%rbp), %eax
subl $3, %eax
cltq
addq %rax, %rdi
leaq L_.str.3(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
jmp LBB1_11
LBB1_8:
movq -32(%rbp), %rdi
movl -36(%rbp), %eax
subl $3, %eax
cltq
addq %rax, %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_10
## %bb.9:
movq -32(%rbp), %rdi
movl -36(%rbp), %eax
subl $3, %eax
cltq
addq %rax, %rdi
leaq L_.str.3(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
LBB1_10:
jmp LBB1_11
LBB1_11:
jmp LBB1_12
LBB1_12:
movq -24(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB1_16
## %bb.13:
movl $0, -52(%rbp)
movq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq -52(%rbp), %rdx
callq _read_file
movl -52(%rbp), %eax
movl %eax, %edi
callq _malloc
movq %rax, -64(%rbp)
movq -48(%rbp), %rdi
movq -64(%rbp), %rsi
leaq -52(%rbp), %rdx
callq _read_file
andb $1, %al
movb %al, -65(%rbp)
movb -65(%rbp), %al
andb $1, %al
movzbl %al, %eax
cmpl $1, %eax
jne LBB1_15
## %bb.14:
movl -52(%rbp), %eax
subl $2048, %eax ## imm = 0x800
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp)
movq -80(%rbp), %rdi
callq _malloc
movq %rax, -88(%rbp)
movq -88(%rbp), %rdi
movq -64(%rbp), %rsi
addq $2048, %rsi ## imm = 0x800
movq -80(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -32(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _fopen
movq %rax, -96(%rbp)
movq -88(%rbp), %rdi
movq -80(%rbp), %rdx
movq -96(%rbp), %rcx
movl $1, %esi
callq _fwrite
movq -88(%rbp), %rdi
callq _free
movq -64(%rbp), %rdi
callq _free
movq -96(%rbp), %rdi
callq _fclose
movq -48(%rbp), %rdi
callq _fclose
movl $0, -4(%rbp)
jmp LBB1_21
LBB1_15:
movq -24(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB1_21
LBB1_16:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB1_21
LBB1_17:
cmpl $3, -8(%rbp)
jle LBB1_19
## %bb.18:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB1_21
LBB1_19:
jmp LBB1_20
LBB1_20:
jmp LBB1_21
LBB1_21:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ASUS UEFI Firmware Extractor v1.0.2\n"
L_.str.1: ## @.str.1
.asciz "Usage: input_file [output_file]\n"
L_.str.2: ## @.str.2
.asciz "CAP"
L_.str.3: ## @.str.3
.asciz "rom"
L_.str.4: ## @.str.4
.asciz "cap"
L_.str.5: ## @.str.5
.asciz "rb"
L_.str.6: ## @.str.6
.asciz "wb"
L_.str.7: ## @.str.7
.asciz "Failed to read file \"%s\""
L_.str.8: ## @.str.8
.asciz "Input file does not exist!\n"
L_.str.9: ## @.str.9
.asciz "Too many arguments provided!\n"
.subsections_via_symbols
| the_stack_data/118959.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_contour_d2d2i2i2d0d0s0_ ; -- Begin function scilab_rt_contour_d2d2i2i2d0d0s0_
.p2align 2
_scilab_rt_contour_d2d2i2i2d0d0s0_: ; @scilab_rt_contour_d2d2i2i2d0d0s0_
.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
ldr x12, [x29, #16]
ldr w11, [x29, #24]
ldr w10, [x29, #28]
ldr x9, [x29, #32]
ldr x8, [x29, #40]
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
stur w3, [x29, #-20]
stur w4, [x29, #-24]
stur x5, [x29, #-32]
stur w6, [x29, #-36]
stur w7, [x29, #-40]
stur x12, [x29, #-48]
stur w11, [x29, #-52]
stur w10, [x29, #-56]
stur x9, [x29, #-64]
stur d0, [x29, #-72]
stur d1, [x29, #-80]
str x8, [sp, #88]
ldur w8, [x29, #-8]
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
ldur w8, [x29, #-40]
; kill: def $x8 killed $w8
str x8, [sp, #40] ; 8-byte Folded Spill
ldur w8, [x29, #-56]
; kill: def $x8 killed $w8
str x8, [sp, #48] ; 8-byte Folded Spill
movi d0, #0000000000000000
str d0, [sp, #72]
str d0, [sp, #64]
str wzr, [sp, #60]
str wzr, [sp, #56]
str wzr, [sp, #84]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #84]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #80]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldrsw x9, [sp, #84]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #80]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #72]
fadd d0, d0, d1
str d0, [sp, #72]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
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, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB0_1
LBB0_8:
ldr d0, [sp, #72]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #84]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #84]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #80]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldrsw x9, [sp, #84]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #80]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #64]
fadd d0, d0, d1
str d0, [sp, #64]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
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, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB0_9
LBB0_16:
ldr d0, [sp, #64]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str wzr, [sp, #84]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #84]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #80]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldrsw x9, [sp, #84]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #80]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #60]
add w8, w8, w9
str w8, [sp, #60]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
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, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB0_17
LBB0_24:
ldr w9, [sp, #60]
; 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
str wzr, [sp, #84]
b LBB0_25
LBB0_25: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
ldr w8, [sp, #84]
ldur w9, [x29, #-52]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
str wzr, [sp, #80]
b LBB0_27
LBB0_27: ; Parent Loop BB0_25 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=2
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-64]
ldrsw x9, [sp, #84]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #80]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #56]
add w8, w8, w9
str w8, [sp, #56]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_27 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB0_27
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB0_25
LBB0_32:
ldr w9, [sp, #56]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur d0, [x29, #-72]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur d0, [x29, #-80]
mov x8, sp
str d0, [x8]
bl _printf
ldr x8, [sp, #88]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_contour_d2d2i2i2d0d0s0_ ## -- Begin function scilab_rt_contour_d2d2i2i2d0d0s0_
.p2align 4, 0x90
_scilab_rt_contour_d2d2i2i2d0d0s0_: ## @scilab_rt_contour_d2d2i2i2d0d0s0_
.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 64(%rbp), %rax
movq 56(%rbp), %rax
movl 48(%rbp), %eax
movl 40(%rbp), %eax
movq 32(%rbp), %rax
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movl %ecx, -20(%rbp)
movl %r8d, -24(%rbp)
movq %r9, -32(%rbp)
movsd %xmm0, -40(%rbp)
movsd %xmm1, -48(%rbp)
movl -8(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movl 24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl 48(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movsd %xmm0, -64(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -72(%rbp)
movl $0, -76(%rbp)
movl $0, -80(%rbp)
movl $0, -52(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -52(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -56(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -112(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -64(%rbp), %xmm0
movsd %xmm0, -64(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_8:
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -52(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -52(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -56(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -104(%rbp), %rdx ## 8-byte Reload
movq -32(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -72(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%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 -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_9
LBB0_16:
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -52(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movl -52(%rbp), %eax
cmpl 16(%rbp), %eax
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -56(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl 24(%rbp), %eax
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -96(%rbp), %rdx ## 8-byte Reload
movq 32(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -76(%rbp), %eax
movl %eax, -76(%rbp)
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%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 -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_17
LBB0_24:
movl -76(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -52(%rbp)
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
movl -52(%rbp), %eax
cmpl 40(%rbp), %eax
jge LBB0_32
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl $0, -56(%rbp)
LBB0_27: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movl -56(%rbp), %eax
cmpl 48(%rbp), %eax
jge LBB0_30
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
movq -88(%rbp), %rdx ## 8-byte Reload
movq 56(%rbp), %rax
movslq -52(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -56(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -80(%rbp), %eax
movl %eax, -80(%rbp)
## %bb.29: ## in Loop: Header=BB0_27 Depth=2
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_27
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_25 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_25
LBB0_32:
movl -80(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movq 64(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%s"
.subsections_via_symbols
| the_stack_data/569230.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, #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]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-12]
stur wzr, [x29, #-8]
b LBB0_3
LBB0_2:
mov w8, #1
stur w8, [x29, #-8]
b LBB0_3
LBB0_3:
adrp x8, _global@GOTPAGE
ldr x8, [x8, _global@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w8, [x8]
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
bl _assert
ldr x9, [sp, #8] ; 8-byte Folded Reload
mov w8, #1
str w8, [x9]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ge
and w0, w8, #0x1
bl _assert
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
bl _assert
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
ldr w0, [sp, #8]
bl _foo
adrp x8, _global@GOTPAGE
ldr x8, [x8, _global@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #1
cset w8, eq
and w0, w8, #0x1
bl _assert
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
.comm _global,4,2 ; @global
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jge LBB0_2
## %bb.1:
movl $0, -12(%rbp)
movl $0, -8(%rbp)
jmp LBB0_3
LBB0_2:
movl $1, -8(%rbp)
LBB0_3:
movq _global@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
sete %al
andb $1, %al
movzbl %al, %edi
callq _assert
movq _global@GOTPCREL(%rip), %rax
movl $1, (%rax)
cmpl $0, -8(%rbp)
setge %al
andb $1, %al
movzbl %al, %edi
callq _assert
cmpl $0, -12(%rbp)
sete %al
andb $1, %al
movzbl %al, %edi
callq _assert
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl -8(%rbp), %edi
callq _foo
movq _global@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
sete %al
andb $1, %al
movzbl %al, %edi
callq _assert
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _global,4,2 ## @global
.subsections_via_symbols
| the_stack_data/966388.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 x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
str x9, [sp] ; 8-byte Folded Spill
str wzr, [sp, #12]
mov w8, #3
strb w8, [x9]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr x8, [sp] ; 8-byte Folded Reload
ldrsb w8, [x8]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldrsb w8, [x9]
subs w8, w8, #5
strb w8, [x9]
b LBB0_1
LBB0_7:
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _a,1,0 ; @a
.comm _b,2,1 ; @b
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movq _a@GOTPCREL(%rip), %rax
movb $3, (%rax)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movq _a@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $-1, %eax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq _b@GOTPCREL(%rip), %rax
cmpw $0, (%rax)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq _a@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
subl $5, %eax
movb %al, %cl
movq _a@GOTPCREL(%rip), %rax
movb %cl, (%rax)
jmp LBB0_1
LBB0_7:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,1,0 ## @a
.comm _b,2,1 ## @b
.subsections_via_symbols
| the_stack_data/54824904.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _validate_position ; -- Begin function validate_position
.p2align 2
_validate_position: ; @validate_position
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str w2, [sp, #8]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #53
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #55
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #54
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
subs w8, w8, #56
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #1
str w8, [sp, #28]
b LBB0_7
LBB0_6:
str wzr, [sp, #28]
b LBB0_7
LBB0_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _validate_position ## -- Begin function validate_position
.p2align 4, 0x90
_validate_position: ## @validate_position
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
je LBB0_5
## %bb.1:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $53, %eax
je LBB0_5
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $55, %eax
je LBB0_5
## %bb.3:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $54, %eax
je LBB0_5
## %bb.4:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $56, %eax
jne LBB0_6
LBB0_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/64199155.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
mov w8, #10
stur w8, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #10
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_4
LBB0_6:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Incremento - i = 0"
l_.str.1: ; @.str.1
.asciz "\ni: %d"
l_.str.2: ; @.str.2
.asciz "\nDecremento - j = 10"
l_.str.3: ; @.str.3
.asciz "\nj: %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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movl $10, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -8(%rbp)
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -12(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_4
LBB0_6:
leaq L_.str.4(%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 "Incremento - i = 0"
L_.str.1: ## @.str.1
.asciz "\ni: %d"
L_.str.2: ## @.str.2
.asciz "\nDecremento - j = 10"
L_.str.3: ## @.str.3
.asciz "\nj: %d"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/20449166.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_memset ; -- Begin function ft_memset
.p2align 2
_ft_memset: ; @ft_memset
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str w1, [sp, #36]
str x2, [sp, #24]
str xzr, [sp, #8]
ldr x8, [sp, #40]
str x8, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #36]
ldr x9, [sp, #16]
ldr x10, [sp, #8]
strb w8, [x9, x10]
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB0_3
LBB0_5:
b LBB0_6
LBB0_6:
ldr x0, [sp, #40]
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_memset ## -- Begin function ft_memset
.p2align 4, 0x90
_ft_memset: ## @ft_memset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq $0, -40(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
cmpq $0, -24(%rbp)
je LBB0_6
## %bb.1:
cmpq $0, -8(%rbp)
je LBB0_6
## %bb.2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
cmpq -24(%rbp), %rax
jae LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -12(%rbp), %eax
movb %al, %dl
movq -32(%rbp), %rax
movq -40(%rbp), %rcx
movb %dl, (%rax,%rcx)
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB0_3
LBB0_5:
jmp LBB0_6
LBB0_6:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/3263820.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/54826187.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart0_init ; -- Begin function uart0_init
.p2align 2
_uart0_init: ; @uart0_init
.cfi_startproc
; %bb.0:
mov x9, #112
movk x9, #22016, lsl #16
ldr x8, [x9]
and x8, x8, #0xffffffffffffff0f
str x8, [x9]
ldr x8, [x9]
mov x10, #160
orr x8, x8, x10
str x8, [x9]
mov x9, #120
movk x9, #22016, lsl #16
ldr x8, [x9]
and x8, x8, #0xfffffffffffffff3
str x8, [x9]
ldr x8, [x9]
orr x8, x8, #0xc
str x8, [x9]
mov x9, #1342177280
mov x8, #3
str x8, [x9]
mov x9, #4
movk x9, #20480, lsl #16
mov x8, #5
str x8, [x9]
mov x8, #8
movk x8, #20480, lsl #16
str xzr, [x8]
mov x8, #12
movk x8, #20480, lsl #16
str xzr, [x8]
mov x9, #40
movk x9, #20480, lsl #16
mov x8, #26
str x8, [x9]
ret
.cfi_endproc
; -- End function
.globl _getc ; -- Begin function getc
.p2align 2
_getc: ; @getc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
mov x8, #16
movk x8, #20480, lsl #16
ldr x8, [x8]
ands x8, x8, #0x1
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_3:
mov x8, #36
movk x8, #20480, lsl #16
ldr x8, [x8]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
mov w8, #10
stur w8, [x29, #-4]
b LBB1_5
LBB1_5:
ldur w8, [x29, #-4]
subs w8, w8, #8
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
mov w0, #8
bl _putc
mov w0, #32
bl _putc
b LBB1_7
LBB1_7:
ldur w8, [x29, #-4]
and w0, w8, #0xff
bl _putc
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _putc ; -- Begin function putc
.p2align 2
_putc: ; @putc
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
mov x8, #16
movk x8, #20480, lsl #16
ldr x8, [x8]
ands x8, x8, #0x4
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldrb w8, [sp, #15]
; kill: def $x8 killed $w8
mov x9, #32
movk x9, #20480, lsl #16
str x8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _gets ; -- Begin function gets
.p2align 2
_gets: ; @gets
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
str x8, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
bl _getc
stur w0, [x29, #-12]
subs w8, w0, #10
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
add x10, x9, #1
stur x10, [x29, #-8]
strb w8, [x9]
b LBB3_1
LBB3_3:
ldur x8, [x29, #-8]
strb wzr, [x8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _puts ; -- Begin function puts
.p2align 2
_puts: ; @puts
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrb w0, [x8, x9]
bl _putc
ldr w8, [sp, #4]
add 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 _puthex ; -- Begin function puthex
.p2align 2
_puthex: ; @puthex
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
str wzr, [sp, #8]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB5_8
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-4]
ldr w10, [sp, #8]
mov w9, #7
subs w9, w9, w10
lsl w9, w9, #2
lsr w8, w8, w9
and w8, w8, #0xf
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB5_5
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #9
cset w8, gt
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #48
and w0, w8, #0xff
bl _putc
b LBB5_6
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #65
subs w8, w8, #10
and w0, w8, #0xff
bl _putc
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB5_1
LBB5_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 "0x"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart0_init ## -- Begin function uart0_init
.p2align 4, 0x90
_uart0_init: ## @uart0_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 $1442840688, %eax ## imm = 0x56000070
movq (%rax), %rcx
andq $-241, %rcx
movl $1442840688, %eax ## imm = 0x56000070
movq %rcx, (%rax)
movl $1442840688, %eax ## imm = 0x56000070
movq (%rax), %rcx
orq $160, %rcx
movl $1442840688, %eax ## imm = 0x56000070
movq %rcx, (%rax)
movl $1442840696, %eax ## imm = 0x56000078
movq (%rax), %rcx
andq $-13, %rcx
movl $1442840696, %eax ## imm = 0x56000078
movq %rcx, (%rax)
movl $1442840696, %eax ## imm = 0x56000078
movq (%rax), %rcx
orq $12, %rcx
movl $1442840696, %eax ## imm = 0x56000078
movq %rcx, (%rax)
movl $1342177280, %eax ## imm = 0x50000000
movq $3, (%rax)
movl $1342177284, %eax ## imm = 0x50000004
movq $5, (%rax)
movl $1342177288, %eax ## imm = 0x50000008
movq $0, (%rax)
movl $1342177292, %eax ## imm = 0x5000000C
movq $0, (%rax)
movl $1342177320, %eax ## imm = 0x50000028
movq $26, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getc ## -- Begin function getc
.p2align 4, 0x90
_getc: ## @getc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl $1342177296, %eax ## imm = 0x50000010
movq (%rax), %rax
andq $1, %rax
cmpq $0, %rax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB1_2
jmp LBB1_3
LBB1_2: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_3:
movl $1342177316, %eax ## imm = 0x50000024
movq (%rax), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
cmpl $13, -4(%rbp)
jne LBB1_5
## %bb.4:
movl $10, -4(%rbp)
LBB1_5:
cmpl $8, -4(%rbp)
jne LBB1_7
## %bb.6:
movl $8, %edi
callq _putc
movl $32, %edi
callq _putc
LBB1_7:
movl -4(%rbp), %eax
## kill: def $al killed $al killed $eax
movzbl %al, %edi
callq _putc
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _putc ## -- Begin function putc
.p2align 4, 0x90
_putc: ## @putc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl $1342177296, %eax ## imm = 0x50000010
movq (%rax), %rax
andq $4, %rax
cmpq $0, %rax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB2_2
jmp LBB2_3
LBB2_2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movzbl -1(%rbp), %eax
movl %eax, %ecx
movl $1342177312, %eax ## imm = 0x50000020
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gets ## -- Begin function gets
.p2align 4, 0x90
_gets: ## @gets
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
callq _getc
movl %eax, -12(%rbp)
cmpl $10, %eax
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl -12(%rbp), %eax
movb %al, %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
jmp LBB3_1
LBB3_3:
movq -8(%rbp), %rax
movb $0, (%rax)
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _puts ## -- Begin function puts
.p2align 4, 0x90
_puts: ## @puts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
cmpb $0, (%rax,%rcx)
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq _putc
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 _puthex ## -- Begin function puthex
.p2align 4, 0x90
_puthex: ## @puthex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
movl $0, -8(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $8, -8(%rbp)
jge LBB5_8
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl -4(%rbp), %eax
movl $7, %ecx
subl -8(%rbp), %ecx
shll $2, %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
andl $15, %eax
movl %eax, -12(%rbp)
cmpl $0, -12(%rbp)
jl LBB5_5
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
cmpl $9, -12(%rbp)
jg LBB5_5
## %bb.4: ## in Loop: Header=BB5_1 Depth=1
movl -12(%rbp), %eax
addl $48, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %edi
callq _putc
jmp LBB5_6
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
movl -12(%rbp), %eax
addl $65, %eax
subl $10, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %edi
callq _putc
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_7
LBB5_7: ## in Loop: Header=BB5_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB5_1
LBB5_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0x"
.subsections_via_symbols
| the_stack_data/179830960.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_matrix ; -- Begin function print_matrix
.p2align 2
_print_matrix: ; @print_matrix
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, l___const.print_matrix.tails@PAGE
add x8, x8, l___const.print_matrix.tails@PAGEOFF
ldrh w9, [x8]
sturh w9, [x29, #-20]
ldrb w8, [x8, #2]
sturb w8, [x29, #-18]
str xzr, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr x8, [sp, #32]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str xzr, [sp, #24]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x9, [sp, #32]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldr x9, [sp, #24]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
subs x9, x9, #1
subs x8, x8, x9
cset w9, eq
; implicit-def: $x8
mov x8, x9
and x9, x8, #0x1
sub x8, x29, #20
ldrsb w10, [x8, x9]
mov x9, sp
str d0, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
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 x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB0_1
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _square_matrix_add ; -- Begin function square_matrix_add
.p2align 2
_square_matrix_add: ; @square_matrix_add
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
ldr x10, [sp, #128]
ldr x9, [sp, #136]
ldr x8, [sp, #144]
str x0, [sp, #120]
str x1, [sp, #112]
str x2, [sp, #104]
str x3, [sp, #96]
str x4, [sp, #88]
str x5, [sp, #80]
str x6, [sp, #72]
str x7, [sp, #64]
str x10, [sp, #56]
str x9, [sp, #48]
str x8, [sp, #40]
ldr x8, [sp, #120]
str x8, [sp] ; 8-byte Folded Spill
ldr x8, [sp, #120]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [sp, #120]
str x8, [sp, #16] ; 8-byte Folded Spill
str xzr, [sp, #32]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr x8, [sp, #32]
ldr x9, [sp, #112]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str xzr, [sp, #24]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldr x9, [sp, #112]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x11, [sp, #8] ; 8-byte Folded Reload
ldr x12, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #104]
ldr x9, [sp, #96]
ldr x13, [sp, #32]
add x9, x9, x13
mul x9, x9, x12
add x8, x8, x9, lsl #3
ldr x9, [sp, #88]
ldr x12, [sp, #24]
add x9, x9, x12
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #80]
ldr x9, [sp, #72]
ldr x12, [sp, #32]
add x9, x9, x12
mul x9, x9, x11
add x8, x8, x9, lsl #3
ldr x9, [sp, #64]
ldr x11, [sp, #24]
add x9, x9, x11
ldr d1, [x8, x9, lsl #3]
fadd d0, d0, d1
ldr x8, [sp, #56]
ldr x9, [sp, #48]
ldr x11, [sp, #32]
add x9, x9, x11
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldr x9, [sp, #40]
ldr x10, [sp, #24]
add x9, x9, x10
str d0, [x8, x9, lsl #3]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB1_1
LBB1_8:
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _square_matrix_sub ; -- Begin function square_matrix_sub
.p2align 2
_square_matrix_sub: ; @square_matrix_sub
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
ldr x10, [sp, #128]
ldr x9, [sp, #136]
ldr x8, [sp, #144]
str x0, [sp, #120]
str x1, [sp, #112]
str x2, [sp, #104]
str x3, [sp, #96]
str x4, [sp, #88]
str x5, [sp, #80]
str x6, [sp, #72]
str x7, [sp, #64]
str x10, [sp, #56]
str x9, [sp, #48]
str x8, [sp, #40]
ldr x8, [sp, #120]
str x8, [sp] ; 8-byte Folded Spill
ldr x8, [sp, #120]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [sp, #120]
str x8, [sp, #16] ; 8-byte Folded Spill
str xzr, [sp, #32]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr x8, [sp, #32]
ldr x9, [sp, #112]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
str xzr, [sp, #24]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldr x9, [sp, #112]
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 x10, [sp, #16] ; 8-byte Folded Reload
ldr x11, [sp, #8] ; 8-byte Folded Reload
ldr x12, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #104]
ldr x9, [sp, #96]
ldr x13, [sp, #32]
add x9, x9, x13
mul x9, x9, x12
add x8, x8, x9, lsl #3
ldr x9, [sp, #88]
ldr x12, [sp, #24]
add x9, x9, x12
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #80]
ldr x9, [sp, #72]
ldr x12, [sp, #32]
add x9, x9, x12
mul x9, x9, x11
add x8, x8, x9, lsl #3
ldr x9, [sp, #64]
ldr x11, [sp, #24]
add x9, x9, x11
ldr d1, [x8, x9, lsl #3]
fsub d0, d0, d1
ldr x8, [sp, #56]
ldr x9, [sp, #48]
ldr x11, [sp, #32]
add x9, x9, x11
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldr x9, [sp, #40]
ldr x10, [sp, #24]
add x9, x9, x10
str d0, [x8, x9, lsl #3]
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
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, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB2_1
LBB2_8:
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _square_matrix_multiply_strassen ; -- Begin function square_matrix_multiply_strassen
.p2align 2
_square_matrix_multiply_strassen: ; @square_matrix_multiply_strassen
.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
ldr x10, [x29, #16]
ldr x9, [x29, #24]
ldr x8, [x29, #32]
stur x0, [x29, #-24]
stur x1, [x29, #-32]
stur x2, [x29, #-40]
stur x3, [x29, #-48]
stur x4, [x29, #-56]
stur x5, [x29, #-64]
stur x6, [x29, #-72]
stur x7, [x29, #-80]
stur x10, [x29, #-88]
stur x9, [x29, #-96]
stur x8, [x29, #-104]
ldur x8, [x29, #-24]
str x8, [sp, #48] ; 8-byte Folded Spill
ldur x8, [x29, #-24]
str x8, [sp, #56] ; 8-byte Folded Spill
ldur x8, [x29, #-24]
str x8, [sp, #64] ; 8-byte Folded Spill
ldur x8, [x29, #-32]
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
ldr x12, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-40]
ldur x9, [x29, #-48]
mul x9, x9, x12
add x8, x8, x9, lsl #3
ldur x9, [x29, #-56]
ldr d0, [x8, x9, lsl #3]
ldur x8, [x29, #-64]
ldur x9, [x29, #-72]
mul x9, x9, x11
add x8, x8, x9, lsl #3
ldur x9, [x29, #-80]
ldr d1, [x8, x9, lsl #3]
fmul d0, d0, d1
ldur x8, [x29, #-88]
ldur x9, [x29, #-96]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldur x9, [x29, #-104]
str d0, [x8, x9, lsl #3]
b LBB3_3
LBB3_2:
ldur x8, [x29, #-32]
mov x9, #2
udiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-108]
ldur w8, [x29, #-108]
mov x9, x8
ldursw x0, [x29, #-108]
mov x8, #8
str x8, [sp, #32] ; 8-byte Folded Spill
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x0, [x29, #-120]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x0, [x29, #-128]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x0, [x29, #-136]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x0, [x29, #-144]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x0, [x29, #-152]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #160]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #152]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #144]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #136]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
str x0, [sp, #128]
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-64]
ldur x3, [x29, #-72]
ldur x8, [x29, #-80]
ldursw x9, [x29, #-108]
add x4, x8, x9
ldur x5, [x29, #-64]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-80]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldur x9, [x29, #-120]
mov x8, sp
str x9, [x8]
mov x9, #0
str x9, [sp, #40] ; 8-byte Folded Spill
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_sub
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x3, [x29, #-48]
ldur x4, [x29, #-56]
ldur x5, [x29, #-40]
ldur x6, [x29, #-48]
ldur x8, [x29, #-56]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldur x9, [x29, #-128]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_add
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-108]
add x3, x8, x9
ldur x4, [x29, #-56]
ldur x5, [x29, #-40]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-56]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldur x9, [x29, #-136]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_add
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-64]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-108]
add x3, x8, x9
ldur x4, [x29, #-80]
ldur x5, [x29, #-64]
ldur x6, [x29, #-72]
ldur x7, [x29, #-80]
ldur x9, [x29, #-144]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_sub
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x3, [x29, #-48]
ldur x4, [x29, #-56]
ldur x5, [x29, #-40]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-56]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldur x9, [x29, #-152]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_add
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-64]
ldur x3, [x29, #-72]
ldur x4, [x29, #-80]
ldur x5, [x29, #-64]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-80]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldr x9, [sp, #160]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_add
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x3, [x29, #-48]
ldur x8, [x29, #-56]
ldursw x9, [x29, #-108]
add x4, x8, x9
ldur x5, [x29, #-40]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-56]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldr x9, [sp, #152]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_sub
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-64]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-108]
add x3, x8, x9
ldur x4, [x29, #-80]
ldur x5, [x29, #-64]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-80]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldr x9, [sp, #144]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_add
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x3, [x29, #-48]
ldur x4, [x29, #-56]
ldur x5, [x29, #-40]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x7, [x29, #-56]
ldr x9, [sp, #136]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_sub
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-64]
ldur x3, [x29, #-72]
ldur x4, [x29, #-80]
ldur x5, [x29, #-64]
ldur x6, [x29, #-72]
ldur x8, [x29, #-80]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldr x9, [sp, #128]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
bl _square_matrix_add
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #120]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #112]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #104]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #96]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #88]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #80]
ldur w9, [x29, #-108]
; kill: def $x9 killed $w9
ldursw x0, [x29, #-108]
mul x1, x8, x9
bl _calloc
ldr x7, [sp, #40] ; 8-byte Folded Reload
str x0, [sp, #72]
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x3, [x29, #-48]
ldur x4, [x29, #-56]
ldur x5, [x29, #-120]
ldr x9, [sp, #120]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x6, x7
bl _square_matrix_multiply_strassen
ldr x4, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-128]
ldur x5, [x29, #-64]
ldur x8, [x29, #-72]
ldursw x9, [x29, #-108]
add x6, x8, x9
ldur x8, [x29, #-80]
ldursw x9, [x29, #-108]
add x7, x8, x9
ldr x9, [sp, #112]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x3, x4
bl _square_matrix_multiply_strassen
ldr x4, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-136]
ldur x5, [x29, #-64]
ldur x6, [x29, #-72]
ldur x7, [x29, #-80]
ldr x9, [sp, #104]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x3, x4
bl _square_matrix_multiply_strassen
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-40]
ldur x8, [x29, #-48]
ldursw x9, [x29, #-108]
add x3, x8, x9
ldur x8, [x29, #-56]
ldursw x9, [x29, #-108]
add x4, x8, x9
ldur x5, [x29, #-144]
ldr x9, [sp, #96]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x6, x7
bl _square_matrix_multiply_strassen
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-152]
ldr x5, [sp, #160]
ldr x9, [sp, #88]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_multiply_strassen
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldr x2, [sp, #152]
ldr x5, [sp, #144]
ldr x9, [sp, #80]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_multiply_strassen
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldr x2, [sp, #136]
ldr x5, [sp, #128]
ldr x9, [sp, #72]
mov x8, sp
str x9, [x8]
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_multiply_strassen
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldr x2, [sp, #88]
ldr x5, [sp, #96]
ldur x11, [x29, #-88]
ldur x10, [x29, #-96]
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_add
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-88]
ldur x3, [x29, #-96]
ldur x4, [x29, #-104]
ldr x5, [sp, #112]
ldur x11, [x29, #-88]
ldur x10, [x29, #-96]
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x6, x7
bl _square_matrix_sub
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-88]
ldur x3, [x29, #-96]
ldur x4, [x29, #-104]
ldr x5, [sp, #80]
ldur x11, [x29, #-88]
ldur x10, [x29, #-96]
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x6, x7
bl _square_matrix_add
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldr x2, [sp, #120]
ldr x5, [sp, #112]
ldur x11, [x29, #-88]
ldur x10, [x29, #-96]
ldur x8, [x29, #-104]
ldursw x9, [x29, #-108]
add x8, x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_add
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldr x2, [sp, #104]
ldr x5, [sp, #96]
ldur x11, [x29, #-88]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-108]
add x10, x8, x9
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_add
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldr x2, [sp, #88]
ldr x5, [sp, #120]
ldur x11, [x29, #-88]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-108]
add x10, x8, x9
ldur x8, [x29, #-104]
ldursw x9, [x29, #-108]
add x8, x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_add
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-88]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-108]
add x3, x8, x9
ldur x8, [x29, #-104]
ldursw x9, [x29, #-108]
add x4, x8, x9
ldr x5, [sp, #104]
ldur x11, [x29, #-88]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-108]
add x10, x8, x9
ldur x8, [x29, #-104]
ldursw x9, [x29, #-108]
add x8, x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x6, x7
bl _square_matrix_sub
ldr x7, [sp, #40] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
ldursw x1, [x29, #-108]
ldur x2, [x29, #-88]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-108]
add x3, x8, x9
ldur x8, [x29, #-104]
ldursw x9, [x29, #-108]
add x4, x8, x9
ldr x5, [sp, #72]
ldur x11, [x29, #-88]
ldur x8, [x29, #-96]
ldursw x9, [x29, #-108]
add x10, x8, x9
ldur x8, [x29, #-104]
ldursw x9, [x29, #-108]
add x8, x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov x6, x7
bl _square_matrix_sub
ldr x0, [sp, #120]
bl _free
ldr x0, [sp, #112]
bl _free
ldr x0, [sp, #104]
bl _free
ldr x0, [sp, #96]
bl _free
ldr x0, [sp, #88]
bl _free
ldr x0, [sp, #80]
bl _free
ldr x0, [sp, #72]
bl _free
ldur x0, [x29, #-120]
bl _free
ldur x0, [x29, #-128]
bl _free
ldur x0, [x29, #-136]
bl _free
ldur x0, [x29, #-144]
bl _free
ldur x0, [x29, #-152]
bl _free
ldr x0, [sp, #160]
bl _free
ldr x0, [sp, #152]
bl _free
ldr x0, [sp, #144]
bl _free
ldr x0, [sp, #136]
bl _free
ldr x0, [sp, #128]
bl _free
b LBB3_3
LBB3_3:
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
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #76]
str w0, [sp, #72]
str x1, [sp, #64]
adrp x8, l___const.main.A@PAGE
add x8, x8, l___const.main.A@PAGEOFF
ldr q0, [x8]
sub x2, x29, #48
str x2, [sp, #32] ; 8-byte Folded Spill
stur q0, [x29, #-48]
ldr q0, [x8, #16]
stur q0, [x29, #-32]
adrp x8, l___const.main.B@PAGE
add x8, x8, l___const.main.B@PAGEOFF
ldr q0, [x8]
sub x5, x29, #80
str x5, [sp, #40] ; 8-byte Folded Spill
stur q0, [x29, #-80]
ldr q0, [x8, #16]
stur q0, [x29, #-64]
movi.2d v0, #0000000000000000
add x9, sp, #80
str x9, [sp, #48] ; 8-byte Folded Spill
str q0, [sp, #80]
str q0, [sp, #96]
mov x8, sp
str x9, [x8]
mov x7, #0
str xzr, [x8, #8]
str xzr, [x8, #16]
mov x1, #2
str x1, [sp, #56] ; 8-byte Folded Spill
mov x0, x1
mov x3, x7
mov x4, x7
mov x6, x7
bl _square_matrix_multiply_strassen
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
bl _print_matrix
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _puts
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
bl _print_matrix
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _puts
ldr x1, [sp, #48] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
bl _print_matrix
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_2
b LBB4_1
LBB4_1:
bl ___stack_chk_fail
LBB4_2:
mov w0, #0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.print_matrix.tails: ; @__const.print_matrix.tails
.asciz ",\n"
l_.str: ; @.str
.asciz "%g%c"
.section __TEXT,__const
.p2align 3 ; @__const.main.A
l___const.main.A:
.quad 0x3ff0000000000000 ; double 1
.quad 0x4008000000000000 ; double 3
.quad 0x401c000000000000 ; double 7
.quad 0x4014000000000000 ; double 5
.p2align 3 ; @__const.main.B
l___const.main.B:
.quad 0x4018000000000000 ; double 6
.quad 0x4020000000000000 ; double 8
.quad 0x4010000000000000 ; double 4
.quad 0x4000000000000000 ; double 2
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "A"
l_.str.2: ; @.str.2
.asciz "B"
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 _print_matrix ## -- Begin function print_matrix
.p2align 4, 0x90
_print_matrix: ## @print_matrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movw L___const.print_matrix.tails(%rip), %ax
movw %ax, -19(%rbp)
movb L___const.print_matrix.tails+2(%rip), %al
movb %al, -17(%rbp)
movq $0, -32(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movq -32(%rbp), %rax
cmpq -8(%rbp), %rax
jae LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq $0, -40(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -40(%rbp), %rax
cmpq -8(%rbp), %rax
jae LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -48(%rbp), %rcx ## 8-byte Reload
movq -16(%rbp), %rax
imulq -32(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -40(%rbp), %rax
movq -8(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
sete %al
andb $1, %al
movzbl %al, %eax
cltq
movsbl -19(%rbp,%rax), %esi
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%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
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB0_1
LBB0_8:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _square_matrix_add ## -- Begin function square_matrix_add
.p2align 4, 0x90
_square_matrix_add: ## @square_matrix_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 48(%rbp), %rax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movq -8(%rbp), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq $0, -56(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movq -56(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq $0, -64(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -72(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rdi ## 8-byte Reload
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
addq -56(%rbp), %rcx
imulq %rdi, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq -40(%rbp), %rcx
addq -64(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -48(%rbp), %rax
movq 16(%rbp), %rcx
addq -56(%rbp), %rcx
imulq %rsi, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq 24(%rbp), %rcx
addq -64(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm0
movq 32(%rbp), %rax
movq 40(%rbp), %rcx
addq -56(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq 48(%rbp), %rcx
addq -64(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB1_1
LBB1_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _square_matrix_sub ## -- Begin function square_matrix_sub
.p2align 4, 0x90
_square_matrix_sub: ## @square_matrix_sub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 48(%rbp), %rax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movq -8(%rbp), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq $0, -56(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movq -56(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq $0, -64(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -64(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -72(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rdi ## 8-byte Reload
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
addq -56(%rbp), %rcx
imulq %rdi, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq -40(%rbp), %rcx
addq -64(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -48(%rbp), %rax
movq 16(%rbp), %rcx
addq -56(%rbp), %rcx
imulq %rsi, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq 24(%rbp), %rcx
addq -64(%rbp), %rcx
subsd (%rax,%rcx,8), %xmm0
movq 32(%rbp), %rax
movq 40(%rbp), %rcx
addq -56(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq 48(%rbp), %rcx
addq -64(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%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 -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB2_1
LBB2_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _square_matrix_multiply_strassen ## -- Begin function square_matrix_multiply_strassen
.p2align 4, 0x90
_square_matrix_multiply_strassen: ## @square_matrix_multiply_strassen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $264, %rsp ## imm = 0x108
.cfi_offset %rbx, -24
movq 48(%rbp), %rax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
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
movq %rax, -224(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq %rax, -216(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
cmpq $1, -24(%rbp)
jne LBB3_2
## %bb.1:
movq -208(%rbp), %rcx ## 8-byte Reload
movq -216(%rbp), %rdx ## 8-byte Reload
movq -224(%rbp), %rsi ## 8-byte Reload
movq -32(%rbp), %rax
imulq -40(%rbp), %rsi
shlq $3, %rsi
addq %rsi, %rax
movq -48(%rbp), %rsi
movsd (%rax,%rsi,8), %xmm0 ## xmm0 = mem[0],zero
movq -56(%rbp), %rax
imulq 16(%rbp), %rdx
shlq $3, %rdx
addq %rdx, %rax
movq 24(%rbp), %rdx
mulsd (%rax,%rdx,8), %xmm0
movq 32(%rbp), %rax
imulq 40(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq 48(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp LBB3_3
LBB3_2:
movq -24(%rbp), %rax
shrq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -72(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -80(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -88(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -96(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -104(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -112(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -120(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -128(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -136(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -144(%rbp)
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -56(%rbp), %rdx
movq 16(%rbp), %rcx
movq 24(%rbp), %r8
movslq -60(%rbp), %rax
addq %rax, %r8
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq 24(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -72(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_sub
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movq -32(%rbp), %r9
movq -40(%rbp), %r11
movq -48(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -80(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movslq -60(%rbp), %rax
addq %rax, %rcx
movq -48(%rbp), %r8
movq -32(%rbp), %r9
movq -40(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq -48(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -88(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -56(%rbp), %rdx
movq 16(%rbp), %rcx
movslq -60(%rbp), %rax
addq %rax, %rcx
movq 24(%rbp), %r8
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movq 24(%rbp), %r10
movq -96(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_sub
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movq -32(%rbp), %r9
movq -40(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq -48(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -104(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -56(%rbp), %rdx
movq 16(%rbp), %rcx
movq 24(%rbp), %r8
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq 24(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -112(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movslq -60(%rbp), %rax
addq %rax, %r8
movq -32(%rbp), %r9
movq -40(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq -48(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -120(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_sub
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -56(%rbp), %rdx
movq 16(%rbp), %rcx
movslq -60(%rbp), %rax
addq %rax, %rcx
movq 24(%rbp), %r8
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq 24(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -128(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movq -32(%rbp), %r9
movq -40(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq -48(%rbp), %r10
movq -136(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_sub
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -56(%rbp), %rdx
movq 16(%rbp), %rcx
movq 24(%rbp), %r8
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movq 24(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -144(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_add
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -152(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -160(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -168(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -176(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -184(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -192(%rbp)
movl -60(%rbp), %eax
movl %eax, %esi
movslq -60(%rbp), %rdi
shlq $3, %rsi
callq _calloc
movq %rax, -200(%rbp)
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movq -48(%rbp), %r8
movq -72(%rbp), %r9
movq -152(%rbp), %rax
xorl %r10d, %r10d
## kill: def $r10 killed $r10d
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -80(%rbp), %rdx
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movslq -60(%rbp), %rax
addq %rax, %r11
movq 24(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq -160(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -88(%rbp), %rdx
movq -56(%rbp), %r9
movq 16(%rbp), %r11
movq 24(%rbp), %r10
movq -168(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq %r11, (%rsp)
movq %r10, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -32(%rbp), %rdx
movq -40(%rbp), %rcx
movslq -60(%rbp), %rax
addq %rax, %rcx
movq -48(%rbp), %r8
movslq -60(%rbp), %rax
addq %rax, %r8
movq -96(%rbp), %r9
movq -176(%rbp), %rax
xorl %r10d, %r10d
## kill: def $r10 killed $r10d
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -104(%rbp), %rdx
movq -112(%rbp), %r9
movq -184(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -120(%rbp), %rdx
movq -128(%rbp), %r9
movq -192(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -136(%rbp), %rdx
movq -144(%rbp), %r9
movq -200(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -184(%rbp), %rdx
movq -176(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movq 48(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq 32(%rbp), %rdx
movq 40(%rbp), %rcx
movq 48(%rbp), %r8
movq -160(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movq 48(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_sub
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq 32(%rbp), %rdx
movq 40(%rbp), %rcx
movq 48(%rbp), %r8
movq -192(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movq 48(%rbp), %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -152(%rbp), %rdx
movq -160(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movq 48(%rbp), %rax
movslq -60(%rbp), %rcx
addq %rcx, %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -168(%rbp), %rdx
movq -176(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq 48(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq -184(%rbp), %rdx
movq -152(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq 48(%rbp), %rax
movslq -60(%rbp), %rcx
addq %rcx, %rax
xorl %ecx, %ecx
movl %ecx, %r8d
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_add
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq 32(%rbp), %rdx
movq 40(%rbp), %rcx
movslq -60(%rbp), %rax
addq %rax, %rcx
movq 48(%rbp), %r8
movslq -60(%rbp), %rax
addq %rax, %r8
movq -168(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq 48(%rbp), %rax
movslq -60(%rbp), %rbx
addq %rbx, %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_sub
movq -16(%rbp), %rdi
movslq -60(%rbp), %rsi
movq 32(%rbp), %rdx
movq 40(%rbp), %rcx
movslq -60(%rbp), %rax
addq %rax, %rcx
movq 48(%rbp), %r8
movslq -60(%rbp), %rax
addq %rax, %r8
movq -200(%rbp), %r9
movq 32(%rbp), %r11
movq 40(%rbp), %r10
movslq -60(%rbp), %rax
addq %rax, %r10
movq 48(%rbp), %rax
movslq -60(%rbp), %rbx
addq %rbx, %rax
xorl %ebx, %ebx
## kill: def $rbx killed $ebx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _square_matrix_sub
movq -152(%rbp), %rdi
callq _free
movq -160(%rbp), %rdi
callq _free
movq -168(%rbp), %rdi
callq _free
movq -176(%rbp), %rdi
callq _free
movq -184(%rbp), %rdi
callq _free
movq -192(%rbp), %rdi
callq _free
movq -200(%rbp), %rdi
callq _free
movq -72(%rbp), %rdi
callq _free
movq -80(%rbp), %rdi
callq _free
movq -88(%rbp), %rdi
callq _free
movq -96(%rbp), %rdi
callq _free
movq -104(%rbp), %rdi
callq _free
movq -112(%rbp), %rdi
callq _free
movq -120(%rbp), %rdi
callq _free
movq -128(%rbp), %rdi
callq _free
movq -136(%rbp), %rdi
callq _free
movq -144(%rbp), %rdi
callq _free
LBB3_3:
addq $264, %rsp ## imm = 0x108
popq %rbx
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, -116(%rbp)
movl %edi, -120(%rbp)
movq %rsi, -128(%rbp)
movq l___const.main.A(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.A+8(%rip), %rax
movq %rax, -40(%rbp)
movq l___const.main.A+16(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.A+24(%rip), %rax
movq %rax, -24(%rbp)
movq l___const.main.B(%rip), %rax
movq %rax, -80(%rbp)
movq l___const.main.B+8(%rip), %rax
movq %rax, -72(%rbp)
movq l___const.main.B+16(%rip), %rax
movq %rax, -64(%rbp)
movq l___const.main.B+24(%rip), %rax
movq %rax, -56(%rbp)
leaq -112(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
leaq -48(%rbp), %rdx
leaq -80(%rbp), %r9
leaq -112(%rbp), %rax
movl $2, %esi
xorl %ecx, %ecx
movl %ecx, %r8d
movq %rsi, %rdi
movq %r8, %rcx
movq $0, (%rsp)
movq $0, 8(%rsp)
movq %rax, 16(%rsp)
movq $0, 24(%rsp)
movq $0, 32(%rsp)
callq _square_matrix_multiply_strassen
leaq L_.str.1(%rip), %rdi
callq _puts
leaq -48(%rbp), %rsi
movl $2, %edi
callq _print_matrix
leaq L_.str.2(%rip), %rdi
callq _puts
leaq -80(%rbp), %rsi
movl $2, %edi
callq _print_matrix
leaq L_.str.3(%rip), %rdi
callq _puts
leaq -112(%rbp), %rsi
movl $2, %edi
callq _print_matrix
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_2
## %bb.1:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB4_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.print_matrix.tails: ## @__const.print_matrix.tails
.asciz ",\n"
L_.str: ## @.str
.asciz "%g%c"
.section __TEXT,__const
.p2align 4 ## @__const.main.A
l___const.main.A:
.quad 0x3ff0000000000000 ## double 1
.quad 0x4008000000000000 ## double 3
.quad 0x401c000000000000 ## double 7
.quad 0x4014000000000000 ## double 5
.p2align 4 ## @__const.main.B
l___const.main.B:
.quad 0x4018000000000000 ## double 6
.quad 0x4020000000000000 ## double 8
.quad 0x4010000000000000 ## double 4
.quad 0x4000000000000000 ## double 2
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "A"
L_.str.2: ## @.str.2
.asciz "B"
L_.str.3: ## @.str.3
.asciz "C"
.subsections_via_symbols
| the_stack_data/145452821.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlen ; -- Begin function ft_strlen
.p2align 2
_ft_strlen: ; @ft_strlen
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
mov w8, #48
strb w8, [sp, #15]
str wzr, [sp, #8]
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
str wzr, [sp, #28]
b LBB0_6
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [sp, #15]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #8]
add w9, w9, #1
add x8, x8, w9, sxtw
ldrb w8, [x8]
strb w8, [sp, #15]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_5:
ldr w8, [sp, #8]
str w8, [sp, #28]
b LBB0_6
LBB0_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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, -16(%rbp)
movb $48, -17(%rbp)
movl $0, -24(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_6
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl -17(%rbp), %eax
cmpl $0, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_5:
movl -24(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/74182.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, _message@GOTPAGE
ldr x8, [x8, _message@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
add x8, x8, #8
str x8, [sp, #24] ; 8-byte Folded Spill
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
mov w1, #65
bl _ftok
stur w0, [x29, #-8]
ldur w0, [x29, #-8]
mov w1, #950
bl _msgget
ldr x9, [sp, #16] ; 8-byte Folded Reload
stur w0, [x29, #-12]
mov x8, #1
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _gets
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldur w3, [x29, #-16] ; 4-byte Folded Reload
ldur w0, [x29, #-12]
mov x2, #112
bl _msgsnd
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "progfile"
.comm _message,112,3 ; @message
l_.str.1: ; @.str.1
.asciz "Write Data : "
l_.str.2: ; @.str.2
.asciz "Data send 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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movl $65, %esi
callq _ftok
movl %eax, -8(%rbp)
movl -8(%rbp), %edi
movl $950, %esi ## imm = 0x3B6
callq _msgget
movl %eax, -12(%rbp)
movq _message@GOTPCREL(%rip), %rax
movq $1, (%rax)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq _message@GOTPCREL(%rip), %rdi
addq $8, %rdi
callq _gets
movl -12(%rbp), %edi
movq _message@GOTPCREL(%rip), %rsi
movl $112, %edx
xorl %ecx, %ecx
callq _msgsnd
leaq L_.str.2(%rip), %rdi
movq _message@GOTPCREL(%rip), %rsi
addq $8, %rsi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "progfile"
.comm _message,112,3 ## @message
L_.str.1: ## @.str.1
.asciz "Write Data : "
L_.str.2: ## @.str.2
.asciz "Data send is : %s \n"
.subsections_via_symbols
| the_stack_data/140877.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_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, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%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 -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/68889232.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fibo ; -- Begin function fibo
.p2align 2
_fibo: ; @fibo
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
str x1, [sp, #16]
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-4]
b LBB0_7
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_7
LBB0_5:
b LBB0_6
LBB0_6:
ldur w8, [x29, #-8]
subs w0, w8, #1
ldr x1, [sp, #16]
bl _fibo
str w0, [sp, #8] ; 4-byte Folded Spill
ldur w8, [x29, #-8]
subs w0, w8, #2
ldr x1, [sp, #16]
bl _fibo
mov x8, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
add w8, w0, w8
str w8, [sp, #12]
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldursw x10, [x29, #-8]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _fibo_bottom_up ; -- Begin function fibo_bottom_up
.p2align 2
_fibo_bottom_up: ; @fibo_bottom_up
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w0, [x29, #-16]
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w8, [x29, #-16]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
mov w8, #1
stur w8, [x29, #-12]
b LBB1_8
LBB1_3:
ldur w9, [x29, #-16]
mov w8, #1
add w9, w9, #1
; kill: def $x9 killed $w9
stur x9, [x29, #-56] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-24]
lsl x9, x9, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-64] ; 8-byte Folded Reload
ldur x10, [x29, #-56] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x11
mov sp, x9
stur x9, [x29, #-48] ; 8-byte Folded Spill
stur x10, [x29, #-32]
str wzr, [x9]
str w8, [x9, #4]
mov w8, #2
stur w8, [x29, #-36]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
subs w8, w8, #1
ldr w8, [x9, w8, sxtw #2]
ldur w10, [x29, #-36]
subs w10, w10, #2
ldr w10, [x9, w10, sxtw #2]
add w8, w8, w10
ldursw x10, [x29, #-36]
str w8, [x9, x10, lsl #2]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB1_4
LBB1_7:
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-12]
ldur x8, [x29, #-24]
mov sp, x8
b LBB1_8
LBB1_8:
ldur w8, [x29, #-12]
stur w8, [x29, #-68] ; 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_10
b LBB1_9
LBB1_9:
bl ___stack_chk_fail
LBB1_10:
ldur w0, [x29, #-68] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
add x0, sp, #28
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #0
mov x2, #44
bl _memset
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov w0, #10
bl _fibo
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
mov w0, #11
bl _fibo_bottom_up
mov x10, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
bl _printf
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, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fibo ## -- Begin function fibo
.p2align 4, 0x90
_fibo: ## @fibo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_2:
cmpl $0, -8(%rbp)
je LBB0_4
## %bb.3:
cmpl $1, -8(%rbp)
jne LBB0_5
LBB0_4:
movl $1, -4(%rbp)
jmp LBB0_7
LBB0_5:
jmp LBB0_6
LBB0_6:
movl -8(%rbp), %edi
subl $1, %edi
movq -16(%rbp), %rsi
callq _fibo
movl %eax, -24(%rbp) ## 4-byte Spill
movl -8(%rbp), %edi
subl $2, %edi
movq -16(%rbp), %rsi
callq _fibo
movl %eax, %ecx
movl -24(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %edx
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fibo_bottom_up ## -- Begin function fibo_bottom_up
.p2align 4, 0x90
_fibo_bottom_up: ## @fibo_bottom_up
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -16(%rbp)
cmpl $0, -16(%rbp)
je LBB1_2
## %bb.1:
cmpl $1, -16(%rbp)
jne LBB1_3
LBB1_2:
movl $1, -12(%rbp)
jmp LBB1_8
LBB1_3:
movl -16(%rbp), %eax
incl %eax
## kill: def $rax killed $eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
movq -56(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rcx, -32(%rbp)
movl $0, (%rax)
movl $1, 4(%rax)
movl $2, -36(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB1_7
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movl -36(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
addl (%rax,%rcx,4), %edx
movslq -36(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_4
LBB1_7:
movq -48(%rbp), %rax ## 8-byte Reload
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
movq -24(%rbp), %rax
movq %rax, %rsp
LBB1_8:
movl -12(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_10
## %bb.9:
movl -60(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB1_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $44, %edx
callq _memset
leaq -64(%rbp), %rsi
movl $10, %edi
callq _fibo
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $11, %edi
callq _fibo_bottom_up
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 LBB2_2
## %bb.1:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB2_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/399481.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
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 _freopen
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x2, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _freopen
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
mov w8, #3
stur w8, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
sub x8, x29, #16
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
subs w8, w8, #1
stur w8, [x29, #-20]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
stur w8, [x29, #-8]
b LBB0_1
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
stur w8, [x29, #-8]
b LBB0_1
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_7:
ldur w9, [x29, #-8]
; 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 w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "input.txt"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "output.txt"
l_.str.3: ; @.str.3
.asciz "w"
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "%d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _freopen
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _freopen
leaq L_.str.4(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $3, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
jle LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _scanf
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_7:
movl -8(%rbp), %esi
leaq L_.str.4(%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 "input.txt"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "output.txt"
L_.str.3: ## @.str.3
.asciz "w"
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "%d %d"
.subsections_via_symbols
| the_stack_data/25357.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SIMConf_C ; -- Begin function SIMConf_C
.p2align 2
_SIMConf_C: ; @SIMConf_C
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SIMConf_C ## -- Begin function SIMConf_C
.p2align 4, 0x90
_SIMConf_C: ## @SIMConf_C
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/148577238.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
bl _getpid
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
mov x9, sp
str x8, [x9]
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
mov w1, #0
stur w1, [x29, #-16] ; 4-byte Folded Spill
bl _open
stur w0, [x29, #-4]
mov w0, #2
bl _close
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _scanf
ldur w0, [x29, #-4]
bl _dup
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
bl _scanf
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _dup2
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
bl _scanf
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PID :- %ld\n"
l_.str.1: ; @.str.1
.asciz "target.txt"
l_.str.2: ; @.str.2
.asciz "DO NOT ENTER ANYTHING\n"
l_.str.3: ; @.str.3
.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
callq _getpid
movslq %eax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -4(%rbp)
movl $2, %edi
callq _close
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %edi
callq _dup
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _dup2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PID :- %ld\n"
L_.str.1: ## @.str.1
.asciz "target.txt"
L_.str.2: ## @.str.2
.asciz "DO NOT ENTER ANYTHING\n"
L_.str.3: ## @.str.3
.asciz "%d"
.subsections_via_symbols
| the_stack_data/12637875.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]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #5
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "215768342.c"
l_.str.1: ; @.str.1
.asciz "argc == 0"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $0, -8(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $5, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "215768342.c"
L_.str.1: ## @.str.1
.asciz "argc == 0"
.subsections_via_symbols
| the_stack_data/215768342.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_6
LBB0_2:
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
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 "Progeam name is %s\n"
l_.str.1: ; @.str.1
.asciz "The argument supplied is %s\n"
l_.str.2: ; @.str.2
.asciz "Too many arguments supplied.\n"
l_.str.3: ; @.str.3
.asciz "One argument expected.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
cmpl $2, -8(%rbp)
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_2:
cmpl $2, -8(%rbp)
jle LBB0_4
## %bb.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:
jmp LBB0_6
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Progeam name is %s\n"
L_.str.1: ## @.str.1
.asciz "The argument supplied is %s\n"
L_.str.2: ## @.str.2
.asciz "Too many arguments supplied.\n"
L_.str.3: ## @.str.3
.asciz "One argument expected.\n"
.subsections_via_symbols
| the_stack_data/113899.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, #2928
add x8, sp, #152
str x8, [sp, #104] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #324]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _system
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_18 Depth 2
; Child Loop BB0_43 Depth 2
; Child Loop BB0_32 Depth 2
; Child Loop BB0_52 Depth 2
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x0, sp, #1896
str x0, [sp, #96] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #96] ; 8-byte Folded Reload
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #1896
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
ldr x0, [x8, #160]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
ldr x0, [x8, #160]
bl _chdir
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_65
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #872
str x0, [sp, #88] ; 8-byte Folded Spill
mov x1, #1023
bl _getcwd
ldr x8, [sp, #88] ; 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
b LBB0_64
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
b LBB0_11
LBB0_11: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
mov w1, #493
bl _mkdir
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #160]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
b LBB0_63
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
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, LBB0_23
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
b LBB0_18
LBB0_18: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
bl _rmdir
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #160]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
b LBB0_62
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_49
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
ldr x8, [x8, #160]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_37
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #160]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #872
mov x1, #1023
bl _getcwd
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x1, [x8, #160]
add x0, sp, #872
mov x2, #1024
bl ___strcpy_chk
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #872
bl _opendir
str x0, [sp, #120]
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
b LBB0_1
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
b LBB0_32
LBB0_32: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [sp, #120]
bl _readdir
ldr x9, [sp, #104] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9, #144]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_32 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #144]
ldrsb w8, [x8, #21]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_32 Depth=2
b LBB0_32
LBB0_35: ; in Loop: Header=BB0_32 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #144]
add x8, x8, #21
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_32
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x0, [sp, #120]
bl _closedir
b LBB0_48
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
ldr x8, [x8, #160]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #872
mov x1, #1023
bl _getcwd
b LBB0_40
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x1, [x8, #160]
add x0, sp, #872
mov x2, #1024
bl ___strcpy_chk
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #872
bl _opendir
str x0, [sp, #120]
ldr x8, [sp, #120]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
b LBB0_1
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
b LBB0_43
LBB0_43: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [sp, #120]
bl _readdir
ldr x9, [sp, #104] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9, #144]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_47
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_43 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #144]
ldrsb w8, [x8, #21]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_43 Depth=2
b LBB0_43
LBB0_46: ; in Loop: Header=BB0_43 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #144]
add x0, x8, #21
add x1, sp, #152
str x1, [sp, #72] ; 8-byte Folded Spill
bl _stat
ldrh w8, [sp, #156]
and w8, w8, #0xf000
subs w8, w8, #4, lsl #12 ; =16384
cset w8, eq
and w10, w8, #0x1
adrp x9, l_.str.15@PAGE
add x9, x9, l_.str.15@PAGEOFF
str x9, [sp, #56] ; 8-byte Folded Spill
adrp x8, l_.str.14@PAGE
add x8, x8, l_.str.14@PAGEOFF
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w8, [sp, #156]
ands w8, w8, #0x100
cset w8, ne
and w10, w8, #0x1
adrp x8, l_.str.16@PAGE
add x8, x8, l_.str.16@PAGEOFF
str x8, [sp, #40] ; 8-byte Folded Spill
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w8, [sp, #156]
ands w8, w8, #0x80
cset w8, ne
and w10, w8, #0x1
adrp x8, l_.str.17@PAGE
add x8, x8, l_.str.17@PAGEOFF
str x8, [sp, #48] ; 8-byte Folded Spill
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w8, [sp, #156]
ands w8, w8, #0x40
cset w8, ne
and w10, w8, #0x1
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
str x8, [sp, #64] ; 8-byte Folded Spill
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w10, [sp, #156]
ands w10, w10, #0x20
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w10, [sp, #156]
ands w10, w10, #0x10
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrh w10, [sp, #156]
ands w10, w10, #0x8
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w10, [sp, #156]
ands w10, w10, #0x4
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldrh w10, [sp, #156]
ands w10, w10, #0x2
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrh w10, [sp, #156]
ands w10, w10, #0x1
cset w10, ne
and w10, w10, #0x1
ands w10, w10, #0x1
csel x0, x8, x9, ne
bl _printf
ldr w0, [sp, #168]
bl _getpwuid
str x0, [sp, #144]
ldr w0, [sp, #172]
bl _getgrgid
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [sp, #136]
ldrh w13, [sp, #158]
ldr x9, [sp, #144]
ldr x11, [x9]
ldr x9, [sp, #136]
ldr x10, [x9]
ldr x8, [x8, #96]
mov x9, sp
; implicit-def: $x12
mov x12, x13
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldr x8, [sp, #72] ; 8-byte Folded Reload
add x0, x8, #48
bl _localtime
str x0, [sp, #128]
ldr x3, [sp, #128]
add x0, sp, #328
str x0, [sp, #80] ; 8-byte Folded Spill
mov x1, #31
adrp x2, l_.str.20@PAGE
add x2, x2, l_.str.20@PAGEOFF
bl _strftime
ldr x8, [sp, #80] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #144]
add x8, x8, #21
mov x9, sp
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB0_43
LBB0_47: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #120]
bl _closedir
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_1 Depth=1
b LBB0_61
LBB0_49: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x0, [x8, #160]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50:
b LBB0_66
LBB0_51: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #308]
b LBB0_52
LBB0_52: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #160]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_52 Depth=2
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8, #160]
ldrsw x10, [sp, #308]
mov x9, x10
add w9, w9, #1
str w9, [sp, #308]
add x9, sp, #360
str x8, [x9, x10, lsl #3]
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
ldr x8, [sp, #104] ; 8-byte Folded Reload
str x0, [x8, #160]
b LBB0_52
LBB0_54: ; in Loop: Header=BB0_1 Depth=1
ldrsw x10, [sp, #308]
add x9, sp, #360
mov x8, #0
str x8, [x9, x10, lsl #3]
bl _fork
str w0, [sp, #116]
ldr w8, [sp, #116]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_55
LBB0_55:
ldr x8, [sp, #104] ; 8-byte Folded Reload
add x1, sp, #360
ldr x0, [x8, #208]
bl _execvp
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_56: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #116]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_58
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_1 Depth=1
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #304
bl _wait
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_1 Depth=1
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_1 Depth=1
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_1 Depth=1
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_1 Depth=1
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_1 Depth=1
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_66:
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_68
b LBB0_67
LBB0_67:
bl ___stack_chk_fail
LBB0_68:
mov w0, #0
add sp, sp, #2928
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 "clear"
l_.str.1: ; @.str.1
.asciz "myshell> "
l_.str.2: ; @.str.2
.space 1
l_.str.3: ; @.str.3
.asciz " "
l_.str.4: ; @.str.4
.asciz "cd"
l_.str.5: ; @.str.5
.asciz "Error"
l_.str.6: ; @.str.6
.asciz "pwd"
l_.str.7: ; @.str.7
.asciz "%s\n"
l_.str.8: ; @.str.8
.asciz "mkdir"
l_.str.9: ; @.str.9
.asciz "rmdir"
l_.str.10: ; @.str.10
.asciz "ls"
l_.str.11: ; @.str.11
.asciz "-l"
l_.str.12: ; @.str.12
.asciz "%s\t"
l_.str.13: ; @.str.13
.asciz "\n"
l_.str.14: ; @.str.14
.asciz "d"
l_.str.15: ; @.str.15
.asciz "-"
l_.str.16: ; @.str.16
.asciz "r"
l_.str.17: ; @.str.17
.asciz "w"
l_.str.18: ; @.str.18
.asciz "x"
l_.str.19: ; @.str.19
.asciz ". %d %s\t%s\t%d\t"
l_.str.20: ; @.str.20
.asciz "%a %b %d %H:%M"
l_.str.21: ; @.str.21
.asciz "%s"
l_.str.22: ; @.str.22
.asciz " %s\n"
l_.str.23: ; @.str.23
.asciz "exit"
l_.str.24: ; @.str.24
.asciz "Error: command not found"
.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 $2832, %rsp ## imm = 0xB10
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -2612(%rbp)
leaq L_.str(%rip), %rdi
callq _system
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_43 Depth 2
## Child Loop BB0_32 Depth 2
## Child Loop BB0_52 Depth 2
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -1040(%rbp), %rdi
callq _gets
leaq -1040(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq -1040(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
movq -2624(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
movq -2624(%rbp), %rdi
callq _chdir
cmpl $-1, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
callq _perror
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_65
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -2624(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
movl $1023, %esi ## imm = 0x3FF
callq _getcwd
leaq -2064(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_64
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq -2624(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_16
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -2624(%rbp), %rdi
movl $493, %esi ## imm = 0x1ED
callq _mkdir
cmpl $-1, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
leaq L_.str.5(%rip), %rdi
callq _perror
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
## %bb.14: ## in Loop: Header=BB0_11 Depth=2
cmpq $0, -2624(%rbp)
jne LBB0_11
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_63
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq -2624(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_23
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
LBB0_18: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -2624(%rbp), %rdi
callq _rmdir
cmpl $-1, %eax
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
leaq L_.str.5(%rip), %rdi
callq _perror
LBB0_20: ## in Loop: Header=BB0_18 Depth=2
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
## %bb.21: ## in Loop: Header=BB0_18 Depth=2
cmpq $0, -2624(%rbp)
jne LBB0_18
## %bb.22: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_62
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
movq -2624(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_49
## %bb.24: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
cmpq $0, -2624(%rbp)
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movq -2624(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_37
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -2624(%rbp)
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
movl $1023, %esi ## imm = 0x3FF
callq _getcwd
jmp LBB0_29
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
movq -2624(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq ___strcpy_chk
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
callq _opendir$INODE64
movq %rax, -2816(%rbp)
cmpq $0, -2816(%rbp)
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
callq _perror
jmp LBB0_1
LBB0_31: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_32
LBB0_32: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -2816(%rbp), %rdi
callq _readdir$INODE64
movq %rax, -2640(%rbp)
cmpq $0, %rax
je LBB0_36
## %bb.33: ## in Loop: Header=BB0_32 Depth=2
movq -2640(%rbp), %rax
movsbl 21(%rax), %eax
cmpl $46, %eax
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_32 Depth=2
jmp LBB0_32
LBB0_35: ## in Loop: Header=BB0_32 Depth=2
movq -2640(%rbp), %rsi
addq $21, %rsi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_32
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq -2816(%rbp), %rdi
callq _closedir
jmp LBB0_48
LBB0_37: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
cmpq $0, -2624(%rbp)
jne LBB0_39
## %bb.38: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
movl $1023, %esi ## imm = 0x3FF
callq _getcwd
jmp LBB0_40
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
movq -2624(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq ___strcpy_chk
LBB0_40: ## in Loop: Header=BB0_1 Depth=1
leaq -2064(%rbp), %rdi
callq _opendir$INODE64
movq %rax, -2816(%rbp)
cmpq $0, -2816(%rbp)
jne LBB0_42
## %bb.41: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
callq _perror
jmp LBB0_1
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_43
LBB0_43: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -2816(%rbp), %rdi
callq _readdir$INODE64
movq %rax, -2640(%rbp)
cmpq $0, %rax
je LBB0_47
## %bb.44: ## in Loop: Header=BB0_43 Depth=2
movq -2640(%rbp), %rax
movsbl 21(%rax), %eax
cmpl $46, %eax
jne LBB0_46
## %bb.45: ## in Loop: Header=BB0_43 Depth=2
jmp LBB0_43
LBB0_46: ## in Loop: Header=BB0_43 Depth=2
movq -2640(%rbp), %rdi
addq $21, %rdi
leaq -2784(%rbp), %rsi
callq _stat$INODE64
movzwl -2780(%rbp), %ecx
andl $61440, %ecx ## imm = 0xF000
leaq L_.str.15(%rip), %rdi
leaq L_.str.14(%rip), %rax
cmpl $16384, %ecx ## imm = 0x4000
cmoveq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $256, %ecx ## imm = 0x100
leaq L_.str.15(%rip), %rdi
leaq L_.str.16(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $128, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.17(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $64, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.18(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $32, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.16(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $16, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.17(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $8, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.18(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $4, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.16(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $2, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.17(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movzwl -2780(%rbp), %ecx
andl $1, %ecx
leaq L_.str.15(%rip), %rdi
leaq L_.str.18(%rip), %rax
cmpl $0, %ecx
cmovneq %rax, %rdi
movb $0, %al
callq _printf
movl -2768(%rbp), %edi
callq _getpwuid
movq %rax, -2792(%rbp)
movl -2764(%rbp), %edi
callq _getgrgid
movq %rax, -2800(%rbp)
movzwl -2778(%rbp), %esi
movq -2792(%rbp), %rax
movq (%rax), %rdx
movq -2800(%rbp), %rax
movq (%rax), %rcx
movq -2688(%rbp), %r8
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
leaq -2784(%rbp), %rdi
addq $48, %rdi
callq _localtime
movq %rax, -2808(%rbp)
leaq -2608(%rbp), %rdi
movq -2808(%rbp), %rcx
movl $31, %esi
leaq L_.str.20(%rip), %rdx
callq _strftime
leaq -2608(%rbp), %rsi
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movq -2640(%rbp), %rsi
addq $21, %rsi
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_43
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
movq -2816(%rbp), %rdi
callq _closedir
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_61
LBB0_49: ## in Loop: Header=BB0_1 Depth=1
movq -2624(%rbp), %rdi
leaq L_.str.23(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_51
## %bb.50:
jmp LBB0_66
LBB0_51: ## in Loop: Header=BB0_1 Depth=1
movl $0, -2628(%rbp)
LBB0_52: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -2624(%rbp)
je LBB0_54
## %bb.53: ## in Loop: Header=BB0_52 Depth=2
movq -2624(%rbp), %rcx
movl -2628(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -2628(%rbp)
cltq
movq %rcx, -2576(%rbp,%rax,8)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -2624(%rbp)
jmp LBB0_52
LBB0_54: ## in Loop: Header=BB0_1 Depth=1
movslq -2628(%rbp), %rax
movq $0, -2576(%rbp,%rax,8)
callq _fork
movl %eax, -2820(%rbp)
cmpl $0, -2820(%rbp)
jne LBB0_56
## %bb.55:
movq -2576(%rbp), %rdi
leaq -2576(%rbp), %rsi
callq _execvp
leaq L_.str.24(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_56: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, -2820(%rbp)
jne LBB0_58
## %bb.57: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
callq _perror
LBB0_58: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_59
LBB0_59: ## in Loop: Header=BB0_1 Depth=1
leaq -2632(%rbp), %rdi
callq _wait
## %bb.60: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_61
LBB0_61: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_62
LBB0_62: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_63
LBB0_63: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_64
LBB0_64: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_65
LBB0_65: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_66:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_68
## %bb.67:
xorl %eax, %eax
addq $2832, %rsp ## imm = 0xB10
popq %rbp
retq
LBB0_68:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "clear"
L_.str.1: ## @.str.1
.asciz "myshell> "
L_.str.2: ## @.str.2
.space 1
L_.str.3: ## @.str.3
.asciz " "
L_.str.4: ## @.str.4
.asciz "cd"
L_.str.5: ## @.str.5
.asciz "Error"
L_.str.6: ## @.str.6
.asciz "pwd"
L_.str.7: ## @.str.7
.asciz "%s\n"
L_.str.8: ## @.str.8
.asciz "mkdir"
L_.str.9: ## @.str.9
.asciz "rmdir"
L_.str.10: ## @.str.10
.asciz "ls"
L_.str.11: ## @.str.11
.asciz "-l"
L_.str.12: ## @.str.12
.asciz "%s\t"
L_.str.13: ## @.str.13
.asciz "\n"
L_.str.14: ## @.str.14
.asciz "d"
L_.str.15: ## @.str.15
.asciz "-"
L_.str.16: ## @.str.16
.asciz "r"
L_.str.17: ## @.str.17
.asciz "w"
L_.str.18: ## @.str.18
.asciz "x"
L_.str.19: ## @.str.19
.asciz ". %d %s\t%s\t%d\t"
L_.str.20: ## @.str.20
.asciz "%a %b %d %H:%M"
L_.str.21: ## @.str.21
.asciz "%s"
L_.str.22: ## @.str.22
.asciz " %s\n"
L_.str.23: ## @.str.23
.asciz "exit"
L_.str.24: ## @.str.24
.asciz "Error: command not found"
.subsections_via_symbols
| the_stack_data/26700457.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 x9, _v@GOTPAGE
ldr x9, [x9, _v@GOTPAGEOFF]
str x9, [sp] ; 8-byte Folded Spill
mov w8, #1
str w8, [x9]
bl _f
ldr x9, [sp] ; 8-byte Folded Reload
ldr w0, [sp, #8] ; 4-byte Folded Reload
mov w8, #3
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function f
_f: ; @f
.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 _g
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function g
_g: ; @g
.cfi_startproc
; %bb.0:
adrp x9, _v@GOTPAGE
ldr x9, [x9, _v@GOTPAGEOFF]
mov w8, #2
str w8, [x9]
ret
.cfi_endproc
; -- End function
.comm _v,4,2 ; @v
.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 _v@GOTPCREL(%rip), %rax
movl $1, (%rax)
callq _f
movq _v@GOTPCREL(%rip), %rax
movl $3, (%rax)
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function f
_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
callq _g
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function g
_g: ## @g
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _v@GOTPCREL(%rip), %rax
movl $2, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _v,4,2 ## @v
.subsections_via_symbols
| the_stack_data/242330292.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #5
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Y: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $5, -8(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Y: %s\n"
.subsections_via_symbols
| the_stack_data/82951167.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]
fmov s0, #-1.00000000
stur s0, [x29, #-8]
movi d0, #0000000000000000
stur s0, [x29, #-12]
mov w8, #-1
str w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_2
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
subs w8, w0, #10
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=2
b LBB0_2
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
LBB0_7:
b LBB0_8
LBB0_8:
ldr w8, [sp, #16]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_14
LBB0_11:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
movi d0, #0000000000000000
stur s0, [x29, #-12]
b LBB0_14
LBB0_12:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #52429
movk w8, #15820, lsl #16
fmov s0, w8
stur s0, [x29, #-12]
b LBB0_14
LBB0_13:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #52429
movk w8, #15692, lsl #16
fmov s0, w8
stur s0, [x29, #-12]
b LBB0_14
LBB0_14:
b LBB0_15
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _scanf
b LBB0_16
LBB0_16: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
subs w8, w0, #10
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=2
b LBB0_16
LBB0_18: ; in Loop: Header=BB0_15 Depth=1
ldur s0, [x29, #-8]
fcmp s0, #0.0
cset w8, pl
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_15 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_15
LBB0_20:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
ldur s2, [x29, #-8]
fmsub s0, s0, s1, s2
stur s0, [x29, #-8]
ldur s0, [x29, #-8]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_21
LBB0_21:
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 "De acordo com o menu abaixo, indique em qual grupo o cliente se encontra: \n\n\t(1) Cliente Comum\n\t(2) Funcionario\n\t(3) VIP\n\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "ERRO! Tente novamente.\n"
l_.str.3: ; @.str.3
.asciz "Desconto nao aplicavel.\n"
l_.str.4: ; @.str.4
.asciz "Desconto de 10%% ao valor total do produto.\n"
l_.str.5: ; @.str.5
.asciz "Desconto de 5%% ao valor total do produto."
l_.str.6: ; @.str.6
.asciz "Insira o valor do produto: "
l_.str.7: ; @.str.7
.asciz "%f"
l_.str.8: ; @.str.8
.asciz "O valor com o desconto aplicado fica por: %.2f\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 0xbf800000 ## float -1
LCPI0_1:
.long 0x3d4ccccd ## float 0.0500000007
LCPI0_2:
.long 0x3dcccccd ## float 0.100000001
.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)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -8(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -12(%rbp)
movl $-1, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $10, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
jmp LBB0_2
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -16(%rbp)
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -16(%rbp)
jle LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_7:
jmp LBB0_8
LBB0_8:
movl -16(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB0_9
jmp LBB0_20
LBB0_20:
movl -20(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_10
jmp LBB0_21
LBB0_21:
movl -20(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB0_11
jmp LBB0_12
LBB0_9:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorps %xmm0, %xmm0
movss %xmm0, -12(%rbp)
jmp LBB0_12
LBB0_10:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
jmp LBB0_12
LBB0_11:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_14: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $10, %eax
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_14
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
xorps %xmm0, %xmm0
ucomiss -8(%rbp), %xmm0
jbe LBB0_18
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_18:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -8(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.8(%rip), %rdi
movb $1, %al
callq _printf
## %bb.19:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "De acordo com o menu abaixo, indique em qual grupo o cliente se encontra: \n\n\t(1) Cliente Comum\n\t(2) Funcionario\n\t(3) VIP\n\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "ERRO! Tente novamente.\n"
L_.str.3: ## @.str.3
.asciz "Desconto nao aplicavel.\n"
L_.str.4: ## @.str.4
.asciz "Desconto de 10%% ao valor total do produto.\n"
L_.str.5: ## @.str.5
.asciz "Desconto de 5%% ao valor total do produto."
L_.str.6: ## @.str.6
.asciz "Insira o valor do produto: "
L_.str.7: ## @.str.7
.asciz "%f"
L_.str.8: ## @.str.8
.asciz "O valor com o desconto aplicado fica por: %.2f\n"
.subsections_via_symbols
| the_stack_data/31388602.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __dummy_node_export_symbol ; -- Begin function _dummy_node_export_symbol
.p2align 2
__dummy_node_export_symbol: ; @_dummy_node_export_symbol
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __dummy_node_export_symbol ## -- Begin function _dummy_node_export_symbol
.p2align 4, 0x90
__dummy_node_export_symbol: ## @_dummy_node_export_symbol
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/154947.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]
bl _fn1
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
.p2align 2 ; -- Begin function fn1
_fn1: ; @fn1
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x9, _c@GOTPAGE
ldr x9, [x9, _c@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
adrp x8, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
mov w8, #6
str w8, [x9]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_13
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w9, [x9]
ldr w8, [x8]
add w10, w8, w9, lsl #1
adrp x9, _b@GOTPAGE
ldr x9, [x9, _b@GOTPAGEOFF]
mov x8, #0
str x8, [x9, w10, sxtw #3]
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #1
cset w8, gt
and w9, w8, #0x1
str w9, [sp, #4] ; 4-byte Folded Spill
tbz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp] ; 4-byte Folded Spill
b LBB1_7
LBB1_6: ; in Loop: Header=BB1_3 Depth=2
mov w8, #0
str w8, [sp] ; 4-byte Folded Spill
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=2
ldr w9, [sp] ; 4-byte Folded Reload
adrp x8, _e@GOTPAGE
ldr x8, [x8, _e@GOTPAGEOFF]
str w9, [x8]
ldr w8, [x8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
str wzr, [sp, #28]
b LBB1_14
LBB1_9: ; in Loop: Header=BB1_3 Depth=2
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=2
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_3
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB1_1
LBB1_13:
str wzr, [sp, #28]
b LBB1_14
LBB1_14:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _a,4,2 ; @a
.comm _b,72,3 ; @b
.comm _c,4,2 ; @c
.comm _d,4,2 ; @d
.comm _e,4,2 ; @e
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _fn1
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function fn1
_fn1: ## @fn1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _c@GOTPCREL(%rip), %rax
movl $6, (%rax)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movq _c@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jl LBB1_13
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq _d@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq _d@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jge LBB1_11
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq _d@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $1, %eax
movq _c@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movslq %eax, %rcx
movq _b@GOTPCREL(%rip), %rax
movq $0, (%rax,%rcx,8)
movq _a@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
setg %al
movb %al, %cl
andb $1, %cl
movzbl %cl, %ecx
movl %ecx, -8(%rbp) ## 4-byte Spill
testb $1, %al
jne LBB1_5
jmp LBB1_6
LBB1_5: ## in Loop: Header=BB1_3 Depth=2
movl -8(%rbp), %eax ## 4-byte Reload
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB1_7
LBB1_6: ## in Loop: Header=BB1_3 Depth=2
xorl %eax, %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_3 Depth=2
movl -12(%rbp), %ecx ## 4-byte Reload
movq _e@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _e@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jne LBB1_9
## %bb.8:
movl $0, -4(%rbp)
jmp LBB1_14
LBB1_9: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_3 Depth=2
movq _d@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _d@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_3
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
movq _c@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _c@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_1
LBB1_13:
movl $0, -4(%rbp)
LBB1_14:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,4,2 ## @a
.comm _b,72,4 ## @b
.comm _c,4,2 ## @c
.comm _d,4,2 ## @d
.comm _e,4,2 ## @e
.subsections_via_symbols
| the_stack_data/1146197.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]
add x1, sp, #16
adrp x8, _sigint_handler@PAGE
add x8, x8, _sigint_handler@PAGEOFF
str x8, [sp, #16]
str wzr, [sp, #24]
mov w0, #2
str w0, [sp, #28]
mov x2, #0
bl _sigaction
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x0, _env@PAGE
add x0, x0, _env@PAGEOFF
mov w1, #1
bl _sigsetjmp
subs w8, w0, #42
cset w8, ne
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
b LBB0_1
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x9, _jump_active@PAGE
mov w8, #1
str w8, [x9, _jump_active@PAGEOFF]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _readline
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-24]
bl _get_input
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-24]
bl _free
ldur x0, [x29, #-16]
bl _free
b LBB0_1
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _cd
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _perror
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
bl _fork
stur w0, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
mov x1, sp
adrp x8, _sigint_handler@PAGE
add x8, x8, _sigint_handler@PAGEOFF
str x8, [sp]
str wzr, [sp, #8]
mov w0, #2
str w0, [sp, #12]
mov x2, #0
bl _sigaction
ldur x8, [x29, #-16]
ldr x0, [x8]
ldur x1, [x29, #-16]
bl _execvp
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldur x8, [x29, #-16]
ldr x0, [x8]
bl _perror
mov w0, #1
bl _exit
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldur w0, [x29, #-28]
add x1, sp, #32
mov w2, #2
bl _waitpid
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-24]
bl _free
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
ldur x0, [x29, #-16]
bl _free
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.globl _sigint_handler ; -- Begin function sigint_handler
.p2align 2
_sigint_handler: ; @sigint_handler
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _jump_active@PAGE
ldr w8, [x8, _jump_active@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB1_2:
adrp x0, _env@PAGE
add x0, x0, _env@PAGEOFF
mov w1, #42
bl _siglongjmp
.cfi_endproc
; -- End function
.globl _get_input ; -- Begin function get_input
.p2align 2
_get_input: ; @get_input
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
mov x0, #64
bl _malloc
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB2_2:
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp, #24]
str wzr, [sp, #12]
ldur x0, [x29, #-8]
ldr x1, [sp, #24]
bl _strtok
str x0, [sp, #16]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
ldrsw x10, [sp, #12]
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr x1, [sp, #24]
mov x0, #0
bl _strtok
str x0, [sp, #16]
b LBB2_3
LBB2_5:
ldur x9, [x29, #-16]
ldrsw x10, [sp, #12]
mov x8, #0
str x8, [x9, x10, lsl #3]
ldur x0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _cd ; -- Begin function cd
.p2align 2
_cd: ; @cd
.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 _chdir
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_env,196,2 ; @env
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.zerofill __DATA,__bss,_jump_active,4,2 ; @jump_active
l_.str.1: ; @.str.1
.asciz "unixsh> "
l_.str.2: ; @.str.2
.asciz "cd"
l_.str.3: ; @.str.3
.asciz "Fork failed"
l_.str.4: ; @.str.4
.asciz "malloc failed"
l_.str.5: ; @.str.5
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
leaq _sigint_handler(%rip), %rax
movq %rax, -48(%rbp)
movl $0, -40(%rbp)
movl $2, -36(%rbp)
movl $2, %edi
leaq -48(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq _env(%rip), %rdi
movl $1, %esi
callq _sigsetjmp
cmpl $42, %eax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl $1, _jump_active(%rip)
leaq L_.str.1(%rip), %rdi
callq _readline
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_5
## %bb.4:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
movl %eax, -68(%rbp) ## 4-byte Spill
callq _printf
movl -68(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rdi
callq _get_input
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rdi
callq _free
movq -16(%rbp), %rdi
callq _free
jmp LBB0_1
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_11
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _cd
cmpl $0, %eax
jge LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _perror
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
callq _fork
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jge LBB0_13
## %bb.12:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -28(%rbp)
jne LBB0_17
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
leaq _sigint_handler(%rip), %rax
movq %rax, -64(%rbp)
movl $0, -56(%rbp)
movl $2, -52(%rbp)
movl $2, %edi
leaq -64(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _sigaction
movq -16(%rbp), %rax
movq (%rax), %rdi
movq -16(%rbp), %rsi
callq _execvp
cmpl $0, %eax
jge LBB0_16
## %bb.15:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_18
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %edi
leaq -32(%rbp), %rsi
movl $2, %edx
callq _waitpid
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -24(%rbp)
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rdi
callq _free
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -16(%rbp)
jne LBB0_22
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rdi
callq _free
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.globl _sigint_handler ## -- Begin function sigint_handler
.p2align 4, 0x90
_sigint_handler: ## @sigint_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl _jump_active(%rip), %eax
cmpl $0, %eax
jne LBB1_2
## %bb.1:
addq $16, %rsp
popq %rbp
retq
LBB1_2:
leaq _env(%rip), %rdi
movl $42, %esi
callq _siglongjmp
.cfi_endproc
## -- End function
.globl _get_input ## -- Begin function get_input
.p2align 4, 0x90
_get_input: ## @get_input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl $64, %edi
callq _malloc
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.4(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB2_2:
leaq L_.str.5(%rip), %rax
movq %rax, -24(%rbp)
movl $0, -36(%rbp)
movq -8(%rbp), %rdi
movq -24(%rbp), %rsi
callq _strtok
movq %rax, -32(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB2_5
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq -32(%rbp), %rdx
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movq -24(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq _strtok
movq %rax, -32(%rbp)
jmp LBB2_3
LBB2_5:
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movq $0, (%rax,%rcx,8)
movq -16(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cd ## -- Begin function cd
.p2align 4, 0x90
_cd: ## @cd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _chdir
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_env,152,4 ## @env
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.zerofill __DATA,__bss,_jump_active,4,2 ## @jump_active
L_.str.1: ## @.str.1
.asciz "unixsh> "
L_.str.2: ## @.str.2
.asciz "cd"
L_.str.3: ## @.str.3
.asciz "Fork failed"
L_.str.4: ## @.str.4
.asciz "malloc failed"
L_.str.5: ## @.str.5
.asciz " "
.subsections_via_symbols
| the_stack_data/975241.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 0x7fefffffffffffff ; double 1.7976931348623157E+308
lCPI0_1:
.quad 0x8000000000000000 ; double -0
.section __TEXT,__text,regular,pure_instructions
.globl _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]
movi d0, #0000000000000000
str d0, [sp]
ldr d0, [sp]
fabs d0, d0
fcmp d0, #0.0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #6
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
adrp x8, lCPI0_1@PAGE
ldr d0, [x8, lCPI0_1@PAGEOFF]
str d0, [sp]
ldr d0, [sp]
fabs d0, d0
fcmp d0, #0.0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #8
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_5:
b LBB0_6
LBB0_6:
fmov d0, #-1.00000000
str d0, [sp]
ldr d0, [sp]
fabs d0, d0
fmov d1, #1.00000000
fcmp d0, d1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #10
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_8:
b LBB0_9
LBB0_9:
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
str d1, [sp]
ldr d0, [sp]
fabs d0, d0
fcmp d0, d1
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #12
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_11:
b LBB0_12
LBB0_12:
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___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "237641933.c"
l_.str.1: ; @.str.1
.asciz "__builtin_fabs(val) == 0"
l_.str.2: ; @.str.2
.asciz "__builtin_fabs(val) == 1.0"
l_.str.3: ; @.str.3
.asciz "__builtin_fabs(val) == DBL_MAX"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x8000000000000000 ## double -0
LCPI0_2:
.quad 0x3ff0000000000000 ## double 1
LCPI0_3:
.quad 0xbff0000000000000 ## double -1
LCPI0_4:
.quad 0x7fefffffffffffff ## double 1.7976931348623157E+308
.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)
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $6, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_5
## %bb.4:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $8, %edx
callq ___assert_rtn
LBB0_5:
jmp LBB0_6
LBB0_6:
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_8
## %bb.7:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $10, %edx
callq ___assert_rtn
LBB0_8:
jmp LBB0_9
LBB0_9:
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
sete %al
setnp %cl
andb %cl, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_11
## %bb.10:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $12, %edx
callq ___assert_rtn
LBB0_11:
jmp LBB0_12
LBB0_12:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "237641933.c"
L_.str.1: ## @.str.1
.asciz "__builtin_fabs(val) == 0"
L_.str.2: ## @.str.2
.asciz "__builtin_fabs(val) == 1.0"
L_.str.3: ## @.str.3
.asciz "__builtin_fabs(val) == DBL_MAX"
.subsections_via_symbols
| the_stack_data/237641933.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w1, #0
str wzr, [sp, #36]
add x0, sp, #43
str x0, [sp, #8] ; 8-byte Folded Spill
mov x2, #45
bl _memset
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w8, #72
strb w8, [sp, #43]
mov w8, #101
strb w8, [sp, #44]
mov w8, #108
strb w8, [sp, #45]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #24]
ldr x1, [sp, #24]
bl _strcmp
str w0, [sp, #20]
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
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, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Helo"
l_.str.1: ; @.str.1
.asciz "Now the val is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $45, %edx
callq _memset
movb $72, -64(%rbp)
movb $101, -63(%rbp)
movb $108, -62(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -80(%rbp)
leaq -64(%rbp), %rdi
movq -80(%rbp), %rsi
callq _strcmp
movl %eax, -84(%rbp)
movl -84(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Helo"
L_.str.1: ## @.str.1
.asciz "Now the val is %d"
.subsections_via_symbols
| the_stack_data/1001756.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _score@GOTPAGE
ldr x8, [x8, _score@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
mov x10, #400
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_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
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_8:
ldur w8, [x29, #-4]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_19
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_17
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x11, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
add w8, w8, #1
mov x10, x11
mov w9, #400
smaddl x8, w8, w9, x10
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-8]
add w9, w9, #1
mov w10, #400
smaddl x9, w9, w10, x11
ldur w10, [x29, #-12]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
add w8, w8, #1
mov w9, #400
smaddl x8, w8, w9, x10
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-8]
add w8, w8, #1
mov w9, #400
smaddl x8, w8, w9, x10
ldur w9, [x29, #-12]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_11 Depth=2
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-16]
ldur w8, [x29, #-16]
ldursw x10, [x29, #-8]
mov x11, #400
mul x12, x10, x11
mov x10, x9
add x10, x10, x12
ldursw x12, [x29, #-12]
ldr w10, [x10, x12, lsl #2]
add w8, w8, w10
ldursw x10, [x29, #-8]
mul x10, x10, x11
add x9, x9, x10
ldursw x10, [x29, #-12]
str w8, [x9, x10, lsl #2]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_11
LBB0_17: ; in Loop: Header=BB0_9 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB0_9
LBB0_19:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w0, [x8, #404]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w9, w8, #1
stur w9, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-12]
bl _func
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_1
LBB1_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.comm _score,40000,2 ; @score
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -8(%rbp), %rax
movq _score@GOTPCREL(%rip), %rsi
imulq $400, %rax, %rax ## imm = 0x190
addq %rax, %rsi
movslq -12(%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 -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
subl $1, %eax
movl %eax, -8(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $1, -8(%rbp)
jl LBB0_19
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $1, -12(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_17
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _score@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl -8(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rdx
movq _score@GOTPCREL(%rip), %rcx
imulq $400, %rdx, %rdx ## imm = 0x190
addq %rdx, %rcx
movl -12(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _score@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
jmp LBB0_15
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _score@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
movl -20(%rbp), %eax ## 4-byte Reload
movl %eax, -16(%rbp)
movl -16(%rbp), %edx
movslq -8(%rbp), %rcx
movq _score@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movslq -8(%rbp), %rcx
movq _score@GOTPCREL(%rip), %rax
imulq $400, %rcx, %rcx ## imm = 0x190
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.16: ## in Loop: Header=BB0_11 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_11
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
jmp LBB0_9
LBB0_19:
movq _score@GOTPCREL(%rip), %rax
movl 404(%rax), %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)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -8(%rbp)
cmpl $0, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %edi
callq _func
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_1
LBB1_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.comm _score,40000,4 ## @score
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/7950164.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.p2align 2 ; @.compoundliteral
_.compoundliteral:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.section __DATA,__data
.globl _s ; @s
.p2align 3
_s:
.quad _.compoundliteral
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.p2align 2 ## @.compoundliteral
_.compoundliteral:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.section __DATA,__data
.globl _s ## @s
.p2align 3
_s:
.quad _.compoundliteral
.subsections_via_symbols
| the_stack_data/161080961.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _quicksort_method ; -- Begin function quicksort_method
.p2align 2
_quicksort_method: ; @quicksort_method
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_1
LBB0_1:
ldur w8, [x29, #-12]
stur w8, [x29, #-20]
ldur w8, [x29, #-12]
str w8, [sp, #24]
ldur w8, [x29, #-16]
str w8, [sp, #20]
b LBB0_2
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_9 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_2 Depth=1
b LBB0_4
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, gt
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_4
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
b LBB0_9
LBB0_9: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_9
LBB0_13: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_2 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_2 Depth=1
b LBB0_2
LBB0_16:
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-20]
str w8, [x9, x10, lsl #2]
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w8, [sp, #20]
subs w2, w8, #1
bl _quicksort_method
ldur x0, [x29, #-8]
ldr w8, [sp, #20]
add w1, w8, #1
ldur w2, [x29, #-16]
bl _quicksort_method
b LBB0_17
LBB0_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
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
ldursw x8, [x29, #-12]
lsl x0, x8, #2
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB1_2:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
stur wzr, [x29, #-8]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #8]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_3
LBB1_6:
ldr x0, [sp, #8]
ldur w8, [x29, #-12]
subs w2, w8, #1
mov w1, #0
bl _quicksort_method
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-8]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldr x8, [sp, #8]
ldursw x9, [x29, #-8]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_7
LBB1_10:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@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 "How many number you want to input?\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Error! memory not allocated."
l_.str.3: ; @.str.3
.asciz "Please enter %d integers that has to be sorted\n"
l_.str.4: ; @.str.4
.asciz "Below is the list of elements sorted in ascending order:\n"
l_.str.5: ; @.str.5
.asciz "%d "
l_.str.6: ; @.str.6
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _quicksort_method ## -- Begin function quicksort_method
.p2align 4, 0x90
_quicksort_method: ## @quicksort_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_17
## %bb.1:
movl -12(%rbp), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
movl %eax, -28(%rbp)
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_9 Depth 2
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_16
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
jmp LBB0_4
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -8(%rbp), %rdx
movslq -20(%rbp), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl (%rdx,%rsi,4), %ecx
movb %al, -33(%rbp) ## 1-byte Spill
jg LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
setle %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB0_6: ## in Loop: Header=BB0_4 Depth=2
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_7
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_4
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
jmp LBB0_9
LBB0_9: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -8(%rbp), %rdx
movslq -20(%rbp), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl (%rdx,%rsi,4), %ecx
movb %al, -34(%rbp) ## 1-byte Spill
jle LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
setge %al
movb %al, -34(%rbp) ## 1-byte Spill
LBB0_11: ## in Loop: Header=BB0_9 Depth=2
movb -34(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_12
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_9 Depth=2
movl -28(%rbp), %eax
addl $-1, %eax
movl %eax, -28(%rbp)
jmp LBB0_9
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_15
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -32(%rbp), %edx
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
jmp LBB0_2
LBB0_16:
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -32(%rbp), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -28(%rbp), %edx
subl $1, %edx
callq _quicksort_method
movq -8(%rbp), %rdi
movl -28(%rbp), %esi
addl $1, %esi
movl -16(%rbp), %edx
callq _quicksort_method
LBB0_17:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
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
movslq -12(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
movl %eax, -28(%rbp) ## 4-byte Spill
callq _printf
movl -28(%rbp), %edi ## 4-byte Reload
callq _exit
LBB1_2:
movl -12(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -8(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -24(%rbp), %rsi
movslq -8(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_3
LBB1_6:
movq -24(%rbp), %rdi
movl -12(%rbp), %edx
subl $1, %edx
xorl %esi, %esi
callq _quicksort_method
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -8(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_10
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
movq -24(%rbp), %rax
movslq -8(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB1_7 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_7
LBB1_10:
leaq L_.str.6(%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 "How many number you want to input?\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Error! memory not allocated."
L_.str.3: ## @.str.3
.asciz "Please enter %d integers that has to be sorted\n"
L_.str.4: ## @.str.4
.asciz "Below is the list of elements sorted in ascending order:\n"
L_.str.5: ## @.str.5
.asciz "%d "
L_.str.6: ## @.str.6
.asciz "\n"
.subsections_via_symbols
| the_stack_data/98575282.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/95776.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-44]
stur xzr, [x29, #-40]
stur xzr, [x29, #-32]
str wzr, [sp, #48]
mov w8, #1
str w8, [sp, #44]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #4
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
ldrsw x9, [sp, #44]
sub x8, x29, #20
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, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_1
LBB0_4:
mov w8, #1
str w8, [sp, #40]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #40]
subs w8, w8, #4
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
mov w8, #4
str w8, [sp, #36]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldrsw x8, [sp, #40]
sub x9, x29, #20
ldr w8, [x9, x8, lsl #2]
ldrsw x10, [sp, #36]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldrsw x9, [sp, #36]
sub x8, x29, #40
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #36]
subs w8, w8, #1
str w8, [sp, #36]
b LBB0_7
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_5
LBB0_14:
mov w8, #1
str w8, [sp, #32]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #3
cset w8, gt
tbnz w8, #0, LBB0_20
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldrsw x9, [sp, #32]
sub x8, x29, #20
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldrsw x9, [sp, #32]
sub x8, x29, #20
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w8, [x8, x9, lsl #2]
; implicit-def: $x10
mov x10, x8
ldrsw x9, [sp, #32]
sub x8, x29, #40
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsw x9, [sp, #32]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #48]
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_15 Depth=1
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_15
LBB0_20:
ldur w8, [x29, #-44]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
ldr w0, [sp, #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,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite um numero: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Numero %d apareceu %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movl $0, -56(%rbp)
movl $1, -60(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -60(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movslq -60(%rbp), %rax
leaq -20(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB0_1
LBB0_4:
movl $1, -64(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
cmpl $4, -64(%rbp)
jg LBB0_14
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $4, -68(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -68(%rbp)
jl LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movslq -64(%rbp), %rax
movl -20(%rbp,%rax,4), %eax
movslq -68(%rbp), %rcx
cmpl -20(%rbp,%rcx,4), %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -48(%rbp,%rax,4)
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movl -68(%rbp), %eax
addl $-1, %eax
movl %eax, -68(%rbp)
jmp LBB0_7
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_5
LBB0_14:
movl $1, -72(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
cmpl $3, -72(%rbp)
jg LBB0_20
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movslq -72(%rbp), %rax
movl -20(%rbp,%rax,4), %eax
cmpl -56(%rbp), %eax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movslq -72(%rbp), %rax
movl -20(%rbp,%rax,4), %esi
movslq -72(%rbp), %rax
movl -48(%rbp,%rax,4), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movslq -72(%rbp), %rax
movl -20(%rbp,%rax,4), %eax
movl %eax, -56(%rbp)
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
jmp LBB0_19
LBB0_19: ## in Loop: Header=BB0_15 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB0_15
LBB0_20:
movl -52(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
movl -76(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite um numero: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Numero %d apareceu %d\n"
.subsections_via_symbols
| the_stack_data/173577450.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intReverse_long ; -- Begin function intReverse_long
.p2align 2
_intReverse_long: ; @intReverse_long
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
str xzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
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, #24]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w10, w8, w10
; implicit-def: $x8
mov x8, x10
sxtw x8, w8
str x8, [sp, #8]
ldr x8, [sp, #16]
mov x10, #10
mul x8, x8, x10
ldr x10, [sp, #8]
add x8, x8, x10
str x8, [sp, #16]
ldr w8, [sp, #24]
sdiv w8, w8, w9
str w8, [sp, #24]
b LBB0_1
LBB0_3:
ldr x8, [sp, #16]
mov x9, #2147483647
subs x8, x8, x9
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp, #16]
mov x9, #-2147483648
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
str wzr, [sp, #28]
b LBB0_7
LBB0_6:
ldr x8, [sp, #16]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #28]
b LBB0_7
LBB0_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _reverse ; -- Begin function reverse
.p2align 2
_reverse: ; @reverse
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp]
ldr w8, [sp, #4]
mov w9, #52428
movk w9, #3276, lsl #16
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_5
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
mov w9, #52428
movk w9, #3276, lsl #16
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
subs w8, w8, #7
cset w8, le
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
str wzr, [sp, #12]
b LBB1_12
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
mov w9, #13108
movk w9, #62259, lsl #16
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_9
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
mov w9, #13108
movk w9, #62259, lsl #16
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_10
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
adds w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
str wzr, [sp, #12]
b LBB1_12
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
mov w9, #10
mul w8, w8, w9
ldr w10, [sp]
add w8, w8, w10
str w8, [sp, #4]
ldr w8, [sp, #8]
sdiv w8, w8, w9
str w8, [sp, #8]
b LBB1_1
LBB1_11:
ldr w8, [sp, #4]
str w8, [sp, #12]
b LBB1_12
LBB1_12:
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 _intReverse_long ## -- Begin function intReverse_long
.p2align 4, 0x90
_intReverse_long: ## @intReverse_long
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movq $0, -16(%rbp)
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
movslq %edx, %rax
movq %rax, -24(%rbp)
imulq $10, -16(%rbp), %rax
addq -24(%rbp), %rax
movq %rax, -16(%rbp)
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_3:
cmpq $2147483647, -16(%rbp) ## imm = 0x7FFFFFFF
jg LBB0_5
## %bb.4:
cmpq $-2147483648, -16(%rbp) ## imm = 0x80000000
jge LBB0_6
LBB0_5:
movl $0, -4(%rbp)
jmp LBB0_7
LBB0_6:
movq -16(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverse ## -- Begin function reverse
.p2align 4, 0x90
_reverse: ## @reverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
je LBB1_11
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -16(%rbp)
cmpl $214748364, -12(%rbp) ## imm = 0xCCCCCCC
jg LBB1_5
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl $214748364, -12(%rbp) ## imm = 0xCCCCCCC
jne LBB1_6
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
cmpl $7, -16(%rbp)
jle LBB1_6
LBB1_5:
movl $0, -4(%rbp)
jmp LBB1_12
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
cmpl $-214748364, -12(%rbp) ## imm = 0xF3333334
jl LBB1_9
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
cmpl $-214748364, -12(%rbp) ## imm = 0xF3333334
jne LBB1_10
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
cmpl $-8, -16(%rbp)
jge LBB1_10
LBB1_9:
movl $0, -4(%rbp)
jmp LBB1_12
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
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 LBB1_1
LBB1_11:
movl -12(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_12:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/37724.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.