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 _t1 ; -- Begin function t1
.p2align 2
_t1: ; @t1
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, _mutex1@PAGE
add x0, x0, _mutex1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _pthread_mutex_lock
adrp x0, _mutex2@PAGE
add x0, x0, _mutex2@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _pthread_mutex_lock
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x8, _g2@GOTPAGE
ldr x8, [x8, _g2@GOTPAGEOFF]
ldr w8, [x8]
add w8, w8, #1
adrp x9, _g1@GOTPAGE
ldr x9, [x9, _g1@GOTPAGEOFF]
str w8, [x9]
bl _pthread_mutex_unlock
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _pthread_mutex_unlock
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _t2 ; -- Begin function t2
.p2align 2
_t2: ; @t2
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, _mutex2@PAGE
add x0, x0, _mutex2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _pthread_mutex_lock
adrp x0, _mutex1@PAGE
add x0, x0, _mutex1@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _pthread_mutex_lock
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x8, _g1@GOTPAGE
ldr x8, [x8, _g1@GOTPAGEOFF]
ldr w8, [x8]
add w8, w8, #1
adrp x9, _g2@GOTPAGE
ldr x9, [x9, _g2@GOTPAGEOFF]
str w8, [x9]
bl _pthread_mutex_unlock
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _pthread_mutex_unlock
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-28]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
mov w9, #10000
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
sub x0, x29, #16
mov x3, #0
str x3, [sp, #24] ; 8-byte Folded Spill
mov x1, x3
adrp x2, _t1@PAGE
add x2, x2, _t1@PAGEOFF
bl _pthread_create
ldr x3, [sp, #24] ; 8-byte Folded Reload
sub x0, x29, #24
mov x1, x3
adrp x2, _t2@PAGE
add x2, x2, _t2@PAGEOFF
bl _pthread_create
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldur x0, [x29, #-16]
bl _pthread_join
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldur x0, [x29, #-24]
bl _pthread_join
ldur w8, [x29, #-28]
; implicit-def: $x11
mov x11, x8
adrp x8, _g1@GOTPAGE
ldr x8, [x8, _g1@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
adrp x8, _g2@GOTPAGE
ldr x8, [x8, _g2@GOTPAGEOFF]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_1
LBB2_4:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _mutex1 ; @mutex1
.p2align 3
_mutex1:
.quad 850045863 ; 0x32aaaba7
.space 56
.globl _mutex2 ; @mutex2
.p2align 3
_mutex2:
.quad 850045863 ; 0x32aaaba7
.space 56
.comm _g2,4,2 ; @g2
.comm _g1,4,2 ; @g1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d: g1 = %d, g2 = %d.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t1 ## -- Begin function t1
.p2align 4, 0x90
_t1: ## @t1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq _mutex1(%rip), %rdi
callq _pthread_mutex_lock
leaq _mutex2(%rip), %rdi
callq _pthread_mutex_lock
movq _g2@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _g1@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
leaq _mutex2(%rip), %rdi
callq _pthread_mutex_unlock
leaq _mutex1(%rip), %rdi
callq _pthread_mutex_unlock
xorl %eax, %eax
## kill: def $rax killed $eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _t2 ## -- Begin function t2
.p2align 4, 0x90
_t2: ## @t2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
leaq _mutex2(%rip), %rdi
callq _pthread_mutex_lock
leaq _mutex1(%rip), %rdi
callq _pthread_mutex_lock
movq _g1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _g2@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
leaq _mutex1(%rip), %rdi
callq _pthread_mutex_unlock
leaq _mutex2(%rip), %rdi
callq _pthread_mutex_unlock
xorl %eax, %eax
## kill: def $rax killed $eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $10000, -28(%rbp) ## imm = 0x2710
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
leaq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _t1(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
leaq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _t2(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
movq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
movl -28(%rbp), %esi
movq _g1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _g2@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_4:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _mutex1 ## @mutex1
.p2align 3
_mutex1:
.quad 850045863 ## 0x32aaaba7
.space 56
.globl _mutex2 ## @mutex2
.p2align 3
_mutex2:
.quad 850045863 ## 0x32aaaba7
.space 56
.comm _g2,4,2 ## @g2
.comm _g1,4,2 ## @g1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d: g1 = %d, g2 = %d.\n"
.subsections_via_symbols
|
the_stack_data/29824854.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process ; -- Begin function process
.p2align 2
_process: ; @process
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str w2, [sp, #4]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
add w8, w8, w9
ldr w9, [sp, #4]
add w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-24] ; 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
stur w0, [x29, #-20]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x0, [x8]
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
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 x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
ldur w2, [x29, #-16]
bl _process
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w0, [x29, #-24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d"
l_.str.1: ; @.str.1
.asciz "Number of integers read = %i\n"
l_.str.2: ; @.str.2
.asciz "i = %i, j = %i, k = %i\n"
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 _process ## -- Begin function process
.p2align 4, 0x90
_process: ## @process
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
addl -8(%rbp), %eax
addl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
movl %eax, -20(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -20(%rbp), %edx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -8(%rbp), %edx
movl -12(%rbp), %ecx
movl -16(%rbp), %r8d
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl -8(%rbp), %edi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
callq _process
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d"
L_.str.1: ## @.str.1
.asciz "Number of integers read = %i\n"
L_.str.2: ## @.str.2
.asciz "i = %i, j = %i, k = %i\n"
L_.str.3: ## @.str.3
.asciz "%i\n"
.subsections_via_symbols
|
the_stack_data/51700099.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_parfait ; -- Begin function check_parfait
.p2align 2
_check_parfait: ; @check_parfait
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
str wzr, [sp, #4]
mov w8, #1
str w8, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #8]
mov w10, #2
sdiv w9, w9, w10
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr w10, [sp]
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
ldr w9, [sp]
ldr w8, [sp, #4]
add w8, w8, w9
str w8, [sp, #4]
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]
add w8, w8, #1
str w8, [sp]
b LBB0_1
LBB0_6:
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w8, #1
str w8, [sp, #12]
b LBB0_9
LBB0_8:
str wzr, [sp, #12]
b LBB0_9
LBB0_9:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #20
str x8, [x9]
bl _scanf
ldr w8, [sp, #24]
str w8, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w0, [sp, #20]
bl _check_parfait
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w9, [sp, #20]
; 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_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "entrez les bornes sup et inf de recherche?\n"
l_.str.1: ; @.str.1
.asciz "bornes inf?\n"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "bornes sup?\n"
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 _check_parfait ## -- Begin function check_parfait
.p2align 4, 0x90
_check_parfait: ## @check_parfait
.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)
movl $1, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cltd
idivl -16(%rbp)
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_6:
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB0_8
## %bb.7:
movl $1, -4(%rbp)
jmp LBB0_9
LBB0_8:
movl $0, -4(%rbp)
LBB0_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl -24(%rbp), %eax
movl %eax, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %edi
callq _check_parfait
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "entrez les bornes sup et inf de recherche?\n"
L_.str.1: ## @.str.1
.asciz "bornes inf?\n"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "bornes sup?\n"
L_.str.4: ## @.str.4
.asciz "%d;"
.subsections_via_symbols
|
the_stack_data/190769220.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/37638026.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add ; -- Begin function add
.p2align 2
_add: ; @add
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
mul w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w0, [sp, #16]
ldr w1, [sp, #12]
bl _add
str w0, [sp, #16]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_4:
ldr s1, [sp, #16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
ldur s2, [x29, #-8]
; 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
mov x8, sp
str d0, [x8]
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 "Enter number of integer; "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter Number %d: "
l_.str.3: ; @.str.3
.asciz "The aberage is %lf\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add ## -- Begin function add
.p2align 4, 0x90
_add: ## @add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
imull -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $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 $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %esi
addl $1, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl -16(%rbp), %edi
movl -20(%rbp), %esi
callq _add
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
cvtsi2sdl -16(%rbp), %xmm0
cvtsi2sdl -8(%rbp), %xmm1
divsd %xmm1, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number of integer; "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter Number %d: "
L_.str.3: ## @.str.3
.asciz "The aberage is %lf\n"
.subsections_via_symbols
|
the_stack_data/50138504.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input ; -- Begin function input
.p2align 2
_input: ; @input
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _inpsrh ; -- Begin function inpsrh
.p2align 2
_inpsrh: ; @inpsrh
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _srch ; -- Begin function srch
.p2align 2
_srch: ; @srch
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str w1, [sp, #24]
str x2, [sp, #16]
str wzr, [sp, #12]
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #8]
str wzr, [sp]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_9
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #4]
ldr w8, [sp, #28]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #8]
b LBB2_8
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #28]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_7
LBB2_6:
b LBB2_9
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_9:
ldr w8, [sp, #4]
str w8, [sp]
ldr w0, [sp]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _output ; -- Begin function output
.p2align 2
_output: ; @output
.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, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB3_3
LBB3_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_3
LBB3_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:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #64
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-16]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-24]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-56] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-32]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-56] ; 8-byte Folded Reload
ldur w1, [x29, #-16]
bl _input
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
bl _inpsrh
ldur x2, [x29, #-56] ; 8-byte Folded Reload
stur w0, [x29, #-36]
ldur w0, [x29, #-36]
ldur w1, [x29, #-16]
bl _srch
stur w0, [x29, #-40]
ldur w0, [x29, #-40]
bl _output
stur wzr, [x29, #-12]
ldur x8, [x29, #-24]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-44] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
bl ___stack_chk_fail
LBB4_2:
ldur w0, [x29, #-44] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "the search was unsucessful\n"
l_.str.2: ; @.str.2
.asciz "the search was succesful"
l_.str.3: ; @.str.3
.asciz "enter the number of terms being entered"
l_.str.4: ; @.str.4
.asciz "enter the values in to the array\n"
l_.str.5: ; @.str.5
.asciz "please enter the number to be searched\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input ## -- Begin function input
.p2align 4, 0x90
_input: ## @input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rsi
movslq -16(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inpsrh ## -- Begin function inpsrh
.p2align 4, 0x90
_inpsrh: ## @inpsrh
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _srch ## -- Begin function srch
.p2align 4, 0x90
_srch: ## @srch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movl $0, -20(%rbp)
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -24(%rbp)
movl $0, -32(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB2_9
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl -24(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -28(%rbp)
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
subl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_8
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %eax
movq -16(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_7
LBB2_6:
jmp LBB2_9
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_9:
movl -28(%rbp), %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _output ## -- Begin function output
.p2align 4, 0x90
_output: ## @output
.cfi_startproc
## %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 LBB3_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_3
LBB3_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB3_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 $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -65(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -65(%rbp), %al ## 1-byte Reload
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
callq _scanf
movl -16(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -64(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rdi ## 8-byte Reload
movl -16(%rbp), %esi
callq _input
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
callq _inpsrh
movq -56(%rbp), %rdx ## 8-byte Reload
movl %eax, -36(%rbp)
movl -36(%rbp), %edi
movl -16(%rbp), %esi
callq _srch
movl %eax, -40(%rbp)
movl -40(%rbp), %edi
callq _output
movl $0, -12(%rbp)
movq -24(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_2
## %bb.1:
movl -44(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB4_2:
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 "the search was unsucessful\n"
L_.str.2: ## @.str.2
.asciz "the search was succesful"
L_.str.3: ## @.str.3
.asciz "enter the number of terms being entered"
L_.str.4: ## @.str.4
.asciz "enter the values in to the array\n"
L_.str.5: ## @.str.5
.asciz "please enter the number to be searched\n"
.subsections_via_symbols
|
the_stack_data/181394167.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _q ; -- Begin function q
.p2align 2
_q: ; @q
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldur w8, [sp, #2]
str w8, [sp, #8]
ldrh w8, [sp, #6]
strh 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 _q ## -- Begin function q
.p2align 4, 0x90
_q: ## @q
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl -16(%rbp), %eax
movl %eax, -8(%rbp)
movw -12(%rbp), %ax
movw %ax, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/605409.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/1157071.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _interface ; -- Begin function interface
.p2align 2
_interface: ; @interface
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x8, _time@GOTPAGE
ldr x8, [x8, _time@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x8, _sc_FH_TUERMODUL_CTRL_2375_2@GOTPAGE
ldr x8, [x8, _sc_FH_TUERMODUL_CTRL_2375_2@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _sc_FH_TUERMODUL_CTRL_2352_1@GOTPAGE
ldr x8, [x8, _sc_FH_TUERMODUL_CTRL_2352_1@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _sc_FH_TUERMODUL_CTRL_2329_1@GOTPAGE
ldr x8, [x8, _sc_FH_TUERMODUL_CTRL_2329_1@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _sc_FH_TUERMODUL_CTRL_1781_10@GOTPAGE
ldr x8, [x8, _sc_FH_TUERMODUL_CTRL_1781_10@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _sc_FH_TUERMODUL_CTRL_1739_10@GOTPAGE
ldr x8, [x8, _sc_FH_TUERMODUL_CTRL_1739_10@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _B4@PAGE
ldrb w8, [x8, _B4@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGE
ldr x9, [x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGEOFF]
str x8, [x9]
b LBB0_2
LBB0_2:
adrp x8, _B4@PAGE
ldrsb w8, [x8, _B4@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _B6@PAGE
ldrsb w8, [x8, _B6@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGE
ldr x9, [x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGEOFF]
str x8, [x9]
b LBB0_5
LBB0_5:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
ucvtf d0, x8
fmov d1, #0.50000000
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x9, _FH_TUERMODUL__MFHA_copy@GOTPAGE
ldr x9, [x9, _FH_TUERMODUL__MFHA_copy@GOTPAGEOFF]
strb wzr, [x9]
str xzr, [x8]
b LBB0_8
LBB0_8:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
ucvtf d0, x8
fmov d1, #0.50000000
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldr x8, [sp, #16] ; 8-byte Folded Reload
adrp x9, _FH_TUERMODUL__MFHZ_copy@GOTPAGE
ldr x9, [x9, _FH_TUERMODUL__MFHZ_copy@GOTPAGEOFF]
strb wzr, [x9]
str xzr, [x8]
b LBB0_11
LBB0_11:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12:
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
ucvtf d0, x8
fmov d1, #0.50000000
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldr x8, [sp, #24] ; 8-byte Folded Reload
adrp x9, _FH_TUERMODUL__MFHZ_copy@GOTPAGE
ldr x9, [x9, _FH_TUERMODUL__MFHZ_copy@GOTPAGEOFF]
strb wzr, [x9]
str xzr, [x8]
b LBB0_14
LBB0_14:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
ucvtf d0, x8
fmov d1, #0.50000000
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldr x8, [sp, #32] ; 8-byte Folded Reload
str xzr, [x8]
b LBB0_17
LBB0_17:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
ucvtf d0, x8
fmov d1, #0.50000000
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
ldr x8, [sp, #40] ; 8-byte Folded Reload
str xzr, [x8]
b LBB0_20
LBB0_20:
adrp x8, _B0@PAGE
ldrsb w8, [x8, _B0@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
adrp x8, _BLOCK_ERKENNUNG_CTRL__N@GOTPAGE
ldr x8, [x8, _BLOCK_ERKENNUNG_CTRL__N@GOTPAGEOFF]
ldr w8, [x8]
adrp x9, _BLOCK_ERKENNUNG_CTRL__N_old@GOTPAGE
ldr x9, [x9, _BLOCK_ERKENNUNG_CTRL__N_old@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGE
ldr x9, [x9, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGEOFF]
str x8, [x9]
b LBB0_23
LBB0_23:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _init ; -- Begin function init
.p2align 2
_init: ; @init
.cfi_startproc
; %bb.0:
adrp x8, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGE
ldr x8, [x8, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGEOFF]
str xzr, [x8]
adrp x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGE
ldr x8, [x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGEOFF]
str xzr, [x8]
adrp x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGE
ldr x8, [x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGEOFF]
str xzr, [x8]
adrp x8, _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPAGE
ldr x8, [x8, _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _B_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _B_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _A_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _A_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPAGE
ldr x8, [x8, _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPAGE
ldr x8, [x8, _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
adrp x8, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGEOFF]
strb wzr, [x8]
ret
.cfi_endproc
; -- End function
.globl _generic_KINDERSICHERUNG_CTRL ; -- Begin function generic_KINDERSICHERUNG_CTRL
.p2align 2
_generic_KINDERSICHERUNG_CTRL: ; @generic_KINDERSICHERUNG_CTRL
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
adrp x8, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__KL_50@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__KL_50@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHZ_MEC@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_MEC@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHA_MEC@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_MEC@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _stable@GOTPAGE
ldr x8, [x8, _stable@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHZ_copy@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_copy@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHA_copy@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_copy@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPAGEOFF]
str x8, [sp, #64] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHA_ZENTRAL@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_ZENTRAL@GOTPAGEOFF]
str x8, [sp, #72] ; 8-byte Folded Spill
adrp x8, _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #80] ; 8-byte Folded Spill
adrp x8, _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #88] ; 8-byte Folded Spill
adrp x8, _B10@PAGE
ldrb w8, [x8, _B10@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_68
b LBB2_1
LBB2_1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB2_23
b LBB2_3
LBB2_3:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB2_42
b LBB2_66
LBB2_4:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_5
LBB2_5:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldr x12, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x12]
strb wzr, [x11]
strb wzr, [x9]
mov w9, #3
strb w9, [x10]
strb wzr, [x8]
b LBB2_67
LBB2_7:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_21
b LBB2_8
LBB2_8:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_9
LBB2_9:
adrp x8, _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB2_22
LBB2_11:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_12
LBB2_12:
adrp x8, _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13:
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB2_22
LBB2_14:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_17
b LBB2_15
LBB2_15:
adrp x8, _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16:
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB2_22
LBB2_17:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_20
b LBB2_18
LBB2_18:
adrp x8, _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19:
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB2_22
LBB2_20:
b LBB2_22
LBB2_21:
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
b LBB2_22
LBB2_22:
b LBB2_67
LBB2_23:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_26
b LBB2_24
LBB2_24:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_26
b LBB2_25
LBB2_25:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldr x12, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x12]
strb wzr, [x11]
strb wzr, [x9]
mov w9, #3
strb w9, [x10]
strb wzr, [x8]
b LBB2_67
LBB2_26:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_40
b LBB2_27
LBB2_27:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_30
b LBB2_28
LBB2_28:
adrp x8, _FH_TUERMODUL__SFHA_MEC_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_MEC_old@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_30
b LBB2_29
LBB2_29:
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB2_41
LBB2_30:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_33
b LBB2_31
LBB2_31:
adrp x8, _FH_TUERMODUL__SFHZ_MEC_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_MEC_old@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_33
b LBB2_32
LBB2_32:
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB2_41
LBB2_33:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_36
b LBB2_34
LBB2_34:
adrp x8, _FH_TUERMODUL__SFHA_MEC_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_MEC_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_36
b LBB2_35
LBB2_35:
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB2_41
LBB2_36:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_39
b LBB2_37
LBB2_37:
adrp x8, _FH_TUERMODUL__SFHZ_MEC_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_MEC_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_39
b LBB2_38
LBB2_38:
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB2_41
LBB2_39:
b LBB2_41
LBB2_40:
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
b LBB2_41
LBB2_41:
b LBB2_67
LBB2_42:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_46
b LBB2_43
LBB2_43:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_46
b LBB2_44
LBB2_44:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_46
b LBB2_45
LBB2_45:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x11]
strb w8, [x10]
mov w8, #2
strb w8, [x9]
b LBB2_67
LBB2_46:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_50
b LBB2_47
LBB2_47:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_50
b LBB2_48
LBB2_48:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_50
b LBB2_49
LBB2_49:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
mov w8, #2
strb w8, [x9]
b LBB2_67
LBB2_50:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_54
b LBB2_51
LBB2_51:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_54
b LBB2_52
LBB2_52:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_54
b LBB2_53
LBB2_53:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
mov w8, #2
strb w8, [x9]
b LBB2_67
LBB2_54:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_58
b LBB2_55
LBB2_55:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_58
b LBB2_56
LBB2_56:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_58
b LBB2_57
LBB2_57:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB2_67
LBB2_58:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_61
b LBB2_59
LBB2_59:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_61
b LBB2_60
LBB2_60:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x11]
strb w8, [x10]
strb w8, [x9]
b LBB2_67
LBB2_61:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_65
b LBB2_62
LBB2_62:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_65
b LBB2_63
LBB2_63:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_65
b LBB2_64
LBB2_64:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB2_67
LBB2_65:
b LBB2_67
LBB2_66:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB2_67
LBB2_67:
b LBB2_68
LBB2_68:
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _generic_FH_TUERMODUL_CTRL ; -- Begin function generic_FH_TUERMODUL_CTRL
.p2align 2
_generic_FH_TUERMODUL_CTRL: ; @generic_FH_TUERMODUL_CTRL
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
adrp x8, _B_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _B_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL_CTRL__N@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL_CTRL__N@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _stable@GOTPAGE
ldr x8, [x8, _stable@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__MFHZ_copy@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHZ_copy@GOTPAGEOFF]
str x8, [sp, #64] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__MFHA_copy@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHA_copy@GOTPAGEOFF]
str x8, [sp, #72] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__BLOCK@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__BLOCK@GOTPAGEOFF]
str x8, [sp, #80] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__BLOCK_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__BLOCK_old@GOTPAGEOFF]
str x8, [sp, #88] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__MFHA@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHA@GOTPAGEOFF]
str x8, [sp, #96] ; 8-byte Folded Spill
adrp x8, _time@GOTPAGE
ldr x8, [x8, _time@GOTPAGEOFF]
str x8, [sp, #104] ; 8-byte Folded Spill
adrp x8, _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPAGE
ldr x8, [x8, _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPAGEOFF]
str x8, [sp, #112] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__MFHZ@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHZ@GOTPAGEOFF]
str x8, [sp, #120] ; 8-byte Folded Spill
adrp x8, _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #128] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHZ@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ@GOTPAGEOFF]
str x8, [sp, #136] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHZ_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ_old@GOTPAGEOFF]
str x8, [sp, #144] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__POSITION@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__POSITION@GOTPAGEOFF]
str x8, [sp, #152] ; 8-byte Folded Spill
adrp x8, _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #160] ; 8-byte Folded Spill
adrp x8, _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #168] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHA@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA@GOTPAGEOFF]
str x8, [sp, #176] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__SFHA_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA_old@GOTPAGEOFF]
str x8, [sp, #184] ; 8-byte Folded Spill
adrp x8, _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #192] ; 8-byte Folded Spill
adrp x8, _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #200] ; 8-byte Folded Spill
adrp x8, _A_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _A_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #208] ; 8-byte Folded Spill
adrp x8, _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x8, [x8, _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #216] ; 8-byte Folded Spill
adrp x8, _B13@PAGE
ldrb w8, [x8, _B13@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_1
LBB3_1:
adrp x8, _B15@PAGE
ldrsb w8, [x8, _B15@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2:
adrp x8, _B14@PAGE
ldrb w8, [x8, _B14@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
adrp x8, _B4@PAGE
strb wzr, [x8, _B4@PAGEOFF]
adrp x8, _B6@PAGE
strb wzr, [x8, _B6@PAGEOFF]
b LBB3_4
LBB3_4:
adrp x8, _B13@PAGE
ldrb w8, [x8, _B13@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_140
b LBB3_5
LBB3_5:
adrp x8, _B10@PAGE
ldrb w8, [x8, _B10@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
adrp x9, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x9, [x9, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
mov w8, #3
strb w8, [x9]
b LBB3_7
LBB3_7:
adrp x8, _B11@PAGE
strb wzr, [x8, _B11@PAGEOFF]
adrp x8, _B19@PAGE
ldrb w8, [x8, _B19@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8:
adrp x8, _B0@PAGE
strb wzr, [x8, _B0@PAGEOFF]
adrp x9, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGE
ldr x9, [x9, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGEOFF]
mov w8, #1
strb w8, [x9]
b LBB3_9
LBB3_9:
ldr x8, [sp, #40] ; 8-byte Folded Reload
adrp x10, _B20@PAGE
strb wzr, [x10, _B20@PAGEOFF]
mov w9, #1
adrp x11, _B11@PAGE
strb w9, [x11, _B11@PAGEOFF]
strb w9, [x10, _B20@PAGEOFF]
ldrsb w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_12
b LBB3_10
LBB3_10:
ldr w8, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_16
b LBB3_11
LBB3_11:
ldr w8, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB3_36
b LBB3_119
LBB3_12:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #59
cset w8, ne
tbnz w8, #0, LBB3_15
b LBB3_13
LBB3_13:
adrp x8, _FH_TUERMODUL_CTRL__N_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL_CTRL__N_old@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #59
cset w8, eq
tbnz w8, #0, LBB3_15
b LBB3_14
LBB3_14:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #3
strb w8, [x10]
strb w8, [x9]
b LBB3_120
LBB3_15:
b LBB3_120
LBB3_16:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_20
b LBB3_17
LBB3_17:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_20
b LBB3_18
LBB3_18:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_20
b LBB3_19
LBB3_19:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x11, [sp, #64] ; 8-byte Folded Reload
ldr x12, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x12]
strb wzr, [x11]
ldr x8, [x8]
adrp x11, _sc_FH_TUERMODUL_CTRL_2329_1@GOTPAGE
ldr x11, [x11, _sc_FH_TUERMODUL_CTRL_2329_1@GOTPAGEOFF]
str x8, [x11]
mov w8, #3
strb w8, [x10]
strb w8, [x9]
b LBB3_120
LBB3_20:
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #32] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_23
b LBB3_21
LBB3_21:
ldr w8, [sp, #32] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_26
b LBB3_22
LBB3_22:
ldr w8, [sp, #32] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB3_29
b LBB3_34
LBB3_23:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_25
b LBB3_24
LBB3_24:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_35
LBB3_25:
b LBB3_35
LBB3_26:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_28
b LBB3_27
LBB3_27:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_35
LBB3_28:
b LBB3_35
LBB3_29:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_31
b LBB3_30
LBB3_30:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x10, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
mov w8, #2
strb w8, [x9]
b LBB3_35
LBB3_31:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_33
b LBB3_32
LBB3_32:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB3_35
LBB3_33:
b LBB3_35
LBB3_34:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_35
LBB3_35:
b LBB3_120
LBB3_36:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #60
cset w8, le
tbnz w8, #0, LBB3_41
b LBB3_37
LBB3_37:
adrp x8, _FH_TUERMODUL_CTRL__N_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL_CTRL__N_old@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #60
cset w8, gt
tbnz w8, #0, LBB3_41
b LBB3_38
LBB3_38:
adrp x8, _FH_TUERMODUL_CTRL__INREVERS1@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL_CTRL__INREVERS1@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_41
b LBB3_39
LBB3_39:
adrp x8, _FH_TUERMODUL_CTRL__INREVERS2@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL_CTRL__INREVERS2@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_41
b LBB3_40
LBB3_40:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x11]
strb wzr, [x10]
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB3_120
LBB3_41:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_45
b LBB3_42
LBB3_42:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_45
b LBB3_43
LBB3_43:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_45
b LBB3_44
LBB3_44:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr x12, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x12]
strb wzr, [x11]
ldr x8, [x8]
adrp x11, _sc_FH_TUERMODUL_CTRL_2375_2@GOTPAGE
ldr x11, [x11, _sc_FH_TUERMODUL_CTRL_2375_2@GOTPAGEOFF]
str x8, [x11]
mov w8, #2
strb w8, [x10]
mov w8, #3
strb w8, [x9]
b LBB3_120
LBB3_45:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_49
b LBB3_46
LBB3_46:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_49
b LBB3_47
LBB3_47:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_49
b LBB3_48
LBB3_48:
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x11, [sp, #64] ; 8-byte Folded Reload
ldr x12, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x12]
strb wzr, [x11]
ldr x8, [x8]
adrp x11, _sc_FH_TUERMODUL_CTRL_2352_1@GOTPAGE
ldr x11, [x11, _sc_FH_TUERMODUL_CTRL_2352_1@GOTPAGEOFF]
str x8, [x11]
mov w8, #2
strb w8, [x10]
mov w8, #3
strb w8, [x9]
b LBB3_120
LBB3_49:
ldr x8, [sp, #128] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #28] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_52
b LBB3_50
LBB3_50:
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_71
b LBB3_51
LBB3_51:
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB3_108
b LBB3_117
LBB3_52:
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #405
cset w8, lt
tbnz w8, #0, LBB3_54
b LBB3_53
LBB3_53:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_118
LBB3_54:
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #24] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_56
b LBB3_55
LBB3_55:
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_62
b LBB3_69
LBB3_56:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_58
b LBB3_57
LBB3_57:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_60
b LBB3_58
LBB3_58:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_61
b LBB3_59
LBB3_59:
ldr x8, [sp, #184] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_61
b LBB3_60
LBB3_60:
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldr x10, [sp, #128] ; 8-byte Folded Reload
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x11]
strb wzr, [x9]
mov w9, #3
strb w9, [x10]
strb wzr, [x8]
b LBB3_70
LBB3_61:
b LBB3_70
LBB3_62:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_65
b LBB3_63
LBB3_63:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_65
b LBB3_64
LBB3_64:
ldr x9, [sp, #192] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB3_70
LBB3_65:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_68
b LBB3_66
LBB3_66:
ldr x8, [sp, #184] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_68
b LBB3_67
LBB3_67:
ldr x8, [sp, #192] ; 8-byte Folded Reload
ldr x10, [sp, #128] ; 8-byte Folded Reload
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x11]
strb wzr, [x9]
mov w9, #3
strb w9, [x10]
strb wzr, [x8]
b LBB3_70
LBB3_68:
b LBB3_70
LBB3_69:
ldr x9, [sp, #192] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x9]
b LBB3_70
LBB3_70:
b LBB3_118
LBB3_71:
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB3_73
b LBB3_72
LBB3_72:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_118
LBB3_73:
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #20] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_75
b LBB3_74
LBB3_74:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_90
b LBB3_106
LBB3_75:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_77
b LBB3_76
LBB3_76:
ldr x8, [sp, #184] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_79
b LBB3_77
LBB3_77:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_80
b LBB3_78
LBB3_78:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_80
b LBB3_79
LBB3_79:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_107
LBB3_80:
ldr x8, [sp, #200] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #16] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_82
b LBB3_81
LBB3_81:
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_85
b LBB3_88
LBB3_82:
adrp x8, _B23@PAGE
strb wzr, [x8, _B23@PAGEOFF]
adrp x8, _B22@PAGE
ldrb w8, [x8, _B22@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_84
b LBB3_83
LBB3_83:
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x11, [sp, #200] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x10]
adrp x10, _FH_TUERMODUL_CTRL__INREVERS2_copy@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL_CTRL__INREVERS2_copy@GOTPAGEOFF]
strb wzr, [x10]
mov w10, #2
strb w10, [x11]
strb wzr, [x9]
adrp x9, _B17@PAGE
strb w8, [x9, _B17@PAGEOFF]
b LBB3_89
LBB3_84:
b LBB3_89
LBB3_85:
adrp x8, _B24@PAGE
ldrb w8, [x8, _B24@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_87
b LBB3_86
LBB3_86:
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x10, [sp, #104] ; 8-byte Folded Reload
ldr x11, [sp, #64] ; 8-byte Folded Reload
ldr x12, [sp, #200] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
adrp x13, _FH_TUERMODUL_CTRL__INREVERS2_copy@GOTPAGE
ldr x13, [x13, _FH_TUERMODUL_CTRL__INREVERS2_copy@GOTPAGEOFF]
mov w8, #1
strb w8, [x13]
adrp x13, _B23@PAGE
strb w8, [x13, _B23@PAGEOFF]
strb w8, [x12]
adrp x12, _B17@PAGE
strb wzr, [x12, _B17@PAGEOFF]
strb wzr, [x11]
ldr x10, [x10]
adrp x11, _sc_FH_TUERMODUL_CTRL_1781_10@GOTPAGE
ldr x11, [x11, _sc_FH_TUERMODUL_CTRL_1781_10@GOTPAGEOFF]
str x10, [x11]
strb w8, [x9]
b LBB3_89
LBB3_87:
b LBB3_89
LBB3_88:
ldr x9, [sp, #200] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x9]
adrp x9, _B17@PAGE
mov w8, #1
strb w8, [x9, _B17@PAGEOFF]
b LBB3_89
LBB3_89:
b LBB3_107
LBB3_90:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_93
b LBB3_91
LBB3_91:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_93
b LBB3_92
LBB3_92:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_107
LBB3_93:
ldr x8, [sp, #168] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_95
b LBB3_94
LBB3_94:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB3_98
b LBB3_104
LBB3_95:
adrp x8, _B23@PAGE
strb wzr, [x8, _B23@PAGEOFF]
adrp x8, _B22@PAGE
ldrb w8, [x8, _B22@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_97
b LBB3_96
LBB3_96:
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x11, [sp, #168] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x10]
adrp x10, _FH_TUERMODUL_CTRL__INREVERS1_copy@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL_CTRL__INREVERS1_copy@GOTPAGEOFF]
strb wzr, [x10]
mov w10, #2
strb w10, [x11]
strb wzr, [x8]
adrp x10, _B17@PAGE
mov w8, #1
strb w8, [x10, _B17@PAGEOFF]
strb w8, [x9]
b LBB3_105
LBB3_97:
b LBB3_105
LBB3_98:
adrp x8, _B24@PAGE
ldrb w8, [x8, _B24@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_100
b LBB3_99
LBB3_99:
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x10, [sp, #104] ; 8-byte Folded Reload
ldr x11, [sp, #168] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x12, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x12]
strb wzr, [x8]
adrp x12, _FH_TUERMODUL_CTRL__INREVERS1_copy@GOTPAGE
ldr x12, [x12, _FH_TUERMODUL_CTRL__INREVERS1_copy@GOTPAGEOFF]
mov w8, #1
strb w8, [x12]
adrp x12, _B23@PAGE
strb w8, [x12, _B23@PAGEOFF]
strb w8, [x11]
adrp x11, _B17@PAGE
strb wzr, [x11, _B17@PAGEOFF]
ldr x10, [x10]
adrp x11, _sc_FH_TUERMODUL_CTRL_1739_10@GOTPAGE
ldr x11, [x11, _sc_FH_TUERMODUL_CTRL_1739_10@GOTPAGEOFF]
str x10, [x11]
strb w8, [x9]
b LBB3_105
LBB3_100:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_103
b LBB3_101
LBB3_101:
ldr x8, [sp, #184] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_103
b LBB3_102
LBB3_102:
ldr x8, [sp, #168] ; 8-byte Folded Reload
ldr x10, [sp, #160] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x9]
mov w9, #1
strb w9, [x10]
strb wzr, [x8]
b LBB3_105
LBB3_103:
b LBB3_105
LBB3_104:
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #168] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x10]
adrp x10, _B17@PAGE
mov w8, #1
strb w8, [x10, _B17@PAGEOFF]
strb w8, [x9]
b LBB3_105
LBB3_105:
b LBB3_107
LBB3_106:
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #168] ; 8-byte Folded Reload
ldr x11, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x11]
strb w8, [x10]
adrp x10, _B17@PAGE
mov w8, #1
strb w8, [x10, _B17@PAGEOFF]
strb w8, [x9]
b LBB3_107
LBB3_107:
b LBB3_118
LBB3_108:
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_112
b LBB3_109
LBB3_109:
ldr x8, [sp, #144] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_112
b LBB3_110
LBB3_110:
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_112
b LBB3_111
LBB3_111:
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldr x10, [sp, #168] ; 8-byte Folded Reload
ldr x11, [sp, #160] ; 8-byte Folded Reload
ldr x12, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x12]
strb w8, [x11]
strb w8, [x10]
adrp x10, _B17@PAGE
mov w8, #1
strb w8, [x10, _B17@PAGEOFF]
strb w8, [x9]
b LBB3_118
LBB3_112:
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_116
b LBB3_113
LBB3_113:
ldr x8, [sp, #184] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_116
b LBB3_114
LBB3_114:
ldr x8, [sp, #152] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #405
cset w8, ge
tbnz w8, #0, LBB3_116
b LBB3_115
LBB3_115:
ldr x9, [sp, #192] ; 8-byte Folded Reload
ldr x10, [sp, #128] ; 8-byte Folded Reload
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x11]
strb w8, [x10]
mov w8, #2
strb w8, [x9]
b LBB3_118
LBB3_116:
b LBB3_118
LBB3_117:
ldr x9, [sp, #128] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #3
strb w8, [x9]
b LBB3_118
LBB3_118:
b LBB3_120
LBB3_119:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x9]
b LBB3_120
LBB3_120:
ldr x8, [sp, #208] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_138
b LBB3_121
LBB3_121:
adrp x8, _B5@PAGE
strb wzr, [x8, _B5@PAGEOFF]
adrp x8, _step@GOTPAGE
ldr x8, [x8, _step@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_127
b LBB3_122
LBB3_122:
adrp x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGE
ldr x8, [x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_127
b LBB3_123
LBB3_123:
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGE
ldr x9, [x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB3_127
b LBB3_124
LBB3_124:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_126
b LBB3_125
LBB3_125:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_127
b LBB3_126
LBB3_126:
ldr x9, [sp, #216] ; 8-byte Folded Reload
ldr x10, [sp, #208] ; 8-byte Folded Reload
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
ldr w8, [x11]
add w8, w8, #1
str w8, [x11]
mov w8, #1
strb w8, [x10]
adrp x10, _B5@PAGE
strb w8, [x10, _B5@PAGEOFF]
strb w8, [x9]
b LBB3_139
LBB3_127:
ldr x8, [sp, #216] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_136
b LBB3_128
LBB3_128:
adrp x8, _step@GOTPAGE
ldr x8, [x8, _step@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_135
b LBB3_129
LBB3_129:
adrp x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGE
ldr x8, [x8, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_135
b LBB3_130
LBB3_130:
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGE
ldr x9, [x9, _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #3
cset w8, ne
tbnz w8, #0, LBB3_135
b LBB3_131
LBB3_131:
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_135
b LBB3_132
LBB3_132:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_135
b LBB3_133
LBB3_133:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_135
b LBB3_134
LBB3_134:
ldr x9, [sp, #216] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
ldr w8, [x10]
subs w8, w8, #1
str w8, [x10]
mov w8, #1
strb w8, [x9]
b LBB3_137
LBB3_135:
b LBB3_137
LBB3_136:
ldr x9, [sp, #216] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x8]
adrp x10, _B5@PAGE
mov w8, #1
strb w8, [x10, _B5@PAGEOFF]
strb w8, [x9]
b LBB3_137
LBB3_137:
b LBB3_139
LBB3_138:
ldr x9, [sp, #216] ; 8-byte Folded Reload
ldr x10, [sp, #208] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x11, [sp, #56] ; 8-byte Folded Reload
strb wzr, [x11]
str wzr, [x8]
mov w8, #1
strb w8, [x10]
adrp x10, _B5@PAGE
strb w8, [x10, _B5@PAGEOFF]
strb w8, [x9]
b LBB3_139
LBB3_139:
adrp x8, _B4@PAGE
ldrb w8, [x8, _B4@PAGEOFF]
adrp x9, _B5@PAGE
strb w8, [x9, _B5@PAGEOFF]
adrp x8, _B6@PAGE
ldrb w8, [x8, _B6@PAGEOFF]
adrp x9, _B7@PAGE
strb w8, [x9, _B7@PAGEOFF]
b LBB3_140
LBB3_140:
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.globl _generic_EINKLEMMSCHUTZ_CTRL ; -- Begin function generic_EINKLEMMSCHUTZ_CTRL
.p2align 2
_generic_EINKLEMMSCHUTZ_CTRL: ; @generic_EINKLEMMSCHUTZ_CTRL
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPAGE
ldr x8, [x8, _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _stable@GOTPAGE
ldr x8, [x8, _stable@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _B16@PAGE
ldrb w8, [x8, _B16@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_15
b LBB4_1
LBB4_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB4_9
b LBB4_13
LBB4_3:
adrp x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_4
LBB4_4:
adrp x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_5
LBB4_5:
adrp x8, _FH_TUERMODUL__SFHZ@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHZ@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6:
adrp x8, _FH_TUERMODUL__SFHA@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__SFHA@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
adrp x10, _B24@PAGE
strb w8, [x10, _B24@PAGEOFF]
mov w8, #2
strb w8, [x9]
b LBB4_14
LBB4_8:
b LBB4_14
LBB4_9:
adrp x8, _B24@PAGE
strb wzr, [x8, _B24@PAGEOFF]
adrp x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_12
b LBB4_10
LBB4_10:
adrp x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB4_14
LBB4_12:
b LBB4_14
LBB4_13:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB4_14
LBB4_14:
b LBB4_15
LBB4_15:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function generic_BLOCK_ERKENNUNG_CTRL
lCPI5_0:
.quad 0x3f60624dd2f1a9fc ; double 0.002
.section __TEXT,__text,regular,pure_instructions
.globl _generic_BLOCK_ERKENNUNG_CTRL
.p2align 2
_generic_BLOCK_ERKENNUNG_CTRL: ; @generic_BLOCK_ERKENNUNG_CTRL
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
adrp x8, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _stable@GOTPAGE
ldr x8, [x8, _stable@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGE
ldr x8, [x8, _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _BLOCK_ERKENNUNG_CTRL__N@GOTPAGE
ldr x8, [x8, _BLOCK_ERKENNUNG_CTRL__N@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _FH_TUERMODUL__I_EIN@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__I_EIN@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPAGE
ldr x8, [x8, _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _B19@PAGE
ldrb w8, [x8, _B19@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_1
LBB5_1:
adrp x8, _B21@PAGE
ldrsb w8, [x8, _B21@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2:
adrp x8, _B20@PAGE
ldrb w8, [x8, _B20@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
adrp x8, _B0@PAGE
strb wzr, [x8, _B0@PAGEOFF]
b LBB5_4
LBB5_4:
adrp x8, _B19@PAGE
ldrb w8, [x8, _B19@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_39
b LBB5_5
LBB5_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB5_11
b LBB5_37
LBB5_7:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
adrp x9, _FH_TUERMODUL__I_EIN_old@GOTPAGE
ldr x9, [x9, _FH_TUERMODUL__I_EIN_old@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB5_10
b LBB5_8
LBB5_8:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x12, [sp, #16] ; 8-byte Folded Reload
ldr x11, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x11]
adrp x11, _FH_TUERMODUL__BLOCK_copy@GOTPAGE
ldr x11, [x11, _FH_TUERMODUL__BLOCK_copy@GOTPAGEOFF]
strb wzr, [x11]
mov w11, #2
strb w11, [x12]
str wzr, [x8]
mov w8, #2
str w8, [x10]
mov w8, #3
strb w8, [x9]
mov w8, #1
adrp x9, _B0@PAGE
strb w8, [x9, _B0@PAGEOFF]
b LBB5_38
LBB5_10:
b LBB5_38
LBB5_11:
adrp x8, _FH_TUERMODUL__MFHA@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHA@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12:
adrp x8, _FH_TUERMODUL__MFHA_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHA_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_15
b LBB5_13
LBB5_13:
adrp x8, _FH_TUERMODUL__MFHZ@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHZ@GOTPAGEOFF]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_16
b LBB5_14
LBB5_14:
adrp x8, _FH_TUERMODUL__MFHZ_old@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL__MFHZ_old@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_16
b LBB5_15
LBB5_15:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x9]
mov w9, #1
strb w9, [x10]
strb wzr, [x8]
b LBB5_38
LBB5_16:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsb w8, [x8]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB5_19
b LBB5_17
LBB5_17:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB5_20
b LBB5_18
LBB5_18:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB5_23
b LBB5_35
LBB5_19:
b LBB5_36
LBB5_20:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
subs w9, w9, #2
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB5_22
b LBB5_21
LBB5_21:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x8]
adrp x10, _FH_TUERMODUL__BLOCK_copy@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__BLOCK_copy@GOTPAGEOFF]
mov w8, #1
strb w8, [x10]
strb w8, [x9]
b LBB5_36
LBB5_22:
b LBB5_36
LBB5_23:
ldr x8, [sp, #40] ; 8-byte Folded Reload
adrp x9, _B0@PAGE
strb wzr, [x9, _B0@PAGEOFF]
ldr w8, [x8]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB5_26
b LBB5_24
LBB5_24:
adrp x8, _BLOCK_ERKENNUNG_CTRL__N_old@GOTPAGE
ldr x8, [x8, _BLOCK_ERKENNUNG_CTRL__N_old@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #11
cset w8, eq
tbnz w8, #0, LBB5_26
b LBB5_25
LBB5_25:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #2
strb w8, [x9]
b LBB5_36
LBB5_26:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB5_34
b LBB5_27
LBB5_27:
adrp x8, _step@GOTPAGE
ldr x8, [x8, _step@GOTPAGEOFF]
ldrsb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB5_33
b LBB5_28
LBB5_28:
adrp x8, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGE
ldr x8, [x8, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_33
b LBB5_29
LBB5_29:
adrp x8, _time@GOTPAGE
ldr x8, [x8, _time@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGE
ldr x9, [x9, _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
ucvtf d0, x8
adrp x8, lCPI5_0@PAGE
ldr d1, [x8, lCPI5_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB5_33
b LBB5_30
LBB5_30:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x11, [sp, #40] ; 8-byte Folded Reload
ldr w10, [x11]
add w10, w10, #1
str w10, [x11]
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB5_32
b LBB5_31
LBB5_31:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [x9]
b LBB5_32
LBB5_32:
b LBB5_33
LBB5_33:
b LBB5_34
LBB5_34:
b LBB5_36
LBB5_35:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x11, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x11]
str wzr, [x8]
mov w8, #2
str w8, [x10]
mov w8, #3
strb w8, [x9]
mov w8, #1
adrp x9, _B0@PAGE
strb w8, [x9, _B0@PAGEOFF]
b LBB5_36
LBB5_36:
b LBB5_38
LBB5_37:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #1
strb w8, [x9]
b LBB5_38
LBB5_38:
b LBB5_39
LBB5_39:
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _FH_DU ; -- Begin function FH_DU
.p2align 2
_FH_DU: ; @FH_DU
.cfi_startproc
; %bb.0:
sub sp, sp, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x26, x25, [sp, #320] ; 16-byte Folded Spill
stp x24, x23, [sp, #336] ; 16-byte Folded Spill
stp x22, x21, [sp, #352] ; 16-byte Folded Spill
stp x20, x19, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
adrp x9, _stable@GOTPAGE
ldr x9, [x9, _stable@GOTPAGEOFF]
str x9, [sp, #16] ; 8-byte Folded Spill
adrp x8, _step@GOTPAGE
ldr x8, [x8, _step@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x10, _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPAGE
ldr x10, [x10, _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPAGEOFF]
str x10, [sp, #32] ; 8-byte Folded Spill
adrp x10, _FH_DU__MFHA@GOTPAGE
ldr x10, [x10, _FH_DU__MFHA@GOTPAGEOFF]
str x10, [sp, #40] ; 8-byte Folded Spill
adrp x10, _FH_DU__MFHA_old@GOTPAGE
ldr x10, [x10, _FH_DU__MFHA_old@GOTPAGEOFF]
str x10, [sp, #48] ; 8-byte Folded Spill
adrp x10, _FH_DU__MFH@GOTPAGE
ldr x10, [x10, _FH_DU__MFH@GOTPAGEOFF]
str x10, [sp, #56] ; 8-byte Folded Spill
adrp x10, _FH_DU__MFHZ@GOTPAGE
ldr x10, [x10, _FH_DU__MFHZ@GOTPAGEOFF]
str x10, [sp, #64] ; 8-byte Folded Spill
adrp x10, _FH_DU__MFHZ_old@GOTPAGE
ldr x10, [x10, _FH_DU__MFHZ_old@GOTPAGEOFF]
str x10, [sp, #72] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_TMBFZUCAN@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_TMBFZUCAN@GOTPAGEOFF]
str x10, [sp, #80] ; 8-byte Folded Spill
adrp x10, _FH_DU__DOOR_ID@GOTPAGE
ldr x10, [x10, _FH_DU__DOOR_ID@GOTPAGEOFF]
str x10, [sp, #88] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_FTZU@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_FTZU@GOTPAGEOFF]
str x10, [sp, #96] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_TMBFZUDISC@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_TMBFZUDISC@GOTPAGEOFF]
str x10, [sp, #104] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_TMBFAUFCAN@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_TMBFAUFCAN@GOTPAGEOFF]
str x10, [sp, #112] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_FTAUF@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_FTAUF@GOTPAGEOFF]
str x10, [sp, #120] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_TMBFAUFDISC@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_TMBFAUFDISC@GOTPAGEOFF]
str x10, [sp, #128] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_AUFDISC@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_AUFDISC@GOTPAGEOFF]
str x10, [sp, #136] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__SFHA_MEC@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__SFHA_MEC@GOTPAGEOFF]
str x10, [sp, #144] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__SFHA_ZENTRAL@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__SFHA_ZENTRAL@GOTPAGEOFF]
str x10, [sp, #152] ; 8-byte Folded Spill
adrp x10, _FH_DU__S_FH_ZUDISC@GOTPAGE
ldr x10, [x10, _FH_DU__S_FH_ZUDISC@GOTPAGEOFF]
str x10, [sp, #160] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__SFHZ_MEC@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__SFHZ_MEC@GOTPAGEOFF]
str x10, [sp, #168] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPAGEOFF]
str x10, [sp, #176] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__MFHA@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__MFHA@GOTPAGEOFF]
str x10, [sp, #184] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__MFHZ@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__MFHZ@GOTPAGEOFF]
str x10, [sp, #192] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__I_EIN@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__I_EIN@GOTPAGEOFF]
stur x10, [x29, #-184] ; 8-byte Folded Spill
adrp x10, _FH_DU__I_EIN@GOTPAGE
ldr x10, [x10, _FH_DU__I_EIN@GOTPAGEOFF]
stur x10, [x29, #-176] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPAGEOFF]
stur x10, [x29, #-168] ; 8-byte Folded Spill
adrp x10, _FH_DU__EKS_LEISTE_AKTIV@GOTPAGE
ldr x10, [x10, _FH_DU__EKS_LEISTE_AKTIV@GOTPAGEOFF]
stur x10, [x29, #-160] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__POSITION@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__POSITION@GOTPAGEOFF]
stur x10, [x29, #-152] ; 8-byte Folded Spill
adrp x10, _FH_DU__POSITION@GOTPAGE
ldr x10, [x10, _FH_DU__POSITION@GOTPAGEOFF]
stur x10, [x29, #-144] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__FT@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__FT@GOTPAGEOFF]
stur x10, [x29, #-136] ; 8-byte Folded Spill
adrp x10, _FH_DU__FT@GOTPAGE
ldr x10, [x10, _FH_DU__FT@GOTPAGEOFF]
stur x10, [x29, #-128] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__KL_50@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__KL_50@GOTPAGEOFF]
stur x10, [x29, #-120] ; 8-byte Folded Spill
adrp x10, _FH_DU__KL_50@GOTPAGE
ldr x10, [x10, _FH_DU__KL_50@GOTPAGEOFF]
stur x10, [x29, #-112] ; 8-byte Folded Spill
adrp x10, _FH_TUERMODUL__BLOCK@GOTPAGE
ldr x10, [x10, _FH_TUERMODUL__BLOCK@GOTPAGEOFF]
stur x10, [x29, #-104] ; 8-byte Folded Spill
adrp x10, _FH_DU__BLOCK@GOTPAGE
ldr x10, [x10, _FH_DU__BLOCK@GOTPAGEOFF]
stur x10, [x29, #-96] ; 8-byte Folded Spill
adrp x11, _time@GOTPAGE
ldr x11, [x11, _time@GOTPAGEOFF]
mov x10, #1
str x10, [x11]
strb wzr, [x9]
strb wzr, [x8]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_46
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr x11, [sp, #16] ; 8-byte Folded Reload
mov w9, #1
strb w9, [x11]
ldrb w9, [x10]
add w9, w9, #1
strb w9, [x10]
ldrsb w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_5
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB6_9
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB6_16
b LBB6_20
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_8
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x10]
str wzr, [x8]
mov w8, #2
strb w8, [x9]
b LBB6_21
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
b LBB6_21
LBB6_9: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_12
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #-100
str w8, [x10]
mov w8, #1
strb w8, [x9]
b LBB6_21
LBB6_12: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_15
b LBB6_13
LBB6_13: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_15
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x8]
mov w8, #100
str w8, [x10]
mov w8, #3
strb w8, [x9]
b LBB6_21
LBB6_15: ; in Loop: Header=BB6_1 Depth=1
b LBB6_21
LBB6_16: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_19
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x10]
str wzr, [x8]
mov w8, #2
strb w8, [x9]
b LBB6_21
LBB6_19: ; in Loop: Header=BB6_1 Depth=1
b LBB6_21
LBB6_20: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
strb wzr, [x10]
str wzr, [x8]
mov w8, #2
strb w8, [x9]
b LBB6_21
LBB6_21: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _B10@PAGE
ldrb w8, [x8, _B10@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_23
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_1 Depth=1
adrp x9, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGE
ldr x9, [x9, _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPAGEOFF]
mov w8, #3
strb w8, [x9]
b LBB6_23
LBB6_23: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _B11@PAGE
strb wzr, [x8, _B11@PAGEOFF]
adrp x8, _B16@PAGE
ldrb w8, [x8, _B16@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24: ; in Loop: Header=BB6_1 Depth=1
adrp x9, _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPAGE
ldr x9, [x9, _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPAGEOFF]
mov w8, #1
strb w8, [x9]
b LBB6_25
LBB6_25: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _B17@PAGE
strb wzr, [x8, _B17@PAGEOFF]
adrp x8, _B19@PAGE
ldrb w8, [x8, _B19@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_27
b LBB6_26
LBB6_26: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _B0@PAGE
strb wzr, [x8, _B0@PAGEOFF]
adrp x9, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGE
ldr x9, [x9, _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPAGEOFF]
mov w8, #1
strb w8, [x9]
b LBB6_27
LBB6_27: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _B20@PAGE
strb wzr, [x8, _B20@PAGEOFF]
adrp x8, _B13@PAGE
ldrb w8, [x8, _B13@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_29
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _B4@PAGE
strb wzr, [x8, _B4@PAGEOFF]
adrp x8, _B6@PAGE
strb wzr, [x8, _B6@PAGEOFF]
adrp x9, _B_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x9, [x9, _B_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
mov w8, #2
strb w8, [x9]
adrp x8, _FH_TUERMODUL_CTRL__N@GOTPAGE
ldr x8, [x8, _FH_TUERMODUL_CTRL__N@GOTPAGEOFF]
str wzr, [x8]
adrp x9, _A_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x9, [x9, _A_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
mov w8, #1
strb w8, [x9]
adrp x9, _B5@PAGE
strb w8, [x9, _B5@PAGEOFF]
adrp x9, _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPAGE
ldr x9, [x9, _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPAGEOFF]
strb w8, [x9]
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #80] ; 8-byte Folded Reload
adrp x10, _B14@PAGE
strb wzr, [x10, _B14@PAGEOFF]
adrp x11, _B11@PAGE
mov w9, #1
strb w9, [x11, _B11@PAGEOFF]
adrp x11, _B17@PAGE
strb w9, [x11, _B17@PAGEOFF]
adrp x11, _B20@PAGE
strb w9, [x11, _B20@PAGEOFF]
strb w9, [x10, _B14@PAGEOFF]
ldrsb w8, [x8]
adrp x9, _FH_DU__S_FH_TMBFZUCAN_old@GOTPAGE
ldr x9, [x9, _FH_DU__S_FH_TMBFZUCAN_old@GOTPAGEOFF]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB6_33
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_32
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #96] ; 8-byte Folded Reload
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldrb w8, [x8]
strb w8, [x9]
b LBB6_32
LBB6_32: ; in Loop: Header=BB6_1 Depth=1
b LBB6_33
LBB6_33: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldrsb w8, [x8]
adrp x9, _FH_DU__S_FH_TMBFZUDISC_old@GOTPAGE
ldr x9, [x9, _FH_DU__S_FH_TMBFZUDISC_old@GOTPAGEOFF]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB6_37
b LBB6_34
LBB6_34: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_36
b LBB6_35
LBB6_35: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldrb w8, [x8]
strb w8, [x9]
b LBB6_36
LBB6_36: ; in Loop: Header=BB6_1 Depth=1
b LBB6_37
LBB6_37: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldrsb w8, [x8]
adrp x9, _FH_DU__S_FH_TMBFAUFCAN_old@GOTPAGE
ldr x9, [x9, _FH_DU__S_FH_TMBFAUFCAN_old@GOTPAGEOFF]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB6_41
b LBB6_38
LBB6_38: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_40
b LBB6_39
LBB6_39: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldrb w8, [x8]
strb w8, [x9]
b LBB6_40
LBB6_40: ; in Loop: Header=BB6_1 Depth=1
b LBB6_41
LBB6_41: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #128] ; 8-byte Folded Reload
ldrsb w8, [x8]
adrp x9, _FH_DU__S_FH_TMBFAUFDISC_old@GOTPAGE
ldr x9, [x9, _FH_DU__S_FH_TMBFAUFDISC_old@GOTPAGEOFF]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB6_45
b LBB6_42
LBB6_42: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_44
b LBB6_43
LBB6_43: ; in Loop: Header=BB6_1 Depth=1
ldr x9, [sp, #112] ; 8-byte Folded Reload
ldr x8, [sp, #128] ; 8-byte Folded Reload
ldrb w8, [x8]
strb w8, [x9]
b LBB6_44
LBB6_44: ; in Loop: Header=BB6_1 Depth=1
b LBB6_45
LBB6_45: ; in Loop: Header=BB6_1 Depth=1
ldr x15, [sp, #144] ; 8-byte Folded Reload
ldr x13, [sp, #152] ; 8-byte Folded Reload
ldr x11, [sp, #168] ; 8-byte Folded Reload
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldur x19, [x29, #-176] ; 8-byte Folded Reload
ldr x21, [sp, #56] ; 8-byte Folded Reload
ldur x20, [x29, #-184] ; 8-byte Folded Reload
ldur x27, [x29, #-112] ; 8-byte Folded Reload
ldur x26, [x29, #-120] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x10, [sp, #160] ; 8-byte Folded Reload
ldr x12, [sp, #120] ; 8-byte Folded Reload
ldr x14, [sp, #136] ; 8-byte Folded Reload
ldur x28, [x29, #-136] ; 8-byte Folded Reload
adrp x16, _B12@PAGE
ldrb w16, [x16, _B12@PAGEOFF]
adrp x25, _B10@PAGE
strb w16, [x25, _B10@PAGEOFF]
adrp x16, _B15@PAGE
ldrb w16, [x16, _B15@PAGEOFF]
adrp x24, _B13@PAGE
strb w16, [x24, _B13@PAGEOFF]
adrp x16, _B18@PAGE
ldrb w16, [x16, _B18@PAGEOFF]
adrp x23, _B16@PAGE
strb w16, [x23, _B16@PAGEOFF]
adrp x16, _B21@PAGE
ldrb w16, [x16, _B21@PAGEOFF]
adrp x22, _B19@PAGE
strb w16, [x22, _B19@PAGEOFF]
ldrb w14, [x14]
strb w14, [x15]
ldrb w12, [x12]
strb w12, [x13]
ldrb w10, [x10]
strb w10, [x11]
ldrb w8, [x8]
strb w8, [x9]
bl _generic_KINDERSICHERUNG_CTRL
ldur x0, [x29, #-152] ; 8-byte Folded Reload
ldur x2, [x29, #-144] ; 8-byte Folded Reload
ldur x1, [x29, #-128] ; 8-byte Folded Reload
ldr x14, [sp, #136] ; 8-byte Folded Reload
ldr x12, [sp, #120] ; 8-byte Folded Reload
ldr x10, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr x11, [sp, #168] ; 8-byte Folded Reload
ldr x13, [sp, #152] ; 8-byte Folded Reload
ldr x15, [sp, #144] ; 8-byte Folded Reload
ldur x16, [x29, #-104] ; 8-byte Folded Reload
ldr x5, [sp, #192] ; 8-byte Folded Reload
ldr x7, [sp, #184] ; 8-byte Folded Reload
ldur x3, [x29, #-168] ; 8-byte Folded Reload
ldur x4, [x29, #-160] ; 8-byte Folded Reload
ldur x17, [x29, #-96] ; 8-byte Folded Reload
ldr x6, [sp, #64] ; 8-byte Folded Reload
ldr x30, [sp, #40] ; 8-byte Folded Reload
ldrb w7, [x7]
strb w7, [x30]
ldrb w5, [x5]
strb w5, [x6]
ldr w5, [x20]
str w5, [x19]
ldrb w3, [x3]
strb w3, [x4]
ldr w0, [x0]
str w0, [x2]
ldrb w0, [x28]
strb w0, [x1]
ldrb w0, [x15]
strb w0, [x14]
ldrb w0, [x13]
strb w0, [x12]
ldrb w0, [x11]
strb w0, [x10]
ldrb w0, [x9]
strb w0, [x8]
ldrb w0, [x26]
strb w0, [x27]
ldrb w16, [x16]
strb w16, [x17]
ldrb w14, [x14]
strb w14, [x15]
ldrb w12, [x12]
strb w12, [x13]
ldrb w10, [x10]
strb w10, [x11]
ldrb w8, [x8]
strb w8, [x9]
bl _generic_FH_TUERMODUL_CTRL
ldur x0, [x29, #-152] ; 8-byte Folded Reload
ldur x2, [x29, #-144] ; 8-byte Folded Reload
ldur x1, [x29, #-128] ; 8-byte Folded Reload
ldr x14, [sp, #136] ; 8-byte Folded Reload
ldr x12, [sp, #120] ; 8-byte Folded Reload
ldr x10, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr x11, [sp, #168] ; 8-byte Folded Reload
ldr x13, [sp, #152] ; 8-byte Folded Reload
ldr x15, [sp, #144] ; 8-byte Folded Reload
ldur x16, [x29, #-104] ; 8-byte Folded Reload
ldr x5, [sp, #192] ; 8-byte Folded Reload
ldr x7, [sp, #184] ; 8-byte Folded Reload
ldur x3, [x29, #-168] ; 8-byte Folded Reload
ldur x4, [x29, #-160] ; 8-byte Folded Reload
ldur x17, [x29, #-96] ; 8-byte Folded Reload
ldr x6, [sp, #64] ; 8-byte Folded Reload
ldr x30, [sp, #40] ; 8-byte Folded Reload
ldrb w7, [x7]
strb w7, [x30]
ldrb w5, [x5]
strb w5, [x6]
ldr w5, [x20]
str w5, [x19]
ldrb w3, [x3]
strb w3, [x4]
ldr w0, [x0]
str w0, [x2]
ldrb w0, [x28]
strb w0, [x1]
ldrb w0, [x15]
strb w0, [x14]
ldrb w0, [x13]
strb w0, [x12]
ldrb w0, [x11]
strb w0, [x10]
ldrb w0, [x9]
strb w0, [x8]
ldrb w0, [x26]
strb w0, [x27]
ldrb w16, [x16]
strb w16, [x17]
ldrb w14, [x14]
strb w14, [x15]
ldrb w12, [x12]
strb w12, [x13]
ldrb w10, [x10]
strb w10, [x11]
ldrb w8, [x8]
strb w8, [x9]
bl _generic_EINKLEMMSCHUTZ_CTRL
ldur x0, [x29, #-152] ; 8-byte Folded Reload
ldur x2, [x29, #-144] ; 8-byte Folded Reload
ldur x1, [x29, #-128] ; 8-byte Folded Reload
ldr x14, [sp, #136] ; 8-byte Folded Reload
ldr x12, [sp, #120] ; 8-byte Folded Reload
ldr x10, [sp, #160] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #176] ; 8-byte Folded Reload
ldr x11, [sp, #168] ; 8-byte Folded Reload
ldr x13, [sp, #152] ; 8-byte Folded Reload
ldr x15, [sp, #144] ; 8-byte Folded Reload
ldur x16, [x29, #-104] ; 8-byte Folded Reload
ldr x5, [sp, #192] ; 8-byte Folded Reload
ldr x7, [sp, #184] ; 8-byte Folded Reload
ldur x3, [x29, #-168] ; 8-byte Folded Reload
ldur x4, [x29, #-160] ; 8-byte Folded Reload
ldur x17, [x29, #-96] ; 8-byte Folded Reload
ldr x6, [sp, #64] ; 8-byte Folded Reload
ldr x30, [sp, #40] ; 8-byte Folded Reload
ldrb w7, [x7]
strb w7, [x30]
ldrb w5, [x5]
strb w5, [x6]
ldr w5, [x20]
str w5, [x19]
ldrb w3, [x3]
strb w3, [x4]
ldr w0, [x0]
str w0, [x2]
ldrb w0, [x28]
strb w0, [x1]
ldrb w0, [x15]
strb w0, [x14]
ldrb w0, [x13]
strb w0, [x12]
ldrb w0, [x11]
strb w0, [x10]
ldrb w0, [x9]
strb w0, [x8]
ldrb w0, [x26]
strb w0, [x27]
ldrb w16, [x16]
strb w16, [x17]
ldrb w14, [x14]
strb w14, [x15]
ldrb w12, [x12]
strb w12, [x13]
ldrb w10, [x10]
strb w10, [x11]
ldrb w8, [x8]
strb w8, [x9]
bl _generic_BLOCK_ERKENNUNG_CTRL
ldr x7, [sp, #176] ; 8-byte Folded Reload
ldr x6, [sp, #168] ; 8-byte Folded Reload
ldr x5, [sp, #152] ; 8-byte Folded Reload
ldr x4, [sp, #144] ; 8-byte Folded Reload
ldur x3, [x29, #-104] ; 8-byte Folded Reload
ldr x2, [sp, #192] ; 8-byte Folded Reload
ldr x1, [sp, #184] ; 8-byte Folded Reload
ldur x0, [x29, #-168] ; 8-byte Folded Reload
ldur x17, [x29, #-160] ; 8-byte Folded Reload
ldr x16, [sp, #112] ; 8-byte Folded Reload
ldr x15, [sp, #80] ; 8-byte Folded Reload
ldr x14, [sp, #104] ; 8-byte Folded Reload
ldr x13, [sp, #128] ; 8-byte Folded Reload
ldur x12, [x29, #-96] ; 8-byte Folded Reload
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x30, [sp, #96] ; 8-byte Folded Reload
ldrb w8, [x1]
strb w8, [x9]
ldur x9, [x29, #-144] ; 8-byte Folded Reload
ldrb w8, [x2]
strb w8, [x10]
ldr w8, [x20]
str w8, [x19]
ldrb w8, [x0]
strb w8, [x17]
ldur x8, [x29, #-152] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [x9]
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-128] ; 8-byte Folded Reload
ldrb w28, [x28]
strb w28, [x8]
ldr x8, [sp, #136] ; 8-byte Folded Reload
ldrb w28, [x4]
strb w28, [x8]
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldrb w28, [x5]
strb w28, [x8]
ldr x8, [sp, #160] ; 8-byte Folded Reload
ldrb w28, [x6]
strb w28, [x8]
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldrb w28, [x7]
strb w28, [x30]
ldrb w26, [x26]
strb w26, [x27]
ldrb w26, [x3]
strb w26, [x12]
ldrb w25, [x25, _B10@PAGEOFF]
adrp x26, _B11@PAGE
strb w25, [x26, _B11@PAGEOFF]
ldrb w24, [x24, _B13@PAGEOFF]
adrp x25, _B14@PAGE
strb w24, [x25, _B14@PAGEOFF]
ldrb w23, [x23, _B16@PAGEOFF]
adrp x24, _B17@PAGE
strb w23, [x24, _B17@PAGEOFF]
ldrb w22, [x22, _B19@PAGEOFF]
adrp x23, _B20@PAGE
strb w22, [x23, _B20@PAGEOFF]
adrp x22, _FH_TUERMODUL_CTRL__N@GOTPAGE
ldr x22, [x22, _FH_TUERMODUL_CTRL__N@GOTPAGEOFF]
ldr w22, [x22]
adrp x23, _FH_TUERMODUL_CTRL__N_old@GOTPAGE
ldr x23, [x23, _FH_TUERMODUL_CTRL__N_old@GOTPAGEOFF]
str w22, [x23]
ldr w20, [x20]
adrp x22, _FH_TUERMODUL__I_EIN_old@GOTPAGE
ldr x22, [x22, _FH_TUERMODUL__I_EIN_old@GOTPAGEOFF]
str w20, [x22]
adrp x20, _FH_DU__MFH_copy@GOTPAGE
ldr x20, [x20, _FH_DU__MFH_copy@GOTPAGEOFF]
ldr w20, [x20]
str w20, [x21]
ldr w19, [x19]
adrp x20, _FH_DU__I_EIN_old@GOTPAGE
ldr x20, [x20, _FH_DU__I_EIN_old@GOTPAGEOFF]
str w19, [x20]
adrp x19, _BLOCK_ERKENNUNG_CTRL__N@GOTPAGE
ldr x19, [x19, _BLOCK_ERKENNUNG_CTRL__N@GOTPAGEOFF]
ldr w19, [x19]
adrp x20, _BLOCK_ERKENNUNG_CTRL__N_old@GOTPAGE
ldr x20, [x20, _BLOCK_ERKENNUNG_CTRL__N_old@GOTPAGEOFF]
str w19, [x20]
ldrb w7, [x7]
adrp x19, _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPAGE
ldr x19, [x19, _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPAGEOFF]
strb w7, [x19]
ldrb w6, [x6]
adrp x7, _FH_TUERMODUL__SFHZ_MEC_old@GOTPAGE
ldr x7, [x7, _FH_TUERMODUL__SFHZ_MEC_old@GOTPAGEOFF]
strb w6, [x7]
ldrb w5, [x5]
adrp x6, _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPAGE
ldr x6, [x6, _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPAGEOFF]
strb w5, [x6]
ldrb w4, [x4]
adrp x5, _FH_TUERMODUL__SFHA_MEC_old@GOTPAGE
ldr x5, [x5, _FH_TUERMODUL__SFHA_MEC_old@GOTPAGEOFF]
strb w4, [x5]
adrp x4, _FH_TUERMODUL__BLOCK_copy@GOTPAGE
ldr x4, [x4, _FH_TUERMODUL__BLOCK_copy@GOTPAGEOFF]
ldrb w4, [x4]
strb w4, [x3]
ldrb w3, [x3]
adrp x4, _FH_TUERMODUL__BLOCK_old@GOTPAGE
ldr x4, [x4, _FH_TUERMODUL__BLOCK_old@GOTPAGEOFF]
strb w3, [x4]
adrp x3, _FH_TUERMODUL__SFHZ_copy@GOTPAGE
ldr x3, [x3, _FH_TUERMODUL__SFHZ_copy@GOTPAGEOFF]
ldrb w4, [x3]
adrp x3, _FH_TUERMODUL__SFHZ@GOTPAGE
ldr x3, [x3, _FH_TUERMODUL__SFHZ@GOTPAGEOFF]
strb w4, [x3]
ldrb w3, [x3]
adrp x4, _FH_TUERMODUL__SFHZ_old@GOTPAGE
ldr x4, [x4, _FH_TUERMODUL__SFHZ_old@GOTPAGEOFF]
strb w3, [x4]
adrp x3, _FH_TUERMODUL__SFHA_copy@GOTPAGE
ldr x3, [x3, _FH_TUERMODUL__SFHA_copy@GOTPAGEOFF]
ldrb w4, [x3]
adrp x3, _FH_TUERMODUL__SFHA@GOTPAGE
ldr x3, [x3, _FH_TUERMODUL__SFHA@GOTPAGEOFF]
strb w4, [x3]
ldrb w3, [x3]
adrp x4, _FH_TUERMODUL__SFHA_old@GOTPAGE
ldr x4, [x4, _FH_TUERMODUL__SFHA_old@GOTPAGEOFF]
strb w3, [x4]
adrp x3, _FH_TUERMODUL__MFHZ_copy@GOTPAGE
ldr x3, [x3, _FH_TUERMODUL__MFHZ_copy@GOTPAGEOFF]
ldrb w3, [x3]
strb w3, [x2]
ldrb w2, [x2]
adrp x3, _FH_TUERMODUL__MFHZ_old@GOTPAGE
ldr x3, [x3, _FH_TUERMODUL__MFHZ_old@GOTPAGEOFF]
strb w2, [x3]
adrp x2, _FH_TUERMODUL__MFHA_copy@GOTPAGE
ldr x2, [x2, _FH_TUERMODUL__MFHA_copy@GOTPAGEOFF]
ldrb w2, [x2]
strb w2, [x1]
ldrb w1, [x1]
adrp x2, _FH_TUERMODUL__MFHA_old@GOTPAGE
ldr x2, [x2, _FH_TUERMODUL__MFHA_old@GOTPAGEOFF]
strb w1, [x2]
ldrb w0, [x0]
adrp x1, _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPAGE
ldr x1, [x1, _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPAGEOFF]
strb w0, [x1]
ldrb w17, [x17]
adrp x0, _FH_DU__EKS_LEISTE_AKTIV_old@GOTPAGE
ldr x0, [x0, _FH_DU__EKS_LEISTE_AKTIV_old@GOTPAGEOFF]
strb w17, [x0]
ldrb w16, [x16]
adrp x17, _FH_DU__S_FH_TMBFAUFCAN_old@GOTPAGE
ldr x17, [x17, _FH_DU__S_FH_TMBFAUFCAN_old@GOTPAGEOFF]
strb w16, [x17]
ldrb w15, [x15]
adrp x16, _FH_DU__S_FH_TMBFZUCAN_old@GOTPAGE
ldr x16, [x16, _FH_DU__S_FH_TMBFZUCAN_old@GOTPAGEOFF]
strb w15, [x16]
ldrb w14, [x14]
adrp x15, _FH_DU__S_FH_TMBFZUDISC_old@GOTPAGE
ldr x15, [x15, _FH_DU__S_FH_TMBFZUDISC_old@GOTPAGEOFF]
strb w14, [x15]
ldrb w13, [x13]
adrp x14, _FH_DU__S_FH_TMBFAUFDISC_old@GOTPAGE
ldr x14, [x14, _FH_DU__S_FH_TMBFAUFDISC_old@GOTPAGEOFF]
strb w13, [x14]
adrp x13, _FH_DU__BLOCK_copy@GOTPAGE
ldr x13, [x13, _FH_DU__BLOCK_copy@GOTPAGEOFF]
ldrb w13, [x13]
strb w13, [x12]
ldrb w12, [x12]
adrp x13, _FH_DU__BLOCK_old@GOTPAGE
ldr x13, [x13, _FH_DU__BLOCK_old@GOTPAGEOFF]
strb w12, [x13]
adrp x12, _FH_DU__MFHZ_copy@GOTPAGE
ldr x12, [x12, _FH_DU__MFHZ_copy@GOTPAGEOFF]
ldrb w12, [x12]
strb w12, [x10]
ldrb w10, [x10]
strb w10, [x11]
adrp x10, _FH_DU__MFHA_copy@GOTPAGE
ldr x10, [x10, _FH_DU__MFHA_copy@GOTPAGEOFF]
ldrb w10, [x10]
strb w10, [x8]
ldrb w8, [x8]
strb w8, [x9]
b LBB6_1
LBB6_46:
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x20, x19, [sp, #368] ; 16-byte Folded Reload
ldp x22, x21, [sp, #352] ; 16-byte Folded Reload
ldp x24, x23, [sp, #336] ; 16-byte Folded Reload
ldp x26, x25, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #400
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _init
bl _interface
bl _FH_DU
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
.zerofill __DATA,__bss,_B4,1,0 ; @B4
.comm _time,8,3 ; @time
.comm _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL,8,3 ; @tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL
.zerofill __DATA,__bss,_B6,1,0 ; @B6
.comm _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL,8,3 ; @tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL
.comm _sc_FH_TUERMODUL_CTRL_2375_2,8,3 ; @sc_FH_TUERMODUL_CTRL_2375_2
.comm _FH_TUERMODUL__MFHA_copy,1,0 ; @FH_TUERMODUL__MFHA_copy
.comm _sc_FH_TUERMODUL_CTRL_2352_1,8,3 ; @sc_FH_TUERMODUL_CTRL_2352_1
.comm _FH_TUERMODUL__MFHZ_copy,1,0 ; @FH_TUERMODUL__MFHZ_copy
.comm _sc_FH_TUERMODUL_CTRL_2329_1,8,3 ; @sc_FH_TUERMODUL_CTRL_2329_1
.comm _sc_FH_TUERMODUL_CTRL_1781_10,8,3 ; @sc_FH_TUERMODUL_CTRL_1781_10
.comm _sc_FH_TUERMODUL_CTRL_1739_10,8,3 ; @sc_FH_TUERMODUL_CTRL_1739_10
.zerofill __DATA,__bss,_B0,1,0 ; @B0
.comm _BLOCK_ERKENNUNG_CTRL__N,4,2 ; @BLOCK_ERKENNUNG_CTRL__N
.comm _BLOCK_ERKENNUNG_CTRL__N_old,4,2 ; @BLOCK_ERKENNUNG_CTRL__N_old
.comm _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy,8,3 ; @tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy
.comm _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state,1,0 ; @NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state
.comm _ZENTRAL_KINDERSICHERUNG_CTRL_next_state,1,0 ; @ZENTRAL_KINDERSICHERUNG_CTRL_next_state
.comm _MEC_KINDERSICHERUNG_CTRL_next_state,1,0 ; @MEC_KINDERSICHERUNG_CTRL_next_state
.comm _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state,1,0 ; @KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state
.comm _B_FH_TUERMODUL_CTRL_next_state,1,0 ; @B_FH_TUERMODUL_CTRL_next_state
.comm _A_FH_TUERMODUL_CTRL_next_state,1,0 ; @A_FH_TUERMODUL_CTRL_next_state
.comm _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state,1,0 ; @WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state
.comm _INITIALISIERT_FH_TUERMODUL_CTRL_next_state,1,0 ; @INITIALISIERT_FH_TUERMODUL_CTRL_next_state
.comm _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state,1,0 ; @TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state
.comm _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state,1,0 ; @MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state
.comm _OEFFNEN_FH_TUERMODUL_CTRL_next_state,1,0 ; @OEFFNEN_FH_TUERMODUL_CTRL_next_state
.comm _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state,1,0 ; @SCHLIESSEN_FH_TUERMODUL_CTRL_next_state
.comm _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state,1,0 ; @FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state
.comm _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state,1,0 ; @EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state
.comm _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state,1,0 ; @BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state
.comm _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state,1,0 ; @BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state
.zerofill __DATA,__bss,_B10,1,0 ; @B10
.comm _FH_TUERMODUL__SFHA_ZENTRAL,1,0 ; @FH_TUERMODUL__SFHA_ZENTRAL
.comm _FH_TUERMODUL__SFHZ_ZENTRAL,1,0 ; @FH_TUERMODUL__SFHZ_ZENTRAL
.comm _stable,1,0 ; @stable
.comm _FH_TUERMODUL__SFHZ_copy,1,0 ; @FH_TUERMODUL__SFHZ_copy
.comm _FH_TUERMODUL__SFHA_copy,1,0 ; @FH_TUERMODUL__SFHA_copy
.comm _FH_TUERMODUL__SFHA_ZENTRAL_old,1,0 ; @FH_TUERMODUL__SFHA_ZENTRAL_old
.comm _FH_TUERMODUL__SFHZ_ZENTRAL_old,1,0 ; @FH_TUERMODUL__SFHZ_ZENTRAL_old
.comm _FH_TUERMODUL__SFHA_MEC,1,0 ; @FH_TUERMODUL__SFHA_MEC
.comm _FH_TUERMODUL__SFHZ_MEC,1,0 ; @FH_TUERMODUL__SFHZ_MEC
.comm _FH_TUERMODUL__SFHA_MEC_old,1,0 ; @FH_TUERMODUL__SFHA_MEC_old
.comm _FH_TUERMODUL__SFHZ_MEC_old,1,0 ; @FH_TUERMODUL__SFHZ_MEC_old
.comm _FH_TUERMODUL__KL_50,1,0 ; @FH_TUERMODUL__KL_50
.zerofill __DATA,__bss,_B13,1,0 ; @B13
.zerofill __DATA,__bss,_B15,1,0 ; @B15
.zerofill __DATA,__bss,_B14,1,0 ; @B14
.zerofill __DATA,__bss,_B11,1,0 ; @B11
.zerofill __DATA,__bss,_B19,1,0 ; @B19
.zerofill __DATA,__bss,_B20,1,0 ; @B20
.comm _FH_TUERMODUL_CTRL__N,4,2 ; @FH_TUERMODUL_CTRL__N
.comm _FH_TUERMODUL_CTRL__N_old,4,2 ; @FH_TUERMODUL_CTRL__N_old
.comm _FH_TUERMODUL__BLOCK,1,0 ; @FH_TUERMODUL__BLOCK
.comm _FH_TUERMODUL__BLOCK_old,1,0 ; @FH_TUERMODUL__BLOCK_old
.comm _FH_TUERMODUL__MFHZ,1,0 ; @FH_TUERMODUL__MFHZ
.comm _FH_TUERMODUL__SFHZ,1,0 ; @FH_TUERMODUL__SFHZ
.comm _FH_TUERMODUL__SFHA,1,0 ; @FH_TUERMODUL__SFHA
.comm _FH_TUERMODUL_CTRL__INREVERS1,1,0 ; @FH_TUERMODUL_CTRL__INREVERS1
.comm _FH_TUERMODUL_CTRL__INREVERS2,1,0 ; @FH_TUERMODUL_CTRL__INREVERS2
.comm _FH_TUERMODUL__MFHA,1,0 ; @FH_TUERMODUL__MFHA
.comm _FH_TUERMODUL__POSITION,4,2 ; @FH_TUERMODUL__POSITION
.comm _FH_TUERMODUL__SFHZ_old,1,0 ; @FH_TUERMODUL__SFHZ_old
.comm _FH_TUERMODUL__SFHA_old,1,0 ; @FH_TUERMODUL__SFHA_old
.zerofill __DATA,__bss,_B23,1,0 ; @B23
.zerofill __DATA,__bss,_B22,1,0 ; @B22
.comm _FH_TUERMODUL_CTRL__INREVERS2_copy,1,0 ; @FH_TUERMODUL_CTRL__INREVERS2_copy
.zerofill __DATA,__bss,_B17,1,0 ; @B17
.zerofill __DATA,__bss,_B24,1,0 ; @B24
.comm _FH_TUERMODUL_CTRL__INREVERS1_copy,1,0 ; @FH_TUERMODUL_CTRL__INREVERS1_copy
.zerofill __DATA,__bss,_B5,1,0 ; @B5
.comm _step,1,0 ; @step
.zerofill __DATA,__bss,_B7,1,0 ; @B7
.zerofill __DATA,__bss,_B16,1,0 ; @B16
.comm _FH_TUERMODUL__EKS_LEISTE_AKTIV,1,0 ; @FH_TUERMODUL__EKS_LEISTE_AKTIV
.comm _FH_TUERMODUL__EKS_LEISTE_AKTIV_old,1,0 ; @FH_TUERMODUL__EKS_LEISTE_AKTIV_old
.zerofill __DATA,__bss,_B21,1,0 ; @B21
.comm _FH_TUERMODUL__I_EIN,4,2 ; @FH_TUERMODUL__I_EIN
.comm _FH_TUERMODUL__I_EIN_old,4,2 ; @FH_TUERMODUL__I_EIN_old
.comm _FH_TUERMODUL__BLOCK_copy,1,0 ; @FH_TUERMODUL__BLOCK_copy
.comm _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX,4,2 ; @BLOCK_ERKENNUNG_CTRL__I_EIN_MAX
.comm _FH_TUERMODUL__MFHA_old,1,0 ; @FH_TUERMODUL__MFHA_old
.comm _FH_TUERMODUL__MFHZ_old,1,0 ; @FH_TUERMODUL__MFHZ_old
.comm _FH_DU__MFHZ,1,0 ; @FH_DU__MFHZ
.comm _FH_DU__MFHZ_old,1,0 ; @FH_DU__MFHZ_old
.comm _FH_DU__MFH,4,2 ; @FH_DU__MFH
.comm _FH_DU__MFHA,1,0 ; @FH_DU__MFHA
.comm _FH_DU__MFHA_old,1,0 ; @FH_DU__MFHA_old
.comm _FH_DU__S_FH_TMBFZUCAN,1,0 ; @FH_DU__S_FH_TMBFZUCAN
.comm _FH_DU__S_FH_TMBFZUCAN_old,1,0 ; @FH_DU__S_FH_TMBFZUCAN_old
.comm _FH_DU__DOOR_ID,1,0 ; @FH_DU__DOOR_ID
.comm _FH_DU__S_FH_FTZU,1,0 ; @FH_DU__S_FH_FTZU
.comm _FH_DU__S_FH_TMBFZUDISC,1,0 ; @FH_DU__S_FH_TMBFZUDISC
.comm _FH_DU__S_FH_TMBFZUDISC_old,1,0 ; @FH_DU__S_FH_TMBFZUDISC_old
.comm _FH_DU__S_FH_TMBFAUFCAN,1,0 ; @FH_DU__S_FH_TMBFAUFCAN
.comm _FH_DU__S_FH_TMBFAUFCAN_old,1,0 ; @FH_DU__S_FH_TMBFAUFCAN_old
.comm _FH_DU__S_FH_FTAUF,1,0 ; @FH_DU__S_FH_FTAUF
.comm _FH_DU__S_FH_TMBFAUFDISC,1,0 ; @FH_DU__S_FH_TMBFAUFDISC
.comm _FH_DU__S_FH_TMBFAUFDISC_old,1,0 ; @FH_DU__S_FH_TMBFAUFDISC_old
.zerofill __DATA,__bss,_B12,1,0 ; @B12
.zerofill __DATA,__bss,_B18,1,0 ; @B18
.comm _FH_DU__S_FH_AUFDISC,1,0 ; @FH_DU__S_FH_AUFDISC
.comm _FH_DU__S_FH_ZUDISC,1,0 ; @FH_DU__S_FH_ZUDISC
.comm _FH_DU__I_EIN,4,2 ; @FH_DU__I_EIN
.comm _FH_DU__EKS_LEISTE_AKTIV,1,0 ; @FH_DU__EKS_LEISTE_AKTIV
.comm _FH_DU__POSITION,4,2 ; @FH_DU__POSITION
.comm _FH_TUERMODUL__FT,1,0 ; @FH_TUERMODUL__FT
.comm _FH_DU__FT,1,0 ; @FH_DU__FT
.comm _FH_DU__KL_50,1,0 ; @FH_DU__KL_50
.comm _FH_DU__BLOCK,1,0 ; @FH_DU__BLOCK
.comm _FH_DU__MFH_copy,4,2 ; @FH_DU__MFH_copy
.comm _FH_DU__I_EIN_old,4,2 ; @FH_DU__I_EIN_old
.comm _FH_DU__EKS_LEISTE_AKTIV_old,1,0 ; @FH_DU__EKS_LEISTE_AKTIV_old
.comm _FH_DU__BLOCK_copy,1,0 ; @FH_DU__BLOCK_copy
.comm _FH_DU__BLOCK_old,1,0 ; @FH_DU__BLOCK_old
.comm _FH_DU__MFHZ_copy,1,0 ; @FH_DU__MFHZ_copy
.comm _FH_DU__MFHA_copy,1,0 ; @FH_DU__MFHA_copy
.comm _FH_TUERMODUL_CTRL__N_copy,4,2 ; @FH_TUERMODUL_CTRL__N_copy
.comm _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX_copy,4,2 ; @BLOCK_ERKENNUNG_CTRL__I_EIN_MAX_copy
.comm _BLOCK_ERKENNUNG_CTRL__N_copy,4,2 ; @BLOCK_ERKENNUNG_CTRL__N_copy
.comm _FH_TUERMODUL_CTRL__FT,1,0 ; @FH_TUERMODUL_CTRL__FT
.comm _FH_TUERMODUL__COM_OPEN,1,0 ; @FH_TUERMODUL__COM_OPEN
.comm _FH_TUERMODUL__COM_CLOSE,1,0 ; @FH_TUERMODUL__COM_CLOSE
.comm _FH_DU__S_FH_TMBFAUFCAN_copy,1,0 ; @FH_DU__S_FH_TMBFAUFCAN_copy
.comm _FH_DU__S_FH_TMBFZUCAN_copy,1,0 ; @FH_DU__S_FH_TMBFZUCAN_copy
.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 interface
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.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 _interface
.p2align 4, 0x90
_interface: ## @interface
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _B4(%rip)
je LBB0_2
## %bb.1:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB0_2:
movsbl _B4(%rip), %eax
cmpl $0, %eax
jne LBB0_4
## %bb.3:
movsbl _B6(%rip), %eax
cmpl $0, %eax
je LBB0_5
LBB0_4:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB0_5:
movq _sc_FH_TUERMODUL_CTRL_2375_2@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_8
## %bb.6:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _sc_FH_TUERMODUL_CTRL_2375_2@GOTPCREL(%rip), %rcx
movq (%rcx), %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
ucomisd %xmm1, %xmm0
jb LBB0_8
## %bb.7:
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _sc_FH_TUERMODUL_CTRL_2375_2@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB0_8:
movq _sc_FH_TUERMODUL_CTRL_2352_1@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_11
## %bb.9:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _sc_FH_TUERMODUL_CTRL_2352_1@GOTPCREL(%rip), %rcx
movq (%rcx), %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
ucomisd %xmm1, %xmm0
jb LBB0_11
## %bb.10:
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _sc_FH_TUERMODUL_CTRL_2352_1@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB0_11:
movq _sc_FH_TUERMODUL_CTRL_2329_1@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_14
## %bb.12:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _sc_FH_TUERMODUL_CTRL_2329_1@GOTPCREL(%rip), %rcx
movq (%rcx), %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
ucomisd %xmm1, %xmm0
jb LBB0_14
## %bb.13:
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _sc_FH_TUERMODUL_CTRL_2329_1@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB0_14:
movq _sc_FH_TUERMODUL_CTRL_1781_10@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_17
## %bb.15:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _sc_FH_TUERMODUL_CTRL_1781_10@GOTPCREL(%rip), %rcx
movq (%rcx), %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
ucomisd %xmm1, %xmm0
jb LBB0_17
## %bb.16:
movq _sc_FH_TUERMODUL_CTRL_1781_10@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB0_17:
movq _sc_FH_TUERMODUL_CTRL_1739_10@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_20
## %bb.18:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _sc_FH_TUERMODUL_CTRL_1739_10@GOTPCREL(%rip), %rcx
movq (%rcx), %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
ucomisd %xmm1, %xmm0
jb LBB0_20
## %bb.19:
movq _sc_FH_TUERMODUL_CTRL_1739_10@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB0_20:
movsbl _B0(%rip), %eax
cmpl $0, %eax
jne LBB0_22
## %bb.21:
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _BLOCK_ERKENNUNG_CTRL__N_old@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_23
LBB0_22:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB0_23:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init ## -- Begin function init
.p2align 4, 0x90
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _A_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generic_KINDERSICHERUNG_CTRL ## -- Begin function generic_KINDERSICHERUNG_CTRL
.p2align 4, 0x90
_generic_KINDERSICHERUNG_CTRL: ## @generic_KINDERSICHERUNG_CTRL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _B10(%rip)
je LBB2_66
## %bb.1:
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -4(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB2_2
jmp LBB2_67
LBB2_67:
movl -4(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB2_21
jmp LBB2_68
LBB2_68:
movl -4(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB2_40
jmp LBB2_64
LBB2_2:
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB2_5
## %bb.3:
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB2_5
## %bb.4:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
jmp LBB2_65
LBB2_5:
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb (%rax), %al
subb $1, %al
jne LBB2_19
jmp LBB2_6
LBB2_6:
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_9
## %bb.7:
movq _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_9
## %bb.8:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_20
LBB2_9:
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_12
## %bb.10:
movq _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_12
## %bb.11:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_20
LBB2_12:
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_15
## %bb.13:
movq _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_15
## %bb.14:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_20
LBB2_15:
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_18
## %bb.16:
movq _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_18
## %bb.17:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _ZENTRAL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_20
LBB2_18:
jmp LBB2_20
LBB2_19:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
LBB2_20:
jmp LBB2_65
LBB2_21:
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB2_24
## %bb.22:
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB2_24
## %bb.23:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
jmp LBB2_65
LBB2_24:
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb (%rax), %al
subb $1, %al
jne LBB2_38
jmp LBB2_25
LBB2_25:
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_28
## %bb.26:
movq _FH_TUERMODUL__SFHA_MEC_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_28
## %bb.27:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_39
LBB2_28:
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_31
## %bb.29:
movq _FH_TUERMODUL__SFHZ_MEC_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_31
## %bb.30:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_39
LBB2_31:
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_34
## %bb.32:
movq _FH_TUERMODUL__SFHA_MEC_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_34
## %bb.33:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_39
LBB2_34:
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_37
## %bb.35:
movq _FH_TUERMODUL__SFHZ_MEC_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_37
## %bb.36:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _MEC_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_39
LBB2_37:
jmp LBB2_39
LBB2_38:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
LBB2_39:
jmp LBB2_65
LBB2_40:
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_44
## %bb.41:
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_44
## %bb.42:
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_44
## %bb.43:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB2_65
LBB2_44:
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_48
## %bb.45:
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_48
## %bb.46:
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_48
## %bb.47:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB2_65
LBB2_48:
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_52
## %bb.49:
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_52
## %bb.50:
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_52
## %bb.51:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB2_65
LBB2_52:
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_56
## %bb.53:
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_56
## %bb.54:
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_56
## %bb.55:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_65
LBB2_56:
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_59
## %bb.57:
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_59
## %bb.58:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_65
LBB2_59:
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_63
## %bb.60:
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_63
## %bb.61:
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_63
## %bb.62:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB2_65
LBB2_63:
jmp LBB2_65
LBB2_64:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
LBB2_65:
jmp LBB2_66
LBB2_66:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generic_FH_TUERMODUL_CTRL ## -- Begin function generic_FH_TUERMODUL_CTRL
.p2align 4, 0x90
_generic_FH_TUERMODUL_CTRL: ## @generic_FH_TUERMODUL_CTRL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _B13(%rip)
jne LBB3_4
## %bb.1:
movsbl _B15(%rip), %eax
cmpl $0, %eax
je LBB3_4
## %bb.2:
cmpb $0, _B14(%rip)
jne LBB3_4
## %bb.3:
movb $0, _B4(%rip)
movb $0, _B6(%rip)
LBB3_4:
cmpb $0, _B13(%rip)
je LBB3_130
## %bb.5:
cmpb $0, _B10(%rip)
jne LBB3_7
## %bb.6:
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
LBB3_7:
movb $0, _B11(%rip)
cmpb $0, _B19(%rip)
jne LBB3_9
## %bb.8:
movb $0, _B0(%rip)
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB3_9:
movb $0, _B20(%rip)
movb $1, _B11(%rip)
movb $1, _B20(%rip)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -4(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_10
jmp LBB3_131
LBB3_131:
movl -4(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_14
jmp LBB3_132
LBB3_132:
movl -4(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB3_32
jmp LBB3_109
LBB3_10:
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
cmpl $59, (%rax)
jne LBB3_13
## %bb.11:
movq _FH_TUERMODUL_CTRL__N_old@GOTPCREL(%rip), %rax
cmpl $59, (%rax)
je LBB3_13
## %bb.12:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_110
LBB3_13:
jmp LBB3_110
LBB3_14:
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_18
## %bb.15:
movq _FH_TUERMODUL__BLOCK_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_18
## %bb.16:
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_18
## %bb.17:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _sc_FH_TUERMODUL_CTRL_2329_1@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_110
LBB3_18:
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_19
jmp LBB3_139
LBB3_139:
movl -8(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_22
jmp LBB3_140
LBB3_140:
movl -8(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB3_25
jmp LBB3_30
LBB3_19:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_21
## %bb.20:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_31
LBB3_21:
jmp LBB3_31
LBB3_22:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_24
## %bb.23:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_31
LBB3_24:
jmp LBB3_31
LBB3_25:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
je LBB3_27
## %bb.26:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB3_31
LBB3_27:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
je LBB3_29
## %bb.28:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_31
LBB3_29:
jmp LBB3_31
LBB3_30:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
LBB3_31:
jmp LBB3_110
LBB3_32:
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
cmpl $60, (%rax)
jle LBB3_37
## %bb.33:
movq _FH_TUERMODUL_CTRL__N_old@GOTPCREL(%rip), %rax
cmpl $60, (%rax)
jg LBB3_37
## %bb.34:
movq _FH_TUERMODUL_CTRL__INREVERS1@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB3_37
## %bb.35:
movq _FH_TUERMODUL_CTRL__INREVERS2@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB3_37
## %bb.36:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_110
LBB3_37:
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_41
## %bb.38:
movq _FH_TUERMODUL__BLOCK_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_41
## %bb.39:
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_41
## %bb.40:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _sc_FH_TUERMODUL_CTRL_2375_2@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_110
LBB3_41:
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_45
## %bb.42:
movq _FH_TUERMODUL__BLOCK_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_45
## %bb.43:
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_45
## %bb.44:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _sc_FH_TUERMODUL_CTRL_2352_1@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_110
LBB3_45:
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_46
jmp LBB3_133
LBB3_133:
movl -12(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_64
jmp LBB3_134
LBB3_134:
movl -12(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB3_98
jmp LBB3_107
LBB3_46:
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
cmpl $405, (%rax) ## imm = 0x195
jl LBB3_48
## %bb.47:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_108
LBB3_48:
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_49
jmp LBB3_138
LBB3_138:
movl -16(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_55
jmp LBB3_62
LBB3_49:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_51
## %bb.50:
movq _FH_TUERMODUL__SFHZ_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
je LBB3_53
LBB3_51:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_54
## %bb.52:
movq _FH_TUERMODUL__SFHA_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_54
LBB3_53:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
jmp LBB3_63
LBB3_54:
jmp LBB3_63
LBB3_55:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_58
## %bb.56:
movq _FH_TUERMODUL__SFHZ_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_58
## %bb.57:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_63
LBB3_58:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_61
## %bb.59:
movq _FH_TUERMODUL__SFHA_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_61
## %bb.60:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
jmp LBB3_63
LBB3_61:
jmp LBB3_63
LBB3_62:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
LBB3_63:
jmp LBB3_108
LBB3_64:
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jg LBB3_66
## %bb.65:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_108
LBB3_66:
movq _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_67
jmp LBB3_135
LBB3_135:
movl -20(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_81
jmp LBB3_96
LBB3_67:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_69
## %bb.68:
movq _FH_TUERMODUL__SFHA_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
je LBB3_71
LBB3_69:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_72
## %bb.70:
movq _FH_TUERMODUL__SFHZ_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_72
LBB3_71:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_97
LBB3_72:
movq _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_73
jmp LBB3_137
LBB3_137:
movl -24(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_76
jmp LBB3_79
LBB3_73:
movb $0, _B23(%rip)
cmpb $0, _B22(%rip)
je LBB3_75
## %bb.74:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _FH_TUERMODUL_CTRL__INREVERS2_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movb $1, _B17(%rip)
jmp LBB3_80
LBB3_75:
jmp LBB3_80
LBB3_76:
cmpb $0, _B24(%rip)
je LBB3_78
## %bb.77:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL_CTRL__INREVERS2_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $1, _B23(%rip)
movq _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $0, _B17(%rip)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _sc_FH_TUERMODUL_CTRL_1781_10@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_80
LBB3_78:
jmp LBB3_80
LBB3_79:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movb $1, _B17(%rip)
LBB3_80:
jmp LBB3_97
LBB3_81:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_84
## %bb.82:
movq _FH_TUERMODUL__SFHZ_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_84
## %bb.83:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB3_97
LBB3_84:
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB3_85
jmp LBB3_136
LBB3_136:
movl -28(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB3_88
jmp LBB3_94
LBB3_85:
movb $0, _B23(%rip)
cmpb $0, _B22(%rip)
je LBB3_87
## %bb.86:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL_CTRL__INREVERS1_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movb $1, _B17(%rip)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_95
LBB3_87:
jmp LBB3_95
LBB3_88:
cmpb $0, _B24(%rip)
je LBB3_90
## %bb.89:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL_CTRL__INREVERS1_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $1, _B23(%rip)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $0, _B17(%rip)
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _sc_FH_TUERMODUL_CTRL_1739_10@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_95
LBB3_90:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_93
## %bb.91:
movq _FH_TUERMODUL__SFHA_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_93
## %bb.92:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
jmp LBB3_95
LBB3_93:
jmp LBB3_95
LBB3_94:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movb $1, _B17(%rip)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB3_95:
jmp LBB3_97
LBB3_96:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movb $1, _B17(%rip)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB3_97:
jmp LBB3_108
LBB3_98:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_102
## %bb.99:
movq _FH_TUERMODUL__SFHZ_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_102
## %bb.100:
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB3_102
## %bb.101:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movb $1, _B17(%rip)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_108
LBB3_102:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_106
## %bb.103:
movq _FH_TUERMODUL__SFHA_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB3_106
## %bb.104:
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
cmpl $405, (%rax) ## imm = 0x195
jge LBB3_106
## %bb.105:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _OEFFNEN_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB3_108
LBB3_106:
jmp LBB3_108
LBB3_107:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _INITIALISIERT_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
LBB3_108:
jmp LBB3_110
LBB3_109:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
LBB3_110:
movq _A_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb (%rax), %al
subb $1, %al
jne LBB3_128
jmp LBB3_111
LBB3_111:
movb $0, _B5(%rip)
movq _step@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $1, %eax
jne LBB3_117
## %bb.112:
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB3_117
## %bb.113:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
cmpq $1, %rax
jne LBB3_117
## %bb.114:
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB3_116
## %bb.115:
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB3_117
LBB3_116:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _A_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $1, _B5(%rip)
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_129
LBB3_117:
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb (%rax), %al
subb $1, %al
jne LBB3_126
jmp LBB3_118
LBB3_118:
movq _step@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $1, %eax
jne LBB3_125
## %bb.119:
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB3_125
## %bb.120:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
cmpq $3, %rax
jne LBB3_125
## %bb.121:
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB3_125
## %bb.122:
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB3_125
## %bb.123:
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB3_125
## %bb.124:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl (%rax), %ecx
subl $1, %ecx
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB3_127
LBB3_125:
jmp LBB3_127
LBB3_126:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movb $1, _B5(%rip)
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB3_127:
jmp LBB3_129
LBB3_128:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _A_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $1, _B5(%rip)
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB3_129:
movb _B4(%rip), %al
movb %al, _B5(%rip)
movb _B6(%rip), %al
movb %al, _B7(%rip)
LBB3_130:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generic_EINKLEMMSCHUTZ_CTRL ## -- Begin function generic_EINKLEMMSCHUTZ_CTRL
.p2align 4, 0x90
_generic_EINKLEMMSCHUTZ_CTRL: ## @generic_EINKLEMMSCHUTZ_CTRL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _B16(%rip)
je LBB4_14
## %bb.1:
movq _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -4(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB4_2
jmp LBB4_15
LBB4_15:
movl -4(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB4_8
jmp LBB4_12
LBB4_2:
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_7
## %bb.3:
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB4_7
## %bb.4:
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_6
## %bb.5:
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB4_7
LBB4_6:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movb $1, _B24(%rip)
movq _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB4_13
LBB4_7:
jmp LBB4_13
LBB4_8:
movb $0, _B24(%rip)
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB4_11
## %bb.9:
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_11
## %bb.10:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB4_13
LBB4_11:
jmp LBB4_13
LBB4_12:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB4_13:
jmp LBB4_14
LBB4_14:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function generic_BLOCK_ERKENNUNG_CTRL
LCPI5_0:
.quad 0x3f60624dd2f1a9fc ## double 0.002
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI5_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI5_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__text,regular,pure_instructions
.globl _generic_BLOCK_ERKENNUNG_CTRL
.p2align 4, 0x90
_generic_BLOCK_ERKENNUNG_CTRL: ## @generic_BLOCK_ERKENNUNG_CTRL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _B19(%rip)
jne LBB5_4
## %bb.1:
movsbl _B21(%rip), %eax
cmpl $0, %eax
je LBB5_4
## %bb.2:
cmpb $0, _B20(%rip)
jne LBB5_4
## %bb.3:
movb $0, _B0(%rip)
LBB5_4:
cmpb $0, _B19(%rip)
je LBB5_36
## %bb.5:
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -4(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB5_6
jmp LBB5_37
LBB5_37:
movl -4(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB5_10
jmp LBB5_34
LBB5_6:
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FH_TUERMODUL__I_EIN_old@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB5_9
## %bb.7:
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB5_9
## %bb.8:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__BLOCK_copy@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPCREL(%rip), %rax
movl $2, (%rax)
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movb $1, _B0(%rip)
jmp LBB5_35
LBB5_9:
jmp LBB5_35
LBB5_10:
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB5_12
## %bb.11:
movq _FH_TUERMODUL__MFHA_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
jne LBB5_14
LBB5_12:
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB5_15
## %bb.13:
movq _FH_TUERMODUL__MFHZ_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB5_15
LBB5_14:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $0, (%rax)
jmp LBB5_35
LBB5_15:
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -8(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB5_16
jmp LBB5_38
LBB5_38:
movl -8(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB5_17
jmp LBB5_39
LBB5_39:
movl -8(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB5_20
jmp LBB5_32
LBB5_16:
jmp LBB5_33
LBB5_17:
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $2, %ecx
cmpl %ecx, %eax
jle LBB5_19
## %bb.18:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_TUERMODUL__BLOCK_copy@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB5_33
LBB5_19:
jmp LBB5_33
LBB5_20:
movb $0, _B0(%rip)
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
cmpl $11, (%rax)
jne LBB5_23
## %bb.21:
movq _BLOCK_ERKENNUNG_CTRL__N_old@GOTPCREL(%rip), %rax
cmpl $11, (%rax)
je LBB5_23
## %bb.22:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB5_33
LBB5_23:
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $3, %eax
jne LBB5_31
## %bb.24:
movq _step@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $1, %eax
jne LBB5_30
## %bb.25:
movq _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB5_30
## %bb.26:
movq _time@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
movq %rax, %xmm0
movaps LCPI5_1(%rip), %xmm1 ## xmm1 = [1127219200,1160773632,0,0]
punpckldq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd LCPI5_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 LCPI5_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
jne LBB5_30
jp LBB5_30
## %bb.27:
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jle LBB5_29
## %bb.28:
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB5_29:
jmp LBB5_30
LBB5_30:
jmp LBB5_31
LBB5_31:
jmp LBB5_33
LBB5_32:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX@GOTPCREL(%rip), %rax
movl $2, (%rax)
movq _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
movb $1, _B0(%rip)
LBB5_33:
jmp LBB5_35
LBB5_34:
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB5_35:
jmp LBB5_36
LBB5_36:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FH_DU ## -- Begin function FH_DU
.p2align 4, 0x90
_FH_DU: ## @FH_DU
.cfi_startproc
## %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 _time@GOTPCREL(%rip), %rax
movq $1, (%rax)
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _step@GOTPCREL(%rip), %rax
movb $0, (%rax)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movq _stable@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
setne %al
xorb $-1, %al
testb $1, %al
jne LBB6_2
jmp LBB6_44
LBB6_2: ## in Loop: Header=BB6_1 Depth=1
movq _stable@GOTPCREL(%rip), %rax
movb $1, (%rax)
movq _step@GOTPCREL(%rip), %rax
movb (%rax), %cl
incb %cl
movb %cl, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movl %eax, -4(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB6_3
jmp LBB6_45
LBB6_45: ## in Loop: Header=BB6_1 Depth=1
movl -4(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB6_7
jmp LBB6_46
LBB6_46: ## in Loop: Header=BB6_1 Depth=1
movl -4(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB6_14
jmp LBB6_18
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB6_6
## %bb.4: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHZ_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB6_6
## %bb.5: ## in Loop: Header=BB6_1 Depth=1
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_DU__MFH@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB6_19
LBB6_6: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_19
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB6_10
## %bb.8: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHZ_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB6_10
## %bb.9: ## in Loop: Header=BB6_1 Depth=1
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_DU__MFH@GOTPCREL(%rip), %rax
movl $-100, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
jmp LBB6_19
LBB6_10: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB6_13
## %bb.11: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHA_old@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB6_13
## %bb.12: ## in Loop: Header=BB6_1 Depth=1
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_DU__MFH@GOTPCREL(%rip), %rax
movl $100, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
jmp LBB6_19
LBB6_13: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_19
LBB6_14: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB6_17
## %bb.15: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__MFHA_old@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB6_17
## %bb.16: ## in Loop: Header=BB6_1 Depth=1
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_DU__MFH@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
jmp LBB6_19
LBB6_17: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_19
LBB6_18: ## in Loop: Header=BB6_1 Depth=1
movq _stable@GOTPCREL(%rip), %rax
movb $0, (%rax)
movq _FH_DU__MFH@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
LBB6_19: ## in Loop: Header=BB6_1 Depth=1
cmpb $0, _B10(%rip)
jne LBB6_21
## %bb.20: ## in Loop: Header=BB6_1 Depth=1
movq _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $3, (%rax)
LBB6_21: ## in Loop: Header=BB6_1 Depth=1
movb $0, _B11(%rip)
cmpb $0, _B16(%rip)
jne LBB6_23
## %bb.22: ## in Loop: Header=BB6_1 Depth=1
movq _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB6_23: ## in Loop: Header=BB6_1 Depth=1
movb $0, _B17(%rip)
cmpb $0, _B19(%rip)
jne LBB6_25
## %bb.24: ## in Loop: Header=BB6_1 Depth=1
movb $0, _B0(%rip)
movq _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB6_25: ## in Loop: Header=BB6_1 Depth=1
movb $0, _B20(%rip)
cmpb $0, _B13(%rip)
jne LBB6_27
## %bb.26: ## in Loop: Header=BB6_1 Depth=1
movb $0, _B4(%rip)
movb $0, _B6(%rip)
movq _B_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $2, (%rax)
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _A_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
movb $1, _B5(%rip)
movq _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state@GOTPCREL(%rip), %rax
movb $1, (%rax)
LBB6_27: ## in Loop: Header=BB6_1 Depth=1
movb $0, _B14(%rip)
movb $1, _B11(%rip)
movb $1, _B17(%rip)
movb $1, _B20(%rip)
movb $1, _B14(%rip)
movq _FH_DU__S_FH_TMBFZUCAN@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movq _FH_DU__S_FH_TMBFZUCAN_old@GOTPCREL(%rip), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
je LBB6_31
## %bb.28: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__DOOR_ID@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB6_30
## %bb.29: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFZUCAN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb %cl, (%rax)
LBB6_30: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_31
LBB6_31: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFZUDISC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movq _FH_DU__S_FH_TMBFZUDISC_old@GOTPCREL(%rip), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
je LBB6_35
## %bb.32: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__DOOR_ID@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
je LBB6_34
## %bb.33: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFZUDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_TMBFZUCAN@GOTPCREL(%rip), %rax
movb %cl, (%rax)
LBB6_34: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_35
LBB6_35: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFAUFCAN@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movq _FH_DU__S_FH_TMBFAUFCAN_old@GOTPCREL(%rip), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
je LBB6_39
## %bb.36: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__DOOR_ID@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB6_38
## %bb.37: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFAUFCAN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb %cl, (%rax)
LBB6_38: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_39
LBB6_39: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFAUFDISC@GOTPCREL(%rip), %rax
movsbl (%rax), %eax
movq _FH_DU__S_FH_TMBFAUFDISC_old@GOTPCREL(%rip), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
je LBB6_43
## %bb.40: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__DOOR_ID@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
je LBB6_42
## %bb.41: ## in Loop: Header=BB6_1 Depth=1
movq _FH_DU__S_FH_TMBFAUFDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_TMBFAUFCAN@GOTPCREL(%rip), %rax
movb %cl, (%rax)
LBB6_42: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_43
LBB6_43: ## in Loop: Header=BB6_1 Depth=1
movb _B12(%rip), %al
movb %al, _B10(%rip)
movb _B15(%rip), %al
movb %al, _B13(%rip)
movb _B18(%rip), %al
movb %al, _B16(%rip)
movb _B21(%rip), %al
movb %al, _B19(%rip)
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
callq _generic_KINDERSICHERUNG_CTRL
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__I_EIN@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__POSITION@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__FT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__FT@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__KL_50@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__BLOCK@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
callq _generic_FH_TUERMODUL_CTRL
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__I_EIN@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__POSITION@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__FT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__FT@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__KL_50@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__BLOCK@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
callq _generic_EINKLEMMSCHUTZ_CTRL
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__I_EIN@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__POSITION@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__FT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__FT@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__KL_50@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__BLOCK@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb %cl, (%rax)
callq _generic_BLOCK_ERKENNUNG_CTRL
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__I_EIN@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__POSITION@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__POSITION@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__FT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__FT@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_AUFDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTAUF@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_ZUDISC@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_FTZU@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__KL_50@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__KL_50@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__BLOCK@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movb _B10(%rip), %al
movb %al, _B11(%rip)
movb _B13(%rip), %al
movb %al, _B14(%rip)
movb _B16(%rip), %al
movb %al, _B17(%rip)
movb _B19(%rip), %al
movb %al, _B20(%rip)
movq _FH_TUERMODUL_CTRL__N@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_TUERMODUL_CTRL__N_old@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_TUERMODUL__I_EIN_old@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_DU__MFH_copy@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__MFH@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_DU__I_EIN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FH_DU__I_EIN_old@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _BLOCK_ERKENNUNG_CTRL__N@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _BLOCK_ERKENNUNG_CTRL__N_old@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _FH_TUERMODUL__SFHZ_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_ZENTRAL_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_MEC_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_ZENTRAL@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_ZENTRAL_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_MEC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_MEC_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__BLOCK_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__BLOCK@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__BLOCK_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHZ_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__SFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__SFHA_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHZ_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__MFHZ_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHA_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__MFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__MFHA_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_TUERMODUL__EKS_LEISTE_AKTIV_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__EKS_LEISTE_AKTIV@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__EKS_LEISTE_AKTIV_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_TMBFAUFCAN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_TMBFAUFCAN_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_TMBFZUCAN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_TMBFZUCAN_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_TMBFZUDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_TMBFZUDISC_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__S_FH_TMBFAUFDISC@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__S_FH_TMBFAUFDISC_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__BLOCK_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__BLOCK@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__BLOCK@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__BLOCK_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__MFHZ_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__MFHZ@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHZ_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__MFHA_copy@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _FH_DU__MFHA@GOTPCREL(%rip), %rax
movb (%rax), %cl
movq _FH_DU__MFHA_old@GOTPCREL(%rip), %rax
movb %cl, (%rax)
jmp LBB6_1
LBB6_44:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _init
callq _interface
callq _FH_DU
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_B4,1,0 ## @B4
.comm _time,8,3 ## @time
.comm _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL,8,3 ## @tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRL
.zerofill __DATA,__bss,_B6,1,0 ## @B6
.comm _tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL,8,3 ## @tm_entered_WIEDERHOLSPERRE_FH_TUERMODUL_CTRLexited_BEREIT_FH_TUERMODUL_CTRL
.comm _sc_FH_TUERMODUL_CTRL_2375_2,8,3 ## @sc_FH_TUERMODUL_CTRL_2375_2
.comm _FH_TUERMODUL__MFHA_copy,1,0 ## @FH_TUERMODUL__MFHA_copy
.comm _sc_FH_TUERMODUL_CTRL_2352_1,8,3 ## @sc_FH_TUERMODUL_CTRL_2352_1
.comm _FH_TUERMODUL__MFHZ_copy,1,0 ## @FH_TUERMODUL__MFHZ_copy
.comm _sc_FH_TUERMODUL_CTRL_2329_1,8,3 ## @sc_FH_TUERMODUL_CTRL_2329_1
.comm _sc_FH_TUERMODUL_CTRL_1781_10,8,3 ## @sc_FH_TUERMODUL_CTRL_1781_10
.comm _sc_FH_TUERMODUL_CTRL_1739_10,8,3 ## @sc_FH_TUERMODUL_CTRL_1739_10
.zerofill __DATA,__bss,_B0,1,0 ## @B0
.comm _BLOCK_ERKENNUNG_CTRL__N,4,2 ## @BLOCK_ERKENNUNG_CTRL__N
.comm _BLOCK_ERKENNUNG_CTRL__N_old,4,2 ## @BLOCK_ERKENNUNG_CTRL__N_old
.comm _tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy,8,3 ## @tm_entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRLch_BLOCK_ERKENNUNG_CTRL__N_copy
.comm _NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state,1,0 ## @NICHT_INITIALISIERT_NICHT_INITIALISIERT_next_state
.comm _ZENTRAL_KINDERSICHERUNG_CTRL_next_state,1,0 ## @ZENTRAL_KINDERSICHERUNG_CTRL_next_state
.comm _MEC_KINDERSICHERUNG_CTRL_next_state,1,0 ## @MEC_KINDERSICHERUNG_CTRL_next_state
.comm _KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state,1,0 ## @KINDERSICHERUNG_CTRL_KINDERSICHERUNG_CTRL_next_state
.comm _B_FH_TUERMODUL_CTRL_next_state,1,0 ## @B_FH_TUERMODUL_CTRL_next_state
.comm _A_FH_TUERMODUL_CTRL_next_state,1,0 ## @A_FH_TUERMODUL_CTRL_next_state
.comm _WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state,1,0 ## @WIEDERHOLSPERRE_FH_TUERMODUL_CTRL_next_state
.comm _INITIALISIERT_FH_TUERMODUL_CTRL_next_state,1,0 ## @INITIALISIERT_FH_TUERMODUL_CTRL_next_state
.comm _TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state,1,0 ## @TIPP_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state
.comm _MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state,1,0 ## @MANUELL_SCHLIESSEN_FH_TUERMODUL_CTRL_next_state
.comm _OEFFNEN_FH_TUERMODUL_CTRL_next_state,1,0 ## @OEFFNEN_FH_TUERMODUL_CTRL_next_state
.comm _SCHLIESSEN_FH_TUERMODUL_CTRL_next_state,1,0 ## @SCHLIESSEN_FH_TUERMODUL_CTRL_next_state
.comm _FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state,1,0 ## @FH_STEUERUNG_DUMMY_FH_STEUERUNG_DUMMY_next_state
.comm _EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state,1,0 ## @EINKLEMMSCHUTZ_CTRL_EINKLEMMSCHUTZ_CTRL_next_state
.comm _BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state,1,0 ## @BEWEGUNG_BLOCK_ERKENNUNG_CTRL_next_state
.comm _BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state,1,0 ## @BLOCK_ERKENNUNG_CTRL_BLOCK_ERKENNUNG_CTRL_next_state
.zerofill __DATA,__bss,_B10,1,0 ## @B10
.comm _FH_TUERMODUL__SFHA_ZENTRAL,1,0 ## @FH_TUERMODUL__SFHA_ZENTRAL
.comm _FH_TUERMODUL__SFHZ_ZENTRAL,1,0 ## @FH_TUERMODUL__SFHZ_ZENTRAL
.comm _stable,1,0 ## @stable
.comm _FH_TUERMODUL__SFHZ_copy,1,0 ## @FH_TUERMODUL__SFHZ_copy
.comm _FH_TUERMODUL__SFHA_copy,1,0 ## @FH_TUERMODUL__SFHA_copy
.comm _FH_TUERMODUL__SFHA_ZENTRAL_old,1,0 ## @FH_TUERMODUL__SFHA_ZENTRAL_old
.comm _FH_TUERMODUL__SFHZ_ZENTRAL_old,1,0 ## @FH_TUERMODUL__SFHZ_ZENTRAL_old
.comm _FH_TUERMODUL__SFHA_MEC,1,0 ## @FH_TUERMODUL__SFHA_MEC
.comm _FH_TUERMODUL__SFHZ_MEC,1,0 ## @FH_TUERMODUL__SFHZ_MEC
.comm _FH_TUERMODUL__SFHA_MEC_old,1,0 ## @FH_TUERMODUL__SFHA_MEC_old
.comm _FH_TUERMODUL__SFHZ_MEC_old,1,0 ## @FH_TUERMODUL__SFHZ_MEC_old
.comm _FH_TUERMODUL__KL_50,1,0 ## @FH_TUERMODUL__KL_50
.zerofill __DATA,__bss,_B13,1,0 ## @B13
.zerofill __DATA,__bss,_B15,1,0 ## @B15
.zerofill __DATA,__bss,_B14,1,0 ## @B14
.zerofill __DATA,__bss,_B11,1,0 ## @B11
.zerofill __DATA,__bss,_B19,1,0 ## @B19
.zerofill __DATA,__bss,_B20,1,0 ## @B20
.comm _FH_TUERMODUL_CTRL__N,4,2 ## @FH_TUERMODUL_CTRL__N
.comm _FH_TUERMODUL_CTRL__N_old,4,2 ## @FH_TUERMODUL_CTRL__N_old
.comm _FH_TUERMODUL__BLOCK,1,0 ## @FH_TUERMODUL__BLOCK
.comm _FH_TUERMODUL__BLOCK_old,1,0 ## @FH_TUERMODUL__BLOCK_old
.comm _FH_TUERMODUL__MFHZ,1,0 ## @FH_TUERMODUL__MFHZ
.comm _FH_TUERMODUL__SFHZ,1,0 ## @FH_TUERMODUL__SFHZ
.comm _FH_TUERMODUL__SFHA,1,0 ## @FH_TUERMODUL__SFHA
.comm _FH_TUERMODUL_CTRL__INREVERS1,1,0 ## @FH_TUERMODUL_CTRL__INREVERS1
.comm _FH_TUERMODUL_CTRL__INREVERS2,1,0 ## @FH_TUERMODUL_CTRL__INREVERS2
.comm _FH_TUERMODUL__MFHA,1,0 ## @FH_TUERMODUL__MFHA
.comm _FH_TUERMODUL__POSITION,4,2 ## @FH_TUERMODUL__POSITION
.comm _FH_TUERMODUL__SFHZ_old,1,0 ## @FH_TUERMODUL__SFHZ_old
.comm _FH_TUERMODUL__SFHA_old,1,0 ## @FH_TUERMODUL__SFHA_old
.zerofill __DATA,__bss,_B23,1,0 ## @B23
.zerofill __DATA,__bss,_B22,1,0 ## @B22
.comm _FH_TUERMODUL_CTRL__INREVERS2_copy,1,0 ## @FH_TUERMODUL_CTRL__INREVERS2_copy
.zerofill __DATA,__bss,_B17,1,0 ## @B17
.zerofill __DATA,__bss,_B24,1,0 ## @B24
.comm _FH_TUERMODUL_CTRL__INREVERS1_copy,1,0 ## @FH_TUERMODUL_CTRL__INREVERS1_copy
.zerofill __DATA,__bss,_B5,1,0 ## @B5
.comm _step,1,0 ## @step
.zerofill __DATA,__bss,_B7,1,0 ## @B7
.zerofill __DATA,__bss,_B16,1,0 ## @B16
.comm _FH_TUERMODUL__EKS_LEISTE_AKTIV,1,0 ## @FH_TUERMODUL__EKS_LEISTE_AKTIV
.comm _FH_TUERMODUL__EKS_LEISTE_AKTIV_old,1,0 ## @FH_TUERMODUL__EKS_LEISTE_AKTIV_old
.zerofill __DATA,__bss,_B21,1,0 ## @B21
.comm _FH_TUERMODUL__I_EIN,4,2 ## @FH_TUERMODUL__I_EIN
.comm _FH_TUERMODUL__I_EIN_old,4,2 ## @FH_TUERMODUL__I_EIN_old
.comm _FH_TUERMODUL__BLOCK_copy,1,0 ## @FH_TUERMODUL__BLOCK_copy
.comm _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX,4,2 ## @BLOCK_ERKENNUNG_CTRL__I_EIN_MAX
.comm _FH_TUERMODUL__MFHA_old,1,0 ## @FH_TUERMODUL__MFHA_old
.comm _FH_TUERMODUL__MFHZ_old,1,0 ## @FH_TUERMODUL__MFHZ_old
.comm _FH_DU__MFHZ,1,0 ## @FH_DU__MFHZ
.comm _FH_DU__MFHZ_old,1,0 ## @FH_DU__MFHZ_old
.comm _FH_DU__MFH,4,2 ## @FH_DU__MFH
.comm _FH_DU__MFHA,1,0 ## @FH_DU__MFHA
.comm _FH_DU__MFHA_old,1,0 ## @FH_DU__MFHA_old
.comm _FH_DU__S_FH_TMBFZUCAN,1,0 ## @FH_DU__S_FH_TMBFZUCAN
.comm _FH_DU__S_FH_TMBFZUCAN_old,1,0 ## @FH_DU__S_FH_TMBFZUCAN_old
.comm _FH_DU__DOOR_ID,1,0 ## @FH_DU__DOOR_ID
.comm _FH_DU__S_FH_FTZU,1,0 ## @FH_DU__S_FH_FTZU
.comm _FH_DU__S_FH_TMBFZUDISC,1,0 ## @FH_DU__S_FH_TMBFZUDISC
.comm _FH_DU__S_FH_TMBFZUDISC_old,1,0 ## @FH_DU__S_FH_TMBFZUDISC_old
.comm _FH_DU__S_FH_TMBFAUFCAN,1,0 ## @FH_DU__S_FH_TMBFAUFCAN
.comm _FH_DU__S_FH_TMBFAUFCAN_old,1,0 ## @FH_DU__S_FH_TMBFAUFCAN_old
.comm _FH_DU__S_FH_FTAUF,1,0 ## @FH_DU__S_FH_FTAUF
.comm _FH_DU__S_FH_TMBFAUFDISC,1,0 ## @FH_DU__S_FH_TMBFAUFDISC
.comm _FH_DU__S_FH_TMBFAUFDISC_old,1,0 ## @FH_DU__S_FH_TMBFAUFDISC_old
.zerofill __DATA,__bss,_B12,1,0 ## @B12
.zerofill __DATA,__bss,_B18,1,0 ## @B18
.comm _FH_DU__S_FH_AUFDISC,1,0 ## @FH_DU__S_FH_AUFDISC
.comm _FH_DU__S_FH_ZUDISC,1,0 ## @FH_DU__S_FH_ZUDISC
.comm _FH_DU__I_EIN,4,2 ## @FH_DU__I_EIN
.comm _FH_DU__EKS_LEISTE_AKTIV,1,0 ## @FH_DU__EKS_LEISTE_AKTIV
.comm _FH_DU__POSITION,4,2 ## @FH_DU__POSITION
.comm _FH_TUERMODUL__FT,1,0 ## @FH_TUERMODUL__FT
.comm _FH_DU__FT,1,0 ## @FH_DU__FT
.comm _FH_DU__KL_50,1,0 ## @FH_DU__KL_50
.comm _FH_DU__BLOCK,1,0 ## @FH_DU__BLOCK
.comm _FH_DU__MFH_copy,4,2 ## @FH_DU__MFH_copy
.comm _FH_DU__I_EIN_old,4,2 ## @FH_DU__I_EIN_old
.comm _FH_DU__EKS_LEISTE_AKTIV_old,1,0 ## @FH_DU__EKS_LEISTE_AKTIV_old
.comm _FH_DU__BLOCK_copy,1,0 ## @FH_DU__BLOCK_copy
.comm _FH_DU__BLOCK_old,1,0 ## @FH_DU__BLOCK_old
.comm _FH_DU__MFHZ_copy,1,0 ## @FH_DU__MFHZ_copy
.comm _FH_DU__MFHA_copy,1,0 ## @FH_DU__MFHA_copy
.comm _FH_TUERMODUL_CTRL__N_copy,4,2 ## @FH_TUERMODUL_CTRL__N_copy
.comm _BLOCK_ERKENNUNG_CTRL__I_EIN_MAX_copy,4,2 ## @BLOCK_ERKENNUNG_CTRL__I_EIN_MAX_copy
.comm _BLOCK_ERKENNUNG_CTRL__N_copy,4,2 ## @BLOCK_ERKENNUNG_CTRL__N_copy
.comm _FH_TUERMODUL_CTRL__FT,1,0 ## @FH_TUERMODUL_CTRL__FT
.comm _FH_TUERMODUL__COM_OPEN,1,0 ## @FH_TUERMODUL__COM_OPEN
.comm _FH_TUERMODUL__COM_CLOSE,1,0 ## @FH_TUERMODUL__COM_CLOSE
.comm _FH_DU__S_FH_TMBFAUFCAN_copy,1,0 ## @FH_DU__S_FH_TMBFAUFCAN_copy
.comm _FH_DU__S_FH_TMBFZUCAN_copy,1,0 ## @FH_DU__S_FH_TMBFZUCAN_copy
.subsections_via_symbols
|
the_stack_data/12638120.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, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x8, l___const.main.matriz1@PAGE
add x8, x8, l___const.main.matriz1@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-32]
mov w8, #7
stur w8, [x29, #-32]
ldur w8, [x29, #-24]
str w8, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #44
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr s0, [sp, #44]
fcvt d0, s0
mov x8, sp
str d0, [x8]
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
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [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, #2
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x9, [sp, #20]
sub x8, x29, #32
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
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:
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, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @__const.main.matriz1
l___const.main.matriz1:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite valor para atribuir em matriz 2: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "%f\n"
l_.str.3: ; @.str.3
.asciz "\nImprimindo matriz1: \n"
l_.str.4: ; @.str.4
.asciz "%d "
l_.str.5: ; @.str.5
.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 $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -160(%rbp)
movq L___const.main.matriz1(%rip), %rax
movq %rax, -32(%rbp)
movq L___const.main.matriz1+8(%rip), %rax
movq %rax, -24(%rbp)
movl $7, -32(%rbp)
movl -24(%rbp), %eax
movl %eax, -164(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -144(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movss -144(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -168(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $2, -168(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -172(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $2, -172(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -168(%rbp), %rcx
leaq -32(%rbp), %rax
shlq $3, %rcx
addq %rcx, %rax
movslq -172(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -172(%rbp), %eax
addl $1, %eax
movl %eax, -172(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -168(%rbp), %eax
addl $1, %eax
movl %eax, -168(%rbp)
jmp LBB0_1
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_10
## %bb.9:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## @__const.main.matriz1
L___const.main.matriz1:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite valor para atribuir em matriz 2: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "%f\n"
L_.str.3: ## @.str.3
.asciz "\nImprimindo matriz1: \n"
L_.str.4: ## @.str.4
.asciz "%d "
L_.str.5: ## @.str.5
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/243894248.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _countValidWords ; -- Begin function countValidWords
.p2align 2
_countValidWords: ; @countValidWords
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-8]
str x2, [sp, #24]
str wzr, [sp, #20]
b LBB0_1
LBB0_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, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
add x10, x9, #8
stur x10, [x29, #-16]
ldr x0, [x9]
blr x8
ldr w8, [sp, #20]
add w8, w8, w0
str w8, [sp, #20]
b LBB0_1
LBB0_3:
ldr w0, [sp, #20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _hasForbidenPairs ; -- Begin function hasForbidenPairs
.p2align 2
_hasForbidenPairs: ; @hasForbidenPairs
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16]
ldrsw x9, [sp, #12]
adrp x8, _FORBIDEN_PAIRS@PAGE
add x8, x8, _FORBIDEN_PAIRS@PAGEOFF
ldr x1, [x8, x9, lsl #3]
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB1_7
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_6:
stur wzr, [x29, #-4]
b LBB1_7
LBB1_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _hasTwoOrMoreVowels ; -- Begin function hasTwoOrMoreVowels
.p2align 2
_hasTwoOrMoreVowels: ; @hasTwoOrMoreVowels
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
add x9, x8, #1
str x9, [sp, #24]
ldrsb w8, [x8]
strb w8, [sp, #19]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_9
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #19]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #97
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #101
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #105
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #111
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #117
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_9:
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, gt
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _hasRepeatedLetters ; -- Begin function hasRepeatedLetters
.p2align 2
_hasRepeatedLetters: ; @hasRepeatedLetters
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _strlen
mov x8, x0
str w8, [sp, #12]
str wzr, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldr w10, [sp, #8]
add w10, w10, #1
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB3_7
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB3_1
LBB3_6:
stur wzr, [x29, #-4]
b LBB3_7
LBB3_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _part1 ; -- Begin function part1
.p2align 2
_part1: ; @part1
.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 _hasForbidenPairs
subs w8, w0, #0
cset w8, ne
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_3
b LBB4_1
LBB4_1:
ldr x0, [sp, #8]
bl _hasTwoOrMoreVowels
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
ldr x0, [sp, #8]
bl _hasRepeatedLetters
subs w8, w0, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB4_3
LBB4_3:
ldr w8, [sp, #4] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _hasRepeatingPair ; -- Begin function hasRepeatingPair
.p2align 2
_hasRepeatingPair: ; @hasRepeatingPair
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-20]
str wzr, [sp, #24]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-20]
subs w9, w9, #2
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
add x8, x8, x9
add x8, x8, #2
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
add x1, x8, x9
add x0, sp, #17
mov x2, #2
mov x3, #3
bl ___strncpy_chk
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _strstr
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB5_7
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB5_1
LBB5_6:
stur wzr, [x29, #-4]
b LBB5_7
LBB5_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _hasRepeatingLetter ; -- Begin function hasRepeatingLetter
.p2align 2
_hasRepeatingLetter: ; @hasRepeatingLetter
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [sp, #12]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #16]
bl _strlen
ldr x8, [sp] ; 8-byte Folded Reload
subs x9, x0, #2
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_6
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
ldr x9, [sp, #16]
ldr w10, [sp, #12]
add w10, w10, #2
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB6_7
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_1
LBB6_6:
stur wzr, [x29, #-4]
b LBB6_7
LBB6_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _part2 ; -- Begin function part2
.p2align 2
_part2: ; @part2
.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 _hasRepeatingPair
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x0, [sp, #8]
bl _hasRepeatingLetter
subs w8, w0, #0
cset w8, ne
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB7_2
LBB7_2:
ldr w8, [sp, #4] ; 4-byte Folded Reload
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _solve ; -- Begin function solve
.p2align 2
_solve: ; @solve
.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, #8]
str x1, [sp, #16]
ldr x0, [sp, #8]
ldr x1, [sp, #16]
adrp x2, _part1@PAGE
add x2, x2, _part1@PAGEOFF
bl _countValidWords
stur w0, [x29, #-8]
ldr x0, [sp, #8]
ldr x1, [sp, #16]
adrp x2, _part2@PAGE
add x2, x2, _part2@PAGEOFF
bl _countValidWords
stur w0, [x29, #-4]
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _addToInput ; -- Begin function addToInput
.p2align 2
_addToInput: ; @addToInput
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr w8, [x8, #8]
ldr x9, [sp, #8]
ldr w9, [x9, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
ldr x9, [sp, #8]
ldr w8, [x9, #12]
add w8, w8, #10
str w8, [x9, #12]
ldr x8, [sp, #8]
ldr x0, [x8]
ldr x8, [sp, #8]
ldrsw x8, [x8, #12]
lsl x1, x8, #3
bl _realloc
ldr x8, [sp, #8]
str x0, [x8]
b LBB9_2
LBB9_2:
ldr x0, [sp]
bl _strlen
add x0, x0, #1
bl _malloc
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp, #8]
ldrsw x9, [x9, #8]
str x0, [x8, x9, lsl #3]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [sp, #8]
ldrsw x9, [x9, #8]
ldr x0, [x8, x9, lsl #3]
ldr x1, [sp]
mov x2, #-1
bl ___strcpy_chk
ldr x9, [sp, #8]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _rtrim ; -- Begin function rtrim
.p2align 2
_rtrim: ; @rtrim
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #16]
b LBB10_2
LBB10_2:
ldur x0, [x29, #-8]
bl _strlen
subs x8, x0, #1
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
b LBB10_3
LBB10_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=1
ldr x0, [sp, #16]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldrsb w1, [x8, x9]
bl _strchr
subs x8, x0, #0
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB10_5
LBB10_5: ; in Loop: Header=BB10_3 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB10_7
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_3 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
mov x10, x9
subs w10, w10, #1
str w10, [sp, #12]
add x8, x8, x9
strb wzr, [x8]
b LBB10_3
LBB10_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _getInput ; -- Begin function getInput
.p2align 2
_getInput: ; @getInput
.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, #24]
ldr x0, [sp, #24]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB11_2:
mov x0, #10
mov x1, #8
bl _calloc
stur x0, [x29, #-16]
stur wzr, [x29, #-8]
mov w8, #10
stur w8, [x29, #-4]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB11_3
LBB11_3: ; =>This Inner Loop Header: Depth=1
ldr x2, [sp, #16]
add x0, sp, #8
mov x1, sp
bl _getline
adds x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB11_5
b LBB11_4
LBB11_4: ; in Loop: Header=BB11_3 Depth=1
ldr x0, [sp, #8]
mov x1, #0
bl _rtrim
mov x1, x0
sub x0, x29, #16
bl _addToInput
b LBB11_3
LBB11_5:
ldr x0, [sp, #16]
bl _fclose
ldur x0, [x29, #-16]
ldur x1, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _freeInput ; -- Begin function freeInput
.p2align 2
_freeInput: ; @freeInput
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #24]
ldr x8, [sp, #16]
str x8, [sp, #8]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w9, w8, #1
str w9, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB12_3
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [sp, #8]
add x9, x8, #8
str x9, [sp, #8]
ldr x0, [x8]
bl _free
b LBB12_1
LBB12_3:
ldr x0, [sp, #16]
bl _free
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI13_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB13_2:
sub x0, x29, #32
mov x1, #0
str x1, [sp, #16] ; 8-byte Folded Spill
bl _gettimeofday
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _getInput
str x0, [sp, #32]
str x1, [sp, #40]
ldr x0, [sp, #32]
ldr x1, [sp, #40]
bl _solve
ldr x1, [sp, #16] ; 8-byte Folded Reload
str x0, [sp, #24]
add x0, sp, #48
bl _gettimeofday
ldr x0, [sp, #32]
ldr x1, [sp, #40]
bl _freeInput
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x8, [sp, #48]
ldur x9, [x29, #-32]
subs x8, x8, x9
mov x9, #16960
movk x9, #15, lsl #16
mul x8, x8, x9
ldrsw x9, [sp, #56]
add x8, x8, x9
ldursw x9, [x29, #-24]
subs x8, x8, x9
scvtf d0, x8
adrp x8, lCPI13_0@PAGE
ldr d1, [x8, lCPI13_0@PAGEOFF]
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
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 "ab"
l_.str.1: ; @.str.1
.asciz "cd"
l_.str.2: ; @.str.2
.asciz "pq"
l_.str.3: ; @.str.3
.asciz "xy"
.section __DATA,__data
.globl _FORBIDEN_PAIRS ; @FORBIDEN_PAIRS
.p2align 3
_FORBIDEN_PAIRS:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "\t\n\013\f\r "
l_.str.5: ; @.str.5
.asciz "r"
l_.str.6: ; @.str.6
.asciz "Error reading input file!\n"
l_.str.7: ; @.str.7
.asciz "Please, add input file path as parameter"
l_.str.8: ; @.str.8
.asciz "P1: %d\n"
l_.str.9: ; @.str.9
.asciz "P2: %d\n\n"
l_.str.10: ; @.str.10
.asciz "Time: %.7f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _countValidWords ## -- Begin function countValidWords
.p2align 4, 0x90
_countValidWords: ## @countValidWords
.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, -8(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
LBB0_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 LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
movq %rcx, %rdx
addq $8, %rdx
movq %rdx, -16(%rbp)
movq (%rcx), %rdi
callq *%rax
addl -28(%rbp), %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_3:
movl -28(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasForbidenPairs ## -- Begin function hasForbidenPairs
.p2align 4, 0x90
_hasForbidenPairs: ## @hasForbidenPairs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $0, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -20(%rbp)
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rdi
movslq -20(%rbp), %rcx
leaq _FORBIDEN_PAIRS(%rip), %rax
movq (%rax,%rcx,8), %rsi
callq _strstr
cmpq $0, %rax
je LBB1_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB1_7
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_6:
movl $0, -4(%rbp)
LBB1_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasTwoOrMoreVowels ## -- Begin function hasTwoOrMoreVowels
.p2align 4, 0x90
_hasTwoOrMoreVowels: ## @hasTwoOrMoreVowels
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -8(%rbp)
movb (%rax), %al
movb %al, -13(%rbp)
movsbl %al, %eax
cmpl $0, %eax
je LBB2_5
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movsbl -13(%rbp), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
subl $97, %eax
je LBB2_3
jmp LBB2_6
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
subl $101, %eax
je LBB2_3
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
subl $105, %eax
je LBB2_3
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
subl $111, %eax
je LBB2_3
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax ## 4-byte Reload
subl $117, %eax
jne LBB2_4
jmp LBB2_3
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_5:
cmpl $2, -12(%rbp)
setg %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasRepeatedLetters ## -- Begin function hasRepeatedLetters
.p2align 4, 0x90
_hasRepeatedLetters: ## @hasRepeatedLetters
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movl -24(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB3_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB3_7
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB3_1
LBB3_6:
movl $0, -4(%rbp)
LBB3_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _part1 ## -- Begin function part1
.p2align 4, 0x90
_part1: ## @part1
.cfi_startproc
## %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 _hasForbidenPairs
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
jne LBB4_3
## %bb.1:
movq -8(%rbp), %rdi
callq _hasTwoOrMoreVowels
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
je LBB4_3
## %bb.2:
movq -8(%rbp), %rdi
callq _hasRepeatedLetters
cmpl $0, %eax
setne %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB4_3:
movb -9(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasRepeatingPair ## -- Begin function hasRepeatingPair
.p2align 4, 0x90
_hasRepeatingPair: ## @hasRepeatingPair
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movl -20(%rbp), %ecx
subl $2, %ecx
cmpl %ecx, %eax
jge LBB5_6
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
addq %rcx, %rax
addq $2, %rax
movq %rax, -40(%rbp) ## 8-byte Spill
leaq -31(%rbp), %rdi
movq -16(%rbp), %rsi
movslq -24(%rbp), %rax
addq %rax, %rsi
movl $2, %edx
movl $3, %ecx
callq ___strncpy_chk
movq -40(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _strstr
cmpq $0, %rax
je LBB5_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB5_7
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_5
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB5_1
LBB5_6:
movl $0, -4(%rbp)
LBB5_7:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasRepeatingLetter ## -- Begin function hasRepeatingLetter
.p2align 4, 0x90
_hasRepeatingLetter: ## @hasRepeatingLetter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $0, -20(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movslq -20(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
subq $2, %rcx
cmpq %rcx, %rax
jae LBB6_6
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movq -16(%rbp), %rcx
movl -20(%rbp), %edx
addl $2, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB6_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB6_7
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_5
LBB6_5: ## in Loop: Header=BB6_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_1
LBB6_6:
movl $0, -4(%rbp)
LBB6_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _part2 ## -- Begin function part2
.p2align 4, 0x90
_part2: ## @part2
.cfi_startproc
## %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 _hasRepeatingPair
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -9(%rbp) ## 1-byte Spill
je LBB7_2
## %bb.1:
movq -8(%rbp), %rdi
callq _hasRepeatingLetter
cmpl $0, %eax
setne %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB7_2:
movb -9(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solve ## -- Begin function solve
.p2align 4, 0x90
_solve: ## @solve
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -16(%rbp)
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
leaq _part1(%rip), %rdx
callq _countValidWords
movl %eax, -8(%rbp)
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
leaq _part2(%rip), %rdx
callq _countValidWords
movl %eax, -4(%rbp)
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addToInput ## -- Begin function addToInput
.p2align 4, 0x90
_addToInput: ## @addToInput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl 8(%rax), %eax
movq -8(%rbp), %rcx
cmpl 12(%rcx), %eax
jne LBB9_2
## %bb.1:
movq -8(%rbp), %rax
movl 12(%rax), %ecx
addl $10, %ecx
movl %ecx, 12(%rax)
movq -8(%rbp), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movslq 12(%rax), %rsi
shlq $3, %rsi
callq _realloc
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
LBB9_2:
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rdi
addq $1, %rdi
callq _malloc
movq %rax, %rdx
movq -8(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
movslq 8(%rcx), %rcx
movq %rdx, (%rax,%rcx,8)
movq -8(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
movslq 8(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
movq -16(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -8(%rbp), %rax
movl 8(%rax), %ecx
addl $1, %ecx
movl %ecx, 8(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtrim ## -- Begin function rtrim
.p2align 4, 0x90
_rtrim: ## @rtrim
.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)
cmpq $0, -16(%rbp)
jne LBB10_2
## %bb.1:
leaq L_.str.4(%rip), %rax
movq %rax, -16(%rbp)
LBB10_2:
movq -8(%rbp), %rdi
callq _strlen
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
LBB10_3: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -20(%rbp)
movb %al, -21(%rbp) ## 1-byte Spill
jl LBB10_5
## %bb.4: ## in Loop: Header=BB10_3 Depth=1
movq -16(%rbp), %rdi
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %esi
callq _strchr
cmpq $0, %rax
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB10_5: ## in Loop: Header=BB10_3 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB10_6
jmp LBB10_7
LBB10_6: ## in Loop: Header=BB10_3 Depth=1
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
movl %ecx, %edx
addl $-1, %edx
movl %edx, -20(%rbp)
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
jmp LBB10_3
LBB10_7:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getInput ## -- Begin function getInput
.p2align 4, 0x90
_getInput: ## @getInput
.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, -24(%rbp)
movq -24(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, %rax
jne LBB11_2
## %bb.1:
leaq L_.str.6(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB11_2:
movl $10, %edi
movl $8, %esi
callq _calloc
movq %rax, -16(%rbp)
movl $0, -8(%rbp)
movl $10, -4(%rbp)
movq $0, -40(%rbp)
LBB11_3: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rdx
leaq -40(%rbp), %rdi
leaq -48(%rbp), %rsi
callq _getline
cmpq $-1, %rax
je LBB11_5
## %bb.4: ## in Loop: Header=BB11_3 Depth=1
movq -40(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _rtrim
movq %rax, %rsi
leaq -16(%rbp), %rdi
callq _addToInput
jmp LBB11_3
LBB11_5:
movq -32(%rbp), %rdi
callq _fclose
movq -16(%rbp), %rax
movq -8(%rbp), %rdx
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _freeInput ## -- Begin function freeInput
.p2align 4, 0x90
_freeInput: ## @freeInput
.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, -8(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
LBB12_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 LBB12_3
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $8, %rcx
movq %rcx, -24(%rbp)
movq (%rax), %rdi
callq _free
jmp LBB12_1
LBB12_3:
movq -16(%rbp), %rdi
callq _free
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI13_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB13_2
## %bb.1:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB13_2:
leaq -32(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _getInput
movq %rax, -64(%rbp)
movq %rdx, -56(%rbp)
movq -64(%rbp), %rdi
movq -56(%rbp), %rsi
callq _solve
movq %rax, -72(%rbp)
leaq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
movq -64(%rbp), %rdi
movq -56(%rbp), %rsi
callq _freeInput
movl -72(%rbp), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl -68(%rbp), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq -48(%rbp), %rax
subq -32(%rbp), %rax
imulq $1000000, %rax, %rax ## imm = 0xF4240
movslq -40(%rbp), %rcx
addq %rcx, %rax
movslq -24(%rbp), %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm0
movsd LCPI13_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str.10(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ab"
L_.str.1: ## @.str.1
.asciz "cd"
L_.str.2: ## @.str.2
.asciz "pq"
L_.str.3: ## @.str.3
.asciz "xy"
.section __DATA,__data
.globl _FORBIDEN_PAIRS ## @FORBIDEN_PAIRS
.p2align 4
_FORBIDEN_PAIRS:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "\t\n\013\f\r "
L_.str.5: ## @.str.5
.asciz "r"
L_.str.6: ## @.str.6
.asciz "Error reading input file!\n"
L_.str.7: ## @.str.7
.asciz "Please, add input file path as parameter"
L_.str.8: ## @.str.8
.asciz "P1: %d\n"
L_.str.9: ## @.str.9
.asciz "P2: %d\n\n"
L_.str.10: ## @.str.10
.asciz "Time: %.7f\n"
.subsections_via_symbols
|
the_stack_data/9703.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _map_v9_maz ; @map_v9_maz
.p2align 2
_map_v9_maz:
.long 14 ; 0xe
.long 10 ; 0xa
.long 9 ; 0x9
.long 12 ; 0xc
.long 8 ; 0x8
.long 9 ; 0x9
.long 12 ; 0xc
.long 9 ; 0x9
.long 12 ; 0xc
.long 9 ; 0x9
.long 13 ; 0xd
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 9 ; 0x9
.long 12 ; 0xc
.long 9 ; 0x9
.long 5 ; 0x5
.long 7 ; 0x7
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 4 ; 0x4
.long 3 ; 0x3
.long 12 ; 0xc
.long 9 ; 0x9
.long 13 ; 0xd
.long 5 ; 0x5
.long 5 ; 0x5
.long 7 ; 0x7
.long 4 ; 0x4
.long 10 ; 0xa
.long 3 ; 0x3
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 4 ; 0x4
.long 1 ; 0x1
.long 12 ; 0xc
.long 1 ; 0x1
.long 5 ; 0x5
.long 4 ; 0x4
.long 1 ; 0x1
.long 4 ; 0x4
.long 10 ; 0xa
.long 1 ; 0x1
.long 14 ; 0xe
.long 10 ; 0xa
.long 0 ; 0x0
.long 1 ; 0x1
.long 6 ; 0x6
.long 3 ; 0x3
.long 7 ; 0x7
.long 7 ; 0x7
.long 5 ; 0x5
.long 7 ; 0x7
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 13 ; 0xd
.long 6 ; 0x6
.long 10 ; 0xa
.long 11 ; 0xb
.long 5 ; 0x5
.long 7 ; 0x7
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 9 ; 0x9
.long 5 ; 0x5
.long 12 ; 0xc
.long 1 ; 0x1
.long 4 ; 0x4
.long 1 ; 0x1
.long 6 ; 0x6
.long 2 ; 0x2
.long 10 ; 0xa
.long 8 ; 0x8
.long 10 ; 0xa
.long 3 ; 0x3
.long 12 ; 0xc
.long 2 ; 0x2
.long 10 ; 0xa
.long 11 ; 0xb
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 2 ; 0x2
.long 11 ; 0xb
.long 12 ; 0xc
.long 0 ; 0x0
.long 10 ; 0xa
.long 10 ; 0xa
.long 9 ; 0x9
.long 5 ; 0x5
.long 5 ; 0x5
.long 4 ; 0x4
.long 2 ; 0x2
.long 2 ; 0x2
.long 1 ; 0x1
.long 6 ; 0x6
.long 10 ; 0xa
.long 10 ; 0xa
.long 9 ; 0x9
.long 12 ; 0xc
.long 1 ; 0x1
.long 5 ; 0x5
.long 12 ; 0xc
.long 9 ; 0x9
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 6 ; 0x6
.long 10 ; 0xa
.long 9 ; 0x9
.long 5 ; 0x5
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 6 ; 0x6
.long 2 ; 0x2
.long 1 ; 0x1
.long 5 ; 0x5
.long 5 ; 0x5
.long 12 ; 0xc
.long 10 ; 0xa
.long 2 ; 0x2
.long 3 ; 0x3
.long 6 ; 0x6
.long 10 ; 0xa
.long 8 ; 0x8
.long 11 ; 0xb
.long 5 ; 0x5
.long 7 ; 0x7
.long 6 ; 0x6
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.long 4 ; 0x4
.long 3 ; 0x3
.long 6 ; 0x6
.long 10 ; 0xa
.long 8 ; 0x8
.long 11 ; 0xb
.long 14 ; 0xe
.long 8 ; 0x8
.long 2 ; 0x2
.long 11 ; 0xb
.long 6 ; 0x6
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 8 ; 0x8
.long 3 ; 0x3
.long 14 ; 0xe
.long 8 ; 0x8
.long 10 ; 0xa
.long 2 ; 0x2
.long 11 ; 0xb
.long 12 ; 0xc
.long 3 ; 0x3
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.long 13 ; 0xd
.long 12 ; 0xc
.long 2 ; 0x2
.long 10 ; 0xa
.long 10 ; 0xa
.long 11 ; 0xb
.long 5 ; 0x5
.long 12 ; 0xc
.long 2 ; 0x2
.long 11 ; 0xb
.long 12 ; 0xc
.long 10 ; 0xa
.long 8 ; 0x8
.long 9 ; 0x9
.long 12 ; 0xc
.long 9 ; 0x9
.long 4 ; 0x4
.long 1 ; 0x1
.long 12 ; 0xc
.long 10 ; 0xa
.long 10 ; 0xa
.long 9 ; 0x9
.long 5 ; 0x5
.long 6 ; 0x6
.long 10 ; 0xa
.long 10 ; 0xa
.long 2 ; 0x2
.long 10 ; 0xa
.long 1 ; 0x1
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 5 ; 0x5
.long 14 ; 0xe
.long 9 ; 0x9
.long 5 ; 0x5
.long 5 ; 0x5
.long 14 ; 0xe
.long 8 ; 0x8
.long 10 ; 0xa
.long 8 ; 0x8
.long 10 ; 0xa
.long 1 ; 0x1
.long 6 ; 0x6
.long 1 ; 0x1
.long 4 ; 0x4
.long 1 ; 0x1
.long 5 ; 0x5
.long 6 ; 0x6
.long 10 ; 0xa
.long 3 ; 0x3
.long 5 ; 0x5
.long 6 ; 0x6
.long 10 ; 0xa
.long 2 ; 0x2
.long 10 ; 0xa
.long 3 ; 0x3
.long 14 ; 0xe
.long 2 ; 0x2
.long 10 ; 0xa
.long 3 ; 0x3
.long 7 ; 0x7
.long 7 ; 0x7
.long 6 ; 0x6
.long 10 ; 0xa
.long 10 ; 0xa
.long 10 ; 0xa
.long 3 ; 0x3
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _map_v9_maz ## @map_v9_maz
.p2align 4
_map_v9_maz:
.long 14 ## 0xe
.long 10 ## 0xa
.long 9 ## 0x9
.long 12 ## 0xc
.long 8 ## 0x8
.long 9 ## 0x9
.long 12 ## 0xc
.long 9 ## 0x9
.long 12 ## 0xc
.long 9 ## 0x9
.long 13 ## 0xd
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 9 ## 0x9
.long 12 ## 0xc
.long 9 ## 0x9
.long 5 ## 0x5
.long 7 ## 0x7
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 4 ## 0x4
.long 3 ## 0x3
.long 12 ## 0xc
.long 9 ## 0x9
.long 13 ## 0xd
.long 5 ## 0x5
.long 5 ## 0x5
.long 7 ## 0x7
.long 4 ## 0x4
.long 10 ## 0xa
.long 3 ## 0x3
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 4 ## 0x4
.long 1 ## 0x1
.long 12 ## 0xc
.long 1 ## 0x1
.long 5 ## 0x5
.long 4 ## 0x4
.long 1 ## 0x1
.long 4 ## 0x4
.long 10 ## 0xa
.long 1 ## 0x1
.long 14 ## 0xe
.long 10 ## 0xa
.long 0 ## 0x0
.long 1 ## 0x1
.long 6 ## 0x6
.long 3 ## 0x3
.long 7 ## 0x7
.long 7 ## 0x7
.long 5 ## 0x5
.long 7 ## 0x7
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 13 ## 0xd
.long 6 ## 0x6
.long 10 ## 0xa
.long 11 ## 0xb
.long 5 ## 0x5
.long 7 ## 0x7
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 9 ## 0x9
.long 5 ## 0x5
.long 12 ## 0xc
.long 1 ## 0x1
.long 4 ## 0x4
.long 1 ## 0x1
.long 6 ## 0x6
.long 2 ## 0x2
.long 10 ## 0xa
.long 8 ## 0x8
.long 10 ## 0xa
.long 3 ## 0x3
.long 12 ## 0xc
.long 2 ## 0x2
.long 10 ## 0xa
.long 11 ## 0xb
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 2 ## 0x2
.long 11 ## 0xb
.long 12 ## 0xc
.long 0 ## 0x0
.long 10 ## 0xa
.long 10 ## 0xa
.long 9 ## 0x9
.long 5 ## 0x5
.long 5 ## 0x5
.long 4 ## 0x4
.long 2 ## 0x2
.long 2 ## 0x2
.long 1 ## 0x1
.long 6 ## 0x6
.long 10 ## 0xa
.long 10 ## 0xa
.long 9 ## 0x9
.long 12 ## 0xc
.long 1 ## 0x1
.long 5 ## 0x5
.long 12 ## 0xc
.long 9 ## 0x9
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 6 ## 0x6
.long 10 ## 0xa
.long 9 ## 0x9
.long 5 ## 0x5
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 6 ## 0x6
.long 2 ## 0x2
.long 1 ## 0x1
.long 5 ## 0x5
.long 5 ## 0x5
.long 12 ## 0xc
.long 10 ## 0xa
.long 2 ## 0x2
.long 3 ## 0x3
.long 6 ## 0x6
.long 10 ## 0xa
.long 8 ## 0x8
.long 11 ## 0xb
.long 5 ## 0x5
.long 7 ## 0x7
.long 6 ## 0x6
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.long 4 ## 0x4
.long 3 ## 0x3
.long 6 ## 0x6
.long 10 ## 0xa
.long 8 ## 0x8
.long 11 ## 0xb
.long 14 ## 0xe
.long 8 ## 0x8
.long 2 ## 0x2
.long 11 ## 0xb
.long 6 ## 0x6
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 8 ## 0x8
.long 3 ## 0x3
.long 14 ## 0xe
.long 8 ## 0x8
.long 10 ## 0xa
.long 2 ## 0x2
.long 11 ## 0xb
.long 12 ## 0xc
.long 3 ## 0x3
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.long 13 ## 0xd
.long 12 ## 0xc
.long 2 ## 0x2
.long 10 ## 0xa
.long 10 ## 0xa
.long 11 ## 0xb
.long 5 ## 0x5
.long 12 ## 0xc
.long 2 ## 0x2
.long 11 ## 0xb
.long 12 ## 0xc
.long 10 ## 0xa
.long 8 ## 0x8
.long 9 ## 0x9
.long 12 ## 0xc
.long 9 ## 0x9
.long 4 ## 0x4
.long 1 ## 0x1
.long 12 ## 0xc
.long 10 ## 0xa
.long 10 ## 0xa
.long 9 ## 0x9
.long 5 ## 0x5
.long 6 ## 0x6
.long 10 ## 0xa
.long 10 ## 0xa
.long 2 ## 0x2
.long 10 ## 0xa
.long 1 ## 0x1
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 14 ## 0xe
.long 9 ## 0x9
.long 5 ## 0x5
.long 5 ## 0x5
.long 14 ## 0xe
.long 8 ## 0x8
.long 10 ## 0xa
.long 8 ## 0x8
.long 10 ## 0xa
.long 1 ## 0x1
.long 6 ## 0x6
.long 1 ## 0x1
.long 4 ## 0x4
.long 1 ## 0x1
.long 5 ## 0x5
.long 6 ## 0x6
.long 10 ## 0xa
.long 3 ## 0x3
.long 5 ## 0x5
.long 6 ## 0x6
.long 10 ## 0xa
.long 2 ## 0x2
.long 10 ## 0xa
.long 3 ## 0x3
.long 14 ## 0xe
.long 2 ## 0x2
.long 10 ## 0xa
.long 3 ## 0x3
.long 7 ## 0x7
.long 7 ## 0x7
.long 6 ## 0x6
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 3 ## 0x3
.subsections_via_symbols
|
the_stack_data/132953267.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur s0, [x29, #-8]
stur s0, [x29, #-20] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldur s0, [x29, #-12]
stur s0, [x29, #-20] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldur s0, [x29, #-20] ; 4-byte Folded Reload
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enter 2 numbers with space in between: "
l_.str.1: ; @.str.1
.asciz "%f %f"
l_.str.2: ; @.str.2
.asciz "\n%0.1f is bigger"
l_.str.3: ; @.str.3
.asciz "\na is bigger"
l_.str.4: ; @.str.4
.asciz "\nb is bigger"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -12(%rbp), %xmm0
jbe LBB0_2
## %bb.1:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp) ## 4-byte Spill
LBB0_3:
movss -20(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -12(%rbp), %xmm0
jbe LBB0_5
## %bb.4:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.4(%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 "enter 2 numbers with space in between: "
L_.str.1: ## @.str.1
.asciz "%f %f"
L_.str.2: ## @.str.2
.asciz "\n%0.1f is bigger"
L_.str.3: ## @.str.3
.asciz "\na is bigger"
L_.str.4: ## @.str.4
.asciz "\nb is bigger"
.subsections_via_symbols
|
the_stack_data/827358.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
bl _getchar
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"
l_.str.1: ; @.str.1
.asciz "Press 'Enter' to exit this application\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
callq _getchar
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"
L_.str.1: ## @.str.1
.asciz "Press 'Enter' to exit this application\n"
.subsections_via_symbols
|
the_stack_data/25139007.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "I am a simple "
l_.str.1: ; @.str.1
.asciz "computer . \n"
l_.str.2: ; @.str.2
.asciz "My favorite number is %d because it is first. \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 $1, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "I am a simple "
L_.str.1: ## @.str.1
.asciz "computer . \n"
L_.str.2: ## @.str.2
.asciz "My favorite number is %d because it is first. \n "
.subsections_via_symbols
|
the_stack_data/145452087.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_bar_d0i0i0s0_ ; -- Begin function scilab_rt_bar_d0i0i0s0_
.p2align 2
_scilab_rt_bar_d0i0i0s0_: ; @scilab_rt_bar_d0i0i0s0_
.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 d0, [x29, #-8]
stur w0, [x29, #-12]
stur w1, [x29, #-16]
str x2, [sp, #24]
ldur d0, [x29, #-8]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x8, [sp, #24]
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
.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_bar_d0i0i0s0_ ## -- Begin function scilab_rt_bar_d0i0i0s0_
.p2align 4, 0x90
_scilab_rt_bar_d0i0i0s0_: ## @scilab_rt_bar_d0i0i0s0_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movsd %xmm0, -8(%rbp)
movl %edi, -12(%rbp)
movl %esi, -16(%rbp)
movq %rdx, -24(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%s"
.subsections_via_symbols
|
the_stack_data/237643400.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nrf_drv_common_clock_irq_disable ; -- Begin function nrf_drv_common_clock_irq_disable
.p2align 2
_nrf_drv_common_clock_irq_disable: ; @nrf_drv_common_clock_irq_disable
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #0
bl _nrf_drv_common_irq_disable
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function nrf_drv_common_irq_disable
_nrf_drv_common_irq_disable: ; @nrf_drv_common_irq_disable
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _NVIC_DisableIRQ
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nrf_drv_common_irq_enable ; -- Begin function nrf_drv_common_irq_enable
.p2align 2
_nrf_drv_common_irq_enable: ; @nrf_drv_common_irq_enable
.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]
sturb w1, [x29, #-5]
ldur w0, [x29, #-4]
ldurb w8, [x29, #-5]
mov x1, x8
bl _NVIC_SetPriority
ldur w0, [x29, #-4]
bl _NVIC_ClearPendingIRQ
ldur w0, [x29, #-4]
bl _NVIC_EnableIRQ
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function NVIC_SetPriority
_NVIC_SetPriority: ; @NVIC_SetPriority
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
mov x8, #57600
movk x8, #57344, lsl #16
add x8, x8, #1536
str x8, [sp] ; 8-byte Folded Spill
mov x8, #60672
movk x8, #57344, lsl #16
add x8, x8, #48
str x8, [sp, #8] ; 8-byte Folded Spill
str w0, [sp, #28]
str x1, [sp, #16]
ldrsw x8, [sp, #28]
subs x8, x8, #0
cset w8, ge
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16]
lsl x8, x8, #5
and x8, x8, #0xff
ldrsw x10, [sp, #28]
and x10, x10, #0xf
subs x10, x10, #4
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
b LBB3_3
LBB3_2:
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #16]
lsl x8, x8, #5
and x8, x8, #0xff
ldrsw x10, [sp, #28]
; kill: def $w8 killed $w8 killed $x8
strb w8, [x9, x10]
b LBB3_3
LBB3_3:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function NVIC_ClearPendingIRQ
_NVIC_ClearPendingIRQ: ; @NVIC_ClearPendingIRQ
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x8, #57600
movk x8, #57344, lsl #16
add x9, x8, #768
str w0, [sp, #12]
ldrsw x8, [sp, #12]
and x10, x8, #0x1f
mov x8, #1
lsl x8, x8, x10
ldrsw x10, [sp, #12]
lsr x10, x10, #5
str x8, [x9, x10, lsl #3]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function NVIC_EnableIRQ
_NVIC_EnableIRQ: ; @NVIC_EnableIRQ
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldrsw x8, [sp, #12]
and x9, x8, #0x1f
mov x8, #1
lsl x8, x8, x9
ldrsw x9, [sp, #12]
lsr x10, x9, #5
mov x9, #57600
movk x9, #57344, lsl #16
str x8, [x9, x10, lsl #3]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function NVIC_DisableIRQ
_NVIC_DisableIRQ: ; @NVIC_DisableIRQ
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x8, #57600
movk x8, #57344, lsl #16
add x9, x8, #256
str w0, [sp, #12]
ldrsw x8, [sp, #12]
and x10, x8, #0x1f
mov x8, #1
lsl x8, x8, x10
ldrsw x10, [sp, #12]
lsr x10, x10, #5
str x8, [x9, x10, lsl #3]
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 _nrf_drv_common_clock_irq_disable ## -- Begin function nrf_drv_common_clock_irq_disable
.p2align 4, 0x90
_nrf_drv_common_clock_irq_disable: ## @nrf_drv_common_clock_irq_disable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %edi, %edi
callq _nrf_drv_common_irq_disable
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function nrf_drv_common_irq_disable
_nrf_drv_common_irq_disable: ## @nrf_drv_common_irq_disable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
callq _NVIC_DisableIRQ
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nrf_drv_common_irq_enable ## -- Begin function nrf_drv_common_irq_enable
.p2align 4, 0x90
_nrf_drv_common_irq_enable: ## @nrf_drv_common_irq_enable
.cfi_startproc
## %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 %sil, %al
movl %edi, -4(%rbp)
movb %al, -5(%rbp)
movl -4(%rbp), %edi
movzbl -5(%rbp), %eax
movl %eax, %esi
callq _NVIC_SetPriority
movl -4(%rbp), %edi
callq _NVIC_ClearPendingIRQ
movl -4(%rbp), %edi
callq _NVIC_EnableIRQ
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function NVIC_SetPriority
_NVIC_SetPriority: ## @NVIC_SetPriority
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movslq -4(%rbp), %rax
cmpq $0, %rax
jge LBB3_2
## %bb.1:
movq -16(%rbp), %rax
shlq $5, %rax
andq $255, %rax
movb %al, %dl
movslq -4(%rbp), %rcx
andq $15, %rcx
subq $4, %rcx
movl $3758157056, %eax ## imm = 0xE000ED00
movb %dl, 48(%rax,%rcx)
jmp LBB3_3
LBB3_2:
movq -16(%rbp), %rax
shlq $5, %rax
andq $255, %rax
movb %al, %dl
movslq -4(%rbp), %rcx
movl $3758153984, %eax ## imm = 0xE000E100
movb %dl, 1536(%rax,%rcx)
LBB3_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function NVIC_ClearPendingIRQ
_NVIC_ClearPendingIRQ: ## @NVIC_ClearPendingIRQ
.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)
movslq -4(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movslq -4(%rbp), %rcx
shrq $5, %rcx
movl $3758153984, %eax ## imm = 0xE000E100
movq %rdx, 768(%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function NVIC_EnableIRQ
_NVIC_EnableIRQ: ## @NVIC_EnableIRQ
.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)
movslq -4(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movslq -4(%rbp), %rcx
shrq $5, %rcx
movl $3758153984, %eax ## imm = 0xE000E100
movq %rdx, (%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function NVIC_DisableIRQ
_NVIC_DisableIRQ: ## @NVIC_DisableIRQ
.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)
movslq -4(%rbp), %rcx
andq $31, %rcx
movl $1, %edx
## kill: def $cl killed $rcx
shlq %cl, %rdx
movslq -4(%rbp), %rcx
shrq $5, %rcx
movl $3758153984, %eax ## imm = 0xE000E100
movq %rdx, 256(%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/111079052.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func1 ; -- Begin function func1
.p2align 2
_func1: ; @func1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello from func1.c\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func1 ## -- Begin function func1
.p2align 4, 0x90
_func1: ## @func1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello from func1.c\n"
.subsections_via_symbols
|
the_stack_data/86075352.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x0, x29, #19
str x0, [sp, #16] ; 8-byte Folded Spill
bl _gets
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
sub x0, x29, #30
bl _gets
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x0, sp, #39
str x0, [sp, #24] ; 8-byte Folded Spill
bl _gets
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _system
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Qual o seu primeiro nome? "
l_.str.1: ; @.str.1
.asciz "E seu nome do meio? "
l_.str.2: ; @.str.2
.asciz "Hmm... Acho que conheco. Seu ultimo nome eh qual? "
l_.str.3: ; @.str.3
.asciz "Ola, %s %s. Meu nome eh Tom Riddle... \n"
l_.str.4: ; @.str.4
.asciz "PAUSE"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -48(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -19(%rbp), %rdi
callq _gets
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -30(%rbp), %rdi
callq _gets
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -41(%rbp), %rdi
callq _gets
leaq -19(%rbp), %rsi
leaq -41(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
callq _system
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Qual o seu primeiro nome? "
L_.str.1: ## @.str.1
.asciz "E seu nome do meio? "
L_.str.2: ## @.str.2
.asciz "Hmm... Acho que conheco. Seu ultimo nome eh qual? "
L_.str.3: ## @.str.3
.asciz "Ola, %s %s. Meu nome eh Tom Riddle... \n"
L_.str.4: ## @.str.4
.asciz "PAUSE"
.subsections_via_symbols
|
the_stack_data/145454232.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/248579665.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _error ; -- Begin function error
.p2align 2
_error: ; @error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _perror
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1360
sub x8, x29, #40
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #116]
str w0, [sp, #112]
str x1, [sp, #104]
ldr w8, [sp, #112]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #104]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_2:
ldr x8, [sp, #104]
ldr x0, [x8, #8]
bl _atoi
str w0, [sp, #100]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
str w0, [sp, #96]
ldr w8, [sp, #96]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _error
b LBB1_4
LBB1_4:
add x3, sp, #92
mov w8, #1
str w8, [sp, #92]
ldr w0, [sp, #96]
mov w1, #65535
mov w4, #4
mov x2, x4
bl _setsockopt
ldr x8, [sp, #40] ; 8-byte Folded Reload
str xzr, [x8]
str xzr, [x8, #8]
mov w8, #2
sturb w8, [x29, #-39]
stur wzr, [x29, #-36]
b LBB1_5
LBB1_5:
ldr w8, [sp, #100]
and w0, w8, #0xffff
bl __OSSwapInt16
and w8, w0, #0xffff
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB1_6
LBB1_6:
ldr w8, [sp, #36] ; 4-byte Folded Reload
sub x1, x29, #40
sturh w8, [x29, #-38]
ldr w0, [sp, #96]
mov w2, #16
bl _bind
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _error
b LBB1_8
LBB1_8:
ldr w0, [sp, #96]
mov w1, #5
bl _listen
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _error
b LBB1_10
LBB1_10:
mov w8, #20
str w8, [sp, #88]
str wzr, [sp, #84]
stur wzr, [x29, #-200]
mov w8, #64
sturh w8, [x29, #-196]
ldr w9, [sp, #84]
add w9, w9, #1
str w9, [sp, #84]
ldr w9, [sp, #96]
stur w9, [x29, #-192]
sturh w8, [x29, #-188]
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB1_11
LBB1_11: ; =>This Loop Header: Depth=1
; Child Loop BB1_27 Depth 2
ldr w1, [sp, #84]
sub x0, x29, #200
mov w2, #-1
bl _poll
str w0, [sp, #76]
ldr w9, [sp, #76]
; 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
ldursh w8, [x29, #-194]
ands w8, w8, #0x40
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _puts
b LBB1_45
LBB1_13: ; in Loop: Header=BB1_11 Depth=1
ldursh w8, [x29, #-186]
ands w8, w8, #0x40
cset w8, eq
tbnz w8, #0, LBB1_26
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_11 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _puts
add x2, sp, #72
mov w8, #16
str w8, [sp, #72]
ldr w0, [sp, #96]
add x1, sp, #136
bl _accept
str w0, [sp, #68]
ldr w8, [sp, #68]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_11 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _error
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_11 Depth=1
add x8, sp, #136
add x1, x8, #4
mov w0, #2
add x2, sp, #120
mov w3, #16
bl _inet_ntop
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_11 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _error
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_11 Depth=1
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_11 Depth=1
ldrh w0, [sp, #138]
bl __OSSwapInt16
str w0, [sp, #32] ; 4-byte Folded Spill
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_11 Depth=1
ldr w10, [sp, #32] ; 4-byte Folded Reload
mov x9, sp
add x8, sp, #120
str x8, [x9]
; implicit-def: $x8
mov x8, x10
and x8, x8, #0xffff
and x8, x8, #0xffff
str x8, [x9, #8]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w8, [sp, #84]
subs w8, w8, #20
cset w8, ne
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_11 Depth=1
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _puts
ldr w0, [sp, #68]
bl _close
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_11 Depth=1
ldr w9, [sp, #68]
ldrsw x8, [sp, #84]
lsl x10, x8, #3
sub x8, x29, #200
str w9, [x8, x10]
ldrsw x9, [sp, #84]
add x9, x8, x9, lsl #3
mov w8, #64
strh w8, [x9, #4]
ldr w8, [sp, #84]
add w8, w8, #1
str w8, [sp, #84]
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_11 Depth=1
ldr w8, [sp, #76]
subs w8, w8, #1
str w8, [sp, #76]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_11 Depth=1
b LBB1_11
LBB1_25: ; in Loop: Header=BB1_11 Depth=1
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_11 Depth=1
mov w8, #2
str w8, [sp, #64]
b LBB1_27
LBB1_27: ; Parent Loop BB1_11 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #76]
subs w8, w8, #0
cset w8, le
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_29
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_27 Depth=2
ldr w8, [sp, #64]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_27 Depth=2
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB1_44
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_27 Depth=2
ldrsw x9, [sp, #64]
sub x8, x29, #200
add x8, x8, x9, lsl #3
ldrh w8, [x8, #6]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_42
b LBB1_31
LBB1_31: ; in Loop: Header=BB1_27 Depth=2
ldrsw x8, [sp, #64]
lsl x9, x8, #3
sub x8, x29, #200
ldr w8, [x8, x9]
str w8, [sp, #60]
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr w0, [sp, #60]
add x1, sp, #152
mov x2, #1024
bl _read
mov x8, x0
str w8, [sp, #80]
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_27 Depth=2
ldr w0, [sp, #60]
bl _close
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _error
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_27 Depth=2
ldrsw x10, [sp, #80]
add x8, sp, #152
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
ldr w9, [sp, #80]
; implicit-def: $x10
mov x10, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_37
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_27 Depth=2
ldr w0, [sp, #60]
ldrsw x2, [sp, #80]
add x1, sp, #152
bl _write
mov x8, x0
str w8, [sp, #56]
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_36
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_27 Depth=2
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _error
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_27 Depth=2
b LBB1_37
LBB1_37: ; in Loop: Header=BB1_27 Depth=2
ldr w8, [sp, #80]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_40
b LBB1_38
LBB1_38: ; in Loop: Header=BB1_27 Depth=2
add x0, sp, #152
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
mov x2, #4
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_41
b LBB1_39
LBB1_39: ; in Loop: Header=BB1_27 Depth=2
ldrsb w8, [sp, #156]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB1_41
b LBB1_40
LBB1_40: ; in Loop: Header=BB1_27 Depth=2
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldr w0, [sp, #60]
bl _close
ldrsw x10, [sp, #64]
sub x9, x29, #200
ldr w8, [sp, #84]
subs w8, w8, #1
str w8, [sp, #84]
ldr x8, [x9, w8, sxtw #3]
str x8, [x9, x10, lsl #3]
ldr w8, [sp, #64]
subs w8, w8, #1
str w8, [sp, #64]
b LBB1_41
LBB1_41: ; in Loop: Header=BB1_27 Depth=2
ldr w8, [sp, #76]
subs w8, w8, #1
str w8, [sp, #76]
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_27 Depth=2
b LBB1_43
LBB1_43: ; in Loop: Header=BB1_27 Depth=2
ldr w8, [sp, #64]
add w8, w8, #1
str w8, [sp, #64]
b LBB1_27
LBB1_44: ; in Loop: Header=BB1_11 Depth=1
b LBB1_11
LBB1_45:
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _puts
str wzr, [sp, #52]
b LBB1_46
LBB1_46: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #52]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_49
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_46 Depth=1
ldrsw x8, [sp, #52]
lsl x9, x8, #3
sub x8, x29, #200
ldr w0, [x8, x9]
bl _close
b LBB1_48
LBB1_48: ; in Loop: Header=BB1_46 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB1_46
LBB1_49:
ldr w0, [sp, #96]
bl _close
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _puts
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_51
b LBB1_50
LBB1_50:
bl ___stack_chk_fail
LBB1_51:
mov w0, #0
add sp, sp, #1360
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "use: %s <port>\n"
l_.str.1: ; @.str.1
.asciz ":: START ::"
l_.str.2: ; @.str.2
.asciz "ERROR opening socket"
l_.str.3: ; @.str.3
.asciz "ERROR on binding"
l_.str.4: ; @.str.4
.asciz "ERROR on listen"
l_.str.5: ; @.str.5
.asciz ">> there are %d ready descriptors\n"
l_.str.6: ; @.str.6
.asciz "** exiting **"
l_.str.7: ; @.str.7
.asciz "** new connection **"
l_.str.8: ; @.str.8
.asciz "ERROR on accept"
l_.str.9: ; @.str.9
.asciz "ERROR on inet_ntoa\n"
l_.str.10: ; @.str.10
.asciz "server established connection with %s at port %d\n"
l_.str.11: ; @.str.11
.asciz "** maximum clients exceeded"
l_.str.12: ; @.str.12
.asciz "** event occurred on client %d **\n"
l_.str.13: ; @.str.13
.asciz "ERROR reading from socket"
l_.str.14: ; @.str.14
.asciz "server received %d bytes: %s\n"
l_.str.15: ; @.str.15
.asciz "ERROR writing to socket"
l_.str.16: ; @.str.16
.asciz "quit"
l_.str.17: ; @.str.17
.asciz "** client %d closing **\n"
l_.str.18: ; @.str.18
.asciz "** closing **"
l_.str.19: ; @.str.19
.asciz ":: END ::"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _error ## -- Begin function error
.p2align 4, 0x90
_error: ## @error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _perror
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1344, %rsp ## imm = 0x540
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1252(%rbp)
movl %edi, -1256(%rbp)
movq %rsi, -1264(%rbp)
cmpl $2, -1256(%rbp)
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -1264(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_2:
movq -1264(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -1268(%rbp)
leaq L_.str.1(%rip), %rdi
callq _puts
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -1272(%rbp)
cmpl $0, -1272(%rbp)
jge LBB1_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
callq _error
LBB1_4:
movl $1, -1276(%rbp)
movl -1272(%rbp), %edi
leaq -1276(%rbp), %rcx
movl $65535, %esi ## imm = 0xFFFF
movl $4, %r8d
movl %r8d, %edx
callq _setsockopt
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -23(%rbp)
movl $0, -20(%rbp)
## %bb.5:
movl -1268(%rbp), %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -1320(%rbp) ## 4-byte Spill
## %bb.6:
movl -1320(%rbp), %eax ## 4-byte Reload
movw %ax, -22(%rbp)
movl -1272(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $0, %eax
jge LBB1_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
callq _error
LBB1_8:
movl -1272(%rbp), %edi
movl $5, %esi
callq _listen
cmpl $0, %eax
jge LBB1_10
## %bb.9:
leaq L_.str.4(%rip), %rdi
callq _error
LBB1_10:
movl $20, -1280(%rbp)
movl $0, -1284(%rbp)
movl $0, -192(%rbp)
movw $64, -188(%rbp)
movl -1284(%rbp), %eax
addl $1, %eax
movl %eax, -1284(%rbp)
movl -1272(%rbp), %eax
movl %eax, -184(%rbp)
movw $64, -180(%rbp)
movl -1284(%rbp), %eax
addl $1, %eax
movl %eax, -1284(%rbp)
LBB1_11: ## =>This Loop Header: Depth=1
## Child Loop BB1_27 Depth 2
leaq -192(%rbp), %rdi
movl -1284(%rbp), %esi
movl $4294967295, %edx ## imm = 0xFFFFFFFF
callq _poll
movl %eax, -1292(%rbp)
movl -1292(%rbp), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movswl -186(%rbp), %eax
andl $64, %eax
cmpl $0, %eax
je LBB1_13
## %bb.12:
leaq L_.str.6(%rip), %rdi
callq _puts
jmp LBB1_45
LBB1_13: ## in Loop: Header=BB1_11 Depth=1
movswl -178(%rbp), %eax
andl $64, %eax
cmpl $0, %eax
je LBB1_26
## %bb.14: ## in Loop: Header=BB1_11 Depth=1
leaq L_.str.7(%rip), %rdi
callq _puts
movl $16, -1296(%rbp)
movl -1272(%rbp), %edi
leaq -1232(%rbp), %rsi
leaq -1296(%rbp), %rdx
callq _accept
movl %eax, -1300(%rbp)
cmpl $0, -1300(%rbp)
jge LBB1_16
## %bb.15: ## in Loop: Header=BB1_11 Depth=1
leaq L_.str.8(%rip), %rdi
callq _error
LBB1_16: ## in Loop: Header=BB1_11 Depth=1
leaq -1232(%rbp), %rsi
addq $4, %rsi
leaq -1248(%rbp), %rdx
movl $2, %edi
movl $16, %ecx
callq _inet_ntop
cmpq $0, %rax
jne LBB1_18
## %bb.17: ## in Loop: Header=BB1_11 Depth=1
leaq L_.str.9(%rip), %rdi
callq _error
LBB1_18: ## in Loop: Header=BB1_11 Depth=1
leaq -1248(%rbp), %rax
movq %rax, -1328(%rbp) ## 8-byte Spill
## %bb.19: ## in Loop: Header=BB1_11 Depth=1
movzwl -1230(%rbp), %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -1332(%rbp) ## 4-byte Spill
## %bb.20: ## in Loop: Header=BB1_11 Depth=1
movq -1328(%rbp), %rsi ## 8-byte Reload
movl -1332(%rbp), %eax ## 4-byte Reload
movzwl %ax, %edx
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
cmpl $20, -1284(%rbp)
jne LBB1_22
## %bb.21: ## in Loop: Header=BB1_11 Depth=1
leaq L_.str.11(%rip), %rdi
callq _puts
movl -1300(%rbp), %edi
callq _close
jmp LBB1_23
LBB1_22: ## in Loop: Header=BB1_11 Depth=1
movl -1300(%rbp), %ecx
movslq -1284(%rbp), %rax
movl %ecx, -192(%rbp,%rax,8)
movslq -1284(%rbp), %rax
movw $64, -188(%rbp,%rax,8)
movl -1284(%rbp), %eax
addl $1, %eax
movl %eax, -1284(%rbp)
LBB1_23: ## in Loop: Header=BB1_11 Depth=1
movl -1292(%rbp), %eax
addl $-1, %eax
movl %eax, -1292(%rbp)
cmpl $0, %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_11 Depth=1
jmp LBB1_11
LBB1_25: ## in Loop: Header=BB1_11 Depth=1
jmp LBB1_26
LBB1_26: ## in Loop: Header=BB1_11 Depth=1
movl $2, -1304(%rbp)
LBB1_27: ## Parent Loop BB1_11 Depth=1
## => This Inner Loop Header: Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -1292(%rbp)
movb %al, -1333(%rbp) ## 1-byte Spill
jle LBB1_29
## %bb.28: ## in Loop: Header=BB1_27 Depth=2
movl -1304(%rbp), %eax
cmpl -1284(%rbp), %eax
setl %al
movb %al, -1333(%rbp) ## 1-byte Spill
LBB1_29: ## in Loop: Header=BB1_27 Depth=2
movb -1333(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_30
jmp LBB1_44
LBB1_30: ## in Loop: Header=BB1_27 Depth=2
movslq -1304(%rbp), %rax
cmpw $0, -186(%rbp,%rax,8)
je LBB1_42
## %bb.31: ## in Loop: Header=BB1_27 Depth=2
movslq -1304(%rbp), %rax
movl -192(%rbp,%rax,8), %eax
movl %eax, -1308(%rbp)
movl -1308(%rbp), %esi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movl -1308(%rbp), %edi
leaq -1216(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -1288(%rbp)
cmpl $0, -1288(%rbp)
jge LBB1_33
## %bb.32: ## in Loop: Header=BB1_27 Depth=2
movl -1308(%rbp), %edi
callq _close
leaq L_.str.13(%rip), %rdi
callq _error
LBB1_33: ## in Loop: Header=BB1_27 Depth=2
movslq -1288(%rbp), %rax
movb $0, -1216(%rbp,%rax)
movl -1288(%rbp), %esi
leaq -1216(%rbp), %rdx
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
cmpl $0, -1288(%rbp)
jle LBB1_37
## %bb.34: ## in Loop: Header=BB1_27 Depth=2
movl -1308(%rbp), %edi
leaq -1216(%rbp), %rsi
movslq -1288(%rbp), %rdx
callq _write
## kill: def $eax killed $eax killed $rax
movl %eax, -1312(%rbp)
cmpl $0, -1312(%rbp)
jge LBB1_36
## %bb.35: ## in Loop: Header=BB1_27 Depth=2
leaq L_.str.15(%rip), %rdi
callq _error
LBB1_36: ## in Loop: Header=BB1_27 Depth=2
jmp LBB1_37
LBB1_37: ## in Loop: Header=BB1_27 Depth=2
cmpl $0, -1288(%rbp)
je LBB1_40
## %bb.38: ## in Loop: Header=BB1_27 Depth=2
leaq -1216(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
movl $4, %edx
callq _strncmp
cmpl $0, %eax
jne LBB1_41
## %bb.39: ## in Loop: Header=BB1_27 Depth=2
movsbl -1212(%rbp), %eax
cmpl $32, %eax
jge LBB1_41
LBB1_40: ## in Loop: Header=BB1_27 Depth=2
movl -1308(%rbp), %esi
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movl -1308(%rbp), %edi
callq _close
movslq -1304(%rbp), %rax
movl -1284(%rbp), %ecx
addl $-1, %ecx
movl %ecx, -1284(%rbp)
movslq %ecx, %rcx
movq -192(%rbp,%rcx,8), %rcx
movq %rcx, -192(%rbp,%rax,8)
movl -1304(%rbp), %eax
addl $-1, %eax
movl %eax, -1304(%rbp)
LBB1_41: ## in Loop: Header=BB1_27 Depth=2
movl -1292(%rbp), %eax
addl $-1, %eax
movl %eax, -1292(%rbp)
LBB1_42: ## in Loop: Header=BB1_27 Depth=2
jmp LBB1_43
LBB1_43: ## in Loop: Header=BB1_27 Depth=2
movl -1304(%rbp), %eax
addl $1, %eax
movl %eax, -1304(%rbp)
jmp LBB1_27
LBB1_44: ## in Loop: Header=BB1_11 Depth=1
jmp LBB1_11
LBB1_45:
leaq L_.str.18(%rip), %rdi
callq _puts
movl $0, -1316(%rbp)
LBB1_46: ## =>This Inner Loop Header: Depth=1
movl -1316(%rbp), %eax
cmpl -1284(%rbp), %eax
jge LBB1_49
## %bb.47: ## in Loop: Header=BB1_46 Depth=1
movslq -1316(%rbp), %rax
movl -192(%rbp,%rax,8), %edi
callq _close
## %bb.48: ## in Loop: Header=BB1_46 Depth=1
movl -1316(%rbp), %eax
addl $1, %eax
movl %eax, -1316(%rbp)
jmp LBB1_46
LBB1_49:
movl -1272(%rbp), %edi
callq _close
leaq L_.str.19(%rip), %rdi
callq _puts
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_51
## %bb.50:
xorl %eax, %eax
addq $1344, %rsp ## imm = 0x540
popq %rbp
retq
LBB1_51:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "use: %s <port>\n"
L_.str.1: ## @.str.1
.asciz ":: START ::"
L_.str.2: ## @.str.2
.asciz "ERROR opening socket"
L_.str.3: ## @.str.3
.asciz "ERROR on binding"
L_.str.4: ## @.str.4
.asciz "ERROR on listen"
L_.str.5: ## @.str.5
.asciz ">> there are %d ready descriptors\n"
L_.str.6: ## @.str.6
.asciz "** exiting **"
L_.str.7: ## @.str.7
.asciz "** new connection **"
L_.str.8: ## @.str.8
.asciz "ERROR on accept"
L_.str.9: ## @.str.9
.asciz "ERROR on inet_ntoa\n"
L_.str.10: ## @.str.10
.asciz "server established connection with %s at port %d\n"
L_.str.11: ## @.str.11
.asciz "** maximum clients exceeded"
L_.str.12: ## @.str.12
.asciz "** event occurred on client %d **\n"
L_.str.13: ## @.str.13
.asciz "ERROR reading from socket"
L_.str.14: ## @.str.14
.asciz "server received %d bytes: %s\n"
L_.str.15: ## @.str.15
.asciz "ERROR writing to socket"
L_.str.16: ## @.str.16
.asciz "quit"
L_.str.17: ## @.str.17
.asciz "** client %d closing **\n"
L_.str.18: ## @.str.18
.asciz "** closing **"
L_.str.19: ## @.str.19
.asciz ":: END ::"
.subsections_via_symbols
|
the_stack_data/45450799.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #336
.cfi_def_cfa_offset 336
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
sub x0, x29, #32
bl _pipe
bl _fork
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-32]
bl _close
ldur w0, [x29, #-28]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov x2, #11
bl _write
mov w0, #0
bl _exit
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w0, [x29, #-28]
bl _close
ldur w0, [x29, #-32]
add x1, sp, #32
str x1, [sp, #16] ; 8-byte Folded Spill
mov x2, #256
bl _read
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, x0
str w9, [sp, #24]
ldr w9, [sp, #24]
; implicit-def: $x10
mov x10, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #336
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error fork \n"
l_.str.1: ; @.str.1
.asciz "in child process ... \n"
l_.str.2: ; @.str.2
.asciz "hello world"
l_.str.3: ; @.str.3
.asciz "in parent process ... \n"
l_.str.4: ; @.str.4
.asciz "%d bytes of data received from child process : %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 $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -16(%rbp), %rdi
callq _pipe
callq _fork
movl %eax, -276(%rbp)
cmpl $0, -276(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
cmpl $0, -276(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
movl %eax, -284(%rbp) ## 4-byte Spill
callq _printf
movl -16(%rbp), %edi
callq _close
movl -12(%rbp), %edi
leaq L_.str.2(%rip), %rsi
movl $11, %edx
callq _write
movl -284(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_4:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -12(%rbp), %edi
callq _close
movl -16(%rbp), %edi
leaq -272(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -280(%rbp)
movl -280(%rbp), %esi
leaq -272(%rbp), %rdx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5:
jmp LBB0_6
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error fork \n"
L_.str.1: ## @.str.1
.asciz "in child process ... \n"
L_.str.2: ## @.str.2
.asciz "hello world"
L_.str.3: ## @.str.3
.asciz "in parent process ... \n"
L_.str.4: ## @.str.4
.asciz "%d bytes of data received from child process : %s \n"
.subsections_via_symbols
|
the_stack_data/681171.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bsearch ; -- Begin function bsearch
.p2align 2
_bsearch: ; @bsearch
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
str x4, [sp, #48]
str xzr, [sp, #40]
ldur x8, [x29, #-32]
subs x8, x8, #1
str x8, [sp, #32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_15
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #32]
ldr x10, [sp, #40]
subs x9, x9, x10
mov x10, #2
udiv x9, x9, x10
add x8, x8, x9
str x8, [sp, #24]
ldur x8, [x29, #-24]
ldr x9, [sp, #24]
ldur x10, [x29, #-40]
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #48]
ldur x0, [x29, #-16]
ldr x1, [sp, #16]
blr x8
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_15
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #1
str x8, [sp, #32]
b LBB0_14
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #40]
ldr x8, [sp, #40]
ldr x9, [sp, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB0_15
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
b LBB0_13
LBB0_12:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_15:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bsearch ## -- Begin function bsearch
.p2align 4, 0x90
_bsearch: ## @bsearch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq $0, -56(%rbp)
movq -32(%rbp), %rax
subq $1, %rax
movq %rax, -64(%rbp)
cmpq $0, -32(%rbp)
jne LBB0_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB0_15
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax
movq -64(%rbp), %rcx
subq -56(%rbp), %rcx
shrq $1, %rcx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq -24(%rbp), %rax
movq -72(%rbp), %rcx
imulq -40(%rbp), %rcx
addq %rcx, %rax
movq %rax, -80(%rbp)
movq -48(%rbp), %rax
movq -16(%rbp), %rdi
movq -80(%rbp), %rsi
callq *%rax
movl %eax, -84(%rbp)
cmpl $0, -84(%rbp)
jge LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -72(%rbp)
jne LBB0_6
## %bb.5:
movq $0, -8(%rbp)
jmp LBB0_15
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rax
subq $1, %rax
movq %rax, -64(%rbp)
jmp LBB0_14
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
cmpl $0, -84(%rbp)
jle LBB0_12
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
cmpq -72(%rbp), %rax
jb LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax
cmpq -64(%rbp), %rax
jbe LBB0_11
LBB0_10:
movq $0, -8(%rbp)
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_13
LBB0_12:
movq -80(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_15:
movq -8(%rbp), %rax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/90761877.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-8]
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_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TABLES OF TRIANGULAR NUMBERS\n\n"
l_.str.1: ; @.str.1
.asciz "n Sum from 1 to n\n"
l_.str.2: ; @.str.2
.asciz "--- ---------------\n"
l_.str.3: ; @.str.3
.asciz "%-2i %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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -8(%rbp)
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TABLES OF TRIANGULAR NUMBERS\n\n"
L_.str.1: ## @.str.1
.asciz "n Sum from 1 to n\n"
L_.str.2: ## @.str.2
.asciz "--- ---------------\n"
L_.str.3: ## @.str.3
.asciz "%-2i %i\n"
.subsections_via_symbols
|
the_stack_data/51700183.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1136
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #100]
str w0, [sp, #96]
str x1, [sp, #88]
; kill: def $x8 killed $xzr
str xzr, [sp, #80]
add x0, sp, #104
mov x1, #1024
bl _bzero
adrp x8, l___const.main.sep@PAGE
add x8, x8, l___const.main.sep@PAGEOFF
ldrh w8, [x8]
strh w8, [sp, #78]
str xzr, [sp, #64]
ldr w8, [sp, #96]
subs w8, w8, #3
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #88]
ldr x0, [x8, #8]
bl _strlen
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x8, [sp, #88]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #100]
b LBB0_16
LBB0_3:
ldr x8, [sp, #88]
ldr x8, [x8, #8]
str x8, [sp, #80]
str wzr, [sp, #56]
mov w8, #2
str w8, [sp, #60]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #60]
ldr w9, [sp, #96]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldrsw x9, [sp, #56]
add x8, sp, #104
add x0, x8, x9
ldrsw x9, [sp, #56]
mov x8, #1024
subs x1, x8, x9
ldr x8, [sp, #88]
ldrsw x9, [sp, #60]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
add x8, sp, #78
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9, #8]
mov w2, #0
mov x3, #-1
adrp x4, l_.str.1@PAGE
add x4, x4, l_.str.1@PAGEOFF
bl ___snprintf_chk
ldr x8, [sp, #88]
ldrsw x9, [sp, #60]
ldr x0, [x8, x9, lsl #3]
bl _strlen
mov x8, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
str x8, [sp, #48] ; 8-byte Folded Spill
bl _strlen
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
add x9, x0, x8
ldrsw x8, [sp, #56]
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #56]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB0_4
LBB0_7:
ldr x0, [sp, #80]
bl _getpwnam
mov x8, x0
str x8, [sp, #64]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
bl ___error
ldr w8, [x0]
str w8, [sp, #100]
b LBB0_16
LBB0_9:
ldr x8, [sp, #64]
ldr w0, [x8, #20]
bl _setgid
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
bl ___error
ldr w8, [x0]
str w8, [sp, #100]
b LBB0_16
LBB0_11:
ldr x8, [sp, #64]
ldr w0, [x8, #16]
bl _setuid
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _perror
bl ___error
ldr w8, [x0]
str w8, [sp, #100]
b LBB0_16
LBB0_13:
mov x8, sp
adrp x9, l_.str.7@PAGE
add x9, x9, l_.str.7@PAGEOFF
str x9, [x8]
add x9, sp, #104
str x9, [x8, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _execl
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _perror
bl ___error
ldr w8, [x0]
str w8, [sp, #100]
b LBB0_16
LBB0_15:
str wzr, [sp, #100]
b LBB0_16
LBB0_16:
ldr w8, [sp, #100]
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, LBB0_18
b LBB0_17
LBB0_17:
bl ___stack_chk_fail
LBB0_18:
ldr w0, [sp, #36] ; 4-byte Folded Reload
add sp, sp, #1136
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.sep: ; @__const.main.sep
.asciz " "
l_.str: ; @.str
.asciz "\tUsage: %s <login> <commands> ...\n"
l_.str.1: ; @.str.1
.asciz "%s%s"
l_.str.2: ; @.str.2
.asciz "getpwnam"
l_.str.3: ; @.str.3
.asciz "setgid"
l_.str.4: ; @.str.4
.asciz "setuid"
l_.str.5: ; @.str.5
.asciz "/usr/xpg4/bin/sh"
l_.str.6: ; @.str.6
.asciz "sh"
l_.str.7: ; @.str.7
.asciz "-c"
l_.str.8: ; @.str.8
.asciz "execl: /usr/xpg4/bin/sh"
.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 $1120, %rsp ## imm = 0x460
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1044(%rbp)
movl %edi, -1048(%rbp)
movq %rsi, -1056(%rbp)
movq $0, -1064(%rbp)
leaq -1040(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
movw L___const.main.sep(%rip), %ax
movw %ax, -1066(%rbp)
movq $0, -1080(%rbp)
cmpl $3, -1048(%rbp)
jl LBB0_2
## %bb.1:
movq -1056(%rbp), %rax
movq 8(%rax), %rdi
callq _strlen
cmpq $0, %rax
jne LBB0_3
LBB0_2:
movq -1056(%rbp), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -1044(%rbp)
jmp LBB0_16
LBB0_3:
movq -1056(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -1064(%rbp)
movl $0, -1088(%rbp)
movl $2, -1084(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -1084(%rbp), %eax
cmpl -1048(%rbp), %eax
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
leaq -1040(%rbp), %rdi
movslq -1088(%rbp), %rax
addq %rax, %rdi
movslq -1088(%rbp), %rax
movl $1024, %esi ## imm = 0x400
subq %rax, %rsi
movq -1056(%rbp), %rax
movslq -1084(%rbp), %rcx
movq (%rax,%rcx,8), %r9
leaq -1066(%rbp), %rax
xorl %edx, %edx
movq $-1, %rcx
leaq L_.str.1(%rip), %r8
movq %rax, (%rsp)
movb $0, %al
callq ___snprintf_chk
movq -1056(%rbp), %rax
movslq -1084(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _strlen
movq %rax, -1096(%rbp) ## 8-byte Spill
leaq -1066(%rbp), %rdi
callq _strlen
movq -1096(%rbp), %rcx ## 8-byte Reload
addq %rax, %rcx
movslq -1088(%rbp), %rax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -1088(%rbp)
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -1084(%rbp), %eax
addl $1, %eax
movl %eax, -1084(%rbp)
jmp LBB0_4
LBB0_7:
movq -1064(%rbp), %rdi
callq _getpwnam
movq %rax, -1080(%rbp)
cmpq $0, %rax
jne LBB0_9
## %bb.8:
leaq L_.str.2(%rip), %rdi
callq _perror
callq ___error
movl (%rax), %eax
movl %eax, -1044(%rbp)
jmp LBB0_16
LBB0_9:
movq -1080(%rbp), %rax
movl 20(%rax), %edi
callq _setgid
cmpl $0, %eax
je LBB0_11
## %bb.10:
leaq L_.str.3(%rip), %rdi
callq _perror
callq ___error
movl (%rax), %eax
movl %eax, -1044(%rbp)
jmp LBB0_16
LBB0_11:
movq -1080(%rbp), %rax
movl 16(%rax), %edi
callq _setuid
cmpl $0, %eax
je LBB0_13
## %bb.12:
leaq L_.str.4(%rip), %rdi
callq _perror
callq ___error
movl (%rax), %eax
movl %eax, -1044(%rbp)
jmp LBB0_16
LBB0_13:
leaq -1040(%rbp), %rcx
leaq L_.str.5(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.7(%rip), %rdx
xorl %eax, %eax
movl %eax, %r8d
movb $0, %al
callq _execl
cmpl $0, %eax
je LBB0_15
## %bb.14:
leaq L_.str.8(%rip), %rdi
callq _perror
callq ___error
movl (%rax), %eax
movl %eax, -1044(%rbp)
jmp LBB0_16
LBB0_15:
movl $0, -1044(%rbp)
LBB0_16:
movl -1044(%rbp), %eax
movl %eax, -1100(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_18
## %bb.17:
movl -1100(%rbp), %eax ## 4-byte Reload
addq $1120, %rsp ## imm = 0x460
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.sep: ## @__const.main.sep
.asciz " "
L_.str: ## @.str
.asciz "\tUsage: %s <login> <commands> ...\n"
L_.str.1: ## @.str.1
.asciz "%s%s"
L_.str.2: ## @.str.2
.asciz "getpwnam"
L_.str.3: ## @.str.3
.asciz "setgid"
L_.str.4: ## @.str.4
.asciz "setuid"
L_.str.5: ## @.str.5
.asciz "/usr/xpg4/bin/sh"
L_.str.6: ## @.str.6
.asciz "sh"
L_.str.7: ## @.str.7
.asciz "-c"
L_.str.8: ## @.str.8
.asciz "execl: /usr/xpg4/bin/sh"
.subsections_via_symbols
|
the_stack_data/809651.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _spin_lock ; -- Begin function spin_lock
.p2align 2
_spin_lock: ; @spin_lock
.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 __raw_spin_lock
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _spin_unlock ; -- Begin function spin_unlock
.p2align 2
_spin_unlock: ; @spin_unlock
.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 __raw_spin_unlock
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _nondet ; -- Begin function nondet
.p2align 2
_nondet: ; @nondet
.cfi_startproc
; %bb.0:
mov w0, #42
ret
.cfi_endproc
; -- End function
.globl _ivtv_irq_handler ; -- Begin function ivtv_irq_handler
.p2align 2
_ivtv_irq_handler: ; @ivtv_irq_handler
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
ldr x8, [sp, #16]
str x8, [sp, #8]
str wzr, [sp]
ldr x0, [sp, #8]
bl _spin_lock
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
b LBB3_2
LBB3_2:
ldr w9, [sp, #4]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_3
LBB3_3:
ldr w8, [sp]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
ldr x0, [sp, #8]
bl _spin_unlock
b LBB3_8
LBB3_5:
b LBB3_6
LBB3_6:
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
ldr x0, [sp, #8]
bl _spin_lock
b LBB3_8
LBB3_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _spin_lock ## -- Begin function spin_lock
.p2align 4, 0x90
_spin_lock: ## @spin_lock
.cfi_startproc
## %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 __raw_spin_lock
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _spin_unlock ## -- Begin function spin_unlock
.p2align 4, 0x90
_spin_unlock: ## @spin_unlock
.cfi_startproc
## %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 __raw_spin_unlock
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _nondet ## -- Begin function nondet
.p2align 4, 0x90
_nondet: ## @nondet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $42, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ivtv_irq_handler ## -- Begin function ivtv_irq_handler
.p2align 4, 0x90
_ivtv_irq_handler: ## @ivtv_irq_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 $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movl $0, -32(%rbp)
movq -24(%rbp), %rdi
callq _spin_lock
cmpl $0, -28(%rbp)
je LBB3_2
## %bb.1:
jmp LBB3_2
LBB3_2:
xorl %eax, %eax
cmpl -28(%rbp), %eax
jne LBB3_6
## %bb.3:
cmpl $0, -32(%rbp)
jne LBB3_5
## %bb.4:
movq -24(%rbp), %rdi
callq _spin_unlock
jmp LBB3_8
LBB3_5:
jmp LBB3_6
LBB3_6:
cmpl $0, -28(%rbp)
jne LBB3_8
## %bb.7:
movq -24(%rbp), %rdi
callq _spin_lock
LBB3_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/32950751.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
sub x8, x29, #16
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
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 _perror
mov w8, #1
stur w8, [x29, #-4]
b LBB0_10
LBB0_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fileno
add x1, sp, #32
bl _fstat
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w8, #1
stur w8, [x29, #-4]
b LBB0_10
LBB0_4:
ldr w9, [sp, #144]
; implicit-def: $x8
mov x8, x9
mov x9, sp
mov x10, #1024
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
ldrsw x3, [sp, #144]
mov x1, #0
mov w2, #0
bl _setvbuf
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
mov w8, #1
stur w8, [x29, #-4]
b LBB0_10
LBB0_6:
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fgetc
str w0, [sp, #28]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
b LBB0_7
LBB0_9:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
stur wzr, [x29, #-4]
b LBB0_10
LBB0_10:
ldur w0, [x29, #-4]
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 "/tmp/test.txt"
l_.str.1: ; @.str.1
.asciz "w+"
l_.str.2: ; @.str.2
.asciz "fopen"
l_.str.3: ; @.str.3
.asciz "fstat"
l_.str.4: ; @.str.4
.asciz "BUFSIZ is %d, but optimal block size is %ld\n"
l_.str.5: ; @.str.5
.asciz "setvbuf failed"
.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
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, -4(%rbp)
jmp LBB0_10
LBB0_2:
movq -16(%rbp), %rdi
callq _fileno
movl %eax, %edi
leaq -160(%rbp), %rsi
callq _fstat$INODE64
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, -4(%rbp)
jmp LBB0_10
LBB0_4:
movl -48(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movl $1024, %esi ## imm = 0x400
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
movslq -48(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _setvbuf
cmpl $0, %eax
je LBB0_6
## %bb.5:
leaq L_.str.5(%rip), %rdi
callq _perror
movl $1, -4(%rbp)
jmp LBB0_10
LBB0_6:
jmp LBB0_7
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rdi
callq _fgetc
movl %eax, -164(%rbp)
cmpl $-1, %eax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_7
LBB0_9:
movq -16(%rbp), %rdi
callq _fclose
movl $0, -4(%rbp)
LBB0_10:
movl -4(%rbp), %eax
addq $176, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/tmp/test.txt"
L_.str.1: ## @.str.1
.asciz "w+"
L_.str.2: ## @.str.2
.asciz "fopen"
L_.str.3: ## @.str.3
.asciz "fstat"
L_.str.4: ## @.str.4
.asciz "BUFSIZ is %d, but optimal block size is %ld\n"
L_.str.5: ## @.str.5
.asciz "setvbuf failed"
.subsections_via_symbols
|
the_stack_data/530901.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avx_test ; -- Begin function avx_test
.p2align 2
_avx_test: ; @avx_test
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1024
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 w9, w8, #3
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldr s0, [x8, w9, sxtw #2]
fmov s1, #2.00000000
fmul s0, s0, s1
ldrsw x9, [sp, #12]
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
str s0, [x8, x9, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _a,4108,2 ; @a
.comm _b,4096,2 ; @b
.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 avx_test
LCPI0_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _avx_test
.p2align 4, 0x90
_avx_test: ## @avx_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $1024, -4(%rbp) ## imm = 0x400
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $3, %eax
movslq %eax, %rcx
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _a@GOTPCREL(%rip), %rax
mulss (%rax,%rcx,4), %xmm0
movslq -4(%rbp), %rcx
movq _b@GOTPCREL(%rip), %rax
movss %xmm0, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,4108,4 ## @a
.comm _b,4096,4 ## @b
.subsections_via_symbols
|
the_stack_data/7949734.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
bl _megaInit
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB0_2:
b LBB0_3
LBB0_3:
str wzr, [sp, #24]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur x8, [x29, #-16]
ldr w9, [sp, #24]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
mov x1, #0
mov w2, #10
bl _strtoul
mov x8, x0
strh w8, [sp, #22]
ldrh w8, [sp, #22]
ldrsw x10, [sp, #24]
sub x9, x29, #18
add x9, x9, x10, lsl #1
strh w8, [x9]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_4
LBB0_6:
sub x0, x29, #18
sub x1, x29, #20
bl _RandomFunc
ldurh w8, [x29, #-20]
mov w9, #16790
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_8:
b LBB0_9
LBB0_9:
str wzr, [sp, #16]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldrsw x9, [sp, #16]
sub x8, x29, #20
ldrh w10, [x8, x9, lsl #1]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_10
LBB0_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _megaInit ; -- Begin function megaInit
.p2align 2
_megaInit: ; @megaInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _RandomFunc ; -- Begin function RandomFunc
.p2align 2
_RandomFunc: ; @RandomFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldrh w8, [x8]
; kill: def $x8 killed $w8
mov x9, #54700
movk x9, #781, lsl #16
add x8, x8, x9
mov x9, #8426
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
strh w8, [sp, #14]
strh wzr, [sp, #10]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldrh w8, [sp, #10]
ldr x9, [sp, #24]
ldrh w9, [x9, #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
strh wzr, [sp, #12]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrh w8, [sp, #12]
ldr x9, [sp, #24]
ldrh w9, [x9, #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_7
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldrh w8, [sp, #14]
ldrh w9, [sp, #12]
ldrh w10, [sp, #10]
subs w9, w9, w10
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_3 Depth=2
ldrh w8, [sp, #12]
add w8, w8, #1
strh w8, [sp, #12]
b LBB2_3
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #10]
; kill: def $x8 killed $w8
add x8, x8, #2
; kill: def $w8 killed $w8 killed $x8
strh w8, [sp, #10]
b LBB2_1
LBB2_8:
ldrh w8, [sp, #14]
; kill: def $x8 killed $w8
mov x9, #6855
movk x9, #6939, lsl #16
add x8, x8, x9
ldr x9, [sp, #16]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Call this program with %i arguments\n"
l_.str.1: ; @.str.1
.asciz "You win!\n"
l_.str.2: ; @.str.2
.asciz "%u\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _megaInit
cmpl $2, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %esi
callq _printf
movl $-1, %edi
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3:
movl $0, -24(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -24(%rbp)
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtoul
## kill: def $ax killed $ax killed $rax
movw %ax, -26(%rbp)
movw -26(%rbp), %cx
movslq -24(%rbp), %rax
movw %cx, -18(%rbp,%rax,2)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_4
LBB0_6:
leaq -18(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _RandomFunc
movzwl -20(%rbp), %eax
cmpl $16790, %eax ## imm = 0x4196
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_9
LBB0_8:
jmp LBB0_9
LBB0_9:
movl $0, -32(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $1, -32(%rbp)
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movslq -32(%rbp), %rax
movzwl -20(%rbp,%rax,2), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_10
LBB0_12:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _megaInit ## -- Begin function megaInit
.p2align 4, 0x90
_megaInit: ## @megaInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RandomFunc ## -- Begin function RandomFunc
.p2align 4, 0x90
_RandomFunc: ## @RandomFunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movzwl (%rax), %eax
## kill: def $rax killed $eax
addq $51238316, %rax ## imm = 0x30DD5AC
addq $8426, %rax ## imm = 0x20EA
## kill: def $ax killed $ax killed $rax
movw %ax, -18(%rbp)
movw $0, -22(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movzwl -22(%rbp), %eax
movq -8(%rbp), %rcx
movzwl 2(%rcx), %ecx
cmpl %ecx, %eax
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movw $0, -20(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movzwl -20(%rbp), %eax
movq -8(%rbp), %rcx
movzwl 2(%rcx), %ecx
cmpl %ecx, %eax
jge LBB2_7
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movzwl -18(%rbp), %eax
movzwl -20(%rbp), %ecx
movzwl -22(%rbp), %edx
subl %edx, %ecx
cmpl %ecx, %eax
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
jmp LBB2_6
LBB2_6: ## in Loop: Header=BB2_3 Depth=2
movw -20(%rbp), %ax
addw $1, %ax
movw %ax, -20(%rbp)
jmp LBB2_3
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movzwl -22(%rbp), %eax
## kill: def $rax killed $eax
addq $2, %rax
## kill: def $ax killed $ax killed $rax
movw %ax, -22(%rbp)
jmp LBB2_1
LBB2_8:
movzwl -18(%rbp), %eax
## kill: def $rax killed $eax
addq $454761159, %rax ## imm = 0x1B1B1AC7
movw %ax, %cx
movq -16(%rbp), %rax
movw %cx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Call this program with %i arguments\n"
L_.str.1: ## @.str.1
.asciz "You win!\n"
L_.str.2: ## @.str.2
.asciz "%u\n"
.subsections_via_symbols
|
the_stack_data/57095.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #24] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp 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]
mov w9, #100
sdiv w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-8]
sdiv w8, w8, w10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-16]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w0, [sp, #24] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\350\257\267\350\276\223\345\205\245\344\270\200\344\270\252\344\270\211\344\275\215\346\225\260:\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d %d %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl $100, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -20(%rbp)
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -16(%rbp)
movl -20(%rbp), %esi
movl -16(%rbp), %edx
movl -12(%rbp), %ecx
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 "\350\257\267\350\276\223\345\205\245\344\270\200\344\270\252\344\270\211\344\275\215\346\225\260:\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d %d %d\n"
.subsections_via_symbols
|
the_stack_data/15612.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]
mov w8, #34
str w8, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
add w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #2
bl _foo
mov x8, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
adrp x9, _main.a@PAGE
str w8, [x9, _main.a@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_main.a,4,2 ; @main.a
.comm _X,4,2 ; @X
.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 $34, -8(%rbp)
movl -4(%rbp), %eax
addl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $2, %edi
callq _foo
movl %eax, _main.a(%rip)
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_main.a,4,2 ## @main.a
.comm _X,4,2 ## @X
.subsections_via_symbols
|
the_stack_data/887941.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/206393331.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #12]
mov w8, #10
str w8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #16
add x1, sp, #8
bl _calc2_parse
b LBB0_1
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:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _calc2_parse ; -- Begin function calc2_parse
.p2align 2
_calc2_parse: ; @calc2_parse
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x11, _calc2_nerrs@GOTPAGE
ldr x11, [x11, _calc2_nerrs@GOTPAGEOFF]
str x11, [sp, #16] ; 8-byte Folded Spill
adrp x9, _calc2_errflag@GOTPAGE
ldr x9, [x9, _calc2_errflag@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
adrp x10, _calc2_char@GOTPAGE
ldr x10, [x10, _calc2_char@GOTPAGEOFF]
str x10, [sp, #32] ; 8-byte Folded Spill
adrp x8, _yystack@PAGE
add x8, x8, _yystack@PAGEOFF
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x12, _calc2_val@GOTPAGE
ldr x12, [x12, _calc2_val@GOTPAGEOFF]
str x12, [sp, #48] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
str wzr, [x11]
str wzr, [x9]
mov w9, #-1
str w9, [x10]
stur wzr, [x29, #-36]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
b LBB1_85
LBB1_3:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x9, [x8, #8]
str x9, [x8, #16]
ldr x9, [x8, #32]
str x9, [x8, #40]
stur wzr, [x29, #-36]
ldr x8, [x8, #16]
str wzr, [x8]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_31 Depth 2
ldursw x9, [x29, #-36]
adrp x8, _calc2_defred@PAGE
add x8, x8, _calc2_defred@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
b LBB1_46
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
ldur x0, [x29, #-24]
bl _calc2_lex
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-36]
adrp x8, _calc2_sindex@PAGE
add x8, x8, _calc2_sindex@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-32]
add w8, w8, w9
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_20
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-32]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_20
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldursw x10, [x29, #-32]
adrp x8, _calc2_check@PAGE
add x8, x8, _calc2_check@PAGEOFF
ldr w8, [x8, x10, lsl #2]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_20
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
b LBB1_85
LBB1_17: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x13, [sp, #40] ; 8-byte Folded Reload
ldursw x11, [x29, #-32]
adrp x9, _calc2_table@PAGE
add x9, x9, _calc2_table@PAGEOFF
ldr w11, [x9, x11, lsl #2]
stur w11, [x29, #-36]
ldursw x11, [x29, #-32]
ldr w9, [x9, x11, lsl #2]
ldr x11, [x13, #16]
add x12, x11, #4
str x12, [x13, #16]
str w9, [x11, #4]
adrp x9, _calc2_lval@GOTPAGE
ldr x9, [x9, _calc2_lval@GOTPAGEOFF]
ldr w9, [x9]
ldr x11, [x13, #40]
add x12, x11, #4
str x12, [x13, #40]
str w9, [x11, #4]
mov w9, #-1
str w9, [x10]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_20: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-36]
adrp x8, _calc2_rindex@PAGE
add x8, x8, _calc2_rindex@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-32]
add w8, w8, w9
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_25
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-32]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldursw x10, [x29, #-32]
adrp x8, _calc2_check@PAGE
add x8, x8, _calc2_check@PAGEOFF
ldr w8, [x8, x10, lsl #2]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-32]
adrp x8, _calc2_table@PAGE
add x8, x8, _calc2_table@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-32]
b LBB1_46
LBB1_25: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_27
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_4 Depth=1
b LBB1_29
LBB1_27: ; in Loop: Header=BB1_4 Depth=1
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _calc2_error
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_43
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
mov w8, #3
str w8, [x9]
b LBB1_31
LBB1_31: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldrsw x9, [x8]
adrp x8, _calc2_sindex@PAGE
add x8, x8, _calc2_sindex@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_39
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-32]
add w8, w8, #256
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_39
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-32]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_39
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_31 Depth=2
ldursw x9, [x29, #-32]
adrp x8, _calc2_check@PAGE
add x8, x8, _calc2_check@PAGEOFF
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #256
cset w8, ne
tbnz w8, #0, LBB1_39
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_38
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37:
b LBB1_85
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #40] ; 8-byte Folded Reload
ldursw x9, [x29, #-32]
adrp x8, _calc2_table@PAGE
add x8, x8, _calc2_table@PAGEOFF
ldr w9, [x8, x9, lsl #2]
stur w9, [x29, #-36]
ldursw x9, [x29, #-32]
ldr w8, [x8, x9, lsl #2]
ldr x9, [x11, #16]
add x10, x9, #4
str x10, [x11, #16]
str w8, [x9, #4]
adrp x8, _calc2_lval@GOTPAGE
ldr x8, [x8, _calc2_lval@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_39: ; in Loop: Header=BB1_31 Depth=2
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB1_41
b LBB1_40
LBB1_40:
b LBB1_86
LBB1_41: ; in Loop: Header=BB1_31 Depth=2
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #16]
subs x8, x8, #4
str x8, [x9, #16]
ldr x8, [x9, #40]
subs x8, x8, #4
str x8, [x9, #40]
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_31 Depth=2
b LBB1_31
LBB1_43: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44:
b LBB1_86
LBB1_45: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov w8, #-1
str w8, [x9]
b LBB1_4
LBB1_46: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-32]
adrp x8, _calc2_len@PAGE
add x8, x8, _calc2_len@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w11, [x29, #-28]
mov w10, #1
subs w10, w10, w11
ldr w8, [x8, w10, sxtw #2]
str w8, [x9]
b LBB1_49
LBB1_48: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-32]
subs w8, w8, #3
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #15
cset w8, hi
tbnz w8, #0, LBB1_66
; %bb.50: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_51: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_66
LBB1_52: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_66
LBB1_53: ; in Loop: Header=BB1_4 Depth=1
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldr w8, [x8]
ldur x9, [x29, #-16]
ldr x10, [x10, #40]
ldursw x10, [x10, #-8]
str w8, [x9, x10, lsl #2]
b LBB1_66
LBB1_54: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w8, [x8, #-4]
str w8, [x9]
b LBB1_66
LBB1_55: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_56: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
subs w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_57: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
mul w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_58: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
sdiv w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_59: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w11, [x10]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_60: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
and w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_61: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
orr w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_62: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w10, [x8]
mov w8, #0
subs w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_63: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x10, [x10, #40]
ldrsw x10, [x10]
ldr w8, [x8, x10, lsl #2]
str w8, [x9]
b LBB1_66
LBB1_64: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x9, [x8, #40]
ldr w9, [x9]
str w9, [x10]
ldr x8, [x8, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w10, w8, #0x1
mov w9, #10
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
ldur x9, [x29, #-24]
str w8, [x9]
b LBB1_66
LBB1_65: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
ldr w8, [x8]
ldr x11, [x10, #40]
ldur w11, [x11, #-4]
mul w8, w8, w11
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_66
LBB1_66: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldursw x11, [x29, #-28]
ldr x8, [x9, #16]
mov x10, #0
subs x11, x10, x11
add x8, x8, x11, lsl #2
str x8, [x9, #16]
ldr x8, [x9, #16]
ldr w8, [x8]
stur w8, [x29, #-36]
ldursw x11, [x29, #-28]
ldr x8, [x9, #40]
subs x10, x10, x11
add x8, x8, x10, lsl #2
str x8, [x9, #40]
ldursw x9, [x29, #-32]
adrp x8, _calc2_lhs@PAGE
add x8, x8, _calc2_lhs@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-28]
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x12, [sp, #40] ; 8-byte Folded Reload
ldr x9, [sp, #48] ; 8-byte Folded Reload
mov w10, #1
stur w10, [x29, #-36]
ldr x11, [x12, #16]
add x13, x11, #4
str x13, [x12, #16]
str w10, [x11, #4]
ldr w9, [x9]
ldr x10, [x12, #40]
add x11, x10, #4
str x11, [x12, #40]
str w9, [x10, #4]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_72
b LBB1_69
LBB1_69: ; in Loop: Header=BB1_4 Depth=1
ldur x0, [x29, #-24]
bl _calc2_lex
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_71
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_71
LBB1_71: ; in Loop: Header=BB1_4 Depth=1
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_74
b LBB1_73
LBB1_73:
b LBB1_87
LBB1_74: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_75: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-28]
adrp x8, _calc2_gindex@PAGE
add x8, x8, _calc2_gindex@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_80
b LBB1_76
LBB1_76: ; in Loop: Header=BB1_4 Depth=1
ldur w9, [x29, #-36]
ldur w8, [x29, #-32]
add w8, w8, w9
stur w8, [x29, #-32]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_80
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-32]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_80
b LBB1_78
LBB1_78: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-32]
adrp x8, _calc2_check@PAGE
add x8, x8, _calc2_check@PAGEOFF
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_80
b LBB1_79
LBB1_79: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-32]
adrp x8, _calc2_table@PAGE
add x8, x8, _calc2_table@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-36]
b LBB1_81
LBB1_80: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-28]
adrp x8, _calc2_dgoto@PAGE
add x8, x8, _calc2_dgoto@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-36]
b LBB1_81
LBB1_81: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_84
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_84
b LBB1_83
LBB1_83:
b LBB1_85
LBB1_84: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur w9, [x29, #-36]
ldr x10, [x11, #16]
add x12, x10, #4
str x12, [x11, #16]
str w9, [x10, #4]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_85:
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
adrp x2, l_.str.2@PAGE
add x2, x2, l_.str.2@PAGEOFF
bl _calc2_error
b LBB1_86
LBB1_86:
mov w8, #1
stur w8, [x29, #-4]
b LBB1_88
LBB1_87:
stur wzr, [x29, #-4]
b LBB1_88
LBB1_88:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_51-Ltmp0
.long LBB1_52-Ltmp0
.long LBB1_53-Ltmp0
.long LBB1_54-Ltmp0
.long LBB1_55-Ltmp0
.long LBB1_56-Ltmp0
.long LBB1_57-Ltmp0
.long LBB1_58-Ltmp0
.long LBB1_59-Ltmp0
.long LBB1_60-Ltmp0
.long LBB1_61-Ltmp0
.long LBB1_62-Ltmp0
.long LBB1_63-Ltmp0
.long LBB1_66-Ltmp0
.long LBB1_64-Ltmp0
.long LBB1_65-Ltmp0
; -- End function
.globl _calc2_lex ; -- Begin function calc2_lex
.p2align 2
_calc2_lex: ; @calc2_lex
.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]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #12]
subs w8, w0, #32
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldr w0, [sp, #12]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w8, [sp, #12]
subs w8, w8, #97
adrp x9, _calc2_lval@GOTPAGE
ldr x9, [x9, _calc2_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #258
stur w8, [x29, #-4]
b LBB2_8
LBB2_5:
ldr w0, [sp, #12]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr w8, [sp, #12]
subs w8, w8, #48
ldr x9, [sp, #16]
ldr w10, [x9]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
adrp x9, _calc2_lval@GOTPAGE
ldr x9, [x9, _calc2_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #257
stur w8, [x29, #-4]
b LBB2_8
LBB2_7:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB2_8
LBB2_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yygrowstack
_yygrowstack: ; @yygrowstack
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #200
str w8, [sp, #24]
b LBB3_8
LBB3_2:
ldr w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_4:
ldr w8, [sp, #24]
lsl w8, w8, #1
str w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
mov w8, #10000
str w8, [sp, #24]
b LBB3_6
LBB3_6:
b LBB3_7
LBB3_7:
b LBB3_8
LBB3_8:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
subs x8, x8, x9
mov x9, #4
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #2
bl _realloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_10:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
str x8, [x9, #16]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #2
bl _realloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_12:
ldr x8, [sp, #8]
ldur x9, [x29, #-16]
str x8, [x9, #32]
ldr x8, [sp, #8]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
str x8, [x9, #40]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
str w8, [x9]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #2
subs x8, x8, #4
ldur x9, [x29, #-16]
str x8, [x9, #24]
stur wzr, [x29, #-4]
b LBB3_13
LBB3_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function calc2_error
_calc2_error: ; @calc2_error
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _calc2_lval,4,2 ; @calc2_lval
.comm _calc2_nerrs,4,2 ; @calc2_nerrs
.comm _calc2_errflag,4,2 ; @calc2_errflag
.comm _calc2_char,4,2 ; @calc2_char
.zerofill __DATA,__bss,_yystack,48,3 ; @yystack
.section __TEXT,__const
.p2align 2 ; @calc2_defred
_calc2_defred:
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 17 ; 0x11
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 15 ; 0xf
.long 14 ; 0xe
.long 0 ; 0x0
.long 2 ; 0x2
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 18 ; 0x12
.long 0 ; 0x0
.long 6 ; 0x6
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.p2align 2 ; @calc2_sindex
_calc2_sindex:
.long 0 ; 0x0
.long 4294967256 ; 0xffffffd8
.long 4294967289 ; 0xfffffff9
.long 0 ; 0x0
.long 4294967241 ; 0xffffffc9
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 1 ; 0x1
.long 4294967267 ; 0xffffffe3
.long 4294967049 ; 0xffffff09
.long 0 ; 0x0
.long 4294967258 ; 0xffffffda
.long 0 ; 0x0
.long 0 ; 0x0
.long 22 ; 0x16
.long 0 ; 0x0
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 4294967258 ; 0xffffffda
.long 0 ; 0x0
.long 4294967267 ; 0xffffffe3
.long 0 ; 0x0
.long 51 ; 0x33
.long 60 ; 0x3c
.long 4294967276 ; 0xffffffec
.long 4294967276 ; 0xffffffec
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.p2align 2 ; @calc2_check
_calc2_check:
.long 40 ; 0x28
.long 10 ; 0xa
.long 40 ; 0x28
.long 10 ; 0xa
.long 10 ; 0xa
.long 45 ; 0x2d
.long 61 ; 0x3d
.long 45 ; 0x2d
.long 37 ; 0x25
.long 38 ; 0x26
.long 257 ; 0x101
.long 10 ; 0xa
.long 10 ; 0xa
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 10 ; 0xa
.long 45 ; 0x2d
.long 37 ; 0x25
.long 47 ; 0x2f
.long 10 ; 0xa
.long 10 ; 0xa
.long 4294967295 ; 0xffffffff
.long 42 ; 0x2a
.long 10 ; 0xa
.long 10 ; 0xa
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 47 ; 0x2f
.long 37 ; 0x25
.long 38 ; 0x26
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 41 ; 0x29
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 41 ; 0x29
.long 45 ; 0x2d
.long 4294967295 ; 0xffffffff
.long 47 ; 0x2f
.long 37 ; 0x25
.long 38 ; 0x26
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 38 ; 0x26
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 41 ; 0x29
.long 45 ; 0x2d
.long 43 ; 0x2b
.long 47 ; 0x2f
.long 45 ; 0x2d
.long 38 ; 0x26
.long 38 ; 0x26
.long 4294967295 ; 0xffffffff
.long 41 ; 0x29
.long 41 ; 0x29
.long 43 ; 0x2b
.long 4294967295 ; 0xffffffff
.long 45 ; 0x2d
.long 37 ; 0x25
.long 38 ; 0x26
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 41 ; 0x29
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 4294967295 ; 0xffffffff
.long 45 ; 0x2d
.long 4294967295 ; 0xffffffff
.long 47 ; 0x2f
.long 5 ; 0x5
.long 6 ; 0x6
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 11 ; 0xb
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.long 19 ; 0x13
.long 20 ; 0x14
.long 21 ; 0x15
.long 22 ; 0x16
.long 37 ; 0x25
.long 38 ; 0x26
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 124 ; 0x7c
.long 45 ; 0x2d
.long 37 ; 0x25
.long 47 ; 0x2f
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 42 ; 0x2a
.long 43 ; 0x2b
.long 4294967295 ; 0xffffffff
.long 45 ; 0x2d
.long 4294967295 ; 0xffffffff
.long 47 ; 0x2f
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 124 ; 0x7c
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 124 ; 0x7c
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 124 ; 0x7c
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 124 ; 0x7c
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 124 ; 0x7c
.long 124 ; 0x7c
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 124 ; 0x7c
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 256 ; 0x100
.long 257 ; 0x101
.long 258 ; 0x102
.long 257 ; 0x101
.long 258 ; 0x102
.p2align 2 ; @calc2_table
_calc2_table:
.long 6 ; 0x6
.long 16 ; 0x10
.long 6 ; 0x6
.long 10 ; 0xa
.long 13 ; 0xd
.long 5 ; 0x5
.long 11 ; 0xb
.long 5 ; 0x5
.long 22 ; 0x16
.long 17 ; 0x11
.long 23 ; 0x17
.long 15 ; 0xf
.long 15 ; 0xf
.long 20 ; 0x14
.long 18 ; 0x12
.long 7 ; 0x7
.long 19 ; 0x13
.long 22 ; 0x16
.long 21 ; 0x15
.long 4 ; 0x4
.long 5 ; 0x5
.long 0 ; 0x0
.long 20 ; 0x14
.long 8 ; 0x8
.long 12 ; 0xc
.long 0 ; 0x0
.long 0 ; 0x0
.long 21 ; 0x15
.long 16 ; 0x10
.long 16 ; 0x10
.long 0 ; 0x0
.long 0 ; 0x0
.long 16 ; 0x10
.long 16 ; 0x10
.long 16 ; 0x10
.long 13 ; 0xd
.long 16 ; 0x10
.long 0 ; 0x0
.long 16 ; 0x10
.long 15 ; 0xf
.long 15 ; 0xf
.long 0 ; 0x0
.long 0 ; 0x0
.long 7 ; 0x7
.long 15 ; 0xf
.long 15 ; 0xf
.long 7 ; 0x7
.long 15 ; 0xf
.long 7 ; 0x7
.long 15 ; 0xf
.long 7 ; 0x7
.long 8 ; 0x8
.long 12 ; 0xc
.long 0 ; 0x0
.long 8 ; 0x8
.long 12 ; 0xc
.long 8 ; 0x8
.long 0 ; 0x0
.long 8 ; 0x8
.long 22 ; 0x16
.long 17 ; 0x11
.long 0 ; 0x0
.long 0 ; 0x0
.long 25 ; 0x19
.long 20 ; 0x14
.long 18 ; 0x12
.long 0 ; 0x0
.long 19 ; 0x13
.long 0 ; 0x0
.long 21 ; 0x15
.long 13 ; 0xd
.long 14 ; 0xe
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 24 ; 0x18
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 26 ; 0x1a
.long 27 ; 0x1b
.long 28 ; 0x1c
.long 29 ; 0x1d
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 32 ; 0x20
.long 22 ; 0x16
.long 17 ; 0x11
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 20 ; 0x14
.long 18 ; 0x12
.long 16 ; 0x10
.long 19 ; 0x13
.long 22 ; 0x16
.long 21 ; 0x15
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 20 ; 0x14
.long 18 ; 0x12
.long 0 ; 0x0
.long 19 ; 0x13
.long 0 ; 0x0
.long 21 ; 0x15
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 16 ; 0x10
.long 0 ; 0x0
.long 0 ; 0x0
.long 13 ; 0xd
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 15 ; 0xf
.long 0 ; 0x0
.long 0 ; 0x0
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 8 ; 0x8
.long 12 ; 0xc
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 16 ; 0x10
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 3 ; 0x3
.long 12 ; 0xc
.p2align 2 ; @calc2_rindex
_calc2_rindex:
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 2 ; 0x2
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 9 ; 0x9
.long 4294967287 ; 0xfffffff7
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 10 ; 0xa
.long 0 ; 0x0
.long 4294967290 ; 0xfffffffa
.long 14 ; 0xe
.long 5 ; 0x5
.long 13 ; 0xd
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 2 ; @calc2_len
_calc2_len:
.long 2 ; 0x2
.long 0 ; 0x0
.long 3 ; 0x3
.long 3 ; 0x3
.long 1 ; 0x1
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.comm _calc2_val,4,2 ; @calc2_val
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\n"
.section __TEXT,__const
.p2align 2 ; @calc2_lhs
_calc2_lhs:
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 3 ; 0x3
.long 3 ; 0x3
.p2align 2 ; @calc2_gindex
_calc2_gindex:
.long 0 ; 0x0
.long 0 ; 0x0
.long 65 ; 0x41
.long 0 ; 0x0
.p2align 2 ; @calc2_dgoto
_calc2_dgoto:
.long 1 ; 0x1
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "yacc stack overflow"
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl $10, -120(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_2
jmp LBB0_3
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
leaq -112(%rbp), %rdi
leaq -120(%rbp), %rsi
callq _calc2_parse
jmp LBB0_1
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _calc2_parse ## -- Begin function calc2_parse
.p2align 4, 0x90
_calc2_parse: ## @calc2_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq _calc2_nerrs@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _calc2_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _calc2_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movl $0, -36(%rbp)
cmpq $0, _yystack+8(%rip)
jne LBB1_3
## %bb.1:
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_3
## %bb.2:
jmp LBB1_84
LBB1_3:
movq _yystack+8(%rip), %rax
movq %rax, _yystack+16(%rip)
movq _yystack+32(%rip), %rax
movq %rax, _yystack+40(%rip)
movl $0, -36(%rbp)
movq _yystack+16(%rip), %rax
movl $0, (%rax)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_31 Depth 2
movslq -36(%rbp), %rcx
leaq _calc2_defred(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_46
LBB1_6: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_10
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rdi
callq _calc2_lex
movl %eax, %ecx
movq _calc2_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _calc2_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
movslq -36(%rbp), %rcx
leaq _calc2_sindex(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
je LBB1_20
## %bb.11: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
jl LBB1_20
## %bb.12: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -32(%rbp)
jg LBB1_20
## %bb.13: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_check(%rip), %rax
movl (%rax,%rcx,4), %eax
movq _calc2_char@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB1_20
## %bb.14: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_17
## %bb.15: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_17
## %bb.16:
jmp LBB1_84
LBB1_17: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_table(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
movslq -32(%rbp), %rcx
leaq _calc2_table(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+16(%rip)
movl %ecx, 4(%rax)
movq _calc2_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _calc2_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _calc2_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB1_19
## %bb.18: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_errflag@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _calc2_errflag@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_19: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_20: ## in Loop: Header=BB1_4 Depth=1
movslq -36(%rbp), %rcx
leaq _calc2_rindex(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
je LBB1_25
## %bb.21: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
jl LBB1_25
## %bb.22: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -32(%rbp)
jg LBB1_25
## %bb.23: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_check(%rip), %rax
movl (%rax,%rcx,4), %eax
movq _calc2_char@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_table(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
jmp LBB1_46
LBB1_25: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_27
## %bb.26: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_29
LBB1_27: ## in Loop: Header=BB1_4 Depth=1
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
leaq L_.str(%rip), %rdx
callq _calc2_error
## %bb.28: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_nerrs@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _calc2_nerrs@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_29: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_errflag@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jge LBB1_43
## %bb.30: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_errflag@GOTPCREL(%rip), %rax
movl $3, (%rax)
LBB1_31: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq _yystack+16(%rip), %rax
movslq (%rax), %rcx
leaq _calc2_sindex(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
je LBB1_39
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
movl -32(%rbp), %eax
addl $256, %eax ## imm = 0x100
movl %eax, -32(%rbp)
cmpl $0, %eax
jl LBB1_39
## %bb.33: ## in Loop: Header=BB1_31 Depth=2
cmpl $220, -32(%rbp)
jg LBB1_39
## %bb.34: ## in Loop: Header=BB1_31 Depth=2
movslq -32(%rbp), %rcx
leaq _calc2_check(%rip), %rax
cmpl $256, (%rax,%rcx,4) ## imm = 0x100
jne LBB1_39
## %bb.35: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_38
## %bb.36: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_38
## %bb.37:
jmp LBB1_84
LBB1_38: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_table(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
movslq -32(%rbp), %rcx
leaq _calc2_table(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+16(%rip)
movl %ecx, 4(%rax)
movq _calc2_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_39: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
cmpq _yystack+8(%rip), %rax
ja LBB1_41
## %bb.40:
jmp LBB1_85
LBB1_41: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
addq $-4, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+40(%rip), %rax
addq $-4, %rax
movq %rax, _yystack+40(%rip)
## %bb.42: ## in Loop: Header=BB1_31 Depth=2
jmp LBB1_31
LBB1_43: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_45
## %bb.44:
jmp LBB1_85
LBB1_45: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
jmp LBB1_4
LBB1_46: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_len(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jle LBB1_48
## %bb.47: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl $1, %ecx
subl -28(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_49
LBB1_48: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_val@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
LBB1_49: ## in Loop: Header=BB1_4 Depth=1
movl -32(%rbp), %eax
addl $-3, %eax
movl %eax, %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
subl $15, %eax
ja LBB1_65
## %bb.88: ## in Loop: Header=BB1_4 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_50: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_65
LBB1_51: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_65
LBB1_52: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movq -16(%rbp), %rax
movq _yystack+40(%rip), %rcx
movslq -8(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
jmp LBB1_65
LBB1_53: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -4(%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_54: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_55: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
subl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_56: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
imull (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_57: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movl %eax, %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_58: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movq _calc2_val@GOTPCREL(%rip), %rax
movl %edx, (%rax)
jmp LBB1_65
LBB1_59: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
andl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_60: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
orl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_61: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_62: ## in Loop: Header=BB1_4 Depth=1
movq -16(%rbp), %rax
movq _yystack+40(%rip), %rcx
movslq (%rcx), %rcx
movl (%rax,%rcx,4), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_63: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movl $10, %ecx
movl $8, %eax
cmpl $0, %edx
cmovel %eax, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
jmp LBB1_65
LBB1_64: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
imull -4(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _calc2_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_65: ## in Loop: Header=BB1_4 Depth=1
movl -28(%rbp), %ecx
movq _yystack+16(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+16(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movl -28(%rbp), %ecx
movq _yystack+40(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, _yystack+40(%rip)
movslq -32(%rbp), %rcx
leaq _calc2_lhs(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
cmpl $0, -36(%rbp)
jne LBB1_74
## %bb.66: ## in Loop: Header=BB1_4 Depth=1
cmpl $0, -28(%rbp)
jne LBB1_74
## %bb.67: ## in Loop: Header=BB1_4 Depth=1
movl $1, -36(%rbp)
movq _yystack+16(%rip), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, _yystack+16(%rip)
movl $1, 4(%rax)
movq _calc2_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _calc2_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_71
## %bb.68: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rdi
callq _calc2_lex
movl %eax, %ecx
movq _calc2_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _calc2_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_70
## %bb.69: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_70: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_71
LBB1_71: ## in Loop: Header=BB1_4 Depth=1
movq _calc2_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_73
## %bb.72:
jmp LBB1_86
LBB1_73: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_74: ## in Loop: Header=BB1_4 Depth=1
movslq -28(%rbp), %rcx
leaq _calc2_gindex(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
je LBB1_79
## %bb.75: ## in Loop: Header=BB1_4 Depth=1
movl -36(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
cmpl $0, %eax
jl LBB1_79
## %bb.76: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -32(%rbp)
jg LBB1_79
## %bb.77: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_check(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -36(%rbp), %eax
jne LBB1_79
## %bb.78: ## in Loop: Header=BB1_4 Depth=1
movslq -32(%rbp), %rcx
leaq _calc2_table(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
jmp LBB1_80
LBB1_79: ## in Loop: Header=BB1_4 Depth=1
movslq -28(%rbp), %rcx
leaq _calc2_dgoto(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
LBB1_80: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_83
## %bb.81: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_83
## %bb.82:
jmp LBB1_84
LBB1_83: ## in Loop: Header=BB1_4 Depth=1
movl -36(%rbp), %ecx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+16(%rip)
movl %ecx, 4(%rax)
movq _calc2_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_84:
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
leaq L_.str.2(%rip), %rdx
callq _calc2_error
LBB1_85:
movl $1, -4(%rbp)
jmp LBB1_87
LBB1_86:
movl $0, -4(%rbp)
LBB1_87:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_50, LBB1_50-LJTI1_0
.set L1_0_set_51, LBB1_51-LJTI1_0
.set L1_0_set_52, LBB1_52-LJTI1_0
.set L1_0_set_53, LBB1_53-LJTI1_0
.set L1_0_set_54, LBB1_54-LJTI1_0
.set L1_0_set_55, LBB1_55-LJTI1_0
.set L1_0_set_56, LBB1_56-LJTI1_0
.set L1_0_set_57, LBB1_57-LJTI1_0
.set L1_0_set_58, LBB1_58-LJTI1_0
.set L1_0_set_59, LBB1_59-LJTI1_0
.set L1_0_set_60, LBB1_60-LJTI1_0
.set L1_0_set_61, LBB1_61-LJTI1_0
.set L1_0_set_62, LBB1_62-LJTI1_0
.set L1_0_set_65, LBB1_65-LJTI1_0
.set L1_0_set_63, LBB1_63-LJTI1_0
.set L1_0_set_64, LBB1_64-LJTI1_0
LJTI1_0:
.long L1_0_set_50
.long L1_0_set_51
.long L1_0_set_52
.long L1_0_set_53
.long L1_0_set_54
.long L1_0_set_55
.long L1_0_set_56
.long L1_0_set_57
.long L1_0_set_58
.long L1_0_set_59
.long L1_0_set_60
.long L1_0_set_61
.long L1_0_set_62
.long L1_0_set_65
.long L1_0_set_63
.long L1_0_set_64
.end_data_region
## -- End function
.globl _calc2_lex ## -- Begin function calc2_lex
.p2align 4, 0x90
_calc2_lex: ## @calc2_lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -20(%rbp)
cmpl $32, %eax
jne LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movl -20(%rbp), %edi
callq _islower
cmpl $0, %eax
je LBB2_5
## %bb.4:
movl -20(%rbp), %ecx
subl $97, %ecx
movq _calc2_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $258, -4(%rbp) ## imm = 0x102
jmp LBB2_8
LBB2_5:
movl -20(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB2_7
## %bb.6:
movl -20(%rbp), %eax
subl $48, %eax
movq -16(%rbp), %rcx
cltd
idivl (%rcx)
movq _calc2_lval@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movl $257, -4(%rbp) ## imm = 0x101
jmp LBB2_8
LBB2_7:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_8:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yygrowstack
_yygrowstack: ## @yygrowstack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
cmpl $0, %eax
jne LBB3_2
## %bb.1:
movl $200, -24(%rbp)
jmp LBB3_8
LBB3_2:
cmpl $10000, -24(%rbp) ## imm = 0x2710
jb LBB3_4
## %bb.3:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_4:
movl -24(%rbp), %eax
shll $1, %eax
movl %eax, -24(%rbp)
cmpl $10000, %eax ## imm = 0x2710
jbe LBB3_6
## %bb.5:
movl $10000, -24(%rbp) ## imm = 0x2710
LBB3_6:
jmp LBB3_7
LBB3_7:
jmp LBB3_8
LBB3_8:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
sarq $2, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
callq _realloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB3_10
## %bb.9:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_10:
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
callq _realloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB3_12
## %bb.11:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_12:
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 32(%rax)
movq -40(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movl -24(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movl -24(%rbp), %eax
## kill: def $rax killed $eax
shlq $2, %rax
addq %rax, %rcx
addq $-4, %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movl $0, -4(%rbp)
LBB3_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function calc2_error
_calc2_error: ## @calc2_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _calc2_lval,4,2 ## @calc2_lval
.comm _calc2_nerrs,4,2 ## @calc2_nerrs
.comm _calc2_errflag,4,2 ## @calc2_errflag
.comm _calc2_char,4,2 ## @calc2_char
.zerofill __DATA,__bss,_yystack,48,3 ## @yystack
.section __TEXT,__const
.p2align 4 ## @calc2_defred
_calc2_defred:
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 17 ## 0x11
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 15 ## 0xf
.long 14 ## 0xe
.long 0 ## 0x0
.long 2 ## 0x2
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 18 ## 0x12
.long 0 ## 0x0
.long 6 ## 0x6
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.p2align 4 ## @calc2_sindex
_calc2_sindex:
.long 0 ## 0x0
.long 4294967256 ## 0xffffffd8
.long 4294967289 ## 0xfffffff9
.long 0 ## 0x0
.long 4294967241 ## 0xffffffc9
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 1 ## 0x1
.long 4294967267 ## 0xffffffe3
.long 4294967049 ## 0xffffff09
.long 0 ## 0x0
.long 4294967258 ## 0xffffffda
.long 0 ## 0x0
.long 0 ## 0x0
.long 22 ## 0x16
.long 0 ## 0x0
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 4294967258 ## 0xffffffda
.long 0 ## 0x0
.long 4294967267 ## 0xffffffe3
.long 0 ## 0x0
.long 51 ## 0x33
.long 60 ## 0x3c
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.p2align 4 ## @calc2_check
_calc2_check:
.long 40 ## 0x28
.long 10 ## 0xa
.long 40 ## 0x28
.long 10 ## 0xa
.long 10 ## 0xa
.long 45 ## 0x2d
.long 61 ## 0x3d
.long 45 ## 0x2d
.long 37 ## 0x25
.long 38 ## 0x26
.long 257 ## 0x101
.long 10 ## 0xa
.long 10 ## 0xa
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 10 ## 0xa
.long 45 ## 0x2d
.long 37 ## 0x25
.long 47 ## 0x2f
.long 10 ## 0xa
.long 10 ## 0xa
.long 4294967295 ## 0xffffffff
.long 42 ## 0x2a
.long 10 ## 0xa
.long 10 ## 0xa
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 47 ## 0x2f
.long 37 ## 0x25
.long 38 ## 0x26
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 41 ## 0x29
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 41 ## 0x29
.long 45 ## 0x2d
.long 4294967295 ## 0xffffffff
.long 47 ## 0x2f
.long 37 ## 0x25
.long 38 ## 0x26
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 38 ## 0x26
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 41 ## 0x29
.long 45 ## 0x2d
.long 43 ## 0x2b
.long 47 ## 0x2f
.long 45 ## 0x2d
.long 38 ## 0x26
.long 38 ## 0x26
.long 4294967295 ## 0xffffffff
.long 41 ## 0x29
.long 41 ## 0x29
.long 43 ## 0x2b
.long 4294967295 ## 0xffffffff
.long 45 ## 0x2d
.long 37 ## 0x25
.long 38 ## 0x26
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 41 ## 0x29
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 4294967295 ## 0xffffffff
.long 45 ## 0x2d
.long 4294967295 ## 0xffffffff
.long 47 ## 0x2f
.long 5 ## 0x5
.long 6 ## 0x6
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 11 ## 0xb
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.long 19 ## 0x13
.long 20 ## 0x14
.long 21 ## 0x15
.long 22 ## 0x16
.long 37 ## 0x25
.long 38 ## 0x26
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 124 ## 0x7c
.long 45 ## 0x2d
.long 37 ## 0x25
.long 47 ## 0x2f
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 42 ## 0x2a
.long 43 ## 0x2b
.long 4294967295 ## 0xffffffff
.long 45 ## 0x2d
.long 4294967295 ## 0xffffffff
.long 47 ## 0x2f
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 124 ## 0x7c
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 124 ## 0x7c
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 124 ## 0x7c
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 124 ## 0x7c
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 124 ## 0x7c
.long 124 ## 0x7c
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 124 ## 0x7c
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 256 ## 0x100
.long 257 ## 0x101
.long 258 ## 0x102
.long 257 ## 0x101
.long 258 ## 0x102
.p2align 4 ## @calc2_table
_calc2_table:
.long 6 ## 0x6
.long 16 ## 0x10
.long 6 ## 0x6
.long 10 ## 0xa
.long 13 ## 0xd
.long 5 ## 0x5
.long 11 ## 0xb
.long 5 ## 0x5
.long 22 ## 0x16
.long 17 ## 0x11
.long 23 ## 0x17
.long 15 ## 0xf
.long 15 ## 0xf
.long 20 ## 0x14
.long 18 ## 0x12
.long 7 ## 0x7
.long 19 ## 0x13
.long 22 ## 0x16
.long 21 ## 0x15
.long 4 ## 0x4
.long 5 ## 0x5
.long 0 ## 0x0
.long 20 ## 0x14
.long 8 ## 0x8
.long 12 ## 0xc
.long 0 ## 0x0
.long 0 ## 0x0
.long 21 ## 0x15
.long 16 ## 0x10
.long 16 ## 0x10
.long 0 ## 0x0
.long 0 ## 0x0
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 13 ## 0xd
.long 16 ## 0x10
.long 0 ## 0x0
.long 16 ## 0x10
.long 15 ## 0xf
.long 15 ## 0xf
.long 0 ## 0x0
.long 0 ## 0x0
.long 7 ## 0x7
.long 15 ## 0xf
.long 15 ## 0xf
.long 7 ## 0x7
.long 15 ## 0xf
.long 7 ## 0x7
.long 15 ## 0xf
.long 7 ## 0x7
.long 8 ## 0x8
.long 12 ## 0xc
.long 0 ## 0x0
.long 8 ## 0x8
.long 12 ## 0xc
.long 8 ## 0x8
.long 0 ## 0x0
.long 8 ## 0x8
.long 22 ## 0x16
.long 17 ## 0x11
.long 0 ## 0x0
.long 0 ## 0x0
.long 25 ## 0x19
.long 20 ## 0x14
.long 18 ## 0x12
.long 0 ## 0x0
.long 19 ## 0x13
.long 0 ## 0x0
.long 21 ## 0x15
.long 13 ## 0xd
.long 14 ## 0xe
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 24 ## 0x18
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 26 ## 0x1a
.long 27 ## 0x1b
.long 28 ## 0x1c
.long 29 ## 0x1d
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 32 ## 0x20
.long 22 ## 0x16
.long 17 ## 0x11
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 20 ## 0x14
.long 18 ## 0x12
.long 16 ## 0x10
.long 19 ## 0x13
.long 22 ## 0x16
.long 21 ## 0x15
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 20 ## 0x14
.long 18 ## 0x12
.long 0 ## 0x0
.long 19 ## 0x13
.long 0 ## 0x0
.long 21 ## 0x15
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 16 ## 0x10
.long 0 ## 0x0
.long 0 ## 0x0
.long 13 ## 0xd
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 15 ## 0xf
.long 0 ## 0x0
.long 0 ## 0x0
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 8 ## 0x8
.long 12 ## 0xc
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 16 ## 0x10
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 3 ## 0x3
.long 12 ## 0xc
.p2align 4 ## @calc2_rindex
_calc2_rindex:
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 2 ## 0x2
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 9 ## 0x9
.long 4294967287 ## 0xfffffff7
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 10 ## 0xa
.long 0 ## 0x0
.long 4294967290 ## 0xfffffffa
.long 14 ## 0xe
.long 5 ## 0x5
.long 13 ## 0xd
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 4 ## @calc2_len
_calc2_len:
.long 2 ## 0x2
.long 0 ## 0x0
.long 3 ## 0x3
.long 3 ## 0x3
.long 1 ## 0x1
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.comm _calc2_val,4,2 ## @calc2_val
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\n"
.section __TEXT,__const
.p2align 4 ## @calc2_lhs
_calc2_lhs:
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 3 ## 0x3
.long 3 ## 0x3
.p2align 4 ## @calc2_gindex
_calc2_gindex:
.long 0 ## 0x0
.long 0 ## 0x0
.long 65 ## 0x41
.long 0 ## 0x0
.p2align 4 ## @calc2_dgoto
_calc2_dgoto:
.long 1 ## 0x1
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "yacc stack overflow"
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
|
the_stack_data/118618.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
mov x8, #7
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov x9, sp
mov x8, #1
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@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 "File : %s\n"
l_.str.1: ; @.str.1
.asciz "the_stack_data/64125.c"
l_.str.2: ; @.str.2
.asciz "Date : %s\n"
l_.str.3: ; @.str.3
.asciz "Jan 13 2025"
l_.str.4: ; @.str.4
.asciz "Time : %s\n"
l_.str.5: ; @.str.5
.asciz "08:11:49"
l_.str.6: ; @.str.6
.asciz "Line : %d\n"
l_.str.7: ; @.str.7
.asciz "ANSI : %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movl $7, %esi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movl $1, %esi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "File : %s\n"
L_.str.1: ## @.str.1
.asciz "the_stack_data/64125.c"
L_.str.2: ## @.str.2
.asciz "Date : %s\n"
L_.str.3: ## @.str.3
.asciz "Jan 13 2025"
L_.str.4: ## @.str.4
.asciz "Time : %s\n"
L_.str.5: ## @.str.5
.asciz "08:11:50"
L_.str.6: ## @.str.6
.asciz "Line : %d\n"
L_.str.7: ## @.str.7
.asciz "ANSI : %d\n"
.subsections_via_symbols
|
the_stack_data/64125.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prconf ; -- Begin function prconf
.p2align 2
_prconf: ; @prconf
.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 x0, [x29, #-8]
ldur w1, [x29, #-12]
bl _pathconf
str x0, [sp, #24]
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldursw x9, [x29, #-12]
adrp x8, _prconf.tab@PAGE
add x8, x8, _prconf.tab@PAGEOFF
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
ldr x9, [sp, #16] ; 8-byte Folded Reload
mov x8, sp
str x9, [x8]
str x0, [x8, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldursw x9, [x29, #-12]
adrp x8, _prconf.tab@PAGE
add x8, x8, _prconf.tab@PAGEOFF
ldr x10, [x8, x9, lsl #3]
ldr x8, [sp, #24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _prconfall ; -- Begin function prconfall
.p2align 2
_prconfall: ; @prconfall
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #1
bl _prconf
ldur x0, [x29, #-8]
mov w1, #2
bl _prconf
ldur x0, [x29, #-8]
mov w1, #3
bl _prconf
ldur x0, [x29, #-8]
mov w1, #4
bl _prconf
ldur x0, [x29, #-8]
mov w1, #6
bl _prconf
ldur x0, [x29, #-8]
mov w1, #7
bl _prconf
ldur x0, [x29, #-8]
mov w1, #8
bl _prconf
ldur w8, [x29, #-12]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_2
LBB1_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur w1, [x29, #-8]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _prconfall
b LBB2_7
LBB2_2:
mov w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
ldur w1, [x29, #-8]
bl _prconfall
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_3
LBB2_6:
b LBB2_7
LBB2_7:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @prconf.tab
_prconf.tab:
.quad 0
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad 0
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "_PC_LINK_MAX"
l_.str.1: ; @.str.1
.asciz "_PC_MAX_CANON"
l_.str.2: ; @.str.2
.asciz "_PC_MAX_INPUT"
l_.str.3: ; @.str.3
.asciz "_PC_NAME_MAX"
l_.str.4: ; @.str.4
.asciz "_PC_PIPE_BUF"
l_.str.5: ; @.str.5
.asciz "_PC_CHOWN_RESTRICTED"
l_.str.6: ; @.str.6
.asciz "_PC_NO_TRUNC"
l_.str.7: ; @.str.7
.asciz " %-22s: %s\n"
l_.str.8: ; @.str.8
.asciz " %-22s: %ld\n"
l_.str.9: ; @.str.9
.asciz "\"%s\":\n"
l_.str.10: ; @.str.10
.asciz "\n"
l_.str.11: ; @.str.11
.asciz "."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prconf ## -- Begin function prconf
.p2align 4, 0x90
_prconf: ## @prconf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
callq _pathconf
movq %rax, -24(%rbp)
cmpq $0, %rax
jge LBB0_2
## %bb.1:
movslq -12(%rbp), %rcx
leaq _prconf.tab(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq -32(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movslq -12(%rbp), %rcx
leaq _prconf.tab(%rip), %rax
movq (%rax,%rcx,8), %rsi
movq -24(%rbp), %rdx
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _prconfall ## -- Begin function prconfall
.p2align 4, 0x90
_prconfall: ## @prconfall
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rsi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $1, %esi
callq _prconf
movq -8(%rbp), %rdi
movl $2, %esi
callq _prconf
movq -8(%rbp), %rdi
movl $3, %esi
callq _prconf
movq -8(%rbp), %rdi
movl $4, %esi
callq _prconf
movq -8(%rbp), %rdi
movl $6, %esi
callq _prconf
movq -8(%rbp), %rdi
movl $7, %esi
callq _prconf
movq -8(%rbp), %rdi
movl $8, %esi
callq _prconf
cmpl $2, -12(%rbp)
jle LBB1_2
## %bb.1:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB1_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jge LBB2_2
## %bb.1:
movl -8(%rbp), %esi
leaq L_.str.11(%rip), %rdi
callq _prconfall
jmp LBB2_7
LBB2_2:
movl $1, -20(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movl -8(%rbp), %esi
callq _prconfall
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_3
LBB2_6:
jmp LBB2_7
LBB2_7:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4 ## @prconf.tab
_prconf.tab:
.quad 0
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad 0
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "_PC_LINK_MAX"
L_.str.1: ## @.str.1
.asciz "_PC_MAX_CANON"
L_.str.2: ## @.str.2
.asciz "_PC_MAX_INPUT"
L_.str.3: ## @.str.3
.asciz "_PC_NAME_MAX"
L_.str.4: ## @.str.4
.asciz "_PC_PIPE_BUF"
L_.str.5: ## @.str.5
.asciz "_PC_CHOWN_RESTRICTED"
L_.str.6: ## @.str.6
.asciz "_PC_NO_TRUNC"
L_.str.7: ## @.str.7
.asciz " %-22s: %s\n"
L_.str.8: ## @.str.8
.asciz " %-22s: %ld\n"
L_.str.9: ## @.str.9
.asciz "\"%s\":\n"
L_.str.10: ## @.str.10
.asciz "\n"
L_.str.11: ## @.str.11
.asciz "."
.subsections_via_symbols
|
the_stack_data/153267568.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
b LBB0_3
LBB0_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl __run_tests
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _run_tests
__run_tests: ; @_run_tests
.cfi_startproc
; %bb.0:
sub sp, sp, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #56]
ldr x0, [sp, #56]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
str x0, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #56]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
b LBB1_2
LBB1_2:
mov w8, #1
str w8, [sp, #44]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x2, [sp, #48]
add x0, sp, #104
mov w1, #256
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB1_22
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
add x0, sp, #104
str x0, [sp, #24] ; 8-byte Folded Spill
bl _strlen
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x10, x0, #1
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
ldr w9, [sp, #44]
; implicit-def: $x10
mov x10, x9
mov x9, x10
add w9, w9, #1
str w9, [sp, #44]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x1, [sp, #24] ; 8-byte Folded Reload
add x4, sp, #88
mov x8, x1
str x8, [sp, #88]
mov x3, #0
str xzr, [sp, #96]
adrp x8, l___const._run_tests.envp@PAGE
add x8, x8, l___const._run_tests.envp@PAGEOFF
ldr q0, [x8]
add x5, sp, #64
str q0, [sp, #64]
add x0, sp, #36
mov x2, x3
bl _posix_spawn
str w0, [sp, #40]
ldr w8, [sp, #40]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
adrp x0, l___func__._run_tests@PAGE
add x0, x0, l___func__._run_tests@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #39
adrp x3, l_.str.7@PAGE
add x3, x3, l_.str.7@PAGEOFF
bl ___assert_rtn
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w9, lt
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
adrp x0, l___func__._run_tests@PAGE
add x0, x0, l___func__._run_tests@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #40
adrp x3, l_.str.8@PAGE
add x3, x3, l_.str.8@PAGEOFF
bl ___assert_rtn
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=1
ldr w0, [sp, #36]
add x1, sp, #32
mov w2, #1
bl _waitpid
subs w8, w0, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
adrp x0, l___func__._run_tests@PAGE
add x0, x0, l___func__._run_tests@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #42
adrp x3, l_.str.9@PAGE
add x3, x3, l_.str.9@PAGEOFF
bl ___assert_rtn
LBB1_12: ; in Loop: Header=BB1_3 Depth=1
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_3 Depth=1
ldr w0, [sp, #36]
add x1, sp, #32
mov w2, #0
bl _waitpid
ldr w8, [sp, #36]
subs w8, w0, w8
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14:
adrp x0, l___func__._run_tests@PAGE
add x0, x0, l___func__._run_tests@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #43
adrp x3, l_.str.10@PAGE
add x3, x3, l_.str.10@PAGEOFF
bl ___assert_rtn
LBB1_15: ; in Loop: Header=BB1_3 Depth=1
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #32]
ands w8, w8, #0x7f
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
adrp x0, l___func__._run_tests@PAGE
add x0, x0, l___func__._run_tests@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #44
adrp x3, l_.str.11@PAGE
add x3, x3, l_.str.11@PAGEOFF
bl ___assert_rtn
LBB1_18: ; in Loop: Header=BB1_3 Depth=1
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #32]
asr w8, w8, #8
and w9, w8, #0xff
str w9, [sp, #40]
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20:
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
adrp x0, l___func__._run_tests@PAGE
add x0, x0, l___func__._run_tests@PAGEOFF
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #48
adrp x3, l_.str.13@PAGE
add x3, x3, l_.str.13@PAGEOFF
bl ___assert_rtn
LBB1_21: ; in Loop: Header=BB1_3 Depth=1
mov x9, sp
add x8, sp, #104
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB1_3
LBB1_22:
ldr x0, [sp, #48]
bl _fclose
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_24
b LBB1_23
LBB1_23:
bl ___stack_chk_fail
LBB1_24:
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x28, x27, [sp, #368] ; 16-byte Folded Reload
add sp, sp, #400
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Must pass in the file containing test names\n"
l_.str.1: ; @.str.1
.asciz "=== passed all tests: %s\n"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "File %s not found \n"
l_.str.4: ; @.str.4
.asciz "=== start test %d: %s\n"
l_.str.5: ; @.str.5
.asciz "VALUE=1"
.section __DATA,__const
.p2align 3 ; @__const._run_tests.envp
l___const._run_tests.envp:
.quad l_.str.5
.quad 0
.section __TEXT,__cstring,cstring_literals
l___func__._run_tests: ; @__func__._run_tests
.asciz "_run_tests"
l_.str.6: ; @.str.6
.asciz "182952797.c"
l_.str.7: ; @.str.7
.asciz "r == 0"
l_.str.8: ; @.str.8
.asciz "pid >= 0"
l_.str.9: ; @.str.9
.asciz "waitpid(pid, &wstatus, WNOHANG) == 0"
l_.str.10: ; @.str.10
.asciz "waitpid(pid, &wstatus, 0) == pid"
l_.str.11: ; @.str.11
.asciz "WIFEXITED(wstatus)"
l_.str.12: ; @.str.12
.asciz "!!! WEXITSTATUS(wstatus) = %d\n"
l_.str.13: ; @.str.13
.asciz "0"
l_.str.14: ; @.str.14
.asciz "=== passed test (%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 %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq __run_tests
LBB0_3:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _run_tests
__run_tests: ## @_run_tests
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $336, %rsp ## imm = 0x150
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -312(%rbp)
movq -312(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -320(%rbp)
cmpq $0, -320(%rbp)
jne LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -312(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
LBB1_2:
movl $1, -324(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
movq -320(%rbp), %rdx
movl $256, %esi ## imm = 0x100
callq _fgets
cmpq $0, %rax
je LBB1_22
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
leaq -272(%rbp), %rdi
callq _strlen
subq $1, %rax
movb $0, -272(%rbp,%rax)
movl -324(%rbp), %esi
movl %esi, %eax
addl $1, %eax
movl %eax, -324(%rbp)
leaq -272(%rbp), %rdx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq -272(%rbp), %rax
movq %rax, -288(%rbp)
movq $0, -280(%rbp)
movq l___const._run_tests.envp(%rip), %rax
movq %rax, -304(%rbp)
movq l___const._run_tests.envp+8(%rip), %rax
movq %rax, -296(%rbp)
leaq -272(%rbp), %rsi
leaq -288(%rbp), %r8
leaq -304(%rbp), %r9
leaq -332(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
movq %rcx, %rdx
callq _posix_spawn
movl %eax, -328(%rbp)
cmpl $0, -328(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_6
## %bb.5:
leaq L___func__._run_tests(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.7(%rip), %rcx
movl $39, %edx
callq ___assert_rtn
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
cmpl $0, -332(%rbp)
setge %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_9
## %bb.8:
leaq L___func__._run_tests(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.8(%rip), %rcx
movl $40, %edx
callq ___assert_rtn
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_3 Depth=1
movl -332(%rbp), %edi
leaq -336(%rbp), %rsi
movl $1, %edx
callq _waitpid
cmpl $0, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_12
## %bb.11:
leaq L___func__._run_tests(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.9(%rip), %rcx
movl $42, %edx
callq ___assert_rtn
LBB1_12: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_3 Depth=1
movl -332(%rbp), %edi
leaq -336(%rbp), %rsi
xorl %edx, %edx
callq _waitpid
cmpl -332(%rbp), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_15
## %bb.14:
leaq L___func__._run_tests(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.10(%rip), %rcx
movl $43, %edx
callq ___assert_rtn
LBB1_15: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_3 Depth=1
movl -336(%rbp), %eax
andl $127, %eax
cmpl $0, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_18
## %bb.17:
leaq L___func__._run_tests(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.11(%rip), %rcx
movl $44, %edx
callq ___assert_rtn
LBB1_18: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_19
LBB1_19: ## in Loop: Header=BB1_3 Depth=1
movl -336(%rbp), %eax
sarl $8, %eax
andl $255, %eax
movl %eax, -328(%rbp)
cmpl $0, %eax
je LBB1_21
## %bb.20:
movl -328(%rbp), %esi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
leaq L___func__._run_tests(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.13(%rip), %rcx
movl $48, %edx
callq ___assert_rtn
LBB1_21: ## in Loop: Header=BB1_3 Depth=1
leaq -272(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_22:
movq -320(%rbp), %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_24
## %bb.23:
addq $336, %rsp ## imm = 0x150
popq %rbp
retq
LBB1_24:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Must pass in the file containing test names\n"
L_.str.1: ## @.str.1
.asciz "=== passed all tests: %s\n"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "File %s not found \n"
L_.str.4: ## @.str.4
.asciz "=== start test %d: %s\n"
L_.str.5: ## @.str.5
.asciz "VALUE=1"
.section __DATA,__const
.p2align 4 ## @__const._run_tests.envp
l___const._run_tests.envp:
.quad L_.str.5
.quad 0
.section __TEXT,__cstring,cstring_literals
L___func__._run_tests: ## @__func__._run_tests
.asciz "_run_tests"
L_.str.6: ## @.str.6
.asciz "182952797.c"
L_.str.7: ## @.str.7
.asciz "r == 0"
L_.str.8: ## @.str.8
.asciz "pid >= 0"
L_.str.9: ## @.str.9
.asciz "waitpid(pid, &wstatus, WNOHANG) == 0"
L_.str.10: ## @.str.10
.asciz "waitpid(pid, &wstatus, 0) == pid"
L_.str.11: ## @.str.11
.asciz "WIFEXITED(wstatus)"
L_.str.12: ## @.str.12
.asciz "!!! WEXITSTATUS(wstatus) = %d\n"
L_.str.13: ## @.str.13
.asciz "0"
L_.str.14: ## @.str.14
.asciz "=== passed test (%s)\n"
.subsections_via_symbols
|
the_stack_data/182952797.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rsum ; -- Begin function rsum
.p2align 2
_rsum: ; @rsum
.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, #592
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #56]
strh wzr, [sp, #54]
str xzr, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr x3, [sp, #56]
add x0, sp, #72
mov x1, #1
mov x2, #512
bl _fread
mov x8, x0
str w8, [sp, #36]
ldr x0, [sp, #56]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
str w8, [sp, #68]
b LBB0_13
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
b LBB0_12
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
str wzr, [sp, #32]
b LBB0_6
LBB0_6: ; Parent Loop BB0_1 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, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=2
ldrh w8, [sp, #54]
and w8, w8, #0x1
lsl w8, w8, #15
strh w8, [sp, #30]
ldrh w8, [sp, #54]
asr w8, w8, #1
strh w8, [sp, #54]
ldrh w9, [sp, #30]
ldrh w8, [sp, #54]
orr w8, w8, w9
strh w8, [sp, #54]
ldrsw x9, [sp, #32]
add x8, sp, #72
ldrb w9, [x8, x9]
ldrh w8, [sp, #54]
add w8, w8, w9
strh w8, [sp, #54]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_6
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #512
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_12:
ldrh w11, [sp, #54]
ldr x8, [sp, #40]
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
str wzr, [sp, #68]
b LBB0_13
LBB0_13:
ldr w8, [sp, #68]
str w8, [sp, #24] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
bl ___stack_chk_fail
LBB0_15:
ldr w0, [sp, #24] ; 4-byte Folded Reload
add sp, sp, #592
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _sum ; -- Begin function sum
.p2align 2
_sum: ; @sum
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #608
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #72]
str x1, [sp, #64]
str xzr, [sp, #56]
str xzr, [sp, #48]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
ldr x3, [sp, #72]
add x0, sp, #88
mov x1, #1
mov x2, #512
bl _fread
mov x8, x0
str w8, [sp, #44]
ldr x0, [sp, #72]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
mov w8, #1
str w8, [sp, #84]
b LBB1_13
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
b LBB1_12
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
str wzr, [sp, #40]
b LBB1_6
LBB1_6: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #40]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_6 Depth=2
ldrsw x9, [sp, #40]
add x8, sp, #88
ldrb w8, [x8, x9]
mov x9, x8
ldr x8, [sp, #56]
add x8, x8, x9
str x8, [sp, #56]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_6 Depth=2
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB1_6
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #44]
subs w8, w8, #512
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
b LBB1_12
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_12:
ldrh w8, [sp, #56]
; kill: def $x8 killed $w8
ldr x9, [sp, #56]
add x8, x8, x9, lsr #16
str x8, [sp, #56]
ldr x11, [sp, #56]
ldr x10, [sp, #48]
ldr x8, [sp, #64]
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
str wzr, [sp, #84]
b LBB1_13
LBB1_13:
ldr w8, [sp, #84]
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, LBB1_15
b LBB1_14
LBB1_14:
bl ___stack_chk_fail
LBB1_15:
ldr w0, [sp, #36] ; 4-byte Folded Reload
add sp, sp, #608
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8]
adrp x9, _prog@GOTPAGE
ldr x9, [x9, _prog@GOTPAGEOFF]
str x8, [x9]
stur wzr, [x29, #-20]
str wzr, [sp, #20]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_1
LBB2_1:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_2
LBB2_2:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldrsb w8, [x8, #1]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
mov w8, #1
str w8, [sp, #20]
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB2_4
LBB2_4:
b LBB2_5
LBB2_5:
b LBB2_6
LBB2_6:
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_7
LBB2_7:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _rsum
b LBB2_10
LBB2_9:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _sum
b LBB2_10
LBB2_10:
b LBB2_24
LBB2_11:
mov w8, #1
str w8, [sp, #24]
b LBB2_12
LBB2_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_23
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_12 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_12 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
bl _perror
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB2_21
LBB2_15: ; in Loop: Header=BB2_12 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_16
LBB2_16: ; in Loop: Header=BB2_12 Depth=1
ldr x0, [sp, #8]
bl _rsum
str w0, [sp] ; 4-byte Folded Spill
b LBB2_18
LBB2_17: ; in Loop: Header=BB2_12 Depth=1
ldr x0, [sp, #8]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x1, [x8, x9, lsl #3]
bl _sum
str w0, [sp] ; 4-byte Folded Spill
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_12 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
str w8, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19: ; in Loop: Header=BB2_12 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
bl _perror
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_12 Depth=1
ldr w9, [sp, #4]
ldur w8, [x29, #-20]
add w8, w8, w9
stur w8, [x29, #-20]
ldr x0, [sp, #8]
bl _fclose
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_12 Depth=1
b LBB2_22
LBB2_22: ; in Loop: Header=BB2_12 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_12
LBB2_23:
b LBB2_24
LBB2_24:
ldur w0, [x29, #-20]
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 "%.5u%6lu\n"
l_.str.1: ; @.str.1
.asciz "%u %lu %s\n"
.comm _prog,8,3 ; @prog
l_.str.2: ; @.str.2
.space 1
l_.str.3: ; @.str.3
.asciz "rb"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rsum ## -- Begin function rsum
.p2align 4, 0x90
_rsum: ## @rsum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $576, %rsp ## imm = 0x240
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -544(%rbp)
movw $0, -546(%rbp)
movq $0, -560(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
leaq -528(%rbp), %rdi
movq -544(%rbp), %rcx
movl $1, %esi
movl $512, %edx ## imm = 0x200
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -564(%rbp)
movq -544(%rbp), %rdi
callq _ferror
cmpl $0, %eax
je LBB0_3
## %bb.2:
movl $1, -532(%rbp)
jmp LBB0_13
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -564(%rbp)
jg LBB0_5
## %bb.4:
jmp LBB0_12
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -560(%rbp), %rax
addq $1, %rax
movq %rax, -560(%rbp)
movl $0, -568(%rbp)
LBB0_6: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -568(%rbp), %eax
cmpl -564(%rbp), %eax
jge LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movzwl -546(%rbp), %eax
andl $1, %eax
shll $15, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -570(%rbp)
movzwl -546(%rbp), %eax
sarl $1, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -546(%rbp)
movzwl -570(%rbp), %ecx
movzwl -546(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -546(%rbp)
movslq -568(%rbp), %rax
movzbl -528(%rbp,%rax), %ecx
movzwl -546(%rbp), %eax
addl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -546(%rbp)
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movl -568(%rbp), %eax
addl $1, %eax
movl %eax, -568(%rbp)
jmp LBB0_6
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
cmpl $512, -564(%rbp) ## imm = 0x200
jge LBB0_11
## %bb.10:
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_12:
movzwl -546(%rbp), %esi
movq -560(%rbp), %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -532(%rbp)
LBB0_13:
movl -532(%rbp), %eax
movl %eax, -576(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_15
## %bb.14:
movl -576(%rbp), %eax ## 4-byte Reload
addq $576, %rsp ## imm = 0x240
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _sum ## -- Begin function sum
.p2align 4, 0x90
_sum: ## @sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $592, %rsp ## imm = 0x250
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -544(%rbp)
movq %rsi, -552(%rbp)
movq $0, -560(%rbp)
movq $0, -568(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_6 Depth 2
leaq -528(%rbp), %rdi
movq -544(%rbp), %rcx
movl $1, %esi
movl $512, %edx ## imm = 0x200
callq _fread
## kill: def $eax killed $eax killed $rax
movl %eax, -572(%rbp)
movq -544(%rbp), %rdi
callq _ferror
cmpl $0, %eax
je LBB1_3
## %bb.2:
movl $1, -532(%rbp)
jmp LBB1_13
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -572(%rbp)
jg LBB1_5
## %bb.4:
jmp LBB1_12
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -568(%rbp), %rax
addq $1, %rax
movq %rax, -568(%rbp)
movl $0, -576(%rbp)
LBB1_6: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -576(%rbp), %eax
cmpl -572(%rbp), %eax
jge LBB1_9
## %bb.7: ## in Loop: Header=BB1_6 Depth=2
movslq -576(%rbp), %rax
movzbl -528(%rbp,%rax), %eax
## kill: def $rax killed $eax
addq -560(%rbp), %rax
movq %rax, -560(%rbp)
## %bb.8: ## in Loop: Header=BB1_6 Depth=2
movl -576(%rbp), %eax
addl $1, %eax
movl %eax, -576(%rbp)
jmp LBB1_6
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
cmpl $512, -572(%rbp) ## imm = 0x200
jge LBB1_11
## %bb.10:
jmp LBB1_12
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_12:
movq -560(%rbp), %rax
andq $65535, %rax ## imm = 0xFFFF
movq -560(%rbp), %rcx
shrq $16, %rcx
addq %rcx, %rax
movq %rax, -560(%rbp)
movq -560(%rbp), %rsi
movq -568(%rbp), %rdx
movq -552(%rbp), %rcx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -532(%rbp)
LBB1_13:
movl -532(%rbp), %eax
movl %eax, -580(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_15
## %bb.14:
movl -580(%rbp), %eax ## 4-byte Reload
addq $592, %rsp ## imm = 0x250
popq %rbp
retq
LBB1_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rcx
movq _prog@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl $0, -20(%rbp)
movl $0, -28(%rbp)
cmpl $1, -8(%rbp)
jle LBB2_6
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB2_5
## %bb.2:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movsbl 1(%rax), %eax
cmpl $114, %eax
jne LBB2_4
## %bb.3:
movl $1, -28(%rbp)
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
LBB2_4:
jmp LBB2_5
LBB2_5:
jmp LBB2_6
LBB2_6:
cmpl $1, -8(%rbp)
jne LBB2_11
## %bb.7:
cmpl $0, -28(%rbp)
je LBB2_9
## %bb.8:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _rsum
jmp LBB2_10
LBB2_9:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
callq _sum
LBB2_10:
jmp LBB2_24
LBB2_11:
movl $1, -24(%rbp)
LBB2_12: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_23
## %bb.13: ## in Loop: Header=BB2_12 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB2_15
## %bb.14: ## in Loop: Header=BB2_12 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _perror
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_21
LBB2_15: ## in Loop: Header=BB2_12 Depth=1
cmpl $0, -28(%rbp)
je LBB2_17
## %bb.16: ## in Loop: Header=BB2_12 Depth=1
movq -40(%rbp), %rdi
callq _rsum
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB2_18
LBB2_17: ## in Loop: Header=BB2_12 Depth=1
movq -40(%rbp), %rdi
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _sum
movl %eax, -48(%rbp) ## 4-byte Spill
LBB2_18: ## in Loop: Header=BB2_12 Depth=1
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, -44(%rbp)
cmpl $0, -44(%rbp)
je LBB2_20
## %bb.19: ## in Loop: Header=BB2_12 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _perror
LBB2_20: ## in Loop: Header=BB2_12 Depth=1
movl -44(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
movq -40(%rbp), %rdi
callq _fclose
LBB2_21: ## in Loop: Header=BB2_12 Depth=1
jmp LBB2_22
LBB2_22: ## in Loop: Header=BB2_12 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB2_12
LBB2_23:
jmp LBB2_24
LBB2_24:
movl -20(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.5u%6lu\n"
L_.str.1: ## @.str.1
.asciz "%u %lu %s\n"
.comm _prog,8,3 ## @prog
L_.str.2: ## @.str.2
.space 1
L_.str.3: ## @.str.3
.asciz "rb"
.subsections_via_symbols
|
the_stack_data/242331085.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/26700439.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]
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
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 "%d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $5, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -12(%rbp)
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
|
the_stack_data/451552.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x9, sp
sub x8, x29, #20
str x8, [x9]
sub x8, x29, #24
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_24
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #999
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
mov w9, #9999
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
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_22
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
stur w8, [x29, #-28]
str wzr, [sp, #32]
b LBB0_8
LBB0_8: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_21
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-28]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
b LBB0_20
LBB0_11: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-28]
str w8, [sp, #28]
ldr w8, [sp, #28]
mov w10, #10
str w10, [sp, #24] ; 4-byte Folded Spill
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-32]
ldr w8, [sp, #28]
sdiv w8, w8, w10
str w8, [sp, #28]
ldr w8, [sp, #28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-36]
ldr w8, [sp, #28]
sdiv w8, w8, w10
str w8, [sp, #28]
ldr w8, [sp, #28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #40]
ldr w8, [sp, #28]
sdiv w8, w8, w10
str w8, [sp, #28]
ldr w8, [sp, #28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #36]
ldr w8, [sp, #36]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [sp, #40]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-36]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-32]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-32]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-36]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_8 Depth=2
b LBB0_20
LBB0_18: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
ldur w9, [x29, #-28]
; 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_19
LBB0_19: ; in Loop: Header=BB0_8 Depth=2
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_8
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #32]
; 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_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_24:
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 %d"
l_.str.1: ; @.str.1
.asciz "Error\n"
l_.str.2: ; @.str.2
.asciz "%-6d"
l_.str.3: ; @.str.3
.asciz "\ncounter=%d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
leaq -24(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $0, -20(%rbp)
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -24(%rbp)
jne LBB0_4
## %bb.3:
jmp LBB0_24
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpl $999, -20(%rbp) ## imm = 0x3E7
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl $9999, -24(%rbp) ## imm = 0x270F
jle LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_22
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -28(%rbp)
movl $0, -48(%rbp)
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -28(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB0_21
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
jmp LBB0_20
LBB0_11: ## in Loop: Header=BB0_8 Depth=2
movl -28(%rbp), %eax
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -32(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -36(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -40(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -44(%rbp)
movl -44(%rbp), %eax
cmpl -40(%rbp), %eax
je LBB0_17
## %bb.12: ## in Loop: Header=BB0_8 Depth=2
movl -40(%rbp), %eax
cmpl -36(%rbp), %eax
je LBB0_17
## %bb.13: ## in Loop: Header=BB0_8 Depth=2
movl -36(%rbp), %eax
cmpl -32(%rbp), %eax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_8 Depth=2
movl -32(%rbp), %eax
cmpl -40(%rbp), %eax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_8 Depth=2
movl -32(%rbp), %eax
cmpl -44(%rbp), %eax
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_8 Depth=2
movl -36(%rbp), %eax
cmpl -44(%rbp), %eax
jne LBB0_18
LBB0_17: ## in Loop: Header=BB0_8 Depth=2
jmp LBB0_20
LBB0_18: ## in Loop: Header=BB0_8 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
movl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.19: ## in Loop: Header=BB0_8 Depth=2
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_8 Depth=2
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_8
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_24:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "Error\n"
L_.str.2: ## @.str.2
.asciz "%-6d"
L_.str.3: ## @.str.3
.asciz "\ncounter=%d\n"
.subsections_via_symbols
|
the_stack_data/181393398.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, #0
str wzr, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _c_null ; @c_null
.zerofill __DATA,__common,_c_null,1,0
.section __DATA,__data
.globl _c_zero ; @c_zero
_c_zero:
.byte 48 ; 0x30
.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)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _c_null ## @c_null
.zerofill __DATA,__common,_c_null,1,0
.section __DATA,__data
.globl _c_zero ## @c_zero
_c_zero:
.byte 48 ## 0x30
.subsections_via_symbols
|
the_stack_data/215766897.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, #1392
add x8, sp, #320
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-24]
str wzr, [sp, #356]
str w0, [sp, #352]
str x1, [x8, #24]
ldr w8, [sp, #352]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [x8, #24]
ldr x9, [x9, #8]
str x9, [x8, #16]
ldr x9, [x8, #24]
ldr x9, [x9, #16]
str x9, [x8, #8]
ldr x0, [x8, #16]
add x1, sp, #176
bl _stat
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w0, #1
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _err
LBB0_4:
ldrh w8, [sp, #180]
and w8, w8, #0xf000
subs w8, w8, #8, lsl #12 ; =32768
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_6:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, #8]
add x1, sp, #32
bl _stat
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_7
LBB0_7:
ldrh w8, [sp, #36]
and w8, w8, #0xf000
subs w8, w8, #4, lsl #12 ; =16384
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_8
LBB0_8:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, #16]
mov w1, #47
bl _strrchr
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x0, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
add x8, x8, #1
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_11
LBB0_10:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_11
LBB0_11:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
str x9, [x8]
ldr x1, [x8, #8]
add x0, sp, #360
mov x3, #1024
mov x2, x3
bl ___strlcpy_chk
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
add x0, sp, #360
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
mov x3, #1024
mov x2, x3
bl ___strlcat_chk
b LBB0_13
LBB0_13:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [x8]
add x0, sp, #360
str x0, [sp] ; 8-byte Folded Spill
mov x3, #1024
mov x2, x3
bl ___strlcat_chk
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
str x8, [x9, #8]
b LBB0_14
LBB0_14:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8, #16]
ldr x1, [x8, #8]
bl _rename
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
mov w0, #1
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _err
LBB0_16:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
bl ___stack_chk_fail
LBB0_18:
mov w0, #0
add sp, sp, #1392
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 "usage: mv src dest\n"
l_.str.1: ; @.str.1
.asciz "mv"
l_.str.2: ; @.str.2
.asciz "mv: invalid file type\n"
l_.str.3: ; @.str.3
.asciz "/"
l_.str.4: ; @.str.4
.asciz "rename"
.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 $1392, %rsp ## imm = 0x570
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1044(%rbp)
movl %edi, -1048(%rbp)
movq %rsi, -1056(%rbp)
cmpl $3, -1048(%rbp)
je LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq -1056(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -1064(%rbp)
movq -1056(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -1072(%rbp)
movq -1064(%rbp), %rdi
leaq -1224(%rbp), %rsi
callq _stat$INODE64
cmpl $0, %eax
jge LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _err
LBB0_4:
movzwl -1220(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $32768, %eax ## imm = 0x8000
je LBB0_6
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_6:
movq -1072(%rbp), %rdi
leaq -1368(%rbp), %rsi
callq _stat$INODE64
movl %eax, -1372(%rbp)
cmpl $0, -1372(%rbp)
jne LBB0_14
## %bb.7:
movzwl -1364(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $16384, %eax ## imm = 0x4000
jne LBB0_14
## %bb.8:
movq -1064(%rbp), %rdi
movl $47, %esi
callq _strrchr
movq %rax, -1080(%rbp)
cmpq $0, -1080(%rbp)
je LBB0_10
## %bb.9:
movq -1080(%rbp), %rax
addq $1, %rax
movq %rax, -1384(%rbp) ## 8-byte Spill
jmp LBB0_11
LBB0_10:
movq -1064(%rbp), %rax
movq %rax, -1384(%rbp) ## 8-byte Spill
LBB0_11:
movq -1384(%rbp), %rax ## 8-byte Reload
movq %rax, -1080(%rbp)
leaq -1040(%rbp), %rdi
movq -1072(%rbp), %rsi
movl $1024, %ecx ## imm = 0x400
movq %rcx, %rdx
callq ___strlcpy_chk
movq -1072(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_13
## %bb.12:
leaq -1040(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
movl $1024, %ecx ## imm = 0x400
movq %rcx, %rdx
callq ___strlcat_chk
LBB0_13:
leaq -1040(%rbp), %rdi
movq -1080(%rbp), %rsi
movl $1024, %ecx ## imm = 0x400
movq %rcx, %rdx
callq ___strlcat_chk
leaq -1040(%rbp), %rax
movq %rax, -1072(%rbp)
LBB0_14:
movq -1064(%rbp), %rdi
movq -1072(%rbp), %rsi
callq _rename
cmpl $0, %eax
jge LBB0_16
## %bb.15:
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl $1, %edi
callq _err
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_18
## %bb.17:
xorl %eax, %eax
addq $1392, %rsp ## imm = 0x570
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usage: mv src dest\n"
L_.str.1: ## @.str.1
.asciz "mv"
L_.str.2: ## @.str.2
.asciz "mv: invalid file type\n"
L_.str.3: ## @.str.3
.asciz "/"
L_.str.4: ## @.str.4
.asciz "rename"
.subsections_via_symbols
|
the_stack_data/64725.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #18
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #19
str x8, [x9]
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #28
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldursb w11, [x29, #-19]
ldur s0, [x29, #-24]
fcvt d0, s0
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str d0, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldursb w10, [x29, #-16]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite uma palavra:"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Entre com um caracter:"
l_.str.3: ; @.str.3
.asciz "Entre com um ponto flutuante:"
l_.str.4: ; @.str.4
.asciz "%f"
l_.str.5: ; @.str.5
.asciz "Entre com um numero inteiro:"
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "Os dados lidos foram: %c, %.2f, %d \n"
l_.str.8: ; @.str.8
.asciz "Palavra digitada: %s"
l_.str.9: ; @.str.9
.asciz "3. letra da Palavra digitada: %c"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -18(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -19(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -28(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -19(%rbp), %esi
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movl -28(%rbp), %edx
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
leaq -18(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movsbl -16(%rbp), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite uma palavra:"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Entre com um caracter:"
L_.str.3: ## @.str.3
.asciz "Entre com um ponto flutuante:"
L_.str.4: ## @.str.4
.asciz "%f"
L_.str.5: ## @.str.5
.asciz "Entre com um numero inteiro:"
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "Os dados lidos foram: %c, %.2f, %d \n"
L_.str.8: ## @.str.8
.asciz "Palavra digitada: %s"
L_.str.9: ## @.str.9
.asciz "3. letra da Palavra digitada: %c"
.subsections_via_symbols
|
the_stack_data/617015.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, #24]
str w0, [sp, #20]
str x1, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #4]
sub x8, x29, #18
add x9, x8, x9
mov w8, #65
strb w8, [x9]
ldr w8, [sp, #4]
subs w8, w8, #10
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_1
b LBB0_5
LBB0_5:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
movl $0, -44(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -44(%rbp), %rax
movb $65, -18(%rbp,%rax)
cmpl $10, -44(%rbp)
jl LBB0_3
## %bb.2:
jmp LBB0_5
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_4
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
cmpl $0, %eax
jne LBB0_1
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/42353.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wcount ; -- Begin function wcount
.p2align 2
_wcount: ; @wcount
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x0, #0
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strtok
str x0, [sp, #8]
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_3:
ldr w0, [sp, #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:
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, #44]
str w0, [sp, #40]
str x1, [sp, #32]
mov w8, #1000
str w8, [sp, #28]
add x0, sp, #48
str x0, [sp, #8] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #8] ; 8-byte Folded Reload
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strtok
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _wcount
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
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
mov w0, #0
add sp, sp, #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 " "
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 _wcount ## -- Begin function wcount
.p2align 4, 0x90
_wcount: ## @wcount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str(%rip), %rsi
callq _strtok
movq %rax, -8(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%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 $1040, %rsp ## imm = 0x410
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -1012(%rbp)
movl %edi, -1016(%rbp)
movq %rsi, -1024(%rbp)
movl $1000, -1028(%rbp) ## imm = 0x3E8
leaq -1008(%rbp), %rdi
callq _gets
leaq -1008(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strtok
movq %rax, -1040(%rbp)
movq -1040(%rbp), %rdi
callq _wcount
movl %eax, %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 LBB1_2
## %bb.1:
xorl %eax, %eax
addq $1040, %rsp ## imm = 0x410
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
|
the_stack_data/49319.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
sub x0, x29, #28
str x0, [sp, #16] ; 8-byte Folded Spill
bl _gets
ldr x0, [sp, #16] ; 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_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #28]
b LBB0_2
LBB0_2:
sub x0, x29, #28
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #2
str w8, [sp, #28]
b LBB0_4
LBB0_4:
sub x0, x29, #28
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_6
b LBB0_5
LBB0_5:
mov w8, #3
str w8, [sp, #28]
b LBB0_6
LBB0_6:
ldr w8, [sp, #28]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_12
LBB0_9:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_13
LBB0_10:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_13
LBB0_11:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_13
LBB0_12:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_13
LBB0_13:
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_15
b LBB0_14
LBB0_14:
bl ___stack_chk_fail
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nDigite el motivo de su viaje"
l_.str.1: ; @.str.1
.asciz "\nEste puede ser automovil, autobus, motocicleta: "
l_.str.2: ; @.str.2
.asciz "automovil"
l_.str.3: ; @.str.3
.asciz "autobus"
l_.str.4: ; @.str.4
.asciz "motocicleta"
l_.str.5: ; @.str.5
.asciz "El peaje es de 500 pesos"
l_.str.6: ; @.str.6
.asciz "El peaje es de 3000 pesos"
l_.str.7: ; @.str.7
.asciz "El peaje es de 300 pesos"
l_.str.8: ; @.str.8
.asciz "Vehiculo no autorizado"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rdi
callq _gets
leaq -32(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_2
## %bb.1:
movl $1, -40(%rbp)
LBB0_2:
leaq -32(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_4
## %bb.3:
movl $2, -40(%rbp)
LBB0_4:
leaq -32(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_6
## %bb.5:
movl $3, -40(%rbp)
LBB0_6:
movl -40(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
subl $1, %eax
je LBB0_7
jmp LBB0_14
LBB0_14:
movl -44(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_8
jmp LBB0_15
LBB0_15:
movl -44(%rbp), %eax ## 4-byte Reload
subl $3, %eax
je LBB0_9
jmp LBB0_10
LBB0_7:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_8:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_9:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_10:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nDigite el motivo de su viaje"
L_.str.1: ## @.str.1
.asciz "\nEste puede ser automovil, autobus, motocicleta: "
L_.str.2: ## @.str.2
.asciz "automovil"
L_.str.3: ## @.str.3
.asciz "autobus"
L_.str.4: ## @.str.4
.asciz "motocicleta"
L_.str.5: ## @.str.5
.asciz "El peaje es de 500 pesos"
L_.str.6: ## @.str.6
.asciz "El peaje es de 3000 pesos"
L_.str.7: ## @.str.7
.asciz "El peaje es de 300 pesos"
L_.str.8: ## @.str.8
.asciz "Vehiculo no autorizado"
.subsections_via_symbols
|
the_stack_data/242330581.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DisplayR ; -- Begin function DisplayR
.p2align 2
_DisplayR: ; @DisplayR
.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]
adrp x8, _DisplayR.i@PAGE
ldr w8, [x8, _DisplayR.i@PAGEOFF]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, _DisplayR.ch@PAGE
ldrsb w8, [x8, _DisplayR.ch@PAGEOFF]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x8, _DisplayR.ch@PAGE
str x8, [sp, #16] ; 8-byte Folded Spill
ldrsb w10, [x8, _DisplayR.ch@PAGEOFF]
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 x9, [sp, #16] ; 8-byte Folded Reload
adrp x10, _DisplayR.i@PAGE
ldr w8, [x10, _DisplayR.i@PAGEOFF]
add w8, w8, #1
str w8, [x10, _DisplayR.i@PAGEOFF]
ldrb w8, [x9, _DisplayR.ch@PAGEOFF]
add w8, w8, #1
strb w8, [x9, _DisplayR.ch@PAGEOFF]
ldur w0, [x29, #-4]
bl _DisplayR
b LBB0_3
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
sub x8, x29, #8
str x8, [sp, #8] ; 8-byte Folded Spill
stur wzr, [x29, #-8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
bl _DisplayR
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @DisplayR.i
_DisplayR.i:
.long 1 ; 0x1
_DisplayR.ch: ; @DisplayR.ch
.byte 65 ; 0x41
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c\t"
l_.str.1: ; @.str.1
.asciz "Enter The Number : "
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DisplayR ## -- Begin function DisplayR
.p2align 4, 0x90
_DisplayR: ## @DisplayR
.cfi_startproc
## %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 _DisplayR.i(%rip), %eax
cmpl -4(%rbp), %eax
jle LBB0_2
## %bb.1:
movsbl _DisplayR.ch(%rip), %eax
cmpl -4(%rbp), %eax
jg LBB0_3
LBB0_2:
movsbl _DisplayR.ch(%rip), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl _DisplayR.i(%rip), %eax
addl $1, %eax
movl %eax, _DisplayR.i(%rip)
movb _DisplayR.ch(%rip), %al
addb $1, %al
movb %al, _DisplayR.ch(%rip)
movl -4(%rbp), %edi
callq _DisplayR
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)
movl $0, -8(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
callq _DisplayR
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 2 ## @DisplayR.i
_DisplayR.i:
.long 1 ## 0x1
_DisplayR.ch: ## @DisplayR.ch
.byte 65 ## 0x41
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c\t"
L_.str.1: ## @.str.1
.asciz "Enter The Number : "
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
|
the_stack_data/64586.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fadd s0, s0, s1
fcvt d2, s0
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fsub s0, s0, s1
fcvt d1, s0
ldur s0, [x29, #-8]
ldur s3, [x29, #-12]
fdiv s0, s0, s3
fcvt d0, s0
mov x8, sp
str d2, [x8]
mov x9, #32
str x9, [x8, #8]
str d1, [x8, #16]
str x9, [x8, #24]
str d0, [x8, #32]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f%f"
l_.str.1: ; @.str.1
.asciz "%.2f%c%.2f%c%.2f"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -12(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -12(%rbp), %xmm1
cvtss2sd %xmm1, %xmm1
movss -8(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
divss -12(%rbp), %xmm2
cvtss2sd %xmm2, %xmm2
leaq L_.str.1(%rip), %rdi
movl $32, %edx
movl %edx, %esi
movb $3, %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 "%f%f"
L_.str.1: ## @.str.1
.asciz "%.2f%c%.2f%c%.2f"
.subsections_via_symbols
|
the_stack_data/1118351.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/137271.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _SECP256K1_NAME ; @SECP256K1_NAME
_SECP256K1_NAME:
.asciz "secp256k1"
.globl _NIST256P1_NAME ; @NIST256P1_NAME
_NIST256P1_NAME:
.asciz "nist256p1"
.globl _ED25519_NAME ; @ED25519_NAME
_ED25519_NAME:
.asciz "ed25519"
.globl _CURVE25519_NAME ; @CURVE25519_NAME
_CURVE25519_NAME:
.asciz "curve25519"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _SECP256K1_NAME ## @SECP256K1_NAME
_SECP256K1_NAME:
.asciz "secp256k1"
.globl _NIST256P1_NAME ## @NIST256P1_NAME
_NIST256P1_NAME:
.asciz "nist256p1"
.globl _ED25519_NAME ## @ED25519_NAME
_ED25519_NAME:
.asciz "ed25519"
.globl _CURVE25519_NAME ## @CURVE25519_NAME
_CURVE25519_NAME:
.asciz "curve25519"
.subsections_via_symbols
|
the_stack_data/43889076.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inv_pendulum_phi_fun ; -- Begin function inv_pendulum_phi_fun
.p2align 2
_inv_pendulum_phi_fun: ; @inv_pendulum_phi_fun
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str x3, [sp, #16]
str x4, [sp, #8]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr x2, [sp, #24]
ldr x3, [sp, #16]
ldr x4, [sp, #8]
bl _inv_pendulum_phi_fun_f0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function inv_pendulum_phi_fun_f0
_inv_pendulum_phi_fun_f0: ; @inv_pendulum_phi_fun_f0
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
str x0, [sp, #152]
str x1, [sp, #144]
str x2, [sp, #136]
str x3, [sp, #128]
str x4, [sp, #120]
fmov d0, #-3.50000000
str d0, [sp, #112]
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #48]
str d0, [sp, #72] ; 8-byte Folded Spill
b LBB1_3
LBB1_2:
movi d0, #0000000000000000
str d0, [sp, #72] ; 8-byte Folded Spill
b LBB1_3
LBB1_3:
ldr d0, [sp, #72] ; 8-byte Folded Reload
str d0, [sp, #104]
ldr x8, [sp, #152]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldr x8, [sp, #152]
ldr x8, [x8, #8]
ldr d0, [x8]
str d0, [sp, #64] ; 8-byte Folded Spill
b LBB1_6
LBB1_5:
movi d0, #0000000000000000
str d0, [sp, #64] ; 8-byte Folded Spill
b LBB1_6
LBB1_6:
ldr d0, [sp, #64] ; 8-byte Folded Reload
str d0, [sp, #96]
ldr d0, [sp, #104]
ldr d1, [sp, #96]
fadd d0, d0, d1
str d0, [sp, #104]
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #8]
str d0, [sp, #56] ; 8-byte Folded Spill
b LBB1_9
LBB1_8:
movi d0, #0000000000000000
str d0, [sp, #56] ; 8-byte Folded Spill
b LBB1_9
LBB1_9:
ldr d0, [sp, #56] ; 8-byte Folded Reload
str d0, [sp, #96]
ldr d0, [sp, #104]
ldr d1, [sp, #96]
fmul d0, d0, d1
str d0, [sp, #104]
ldr d0, [sp, #112]
ldr d1, [sp, #104]
fsub d0, d0, d1
str d0, [sp, #112]
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #56]
str d0, [sp, #48] ; 8-byte Folded Spill
b LBB1_12
LBB1_11:
movi d0, #0000000000000000
str d0, [sp, #48] ; 8-byte Folded Spill
b LBB1_12
LBB1_12:
ldr d0, [sp, #48] ; 8-byte Folded Reload
str d0, [sp, #104]
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8]
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB1_15
LBB1_14:
movi d0, #0000000000000000
str d0, [sp, #40] ; 8-byte Folded Spill
b LBB1_15
LBB1_15:
ldr d0, [sp, #40] ; 8-byte Folded Reload
str d0, [sp, #88]
ldr d0, [sp, #104]
ldr d1, [sp, #88]
fmul d0, d0, d1
str d0, [sp, #104]
ldr d0, [sp, #112]
ldr d1, [sp, #104]
fadd d0, d0, d1
str d0, [sp, #112]
ldr x8, [sp, #144]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
ldr d0, [sp, #112]
ldr x8, [sp, #144]
ldr x8, [x8]
str d0, [x8]
b LBB1_17
LBB1_17:
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #24]
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB1_20
LBB1_19:
movi d0, #0000000000000000
str d0, [sp, #32] ; 8-byte Folded Spill
b LBB1_20
LBB1_20:
ldr d0, [sp, #32] ; 8-byte Folded Reload
str d0, [sp, #112]
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_22
b LBB1_21
LBB1_21:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #32]
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB1_23
LBB1_22:
movi d0, #0000000000000000
str d0, [sp, #24] ; 8-byte Folded Spill
b LBB1_23
LBB1_23:
ldr d0, [sp, #24] ; 8-byte Folded Reload
str d0, [sp, #104]
ldr d0, [sp, #112]
ldr d1, [sp, #104]
fmul d0, d0, d1
str d0, [sp, #112]
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #40]
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB1_26
LBB1_25:
movi d0, #0000000000000000
str d0, [sp, #16] ; 8-byte Folded Spill
b LBB1_26
LBB1_26:
ldr d0, [sp, #16] ; 8-byte Folded Reload
str d0, [sp, #80]
ldr d0, [sp, #96]
ldr d1, [sp, #80]
fmul d0, d0, d1
str d0, [sp, #96]
ldr d0, [sp, #112]
ldr d1, [sp, #96]
fadd d0, d0, d1
str d0, [sp, #112]
ldr x8, [sp, #144]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27:
ldr d0, [sp, #112]
ldr x8, [sp, #144]
ldr x8, [x8]
str d0, [x8, #8]
b LBB1_28
LBB1_28:
ldr x8, [sp, #152]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_30
b LBB1_29
LBB1_29:
ldr x8, [sp, #152]
ldr x8, [x8]
ldr d0, [x8, #16]
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB1_31
LBB1_30:
movi d0, #0000000000000000
str d0, [sp, #8] ; 8-byte Folded Spill
b LBB1_31
LBB1_31:
ldr d0, [sp, #8] ; 8-byte Folded Reload
str d0, [sp, #112]
ldr d0, [sp, #112]
ldr d1, [sp, #104]
fmul d0, d0, d1
str d0, [sp, #112]
ldr d0, [sp, #88]
ldr d1, [sp, #80]
fmul d0, d0, d1
str d0, [sp, #88]
ldr d0, [sp, #112]
ldr d1, [sp, #88]
fadd d0, d0, d1
str d0, [sp, #112]
ldr d0, [sp, #112]
fneg d0, d0
str d0, [sp, #112]
ldr x8, [sp, #144]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_33
b LBB1_32
LBB1_32:
ldr d0, [sp, #112]
ldr x8, [sp, #144]
ldr x8, [x8]
str d0, [x8, #16]
b LBB1_33
LBB1_33:
mov w0, #0
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_incref ; -- Begin function inv_pendulum_phi_fun_incref
.p2align 2
_inv_pendulum_phi_fun_incref: ; @inv_pendulum_phi_fun_incref
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_decref ; -- Begin function inv_pendulum_phi_fun_decref
.p2align 2
_inv_pendulum_phi_fun_decref: ; @inv_pendulum_phi_fun_decref
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_n_in ; -- Begin function inv_pendulum_phi_fun_n_in
.p2align 2
_inv_pendulum_phi_fun_n_in: ; @inv_pendulum_phi_fun_n_in
.cfi_startproc
; %bb.0:
mov w0, #2
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_n_out ; -- Begin function inv_pendulum_phi_fun_n_out
.p2align 2
_inv_pendulum_phi_fun_n_out: ; @inv_pendulum_phi_fun_n_out
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_name_in ; -- Begin function inv_pendulum_phi_fun_name_in
.p2align 2
_inv_pendulum_phi_fun_name_in: ; @inv_pendulum_phi_fun_name_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_4
LBB6_2:
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
b LBB6_5
LBB6_3:
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #8]
b LBB6_5
LBB6_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB6_5
LBB6_5:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_name_out ; -- Begin function inv_pendulum_phi_fun_name_out
.p2align 2
_inv_pendulum_phi_fun_name_out: ; @inv_pendulum_phi_fun_name_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #8]
b LBB7_3
LBB7_2:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB7_3
LBB7_3:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_sparsity_in ; -- Begin function inv_pendulum_phi_fun_sparsity_in
.p2align 2
_inv_pendulum_phi_fun_sparsity_in: ; @inv_pendulum_phi_fun_sparsity_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
str w8, [sp] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldr w8, [sp] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB8_3
b LBB8_4
LBB8_2:
adrp x8, _inv_pendulum_phi_fun_s0@PAGE
add x8, x8, _inv_pendulum_phi_fun_s0@PAGEOFF
str x8, [sp, #8]
b LBB8_5
LBB8_3:
adrp x8, _inv_pendulum_phi_fun_s1@PAGE
add x8, x8, _inv_pendulum_phi_fun_s1@PAGEOFF
str x8, [sp, #8]
b LBB8_5
LBB8_4:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB8_5
LBB8_5:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_sparsity_out ; -- Begin function inv_pendulum_phi_fun_sparsity_out
.p2align 2
_inv_pendulum_phi_fun_sparsity_out: ; @inv_pendulum_phi_fun_sparsity_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #4]
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
adrp x8, _inv_pendulum_phi_fun_s2@PAGE
add x8, x8, _inv_pendulum_phi_fun_s2@PAGEOFF
str x8, [sp, #8]
b LBB9_3
LBB9_2:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
b LBB9_3
LBB9_3:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _inv_pendulum_phi_fun_work ; -- Begin function inv_pendulum_phi_fun_work
.p2align 2
_inv_pendulum_phi_fun_work: ; @inv_pendulum_phi_fun_work
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str x2, [sp, #8]
str x3, [sp]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldr x9, [sp, #24]
mov w8, #2
str w8, [x9]
b LBB10_2
LBB10_2:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3:
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9]
b LBB10_4
LBB10_4:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_6
b LBB10_5
LBB10_5:
ldr x8, [sp, #8]
str wzr, [x8]
b LBB10_6
LBB10_6:
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
ldr x8, [sp]
str wzr, [x8]
b LBB10_8
LBB10_8:
mov w0, #0
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "i0"
l_.str.1: ; @.str.1
.asciz "i1"
l_.str.2: ; @.str.2
.asciz "o0"
.section __TEXT,__const
.p2align 2 ; @inv_pendulum_phi_fun_s0
_inv_pendulum_phi_fun_s0:
.long 8 ; 0x8
.long 1 ; 0x1
.long 0 ; 0x0
.long 8 ; 0x8
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.p2align 2 ; @inv_pendulum_phi_fun_s1
_inv_pendulum_phi_fun_s1:
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.p2align 2 ; @inv_pendulum_phi_fun_s2
_inv_pendulum_phi_fun_s2:
.long 3 ; 0x3
.long 1 ; 0x1
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _inv_pendulum_phi_fun ## -- Begin function inv_pendulum_phi_fun
.p2align 4, 0x90
_inv_pendulum_phi_fun: ## @inv_pendulum_phi_fun
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
movq -40(%rbp), %r8
callq _inv_pendulum_phi_fun_f0
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function inv_pendulum_phi_fun_f0
LCPI1_0:
.quad 0xc00c000000000000 ## double -3.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_inv_pendulum_phi_fun_f0: ## @inv_pendulum_phi_fun_f0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $24, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 48(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp) ## 8-byte Spill
jmp LBB1_3
LBB1_2:
xorps %xmm0, %xmm0
movsd %xmm0, -88(%rbp) ## 8-byte Spill
jmp LBB1_3
LBB1_3:
movsd -88(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB1_5
## %bb.4:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp) ## 8-byte Spill
jmp LBB1_6
LBB1_5:
xorps %xmm0, %xmm0
movsd %xmm0, -96(%rbp) ## 8-byte Spill
jmp LBB1_6
LBB1_6:
movsd -96(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -64(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_8
## %bb.7:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -104(%rbp) ## 8-byte Spill
jmp LBB1_9
LBB1_8:
xorps %xmm0, %xmm0
movsd %xmm0, -104(%rbp) ## 8-byte Spill
jmp LBB1_9
LBB1_9:
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -64(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -56(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_11
## %bb.10:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 56(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -112(%rbp) ## 8-byte Spill
jmp LBB1_12
LBB1_11:
xorps %xmm0, %xmm0
movsd %xmm0, -112(%rbp) ## 8-byte Spill
jmp LBB1_12
LBB1_12:
movsd -112(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_14
## %bb.13:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -120(%rbp) ## 8-byte Spill
jmp LBB1_15
LBB1_14:
xorps %xmm0, %xmm0
movsd %xmm0, -120(%rbp) ## 8-byte Spill
jmp LBB1_15
LBB1_15:
movsd -120(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -72(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -56(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB1_17
## %bb.16:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, (%rax)
LBB1_17:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_19
## %bb.18:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -128(%rbp) ## 8-byte Spill
jmp LBB1_20
LBB1_19:
xorps %xmm0, %xmm0
movsd %xmm0, -128(%rbp) ## 8-byte Spill
jmp LBB1_20
LBB1_20:
movsd -128(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_22
## %bb.21:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 32(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -136(%rbp) ## 8-byte Spill
jmp LBB1_23
LBB1_22:
xorps %xmm0, %xmm0
movsd %xmm0, -136(%rbp) ## 8-byte Spill
jmp LBB1_23
LBB1_23:
movsd -136(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -56(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_25
## %bb.24:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 40(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -144(%rbp) ## 8-byte Spill
jmp LBB1_26
LBB1_25:
xorps %xmm0, %xmm0
movsd %xmm0, -144(%rbp) ## 8-byte Spill
jmp LBB1_26
LBB1_26:
movsd -144(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -80(%rbp), %xmm0
movsd %xmm0, -64(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -64(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB1_28
## %bb.27:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 8(%rax)
LBB1_28:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB1_30
## %bb.29:
movq -8(%rbp), %rax
movq (%rax), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -152(%rbp) ## 8-byte Spill
jmp LBB1_31
LBB1_30:
xorps %xmm0, %xmm0
movsd %xmm0, -152(%rbp) ## 8-byte Spill
jmp LBB1_31
LBB1_31:
movsd -152(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -56(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -80(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -72(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -48(%rbp)
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB1_33
## %bb.32:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -16(%rbp), %rax
movq (%rax), %rax
movsd %xmm0, 16(%rax)
LBB1_33:
xorl %eax, %eax
addq $24, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_incref ## -- Begin function inv_pendulum_phi_fun_incref
.p2align 4, 0x90
_inv_pendulum_phi_fun_incref: ## @inv_pendulum_phi_fun_incref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_decref ## -- Begin function inv_pendulum_phi_fun_decref
.p2align 4, 0x90
_inv_pendulum_phi_fun_decref: ## @inv_pendulum_phi_fun_decref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_n_in ## -- Begin function inv_pendulum_phi_fun_n_in
.p2align 4, 0x90
_inv_pendulum_phi_fun_n_in: ## @inv_pendulum_phi_fun_n_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $2, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_n_out ## -- Begin function inv_pendulum_phi_fun_n_out
.p2align 4, 0x90
_inv_pendulum_phi_fun_n_out: ## @inv_pendulum_phi_fun_n_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_name_in ## -- Begin function inv_pendulum_phi_fun_name_in
.p2align 4, 0x90
_inv_pendulum_phi_fun_name_in: ## @inv_pendulum_phi_fun_name_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB6_1
jmp LBB6_5
LBB6_5:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB6_2
jmp LBB6_3
LBB6_1:
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB6_4
LBB6_2:
leaq L_.str.1(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB6_4
LBB6_3:
movq $0, -8(%rbp)
LBB6_4:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_name_out ## -- Begin function inv_pendulum_phi_fun_name_out
.p2align 4, 0x90
_inv_pendulum_phi_fun_name_out: ## @inv_pendulum_phi_fun_name_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -12(%rbp)
movl -12(%rbp), %eax
testl %eax, %eax
jne LBB7_2
jmp LBB7_1
LBB7_1:
leaq L_.str.2(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB7_3
LBB7_2:
movq $0, -8(%rbp)
LBB7_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_sparsity_in ## -- Begin function inv_pendulum_phi_fun_sparsity_in
.p2align 4, 0x90
_inv_pendulum_phi_fun_sparsity_in: ## @inv_pendulum_phi_fun_sparsity_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -12(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB8_1
jmp LBB8_5
LBB8_5:
movl -16(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB8_2
jmp LBB8_3
LBB8_1:
leaq _inv_pendulum_phi_fun_s0(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB8_4
LBB8_2:
leaq _inv_pendulum_phi_fun_s1(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB8_4
LBB8_3:
movq $0, -8(%rbp)
LBB8_4:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_sparsity_out ## -- Begin function inv_pendulum_phi_fun_sparsity_out
.p2align 4, 0x90
_inv_pendulum_phi_fun_sparsity_out: ## @inv_pendulum_phi_fun_sparsity_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -12(%rbp)
movl -12(%rbp), %eax
testl %eax, %eax
jne LBB9_2
jmp LBB9_1
LBB9_1:
leaq _inv_pendulum_phi_fun_s2(%rip), %rax
movq %rax, -8(%rbp)
jmp LBB9_3
LBB9_2:
movq $0, -8(%rbp)
LBB9_3:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inv_pendulum_phi_fun_work ## -- Begin function inv_pendulum_phi_fun_work
.p2align 4, 0x90
_inv_pendulum_phi_fun_work: ## @inv_pendulum_phi_fun_work
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
cmpq $0, -8(%rbp)
je LBB10_2
## %bb.1:
movq -8(%rbp), %rax
movl $2, (%rax)
LBB10_2:
cmpq $0, -16(%rbp)
je LBB10_4
## %bb.3:
movq -16(%rbp), %rax
movl $1, (%rax)
LBB10_4:
cmpq $0, -24(%rbp)
je LBB10_6
## %bb.5:
movq -24(%rbp), %rax
movl $0, (%rax)
LBB10_6:
cmpq $0, -32(%rbp)
je LBB10_8
## %bb.7:
movq -32(%rbp), %rax
movl $0, (%rax)
LBB10_8:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "i0"
L_.str.1: ## @.str.1
.asciz "i1"
L_.str.2: ## @.str.2
.asciz "o0"
.section __TEXT,__const
.p2align 4 ## @inv_pendulum_phi_fun_s0
_inv_pendulum_phi_fun_s0:
.long 8 ## 0x8
.long 1 ## 0x1
.long 0 ## 0x0
.long 8 ## 0x8
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.p2align 4 ## @inv_pendulum_phi_fun_s1
_inv_pendulum_phi_fun_s1:
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.p2align 4 ## @inv_pendulum_phi_fun_s2
_inv_pendulum_phi_fun_s2:
.long 3 ## 0x3
.long 1 ## 0x1
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.subsections_via_symbols
|
the_stack_data/117327499.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
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov w1, #0
bl _open
str w0, [sp, #12]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
mov x9, sp
mov x8, #448
str x8, [x9]
mov w1, #1538
bl _open
str w0, [sp, #8]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_6:
ldr w0, [sp, #12]
add x1, sp, #32
bl _fstat
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_8:
ldrh w8, [sp, #36]
and w8, w8, #0xf000
subs w8, w8, #8, lsl #12 ; =32768
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_10:
ldr w0, [sp, #8]
ldr x1, [sp, #128]
bl _ftruncate
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_12:
ldr x1, [sp, #128]
ldr w4, [sp, #12]
mov x0, #0
mov w3, #1
mov x2, x3
mov x5, #0
bl _mmap
str x0, [sp, #24]
ldr x8, [sp, #24]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_14:
ldr x1, [sp, #128]
ldr w4, [sp, #8]
mov x0, #0
mov w2, #2
mov w3, #1
mov x5, #0
bl _mmap
str x0, [sp, #16]
ldr x8, [sp, #16]
adds x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_16:
ldr w0, [sp, #12]
bl _close
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_18:
ldr w0, [sp, #8]
bl _close
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_20:
ldr x0, [sp, #16]
ldr x1, [sp, #24]
ldr x2, [sp, #128]
mov x3, #-1
bl ___memcpy_chk
ldr x0, [sp, #24]
ldr x1, [sp, #128]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_22:
ldr x0, [sp, #16]
ldr x1, [sp, #128]
bl _munmap
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_24:
mov w0, #1
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 "Uso: %s <archivo> <destino>\n"
l_.str.1: ; @.str.1
.asciz "Error al abrir el origen"
l_.str.2: ; @.str.2
.asciz "Error al abrir el destino"
l_.str.3: ; @.str.3
.asciz "Error al hacer stat"
l_.str.4: ; @.str.4
.asciz "%s no es un archivo regular\n"
l_.str.5: ; @.str.5
.asciz "Error en el ftruncate"
l_.str.6: ; @.str.6
.asciz "Fallo el mapeo del origen"
l_.str.7: ; @.str.7
.asciz "Fallo el mapeo del destino"
l_.str.8: ; @.str.8
.asciz "Error al cerrar el origen"
l_.str.9: ; @.str.9
.asciz "Error al cerrar el destino"
l_.str.10: ; @.str.10
.asciz "Error al cerrar la proyeccion del origen"
l_.str.11: ; @.str.11
.asciz "Error al cerrar la proyeccion del destino"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $192, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -180(%rbp)
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
movl $1538, %esi ## imm = 0x602
movl $448, %edx ## imm = 0x1C0
movb $0, %al
callq _open
movl %eax, -184(%rbp)
cmpl $0, %eax
jge LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6:
movl -180(%rbp), %edi
leaq -160(%rbp), %rsi
callq _fstat$INODE64
cmpl $-1, %eax
jne LBB0_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_8:
movzwl -156(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $32768, %eax ## imm = 0x8000
je LBB0_10
## %bb.9:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
movl %eax, -188(%rbp) ## 4-byte Spill
callq _printf
movl -188(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_10:
movl -184(%rbp), %edi
movq -64(%rbp), %rsi
callq _ftruncate
cmpl $-1, %eax
jne LBB0_12
## %bb.11:
leaq L_.str.5(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_12:
movq -64(%rbp), %rsi
movl -180(%rbp), %r8d
xorl %eax, %eax
movl %eax, %r9d
movl $1, %ecx
movq %r9, %rdi
movl %ecx, %edx
callq _mmap
movq %rax, -168(%rbp)
movq $-1, %rax
cmpq %rax, -168(%rbp)
jne LBB0_14
## %bb.13:
leaq L_.str.6(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_14:
movq -64(%rbp), %rsi
movl -184(%rbp), %r8d
xorl %eax, %eax
movl %eax, %r9d
movl $2, %edx
movl $1, %ecx
movq %r9, %rdi
callq _mmap
movq %rax, -176(%rbp)
movq $-1, %rax
cmpq %rax, -176(%rbp)
jne LBB0_16
## %bb.15:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_16:
movl -180(%rbp), %edi
callq _close
cmpl $-1, %eax
jne LBB0_18
## %bb.17:
leaq L_.str.8(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_18:
movl -184(%rbp), %edi
callq _close
cmpl $-1, %eax
jne LBB0_20
## %bb.19:
leaq L_.str.9(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_20:
movq -176(%rbp), %rdi
movq -168(%rbp), %rsi
movq -64(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -168(%rbp), %rdi
movq -64(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB0_22
## %bb.21:
leaq L_.str.10(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_22:
movq -176(%rbp), %rdi
movq -64(%rbp), %rsi
callq _munmap
cmpl $-1, %eax
jne LBB0_24
## %bb.23:
leaq L_.str.11(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_24:
movl $1, %eax
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Uso: %s <archivo> <destino>\n"
L_.str.1: ## @.str.1
.asciz "Error al abrir el origen"
L_.str.2: ## @.str.2
.asciz "Error al abrir el destino"
L_.str.3: ## @.str.3
.asciz "Error al hacer stat"
L_.str.4: ## @.str.4
.asciz "%s no es un archivo regular\n"
L_.str.5: ## @.str.5
.asciz "Error en el ftruncate"
L_.str.6: ## @.str.6
.asciz "Fallo el mapeo del origen"
L_.str.7: ## @.str.7
.asciz "Fallo el mapeo del destino"
L_.str.8: ## @.str.8
.asciz "Error al cerrar el origen"
L_.str.9: ## @.str.9
.asciz "Error al cerrar el destino"
L_.str.10: ## @.str.10
.asciz "Error al cerrar la proyeccion del origen"
L_.str.11: ## @.str.11
.asciz "Error al cerrar la proyeccion del destino"
.subsections_via_symbols
|
the_stack_data/79419.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/231394643.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 0x7ff0000000000000 ; double +Inf
.section __TEXT,__text,regular,pure_instructions
.globl _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, #3008
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #96] ; 8-byte Folded Spill
adrp x8, _xf_compare1_d@GOTPAGE
ldr x8, [x8, _xf_compare1_d@GOTPAGEOFF]
str x8, [sp, #104] ; 8-byte Folded Spill
stur wzr, [x29, #-100]
stur w0, [x29, #-104]
stur x1, [x29, #-112]
str xzr, [sp, #248]
str xzr, [sp, #240]
str xzr, [sp, #232]
str xzr, [sp, #224]
; kill: def $x8 killed $xzr
str xzr, [sp, #208]
str xzr, [sp, #200]
str xzr, [sp, #192]
str xzr, [sp, #184]
str xzr, [sp, #176]
str xzr, [sp, #168]
str xzr, [sp, #160]
str xzr, [sp, #152]
str xzr, [sp, #144]
str xzr, [sp, #136]
str wzr, [sp, #132]
mov w8, #1
str w8, [sp, #128]
mov w8, #2
str w8, [sp, #124]
mov w8, #3
str w8, [sp, #120]
mov w8, #4
str w8, [sp, #116]
mov w8, #-1
str w8, [sp, #112]
ldur w8, [x29, #-104]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
str x1, [sp, #88] ; 8-byte Folded Spill
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
str x1, [sp, #80] ; 8-byte Folded Spill
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x1, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
mov x8, #1000
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [sp, #72] ; 8-byte Folded Spill
str x8, [x9]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #128]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #124]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #120]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #116]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #132]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr w9, [sp, #112]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
bl _fprintf
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x9]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x9]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
ldr x1, [sp, #80] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x1, [sp, #88] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fprintf
mov w0, #0
bl _exit
LBB0_2:
ldur x8, [x29, #-112]
ldr x8, [x8, #8]
str x8, [sp, #144]
mov x8, #2
str x8, [sp, #888]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldursw x9, [x29, #-104]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
ldursw x9, [x29, #-104]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
adrp x10, l_.str.10@PAGE
add x10, x10, l_.str.10@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #128]
b LBB0_28
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #124]
b LBB0_27
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #120]
b LBB0_26
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #116]
b LBB0_25
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #132]
b LBB0_24
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #136]
b LBB0_23
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
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, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
add x9, x9, #1
str x9, [sp, #888]
ldr x0, [x8, x9, lsl #3]
bl _atoi
str w0, [sp, #112]
b LBB0_22
LBB0_21:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-112]
ldr x9, [sp, #888]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
adrp x10, l_.str.10@PAGE
add x10, x10, l_.str.10@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.37@PAGE
add x1, x1, l_.str.37@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_3 Depth=1
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_3
LBB0_32:
ldr x8, [sp, #136]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
adrp x8, l_.str.38@PAGE
add x8, x8, l_.str.38@PAGEOFF
str x8, [sp, #136]
b LBB0_34
LBB0_34:
mov w8, #8
str w8, [sp, #256]
str w8, [sp, #268]
str w8, [sp, #264]
str w8, [sp, #260]
ldr x0, [sp, #144]
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, LBB0_36
b LBB0_35
LBB0_35:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #280]
b LBB0_39
LBB0_36:
ldr x0, [sp, #144]
adrp x1, l_.str.40@PAGE
add x1, x1, l_.str.40@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #280]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
ldr x8, [sp, #144]
mov x9, sp
adrp x10, l_.str.10@PAGE
add x10, x10, l_.str.10@PAGEOFF
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.41@PAGE
add x1, x1, l_.str.41@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_38:
b LBB0_39
LBB0_39:
str xzr, [sp, #848]
b LBB0_40
LBB0_40: ; =>This Loop Header: Depth=1
; Child Loop BB0_44 Depth 2
ldr x2, [sp, #280]
add x0, sp, #1912
mov w1, #1000
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_111
b LBB0_41
LBB0_41: ; in Loop: Header=BB0_40 Depth=1
ldrsb w8, [sp, #1912]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_40 Depth=1
b LBB0_40
LBB0_43: ; in Loop: Header=BB0_40 Depth=1
add x8, sp, #1912
str x8, [sp, #904]
mov x8, #4
str x8, [sp, #832]
mov x8, #1
str x8, [sp, #840]
b LBB0_44
LBB0_44: ; Parent Loop BB0_40 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [sp, #904]
adrp x1, l_.str.42@PAGE
add x1, x1, l_.str.42@PAGEOFF
bl _strtok
mov x8, x0
str x8, [sp, #896]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_59
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_44 Depth=2
; kill: def $x8 killed $xzr
str xzr, [sp, #904]
ldr x8, [sp, #840]
ldrsw x9, [sp, #128]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_48
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_44 Depth=2
ldr x0, [sp, #896]
mov x9, sp
add x8, sp, #824
str x8, [x9]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _sscanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #832]
subs x8, x8, #1
str x8, [sp, #832]
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #840]
ldrsw x9, [sp, #124]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_44 Depth=2
ldr x0, [sp, #896]
mov x9, sp
add x8, sp, #816
str x8, [x9]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _sscanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #832]
subs x8, x8, #1
str x8, [sp, #832]
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #840]
ldrsw x9, [sp, #120]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_54
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_44 Depth=2
ldr x0, [sp, #896]
mov x9, sp
add x8, sp, #808
str x8, [x9]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _sscanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #832]
subs x8, x8, #1
str x8, [sp, #832]
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #840]
ldrsw x9, [sp, #116]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_57
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_44 Depth=2
ldr x0, [sp, #896]
mov x9, sp
add x8, sp, #800
str x8, [x9]
adrp x1, l_.str.43@PAGE
add x1, x1, l_.str.43@PAGEOFF
bl _sscanf
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #832]
subs x8, x8, #1
str x8, [sp, #832]
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_44 Depth=2
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_44 Depth=2
ldr x8, [sp, #840]
add x8, x8, #1
str x8, [sp, #840]
b LBB0_44
LBB0_59: ; in Loop: Header=BB0_40 Depth=1
ldr x8, [sp, #832]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_104
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_40 Depth=1
mov w8, #0
tbz w8, #0, LBB0_64
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #824]
fcvt s0, d0
stur s0, [x29, #-84]
ldur s0, [x29, #-84]
ldur s1, [x29, #-84]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #68] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_40 Depth=1
ldur s0, [x29, #-84]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #68] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_71
b LBB0_104
LBB0_64: ; in Loop: Header=BB0_40 Depth=1
mov w8, #1
tbz w8, #0, LBB0_68
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #824]
stur d0, [x29, #-56]
ldur d0, [x29, #-56]
ldur d1, [x29, #-56]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #64] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_67
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-56]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #64] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_71
b LBB0_104
LBB0_68: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #824]
stur d0, [x29, #-24]
ldur d0, [x29, #-24]
ldur d1, [x29, #-24]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #60] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_70
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-24]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #60] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_104
b LBB0_71
LBB0_71: ; in Loop: Header=BB0_40 Depth=1
mov w8, #0
tbz w8, #0, LBB0_75
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #816]
fcvt s0, d0
stur s0, [x29, #-88]
ldur s0, [x29, #-88]
ldur s1, [x29, #-88]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #56] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_74
b LBB0_73
LBB0_73: ; in Loop: Header=BB0_40 Depth=1
ldur s0, [x29, #-88]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #56] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_82
b LBB0_104
LBB0_75: ; in Loop: Header=BB0_40 Depth=1
mov w8, #1
tbz w8, #0, LBB0_79
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #816]
stur d0, [x29, #-64]
ldur d0, [x29, #-64]
ldur d1, [x29, #-64]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #52] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_78
b LBB0_77
LBB0_77: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-64]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_78
LBB0_78: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #52] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_82
b LBB0_104
LBB0_79: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #816]
stur d0, [x29, #-32]
ldur d0, [x29, #-32]
ldur d1, [x29, #-32]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #48] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_81
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-32]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB0_81
LBB0_81: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #48] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_104
b LBB0_82
LBB0_82: ; in Loop: Header=BB0_40 Depth=1
mov w8, #0
tbz w8, #0, LBB0_86
b LBB0_83
LBB0_83: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #808]
fcvt s0, d0
stur s0, [x29, #-92]
ldur s0, [x29, #-92]
ldur s1, [x29, #-92]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #44] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_85
b LBB0_84
LBB0_84: ; in Loop: Header=BB0_40 Depth=1
ldur s0, [x29, #-92]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB0_85
LBB0_85: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_93
b LBB0_104
LBB0_86: ; in Loop: Header=BB0_40 Depth=1
mov w8, #1
tbz w8, #0, LBB0_90
b LBB0_87
LBB0_87: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #808]
stur d0, [x29, #-72]
ldur d0, [x29, #-72]
ldur d1, [x29, #-72]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #40] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_89
b LBB0_88
LBB0_88: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-72]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB0_89
LBB0_89: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #40] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_93
b LBB0_104
LBB0_90: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #808]
stur d0, [x29, #-40]
ldur d0, [x29, #-40]
ldur d1, [x29, #-40]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_92
b LBB0_91
LBB0_91: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-40]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB0_92
LBB0_92: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_104
b LBB0_93
LBB0_93: ; in Loop: Header=BB0_40 Depth=1
mov w8, #0
tbz w8, #0, LBB0_97
b LBB0_94
LBB0_94: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #800]
fcvt s0, d0
stur s0, [x29, #-96]
ldur s0, [x29, #-96]
ldur s1, [x29, #-96]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #32] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_96
b LBB0_95
LBB0_95: ; in Loop: Header=BB0_40 Depth=1
ldur s0, [x29, #-96]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_96
LBB0_96: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_97: ; in Loop: Header=BB0_40 Depth=1
mov w8, #1
tbz w8, #0, LBB0_101
b LBB0_98
LBB0_98: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #800]
stur d0, [x29, #-80]
ldur d0, [x29, #-80]
ldur d1, [x29, #-80]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_100
b LBB0_99
LBB0_99: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-80]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_100
LBB0_100: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_101: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #800]
stur d0, [x29, #-48]
ldur d0, [x29, #-48]
ldur d1, [x29, #-48]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_103
b LBB0_102
LBB0_102: ; in Loop: Header=BB0_40 Depth=1
ldur d0, [x29, #-48]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_103
LBB0_103: ; in Loop: Header=BB0_40 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_105
b LBB0_104
LBB0_104: ; in Loop: Header=BB0_40 Depth=1
b LBB0_40
LBB0_105: ; in Loop: Header=BB0_40 Depth=1
ldr x0, [sp, #208]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #268]
mul x1, x8, x9
bl _realloc
str x0, [sp, #208]
ldr x0, [sp, #200]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #264]
mul x1, x8, x9
bl _realloc
str x0, [sp, #200]
ldr x0, [sp, #192]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #260]
mul x1, x8, x9
bl _realloc
str x0, [sp, #192]
ldr x0, [sp, #160]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #256]
mul x1, x8, x9
bl _realloc
str x0, [sp, #160]
ldr x8, [sp, #208]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_109
b LBB0_106
LBB0_106: ; in Loop: Header=BB0_40 Depth=1
ldr x8, [sp, #200]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_109
b LBB0_107
LBB0_107: ; in Loop: Header=BB0_40 Depth=1
ldr x8, [sp, #192]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_109
b LBB0_108
LBB0_108: ; in Loop: Header=BB0_40 Depth=1
ldr x8, [sp, #160]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_110
b LBB0_109
LBB0_109:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [x9]
adrp x1, l_.str.44@PAGE
add x1, x1, l_.str.44@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_110: ; in Loop: Header=BB0_40 Depth=1
ldr d0, [sp, #824]
ldr x8, [sp, #208]
ldr x9, [sp, #848]
str d0, [x8, x9, lsl #3]
ldr d0, [sp, #816]
ldr x8, [sp, #200]
ldr x9, [sp, #848]
str d0, [x8, x9, lsl #3]
ldr d0, [sp, #808]
ldr x8, [sp, #192]
ldr x9, [sp, #848]
str d0, [x8, x9, lsl #3]
ldr d0, [sp, #800]
ldr x8, [sp, #160]
ldr x9, [sp, #848]
str d0, [x8, x9, lsl #3]
ldr x8, [sp, #848]
add x8, x8, #1
str x8, [sp, #848]
b LBB0_40
LBB0_111:
ldr x0, [sp, #144]
adrp x1, l_.str.39@PAGE
add x1, x1, l_.str.39@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_113
b LBB0_112
LBB0_112:
ldr x0, [sp, #280]
bl _fclose
b LBB0_113
LBB0_113:
ldr x0, [sp, #184]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #268]
mul x1, x8, x9
bl _realloc
str x0, [sp, #184]
ldr x0, [sp, #176]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #264]
mul x1, x8, x9
bl _realloc
str x0, [sp, #176]
ldr x0, [sp, #168]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #260]
mul x1, x8, x9
bl _realloc
str x0, [sp, #168]
ldr x0, [sp, #152]
ldr x8, [sp, #848]
add x8, x8, #1
ldrsw x9, [sp, #256]
mul x1, x8, x9
bl _realloc
str x0, [sp, #152]
ldr x8, [sp, #184]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_116
b LBB0_114
LBB0_114:
ldr x8, [sp, #176]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_116
b LBB0_115
LBB0_115:
ldr x8, [sp, #168]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_117
b LBB0_116
LBB0_116:
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [x9]
adrp x1, l_.str.44@PAGE
add x1, x1, l_.str.44@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_117:
str xzr, [sp, #888]
b LBB0_118
LBB0_118: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_121
b LBB0_119
LBB0_119: ; in Loop: Header=BB0_118 Depth=1
ldr x8, [sp, #208]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #184]
ldr x9, [sp, #888]
str d0, [x8, x9, lsl #3]
b LBB0_120
LBB0_120: ; in Loop: Header=BB0_118 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_118
LBB0_121:
ldr x3, [sp, #104] ; 8-byte Folded Reload
ldr x0, [sp, #184]
ldr x1, [sp, #848]
mov x2, #8
bl _qsort
ldr x8, [sp, #184]
ldr d0, [x8]
str d0, [sp, #824]
mov x8, #1
str x8, [sp, #248]
str x8, [sp, #888]
b LBB0_122
LBB0_122: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_127
b LBB0_123
LBB0_123: ; in Loop: Header=BB0_122 Depth=1
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #824]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_125
b LBB0_124
LBB0_124: ; in Loop: Header=BB0_122 Depth=1
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #184]
ldr x9, [sp, #248]
add x10, x9, #1
str x10, [sp, #248]
str d0, [x8, x9, lsl #3]
b LBB0_125
LBB0_125: ; in Loop: Header=BB0_122 Depth=1
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #824]
b LBB0_126
LBB0_126: ; in Loop: Header=BB0_122 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_122
LBB0_127:
str xzr, [sp, #888]
b LBB0_128
LBB0_128: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_131
b LBB0_129
LBB0_129: ; in Loop: Header=BB0_128 Depth=1
ldr x8, [sp, #200]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #176]
ldr x9, [sp, #888]
str d0, [x8, x9, lsl #3]
b LBB0_130
LBB0_130: ; in Loop: Header=BB0_128 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_128
LBB0_131:
ldr x3, [sp, #104] ; 8-byte Folded Reload
ldr x0, [sp, #176]
ldr x1, [sp, #848]
mov x2, #8
bl _qsort
ldr x8, [sp, #176]
ldr d0, [x8]
str d0, [sp, #824]
mov x8, #1
str x8, [sp, #240]
str x8, [sp, #888]
b LBB0_132
LBB0_132: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_137
b LBB0_133
LBB0_133: ; in Loop: Header=BB0_132 Depth=1
ldr x8, [sp, #176]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #824]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_135
b LBB0_134
LBB0_134: ; in Loop: Header=BB0_132 Depth=1
ldr x8, [sp, #176]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #176]
ldr x9, [sp, #240]
add x10, x9, #1
str x10, [sp, #240]
str d0, [x8, x9, lsl #3]
b LBB0_135
LBB0_135: ; in Loop: Header=BB0_132 Depth=1
ldr x8, [sp, #176]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #824]
b LBB0_136
LBB0_136: ; in Loop: Header=BB0_132 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_132
LBB0_137:
str xzr, [sp, #888]
b LBB0_138
LBB0_138: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_141
b LBB0_139
LBB0_139: ; in Loop: Header=BB0_138 Depth=1
ldr x8, [sp, #192]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #168]
ldr x9, [sp, #888]
str d0, [x8, x9, lsl #3]
b LBB0_140
LBB0_140: ; in Loop: Header=BB0_138 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_138
LBB0_141:
ldr x3, [sp, #104] ; 8-byte Folded Reload
ldr x0, [sp, #168]
ldr x1, [sp, #848]
mov x2, #8
bl _qsort
ldr x8, [sp, #168]
ldr d0, [x8]
str d0, [sp, #824]
mov x8, #1
str x8, [sp, #232]
str x8, [sp, #888]
b LBB0_142
LBB0_142: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #888]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_147
b LBB0_143
LBB0_143: ; in Loop: Header=BB0_142 Depth=1
ldr x8, [sp, #168]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #824]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_145
b LBB0_144
LBB0_144: ; in Loop: Header=BB0_142 Depth=1
ldr x8, [sp, #168]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #168]
ldr x9, [sp, #232]
add x10, x9, #1
str x10, [sp, #232]
str d0, [x8, x9, lsl #3]
b LBB0_145
LBB0_145: ; in Loop: Header=BB0_142 Depth=1
ldr x8, [sp, #168]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #824]
b LBB0_146
LBB0_146: ; in Loop: Header=BB0_142 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_142
LBB0_147:
adrp x0, l_.str.45@PAGE
add x0, x0, l_.str.45@PAGEOFF
bl _printf
str xzr, [sp, #872]
b LBB0_148
LBB0_148: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #872]
ldr x9, [sp, #232]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_151
b LBB0_149
LBB0_149: ; in Loop: Header=BB0_148 Depth=1
ldr x8, [sp, #168]
ldr x9, [sp, #872]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.46@PAGE
add x0, x0, l_.str.46@PAGEOFF
bl _printf
b LBB0_150
LBB0_150: ; in Loop: Header=BB0_148 Depth=1
ldr x8, [sp, #872]
add x8, x8, #1
str x8, [sp, #872]
b LBB0_148
LBB0_151:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str xzr, [sp, #888]
b LBB0_152
LBB0_152: ; =>This Loop Header: Depth=1
; Child Loop BB0_154 Depth 2
; Child Loop BB0_156 Depth 3
; Child Loop BB0_168 Depth 3
; Child Loop BB0_170 Depth 4
ldr x8, [sp, #888]
ldr x9, [sp, #248]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_191
b LBB0_153
LBB0_153: ; in Loop: Header=BB0_152 Depth=1
str xzr, [sp, #880]
b LBB0_154
LBB0_154: ; Parent Loop BB0_152 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_156 Depth 3
; Child Loop BB0_168 Depth 3
; Child Loop BB0_170 Depth 4
ldr x8, [sp, #880]
ldr x9, [sp, #240]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_189
b LBB0_155
LBB0_155: ; in Loop: Header=BB0_154 Depth=2
str xzr, [sp, #216]
str xzr, [sp, #856]
b LBB0_156
LBB0_156: ; Parent Loop BB0_152 Depth=1
; Parent Loop BB0_154 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [sp, #856]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_162
b LBB0_157
LBB0_157: ; in Loop: Header=BB0_156 Depth=3
ldr x8, [sp, #208]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d1, [x8, x9, lsl #3]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_160
b LBB0_158
LBB0_158: ; in Loop: Header=BB0_156 Depth=3
ldr x8, [sp, #200]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #176]
ldr x9, [sp, #880]
ldr d1, [x8, x9, lsl #3]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_160
b LBB0_159
LBB0_159: ; in Loop: Header=BB0_154 Depth=2
mov x8, #1
str x8, [sp, #216]
b LBB0_162
LBB0_160: ; in Loop: Header=BB0_156 Depth=3
b LBB0_161
LBB0_161: ; in Loop: Header=BB0_156 Depth=3
ldr x8, [sp, #856]
add x8, x8, #1
str x8, [sp, #856]
b LBB0_156
LBB0_162: ; in Loop: Header=BB0_154 Depth=2
ldr x8, [sp, #216]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_164
b LBB0_163
LBB0_163: ; in Loop: Header=BB0_154 Depth=2
b LBB0_188
LBB0_164: ; in Loop: Header=BB0_154 Depth=2
ldr w8, [sp, #132]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_166
b LBB0_165
LBB0_165: ; in Loop: Header=BB0_154 Depth=2
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d1, [x8, x9, lsl #3]
ldr x8, [sp, #176]
ldr x9, [sp, #880]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.47@PAGE
add x0, x0, l_.str.47@PAGEOFF
bl _printf
b LBB0_167
LBB0_166: ; in Loop: Header=BB0_154 Depth=2
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d0, [x8, x9, lsl #3]
fcvtzs x10, d0
ldr x8, [sp, #176]
ldr x9, [sp, #880]
ldr d0, [x8, x9, lsl #3]
fcvtzs x8, d0
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.48@PAGE
add x0, x0, l_.str.48@PAGEOFF
bl _printf
b LBB0_167
LBB0_167: ; in Loop: Header=BB0_154 Depth=2
str xzr, [sp, #872]
b LBB0_168
LBB0_168: ; Parent Loop BB0_152 Depth=1
; Parent Loop BB0_154 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_170 Depth 4
ldr x8, [sp, #872]
ldr x9, [sp, #232]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_187
b LBB0_169
LBB0_169: ; in Loop: Header=BB0_168 Depth=3
str xzr, [sp, #216]
str xzr, [sp, #856]
b LBB0_170
LBB0_170: ; Parent Loop BB0_152 Depth=1
; Parent Loop BB0_154 Depth=2
; Parent Loop BB0_168 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [sp, #856]
ldr x9, [sp, #848]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_183
b LBB0_171
LBB0_171: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #208]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #184]
ldr x9, [sp, #888]
ldr d1, [x8, x9, lsl #3]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_181
b LBB0_172
LBB0_172: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #200]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #176]
ldr x9, [sp, #880]
ldr d1, [x8, x9, lsl #3]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_181
b LBB0_173
LBB0_173: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #192]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
ldr x8, [sp, #168]
ldr x9, [sp, #872]
ldr d1, [x8, x9, lsl #3]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_181
b LBB0_174
LBB0_174: ; in Loop: Header=BB0_170 Depth=4
ldr w8, [sp, #112]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_176
b LBB0_175
LBB0_175: ; in Loop: Header=BB0_170 Depth=4
ldr w8, [sp, #112]
; implicit-def: $x9
mov x9, x8
ldr x8, [sp, #160]
ldr x10, [sp, #856]
ldr d0, [x8, x10, lsl #3]
mov x8, sp
str x9, [x8]
str d0, [x8, #8]
adrp x0, l_.str.49@PAGE
add x0, x0, l_.str.49@PAGEOFF
bl _printf
b LBB0_180
LBB0_176: ; in Loop: Header=BB0_170 Depth=4
ldr w8, [sp, #112]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_178
b LBB0_177
LBB0_177: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #160]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.50@PAGE
add x0, x0, l_.str.50@PAGEOFF
bl _printf
b LBB0_179
LBB0_178: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #160]
ldr x9, [sp, #856]
ldr d0, [x8, x9, lsl #3]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.51@PAGE
add x0, x0, l_.str.51@PAGEOFF
bl _printf
b LBB0_179
LBB0_179: ; in Loop: Header=BB0_170 Depth=4
b LBB0_180
LBB0_180: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #216]
add x8, x8, #1
str x8, [sp, #216]
b LBB0_181
LBB0_181: ; in Loop: Header=BB0_170 Depth=4
b LBB0_182
LBB0_182: ; in Loop: Header=BB0_170 Depth=4
ldr x8, [sp, #856]
add x8, x8, #1
str x8, [sp, #856]
b LBB0_170
LBB0_183: ; in Loop: Header=BB0_168 Depth=3
ldr x8, [sp, #216]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_185
b LBB0_184
LBB0_184: ; in Loop: Header=BB0_168 Depth=3
ldr x8, [sp, #136]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.52@PAGE
add x0, x0, l_.str.52@PAGEOFF
bl _printf
b LBB0_185
LBB0_185: ; in Loop: Header=BB0_168 Depth=3
b LBB0_186
LBB0_186: ; in Loop: Header=BB0_168 Depth=3
ldr x8, [sp, #872]
add x8, x8, #1
str x8, [sp, #872]
b LBB0_168
LBB0_187: ; in Loop: Header=BB0_154 Depth=2
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_188
LBB0_188: ; in Loop: Header=BB0_154 Depth=2
ldr x8, [sp, #880]
add x8, x8, #1
str x8, [sp, #880]
b LBB0_154
LBB0_189: ; in Loop: Header=BB0_152 Depth=1
b LBB0_190
LBB0_190: ; in Loop: Header=BB0_152 Depth=1
ldr x8, [sp, #888]
add x8, x8, #1
str x8, [sp, #888]
b LBB0_152
LBB0_191:
ldr x0, [sp, #208]
bl _free
ldr x0, [sp, #200]
bl _free
ldr x0, [sp, #192]
bl _free
ldr x0, [sp, #184]
bl _free
ldr x0, [sp, #176]
bl _free
ldr x0, [sp, #168]
bl _free
ldr x0, [sp, #160]
bl _free
ldr x0, [sp, #152]
bl _free
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "----------------------------------------------------------------------\n"
l_.str.2: ; @.str.2
.asciz "%s\n"
l_.str.3: ; @.str.3
.asciz "xe-transpose4 v 8: 4.April.2018 [JRH]"
l_.str.4: ; @.str.4
.asciz "- Transpose data for mixed-design repeated measures analysis\n"
l_.str.5: ; @.str.5
.asciz "- Grouping variables 1 & 2 must be finite numerical values\n"
l_.str.6: ; @.str.6
.asciz "- Repeated-measures variable (-cg3) can be NAN\n"
l_.str.7: ; @.str.7
.asciz "- Max input line length = %d\n"
l_.str.8: ; @.str.8
.asciz "USAGE:\n"
l_.str.9: ; @.str.9
.asciz " %s [input] [g1] [g2] [g3] [data]\n"
l_.str.10: ; @.str.10
.asciz "xe-transpose4"
l_.str.11: ; @.str.11
.asciz " [input]: file name or \"stdin\"\n"
l_.str.12: ; @.str.12
.asciz "VALID OPTIONS:\n"
l_.str.13: ; @.str.13
.asciz " -cg1 column defining subject [%d]\n"
l_.str.14: ; @.str.14
.asciz " -cg2 column defining between-subjects groups [%d]\n"
l_.str.15: ; @.str.15
.asciz " -cg3 column defining repeated measure levels [%d]\n"
l_.str.16: ; @.str.16
.asciz " -cy column containing dependent variable [%d]\n"
l_.str.17: ; @.str.17
.asciz " -gint: output groups 1 & 2 as integers? (0=NO 1=YES) [%d]\n"
l_.str.18: ; @.str.18
.asciz " -m: placeholder for non-numerical or non-finite values [\"-\"]\n"
l_.str.19: ; @.str.19
.asciz " -p: group3 (repeated) output precision [%d]\n"
l_.str.20: ; @.str.20
.asciz " -1=auto (%%f), 0=auto (%%g), >0=decimals\n"
l_.str.21: ; @.str.21
.asciz "NOTE: \n"
l_.str.22: ; @.str.22
.asciz " - if no between-subjects grouping column, set -cg2 to 0\n"
l_.str.23: ; @.str.23
.asciz " - in this case, all subjects are placed in group \"1\"\n"
l_.str.24: ; @.str.24
.asciz "EXAMPLES:\n"
l_.str.25: ; @.str.25
.asciz " %s data.txt -cg1 1 -cg2 2 -cg3 3 -cy 7\n"
l_.str.26: ; @.str.26
.asciz " cat temp.txt | %s stdin \n"
l_.str.27: ; @.str.27
.asciz "OUTPUT:\n"
l_.str.28: ; @.str.28
.asciz " subj grp r_1 r_2 r_3 r_4 etc...\n"
l_.str.29: ; @.str.29
.asciz "\n--- Error [%s]: missing value for argument \"%s\"\n\n"
l_.str.30: ; @.str.30
.asciz "-cg1"
l_.str.31: ; @.str.31
.asciz "-cg2"
l_.str.32: ; @.str.32
.asciz "-cg3"
l_.str.33: ; @.str.33
.asciz "-cy"
l_.str.34: ; @.str.34
.asciz "-gint"
l_.str.35: ; @.str.35
.asciz "-m"
l_.str.36: ; @.str.36
.asciz "-p"
l_.str.37: ; @.str.37
.asciz "\t\007--- Error [%s]: invalid command line argument \"%s\"\n"
l_.str.38: ; @.str.38
.asciz "-"
l_.str.39: ; @.str.39
.asciz "stdin"
l_.str.40: ; @.str.40
.asciz "r"
l_.str.41: ; @.str.41
.asciz "\n--- Error [%s]: file \"%s\" not found\n\n"
l_.str.42: ; @.str.42
.asciz " ,\t\n\r"
l_.str.43: ; @.str.43
.asciz "%lf"
l_.str.44: ; @.str.44
.asciz "\n--- Error [%s]: insufficient memory\n\n"
l_.str.45: ; @.str.45
.asciz "subj\tgrp"
l_.str.46: ; @.str.46
.asciz "\tr_%g"
l_.str.47: ; @.str.47
.asciz "%f\t%f"
l_.str.48: ; @.str.48
.asciz "%ld\t%ld"
l_.str.49: ; @.str.49
.asciz "\t%.*f"
l_.str.50: ; @.str.50
.asciz "\t%g"
l_.str.51: ; @.str.51
.asciz "\t%f"
l_.str.52: ; @.str.52
.asciz "\t%s"
.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 0x7f800000 ## float +Inf
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x7ff0000000000000 ## double +Inf
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_2:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
LCPI0_3:
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.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 $3008, %rsp ## imm = 0xBC0
movl $0, -116(%rbp)
movl %edi, -120(%rbp)
movq %rsi, -128(%rbp)
movq $0, -2808(%rbp)
movq $0, -2816(%rbp)
movq $0, -2824(%rbp)
movq $0, -2832(%rbp)
movq $0, -2848(%rbp)
movq $0, -2856(%rbp)
movq $0, -2864(%rbp)
movq $0, -2872(%rbp)
movq $0, -2880(%rbp)
movq $0, -2888(%rbp)
movq $0, -2896(%rbp)
movq $0, -2904(%rbp)
movq $0, -2912(%rbp)
movq $0, -2920(%rbp)
movl $0, -2924(%rbp)
movl $1, -2928(%rbp)
movl $2, -2932(%rbp)
movl $3, -2936(%rbp)
movl $4, -2940(%rbp)
movl $-1, -2944(%rbp)
cmpl $2, -120(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq %rax, -2968(%rbp) ## 8-byte Spill
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movq %rsi, -2960(%rbp) ## 8-byte Spill
xorl %eax, %eax
movl %eax, -2948(%rbp) ## 4-byte Spill
movb %al, -2949(%rbp) ## 1-byte Spill
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.1(%rip), %rsi
movq %rsi, -2976(%rbp) ## 8-byte Spill
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
callq _fprintf
movq -2976(%rbp), %rsi ## 8-byte Reload
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.4(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.5(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.6(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.7(%rip), %rsi
movl $1000, %edx ## imm = 0x3E8
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.8(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.9(%rip), %rsi
leaq L_.str.10(%rip), %rdx
movq %rdx, -2984(%rbp) ## 8-byte Spill
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.11(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.12(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -2928(%rbp), %edx
leaq L_.str.13(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -2932(%rbp), %edx
leaq L_.str.14(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -2936(%rbp), %edx
leaq L_.str.15(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -2940(%rbp), %edx
leaq L_.str.16(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -2924(%rbp), %edx
leaq L_.str.17(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.18(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
movl -2944(%rbp), %edx
leaq L_.str.19(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.20(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.21(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.22(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.23(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.24(%rip), %rsi
callq _fprintf
movq -2984(%rbp), %rdx ## 8-byte Reload
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $esi killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.25(%rip), %rsi
callq _fprintf
movq -2984(%rbp), %rdx ## 8-byte Reload
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $esi killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.26(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.27(%rip), %rsi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
leaq L_.str.28(%rip), %rsi
callq _fprintf
movq -2976(%rbp), %rsi ## 8-byte Reload
movq -2968(%rbp), %rcx ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
callq _fprintf
movq -2968(%rbp), %rcx ## 8-byte Reload
movq -2960(%rbp), %rsi ## 8-byte Reload
## kill: def $edx killed $eax
movb -2949(%rbp), %al ## 1-byte Reload
movq (%rcx), %rdi
callq _fprintf
movl -2948(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_2:
movq -128(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -2912(%rbp)
movq $2, -2168(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
movslq -120(%rbp), %rcx
cmpq %rcx, %rax
jge LBB0_32
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $45, %eax
jne LBB0_30
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movslq -120(%rbp), %rcx
cmpq %rcx, %rax
jl LBB0_7
## %bb.6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
leaq L_.str.29(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.30(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -2928(%rbp)
jmp LBB0_28
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.31(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -2932(%rbp)
jmp LBB0_27
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.32(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -2936(%rbp)
jmp LBB0_26
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.33(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -2940(%rbp)
jmp LBB0_25
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.34(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -2924(%rbp)
jmp LBB0_24
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.35(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rax
movq %rax, -2920(%rbp)
jmp LBB0_23
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.36(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2168(%rbp)
movq 8(%rax,%rcx,8), %rdi
callq _atoi
movl %eax, -2944(%rbp)
jmp LBB0_22
LBB0_21:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -128(%rbp), %rax
movq -2168(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
leaq L_.str.37(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_27
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_28
LBB0_28: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_29
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_30
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_3
LBB0_32:
cmpq $0, -2920(%rbp)
jne LBB0_34
## %bb.33:
leaq L_.str.38(%rip), %rax
movq %rax, -2920(%rbp)
LBB0_34:
movl $8, -2800(%rbp)
movl $8, -2788(%rbp)
movl $8, -2792(%rbp)
movl $8, -2796(%rbp)
movq -2912(%rbp), %rdi
leaq L_.str.39(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_36
## %bb.35:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -2776(%rbp)
jmp LBB0_39
LBB0_36:
movq -2912(%rbp), %rdi
leaq L_.str.40(%rip), %rsi
callq _fopen
movq %rax, -2776(%rbp)
cmpq $0, %rax
jne LBB0_38
## %bb.37:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -2912(%rbp), %rcx
leaq L_.str.41(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_38:
jmp LBB0_39
LBB0_39:
movq $0, -2208(%rbp)
LBB0_40: ## =>This Loop Header: Depth=1
## Child Loop BB0_44 Depth 2
leaq -1136(%rbp), %rdi
movq -2776(%rbp), %rdx
movl $1000, %esi ## imm = 0x3E8
callq _fgets
cmpq $0, %rax
je LBB0_111
## %bb.41: ## in Loop: Header=BB0_40 Depth=1
movsbl -1136(%rbp), %eax
cmpl $35, %eax
jne LBB0_43
## %bb.42: ## in Loop: Header=BB0_40 Depth=1
jmp LBB0_40
LBB0_43: ## in Loop: Header=BB0_40 Depth=1
leaq -1136(%rbp), %rax
movq %rax, -2152(%rbp)
movq $4, -2224(%rbp)
movq $1, -2216(%rbp)
LBB0_44: ## Parent Loop BB0_40 Depth=1
## => This Inner Loop Header: Depth=2
movq -2152(%rbp), %rdi
leaq L_.str.42(%rip), %rsi
callq _strtok
movq %rax, -2160(%rbp)
cmpq $0, %rax
je LBB0_59
## %bb.45: ## in Loop: Header=BB0_44 Depth=2
movq $0, -2152(%rbp)
movq -2216(%rbp), %rax
movslq -2928(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_48
## %bb.46: ## in Loop: Header=BB0_44 Depth=2
movq -2160(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
leaq -2232(%rbp), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
jne LBB0_48
## %bb.47: ## in Loop: Header=BB0_44 Depth=2
movq -2224(%rbp), %rax
addq $-1, %rax
movq %rax, -2224(%rbp)
LBB0_48: ## in Loop: Header=BB0_44 Depth=2
movq -2216(%rbp), %rax
movslq -2932(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_51
## %bb.49: ## in Loop: Header=BB0_44 Depth=2
movq -2160(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
leaq -2240(%rbp), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
jne LBB0_51
## %bb.50: ## in Loop: Header=BB0_44 Depth=2
movq -2224(%rbp), %rax
addq $-1, %rax
movq %rax, -2224(%rbp)
LBB0_51: ## in Loop: Header=BB0_44 Depth=2
movq -2216(%rbp), %rax
movslq -2936(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_54
## %bb.52: ## in Loop: Header=BB0_44 Depth=2
movq -2160(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
leaq -2248(%rbp), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
jne LBB0_54
## %bb.53: ## in Loop: Header=BB0_44 Depth=2
movq -2224(%rbp), %rax
addq $-1, %rax
movq %rax, -2224(%rbp)
LBB0_54: ## in Loop: Header=BB0_44 Depth=2
movq -2216(%rbp), %rax
movslq -2940(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_57
## %bb.55: ## in Loop: Header=BB0_44 Depth=2
movq -2160(%rbp), %rdi
leaq L_.str.43(%rip), %rsi
leaq -2256(%rbp), %rdx
movb $0, %al
callq _sscanf
cmpl $1, %eax
jne LBB0_57
## %bb.56: ## in Loop: Header=BB0_44 Depth=2
movq -2224(%rbp), %rax
addq $-1, %rax
movq %rax, -2224(%rbp)
LBB0_57: ## in Loop: Header=BB0_44 Depth=2
jmp LBB0_58
LBB0_58: ## in Loop: Header=BB0_44 Depth=2
movq -2216(%rbp), %rax
addq $1, %rax
movq %rax, -2216(%rbp)
jmp LBB0_44
LBB0_59: ## in Loop: Header=BB0_40 Depth=1
cmpq $0, -2224(%rbp)
jne LBB0_104
## %bb.60: ## in Loop: Header=BB0_40 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_61
jmp LBB0_64
LBB0_61: ## in Loop: Header=BB0_40 Depth=1
movsd -2232(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -100(%rbp)
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -100(%rbp), %xmm0
movb %al, -2985(%rbp) ## 1-byte Spill
jne LBB0_63
jp LBB0_63
## %bb.62: ## in Loop: Header=BB0_40 Depth=1
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2985(%rbp) ## 1-byte Spill
LBB0_63: ## in Loop: Header=BB0_40 Depth=1
movb -2985(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_71
jmp LBB0_104
LBB0_64: ## in Loop: Header=BB0_40 Depth=1
movb $1, %al
testb $1, %al
jne LBB0_65
jmp LBB0_68
LBB0_65: ## in Loop: Header=BB0_40 Depth=1
movsd -2232(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp)
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -72(%rbp), %xmm0
movb %al, -2986(%rbp) ## 1-byte Spill
jne LBB0_67
jp LBB0_67
## %bb.66: ## in Loop: Header=BB0_40 Depth=1
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2986(%rbp) ## 1-byte Spill
LBB0_67: ## in Loop: Header=BB0_40 Depth=1
movb -2986(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_71
jmp LBB0_104
LBB0_68: ## in Loop: Header=BB0_40 Depth=1
fldl -2232(%rbp)
fstpt -16(%rbp)
fldt -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -2987(%rbp) ## 1-byte Spill
jp LBB0_70
jmp LBB0_69
LBB0_69: ## in Loop: Header=BB0_40 Depth=1
fldt -16(%rbp)
fabs
flds LCPI0_0(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -2987(%rbp) ## 1-byte Spill
LBB0_70: ## in Loop: Header=BB0_40 Depth=1
movb -2987(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_104
LBB0_71: ## in Loop: Header=BB0_40 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_72
jmp LBB0_75
LBB0_72: ## in Loop: Header=BB0_40 Depth=1
movsd -2240(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -104(%rbp)
movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -104(%rbp), %xmm0
movb %al, -2988(%rbp) ## 1-byte Spill
jne LBB0_74
jp LBB0_74
## %bb.73: ## in Loop: Header=BB0_40 Depth=1
movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2988(%rbp) ## 1-byte Spill
LBB0_74: ## in Loop: Header=BB0_40 Depth=1
movb -2988(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_82
jmp LBB0_104
LBB0_75: ## in Loop: Header=BB0_40 Depth=1
movb $1, %al
testb $1, %al
jne LBB0_76
jmp LBB0_79
LBB0_76: ## in Loop: Header=BB0_40 Depth=1
movsd -2240(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp)
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -80(%rbp), %xmm0
movb %al, -2989(%rbp) ## 1-byte Spill
jne LBB0_78
jp LBB0_78
## %bb.77: ## in Loop: Header=BB0_40 Depth=1
movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2989(%rbp) ## 1-byte Spill
LBB0_78: ## in Loop: Header=BB0_40 Depth=1
movb -2989(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_82
jmp LBB0_104
LBB0_79: ## in Loop: Header=BB0_40 Depth=1
fldl -2240(%rbp)
fstpt -32(%rbp)
fldt -32(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -2990(%rbp) ## 1-byte Spill
jp LBB0_81
jmp LBB0_80
LBB0_80: ## in Loop: Header=BB0_40 Depth=1
fldt -32(%rbp)
fabs
flds LCPI0_0(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -2990(%rbp) ## 1-byte Spill
LBB0_81: ## in Loop: Header=BB0_40 Depth=1
movb -2990(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_104
LBB0_82: ## in Loop: Header=BB0_40 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_83
jmp LBB0_86
LBB0_83: ## in Loop: Header=BB0_40 Depth=1
movsd -2248(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -108(%rbp)
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -108(%rbp), %xmm0
movb %al, -2991(%rbp) ## 1-byte Spill
jne LBB0_85
jp LBB0_85
## %bb.84: ## in Loop: Header=BB0_40 Depth=1
movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2991(%rbp) ## 1-byte Spill
LBB0_85: ## in Loop: Header=BB0_40 Depth=1
movb -2991(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_93
jmp LBB0_104
LBB0_86: ## in Loop: Header=BB0_40 Depth=1
movb $1, %al
testb $1, %al
jne LBB0_87
jmp LBB0_90
LBB0_87: ## in Loop: Header=BB0_40 Depth=1
movsd -2248(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -88(%rbp)
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -88(%rbp), %xmm0
movb %al, -2992(%rbp) ## 1-byte Spill
jne LBB0_89
jp LBB0_89
## %bb.88: ## in Loop: Header=BB0_40 Depth=1
movsd -88(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2992(%rbp) ## 1-byte Spill
LBB0_89: ## in Loop: Header=BB0_40 Depth=1
movb -2992(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_93
jmp LBB0_104
LBB0_90: ## in Loop: Header=BB0_40 Depth=1
fldl -2248(%rbp)
fstpt -48(%rbp)
fldt -48(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -2993(%rbp) ## 1-byte Spill
jp LBB0_92
jmp LBB0_91
LBB0_91: ## in Loop: Header=BB0_40 Depth=1
fldt -48(%rbp)
fabs
flds LCPI0_0(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -2993(%rbp) ## 1-byte Spill
LBB0_92: ## in Loop: Header=BB0_40 Depth=1
movb -2993(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_104
LBB0_93: ## in Loop: Header=BB0_40 Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_94
jmp LBB0_97
LBB0_94: ## in Loop: Header=BB0_40 Depth=1
movsd -2256(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -112(%rbp)
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -112(%rbp), %xmm0
movb %al, -2994(%rbp) ## 1-byte Spill
jne LBB0_96
jp LBB0_96
## %bb.95: ## in Loop: Header=BB0_40 Depth=1
movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2994(%rbp) ## 1-byte Spill
LBB0_96: ## in Loop: Header=BB0_40 Depth=1
movb -2994(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_105
jmp LBB0_104
LBB0_97: ## in Loop: Header=BB0_40 Depth=1
movb $1, %al
testb $1, %al
jne LBB0_98
jmp LBB0_101
LBB0_98: ## in Loop: Header=BB0_40 Depth=1
movsd -2256(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp)
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -96(%rbp), %xmm0
movb %al, -2995(%rbp) ## 1-byte Spill
jne LBB0_100
jp LBB0_100
## %bb.99: ## in Loop: Header=BB0_40 Depth=1
movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -2995(%rbp) ## 1-byte Spill
LBB0_100: ## in Loop: Header=BB0_40 Depth=1
movb -2995(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_105
jmp LBB0_104
LBB0_101: ## in Loop: Header=BB0_40 Depth=1
fldl -2256(%rbp)
fstpt -64(%rbp)
fldt -64(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -2996(%rbp) ## 1-byte Spill
jp LBB0_103
jmp LBB0_102
LBB0_102: ## in Loop: Header=BB0_40 Depth=1
fldt -64(%rbp)
fabs
flds LCPI0_0(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -2996(%rbp) ## 1-byte Spill
LBB0_103: ## in Loop: Header=BB0_40 Depth=1
movb -2996(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_105
LBB0_104: ## in Loop: Header=BB0_40 Depth=1
jmp LBB0_40
LBB0_105: ## in Loop: Header=BB0_40 Depth=1
movq -2848(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2788(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2848(%rbp)
movq -2856(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2792(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2856(%rbp)
movq -2864(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2796(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2864(%rbp)
movq -2896(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2800(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2896(%rbp)
cmpq $0, -2848(%rbp)
je LBB0_109
## %bb.106: ## in Loop: Header=BB0_40 Depth=1
cmpq $0, -2856(%rbp)
je LBB0_109
## %bb.107: ## in Loop: Header=BB0_40 Depth=1
cmpq $0, -2864(%rbp)
je LBB0_109
## %bb.108: ## in Loop: Header=BB0_40 Depth=1
cmpq $0, -2896(%rbp)
jne LBB0_110
LBB0_109:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.44(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_110: ## in Loop: Header=BB0_40 Depth=1
movsd -2232(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -2848(%rbp), %rax
movq -2208(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -2240(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -2856(%rbp), %rax
movq -2208(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -2248(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -2864(%rbp), %rax
movq -2208(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd -2256(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -2896(%rbp), %rax
movq -2208(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq -2208(%rbp), %rax
addq $1, %rax
movq %rax, -2208(%rbp)
jmp LBB0_40
LBB0_111:
movq -2912(%rbp), %rdi
leaq L_.str.39(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_113
## %bb.112:
movq -2776(%rbp), %rdi
callq _fclose
LBB0_113:
movq -2872(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2788(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2872(%rbp)
movq -2880(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2792(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2880(%rbp)
movq -2888(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2796(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2888(%rbp)
movq -2904(%rbp), %rdi
movq -2208(%rbp), %rsi
addq $1, %rsi
movslq -2800(%rbp), %rax
imulq %rax, %rsi
callq _realloc
movq %rax, -2904(%rbp)
cmpq $0, -2872(%rbp)
je LBB0_116
## %bb.114:
cmpq $0, -2880(%rbp)
je LBB0_116
## %bb.115:
cmpq $0, -2888(%rbp)
jne LBB0_117
LBB0_116:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.44(%rip), %rsi
leaq L_.str.10(%rip), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_117:
movq $0, -2168(%rbp)
LBB0_118: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_121
## %bb.119: ## in Loop: Header=BB0_118 Depth=1
movq -2848(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.120: ## in Loop: Header=BB0_118 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_118
LBB0_121:
movq -2872(%rbp), %rdi
movq -2208(%rbp), %rsi
movl $8, %edx
movq _xf_compare1_d@GOTPCREL(%rip), %rcx
callq _qsort
movq -2872(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -2232(%rbp)
movq $1, -2808(%rbp)
movq $1, -2168(%rbp)
LBB0_122: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_127
## %bb.123: ## in Loop: Header=BB0_122 Depth=1
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -2232(%rbp), %xmm0
jne LBB0_124
jp LBB0_124
jmp LBB0_125
LBB0_124: ## in Loop: Header=BB0_122 Depth=1
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2872(%rbp), %rax
movq -2808(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2808(%rbp)
movsd %xmm0, (%rax,%rcx,8)
LBB0_125: ## in Loop: Header=BB0_122 Depth=1
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -2232(%rbp)
## %bb.126: ## in Loop: Header=BB0_122 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_122
LBB0_127:
movq $0, -2168(%rbp)
LBB0_128: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_131
## %bb.129: ## in Loop: Header=BB0_128 Depth=1
movq -2856(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2880(%rbp), %rax
movq -2168(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.130: ## in Loop: Header=BB0_128 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_128
LBB0_131:
movq -2880(%rbp), %rdi
movq -2208(%rbp), %rsi
movl $8, %edx
movq _xf_compare1_d@GOTPCREL(%rip), %rcx
callq _qsort
movq -2880(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -2232(%rbp)
movq $1, -2816(%rbp)
movq $1, -2168(%rbp)
LBB0_132: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_137
## %bb.133: ## in Loop: Header=BB0_132 Depth=1
movq -2880(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -2232(%rbp), %xmm0
jne LBB0_134
jp LBB0_134
jmp LBB0_135
LBB0_134: ## in Loop: Header=BB0_132 Depth=1
movq -2880(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2880(%rbp), %rax
movq -2816(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2816(%rbp)
movsd %xmm0, (%rax,%rcx,8)
LBB0_135: ## in Loop: Header=BB0_132 Depth=1
movq -2880(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -2232(%rbp)
## %bb.136: ## in Loop: Header=BB0_132 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_132
LBB0_137:
movq $0, -2168(%rbp)
LBB0_138: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_141
## %bb.139: ## in Loop: Header=BB0_138 Depth=1
movq -2864(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2888(%rbp), %rax
movq -2168(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.140: ## in Loop: Header=BB0_138 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_138
LBB0_141:
movq -2888(%rbp), %rdi
movq -2208(%rbp), %rsi
movl $8, %edx
movq _xf_compare1_d@GOTPCREL(%rip), %rcx
callq _qsort
movq -2888(%rbp), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -2232(%rbp)
movq $1, -2824(%rbp)
movq $1, -2168(%rbp)
LBB0_142: ## =>This Inner Loop Header: Depth=1
movq -2168(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_147
## %bb.143: ## in Loop: Header=BB0_142 Depth=1
movq -2888(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -2232(%rbp), %xmm0
jne LBB0_144
jp LBB0_144
jmp LBB0_145
LBB0_144: ## in Loop: Header=BB0_142 Depth=1
movq -2888(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2888(%rbp), %rax
movq -2824(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -2824(%rbp)
movsd %xmm0, (%rax,%rcx,8)
LBB0_145: ## in Loop: Header=BB0_142 Depth=1
movq -2888(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -2232(%rbp)
## %bb.146: ## in Loop: Header=BB0_142 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_142
LBB0_147:
leaq L_.str.45(%rip), %rdi
movb $0, %al
callq _printf
movq $0, -2184(%rbp)
LBB0_148: ## =>This Inner Loop Header: Depth=1
movq -2184(%rbp), %rax
cmpq -2824(%rbp), %rax
jge LBB0_151
## %bb.149: ## in Loop: Header=BB0_148 Depth=1
movq -2888(%rbp), %rax
movq -2184(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.46(%rip), %rdi
movb $1, %al
callq _printf
## %bb.150: ## in Loop: Header=BB0_148 Depth=1
movq -2184(%rbp), %rax
addq $1, %rax
movq %rax, -2184(%rbp)
jmp LBB0_148
LBB0_151:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq $0, -2168(%rbp)
LBB0_152: ## =>This Loop Header: Depth=1
## Child Loop BB0_154 Depth 2
## Child Loop BB0_156 Depth 3
## Child Loop BB0_168 Depth 3
## Child Loop BB0_170 Depth 4
movq -2168(%rbp), %rax
cmpq -2808(%rbp), %rax
jge LBB0_191
## %bb.153: ## in Loop: Header=BB0_152 Depth=1
movq $0, -2176(%rbp)
LBB0_154: ## Parent Loop BB0_152 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_156 Depth 3
## Child Loop BB0_168 Depth 3
## Child Loop BB0_170 Depth 4
movq -2176(%rbp), %rax
cmpq -2816(%rbp), %rax
jge LBB0_189
## %bb.155: ## in Loop: Header=BB0_154 Depth=2
movq $0, -2840(%rbp)
movq $0, -2200(%rbp)
LBB0_156: ## Parent Loop BB0_152 Depth=1
## Parent Loop BB0_154 Depth=2
## => This Inner Loop Header: Depth=3
movq -2200(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_162
## %bb.157: ## in Loop: Header=BB0_156 Depth=3
movq -2848(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
ucomisd (%rax,%rcx,8), %xmm0
jne LBB0_160
jp LBB0_160
## %bb.158: ## in Loop: Header=BB0_156 Depth=3
movq -2856(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2880(%rbp), %rax
movq -2176(%rbp), %rcx
ucomisd (%rax,%rcx,8), %xmm0
jne LBB0_160
jp LBB0_160
## %bb.159: ## in Loop: Header=BB0_154 Depth=2
movq $1, -2840(%rbp)
jmp LBB0_162
LBB0_160: ## in Loop: Header=BB0_156 Depth=3
jmp LBB0_161
LBB0_161: ## in Loop: Header=BB0_156 Depth=3
movq -2200(%rbp), %rax
addq $1, %rax
movq %rax, -2200(%rbp)
jmp LBB0_156
LBB0_162: ## in Loop: Header=BB0_154 Depth=2
cmpq $0, -2840(%rbp)
jne LBB0_164
## %bb.163: ## in Loop: Header=BB0_154 Depth=2
jmp LBB0_188
LBB0_164: ## in Loop: Header=BB0_154 Depth=2
cmpl $0, -2924(%rbp)
jne LBB0_166
## %bb.165: ## in Loop: Header=BB0_154 Depth=2
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2880(%rbp), %rax
movq -2176(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
leaq L_.str.47(%rip), %rdi
movb $2, %al
callq _printf
jmp LBB0_167
LBB0_166: ## in Loop: Header=BB0_154 Depth=2
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
cvttsd2si (%rax,%rcx,8), %rsi
movq -2880(%rbp), %rax
movq -2176(%rbp), %rcx
cvttsd2si (%rax,%rcx,8), %rdx
leaq L_.str.48(%rip), %rdi
movb $0, %al
callq _printf
LBB0_167: ## in Loop: Header=BB0_154 Depth=2
movq $0, -2184(%rbp)
LBB0_168: ## Parent Loop BB0_152 Depth=1
## Parent Loop BB0_154 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_170 Depth 4
movq -2184(%rbp), %rax
cmpq -2824(%rbp), %rax
jge LBB0_187
## %bb.169: ## in Loop: Header=BB0_168 Depth=3
movq $0, -2840(%rbp)
movq $0, -2200(%rbp)
LBB0_170: ## Parent Loop BB0_152 Depth=1
## Parent Loop BB0_154 Depth=2
## Parent Loop BB0_168 Depth=3
## => This Inner Loop Header: Depth=4
movq -2200(%rbp), %rax
cmpq -2208(%rbp), %rax
jge LBB0_183
## %bb.171: ## in Loop: Header=BB0_170 Depth=4
movq -2848(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2872(%rbp), %rax
movq -2168(%rbp), %rcx
ucomisd (%rax,%rcx,8), %xmm0
jne LBB0_181
jp LBB0_181
## %bb.172: ## in Loop: Header=BB0_170 Depth=4
movq -2856(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2880(%rbp), %rax
movq -2176(%rbp), %rcx
ucomisd (%rax,%rcx,8), %xmm0
jne LBB0_181
jp LBB0_181
## %bb.173: ## in Loop: Header=BB0_170 Depth=4
movq -2864(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -2888(%rbp), %rax
movq -2184(%rbp), %rcx
ucomisd (%rax,%rcx,8), %xmm0
jne LBB0_181
jp LBB0_181
## %bb.174: ## in Loop: Header=BB0_170 Depth=4
cmpl $0, -2944(%rbp)
jle LBB0_176
## %bb.175: ## in Loop: Header=BB0_170 Depth=4
movl -2944(%rbp), %esi
movq -2896(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.49(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_180
LBB0_176: ## in Loop: Header=BB0_170 Depth=4
cmpl $0, -2944(%rbp)
jne LBB0_178
## %bb.177: ## in Loop: Header=BB0_170 Depth=4
movq -2896(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.50(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_179
LBB0_178: ## in Loop: Header=BB0_170 Depth=4
movq -2896(%rbp), %rax
movq -2200(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.51(%rip), %rdi
movb $1, %al
callq _printf
LBB0_179: ## in Loop: Header=BB0_170 Depth=4
jmp LBB0_180
LBB0_180: ## in Loop: Header=BB0_170 Depth=4
movq -2840(%rbp), %rax
addq $1, %rax
movq %rax, -2840(%rbp)
LBB0_181: ## in Loop: Header=BB0_170 Depth=4
jmp LBB0_182
LBB0_182: ## in Loop: Header=BB0_170 Depth=4
movq -2200(%rbp), %rax
addq $1, %rax
movq %rax, -2200(%rbp)
jmp LBB0_170
LBB0_183: ## in Loop: Header=BB0_168 Depth=3
cmpq $0, -2840(%rbp)
jne LBB0_185
## %bb.184: ## in Loop: Header=BB0_168 Depth=3
movq -2920(%rbp), %rsi
leaq L_.str.52(%rip), %rdi
movb $0, %al
callq _printf
LBB0_185: ## in Loop: Header=BB0_168 Depth=3
jmp LBB0_186
LBB0_186: ## in Loop: Header=BB0_168 Depth=3
movq -2184(%rbp), %rax
addq $1, %rax
movq %rax, -2184(%rbp)
jmp LBB0_168
LBB0_187: ## in Loop: Header=BB0_154 Depth=2
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_188: ## in Loop: Header=BB0_154 Depth=2
movq -2176(%rbp), %rax
addq $1, %rax
movq %rax, -2176(%rbp)
jmp LBB0_154
LBB0_189: ## in Loop: Header=BB0_152 Depth=1
jmp LBB0_190
LBB0_190: ## in Loop: Header=BB0_152 Depth=1
movq -2168(%rbp), %rax
addq $1, %rax
movq %rax, -2168(%rbp)
jmp LBB0_152
LBB0_191:
movq -2848(%rbp), %rdi
callq _free
movq -2856(%rbp), %rdi
callq _free
movq -2864(%rbp), %rdi
callq _free
movq -2872(%rbp), %rdi
callq _free
movq -2880(%rbp), %rdi
callq _free
movq -2888(%rbp), %rdi
callq _free
movq -2896(%rbp), %rdi
callq _free
movq -2904(%rbp), %rdi
callq _free
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "----------------------------------------------------------------------\n"
L_.str.2: ## @.str.2
.asciz "%s\n"
L_.str.3: ## @.str.3
.asciz "xe-transpose4 v 8: 4.April.2018 [JRH]"
L_.str.4: ## @.str.4
.asciz "- Transpose data for mixed-design repeated measures analysis\n"
L_.str.5: ## @.str.5
.asciz "- Grouping variables 1 & 2 must be finite numerical values\n"
L_.str.6: ## @.str.6
.asciz "- Repeated-measures variable (-cg3) can be NAN\n"
L_.str.7: ## @.str.7
.asciz "- Max input line length = %d\n"
L_.str.8: ## @.str.8
.asciz "USAGE:\n"
L_.str.9: ## @.str.9
.asciz " %s [input] [g1] [g2] [g3] [data]\n"
L_.str.10: ## @.str.10
.asciz "xe-transpose4"
L_.str.11: ## @.str.11
.asciz " [input]: file name or \"stdin\"\n"
L_.str.12: ## @.str.12
.asciz "VALID OPTIONS:\n"
L_.str.13: ## @.str.13
.asciz " -cg1 column defining subject [%d]\n"
L_.str.14: ## @.str.14
.asciz " -cg2 column defining between-subjects groups [%d]\n"
L_.str.15: ## @.str.15
.asciz " -cg3 column defining repeated measure levels [%d]\n"
L_.str.16: ## @.str.16
.asciz " -cy column containing dependent variable [%d]\n"
L_.str.17: ## @.str.17
.asciz " -gint: output groups 1 & 2 as integers? (0=NO 1=YES) [%d]\n"
L_.str.18: ## @.str.18
.asciz " -m: placeholder for non-numerical or non-finite values [\"-\"]\n"
L_.str.19: ## @.str.19
.asciz " -p: group3 (repeated) output precision [%d]\n"
L_.str.20: ## @.str.20
.asciz " -1=auto (%%f), 0=auto (%%g), >0=decimals\n"
L_.str.21: ## @.str.21
.asciz "NOTE: \n"
L_.str.22: ## @.str.22
.asciz " - if no between-subjects grouping column, set -cg2 to 0\n"
L_.str.23: ## @.str.23
.asciz " - in this case, all subjects are placed in group \"1\"\n"
L_.str.24: ## @.str.24
.asciz "EXAMPLES:\n"
L_.str.25: ## @.str.25
.asciz " %s data.txt -cg1 1 -cg2 2 -cg3 3 -cy 7\n"
L_.str.26: ## @.str.26
.asciz " cat temp.txt | %s stdin \n"
L_.str.27: ## @.str.27
.asciz "OUTPUT:\n"
L_.str.28: ## @.str.28
.asciz " subj grp r_1 r_2 r_3 r_4 etc...\n"
L_.str.29: ## @.str.29
.asciz "\n--- Error [%s]: missing value for argument \"%s\"\n\n"
L_.str.30: ## @.str.30
.asciz "-cg1"
L_.str.31: ## @.str.31
.asciz "-cg2"
L_.str.32: ## @.str.32
.asciz "-cg3"
L_.str.33: ## @.str.33
.asciz "-cy"
L_.str.34: ## @.str.34
.asciz "-gint"
L_.str.35: ## @.str.35
.asciz "-m"
L_.str.36: ## @.str.36
.asciz "-p"
L_.str.37: ## @.str.37
.asciz "\t\007--- Error [%s]: invalid command line argument \"%s\"\n"
L_.str.38: ## @.str.38
.asciz "-"
L_.str.39: ## @.str.39
.asciz "stdin"
L_.str.40: ## @.str.40
.asciz "r"
L_.str.41: ## @.str.41
.asciz "\n--- Error [%s]: file \"%s\" not found\n\n"
L_.str.42: ## @.str.42
.asciz " ,\t\n\r"
L_.str.43: ## @.str.43
.asciz "%lf"
L_.str.44: ## @.str.44
.asciz "\n--- Error [%s]: insufficient memory\n\n"
L_.str.45: ## @.str.45
.asciz "subj\tgrp"
L_.str.46: ## @.str.46
.asciz "\tr_%g"
L_.str.47: ## @.str.47
.asciz "%f\t%f"
L_.str.48: ## @.str.48
.asciz "%ld\t%ld"
L_.str.49: ## @.str.49
.asciz "\t%.*f"
L_.str.50: ## @.str.50
.asciz "\t%g"
L_.str.51: ## @.str.51
.asciz "\t%f"
L_.str.52: ## @.str.52
.asciz "\t%s"
.subsections_via_symbols
|
the_stack_data/863097.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ; -- Begin function yylex
.p2align 2
_yylex: ; @yylex
.cfi_startproc
; %bb.0:
sub sp, sp, #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, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _yy_init@PAGE
ldr w8, [x8, _yy_init@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_1
LBB0_1:
mov w8, #1
adrp x9, _yy_init@PAGE
str w8, [x9, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x9, _yy_start@PAGE
mov w8, #1
str w8, [x9, _yy_start@PAGEOFF]
b LBB0_3
LBB0_3:
adrp x8, _yyin@PAGE
ldr x8, [x8, _yyin@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
b LBB0_5
LBB0_5:
adrp x8, _yyout@PAGE
ldr x8, [x8, _yyout@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _yyout@PAGE
str x8, [x9, _yyout@PAGEOFF]
b LBB0_7
LBB0_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_9:
mov w8, #0
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _yyensure_buffer_stack
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB0_11
LBB0_11:
bl _yy_load_buffer_state
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_18 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_28 Depth 4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
stur w8, [x29, #-4]
b LBB0_14
LBB0_14: ; Parent Loop BB0_13 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
; Child Loop BB0_18 Depth 4
; Child Loop BB0_25 Depth 3
; Child Loop BB0_28 Depth 4
b LBB0_15
LBB0_15: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_18 Depth 4
ldur x8, [x29, #-16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-29]
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=3
ldur w8, [x29, #-4]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldur x8, [x29, #-16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=3
b LBB0_18
LBB0_18: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_15 Depth=3
; => This Inner Loop Header: Depth=4
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldurb w9, [x29, #-29]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=4
ldursw x9, [x29, #-4]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, lt
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=4
ldurb w8, [x29, #-29]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-29]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_18 Depth=4
b LBB0_18
LBB0_22: ; in Loop: Header=BB0_15 Depth=3
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldurb w9, [x29, #-29]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
stur w8, [x29, #-4]
ldur x8, [x29, #-16]
add x8, x8, #1
stur x8, [x29, #-16]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_15 Depth=3
ldursw x9, [x29, #-4]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #13
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_14 Depth=2
b LBB0_25
LBB0_25: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_28 Depth 4
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_last_accepting_cpos@PAGE
ldr x8, [x8, _yy_last_accepting_cpos@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_last_accepting_state@PAGE
ldr w8, [x8, _yy_last_accepting_state@PAGEOFF]
stur w8, [x29, #-4]
ldursw x9, [x29, #-4]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-28]
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_25 Depth=3
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
str x8, [x9]
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
subs x8, x8, x9
adrp x9, _yyleng@GOTPAGE
ldr x9, [x9, _yyleng@GOTPAGEOFF]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9]
ldur x8, [x29, #-16]
ldrb w8, [x8]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ldur x8, [x29, #-16]
strb wzr, [x8]
ldur x8, [x29, #-16]
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
b LBB0_28
LBB0_28: ; Parent Loop BB0_13 Depth=1
; Parent Loop BB0_14 Depth=2
; Parent Loop BB0_25 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-28]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
subs x8, x8, #7
cset w8, hi
tbnz w8, #0, LBB0_60
; %bb.29: ; in Loop: Header=BB0_28 Depth=4
ldr x11, [sp, #24] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_30: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
adrp x8, _yy_last_accepting_cpos@PAGE
ldr x8, [x8, _yy_last_accepting_cpos@PAGEOFF]
stur x8, [x29, #-16]
adrp x8, _yy_last_accepting_state@PAGE
ldr w8, [x8, _yy_last_accepting_state@PAGEOFF]
stur w8, [x29, #-4]
b LBB0_25
LBB0_31: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _posint@PAGE
ldr w8, [x9, _posint@PAGEOFF]
add w8, w8, #1
str w8, [x9, _posint@PAGEOFF]
b LBB0_61
LBB0_32: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _negint@PAGE
ldr w8, [x9, _negint@PAGEOFF]
add w8, w8, #1
str w8, [x9, _negint@PAGEOFF]
b LBB0_61
LBB0_33: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _posint@PAGE
ldr w8, [x9, _posint@PAGEOFF]
add w8, w8, #1
str w8, [x9, _posint@PAGEOFF]
b LBB0_61
LBB0_34: ; in Loop: Header=BB0_13 Depth=1
adrp x9, _negint@PAGE
ldr w8, [x9, _negint@PAGEOFF]
add w8, w8, #1
str w8, [x9, _negint@PAGEOFF]
b LBB0_61
LBB0_35: ; in Loop: Header=BB0_13 Depth=1
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
ldrsw x1, [x8]
adrp x8, _yyout@PAGE
ldr x3, [x8, _yyout@PAGEOFF]
mov x2, #1
bl _fwrite
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_13 Depth=1
b LBB0_38
LBB0_38: ; in Loop: Header=BB0_13 Depth=1
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_13 Depth=1
b LBB0_61
LBB0_40:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_41: ; in Loop: Header=BB0_28 Depth=4
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
subs w8, w8, #1
stur w8, [x29, #-36]
adrp x8, _yy_hold_char@PAGE
ldrb w8, [x8, _yy_hold_char@PAGEOFF]
ldur x9, [x29, #-16]
strb w8, [x9]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #56]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_buffer_stack@PAGE
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x11, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x10, x11, lsl #3]
ldr w10, [x10, #28]
adrp x11, _yy_n_chars@PAGE
str w10, [x11, _yy_n_chars@PAGEOFF]
adrp x10, _yyin@PAGE
ldr x10, [x10, _yyin@PAGEOFF]
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
ldr x12, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x10, [x11]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x8, x9, lsl #3]
mov w8, #1
str w8, [x9, #56]
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
adrp x10, _yy_n_chars@PAGE
ldrsw x10, [x10, _yy_n_chars@PAGEOFF]
add x9, x9, x10
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB0_47
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_25 Depth=3
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
bl _yy_try_NUL_trans
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w0, [sp, #40]
ldr x8, [x8]
stur x8, [x29, #-24]
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_14 Depth=2
adrp x10, _yy_c_buf_p@PAGE
ldr x8, [x10, _yy_c_buf_p@PAGEOFF]
add x8, x8, #1
mov x9, x8
str x9, [x10, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
ldr w8, [sp, #40]
stur w8, [x29, #-4]
b LBB0_14
LBB0_46: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
stur x8, [x29, #-16]
b LBB0_25
LBB0_47: ; in Loop: Header=BB0_28 Depth=4
bl _yy_get_next_buffer
str w0, [sp, #20] ; 4-byte Folded Spill
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_56
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_28 Depth=4
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_25 Depth=3
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_57
b LBB0_58
LBB0_50: ; in Loop: Header=BB0_28 Depth=4
adrp x8, _yy_did_buffer_switch_on_eof@PAGE
str wzr, [x8, _yy_did_buffer_switch_on_eof@PAGEOFF]
bl _yywrap
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_52
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_28 Depth=4
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
subs w8, w8, #1
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #6
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_28
LBB0_52: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _yy_did_buffer_switch_on_eof@PAGE
ldr w8, [x8, _yy_did_buffer_switch_on_eof@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_13 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_13 Depth=1
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_13 Depth=1
b LBB0_58
LBB0_56: ; in Loop: Header=BB0_14 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldursw x9, [x29, #-36]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur w0, [x29, #-4]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_14
LBB0_57: ; in Loop: Header=BB0_25 Depth=3
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
adrp x9, _yy_n_chars@PAGE
ldrsw x9, [x9, _yy_n_chars@PAGEOFF]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x9, [sp] ; 8-byte Folded Spill
str x8, [x9, _yy_c_buf_p@PAGEOFF]
bl _yy_get_previous_state
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur w0, [x29, #-4]
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
stur x9, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
b LBB0_25
LBB0_58: ; in Loop: Header=BB0_13 Depth=1
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_13 Depth=1
b LBB0_61
LBB0_60:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _yy_fatal_error
LBB0_61: ; in Loop: Header=BB0_13 Depth=1
b LBB0_13
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_30-Ltmp0
.long LBB0_31-Ltmp0
.long LBB0_32-Ltmp0
.long LBB0_33-Ltmp0
.long LBB0_34-Ltmp0
.long LBB0_35-Ltmp0
.long LBB0_41-Ltmp0
.long LBB0_40-Ltmp0
; -- End function
.p2align 2 ; -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ; @yyensure_buffer_stack
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_1
LBB1_1:
mov x8, #1
stur x8, [x29, #-8]
ldur x8, [x29, #-8]
lsl x0, x8, #3
bl _yyalloc
adrp x8, _yy_buffer_stack@PAGE
str x0, [x8, _yy_buffer_stack@PAGEOFF]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _yy_fatal_error
LBB1_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
ldur x8, [x29, #-8]
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur x8, [x29, #-8]
adrp x9, _yy_buffer_stack_max@PAGE
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
b LBB1_8
LBB1_4:
adrp x8, _yy_buffer_stack_top@PAGE
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x9, _yy_buffer_stack_max@PAGE
ldr x9, [x9, _yy_buffer_stack_max@PAGEOFF]
subs x9, x9, #1
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5:
mov x8, #8
str x8, [sp, #16]
adrp x8, _yy_buffer_stack_max@PAGE
ldr x8, [x8, _yy_buffer_stack_max@PAGEOFF]
ldr x9, [sp, #16]
add x8, x8, x9
stur x8, [x29, #-8]
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
ldur x8, [x29, #-8]
lsl x1, x8, #3
bl _yyrealloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, _yy_buffer_stack@PAGEOFF]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _yy_fatal_error
LBB1_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_max@PAGE
str x9, [sp] ; 8-byte Folded Spill
ldr x9, [x9, _yy_buffer_stack_max@PAGEOFF]
add x0, x8, x9, lsl #3
ldr x8, [sp, #16]
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x9, [sp] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
str x8, [x9, _yy_buffer_stack_max@PAGEOFF]
b LBB1_8
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yy_create_buffer ; -- Begin function yy_create_buffer
.p2align 2
_yy_create_buffer: ; @yy_create_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #64
bl _yyalloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
LBB2_2:
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9, #24]
ldr x8, [sp, #8]
ldr w8, [x8, #24]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
bl _yyalloc
ldr x8, [sp, #8]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _yy_fatal_error
LBB2_4:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #32]
ldr x0, [sp, #8]
ldur x1, [x29, #-8]
bl _yy_init_buffer
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_load_buffer_state
_yy_load_buffer_state: ; @yy_load_buffer_state
.cfi_startproc
; %bb.0:
adrp x9, _yy_buffer_stack@PAGE
ldr x8, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x11, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x11, lsl #3]
ldr w8, [x8, #28]
adrp x11, _yy_n_chars@PAGE
str w8, [x11, _yy_n_chars@PAGEOFF]
ldr x8, [x9, _yy_buffer_stack@PAGEOFF]
ldr x11, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x11, lsl #3]
ldr x11, [x8, #16]
adrp x8, _yy_c_buf_p@PAGE
str x11, [x8, _yy_c_buf_p@PAGEOFF]
adrp x12, _yytext@GOTPAGE
ldr x12, [x12, _yytext@GOTPAGEOFF]
str x11, [x12]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9]
adrp x10, _yyin@PAGE
str x9, [x10, _yyin@PAGEOFF]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldrb w8, [x8]
adrp x9, _yy_hold_char@PAGE
strb w8, [x9, _yy_hold_char@PAGEOFF]
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_get_previous_state
_yy_get_previous_state: ; @yy_get_previous_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _yy_start@PAGE
ldr w8, [x8, _yy_start@PAGEOFF]
str w8, [sp, #28]
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #16]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_8 Depth 2
ldr x8, [sp, #16]
adrp x9, _yy_c_buf_p@PAGE
ldr x9, [x9, _yy_c_buf_p@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB4_14
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
mov x9, x8
adrp x8, _yy_ec@PAGE
add x8, x8, _yy_ec@PAGEOFF
ldrb w8, [x8, x9]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
mov w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
strb w8, [sp, #15]
ldrsw x9, [sp, #28]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #28]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldr x8, [sp, #16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
b LBB4_8
LBB4_8: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_8 Depth=2
ldrsw x9, [sp, #28]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, lt
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_8 Depth=2
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_8 Depth=2
b LBB4_8
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
str w8, [sp, #28]
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB4_1
LBB4_14:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_try_NUL_trans
_yy_try_NUL_trans: ; @yy_try_NUL_trans
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
str x8, [sp, #16]
mov w8, #1
strb w8, [sp, #15]
ldrsw x9, [sp, #28]
adrp x8, _yy_accept@PAGE
add x8, x8, _yy_accept@PAGEOFF
add x8, x8, x9, lsl #1
ldrh w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr w8, [sp, #28]
adrp x9, _yy_last_accepting_state@PAGE
str w8, [x9, _yy_last_accepting_state@PAGEOFF]
ldr x8, [sp, #16]
adrp x9, _yy_last_accepting_cpos@PAGE
str x8, [x9, _yy_last_accepting_cpos@PAGEOFF]
b LBB5_2
LBB5_2:
b LBB5_3
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_chk@PAGE
add x8, x8, _yy_chk@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=1
ldrsw x9, [sp, #28]
adrp x8, _yy_def@PAGE
add x8, x8, _yy_def@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, lt
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=1
ldrb w8, [sp, #15]
mov x9, x8
adrp x8, _yy_meta@PAGE
add x8, x8, _yy_meta@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
strb w8, [sp, #15]
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
b LBB5_3
LBB5_7:
ldrsw x9, [sp, #28]
adrp x8, _yy_base@PAGE
add x8, x8, _yy_base@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldrb w9, [sp, #15]
add w9, w8, w9
adrp x8, _yy_nxt@PAGE
add x8, x8, _yy_nxt@PAGEOFF
ldrsh w8, [x8, w9, sxtw #1]
str w8, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #15
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_9
b LBB5_8
LBB5_8:
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_10
LBB5_9:
ldr w8, [sp, #28]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_10
LBB5_10:
ldr w0, [sp, #8] ; 4-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_get_next_buffer
_yy_get_next_buffer: ; @yy_get_next_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
ldr x11, [x11, #8]
stur x11, [x29, #-16]
ldr x8, [x8]
stur x8, [x29, #-24]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
adrp x10, _yy_n_chars@PAGE
ldr w10, [x10, _yy_n_chars@PAGEOFF]
add w10, w10, #1
add x9, x9, w10, sxtw
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _yy_fatal_error
LBB6_2:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #52]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_3
LBB6_3:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #0
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
mov w8, #1
stur w8, [x29, #-4]
b LBB6_59
LBB6_5:
mov w8, #2
stur w8, [x29, #-4]
b LBB6_59
LBB6_6:
ldr x9, [sp, #32] ; 8-byte Folded Reload
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
subs x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-28]
stur wzr, [x29, #-32]
b LBB6_7
LBB6_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-32]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_10
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_7 Depth=1
ldur x8, [x29, #-24]
add x9, x8, #1
stur x9, [x29, #-24]
ldrb w8, [x8]
ldur x9, [x29, #-16]
add x10, x9, #1
stur x10, [x29, #-16]
strb w8, [x9]
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_7 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB6_7
LBB6_10:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #56]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11:
adrp x8, _yy_n_chars@PAGE
str wzr, [x8, _yy_n_chars@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str wzr, [x8, #28]
b LBB6_48
LBB6_12:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #24]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-40]
b LBB6_13
LBB6_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB6_23
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_13 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-48]
adrp x8, _yy_c_buf_p@PAGE
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
ldur x9, [x29, #-48]
ldr x9, [x9, #8]
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-52]
ldur x8, [x29, #-48]
ldr w8, [x8, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_19
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #24]
lsl w8, w8, #1
str w8, [sp, #56]
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB6_17
b LBB6_16
LBB6_16: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr w8, [x8, #24]
mov w9, #8
sdiv w10, w8, w9
ldur x9, [x29, #-48]
ldr w8, [x9, #24]
add w8, w8, w10
str w8, [x9, #24]
b LBB6_18
LBB6_17: ; in Loop: Header=BB6_13 Depth=1
ldur x9, [x29, #-48]
ldr w8, [x9, #24]
lsl w8, w8, #1
str w8, [x9, #24]
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr x0, [x8, #8]
ldur x8, [x29, #-48]
ldr w8, [x8, #24]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x1, w8
bl _yyrealloc
ldur x8, [x29, #-48]
str x0, [x8, #8]
b LBB6_20
LBB6_19: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _yy_fatal_error
LBB6_22: ; in Loop: Header=BB6_13 Depth=1
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
ldursw x9, [x29, #-52]
add x8, x8, x9
adrp x9, _yy_c_buf_p@PAGE
str x8, [x9, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #24]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #1
stur w8, [x29, #-40]
b LBB6_13
LBB6_23:
ldur w8, [x29, #-40]
subs w8, w8, #2, lsl #12 ; =8192
cset w8, le
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24:
mov w8, #8192
stur w8, [x29, #-40]
b LBB6_25
LBB6_25:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr w8, [x8, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_39
b LBB6_26
LBB6_26:
mov w8, #42
str w8, [sp, #52]
str wzr, [sp, #48]
b LBB6_27
LBB6_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #48]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_30
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_27 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _getc
str w0, [sp, #52]
adds w8, w0, #1
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_30
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #52]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB6_33
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #52]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
add x9, x9, x10
ldrsw x10, [sp, #48]
strb w8, [x9, x10]
b LBB6_32
LBB6_32: ; in Loop: Header=BB6_27 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB6_27
LBB6_33:
ldr w8, [sp, #52]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB6_35
b LBB6_34
LBB6_34:
ldr w8, [sp, #52]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr x9, [x9, #8]
ldursw x10, [x29, #-28]
add x9, x9, x10
ldrsw x10, [sp, #48]
mov x11, x10
add w11, w11, #1
str w11, [sp, #48]
strb w8, [x9, x10]
b LBB6_35
LBB6_35:
ldr w8, [sp, #52]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB6_38
b LBB6_36
LBB6_36:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_38
b LBB6_37
LBB6_37:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _yy_fatal_error
LBB6_38:
ldr w8, [sp, #48]
adrp x9, _yy_n_chars@PAGE
str w8, [x9, _yy_n_chars@PAGEOFF]
b LBB6_47
LBB6_39:
bl ___error
str wzr, [x0]
b LBB6_40
LBB6_40: ; =>This Inner Loop Header: Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
ldursw x9, [x29, #-28]
add x0, x8, x9
ldursw x2, [x29, #-40]
adrp x8, _yyin@PAGE
ldr x3, [x8, _yyin@PAGEOFF]
mov x1, #1
bl _fread
mov x8, x0
adrp x10, _yy_n_chars@PAGE
mov x9, x0
str w9, [x10, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB6_42
b LBB6_41
LBB6_41: ; in Loop: Header=BB6_40 Depth=1
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _ferror
subs w8, w0, #0
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB6_42
LBB6_42: ; in Loop: Header=BB6_40 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbz w8, #0, LBB6_46
b LBB6_43
LBB6_43: ; in Loop: Header=BB6_40 Depth=1
bl ___error
ldr w8, [x0]
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB6_45
b LBB6_44
LBB6_44:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _yy_fatal_error
LBB6_45: ; in Loop: Header=BB6_40 Depth=1
bl ___error
str wzr, [x0]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _clearerr
b LBB6_40
LBB6_46:
b LBB6_47
LBB6_47:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #28]
b LBB6_48
LBB6_48:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_53
b LBB6_49
LBB6_49:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_51
b LBB6_50
LBB6_50:
mov w8, #1
stur w8, [x29, #-36]
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
bl _yyrestart
b LBB6_52
LBB6_51:
mov w8, #2
stur w8, [x29, #-36]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #56]
b LBB6_52
LBB6_52:
b LBB6_54
LBB6_53:
stur wzr, [x29, #-36]
b LBB6_54
LBB6_54:
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldur w9, [x29, #-28]
add w8, w8, w9
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
ldr w9, [x9, #24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_58
b LBB6_55
LBB6_55:
adrp x9, _yy_n_chars@PAGE
ldr w8, [x9, _yy_n_chars@PAGEOFF]
ldur w10, [x29, #-28]
add w8, w8, w10
ldr w9, [x9, _yy_n_chars@PAGEOFF]
add w8, w8, w9, asr #1
str w8, [sp, #44]
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
str x9, [sp, #16] ; 8-byte Folded Spill
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x0, [x8, #8]
ldrsw x1, [sp, #44]
bl _yyrealloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
ldr x11, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x10, [x10, x11, lsl #3]
str x0, [x10, #8]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_57
b LBB6_56
LBB6_56:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _yy_fatal_error
LBB6_57:
ldr w8, [sp, #44]
subs w8, w8, #2
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #24]
b LBB6_58
LBB6_58:
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldur w10, [x29, #-28]
adrp x12, _yy_n_chars@PAGE
ldr w8, [x12, _yy_n_chars@PAGEOFF]
add w8, w8, w10
str w8, [x12, _yy_n_chars@PAGEOFF]
adrp x8, _yy_buffer_stack@PAGE
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x13, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x13, lsl #3]
ldr x11, [x11, #8]
ldrsw x13, [x12, _yy_n_chars@PAGEOFF]
add x11, x11, x13
strb wzr, [x11]
ldr x11, [x8, _yy_buffer_stack@PAGEOFF]
ldr x13, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x13, lsl #3]
ldr x11, [x11, #8]
ldr w12, [x12, _yy_n_chars@PAGEOFF]
add w12, w12, #1
add x11, x11, w12, sxtw
strb wzr, [x11]
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x10, lsl #3]
ldr x8, [x8, #8]
str x8, [x9]
ldur w8, [x29, #-36]
stur w8, [x29, #-4]
b LBB6_59
LBB6_59:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _yyrestart ; -- Begin function yyrestart
.p2align 2
_yyrestart: ; @yyrestart
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_2:
mov w8, #0
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
bl _yyensure_buffer_stack
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
mov w1, #16384
bl _yy_create_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
str x0, [x8, x9, lsl #3]
b LBB7_4
LBB7_4:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB7_7
LBB7_6:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB7_7
LBB7_7:
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #8]
bl _yy_init_buffer
bl _yy_load_buffer_state
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_fatal_error
_yy_fatal_error: ; @yy_fatal_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_init_buffer
_yy_init_buffer: ; @yy_init_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
bl ___error
ldr w8, [x0]
stur w8, [x29, #-20]
ldur x0, [x29, #-8]
bl _yy_flush_buffer
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
str x8, [x9]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #52]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB9_3
LBB9_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB9_3
LBB9_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #44]
ldur x8, [x29, #-8]
str wzr, [x8, #48]
b LBB9_5
LBB9_5:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6:
ldur x0, [x29, #-16]
bl _fileno
bl _isatty
subs w8, w0, #0
cset w8, gt
and w8, w8, #0x1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB9_8
LBB9_7:
mov w8, #0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB9_8
LBB9_8:
ldr w8, [sp, #4] ; 4-byte Folded Reload
ldur x9, [x29, #-8]
str w8, [x9, #36]
ldur w8, [x29, #-20]
str w8, [sp] ; 4-byte Folded Spill
bl ___error
ldr w8, [sp] ; 4-byte Folded Reload
str w8, [x0]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _yy_switch_to_buffer ; -- Begin function yy_switch_to_buffer
.p2align 2
_yy_switch_to_buffer: ; @yy_switch_to_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
bl _yyensure_buffer_stack
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp] ; 8-byte Folded Spill
b LBB10_3
LBB10_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB10_3
LBB10_3:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
b LBB10_10
LBB10_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_7
b LBB10_6
LBB10_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_9
LBB10_7:
mov w8, #0
tbz w8, #0, LBB10_9
b LBB10_8
LBB10_8:
adrp x8, _yy_hold_char@PAGE
ldrb w9, [x8, _yy_hold_char@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
ldr x10, [x8, _yy_c_buf_p@PAGEOFF]
strb w9, [x10]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x8, [x11, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #28]
b LBB10_9
LBB10_9:
ldr x8, [sp, #8]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
str x8, [x9, x10, lsl #3]
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB10_10
LBB10_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yyalloc ; -- Begin function yyalloc
.p2align 2
_yyalloc: ; @yyalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _malloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_delete_buffer ; -- Begin function yy_delete_buffer
.p2align 2
_yy_delete_buffer: ; @yy_delete_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
b LBB12_10
LBB12_2:
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_4
b LBB12_3
LBB12_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_5
LBB12_4:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_5
LBB12_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB12_7
b LBB12_6
LBB12_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x9, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB12_7
LBB12_7:
ldur x8, [x29, #-8]
ldr w8, [x8, #32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB12_9
b LBB12_8
LBB12_8:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _yyfree
b LBB12_9
LBB12_9:
ldur x0, [x29, #-8]
bl _yyfree
b LBB12_10
LBB12_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yyfree ; -- Begin function yyfree
.p2align 2
_yyfree: ; @yyfree
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_flush_buffer ; -- Begin function yy_flush_buffer
.p2align 2
_yy_flush_buffer: ; @yy_flush_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
b LBB14_7
LBB14_2:
ldur x8, [x29, #-8]
str wzr, [x8, #28]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
strb wzr, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
strb wzr, [x8, #1]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
str x8, [x9, #16]
ldur x9, [x29, #-8]
mov w8, #1
str w8, [x9, #40]
ldur x8, [x29, #-8]
str wzr, [x8, #56]
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_4
b LBB14_3
LBB14_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_5
LBB14_4:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_5
LBB14_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB14_7
b LBB14_6
LBB14_6:
bl _yy_load_buffer_state
b LBB14_7
LBB14_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yypush_buffer_state ; -- Begin function yypush_buffer_state
.p2align 2
_yypush_buffer_state: ; @yypush_buffer_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
b LBB15_11
LBB15_2:
bl _yyensure_buffer_stack
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_4
b LBB15_3
LBB15_3:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_5
b LBB15_6
LBB15_4:
mov w8, #0
tbz w8, #0, LBB15_6
b LBB15_5
LBB15_5:
adrp x8, _yy_hold_char@PAGE
ldrb w9, [x8, _yy_hold_char@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
ldr x10, [x8, _yy_c_buf_p@PAGEOFF]
strb w9, [x10]
ldr x8, [x8, _yy_c_buf_p@PAGEOFF]
adrp x9, _yy_buffer_stack@PAGE
ldr x11, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x12, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x11, [x11, x12, lsl #3]
str x8, [x11, #16]
adrp x8, _yy_n_chars@PAGE
ldr w8, [x8, _yy_n_chars@PAGEOFF]
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, #28]
b LBB15_6
LBB15_6:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_7
LBB15_7:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_9
b LBB15_10
LBB15_8:
mov w8, #0
tbz w8, #0, LBB15_10
b LBB15_9
LBB15_9:
adrp x9, _yy_buffer_stack_top@PAGE
ldr x8, [x9, _yy_buffer_stack_top@PAGEOFF]
add x8, x8, #1
str x8, [x9, _yy_buffer_stack_top@PAGEOFF]
b LBB15_10
LBB15_10:
ldr x8, [sp, #8]
adrp x9, _yy_buffer_stack@PAGE
ldr x9, [x9, _yy_buffer_stack@PAGEOFF]
adrp x10, _yy_buffer_stack_top@PAGE
ldr x10, [x10, _yy_buffer_stack_top@PAGEOFF]
str x8, [x9, x10, lsl #3]
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB15_11
LBB15_11:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yypop_buffer_state ; -- Begin function yypop_buffer_state
.p2align 2
_yypop_buffer_state: ; @yypop_buffer_state
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_2:
mov w8, #0
tbnz w8, #0, LBB16_4
b LBB16_3
LBB16_3:
b LBB16_13
LBB16_4:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_6
b LBB16_5
LBB16_5:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB16_7
LBB16_6:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB16_7
LBB16_7:
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _yy_delete_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x10, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x11, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x9, #0
str x9, [x10, x11, lsl #3]
ldr x8, [x8, _yy_buffer_stack_top@PAGEOFF]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB16_9
b LBB16_8
LBB16_8:
adrp x9, _yy_buffer_stack_top@PAGE
ldr x8, [x9, _yy_buffer_stack_top@PAGEOFF]
subs x8, x8, #1
str x8, [x9, _yy_buffer_stack_top@PAGEOFF]
b LBB16_9
LBB16_9:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_11
b LBB16_10
LBB16_10:
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB16_12
b LBB16_13
LBB16_11:
mov w8, #0
tbz w8, #0, LBB16_13
b LBB16_12
LBB16_12:
bl _yy_load_buffer_state
adrp x9, _yy_did_buffer_switch_on_eof@PAGE
mov w8, #1
str w8, [x9, _yy_did_buffer_switch_on_eof@PAGEOFF]
b LBB16_13
LBB16_13:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_scan_buffer ; -- Begin function yy_scan_buffer
.p2align 2
_yy_scan_buffer: ; @yy_scan_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #2
cset w8, lo
tbnz w8, #0, LBB17_3
b LBB17_1
LBB17_1:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x9, x9, #2
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB17_3
b LBB17_2
LBB17_2:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB17_4
b LBB17_3
LBB17_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB17_7
LBB17_4:
mov x0, #64
bl _yyalloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _yy_fatal_error
LBB17_6:
ldr x8, [sp, #8]
subs x8, x8, #2
ldr x9, [sp]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #24]
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9, #8]
ldr x9, [sp]
str x8, [x9, #16]
ldr x8, [sp]
str wzr, [x8, #32]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp]
ldr w8, [x8, #24]
ldr x9, [sp]
str w8, [x9, #28]
ldr x8, [sp]
str wzr, [x8, #36]
ldr x9, [sp]
mov w8, #1
str w8, [x9, #40]
ldr x8, [sp]
str wzr, [x8, #52]
ldr x8, [sp]
str wzr, [x8, #56]
ldr x0, [sp]
bl _yy_switch_to_buffer
ldr x8, [sp]
stur x8, [x29, #-8]
b LBB17_7
LBB17_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yy_scan_string ; -- Begin function yy_scan_string
.p2align 2
_yy_scan_string: ; @yy_scan_string
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #8]
bl _strlen
mov x8, x0
ldr x0, [sp] ; 8-byte Folded Reload
mov x1, x8
bl _yy_scan_bytes
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _yy_scan_bytes ; -- Begin function yy_scan_bytes
.p2align 2
_yy_scan_bytes: ; @yy_scan_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-12]
add w9, w8, #2
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #8]
ldr x0, [sp, #8]
bl _yyalloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _yy_fatal_error
LBB19_2:
str wzr, [sp, #4]
b LBB19_3
LBB19_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB19_6
b LBB19_4
LBB19_4: ; in Loop: Header=BB19_3 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #4]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
add x9, x9, x10
strb w8, [x9]
b LBB19_5
LBB19_5: ; in Loop: Header=BB19_3 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB19_3
LBB19_6:
ldr x8, [sp, #16]
ldur w9, [x29, #-12]
add w9, w9, #1
add x8, x8, w9, sxtw
strb wzr, [x8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-12]
add x8, x8, x9
strb wzr, [x8]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _yy_scan_buffer
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB19_8
b LBB19_7
LBB19_7:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _yy_fatal_error
LBB19_8:
ldr x9, [sp, #24]
mov w8, #1
str w8, [x9, #32]
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _yyget_lineno ; -- Begin function yyget_lineno
.p2align 2
_yyget_lineno: ; @yyget_lineno
.cfi_startproc
; %bb.0:
adrp x8, _yylineno@PAGE
ldr w0, [x8, _yylineno@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_in ; -- Begin function yyget_in
.p2align 2
_yyget_in: ; @yyget_in
.cfi_startproc
; %bb.0:
adrp x8, _yyin@PAGE
ldr x0, [x8, _yyin@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_out ; -- Begin function yyget_out
.p2align 2
_yyget_out: ; @yyget_out
.cfi_startproc
; %bb.0:
adrp x8, _yyout@PAGE
ldr x0, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyget_leng ; -- Begin function yyget_leng
.p2align 2
_yyget_leng: ; @yyget_leng
.cfi_startproc
; %bb.0:
adrp x8, _yyleng@GOTPAGE
ldr x8, [x8, _yyleng@GOTPAGEOFF]
ldr w0, [x8]
ret
.cfi_endproc
; -- End function
.globl _yyget_text ; -- Begin function yyget_text
.p2align 2
_yyget_text: ; @yyget_text
.cfi_startproc
; %bb.0:
adrp x8, _yytext@GOTPAGE
ldr x8, [x8, _yytext@GOTPAGEOFF]
ldr x0, [x8]
ret
.cfi_endproc
; -- End function
.globl _yyset_lineno ; -- Begin function yyset_lineno
.p2align 2
_yyset_lineno: ; @yyset_lineno
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _yylineno@PAGE
str w8, [x9, _yylineno@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyset_in ; -- Begin function yyset_in
.p2align 2
_yyset_in: ; @yyset_in
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _yyin@PAGE
str x8, [x9, _yyin@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyset_out ; -- Begin function yyset_out
.p2align 2
_yyset_out: ; @yyset_out
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _yyout@PAGE
str x8, [x9, _yyout@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yyget_debug ; -- Begin function yyget_debug
.p2align 2
_yyget_debug: ; @yyget_debug
.cfi_startproc
; %bb.0:
adrp x8, _yy_flex_debug@PAGE
ldr w0, [x8, _yy_flex_debug@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyset_debug ; -- Begin function yyset_debug
.p2align 2
_yyset_debug: ; @yyset_debug
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
adrp x9, _yy_flex_debug@PAGE
str w8, [x9, _yy_flex_debug@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _yylex_destroy ; -- Begin function yylex_destroy
.p2align 2
_yylex_destroy: ; @yylex_destroy
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
b LBB30_1
LBB30_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_3
b LBB30_2
LBB30_2: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-8] ; 8-byte Folded Spill
b LBB30_4
LBB30_3: ; in Loop: Header=BB30_1 Depth=1
mov x8, #0
stur x8, [x29, #-8] ; 8-byte Folded Spill
b LBB30_4
LBB30_4: ; in Loop: Header=BB30_1 Depth=1
ldur x8, [x29, #-8] ; 8-byte Folded Reload
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_9
b LBB30_5
LBB30_5: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB30_7
b LBB30_6
LBB30_6: ; in Loop: Header=BB30_1 Depth=1
adrp x8, _yy_buffer_stack@PAGE
ldr x8, [x8, _yy_buffer_stack@PAGEOFF]
adrp x9, _yy_buffer_stack_top@PAGE
ldr x9, [x9, _yy_buffer_stack_top@PAGEOFF]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB30_8
LBB30_7: ; in Loop: Header=BB30_1 Depth=1
mov x8, #0
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB30_8
LBB30_8: ; in Loop: Header=BB30_1 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _yy_delete_buffer
adrp x8, _yy_buffer_stack@PAGE
ldr x9, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
ldr x10, [x8, _yy_buffer_stack_top@PAGEOFF]
mov x8, #0
str x8, [x9, x10, lsl #3]
bl _yypop_buffer_state
b LBB30_1
LBB30_9:
adrp x8, _yy_buffer_stack@PAGE
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [x8, _yy_buffer_stack@PAGEOFF]
bl _yyfree
ldr x8, [sp, #8] ; 8-byte Folded Reload
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_buffer_stack@PAGEOFF]
bl _yy_init_globals
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yy_init_globals
_yy_init_globals: ; @yy_init_globals
.cfi_startproc
; %bb.0:
adrp x8, _yy_buffer_stack@PAGE
; kill: def $x9 killed $xzr
str xzr, [x8, _yy_buffer_stack@PAGEOFF]
adrp x8, _yy_buffer_stack_top@PAGE
str xzr, [x8, _yy_buffer_stack_top@PAGEOFF]
adrp x8, _yy_buffer_stack_max@PAGE
str xzr, [x8, _yy_buffer_stack_max@PAGEOFF]
adrp x8, _yy_c_buf_p@PAGE
str xzr, [x8, _yy_c_buf_p@PAGEOFF]
adrp x8, _yy_init@PAGE
mov w0, #0
str wzr, [x8, _yy_init@PAGEOFF]
adrp x8, _yy_start@PAGE
str wzr, [x8, _yy_start@PAGEOFF]
adrp x8, _yyin@PAGE
str xzr, [x8, _yyin@PAGEOFF]
adrp x8, _yyout@PAGE
str xzr, [x8, _yyout@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _yyrealloc ; -- Begin function yyrealloc
.p2align 2
_yyrealloc: ; @yyrealloc
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _realloc
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB33_2
b LBB33_1
LBB33_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB33_2
LBB33_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fopen
adrp x8, _yyin@PAGE
str x0, [x8, _yyin@PAGEOFF]
bl _yylex
adrp x8, _posint@PAGE
ldr w8, [x8, _posint@PAGEOFF]
; implicit-def: $x10
mov x10, x8
adrp x8, _negint@PAGE
ldr w9, [x8, _negint@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _yyin ; @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ; @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ; @yylineno
.p2align 2
_yylineno:
.long 1 ; 0x1
.globl _yy_flex_debug ; @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.globl _posint ; @posint
.zerofill __DATA,__common,_posint,4,2
.globl _negint ; @negint
.zerofill __DATA,__common,_negint,4,2
.zerofill __DATA,__bss,_yy_init,4,2 ; @yy_init
.zerofill __DATA,__bss,_yy_start,4,2 ; @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ; @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ; @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ; @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ; @yy_hold_char
.section __TEXT,__const
_yy_ec: ; @yy_ec
.ascii "\000\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\002\001\003\004\001\005\005\005\005\005\005\005\005\005\005\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
.p2align 1 ; @yy_accept
_yy_accept:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 6 ; 0x6
.short 5 ; 0x5
.short 5 ; 0x5
.short 5 ; 0x5
.short 5 ; 0x5
.short 3 ; 0x3
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 4 ; 0x4
.short 1 ; 0x1
.short 2 ; 0x2
.short 0 ; 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ; @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ; @yy_last_accepting_cpos
.p2align 1 ; @yy_chk
_yy_chk:
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 5 ; 0x5
.short 5 ; 0x5
.short 6 ; 0x6
.short 6 ; 0x6
.short 17 ; 0x11
.short 16 ; 0x10
.short 3 ; 0x3
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.p2align 1 ; @yy_base
_yy_base:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 12 ; 0xc
.short 13 ; 0xd
.short 2 ; 0x2
.short 4 ; 0x4
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 13 ; 0xd
.short 9 ; 0x9
.short 8 ; 0x8
.p2align 1 ; @yy_def
_yy_def:
.short 0 ; 0x0
.short 15 ; 0xf
.short 1 ; 0x1
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 16 ; 0x10
.short 5 ; 0x5
.short 16 ; 0x10
.short 5 ; 0x5
.short 17 ; 0x11
.short 6 ; 0x6
.short 16 ; 0x10
.short 17 ; 0x11
.short 0 ; 0x0
.short 15 ; 0xf
.short 15 ; 0xf
_yy_meta: ; @yy_meta
.ascii "\000\001\001\001\001\002"
.p2align 1 ; @yy_nxt
_yy_nxt:
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 6 ; 0x6
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 14 ; 0xe
.short 13 ; 0xd
.short 15 ; 0xf
.short 3 ; 0x3
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.short 15 ; 0xf
.comm _yytext,8,3 ; @yytext
.comm _yyleng,4,2 ; @yyleng
.zerofill __DATA,__bss,_yy_n_chars,4,2 ; @yy_n_chars
.zerofill __DATA,__bss,_yy_did_buffer_switch_on_eof,4,2 ; @yy_did_buffer_switch_on_eof
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fatal flex scanner internal error--no action found"
l_.str.1: ; @.str.1
.asciz "out of dynamic memory in yy_create_buffer()"
l_.str.2: ; @.str.2
.asciz "out of dynamic memory in yy_scan_buffer()"
l_.str.3: ; @.str.3
.asciz "out of dynamic memory in yy_scan_bytes()"
l_.str.4: ; @.str.4
.asciz "bad buffer in yy_scan_bytes()"
l_.str.5: ; @.str.5
.asciz "please insert a source file"
l_.str.6: ; @.str.6
.asciz "r"
l_.str.7: ; @.str.7
.asciz "no of +ve int = %d \n no of -ve int = %d\n"
l_.str.8: ; @.str.8
.asciz "fatal flex scanner internal error--end of buffer missed"
l_.str.9: ; @.str.9
.asciz "fatal error - scanner input buffer overflow"
l_.str.10: ; @.str.10
.asciz "input in flex scanner failed"
l_.str.11: ; @.str.11
.asciz "out of dynamic memory in yy_get_next_buffer()"
l_.str.12: ; @.str.12
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ; @yy_buffer_stack_max
l_.str.13: ; @.str.13
.asciz "%s\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yylex ## -- Begin function yylex
.p2align 4, 0x90
_yylex: ## @yylex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
cmpl $0, _yy_init(%rip)
jne LBB0_12
## %bb.1:
movl $1, _yy_init(%rip)
cmpl $0, _yy_start(%rip)
jne LBB0_3
## %bb.2:
movl $1, _yy_start(%rip)
LBB0_3:
cmpq $0, _yyin(%rip)
jne LBB0_5
## %bb.4:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
LBB0_5:
cmpq $0, _yyout(%rip)
jne LBB0_7
## %bb.6:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yyout(%rip)
LBB0_7:
cmpq $0, _yy_buffer_stack(%rip)
je LBB0_9
## %bb.8:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB0_11
jmp LBB0_10
LBB0_9:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_11
jmp LBB0_10
LBB0_10:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
LBB0_11:
callq _yy_load_buffer_state
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_28 Depth 4
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
movl _yy_start(%rip), %eax
movl %eax, -4(%rbp)
LBB0_14: ## Parent Loop BB0_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_18 Depth 4
## Child Loop BB0_25 Depth 3
## Child Loop BB0_28 Depth 4
jmp LBB0_15
LBB0_15: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_18 Depth 4
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=3
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB0_17: ## in Loop: Header=BB0_15 Depth=3
jmp LBB0_18
LBB0_18: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## Parent Loop BB0_15 Depth=3
## => This Inner Loop Header: Depth=4
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_18 Depth=4
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $16, -4(%rbp)
jl LBB0_21
## %bb.20: ## in Loop: Header=BB0_18 Depth=4
movzbl -29(%rbp), %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -29(%rbp)
LBB0_21: ## in Loop: Header=BB0_18 Depth=4
jmp LBB0_18
LBB0_22: ## in Loop: Header=BB0_15 Depth=3
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -29(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
## %bb.23: ## in Loop: Header=BB0_15 Depth=3
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $13, %eax
jne LBB0_15
## %bb.24: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_25
LBB0_25: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_28 Depth 4
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_25 Depth=3
movq _yy_last_accepting_cpos(%rip), %rax
movq %rax, -16(%rbp)
movl _yy_last_accepting_state(%rip), %eax
movl %eax, -4(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -28(%rbp)
LBB0_27: ## in Loop: Header=BB0_25 Depth=3
movq -24(%rbp), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq %rcx, %rax
movl %eax, %ecx
movq _yyleng@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
movq -16(%rbp), %rax
movb $0, (%rax)
movq -16(%rbp), %rax
movq %rax, _yy_c_buf_p(%rip)
LBB0_28: ## Parent Loop BB0_13 Depth=1
## Parent Loop BB0_14 Depth=2
## Parent Loop BB0_25 Depth=3
## => This Inner Loop Header: Depth=4
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
subq $7, %rax
ja LBB0_57
## %bb.59: ## in Loop: Header=BB0_28 Depth=4
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_29: ## in Loop: Header=BB0_25 Depth=3
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq _yy_last_accepting_cpos(%rip), %rax
movq %rax, -16(%rbp)
movl _yy_last_accepting_state(%rip), %eax
movl %eax, -4(%rbp)
jmp LBB0_25
LBB0_30: ## in Loop: Header=BB0_13 Depth=1
movl _posint(%rip), %eax
addl $1, %eax
movl %eax, _posint(%rip)
jmp LBB0_58
LBB0_31: ## in Loop: Header=BB0_13 Depth=1
movl _negint(%rip), %eax
addl $1, %eax
movl %eax, _negint(%rip)
jmp LBB0_58
LBB0_32: ## in Loop: Header=BB0_13 Depth=1
movl _posint(%rip), %eax
addl $1, %eax
movl %eax, _posint(%rip)
jmp LBB0_58
LBB0_33: ## in Loop: Header=BB0_13 Depth=1
movl _negint(%rip), %eax
addl $1, %eax
movl %eax, _negint(%rip)
jmp LBB0_58
LBB0_34: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_13 Depth=1
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _yyleng@GOTPCREL(%rip), %rax
movslq (%rax), %rsi
movq _yyout(%rip), %rcx
movl $1, %edx
callq _fwrite
cmpq $0, %rax
je LBB0_37
## %bb.36: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_37
LBB0_37: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_38
LBB0_38: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_58
LBB0_39:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_40: ## in Loop: Header=BB0_28 Depth=4
movq -16(%rbp), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
subl $1, %eax
movl %eax, -36(%rbp)
movb _yy_hold_char(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 56(%rax)
jne LBB0_42
## %bb.41: ## in Loop: Header=BB0_28 Depth=4
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 28(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yyin(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $1, 56(%rax)
LBB0_42: ## in Loop: Header=BB0_28 Depth=4
movq _yy_c_buf_p(%rip), %rax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
movslq _yy_n_chars(%rip), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
ja LBB0_46
## %bb.43: ## in Loop: Header=BB0_25 Depth=3
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movl -4(%rbp), %edi
callq _yy_try_NUL_trans
movl %eax, -40(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpl $0, -40(%rbp)
je LBB0_45
## %bb.44: ## in Loop: Header=BB0_14 Depth=2
movq _yy_c_buf_p(%rip), %rax
addq $1, %rax
movq %rax, _yy_c_buf_p(%rip)
movq %rax, -16(%rbp)
movl -40(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_14
LBB0_45: ## in Loop: Header=BB0_25 Depth=3
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
jmp LBB0_25
LBB0_46: ## in Loop: Header=BB0_28 Depth=4
callq _yy_get_next_buffer
movl %eax, %ecx
movl %ecx, -52(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_53
jmp LBB0_60
LBB0_60: ## in Loop: Header=BB0_28 Depth=4
movl -52(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_47
jmp LBB0_61
LBB0_61: ## in Loop: Header=BB0_25 Depth=3
movl -52(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_54
jmp LBB0_55
LBB0_47: ## in Loop: Header=BB0_28 Depth=4
movl $0, _yy_did_buffer_switch_on_eof(%rip)
callq _yywrap
cmpl $0, %eax
je LBB0_49
## %bb.48: ## in Loop: Header=BB0_28 Depth=4
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, _yy_c_buf_p(%rip)
movl _yy_start(%rip), %eax
subl $1, %eax
movl $2, %ecx
cltd
idivl %ecx
addl $6, %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_28
LBB0_49: ## in Loop: Header=BB0_13 Depth=1
cmpl $0, _yy_did_buffer_switch_on_eof(%rip)
jne LBB0_51
## %bb.50: ## in Loop: Header=BB0_13 Depth=1
movq _yyin(%rip), %rdi
callq _yyrestart
LBB0_51: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_52
LBB0_52: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_55
LBB0_53: ## in Loop: Header=BB0_14 Depth=2
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -36(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
jmp LBB0_14
LBB0_54: ## in Loop: Header=BB0_25 Depth=3
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
callq _yy_get_previous_state
movl %eax, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
jmp LBB0_25
LBB0_55: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_56
LBB0_56: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_58
LBB0_57:
leaq L_.str(%rip), %rdi
callq _yy_fatal_error
LBB0_58: ## in Loop: Header=BB0_13 Depth=1
jmp LBB0_13
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
LJTI0_0:
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_31
.long L0_0_set_32
.long L0_0_set_33
.long L0_0_set_34
.long L0_0_set_40
.long L0_0_set_39
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function yyensure_buffer_stack
_yyensure_buffer_stack: ## @yyensure_buffer_stack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_4
## %bb.1:
movq $1, -8(%rbp)
movq -8(%rbp), %rdi
shlq $3, %rdi
callq _yyalloc
movq %rax, _yy_buffer_stack(%rip)
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_3
## %bb.2:
leaq L_.str.12(%rip), %rdi
callq _yy_fatal_error
LBB1_3:
movq _yy_buffer_stack(%rip), %rdi
movq -8(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, _yy_buffer_stack_max(%rip)
movq $0, _yy_buffer_stack_top(%rip)
jmp LBB1_8
LBB1_4:
movq _yy_buffer_stack_top(%rip), %rax
movq _yy_buffer_stack_max(%rip), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jb LBB1_8
## %bb.5:
movq $8, -16(%rbp)
movq _yy_buffer_stack_max(%rip), %rax
addq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq _yy_buffer_stack(%rip), %rdi
movq -8(%rbp), %rsi
shlq $3, %rsi
callq _yyrealloc
movq %rax, _yy_buffer_stack(%rip)
cmpq $0, _yy_buffer_stack(%rip)
jne LBB1_7
## %bb.6:
leaq L_.str.12(%rip), %rdi
callq _yy_fatal_error
LBB1_7:
movq _yy_buffer_stack(%rip), %rdi
movq _yy_buffer_stack_max(%rip), %rax
shlq $3, %rax
addq %rax, %rdi
movq -16(%rbp), %rdx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, _yy_buffer_stack_max(%rip)
LBB1_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_create_buffer ## -- Begin function yy_create_buffer
.p2align 4, 0x90
_yy_create_buffer: ## @yy_create_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $64, %edi
callq _yyalloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB2_2:
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 24(%rax)
movq -24(%rbp), %rax
movl 24(%rax), %eax
addl $2, %eax
movslq %eax, %rdi
callq _yyalloc
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB2_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _yy_fatal_error
LBB2_4:
movq -24(%rbp), %rax
movl $1, 32(%rax)
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
callq _yy_init_buffer
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_load_buffer_state
_yy_load_buffer_state: ## @yy_load_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 28(%rax), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 16(%rax), %rcx
movq %rcx, _yy_c_buf_p(%rip)
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, _yyin(%rip)
movq _yy_c_buf_p(%rip), %rax
movb (%rax), %al
movb %al, _yy_hold_char(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_get_previous_state
_yy_get_previous_state: ## @yy_get_previous_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_start(%rip), %eax
movl %eax, -4(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_8 Depth 2
movq -16(%rbp), %rax
cmpq _yy_c_buf_p(%rip), %rax
jae LBB4_14
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq _yy_ec(%rip), %rax
movzbl (%rax,%rcx), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_5
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
movl $1, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB4_5
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movl -24(%rbp), %eax ## 4-byte Reload
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB4_7
## %bb.6: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_8
LBB4_8: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB4_12
## %bb.9: ## in Loop: Header=BB4_8 Depth=2
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $16, -4(%rbp)
jl LBB4_11
## %bb.10: ## in Loop: Header=BB4_8 Depth=2
movzbl -17(%rbp), %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
LBB4_11: ## in Loop: Header=BB4_8 Depth=2
jmp LBB4_8
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
## %bb.13: ## in Loop: Header=BB4_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB4_1
LBB4_14:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_try_NUL_trans
_yy_try_NUL_trans: ## @yy_try_NUL_trans
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq %rax, -16(%rbp)
movb $1, -17(%rbp)
movslq -4(%rbp), %rcx
leaq _yy_accept(%rip), %rax
cmpw $0, (%rax,%rcx,2)
je LBB5_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, _yy_last_accepting_state(%rip)
movq -16(%rbp), %rax
movq %rax, _yy_last_accepting_cpos(%rip)
LBB5_2:
jmp LBB5_3
LBB5_3: ## =>This Inner Loop Header: Depth=1
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_chk(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl -4(%rbp), %eax
je LBB5_7
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movslq -4(%rbp), %rcx
leaq _yy_def(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $16, -4(%rbp)
jl LBB5_6
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movzbl -17(%rbp), %eax
movl %eax, %ecx
leaq _yy_meta(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -17(%rbp)
LBB5_6: ## in Loop: Header=BB5_3 Depth=1
jmp LBB5_3
LBB5_7:
movslq -4(%rbp), %rcx
leaq _yy_base(%rip), %rax
movswl (%rax,%rcx,2), %eax
movzbl -17(%rbp), %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _yy_nxt(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $15, -4(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB5_9
## %bb.8:
xorl %eax, %eax
movl %eax, -24(%rbp) ## 4-byte Spill
jmp LBB5_10
LBB5_9:
movl -4(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
LBB5_10:
movl -24(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_get_next_buffer
_yy_get_next_buffer: ## @yy_get_next_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
movq 8(%rcx), %rcx
movl _yy_n_chars(%rip), %edx
addl $1, %edx
movslq %edx, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jbe LBB6_2
## %bb.1:
leaq L_.str.8(%rip), %rdi
callq _yy_fatal_error
LBB6_2:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 52(%rax)
jne LBB6_6
## %bb.3:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
subq $0, %rax
cmpq $1, %rax
jne LBB6_5
## %bb.4:
movl $1, -4(%rbp)
jmp LBB6_59
LBB6_5:
movl $2, -4(%rbp)
jmp LBB6_59
LBB6_6:
movq _yy_c_buf_p(%rip), %rax
movq _yytext@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
subq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
LBB6_7: ## =>This Inner Loop Header: Depth=1
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB6_10
## %bb.8: ## in Loop: Header=BB6_7 Depth=1
movq -24(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -24(%rbp)
movb (%rax), %cl
movq -16(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -16(%rbp)
movb %cl, (%rax)
## %bb.9: ## in Loop: Header=BB6_7 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB6_7
LBB6_10:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $2, 56(%rax)
jne LBB6_12
## %bb.11:
movl $0, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $0, 28(%rax)
jmp LBB6_48
LBB6_12:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 24(%rax), %eax
subl -28(%rbp), %eax
subl $1, %eax
movl %eax, -40(%rbp)
LBB6_13: ## =>This Inner Loop Header: Depth=1
cmpl $0, -40(%rbp)
jg LBB6_23
## %bb.14: ## in Loop: Header=BB6_13 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp)
movq _yy_c_buf_p(%rip), %rax
movq -48(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -52(%rbp)
movq -48(%rbp), %rax
cmpl $0, 32(%rax)
je LBB6_19
## %bb.15: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %eax
shll $1, %eax
movl %eax, -56(%rbp)
cmpl $0, -56(%rbp)
jg LBB6_17
## %bb.16: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -48(%rbp), %rax
addl 24(%rax), %ecx
movl %ecx, 24(%rax)
jmp LBB6_18
LBB6_17: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movl 24(%rax), %ecx
shll $1, %ecx
movl %ecx, 24(%rax)
LBB6_18: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movq 8(%rax), %rdi
movq -48(%rbp), %rax
movl 24(%rax), %eax
addl $2, %eax
movslq %eax, %rsi
callq _yyrealloc
movq %rax, %rcx
movq -48(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB6_20
LBB6_19: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movq $0, 8(%rax)
LBB6_20: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB6_22
## %bb.21:
leaq L_.str.9(%rip), %rdi
callq _yy_fatal_error
LBB6_22: ## in Loop: Header=BB6_13 Depth=1
movq -48(%rbp), %rax
movq 8(%rax), %rax
movslq -52(%rbp), %rcx
addq %rcx, %rax
movq %rax, _yy_c_buf_p(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl 24(%rax), %eax
subl -28(%rbp), %eax
subl $1, %eax
movl %eax, -40(%rbp)
jmp LBB6_13
LBB6_23:
cmpl $8192, -40(%rbp) ## imm = 0x2000
jle LBB6_25
## %bb.24:
movl $8192, -40(%rbp) ## imm = 0x2000
LBB6_25:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0, 36(%rax)
je LBB6_39
## %bb.26:
movl $42, -60(%rbp)
movl $0, -64(%rbp)
LBB6_27: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -40(%rbp), %ecx
movb %al, -69(%rbp) ## 1-byte Spill
jge LBB6_30
## %bb.28: ## in Loop: Header=BB6_27 Depth=1
movq _yyin(%rip), %rdi
callq _getc
movl %eax, %ecx
movl %ecx, -60(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, %ecx
movb %al, -69(%rbp) ## 1-byte Spill
je LBB6_30
## %bb.29: ## in Loop: Header=BB6_27 Depth=1
cmpl $10, -60(%rbp)
setne %al
movb %al, -69(%rbp) ## 1-byte Spill
LBB6_30: ## in Loop: Header=BB6_27 Depth=1
movb -69(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_31
jmp LBB6_33
LBB6_31: ## in Loop: Header=BB6_27 Depth=1
movl -60(%rbp), %eax
movb %al, %dl
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movslq -64(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.32: ## in Loop: Header=BB6_27 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB6_27
LBB6_33:
cmpl $10, -60(%rbp)
jne LBB6_35
## %bb.34:
movl -60(%rbp), %eax
movb %al, %dl
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq -28(%rbp), %rcx
addq %rcx, %rax
movl -64(%rbp), %ecx
movl %ecx, %esi
addl $1, %esi
movl %esi, -64(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB6_35:
cmpl $-1, -60(%rbp)
jne LBB6_38
## %bb.36:
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
je LBB6_38
## %bb.37:
leaq L_.str.10(%rip), %rdi
callq _yy_fatal_error
LBB6_38:
movl -64(%rbp), %eax
movl %eax, _yy_n_chars(%rip)
jmp LBB6_47
LBB6_39:
callq ___error
movl $0, (%rax)
LBB6_40: ## =>This Inner Loop Header: Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
movslq -28(%rbp), %rax
addq %rax, %rdi
movslq -40(%rbp), %rdx
movq _yyin(%rip), %rcx
movl $1, %esi
callq _fread
movl %eax, %ecx
movl %ecx, _yy_n_chars(%rip)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -70(%rbp) ## 1-byte Spill
jne LBB6_42
## %bb.41: ## in Loop: Header=BB6_40 Depth=1
movq _yyin(%rip), %rdi
callq _ferror
cmpl $0, %eax
setne %al
movb %al, -70(%rbp) ## 1-byte Spill
LBB6_42: ## in Loop: Header=BB6_40 Depth=1
movb -70(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB6_43
jmp LBB6_46
LBB6_43: ## in Loop: Header=BB6_40 Depth=1
callq ___error
cmpl $4, (%rax)
je LBB6_45
## %bb.44:
leaq L_.str.10(%rip), %rdi
callq _yy_fatal_error
LBB6_45: ## in Loop: Header=BB6_40 Depth=1
callq ___error
movl $0, (%rax)
movq _yyin(%rip), %rdi
callq _clearerr
jmp LBB6_40
LBB6_46:
jmp LBB6_47
LBB6_47:
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 28(%rax)
LBB6_48:
cmpl $0, _yy_n_chars(%rip)
jne LBB6_53
## %bb.49:
cmpl $0, -28(%rbp)
jne LBB6_51
## %bb.50:
movl $1, -36(%rbp)
movq _yyin(%rip), %rdi
callq _yyrestart
jmp LBB6_52
LBB6_51:
movl $2, -36(%rbp)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movl $2, 56(%rax)
LBB6_52:
jmp LBB6_54
LBB6_53:
movl $0, -36(%rbp)
LBB6_54:
movl _yy_n_chars(%rip), %eax
addl -28(%rbp), %eax
movq _yy_buffer_stack(%rip), %rcx
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl 24(%rcx), %eax
jle LBB6_58
## %bb.55:
movl _yy_n_chars(%rip), %eax
addl -28(%rbp), %eax
movl _yy_n_chars(%rip), %ecx
sarl $1, %ecx
addl %ecx, %eax
movl %eax, -68(%rbp)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rdi
movslq -68(%rbp), %rsi
callq _yyrealloc
movq %rax, %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 8(%rax)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0, 8(%rax)
jne LBB6_57
## %bb.56:
leaq L_.str.11(%rip), %rdi
callq _yy_fatal_error
LBB6_57:
movl -68(%rbp), %ecx
subl $2, %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 24(%rax)
LBB6_58:
movl -28(%rbp), %eax
addl _yy_n_chars(%rip), %eax
movl %eax, _yy_n_chars(%rip)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movslq _yy_n_chars(%rip), %rcx
movb $0, (%rax,%rcx)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rax
movl _yy_n_chars(%rip), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq 8(%rax), %rcx
movq _yytext@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
LBB6_59:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyrestart ## -- Begin function yyrestart
.p2align 4, 0x90
_yyrestart: ## @yyrestart
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, _yy_buffer_stack(%rip)
je LBB7_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB7_4
jmp LBB7_3
LBB7_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB7_4
jmp LBB7_3
LBB7_3:
callq _yyensure_buffer_stack
movq _yyin(%rip), %rdi
movl $16384, %esi ## imm = 0x4000
callq _yy_create_buffer
movq %rax, %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
LBB7_4:
cmpq $0, _yy_buffer_stack(%rip)
je LBB7_6
## %bb.5:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB7_7
LBB7_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB7_7
LBB7_7:
movq -16(%rbp), %rdi ## 8-byte Reload
movq -8(%rbp), %rsi
callq _yy_init_buffer
callq _yy_load_buffer_state
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_fatal_error
_yy_fatal_error: ## @yy_fatal_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.13(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_buffer
_yy_init_buffer: ## @yy_init_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq ___error
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rdi
callq _yy_flush_buffer
movq -16(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
movq -8(%rbp), %rax
movl $1, 52(%rax)
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB9_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq -40(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
je LBB9_5
## %bb.4:
movq -8(%rbp), %rax
movl $1, 44(%rax)
movq -8(%rbp), %rax
movl $0, 48(%rax)
LBB9_5:
cmpq $0, -16(%rbp)
je LBB9_7
## %bb.6:
movq -16(%rbp), %rdi
callq _fileno
movl %eax, %edi
callq _isatty
cmpl $0, %eax
setg %al
andb $1, %al
movzbl %al, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB9_8
LBB9_7:
xorl %eax, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
jmp LBB9_8
LBB9_8:
movl -44(%rbp), %ecx ## 4-byte Reload
movq -8(%rbp), %rax
movl %ecx, 36(%rax)
movl -20(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
callq ___error
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_switch_to_buffer ## -- Begin function yy_switch_to_buffer
.p2align 4, 0x90
_yy_switch_to_buffer: ## @yy_switch_to_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
callq _yyensure_buffer_stack
cmpq $0, _yy_buffer_stack(%rip)
je LBB10_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_3:
movq -16(%rbp), %rax ## 8-byte Reload
cmpq -8(%rbp), %rax
jne LBB10_5
## %bb.4:
jmp LBB10_10
LBB10_5:
cmpq $0, _yy_buffer_stack(%rip)
je LBB10_7
## %bb.6:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB10_8
jmp LBB10_9
LBB10_7:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB10_8
jmp LBB10_9
LBB10_8:
movb _yy_hold_char(%rip), %cl
movq _yy_c_buf_p(%rip), %rax
movb %cl, (%rax)
movq _yy_c_buf_p(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 28(%rax)
LBB10_9:
movq -8(%rbp), %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB10_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyalloc ## -- Begin function yyalloc
.p2align 4, 0x90
_yyalloc: ## @yyalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _malloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_delete_buffer ## -- Begin function yy_delete_buffer
.p2align 4, 0x90
_yy_delete_buffer: ## @yy_delete_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB12_2
## %bb.1:
jmp LBB12_10
LBB12_2:
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB12_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_5
LBB12_4:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_5
LBB12_5:
movq -16(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
jne LBB12_7
## %bb.6:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
LBB12_7:
movq -8(%rbp), %rax
cmpl $0, 32(%rax)
je LBB12_9
## %bb.8:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _yyfree
LBB12_9:
movq -8(%rbp), %rdi
callq _yyfree
LBB12_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyfree ## -- Begin function yyfree
.p2align 4, 0x90
_yyfree: ## @yyfree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_flush_buffer ## -- Begin function yy_flush_buffer
.p2align 4, 0x90
_yy_flush_buffer: ## @yy_flush_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB14_2
## %bb.1:
jmp LBB14_7
LBB14_2:
movq -8(%rbp), %rax
movl $0, 28(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movb $0, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movb $0, 1(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movl $1, 40(%rax)
movq -8(%rbp), %rax
movl $0, 56(%rax)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
cmpq $0, _yy_buffer_stack(%rip)
je LBB14_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_5
LBB14_4:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_5
LBB14_5:
movq -16(%rbp), %rax ## 8-byte Reload
movq -24(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rax
jne LBB14_7
## %bb.6:
callq _yy_load_buffer_state
LBB14_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypush_buffer_state ## -- Begin function yypush_buffer_state
.p2align 4, 0x90
_yypush_buffer_state: ## @yypush_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB15_2
## %bb.1:
jmp LBB15_11
LBB15_2:
callq _yyensure_buffer_stack
cmpq $0, _yy_buffer_stack(%rip)
je LBB15_4
## %bb.3:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB15_5
jmp LBB15_6
LBB15_4:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB15_5
jmp LBB15_6
LBB15_5:
movb _yy_hold_char(%rip), %cl
movq _yy_c_buf_p(%rip), %rax
movb %cl, (%rax)
movq _yy_c_buf_p(%rip), %rcx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 16(%rax)
movl _yy_n_chars(%rip), %ecx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 28(%rax)
LBB15_6:
cmpq $0, _yy_buffer_stack(%rip)
je LBB15_8
## %bb.7:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB15_9
jmp LBB15_10
LBB15_8:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB15_9
jmp LBB15_10
LBB15_9:
movq _yy_buffer_stack_top(%rip), %rax
addq $1, %rax
movq %rax, _yy_buffer_stack_top(%rip)
LBB15_10:
movq -8(%rbp), %rdx
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq %rdx, (%rax,%rcx,8)
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB15_11:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yypop_buffer_state ## -- Begin function yypop_buffer_state
.p2align 4, 0x90
_yypop_buffer_state: ## @yypop_buffer_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_2
## %bb.1:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB16_4
jmp LBB16_3
LBB16_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB16_4
jmp LBB16_3
LBB16_3:
jmp LBB16_13
LBB16_4:
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_6
## %bb.5:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB16_7
LBB16_6:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB16_7
LBB16_7:
movq -8(%rbp), %rdi ## 8-byte Reload
callq _yy_delete_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
cmpq $0, _yy_buffer_stack_top(%rip)
jbe LBB16_9
## %bb.8:
movq _yy_buffer_stack_top(%rip), %rax
addq $-1, %rax
movq %rax, _yy_buffer_stack_top(%rip)
LBB16_9:
cmpq $0, _yy_buffer_stack(%rip)
je LBB16_11
## %bb.10:
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
cmpq $0, (%rax,%rcx,8)
jne LBB16_12
jmp LBB16_13
LBB16_11:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB16_12
jmp LBB16_13
LBB16_12:
callq _yy_load_buffer_state
movl $1, _yy_did_buffer_switch_on_eof(%rip)
LBB16_13:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_buffer ## -- Begin function yy_scan_buffer
.p2align 4, 0x90
_yy_scan_buffer: ## @yy_scan_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $2, -24(%rbp)
jb LBB17_3
## %bb.1:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq $2, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
jne LBB17_3
## %bb.2:
movq -16(%rbp), %rax
movq -24(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB17_4
LBB17_3:
movq $0, -8(%rbp)
jmp LBB17_7
LBB17_4:
movl $64, %edi
callq _yyalloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB17_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
callq _yy_fatal_error
LBB17_6:
movq -24(%rbp), %rax
subq $2, %rax
movl %eax, %ecx
movq -32(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
movq %rcx, 16(%rax)
movq -32(%rbp), %rax
movl $0, 32(%rax)
movq -32(%rbp), %rax
movq $0, (%rax)
movq -32(%rbp), %rax
movl 24(%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, 28(%rax)
movq -32(%rbp), %rax
movl $0, 36(%rax)
movq -32(%rbp), %rax
movl $1, 40(%rax)
movq -32(%rbp), %rax
movl $0, 52(%rax)
movq -32(%rbp), %rax
movl $0, 56(%rax)
movq -32(%rbp), %rdi
callq _yy_switch_to_buffer
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB17_7:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_string ## -- Begin function yy_scan_string
.p2align 4, 0x90
_yy_scan_string: ## @yy_scan_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq -16(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _yy_scan_bytes
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yy_scan_bytes ## -- Begin function yy_scan_bytes
.p2align 4, 0x90
_yy_scan_bytes: ## @yy_scan_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
addl $2, %eax
cltq
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _yyalloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB19_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
callq _yy_fatal_error
LBB19_2:
movl $0, -44(%rbp)
LBB19_3: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB19_6
## %bb.4: ## in Loop: Header=BB19_3 Depth=1
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -32(%rbp), %rax
movslq -44(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.5: ## in Loop: Header=BB19_3 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB19_3
LBB19_6:
movq -32(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb $0, (%rax,%rcx)
movq -32(%rbp), %rax
movslq -12(%rbp), %rcx
movb $0, (%rax,%rcx)
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
callq _yy_scan_buffer
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB19_8
## %bb.7:
leaq L_.str.4(%rip), %rdi
callq _yy_fatal_error
LBB19_8:
movq -24(%rbp), %rax
movl $1, 32(%rax)
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_lineno ## -- Begin function yyget_lineno
.p2align 4, 0x90
_yyget_lineno: ## @yyget_lineno
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yylineno(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_in ## -- Begin function yyget_in
.p2align 4, 0x90
_yyget_in: ## @yyget_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyin(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_out ## -- Begin function yyget_out
.p2align 4, 0x90
_yyget_out: ## @yyget_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyout(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_leng ## -- Begin function yyget_leng
.p2align 4, 0x90
_yyget_leng: ## @yyget_leng
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yyleng@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_text ## -- Begin function yyget_text
.p2align 4, 0x90
_yyget_text: ## @yyget_text
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _yytext@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_lineno ## -- Begin function yyset_lineno
.p2align 4, 0x90
_yyset_lineno: ## @yyset_lineno
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, _yylineno(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_in ## -- Begin function yyset_in
.p2align 4, 0x90
_yyset_in: ## @yyset_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, _yyin(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_out ## -- Begin function yyset_out
.p2align 4, 0x90
_yyset_out: ## @yyset_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, _yyout(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyget_debug ## -- Begin function yyget_debug
.p2align 4, 0x90
_yyget_debug: ## @yyget_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _yy_flex_debug(%rip), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyset_debug ## -- Begin function yyset_debug
.p2align 4, 0x90
_yyset_debug: ## @yyset_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, _yy_flex_debug(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yylex_destroy ## -- Begin function yylex_destroy
.p2align 4, 0x90
_yylex_destroy: ## @yylex_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
jmp LBB30_1
LBB30_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, _yy_buffer_stack(%rip)
je LBB30_3
## %bb.2: ## in Loop: Header=BB30_1 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB30_4
LBB30_3: ## in Loop: Header=BB30_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -8(%rbp) ## 8-byte Spill
jmp LBB30_4
LBB30_4: ## in Loop: Header=BB30_1 Depth=1
movq -8(%rbp), %rax ## 8-byte Reload
cmpq $0, %rax
je LBB30_9
## %bb.5: ## in Loop: Header=BB30_1 Depth=1
cmpq $0, _yy_buffer_stack(%rip)
je LBB30_7
## %bb.6: ## in Loop: Header=BB30_1 Depth=1
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB30_8
LBB30_7: ## in Loop: Header=BB30_1 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -16(%rbp) ## 8-byte Spill
jmp LBB30_8
LBB30_8: ## in Loop: Header=BB30_1 Depth=1
movq -16(%rbp), %rdi ## 8-byte Reload
callq _yy_delete_buffer
movq _yy_buffer_stack(%rip), %rax
movq _yy_buffer_stack_top(%rip), %rcx
movq $0, (%rax,%rcx,8)
callq _yypop_buffer_state
jmp LBB30_1
LBB30_9:
movq _yy_buffer_stack(%rip), %rdi
callq _yyfree
movq $0, _yy_buffer_stack(%rip)
callq _yy_init_globals
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yy_init_globals
_yy_init_globals: ## @yy_init_globals
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, _yy_buffer_stack(%rip)
movq $0, _yy_buffer_stack_top(%rip)
movq $0, _yy_buffer_stack_max(%rip)
movq $0, _yy_c_buf_p(%rip)
movl $0, _yy_init(%rip)
movl $0, _yy_start(%rip)
movq $0, _yyin(%rip)
movq $0, _yyout(%rip)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyrealloc ## -- Begin function yyrealloc
.p2align 4, 0x90
_yyrealloc: ## @yyrealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _realloc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $1, -8(%rbp)
jne LBB33_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
LBB33_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.6(%rip), %rsi
callq _fopen
movq %rax, _yyin(%rip)
callq _yylex
movl _posint(%rip), %esi
movl _negint(%rip), %edx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _yyin ## @yyin
.zerofill __DATA,__common,_yyin,8,3
.globl _yyout ## @yyout
.zerofill __DATA,__common,_yyout,8,3
.section __DATA,__data
.globl _yylineno ## @yylineno
.p2align 2
_yylineno:
.long 1 ## 0x1
.globl _yy_flex_debug ## @yy_flex_debug
.zerofill __DATA,__common,_yy_flex_debug,4,2
.globl _posint ## @posint
.zerofill __DATA,__common,_posint,4,2
.globl _negint ## @negint
.zerofill __DATA,__common,_negint,4,2
.zerofill __DATA,__bss,_yy_init,4,2 ## @yy_init
.zerofill __DATA,__bss,_yy_start,4,2 ## @yy_start
.zerofill __DATA,__bss,_yy_buffer_stack,8,3 ## @yy_buffer_stack
.zerofill __DATA,__bss,_yy_buffer_stack_top,8,3 ## @yy_buffer_stack_top
.zerofill __DATA,__bss,_yy_c_buf_p,8,3 ## @yy_c_buf_p
.zerofill __DATA,__bss,_yy_hold_char,1,0 ## @yy_hold_char
.section __TEXT,__const
.p2align 4 ## @yy_ec
_yy_ec:
.ascii "\000\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\002\001\003\004\001\005\005\005\005\005\005\005\005\005\005\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
.p2align 4 ## @yy_accept
_yy_accept:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 6 ## 0x6
.short 5 ## 0x5
.short 5 ## 0x5
.short 5 ## 0x5
.short 5 ## 0x5
.short 3 ## 0x3
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 4 ## 0x4
.short 1 ## 0x1
.short 2 ## 0x2
.short 0 ## 0x0
.zerofill __DATA,__bss,_yy_last_accepting_state,4,2 ## @yy_last_accepting_state
.zerofill __DATA,__bss,_yy_last_accepting_cpos,8,3 ## @yy_last_accepting_cpos
.p2align 4 ## @yy_chk
_yy_chk:
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 5 ## 0x5
.short 5 ## 0x5
.short 6 ## 0x6
.short 6 ## 0x6
.short 17 ## 0x11
.short 16 ## 0x10
.short 3 ## 0x3
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.p2align 4 ## @yy_base
_yy_base:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 12 ## 0xc
.short 13 ## 0xd
.short 2 ## 0x2
.short 4 ## 0x4
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 13 ## 0xd
.short 9 ## 0x9
.short 8 ## 0x8
.p2align 4 ## @yy_def
_yy_def:
.short 0 ## 0x0
.short 15 ## 0xf
.short 1 ## 0x1
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 16 ## 0x10
.short 5 ## 0x5
.short 16 ## 0x10
.short 5 ## 0x5
.short 17 ## 0x11
.short 6 ## 0x6
.short 16 ## 0x10
.short 17 ## 0x11
.short 0 ## 0x0
.short 15 ## 0xf
.short 15 ## 0xf
_yy_meta: ## @yy_meta
.ascii "\000\001\001\001\001\002"
.p2align 4 ## @yy_nxt
_yy_nxt:
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 6 ## 0x6
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 14 ## 0xe
.short 13 ## 0xd
.short 15 ## 0xf
.short 3 ## 0x3
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.short 15 ## 0xf
.comm _yytext,8,3 ## @yytext
.comm _yyleng,4,2 ## @yyleng
.zerofill __DATA,__bss,_yy_n_chars,4,2 ## @yy_n_chars
.zerofill __DATA,__bss,_yy_did_buffer_switch_on_eof,4,2 ## @yy_did_buffer_switch_on_eof
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fatal flex scanner internal error--no action found"
L_.str.1: ## @.str.1
.asciz "out of dynamic memory in yy_create_buffer()"
L_.str.2: ## @.str.2
.asciz "out of dynamic memory in yy_scan_buffer()"
L_.str.3: ## @.str.3
.asciz "out of dynamic memory in yy_scan_bytes()"
L_.str.4: ## @.str.4
.asciz "bad buffer in yy_scan_bytes()"
L_.str.5: ## @.str.5
.asciz "please insert a source file"
L_.str.6: ## @.str.6
.asciz "r"
L_.str.7: ## @.str.7
.asciz "no of +ve int = %d \n no of -ve int = %d\n"
L_.str.8: ## @.str.8
.asciz "fatal flex scanner internal error--end of buffer missed"
L_.str.9: ## @.str.9
.asciz "fatal error - scanner input buffer overflow"
L_.str.10: ## @.str.10
.asciz "input in flex scanner failed"
L_.str.11: ## @.str.11
.asciz "out of dynamic memory in yy_get_next_buffer()"
L_.str.12: ## @.str.12
.asciz "out of dynamic memory in yyensure_buffer_stack()"
.zerofill __DATA,__bss,_yy_buffer_stack_max,8,3 ## @yy_buffer_stack_max
L_.str.13: ## @.str.13
.asciz "%s\n"
.subsections_via_symbols
|
the_stack_data/247018006.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init ; -- Begin function init
.p2align 2
_init: ; @init
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
mov w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #4]
subs w8, w8, #37
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp]
subs w8, w8, #37
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
mov x10, #148
mul x9, x9, x10
add x9, x8, x9
ldrsw x10, [sp]
mov w8, #999
str w8, [x9, x10, lsl #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
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, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_8:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init ## -- Begin function init
.p2align 4, 0x90
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $1, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $37, -12(%rbp)
jge LBB0_8
## %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
cmpl $37, -16(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq $148, %rcx, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl $999, (%rax,%rcx,4) ## imm = 0x3E7
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/28262299.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memcpy ; -- Begin function memcpy
.p2align 2
_memcpy: ; @memcpy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
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 x8, [sp, #16]
add x9, x8, #1
str x9, [sp, #16]
ldrb w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #1
str x10, [sp, #24]
strb w8, [x9]
b LBB0_1
LBB0_3:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _MailboxWrite ; -- Begin function MailboxWrite
.p2align 2
_MailboxWrite: ; @MailboxWrite
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
mov w8, #47232
movk w8, #8192, lsl #16
str w8, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
add w0, w8, #24
bl _GET32
mov w8, #-2147483648
ands w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_4:
ldr w8, [sp, #4]
add w0, w8, #32
ldur w8, [x29, #-4]
ldr w9, [sp, #8]
add w1, w8, w9
bl _PUT32
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _MailboxRead ; -- Begin function MailboxRead
.p2align 2
_MailboxRead: ; @MailboxRead
.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]
mov w8, #47232
movk w8, #8192, lsl #16
str w8, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_2 Depth 2
b LBB2_2
LBB2_2: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
add w0, w8, #24
bl _GET32
str w0, [sp, #8]
ldr w8, [sp, #8]
ands w8, w8, #0x40000000
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_4: ; in Loop: Header=BB2_2 Depth=2
b LBB2_2
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w0, w8, #0
bl _GET32
str w0, [sp, #8]
ldr w8, [sp, #8]
and w8, w8, #0xf
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
b LBB2_8
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_8:
ldr w0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _put_pixel ; -- Begin function put_pixel
.p2align 2
_put_pixel: ; @put_pixel
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
str w2, [sp, #4]
ldur w8, [x29, #-4]
ldr w9, [sp, #8]
mov w10, #320
mul w9, w9, w10
add w8, w8, w9
str w8, [sp]
adrp x8, _frameBuffer@GOTPAGE
ldr x8, [x8, _frameBuffer@GOTPAGEOFF]
ldr w8, [x8]
ldr w9, [sp]
add w0, w8, w9
ldr w1, [sp, #4]
bl _PUT8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _draw_ULA ; -- Begin function draw_ULA
.p2align 2
_draw_ULA: ; @draw_ULA
.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, _pVideo@GOTPAGE
ldr x8, [x8, _pVideo@GOTPAGEOFF]
stur x8, [x29, #-56] ; 8-byte Folded Spill
adrp x9, _pAttr@GOTPAGE
ldr x9, [x9, _pAttr@GOTPAGEOFF]
stur x9, [x29, #-48] ; 8-byte Folded Spill
adrp x9, _fb_pos@GOTPAGE
ldr x9, [x9, _fb_pos@GOTPAGEOFF]
stur x9, [x29, #-40] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldrh w9, [x8]
and w9, w9, #0xffffffe0
mov w10, #0
orr w9, w9, w10
strh w9, [x8]
ldur w9, [x29, #-4]
lsr w9, w9, #3
mov w11, #7
and w10, w9, #0x7
ldrh w9, [x8]
and w10, w10, #0xff
and w10, w10, w11
and w9, w9, #0xffffff1f
orr w9, w9, w10, lsl #5
strh w9, [x8]
ldur w9, [x29, #-4]
and w10, w9, #0x7
ldrh w9, [x8]
and w10, w10, #0xff
and w10, w10, w11
and w9, w9, #0xfffff8ff
orr w9, w9, w10, lsl #8
strh w9, [x8]
ldur w9, [x29, #-4]
and w9, w9, #0xc0
lsr w9, w9, #6
ldrh w10, [x8]
and w11, w9, #0xff
mov w9, #3
and w11, w11, #0x3
and w10, w10, #0xffffe7ff
orr w10, w10, w11, lsl #11
strh w10, [x8]
ldrh w10, [x8]
and w9, w9, w10, lsr #11
and w10, w9, #0xff
ldrb w9, [x8]
orr w10, w9, w10, lsl #8
mov w9, #6144
add w9, w9, w10
stur w9, [x29, #-16]
ldr w8, [x8]
stur w8, [x29, #-20]
adrp x8, _shadow_active@PAGE
ldr w8, [x8, _shadow_active@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x8, _screen_default@GOTPAGE
ldr x8, [x8, _screen_default@GOTPAGEOFF]
stur x8, [x29, #-32]
b LBB4_3
LBB4_2:
adrp x8, _screen_shadow@GOTPAGE
ldr x8, [x8, _screen_shadow@GOTPAGEOFF]
stur x8, [x29, #-32]
b LBB4_3
LBB4_3:
stur wzr, [x29, #-12]
b LBB4_4
LBB4_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #32
cset w8, hs
tbnz w8, #0, LBB4_35
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_4 Depth=1
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldur x9, [x29, #-32]
ldur w10, [x29, #-16]
; kill: def $x10 killed $w10
add x9, x9, x10
ldrb w9, [x9]
strb w9, [x8]
ldrb w8, [x8]
lsr w8, w8, #7
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_4 Depth=1
adrp x8, _flash_state@PAGE
ldrb w8, [x8, _flash_state@PAGEOFF]
and w8, w8, #0x1
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_4 Depth=1
ldur x10, [x29, #-48] ; 8-byte Folded Reload
ldrb w8, [x10]
lsr w8, w8, #6
mov w9, #1
and w8, w8, #0x1
and w12, w8, #0xff
ldrb w11, [x10]
mov w8, #7
and w11, w11, #0x7
and w11, w11, #0xff
orr w11, w11, w12, lsl #3
sturb w11, [x29, #-6]
ldrb w11, [x10]
and w9, w9, w11, lsr #6
and w9, w9, #0xff
ldrb w10, [x10]
and w8, w8, w10, lsr #3
and w8, w8, #0xff
orr w8, w8, w9, lsl #3
sturb w8, [x29, #-5]
b LBB4_9
LBB4_8: ; in Loop: Header=BB4_4 Depth=1
ldur x10, [x29, #-48] ; 8-byte Folded Reload
ldrb w8, [x10]
lsr w8, w8, #6
mov w9, #1
and w8, w8, #0x1
and w12, w8, #0xff
ldrb w11, [x10]
mov w8, #7
and w11, w11, #0x7
and w11, w11, #0xff
orr w11, w11, w12, lsl #3
sturb w11, [x29, #-5]
ldrb w11, [x10]
and w9, w9, w11, lsr #6
and w9, w9, #0xff
ldrb w10, [x10]
and w8, w8, w10, lsr #3
and w8, w8, #0xff
orr w8, w8, w9, lsl #3
sturb w8, [x29, #-6]
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_4 Depth=1
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x8]
stur w8, [x29, #-60] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x10
cset w8, le
tbnz w8, #0, LBB4_11
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #24
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB4_12
LBB4_11: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #24
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #64] ; 4-byte Folded Reload
str w8, [sp, #60] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x20
cset w8, le
tbnz w8, #0, LBB4_14
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #16
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB4_15
LBB4_14: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #16
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #60] ; 4-byte Folded Reload
ldr w9, [sp, #56] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #52] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x40
cset w8, le
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #8
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB4_18
LBB4_17: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #8
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #52] ; 4-byte Folded Reload
ldr w9, [sp, #48] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #44] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x80
cset w8, le
tbnz w8, #0, LBB4_20
b LBB4_19
LBB4_19: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB4_21
LBB4_20: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB4_21
LBB4_21: ; in Loop: Header=BB4_4 Depth=1
ldur w0, [x29, #-60] ; 4-byte Folded Reload
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr w9, [sp, #40] ; 4-byte Folded Reload
orr w1, w8, w9
bl _PUT32
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w9, [x8]
add w9, w9, #4
str w9, [x8]
ldr w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x1
cset w8, le
tbnz w8, #0, LBB4_23
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #24
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB4_24
LBB4_23: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #24
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB4_24
LBB4_24: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x2
cset w8, le
tbnz w8, #0, LBB4_26
b LBB4_25
LBB4_25: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #16
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB4_27
LBB4_26: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #16
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB4_27
LBB4_27: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
ldr w9, [sp, #24] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x4
cset w8, le
tbnz w8, #0, LBB4_29
b LBB4_28
LBB4_28: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #8
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB4_30
LBB4_29: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #8
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB4_30
LBB4_30: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
ldr w9, [sp, #16] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x8
cset w8, le
tbnz w8, #0, LBB4_32
b LBB4_31
LBB4_31: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-5]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_33
LBB4_32: ; in Loop: Header=BB4_4 Depth=1
ldurb w8, [x29, #-6]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB4_33
LBB4_33: ; in Loop: Header=BB4_4 Depth=1
ldr w0, [sp, #36] ; 4-byte Folded Reload
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldr w9, [sp, #8] ; 4-byte Folded Reload
orr w1, w8, w9
bl _PUT32
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #4
str w8, [x9]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB4_34
LBB4_34: ; in Loop: Header=BB4_4 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB4_4
LBB4_35:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _draw_ULAplus ; -- Begin function draw_ULAplus
.p2align 2
_draw_ULAplus: ; @draw_ULAplus
.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, _pVideo@GOTPAGE
ldr x8, [x8, _pVideo@GOTPAGEOFF]
stur x8, [x29, #-56] ; 8-byte Folded Spill
adrp x9, _pAttr@GOTPAGE
ldr x9, [x9, _pAttr@GOTPAGEOFF]
stur x9, [x29, #-48] ; 8-byte Folded Spill
adrp x9, _fb_pos@GOTPAGE
ldr x9, [x9, _fb_pos@GOTPAGEOFF]
stur x9, [x29, #-40] ; 8-byte Folded Spill
stur w0, [x29, #-4]
ldrh w9, [x8]
and w9, w9, #0xffffffe0
mov w10, #0
orr w9, w9, w10
strh w9, [x8]
ldur w9, [x29, #-4]
lsr w9, w9, #3
mov w11, #7
and w10, w9, #0x7
ldrh w9, [x8]
and w10, w10, #0xff
and w10, w10, w11
and w9, w9, #0xffffff1f
orr w9, w9, w10, lsl #5
strh w9, [x8]
ldur w9, [x29, #-4]
and w10, w9, #0x7
ldrh w9, [x8]
and w10, w10, #0xff
and w10, w10, w11
and w9, w9, #0xfffff8ff
orr w9, w9, w10, lsl #8
strh w9, [x8]
ldur w9, [x29, #-4]
and w9, w9, #0xc0
lsr w9, w9, #6
ldrh w10, [x8]
and w11, w9, #0xff
mov w9, #3
and w11, w11, #0x3
and w10, w10, #0xffffe7ff
orr w10, w10, w11, lsl #11
strh w10, [x8]
ldrh w10, [x8]
and w9, w9, w10, lsr #11
and w10, w9, #0xff
ldrb w9, [x8]
orr w10, w9, w10, lsl #8
mov w9, #6144
add w9, w9, w10
stur w9, [x29, #-16]
ldr w8, [x8]
stur w8, [x29, #-20]
adrp x8, _shadow_active@PAGE
ldr w8, [x8, _shadow_active@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x8, _screen_default@GOTPAGE
ldr x8, [x8, _screen_default@GOTPAGEOFF]
stur x8, [x29, #-32]
b LBB5_3
LBB5_2:
adrp x8, _screen_shadow@GOTPAGE
ldr x8, [x8, _screen_shadow@GOTPAGEOFF]
stur x8, [x29, #-32]
b LBB5_3
LBB5_3:
stur wzr, [x29, #-12]
b LBB5_4
LBB5_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #32
cset w8, hs
tbnz w8, #0, LBB5_31
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_4 Depth=1
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur x12, [x29, #-48] ; 8-byte Folded Reload
ldur x9, [x29, #-32]
ldur w10, [x29, #-16]
; kill: def $x10 killed $w10
add x9, x9, x10
ldrb w9, [x9]
strb w9, [x12]
ldrb w9, [x12]
lsr w11, w9, #7
ldrb w9, [x12]
lsr w9, w9, #6
mov w10, #1
and w9, w9, #0x1
and w9, w9, #0xff
add w9, w9, w11, uxtb #1
lsl w9, w9, #4
ldrb w13, [x12]
mov w11, #7
and w13, w13, #0x7
add w13, w9, w13, uxtb
adrp x9, _ulaplus_palette_table@PAGE
add x9, x9, _ulaplus_palette_table@PAGEOFF
add x13, x9, w13, sxtw
ldrb w13, [x13]
sturb w13, [x29, #-5]
ldrb w13, [x12]
lsr w13, w13, #7
ldrb w14, [x12]
and w10, w10, w14, lsr #6
and w10, w10, #0xff
add w10, w10, w13, uxtb #1
lsl w10, w10, #4
ldrb w12, [x12]
and w11, w11, w12, lsr #3
add w10, w10, w11, uxtb
add w10, w10, #8
add x9, x9, w10, sxtw
ldrb w9, [x9]
sturb w9, [x29, #-6]
ldr w8, [x8]
stur w8, [x29, #-60] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x10
cset w8, le
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #24
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB5_8
LBB5_7: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #24
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB5_8
LBB5_8: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #64] ; 4-byte Folded Reload
str w8, [sp, #60] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x20
cset w8, le
tbnz w8, #0, LBB5_10
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #16
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB5_11
LBB5_10: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #16
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #60] ; 4-byte Folded Reload
ldr w9, [sp, #56] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #52] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x40
cset w8, le
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #8
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB5_14
LBB5_13: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #8
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #52] ; 4-byte Folded Reload
ldr w9, [sp, #48] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #44] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x80
cset w8, le
tbnz w8, #0, LBB5_16
b LBB5_15
LBB5_15: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB5_17
LBB5_16: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB5_17
LBB5_17: ; in Loop: Header=BB5_4 Depth=1
ldur w0, [x29, #-60] ; 4-byte Folded Reload
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr w9, [sp, #40] ; 4-byte Folded Reload
orr w1, w8, w9
bl _PUT32
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr w9, [x8]
add w9, w9, #4
str w9, [x8]
ldr w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x1
cset w8, le
tbnz w8, #0, LBB5_19
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #24
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB5_20
LBB5_19: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #24
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x2
cset w8, le
tbnz w8, #0, LBB5_22
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #16
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB5_23
LBB5_22: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #16
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB5_23
LBB5_23: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
ldr w9, [sp, #24] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x4
cset w8, le
tbnz w8, #0, LBB5_25
b LBB5_24
LBB5_24: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
lsl w8, w8, #8
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB5_26
LBB5_25: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
lsl w8, w8, #8
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB5_26
LBB5_26: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
ldr w9, [sp, #16] ; 4-byte Folded Reload
orr w8, w8, w9
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x8, [x29, #-32]
ldur w9, [x29, #-20]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x8
cset w8, le
tbnz w8, #0, LBB5_28
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-5]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_29
LBB5_28: ; in Loop: Header=BB5_4 Depth=1
ldurb w8, [x29, #-6]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB5_29
LBB5_29: ; in Loop: Header=BB5_4 Depth=1
ldr w0, [sp, #36] ; 4-byte Folded Reload
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldr w9, [sp, #8] ; 4-byte Folded Reload
orr w1, w8, w9
bl _PUT32
ldur x9, [x29, #-40] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #4
str w8, [x9]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB5_30
LBB5_30: ; in Loop: Header=BB5_4 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB5_4
LBB5_31:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _drawAttr ; -- Begin function drawAttr
.p2align 2
_drawAttr: ; @drawAttr
.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, _pVideo@GOTPAGE
ldr x8, [x8, _pVideo@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur wzr, [x29, #-8]
adrp x8, _shadow_active@PAGE
ldr w8, [x8, _shadow_active@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
adrp x8, _screen_default@GOTPAGE
ldr x8, [x8, _screen_default@GOTPAGEOFF]
str x8, [sp, #16]
b LBB6_3
LBB6_2:
adrp x8, _screen_shadow@GOTPAGE
ldr x8, [x8, _screen_shadow@GOTPAGEOFF]
str x8, [sp, #16]
b LBB6_3
LBB6_3:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x9, [sp, #16]
ldur w10, [x29, #-4]
; kill: def $x10 killed $w10
add x9, x9, x10
ldrb w9, [x9]
strb w9, [sp, #15]
ldur w9, [x29, #-4]
and w10, w9, #0x300
ldur w9, [x29, #-8]
lsl w9, w9, #8
orr w9, w9, w10, lsl #3
ldurb w10, [x29, #-4]
orr w9, w9, w10
str w9, [sp, #24]
ldr w9, [sp, #24]
str w9, [x8]
ldrh w9, [x8]
lsr w9, w9, #11
and w9, w9, #0x3
and w9, w9, #0xff
ldrh w8, [x8]
lsr w8, w8, #5
and w8, w8, #0x7
and w8, w8, #0xff
orr w8, w8, w9, lsl #3
stur w8, [x29, #-20]
ldur w8, [x29, #-20]
lsl w8, w8, #3
stur w8, [x29, #-16]
stur wzr, [x29, #-8]
b LBB6_4
LBB6_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #8
cset w8, ge
tbnz w8, #0, LBB6_31
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
ldur w9, [x29, #-4]
and w10, w9, #0x300
ldur w9, [x29, #-8]
lsl w9, w9, #8
orr w9, w9, w10, lsl #3
ldurb w10, [x29, #-4]
orr w9, w9, w10
str w9, [sp, #24]
ldrh w8, [x8]
and w8, w8, #0x1f
and w8, w8, #0xff
lsl w8, w8, #3
stur w8, [x29, #-12]
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x80
cset w8, le
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_8
LBB6_7: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x40
cset w8, le
tbnz w8, #0, LBB6_10
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_11
LBB6_10: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x20
cset w8, le
tbnz w8, #0, LBB6_13
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_14
LBB6_13: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x10
cset w8, le
tbnz w8, #0, LBB6_16
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_17
LBB6_16: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x8
cset w8, le
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_20
LBB6_19: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x4
cset w8, le
tbnz w8, #0, LBB6_22
b LBB6_21
LBB6_21: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_23
LBB6_22: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_23
LBB6_23: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x2
cset w8, le
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_26
LBB6_25: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_26
LBB6_26: ; in Loop: Header=BB6_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
ands w8, w8, #0x1
cset w8, le
tbnz w8, #0, LBB6_28
b LBB6_27
LBB6_27: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_29
LBB6_28: ; in Loop: Header=BB6_4 Depth=1
ldur w0, [x29, #-12]
add w8, w0, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
add w1, w8, w9
ldrb w8, [sp, #15]
lsr w8, w8, #3
and w8, w8, #0x7
and w2, w8, #0xff
bl _put_pixel
b LBB6_29
LBB6_29: ; in Loop: Header=BB6_4 Depth=1
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_4 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB6_4
LBB6_31:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _initVideo ; -- Begin function initVideo
.p2align 2
_initVideo: ; @initVideo
.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 w0, #1074003968
stur w0, [x29, #-12] ; 4-byte Folded Spill
mov w1, #192
bl _PUT32
mov w0, #4
movk w0, #16388, lsl #16
mov w1, #0
stur w1, [x29, #-16] ; 4-byte Folded Spill
bl _PUT32
mov w0, #8
movk w0, #16388, lsl #16
mov w1, #32771
movk w1, #4, lsl #16
bl _PUT32
mov w0, #12
movk w0, #16388, lsl #16
mov w1, #8
stur w1, [x29, #-8] ; 4-byte Folded Spill
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #16
movk w0, #16388, lsl #16
bl _PUT32
mov w0, #20
movk w0, #16388, lsl #16
mov w1, #320
str w1, [sp, #12] ; 4-byte Folded Spill
bl _PUT32
mov w0, #24
movk w0, #16388, lsl #16
mov w1, #240
str w1, [sp, #16] ; 4-byte Folded Spill
bl _PUT32
mov w0, #28
movk w0, #16388, lsl #16
mov w1, #32772
movk w1, #4, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #32
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #36
movk w0, #16388, lsl #16
bl _PUT32
ldr w1, [sp, #12] ; 4-byte Folded Reload
mov w0, #40
movk w0, #16388, lsl #16
bl _PUT32
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov w0, #44
movk w0, #16388, lsl #16
bl _PUT32
mov w0, #48
movk w0, #16388, lsl #16
mov w1, #32773
movk w1, #4, lsl #16
bl _PUT32
mov w0, #52
movk w0, #16388, lsl #16
mov w1, #4
str w1, [sp, #20] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #20] ; 4-byte Folded Reload
mov w0, #56
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #60
movk w0, #16388, lsl #16
bl _PUT32
mov w0, #64
movk w0, #16388, lsl #16
mov w1, #32777
movk w1, #4, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #68
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #72
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-16] ; 4-byte Folded Reload
mov w0, #76
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-16] ; 4-byte Folded Reload
mov w0, #80
movk w0, #16388, lsl #16
bl _PUT32
mov w0, #84
movk w0, #16388, lsl #16
mov w1, #32779
movk w1, #4, lsl #16
bl _PUT32
mov w0, #88
movk w0, #16388, lsl #16
mov w1, #72
str w1, [sp, #24] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #24] ; 4-byte Folded Reload
mov w0, #92
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-16] ; 4-byte Folded Reload
mov w0, #96
movk w0, #16388, lsl #16
bl _PUT32
mov w0, #100
movk w0, #16388, lsl #16
mov w1, #16
bl _PUT32
mov w0, #104
movk w0, #16388, lsl #16
mov w1, #-16777216
stur w1, [x29, #-20] ; 4-byte Folded Spill
bl _PUT32
mov w0, #108
movk w0, #16388, lsl #16
mov w1, #-6291456
bl _PUT32
mov w0, #112
movk w0, #16388, lsl #16
mov w1, #160
movk w1, #65280, lsl #16
bl _PUT32
mov w0, #116
movk w0, #16388, lsl #16
mov w1, #160
movk w1, #65440, lsl #16
bl _PUT32
mov w0, #120
movk w0, #16388, lsl #16
mov w1, #40960
movk w1, #65280, lsl #16
bl _PUT32
mov w0, #124
movk w0, #16388, lsl #16
mov w1, #40960
movk w1, #65440, lsl #16
bl _PUT32
mov w0, #128
movk w0, #16388, lsl #16
mov w1, #41120
movk w1, #65280, lsl #16
bl _PUT32
mov w0, #132
movk w0, #16388, lsl #16
mov w1, #41120
movk w1, #65440, lsl #16
bl _PUT32
ldur w1, [x29, #-20] ; 4-byte Folded Reload
mov w0, #136
movk w0, #16388, lsl #16
bl _PUT32
mov w0, #140
movk w0, #16388, lsl #16
mov w1, #-65536
bl _PUT32
mov w0, #144
movk w0, #16388, lsl #16
mov w1, #-16776961
bl _PUT32
mov w0, #148
movk w0, #16388, lsl #16
mov w1, #-65281
bl _PUT32
mov w0, #152
movk w0, #16388, lsl #16
mov w1, #-16711936
bl _PUT32
mov w0, #156
movk w0, #16388, lsl #16
mov w1, #-256
bl _PUT32
mov w0, #160
movk w0, #16388, lsl #16
mov w1, #-16711681
bl _PUT32
mov w0, #164
movk w0, #16388, lsl #16
mov w1, #-1
bl _PUT32
mov w0, #168
movk w0, #16388, lsl #16
mov w1, #1
movk w1, #4, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #172
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov w0, #176
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-16] ; 4-byte Folded Reload
mov w0, #180
movk w0, #16388, lsl #16
stur w0, [x29, #-4] ; 4-byte Folded Spill
bl _PUT32
ldur w1, [x29, #-16] ; 4-byte Folded Reload
mov w0, #184
movk w0, #16388, lsl #16
bl _PUT32
ldur w1, [x29, #-16] ; 4-byte Folded Reload
mov w0, #188
movk w0, #16388, lsl #16
bl _PUT32
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldur w1, [x29, #-8] ; 4-byte Folded Reload
bl _MailboxWrite
ldur w0, [x29, #-8] ; 4-byte Folded Reload
bl _MailboxRead
ldur w0, [x29, #-4] ; 4-byte Folded Reload
bl _GET32
adrp x8, _frameBuffer@GOTPAGE
ldr x8, [x8, _frameBuffer@GOTPAGEOFF]
str w0, [x8]
adrp x9, _ptDraw@GOTPAGE
ldr x9, [x9, _ptDraw@GOTPAGEOFF]
adrp x8, _draw_ULA@PAGE
add x8, x8, _draw_ULA@PAGEOFF
str x8, [x9]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _initVideoULAplus ; -- Begin function initVideoULAplus
.p2align 2
_initVideoULAplus: ; @initVideoULAplus
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #1074003968
stur w8, [x29, #-24]
stur w8, [x29, #-28]
adrp x8, l___const.initVideoULAplus.color_3_to_8@PAGE
add x8, x8, l___const.initVideoULAplus.color_3_to_8@PAGEOFF
ldr x8, [x8]
stur x8, [x29, #-16]
ldur w0, [x29, #-24]
mov w1, #1160
bl _PUT32
ldur w8, [x29, #-24]
mov w9, #4
str w9, [sp, #24] ; 4-byte Folded Spill
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #0
str w1, [sp, #36] ; 4-byte Folded Spill
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #32771
movk w1, #4, lsl #16
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #8
str w1, [sp, #28] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #320
str w1, [sp, #16] ; 4-byte Folded Spill
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #240
str w1, [sp, #20] ; 4-byte Folded Spill
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #32772
movk w1, #4, lsl #16
bl _PUT32
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #16] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #32773
movk w1, #4, lsl #16
bl _PUT32
ldr w1, [sp, #24] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #24] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #32777
movk w1, #4, lsl #16
bl _PUT32
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #32779
movk w1, #4, lsl #16
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #1032
str w1, [sp, #32] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #32] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #256
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
stur wzr, [x29, #-20]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #256
cset w8, hs
tbnz w8, #0, LBB8_6
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldur w8, [x29, #-20]
lsr w8, w8, #2
and w8, w8, #0x7
sturb w8, [x29, #-33]
ldur w8, [x29, #-20]
lsr w8, w8, #5
and w8, w8, #0x7
sturb w8, [x29, #-34]
ldur w8, [x29, #-20]
and w8, w8, #0x3
sturb w8, [x29, #-35]
ldurb w8, [x29, #-35]
lsl w8, w8, #1
sturb w8, [x29, #-35]
ldurb w8, [x29, #-35]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldurb w8, [x29, #-35]
orr w8, w8, #0x1
sturb w8, [x29, #-35]
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_1 Depth=1
ldurb w8, [x29, #-33]
mov x10, x8
sub x8, x29, #16
mov x9, x8
add x9, x9, x10
ldrb w9, [x9]
sturb w9, [x29, #-36]
ldurb w9, [x29, #-34]
mov x10, x9
mov x9, x8
add x9, x9, x10
ldrb w9, [x9]
sturb w9, [x29, #-37]
ldurb w9, [x29, #-35]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-38]
ldur w0, [x29, #-24]
ldurb w9, [x29, #-38]
mov w8, #-16777216
orr w8, w8, w9, lsl #16
ldurb w9, [x29, #-37]
orr w8, w8, w9, lsl #8
ldurb w9, [x29, #-36]
orr w1, w8, w9
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB8_1
LBB8_6:
ldur w0, [x29, #-24]
mov w1, #1
movk w1, #4, lsl #16
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
mov w1, #8
str w1, [sp, #12] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #12] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w8, [x29, #-24]
stur w8, [x29, #-32]
ldur w0, [x29, #-24]
mov w1, #0
str w1, [sp, #8] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #8] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #8] ; 4-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #4
stur w8, [x29, #-24]
ldur w0, [x29, #-24]
bl _PUT32
ldr w1, [sp, #12] ; 4-byte Folded Reload
ldur w0, [x29, #-28]
bl _MailboxWrite
ldr w0, [sp, #12] ; 4-byte Folded Reload
bl _MailboxRead
ldur w0, [x29, #-32]
bl _GET32
adrp x8, _frameBuffer@GOTPAGE
ldr x8, [x8, _frameBuffer@GOTPAGEOFF]
str w0, [x8]
adrp x9, _ptDraw@GOTPAGE
ldr x9, [x9, _ptDraw@GOTPAGEOFF]
adrp x8, _draw_ULAplus@PAGE
add x8, x8, _draw_ULAplus@PAGEOFF
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, LBB8_8
b LBB8_7
LBB8_7:
bl ___stack_chk_fail
LBB8_8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _c_fiq_handler ; -- Begin function c_fiq_handler
.p2align 2
_c_fiq_handler: ; @c_fiq_handler
.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 x9, _pGPIO@GOTPAGE
ldr x9, [x9, _pGPIO@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
adrp x8, _ulaplus_data@GOTPAGE
ldr x8, [x8, _ulaplus_data@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _ULAplus_register@GOTPAGE
ldr x8, [x8, _ULAplus_register@GOTPAGEOFF]
stur x8, [x29, #-8] ; 8-byte Folded Spill
adrp x8, _ptr_GPLEV0@PAGE
ldr x8, [x8, _ptr_GPLEV0@PAGEOFF]
ldr w8, [x8]
; kill: def $x8 killed $w8
str x8, [x9]
adrp x8, _ptr_GPEDS0@PAGE
ldr x8, [x8, _ptr_GPEDS0@PAGEOFF]
ldr w8, [x8]
ands w8, w8, #0x2000000
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_1
LBB9_1:
adrp x8, _ptr_GPEDS0@PAGE
ldr x9, [x8, _ptr_GPEDS0@PAGEOFF]
ldr w8, [x9]
orr w8, w8, #0x2000000
str w8, [x9]
adrp x8, _ulaPlus_enable@PAGE
ldrb w8, [x8, _ulaPlus_enable@PAGEOFF]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_3
b LBB9_2
LBB9_2:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrb w8, [x8]
and w8, w8, #0xff
and w8, w8, #0x7
adrp x9, _border_color@PAGE
strh w8, [x9, _border_color@PAGEOFF]
b LBB9_4
LBB9_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldrb w8, [x8]
and w8, w8, #0xff
and w8, w8, #0x7
add w9, w8, #8
adrp x8, _ulaplus_palette_table@PAGE
add x8, x8, _ulaplus_palette_table@PAGEOFF
ldrb w8, [x8, w9, sxtw]
adrp x9, _border_color@PAGE
strh w8, [x9, _border_color@PAGEOFF]
b LBB9_4
LBB9_4:
b LBB9_30
LBB9_5:
adrp x8, _ptr_GPEDS0@PAGE
ldr x8, [x8, _ptr_GPEDS0@PAGEOFF]
ldr w8, [x8]
ands w8, w8, #0x1000000
cset w8, eq
tbnz w8, #0, LBB9_11
b LBB9_6
LBB9_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x9, _ptr_GPEDS0@PAGE
ldr x10, [x9, _ptr_GPEDS0@PAGEOFF]
ldr w9, [x10]
orr w9, w9, #0x1000000
str w9, [x10]
ldr w9, [x8]
lsr w9, w9, #22
and w9, w9, #0x1
and w9, w9, #0xff
adrp x10, _shadow_active@PAGE
str w9, [x10, _shadow_active@PAGEOFF]
ldr w8, [x8]
lsr w8, w8, #21
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB9_9
b LBB9_7
LBB9_7:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8]
lsr w8, w8, #23
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB9_9
b LBB9_8
LBB9_8:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrb w8, [x9]
ldr w9, [x9]
lsr w9, w9, #8
and w10, w9, #0x1fff
adrp x9, _screen_shadow@GOTPAGE
ldr x9, [x9, _screen_shadow@GOTPAGEOFF]
strb w8, [x9, w10, uxtw]
b LBB9_10
LBB9_9:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrb w8, [x9]
ldr w9, [x9]
lsr w9, w9, #8
and w10, w9, #0x1fff
adrp x9, _screen_default@GOTPAGE
ldr x9, [x9, _screen_default@GOTPAGEOFF]
strb w8, [x9, w10, uxtw]
b LBB9_10
LBB9_10:
b LBB9_29
LBB9_11:
adrp x8, _ptr_GPEDS0@PAGE
ldr x8, [x8, _ptr_GPEDS0@PAGEOFF]
ldr w8, [x8]
ands w8, w8, #0x4000000
cset w8, eq
tbnz w8, #0, LBB9_13
b LBB9_12
LBB9_12:
ldur x9, [x29, #-8] ; 8-byte Folded Reload
ldr x8, [sp, #8] ; 8-byte Folded Reload
adrp x10, _ptr_GPEDS0@PAGE
ldr x11, [x10, _ptr_GPEDS0@PAGEOFF]
ldr w10, [x11]
orr w10, w10, #0x4000000
str w10, [x11]
ldrb w8, [x8]
strb w8, [x9]
b LBB9_28
LBB9_13:
ldur x8, [x29, #-8] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x11, _ptr_GPEDS0@PAGE
ldr x12, [x11, _ptr_GPEDS0@PAGEOFF]
ldr w11, [x12]
orr w11, w11, #0x8000000
str w11, [x12]
ldrb w9, [x9]
strb w9, [x10]
ldrb w8, [x8]
lsr w8, w8, #6
and w8, w8, #0xff
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB9_24
b LBB9_14
LBB9_14:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB9_18
b LBB9_15
LBB9_15:
adrp x8, _ulaPlus_enable@PAGE
ldrb w8, [x8, _ulaPlus_enable@PAGEOFF]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_17
b LBB9_16
LBB9_16:
bl _initVideoULAplus
mov w8, #1
adrp x9, _ulaPlus_enable@PAGE
strb w8, [x9, _ulaPlus_enable@PAGEOFF]
b LBB9_17
LBB9_17:
b LBB9_23
LBB9_18:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB9_22
b LBB9_19
LBB9_19:
adrp x8, _ulaPlus_enable@PAGE
ldrb w8, [x8, _ulaPlus_enable@PAGEOFF]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB9_21
b LBB9_20
LBB9_20:
bl _initVideo
adrp x8, _ulaPlus_enable@PAGE
strb wzr, [x8, _ulaPlus_enable@PAGEOFF]
b LBB9_21
LBB9_21:
b LBB9_22
LBB9_22:
b LBB9_23
LBB9_23:
b LBB9_27
LBB9_24:
ldur x8, [x29, #-8] ; 8-byte Folded Reload
ldrb w8, [x8]
lsr w8, w8, #6
and w8, w8, #0xff
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB9_26
b LBB9_25
LBB9_25:
ldur x9, [x29, #-8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrb w8, [x8]
ldrb w9, [x9]
and w9, w9, #0x3f
; implicit-def: $x0
mov x0, x9
mov x10, x0
adrp x9, _ulaplus_palette_table@PAGE
add x9, x9, _ulaplus_palette_table@PAGEOFF
add x9, x9, w10, uxtb
strb w8, [x9]
b LBB9_26
LBB9_26:
b LBB9_27
LBB9_27:
b LBB9_28
LBB9_28:
b LBB9_29
LBB9_29:
b LBB9_30
LBB9_30:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _c_irq_handler ; -- Begin function c_irq_handler
.p2align 2
_c_irq_handler: ; @c_irq_handler
.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, _fb_pos@GOTPAGE
ldr x8, [x8, _fb_pos@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
mov w0, #46092
movk w0, #8192, lsl #16
mov w1, #0
bl _PUT32
adrp x8, _flash_counter@PAGE
ldrb w9, [x8, _flash_counter@PAGEOFF]
add w9, w9, #1
strb w9, [x8, _flash_counter@PAGEOFF]
ldrb w8, [x8, _flash_counter@PAGEOFF]
mov w10, #16
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
adrp x9, _flash_state@PAGE
ldrb w8, [x9, _flash_state@PAGEOFF]
add w8, w8, #1
strb w8, [x9, _flash_state@PAGEOFF]
b LBB10_2
LBB10_2:
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x8, _frameBuffer@GOTPAGE
ldr x8, [x8, _frameBuffer@GOTPAGEOFF]
ldr w8, [x8]
mov w10, #7712
add w8, w8, w10
str w8, [x9]
adrp x8, _line_num@PAGE
str wzr, [x8, _line_num@PAGEOFF]
b LBB10_3
LBB10_3: ; =>This Loop Header: Depth=1
; Child Loop BB10_5 Depth 2
; Child Loop BB10_9 Depth 2
adrp x8, _line_num@PAGE
ldr w8, [x8, _line_num@PAGEOFF]
subs w8, w8, #192
cset w8, hs
tbnz w8, #0, LBB10_14
b LBB10_4
LBB10_4: ; in Loop: Header=BB10_3 Depth=1
adrp x8, _ptDraw@GOTPAGE
ldr x8, [x8, _ptDraw@GOTPAGEOFF]
ldr x8, [x8]
adrp x9, _line_num@PAGE
ldr w0, [x9, _line_num@PAGEOFF]
blr x8
adrp x8, _border_color@PAGE
ldrh w8, [x8, _border_color@PAGEOFF]
sturb w8, [x29, #-9]
stur wzr, [x29, #-4]
b LBB10_5
LBB10_5: ; Parent Loop BB10_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB10_8
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_5 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x9]
add w8, w0, #1
str w8, [x9]
ldurb w1, [x29, #-9]
bl _PUT8
b LBB10_7
LBB10_7: ; in Loop: Header=BB10_5 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_5
LBB10_8: ; in Loop: Header=BB10_3 Depth=1
stur wzr, [x29, #-4]
b LBB10_9
LBB10_9: ; Parent Loop BB10_3 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB10_12
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_9 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x9]
add w8, w0, #1
str w8, [x9]
ldurb w1, [x29, #-9]
bl _PUT8
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_9 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_9
LBB10_12: ; in Loop: Header=BB10_3 Depth=1
b LBB10_13
LBB10_13: ; in Loop: Header=BB10_3 Depth=1
adrp x9, _line_num@PAGE
ldr w8, [x9, _line_num@PAGEOFF]
add w8, w8, #1
str w8, [x9, _line_num@PAGEOFF]
b LBB10_3
LBB10_14:
stur wzr, [x29, #-8]
b LBB10_15
LBB10_15: ; =>This Loop Header: Depth=1
; Child Loop BB10_17 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #24
cset w8, ge
tbnz w8, #0, LBB10_22
b LBB10_16
LBB10_16: ; in Loop: Header=BB10_15 Depth=1
stur wzr, [x29, #-4]
b LBB10_17
LBB10_17: ; Parent Loop BB10_15 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #320
cset w8, ge
tbnz w8, #0, LBB10_20
b LBB10_18
LBB10_18: ; in Loop: Header=BB10_17 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x9]
add w8, w0, #1
str w8, [x9]
adrp x8, _border_color@PAGE
ldrh w1, [x8, _border_color@PAGEOFF]
bl _PUT8
b LBB10_19
LBB10_19: ; in Loop: Header=BB10_17 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_17
LBB10_20: ; in Loop: Header=BB10_15 Depth=1
b LBB10_21
LBB10_21: ; in Loop: Header=BB10_15 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB10_15
LBB10_22:
ldr x9, [sp, #8] ; 8-byte Folded Reload
adrp x8, _frameBuffer@GOTPAGE
ldr x8, [x8, _frameBuffer@GOTPAGEOFF]
ldr w8, [x8]
str w8, [x9]
mov w8, #216
stur w8, [x29, #-8]
b LBB10_23
LBB10_23: ; =>This Loop Header: Depth=1
; Child Loop BB10_25 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #240
cset w8, ge
tbnz w8, #0, LBB10_30
b LBB10_24
LBB10_24: ; in Loop: Header=BB10_23 Depth=1
stur wzr, [x29, #-4]
b LBB10_25
LBB10_25: ; Parent Loop BB10_23 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #320
cset w8, ge
tbnz w8, #0, LBB10_28
b LBB10_26
LBB10_26: ; in Loop: Header=BB10_25 Depth=2
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x9]
add w8, w0, #1
str w8, [x9]
adrp x8, _border_color@PAGE
ldrh w1, [x8, _border_color@PAGEOFF]
bl _PUT8
b LBB10_27
LBB10_27: ; in Loop: Header=BB10_25 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_25
LBB10_28: ; in Loop: Header=BB10_23 Depth=1
b LBB10_29
LBB10_29: ; in Loop: Header=BB10_23 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB10_23
LBB10_30:
stur wzr, [x29, #-4]
b LBB10_31
LBB10_31: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB10_34
b LBB10_32
LBB10_32: ; in Loop: Header=BB10_31 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x9]
add w8, w0, #1
str w8, [x9]
adrp x8, _border_color@PAGE
ldrh w1, [x8, _border_color@PAGEOFF]
bl _PUT8
b LBB10_33
LBB10_33: ; in Loop: Header=BB10_31 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB10_31
LBB10_34:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _notmain ; -- Begin function notmain
.p2align 2
_notmain: ; @notmain
.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, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-8]
adrp x8, _ULAplus_register@GOTPAGE
ldr x8, [x8, _ULAplus_register@GOTPAGEOFF]
strb wzr, [x8]
bl _initVideo
mov w0, #148
movk w0, #8224, lsl #16
mov w1, #2
bl _PUT32
ldur w1, [x29, #-12] ; 4-byte Folded Reload
mov w0, #538968064
bl _PUT32
ldur w1, [x29, #-12] ; 4-byte Folded Reload
mov w0, #4
movk w0, #8224, lsl #16
bl _PUT32
ldur w1, [x29, #-12] ; 4-byte Folded Reload
mov w0, #8
movk w0, #8224, lsl #16
bl _PUT32
mov w0, #12
movk w0, #8224, lsl #16
str w0, [sp, #12] ; 4-byte Folded Spill
bl _GET32
mov x8, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
and w8, w8, #0xffffffc0
stur w8, [x29, #-4]
ldur w1, [x29, #-4]
bl _PUT32
mov w0, #152
movk w0, #8224, lsl #16
mov w1, #251658240
str w1, [sp, #16] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #16] ; 4-byte Folded Reload
mov w0, #136
movk w0, #8224, lsl #16
bl _PUT32
mov w0, #64
movk w0, #8224, lsl #16
str w0, [sp, #20] ; 4-byte Folded Spill
bl _GET32
mov x8, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
orr w8, w8, #0xf000000
stur w8, [x29, #-4]
ldur w1, [x29, #-4]
bl _PUT32
mov w0, #45580
movk w0, #8192, lsl #16
mov w1, #180
bl _PUT32
bl _enable_fiq
mov w0, #46088
movk w0, #8192, lsl #16
stur w0, [x29, #-20] ; 4-byte Folded Spill
mov w1, #4063232
bl _PUT32
mov w0, #46080
movk w0, #8192, lsl #16
mov w1, #19967
str w1, [sp, #24] ; 4-byte Folded Spill
bl _PUT32
ldr w1, [sp, #24] ; 4-byte Folded Reload
mov w0, #46104
movk w0, #8192, lsl #16
bl _PUT32
mov w0, #46108
movk w0, #8192, lsl #16
mov w1, #249
bl _PUT32
ldur w1, [x29, #-12] ; 4-byte Folded Reload
mov w0, #46092
movk w0, #8192, lsl #16
stur w0, [x29, #-16] ; 4-byte Folded Spill
bl _PUT32
mov w0, #45592
movk w0, #8192, lsl #16
mov w1, #1
bl _PUT32
adrp x8, _icount@PAGE
str wzr, [x8, _icount@PAGEOFF]
bl _enable_irq
ldur w0, [x29, #-20] ; 4-byte Folded Reload
mov w1, #162
movk w1, #62, lsl #16
bl _PUT32
ldur w0, [x29, #-16] ; 4-byte Folded Reload
ldur w1, [x29, #-12] ; 4-byte Folded Reload
bl _PUT32
mov w8, #6144
stur w8, [x29, #-8]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
mov w9, #6912
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_4
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
ldur w0, [x29, #-8]
bl _drawAttr
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB11_1
LBB11_4:
b LBB11_5
LBB11_5: ; =>This Inner Loop Header: Depth=1
b LBB11_5
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _ptr_GPEDS0 ; @ptr_GPEDS0
.p2align 3
_ptr_GPEDS0:
.quad 538968128
.globl _ptr_GPLEV0 ; @ptr_GPLEV0
.p2align 3
_ptr_GPLEV0:
.quad 538968116
.globl _line_num ; @line_num
.zerofill __DATA,__common,_line_num,4,2
.globl _shadow_active ; @shadow_active
.zerofill __DATA,__common,_shadow_active,4,2
.globl _flash_counter ; @flash_counter
.zerofill __DATA,__common,_flash_counter,1,0
.globl _flash_state ; @flash_state
.zerofill __DATA,__common,_flash_state,1,0
.globl _ulaPlus_enable ; @ulaPlus_enable
.zerofill __DATA,__common,_ulaPlus_enable,1,0
.globl _ulaplus_palette_table ; @ulaplus_palette_table
_ulaplus_palette_table:
.asciz "\000\002\030\033\300\303\330\333\000\002\030\033\300\303\330\333\000\003\034\037\340\343\374\377\000\003\034\037\340\343\374\377\333\330\303\300\033\030\002\000\333\330\303\300\033\030\002\000\377\374\343\340\037\034\003\000\377\374\343\340\037\034\003"
.globl _border_color ; @border_color
.zerofill __DATA,__common,_border_color,2,1
.comm _frameBuffer,4,2 ; @frameBuffer
.comm _pVideo,4,2 ; @pVideo
.comm _screen_default,16384,0 ; @screen_default
.comm _screen_shadow,16384,0 ; @screen_shadow
.comm _pAttr,1,0 ; @pAttr
.comm _fb_pos,4,2 ; @fb_pos
.comm _ptDraw,8,3 ; @ptDraw
.section __TEXT,__literal8,8byte_literals
l___const.initVideoULAplus.color_3_to_8: ; @__const.initVideoULAplus.color_3_to_8
.ascii "\000$Im\222\266\333\377"
.globl _cor ; @cor
.zerofill __DATA,__common,_cor,1,0
.comm _pGPIO,8,3 ; @pGPIO
.comm _ULAplus_register,1,0 ; @ULAplus_register
.comm _ulaplus_data,1,0 ; @ulaplus_data
.globl _icount ; @icount
.zerofill __DATA,__common,_icount,4,2
.globl _frames ; @frames
.zerofill __DATA,__common,_frames,4,2
.comm _buffer_video,153600,0 ; @buffer_video
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memcpy ## -- Begin function memcpy
.p2align 4, 0x90
_memcpy: ## @memcpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -16(%rbp)
movb (%rax), %cl
movq -8(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -8(%rbp)
movb %cl, (%rax)
jmp LBB0_1
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _MailboxWrite ## -- Begin function MailboxWrite
.p2align 4, 0x90
_MailboxWrite: ## @MailboxWrite
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $536918144, -12(%rbp) ## imm = 0x2000B880
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %edi
addl $24, %edi
callq _GET32
andl $-2147483648, %eax ## imm = 0x80000000
cmpl $0, %eax
jne LBB1_3
## %bb.2:
jmp LBB1_4
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_4:
movl -12(%rbp), %edi
addl $32, %edi
movl -4(%rbp), %esi
addl -8(%rbp), %esi
callq _PUT32
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _MailboxRead ## -- Begin function MailboxRead
.p2align 4, 0x90
_MailboxRead: ## @MailboxRead
.cfi_startproc
## %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 $536918144, -12(%rbp) ## imm = 0x2000B880
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
jmp LBB2_2
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %edi
addl $24, %edi
callq _GET32
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
andl $1073741824, %eax ## imm = 0x40000000
cmpl $0, %eax
jne LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_2 Depth=2
jmp LBB2_2
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %edi
addl $0, %edi
callq _GET32
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
andl $15, %eax
cmpl -4(%rbp), %eax
jne LBB2_7
## %bb.6:
jmp LBB2_8
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_8:
movl -8(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _put_pixel ## -- Begin function put_pixel
.p2align 4, 0x90
_put_pixel: ## @put_pixel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
imull $320, -8(%rbp), %ecx ## imm = 0x140
addl %ecx, %eax
movl %eax, -16(%rbp)
movq _frameBuffer@GOTPCREL(%rip), %rax
movl (%rax), %edi
addl -16(%rbp), %edi
movl -12(%rbp), %esi
callq _PUT8
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _draw_ULA ## -- Begin function draw_ULA
.p2align 4, 0x90
_draw_ULA: ## @draw_ULA
.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 %edi, -4(%rbp)
movq _pVideo@GOTPCREL(%rip), %rax
movw (%rax), %cx
andw $-32, %cx
orw $0, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movl -4(%rbp), %eax
shrl $3, %eax
andl $7, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
## kill: def $ax killed $ax killed $eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
andw $7, %ax
shlw $5, %ax
andw $-225, %cx
orw %ax, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movl -4(%rbp), %eax
andl $7, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
## kill: def $ax killed $ax killed $eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
andw $7, %ax
shlw $8, %ax
andw $-1793, %cx ## imm = 0xF8FF
orw %ax, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movl -4(%rbp), %eax
andl $192, %eax
shrl $6, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
## kill: def $ax killed $ax killed $eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
andw $3, %ax
shlw $11, %ax
andw $-6145, %cx ## imm = 0xE7FF
orw %ax, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movq _pVideo@GOTPCREL(%rip), %rax
movw (%rax), %ax
shrw $11, %ax
andw $3, %ax
## kill: def $al killed $al killed $ax
movzbl %al, %eax
shll $8, %eax
movq _pVideo@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl $255, %ecx
orl %ecx, %eax
addl $6144, %eax ## imm = 0x1800
movl %eax, -16(%rbp)
movq _pVideo@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
cmpl $0, _shadow_active(%rip)
jne LBB4_2
## %bb.1:
movq _screen_default@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
jmp LBB4_3
LBB4_2:
movq _screen_shadow@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
LBB4_3:
movl $0, -12(%rbp)
LBB4_4: ## =>This Inner Loop Header: Depth=1
cmpl $32, -12(%rbp)
jae LBB4_35
## %bb.5: ## in Loop: Header=BB4_4 Depth=1
movq -32(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %cl
movq _pAttr@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $7, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB4_8
## %bb.6: ## in Loop: Header=BB4_4 Depth=1
movzbl _flash_state(%rip), %eax
andl $1, %eax
cmpl $1, %eax
je LBB4_8
## %bb.7: ## in Loop: Header=BB4_4 Depth=1
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $6, %al
andb $1, %al
movzbl %al, %eax
shll $3, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
andb $7, %cl
movzbl %cl, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $6, %al
andb $1, %al
movzbl %al, %eax
shll $3, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrb $3, %cl
andb $7, %cl
movzbl %cl, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
jmp LBB4_9
LBB4_8: ## in Loop: Header=BB4_4 Depth=1
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $6, %al
andb $1, %al
movzbl %al, %eax
shll $3, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
andb $7, %cl
movzbl %cl, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $6, %al
andb $1, %al
movzbl %al, %eax
shll $3, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrb $3, %cl
andb $7, %cl
movzbl %cl, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
LBB4_9: ## in Loop: Header=BB4_4 Depth=1
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $16, %eax
cmpl $0, %eax
jle LBB4_11
## %bb.10: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
shll $24, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
jmp LBB4_12
LBB4_11: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
shll $24, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
LBB4_12: ## in Loop: Header=BB4_4 Depth=1
movl -40(%rbp), %eax ## 4-byte Reload
movl %eax, -44(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $32, %eax
cmpl $0, %eax
jle LBB4_14
## %bb.13: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
shll $16, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB4_15
LBB4_14: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
shll $16, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB4_15: ## in Loop: Header=BB4_4 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $64, %eax
cmpl $0, %eax
jle LBB4_17
## %bb.16: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
shll $8, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB4_18
LBB4_17: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
shll $8, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
LBB4_18: ## in Loop: Header=BB4_4 Depth=1
movl -52(%rbp), %eax ## 4-byte Reload
movl -56(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $128, %eax
cmpl $0, %eax
jle LBB4_20
## %bb.19: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
jmp LBB4_21
LBB4_20: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
LBB4_21: ## in Loop: Header=BB4_4 Depth=1
movl -36(%rbp), %edi ## 4-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movl -64(%rbp), %eax ## 4-byte Reload
orl %eax, %esi
callq _PUT32
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $4, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $1, %eax
cmpl $0, %eax
jle LBB4_23
## %bb.22: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
shll $24, %eax
movl %eax, -72(%rbp) ## 4-byte Spill
jmp LBB4_24
LBB4_23: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
shll $24, %eax
movl %eax, -72(%rbp) ## 4-byte Spill
LBB4_24: ## in Loop: Header=BB4_4 Depth=1
movl -72(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $2, %eax
cmpl $0, %eax
jle LBB4_26
## %bb.25: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
shll $16, %eax
movl %eax, -80(%rbp) ## 4-byte Spill
jmp LBB4_27
LBB4_26: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
shll $16, %eax
movl %eax, -80(%rbp) ## 4-byte Spill
LBB4_27: ## in Loop: Header=BB4_4 Depth=1
movl -76(%rbp), %eax ## 4-byte Reload
movl -80(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $4, %eax
cmpl $0, %eax
jle LBB4_29
## %bb.28: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
shll $8, %eax
movl %eax, -88(%rbp) ## 4-byte Spill
jmp LBB4_30
LBB4_29: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
shll $8, %eax
movl %eax, -88(%rbp) ## 4-byte Spill
LBB4_30: ## in Loop: Header=BB4_4 Depth=1
movl -84(%rbp), %eax ## 4-byte Reload
movl -88(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $8, %eax
cmpl $0, %eax
jle LBB4_32
## %bb.31: ## in Loop: Header=BB4_4 Depth=1
movzbl -5(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
jmp LBB4_33
LBB4_32: ## in Loop: Header=BB4_4 Depth=1
movzbl -6(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
LBB4_33: ## in Loop: Header=BB4_4 Depth=1
movl -68(%rbp), %edi ## 4-byte Reload
movl -92(%rbp), %esi ## 4-byte Reload
movl -96(%rbp), %eax ## 4-byte Reload
orl %eax, %esi
callq _PUT32
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $4, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
## %bb.34: ## in Loop: Header=BB4_4 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB4_4
LBB4_35:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _draw_ULAplus ## -- Begin function draw_ULAplus
.p2align 4, 0x90
_draw_ULAplus: ## @draw_ULAplus
.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 %edi, -4(%rbp)
movq _pVideo@GOTPCREL(%rip), %rax
movw (%rax), %cx
andw $-32, %cx
orw $0, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movl -4(%rbp), %eax
shrl $3, %eax
andl $7, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
## kill: def $ax killed $ax killed $eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
andw $7, %ax
shlw $5, %ax
andw $-225, %cx
orw %ax, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movl -4(%rbp), %eax
andl $7, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
## kill: def $ax killed $ax killed $eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
andw $7, %ax
shlw $8, %ax
andw $-1793, %cx ## imm = 0xF8FF
orw %ax, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movl -4(%rbp), %eax
andl $192, %eax
shrl $6, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
## kill: def $ax killed $ax killed $eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
andw $3, %ax
shlw $11, %ax
andw $-6145, %cx ## imm = 0xE7FF
orw %ax, %cx
movq _pVideo@GOTPCREL(%rip), %rax
movw %cx, (%rax)
movq _pVideo@GOTPCREL(%rip), %rax
movw (%rax), %ax
shrw $11, %ax
andw $3, %ax
## kill: def $al killed $al killed $ax
movzbl %al, %eax
shll $8, %eax
movq _pVideo@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl $255, %ecx
orl %ecx, %eax
addl $6144, %eax ## imm = 0x1800
movl %eax, -16(%rbp)
movq _pVideo@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
cmpl $0, _shadow_active(%rip)
jne LBB5_2
## %bb.1:
movq _screen_default@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
jmp LBB5_3
LBB5_2:
movq _screen_shadow@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
LBB5_3:
movl $0, -12(%rbp)
LBB5_4: ## =>This Inner Loop Header: Depth=1
cmpl $32, -12(%rbp)
jae LBB5_31
## %bb.5: ## in Loop: Header=BB5_4 Depth=1
movq -32(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %cl
movq _pAttr@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $7, %al
movzbl %al, %eax
shll $1, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrb $6, %cl
andb $1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
shll $4, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
andb $7, %cl
movzbl %cl, %ecx
addl %ecx, %eax
movslq %eax, %rcx
leaq _ulaplus_palette_table(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -5(%rbp)
movq _pAttr@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $7, %al
movzbl %al, %eax
shll $1, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrb $6, %cl
andb $1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
shll $4, %eax
movq _pAttr@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrb $3, %cl
andb $7, %cl
movzbl %cl, %ecx
addl %ecx, %eax
addl $8, %eax
movslq %eax, %rcx
leaq _ulaplus_palette_table(%rip), %rax
movb (%rax,%rcx), %al
movb %al, -6(%rbp)
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $16, %eax
cmpl $0, %eax
jle LBB5_7
## %bb.6: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
shll $24, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
jmp LBB5_8
LBB5_7: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
shll $24, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
LBB5_8: ## in Loop: Header=BB5_4 Depth=1
movl -40(%rbp), %eax ## 4-byte Reload
movl %eax, -44(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $32, %eax
cmpl $0, %eax
jle LBB5_10
## %bb.9: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
shll $16, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB5_11
LBB5_10: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
shll $16, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
LBB5_11: ## in Loop: Header=BB5_4 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $64, %eax
cmpl $0, %eax
jle LBB5_13
## %bb.12: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
shll $8, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB5_14
LBB5_13: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
shll $8, %eax
movl %eax, -56(%rbp) ## 4-byte Spill
LBB5_14: ## in Loop: Header=BB5_4 Depth=1
movl -52(%rbp), %eax ## 4-byte Reload
movl -56(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $128, %eax
cmpl $0, %eax
jle LBB5_16
## %bb.15: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
jmp LBB5_17
LBB5_16: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
LBB5_17: ## in Loop: Header=BB5_4 Depth=1
movl -36(%rbp), %edi ## 4-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movl -64(%rbp), %eax ## 4-byte Reload
orl %eax, %esi
callq _PUT32
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $4, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $1, %eax
cmpl $0, %eax
jle LBB5_19
## %bb.18: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
shll $24, %eax
movl %eax, -72(%rbp) ## 4-byte Spill
jmp LBB5_20
LBB5_19: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
shll $24, %eax
movl %eax, -72(%rbp) ## 4-byte Spill
LBB5_20: ## in Loop: Header=BB5_4 Depth=1
movl -72(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $2, %eax
cmpl $0, %eax
jle LBB5_22
## %bb.21: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
shll $16, %eax
movl %eax, -80(%rbp) ## 4-byte Spill
jmp LBB5_23
LBB5_22: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
shll $16, %eax
movl %eax, -80(%rbp) ## 4-byte Spill
LBB5_23: ## in Loop: Header=BB5_4 Depth=1
movl -76(%rbp), %eax ## 4-byte Reload
movl -80(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $4, %eax
cmpl $0, %eax
jle LBB5_25
## %bb.24: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
shll $8, %eax
movl %eax, -88(%rbp) ## 4-byte Spill
jmp LBB5_26
LBB5_25: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
shll $8, %eax
movl %eax, -88(%rbp) ## 4-byte Spill
LBB5_26: ## in Loop: Header=BB5_4 Depth=1
movl -84(%rbp), %eax ## 4-byte Reload
movl -88(%rbp), %ecx ## 4-byte Reload
orl %ecx, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq -32(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $8, %eax
cmpl $0, %eax
jle LBB5_28
## %bb.27: ## in Loop: Header=BB5_4 Depth=1
movzbl -5(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
jmp LBB5_29
LBB5_28: ## in Loop: Header=BB5_4 Depth=1
movzbl -6(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
LBB5_29: ## in Loop: Header=BB5_4 Depth=1
movl -68(%rbp), %edi ## 4-byte Reload
movl -92(%rbp), %esi ## 4-byte Reload
movl -96(%rbp), %eax ## 4-byte Reload
orl %eax, %esi
callq _PUT32
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $4, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
## %bb.30: ## in Loop: Header=BB5_4 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB5_4
LBB5_31:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _drawAttr ## -- Begin function drawAttr
.p2align 4, 0x90
_drawAttr: ## @drawAttr
.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 $0, -8(%rbp)
cmpl $0, _shadow_active(%rip)
jne LBB6_2
## %bb.1:
movq _screen_default@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
jmp LBB6_3
LBB6_2:
movq _screen_shadow@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
LBB6_3:
movq -32(%rbp), %rax
movl -4(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %al
movb %al, -40(%rbp)
movl -4(%rbp), %eax
andl $768, %eax ## imm = 0x300
shll $3, %eax
movl -8(%rbp), %ecx
shll $8, %ecx
orl %ecx, %eax
movl -4(%rbp), %ecx
andl $255, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %ecx
movq _pVideo@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _pVideo@GOTPCREL(%rip), %rax
movw (%rax), %ax
shrw $11, %ax
andw $3, %ax
## kill: def $al killed $al killed $ax
movzbl %al, %eax
shll $3, %eax
movq _pVideo@GOTPCREL(%rip), %rcx
movw (%rcx), %cx
shrw $5, %cx
andw $7, %cx
## kill: def $cl killed $cl killed $cx
movzbl %cl, %ecx
orl %ecx, %eax
movl %eax, -20(%rbp)
movl -20(%rbp), %eax
shll $3, %eax
movl %eax, -16(%rbp)
movl $0, -8(%rbp)
LBB6_4: ## =>This Inner Loop Header: Depth=1
cmpl $8, -8(%rbp)
jge LBB6_31
## %bb.5: ## in Loop: Header=BB6_4 Depth=1
movl -4(%rbp), %eax
andl $768, %eax ## imm = 0x300
shll $3, %eax
movl -8(%rbp), %ecx
shll $8, %ecx
orl %ecx, %eax
movl -4(%rbp), %ecx
andl $255, %ecx
orl %ecx, %eax
movl %eax, -24(%rbp)
movq _pVideo@GOTPCREL(%rip), %rax
movw (%rax), %ax
andw $31, %ax
## kill: def $al killed $al killed $ax
movzbl %al, %eax
shll $3, %eax
movl %eax, -12(%rbp)
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $128, %eax
cmpl $0, %eax
jle LBB6_7
## %bb.6: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_8
LBB6_7: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_8: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $64, %eax
cmpl $0, %eax
jle LBB6_10
## %bb.9: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_11
LBB6_10: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_11: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $32, %eax
cmpl $0, %eax
jle LBB6_13
## %bb.12: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_14
LBB6_13: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_14: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $16, %eax
cmpl $0, %eax
jle LBB6_16
## %bb.15: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_17
LBB6_16: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_17: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $8, %eax
cmpl $0, %eax
jle LBB6_19
## %bb.18: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_20
LBB6_19: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_20: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $4, %eax
cmpl $0, %eax
jle LBB6_22
## %bb.21: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_23
LBB6_22: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_23: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $2, %eax
cmpl $0, %eax
jle LBB6_25
## %bb.24: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_26
LBB6_25: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_26: ## in Loop: Header=BB6_4 Depth=1
movq -32(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
andl $1, %eax
cmpl $0, %eax
jle LBB6_28
## %bb.27: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
jmp LBB6_29
LBB6_28: ## in Loop: Header=BB6_4 Depth=1
movl -12(%rbp), %edi
movl %edi, %eax
addl $1, %eax
movl %eax, -12(%rbp)
movl -16(%rbp), %esi
addl -8(%rbp), %esi
movb -40(%rbp), %al
shrb $3, %al
andb $7, %al
movzbl %al, %edx
callq _put_pixel
LBB6_29: ## in Loop: Header=BB6_4 Depth=1
jmp LBB6_30
LBB6_30: ## in Loop: Header=BB6_4 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB6_4
LBB6_31:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _initVideo ## -- Begin function initVideo
.p2align 4, 0x90
_initVideo: ## @initVideo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1074003968, %edi ## imm = 0x40040000
movl $192, %esi
callq _PUT32
movl $1074003972, %edi ## imm = 0x40040004
xorl %esi, %esi
callq _PUT32
movl $1074003976, %edi ## imm = 0x40040008
movl $294915, %esi ## imm = 0x48003
callq _PUT32
movl $1074003980, %edi ## imm = 0x4004000C
movl $8, %esi
callq _PUT32
movl $1074003984, %edi ## imm = 0x40040010
movl $8, %esi
callq _PUT32
movl $1074003988, %edi ## imm = 0x40040014
movl $320, %esi ## imm = 0x140
callq _PUT32
movl $1074003992, %edi ## imm = 0x40040018
movl $240, %esi
callq _PUT32
movl $1074003996, %edi ## imm = 0x4004001C
movl $294916, %esi ## imm = 0x48004
callq _PUT32
movl $1074004000, %edi ## imm = 0x40040020
movl $8, %esi
callq _PUT32
movl $1074004004, %edi ## imm = 0x40040024
movl $8, %esi
callq _PUT32
movl $1074004008, %edi ## imm = 0x40040028
movl $320, %esi ## imm = 0x140
callq _PUT32
movl $1074004012, %edi ## imm = 0x4004002C
movl $240, %esi
callq _PUT32
movl $1074004016, %edi ## imm = 0x40040030
movl $294917, %esi ## imm = 0x48005
callq _PUT32
movl $1074004020, %edi ## imm = 0x40040034
movl $4, %esi
callq _PUT32
movl $1074004024, %edi ## imm = 0x40040038
movl $4, %esi
callq _PUT32
movl $1074004028, %edi ## imm = 0x4004003C
movl $8, %esi
callq _PUT32
movl $1074004032, %edi ## imm = 0x40040040
movl $294921, %esi ## imm = 0x48009
callq _PUT32
movl $1074004036, %edi ## imm = 0x40040044
movl $8, %esi
callq _PUT32
movl $1074004040, %edi ## imm = 0x40040048
movl $8, %esi
callq _PUT32
movl $1074004044, %edi ## imm = 0x4004004C
xorl %esi, %esi
callq _PUT32
movl $1074004048, %edi ## imm = 0x40040050
xorl %esi, %esi
callq _PUT32
movl $1074004052, %edi ## imm = 0x40040054
movl $294923, %esi ## imm = 0x4800B
callq _PUT32
movl $1074004056, %edi ## imm = 0x40040058
movl $72, %esi
callq _PUT32
movl $1074004060, %edi ## imm = 0x4004005C
movl $72, %esi
callq _PUT32
movl $1074004064, %edi ## imm = 0x40040060
xorl %esi, %esi
callq _PUT32
movl $1074004068, %edi ## imm = 0x40040064
movl $16, %esi
callq _PUT32
movl $1074004072, %edi ## imm = 0x40040068
movl $4278190080, %esi ## imm = 0xFF000000
callq _PUT32
movl $1074004076, %edi ## imm = 0x4004006C
movl $4288675840, %esi ## imm = 0xFFA00000
callq _PUT32
movl $1074004080, %edi ## imm = 0x40040070
movl $4278190240, %esi ## imm = 0xFF0000A0
callq _PUT32
movl $1074004084, %edi ## imm = 0x40040074
movl $4288676000, %esi ## imm = 0xFFA000A0
callq _PUT32
movl $1074004088, %edi ## imm = 0x40040078
movl $4278231040, %esi ## imm = 0xFF00A000
callq _PUT32
movl $1074004092, %edi ## imm = 0x4004007C
movl $4288716800, %esi ## imm = 0xFFA0A000
callq _PUT32
movl $1074004096, %edi ## imm = 0x40040080
movl $4278231200, %esi ## imm = 0xFF00A0A0
callq _PUT32
movl $1074004100, %edi ## imm = 0x40040084
movl $4288716960, %esi ## imm = 0xFFA0A0A0
callq _PUT32
movl $1074004104, %edi ## imm = 0x40040088
movl $4278190080, %esi ## imm = 0xFF000000
callq _PUT32
movl $1074004108, %edi ## imm = 0x4004008C
movl $4294901760, %esi ## imm = 0xFFFF0000
callq _PUT32
movl $1074004112, %edi ## imm = 0x40040090
movl $4278190335, %esi ## imm = 0xFF0000FF
callq _PUT32
movl $1074004116, %edi ## imm = 0x40040094
movl $4294902015, %esi ## imm = 0xFFFF00FF
callq _PUT32
movl $1074004120, %edi ## imm = 0x40040098
movl $4278255360, %esi ## imm = 0xFF00FF00
callq _PUT32
movl $1074004124, %edi ## imm = 0x4004009C
movl $4294967040, %esi ## imm = 0xFFFFFF00
callq _PUT32
movl $1074004128, %edi ## imm = 0x400400A0
movl $4278255615, %esi ## imm = 0xFF00FFFF
callq _PUT32
movl $1074004132, %edi ## imm = 0x400400A4
movl $4294967295, %esi ## imm = 0xFFFFFFFF
callq _PUT32
movl $1074004136, %edi ## imm = 0x400400A8
movl $262145, %esi ## imm = 0x40001
callq _PUT32
movl $1074004140, %edi ## imm = 0x400400AC
movl $8, %esi
callq _PUT32
movl $1074004144, %edi ## imm = 0x400400B0
movl $8, %esi
callq _PUT32
movl $1074004148, %edi ## imm = 0x400400B4
xorl %esi, %esi
callq _PUT32
movl $1074004152, %edi ## imm = 0x400400B8
xorl %esi, %esi
callq _PUT32
movl $1074004156, %edi ## imm = 0x400400BC
xorl %esi, %esi
callq _PUT32
movl $1074003968, %edi ## imm = 0x40040000
movl $8, %esi
callq _MailboxWrite
movl $8, %edi
callq _MailboxRead
movl $1074004148, %edi ## imm = 0x400400B4
callq _GET32
movl %eax, %ecx
movq _frameBuffer@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _ptDraw@GOTPCREL(%rip), %rax
leaq _draw_ULA(%rip), %rcx
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _initVideoULAplus ## -- Begin function initVideoULAplus
.p2align 4, 0x90
_initVideoULAplus: ## @initVideoULAplus
.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 $1074003968, -24(%rbp) ## imm = 0x40040000
movl $1074003968, -28(%rbp) ## imm = 0x40040000
movq L___const.initVideoULAplus.color_3_to_8(%rip), %rax
movq %rax, -16(%rbp)
movl -24(%rbp), %edi
movl $1160, %esi ## imm = 0x488
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $294915, %esi ## imm = 0x48003
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $320, %esi ## imm = 0x140
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $240, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $294916, %esi ## imm = 0x48004
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $320, %esi ## imm = 0x140
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $240, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $294917, %esi ## imm = 0x48005
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $4, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $4, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $294921, %esi ## imm = 0x48009
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $294923, %esi ## imm = 0x4800B
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $1032, %esi ## imm = 0x408
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $1032, %esi ## imm = 0x408
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $256, %esi ## imm = 0x100
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl $0, -20(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
cmpl $256, -20(%rbp) ## imm = 0x100
jae LBB8_6
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movl -20(%rbp), %eax
shrl $2, %eax
andl $7, %eax
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp)
movl -20(%rbp), %eax
shrl $5, %eax
andl $7, %eax
## kill: def $al killed $al killed $eax
movb %al, -34(%rbp)
movl -20(%rbp), %eax
andl $3, %eax
## kill: def $al killed $al killed $eax
movb %al, -35(%rbp)
movzbl -35(%rbp), %eax
shll $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -35(%rbp)
cmpb $0, -35(%rbp)
je LBB8_4
## %bb.3: ## in Loop: Header=BB8_1 Depth=1
movzbl -35(%rbp), %eax
orl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -35(%rbp)
LBB8_4: ## in Loop: Header=BB8_1 Depth=1
movzbl -33(%rbp), %eax
## kill: def $rax killed $eax
movb -16(%rbp,%rax), %al
movb %al, -36(%rbp)
movzbl -34(%rbp), %eax
## kill: def $rax killed $eax
movb -16(%rbp,%rax), %al
movb %al, -37(%rbp)
movzbl -35(%rbp), %eax
## kill: def $rax killed $eax
movb -16(%rbp,%rax), %al
movb %al, -38(%rbp)
movl -24(%rbp), %edi
movzbl -38(%rbp), %esi
shll $16, %esi
orl $4278190080, %esi ## imm = 0xFF000000
movzbl -37(%rbp), %eax
shll $8, %eax
orl %eax, %esi
movzbl -36(%rbp), %eax
orl %eax, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
## %bb.5: ## in Loop: Header=BB8_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB8_1
LBB8_6:
movl -24(%rbp), %edi
movl $262145, %esi ## imm = 0x40001
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
movl $8, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -24(%rbp), %eax
addl $4, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %edi
xorl %esi, %esi
callq _PUT32
movl -28(%rbp), %edi
movl $8, %esi
callq _MailboxWrite
movl $8, %edi
callq _MailboxRead
movl -32(%rbp), %edi
callq _GET32
movl %eax, %ecx
movq _frameBuffer@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _ptDraw@GOTPCREL(%rip), %rax
leaq _draw_ULAplus(%rip), %rcx
movq %rcx, (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_8
## %bb.7:
addq $48, %rsp
popq %rbp
retq
LBB8_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _c_fiq_handler ## -- Begin function c_fiq_handler
.p2align 4, 0x90
_c_fiq_handler: ## @c_fiq_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ptr_GPLEV0(%rip), %rax
movl (%rax), %eax
movl %eax, %ecx
movq _pGPIO@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %eax
andl $33554432, %eax ## imm = 0x2000000
cmpl $0, %eax
je LBB9_5
## %bb.1:
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %ecx
orl $33554432, %ecx ## imm = 0x2000000
movl %ecx, (%rax)
movzbl _ulaPlus_enable(%rip), %eax
cmpl $1, %eax
je LBB9_3
## %bb.2:
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $255, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
andl $7, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, _border_color(%rip)
jmp LBB9_4
LBB9_3:
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $255, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
andl $7, %eax
addl $8, %eax
movslq %eax, %rcx
leaq _ulaplus_palette_table(%rip), %rax
movzbl (%rax,%rcx), %eax
## kill: def $ax killed $ax killed $eax
movw %ax, _border_color(%rip)
LBB9_4:
jmp LBB9_30
LBB9_5:
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %eax
andl $16777216, %eax ## imm = 0x1000000
cmpl $0, %eax
je LBB9_11
## %bb.6:
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %ecx
orl $16777216, %ecx ## imm = 0x1000000
movl %ecx, (%rax)
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
shrl $22, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
movl %eax, _shadow_active(%rip)
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
shrl $21, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
cmpl $0, %eax
je LBB9_9
## %bb.7:
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
shrl $23, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movzbl %al, %eax
cmpl $0, %eax
jne LBB9_9
## %bb.8:
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $255, %eax
movb %al, %dl
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
shrl $8, %eax
andl $8191, %eax ## imm = 0x1FFF
movl %eax, %eax
movl %eax, %ecx
movq _screen_shadow@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
jmp LBB9_10
LBB9_9:
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $255, %eax
movb %al, %dl
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
shrl $8, %eax
andl $8191, %eax ## imm = 0x1FFF
movl %eax, %eax
movl %eax, %ecx
movq _screen_default@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
LBB9_10:
jmp LBB9_29
LBB9_11:
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %eax
andl $67108864, %eax ## imm = 0x4000000
cmpl $0, %eax
je LBB9_13
## %bb.12:
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %ecx
orl $67108864, %ecx ## imm = 0x4000000
movl %ecx, (%rax)
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $255, %eax
movb %al, %cl
movq _ULAplus_register@GOTPCREL(%rip), %rax
movb %cl, (%rax)
jmp LBB9_28
LBB9_13:
movq _ptr_GPEDS0(%rip), %rax
movl (%rax), %ecx
orl $134217728, %ecx ## imm = 0x8000000
movl %ecx, (%rax)
movq _pGPIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl $255, %eax
movb %al, %cl
movq _ulaplus_data@GOTPCREL(%rip), %rax
movb %cl, (%rax)
movq _ULAplus_register@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $6, %al
movzbl %al, %eax
cmpl $1, %eax
jne LBB9_24
## %bb.14:
movq _ulaplus_data@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
cmpl $1, %eax
jne LBB9_18
## %bb.15:
movzbl _ulaPlus_enable(%rip), %eax
cmpl $1, %eax
je LBB9_17
## %bb.16:
callq _initVideoULAplus
movb $1, _ulaPlus_enable(%rip)
LBB9_17:
jmp LBB9_23
LBB9_18:
movq _ulaplus_data@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
cmpl $0, %eax
jne LBB9_22
## %bb.19:
movzbl _ulaPlus_enable(%rip), %eax
cmpl $1, %eax
jne LBB9_21
## %bb.20:
callq _initVideo
movb $0, _ulaPlus_enable(%rip)
LBB9_21:
jmp LBB9_22
LBB9_22:
jmp LBB9_23
LBB9_23:
jmp LBB9_27
LBB9_24:
movq _ULAplus_register@GOTPCREL(%rip), %rax
movb (%rax), %al
shrb $6, %al
movzbl %al, %eax
cmpl $1, %eax
je LBB9_26
## %bb.25:
movq _ulaplus_data@GOTPCREL(%rip), %rax
movb (%rax), %dl
movq _ULAplus_register@GOTPCREL(%rip), %rax
movb (%rax), %al
andb $63, %al
movzbl %al, %eax
movl %eax, %ecx
leaq _ulaplus_palette_table(%rip), %rax
movb %dl, (%rax,%rcx)
LBB9_26:
jmp LBB9_27
LBB9_27:
jmp LBB9_28
LBB9_28:
jmp LBB9_29
LBB9_29:
jmp LBB9_30
LBB9_30:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _c_irq_handler ## -- Begin function c_irq_handler
.p2align 4, 0x90
_c_irq_handler: ## @c_irq_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 $536917004, %edi ## imm = 0x2000B40C
xorl %esi, %esi
callq _PUT32
movb _flash_counter(%rip), %al
addb $1, %al
movb %al, _flash_counter(%rip)
movzbl _flash_counter(%rip), %eax
movl $16, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB10_2
## %bb.1:
movb _flash_state(%rip), %al
addb $1, %al
movb %al, _flash_state(%rip)
LBB10_2:
movq _frameBuffer@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $7712, %ecx ## imm = 0x1E20
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $0, _line_num(%rip)
LBB10_3: ## =>This Loop Header: Depth=1
## Child Loop BB10_5 Depth 2
## Child Loop BB10_9 Depth 2
cmpl $192, _line_num(%rip)
jae LBB10_14
## %bb.4: ## in Loop: Header=BB10_3 Depth=1
movq _ptDraw@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl _line_num(%rip), %edi
callq *%rax
movw _border_color(%rip), %ax
## kill: def $al killed $al killed $ax
movb %al, -9(%rbp)
movl $0, -4(%rbp)
LBB10_5: ## Parent Loop BB10_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $32, -4(%rbp)
jge LBB10_8
## %bb.6: ## in Loop: Header=BB10_5 Depth=2
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %ecx
addl $1, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movzbl -9(%rbp), %esi
callq _PUT8
## %bb.7: ## in Loop: Header=BB10_5 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_5
LBB10_8: ## in Loop: Header=BB10_3 Depth=1
movl $0, -4(%rbp)
LBB10_9: ## Parent Loop BB10_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $32, -4(%rbp)
jge LBB10_12
## %bb.10: ## in Loop: Header=BB10_9 Depth=2
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %ecx
addl $1, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movzbl -9(%rbp), %esi
callq _PUT8
## %bb.11: ## in Loop: Header=BB10_9 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_9
LBB10_12: ## in Loop: Header=BB10_3 Depth=1
jmp LBB10_13
LBB10_13: ## in Loop: Header=BB10_3 Depth=1
movl _line_num(%rip), %eax
addl $1, %eax
movl %eax, _line_num(%rip)
jmp LBB10_3
LBB10_14:
movl $0, -8(%rbp)
LBB10_15: ## =>This Loop Header: Depth=1
## Child Loop BB10_17 Depth 2
cmpl $24, -8(%rbp)
jge LBB10_22
## %bb.16: ## in Loop: Header=BB10_15 Depth=1
movl $0, -4(%rbp)
LBB10_17: ## Parent Loop BB10_15 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $320, -4(%rbp) ## imm = 0x140
jge LBB10_20
## %bb.18: ## in Loop: Header=BB10_17 Depth=2
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %ecx
addl $1, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movzwl _border_color(%rip), %esi
callq _PUT8
## %bb.19: ## in Loop: Header=BB10_17 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_17
LBB10_20: ## in Loop: Header=BB10_15 Depth=1
jmp LBB10_21
LBB10_21: ## in Loop: Header=BB10_15 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB10_15
LBB10_22:
movq _frameBuffer@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $216, -8(%rbp)
LBB10_23: ## =>This Loop Header: Depth=1
## Child Loop BB10_25 Depth 2
cmpl $240, -8(%rbp)
jge LBB10_30
## %bb.24: ## in Loop: Header=BB10_23 Depth=1
movl $0, -4(%rbp)
LBB10_25: ## Parent Loop BB10_23 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $320, -4(%rbp) ## imm = 0x140
jge LBB10_28
## %bb.26: ## in Loop: Header=BB10_25 Depth=2
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %ecx
addl $1, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movzwl _border_color(%rip), %esi
callq _PUT8
## %bb.27: ## in Loop: Header=BB10_25 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_25
LBB10_28: ## in Loop: Header=BB10_23 Depth=1
jmp LBB10_29
LBB10_29: ## in Loop: Header=BB10_23 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB10_23
LBB10_30:
movl $0, -4(%rbp)
LBB10_31: ## =>This Inner Loop Header: Depth=1
cmpl $32, -4(%rbp)
jge LBB10_34
## %bb.32: ## in Loop: Header=BB10_31 Depth=1
movq _fb_pos@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %ecx
addl $1, %ecx
movq _fb_pos@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movzwl _border_color(%rip), %esi
callq _PUT8
## %bb.33: ## in Loop: Header=BB10_31 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_31
LBB10_34:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _notmain ## -- Begin function notmain
.p2align 4, 0x90
_notmain: ## @notmain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -8(%rbp)
movq _ULAplus_register@GOTPCREL(%rip), %rax
movb $0, (%rax)
callq _initVideo
movl $538968212, %edi ## imm = 0x20200094
movl $2, %esi
callq _PUT32
movl $538968064, %edi ## imm = 0x20200000
xorl %esi, %esi
callq _PUT32
movl $538968068, %edi ## imm = 0x20200004
xorl %esi, %esi
callq _PUT32
movl $538968072, %edi ## imm = 0x20200008
xorl %esi, %esi
callq _PUT32
movl $538968076, %edi ## imm = 0x2020000C
callq _GET32
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
andl $-64, %eax
movl %eax, -4(%rbp)
movl -4(%rbp), %esi
movl $538968076, %edi ## imm = 0x2020000C
callq _PUT32
movl $538968216, %edi ## imm = 0x20200098
movl $251658240, %esi ## imm = 0xF000000
callq _PUT32
movl $538968200, %edi ## imm = 0x20200088
movl $251658240, %esi ## imm = 0xF000000
callq _PUT32
movl $538968128, %edi ## imm = 0x20200040
callq _GET32
movl %eax, -4(%rbp)
movl -4(%rbp), %eax
orl $251658240, %eax ## imm = 0xF000000
movl %eax, -4(%rbp)
movl -4(%rbp), %esi
movl $538968128, %edi ## imm = 0x20200040
callq _PUT32
movl $536916492, %edi ## imm = 0x2000B20C
movl $180, %esi
callq _PUT32
callq _enable_fiq
movl $536917000, %edi ## imm = 0x2000B408
movl $4063232, %esi ## imm = 0x3E0000
callq _PUT32
movl $536916992, %edi ## imm = 0x2000B400
movl $19967, %esi ## imm = 0x4DFF
callq _PUT32
movl $536917016, %edi ## imm = 0x2000B418
movl $19967, %esi ## imm = 0x4DFF
callq _PUT32
movl $536917020, %edi ## imm = 0x2000B41C
movl $249, %esi
callq _PUT32
movl $536917004, %edi ## imm = 0x2000B40C
xorl %esi, %esi
callq _PUT32
movl $536916504, %edi ## imm = 0x2000B218
movl $1, %esi
callq _PUT32
movl $0, _icount(%rip)
callq _enable_irq
movl $536917000, %edi ## imm = 0x2000B408
movl $4063394, %esi ## imm = 0x3E00A2
callq _PUT32
movl $536917004, %edi ## imm = 0x2000B40C
xorl %esi, %esi
callq _PUT32
movl $6144, -8(%rbp) ## imm = 0x1800
LBB11_1: ## =>This Inner Loop Header: Depth=1
cmpl $6912, -8(%rbp) ## imm = 0x1B00
jge LBB11_4
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movl -8(%rbp), %edi
callq _drawAttr
## %bb.3: ## in Loop: Header=BB11_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB11_1
LBB11_4:
jmp LBB11_5
LBB11_5: ## =>This Inner Loop Header: Depth=1
jmp LBB11_5
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _ptr_GPEDS0 ## @ptr_GPEDS0
.p2align 3
_ptr_GPEDS0:
.quad 538968128
.globl _ptr_GPLEV0 ## @ptr_GPLEV0
.p2align 3
_ptr_GPLEV0:
.quad 538968116
.globl _line_num ## @line_num
.zerofill __DATA,__common,_line_num,4,2
.globl _shadow_active ## @shadow_active
.zerofill __DATA,__common,_shadow_active,4,2
.globl _flash_counter ## @flash_counter
.zerofill __DATA,__common,_flash_counter,1,0
.globl _flash_state ## @flash_state
.zerofill __DATA,__common,_flash_state,1,0
.globl _ulaPlus_enable ## @ulaPlus_enable
.zerofill __DATA,__common,_ulaPlus_enable,1,0
.globl _ulaplus_palette_table ## @ulaplus_palette_table
.p2align 4
_ulaplus_palette_table:
.asciz "\000\002\030\033\300\303\330\333\000\002\030\033\300\303\330\333\000\003\034\037\340\343\374\377\000\003\034\037\340\343\374\377\333\330\303\300\033\030\002\000\333\330\303\300\033\030\002\000\377\374\343\340\037\034\003\000\377\374\343\340\037\034\003"
.globl _border_color ## @border_color
.zerofill __DATA,__common,_border_color,2,1
.comm _frameBuffer,4,2 ## @frameBuffer
.comm _pVideo,4,2 ## @pVideo
.comm _screen_default,16384,4 ## @screen_default
.comm _screen_shadow,16384,4 ## @screen_shadow
.comm _pAttr,1,0 ## @pAttr
.comm _fb_pos,4,2 ## @fb_pos
.comm _ptDraw,8,3 ## @ptDraw
.section __TEXT,__literal8,8byte_literals
L___const.initVideoULAplus.color_3_to_8: ## @__const.initVideoULAplus.color_3_to_8
.ascii "\000$Im\222\266\333\377"
.globl _cor ## @cor
.zerofill __DATA,__common,_cor,1,0
.comm _pGPIO,8,3 ## @pGPIO
.comm _ULAplus_register,1,0 ## @ULAplus_register
.comm _ulaplus_data,1,0 ## @ulaplus_data
.globl _icount ## @icount
.zerofill __DATA,__common,_icount,4,2
.globl _frames ## @frames
.zerofill __DATA,__common,_frames,4,2
.comm _buffer_video,153600,4 ## @buffer_video
.subsections_via_symbols
|
the_stack_data/93889029.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 Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [sp, #8]
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
ldrsb w8, [x9, x8]
add w8, w8, #1
ldrsw x10, [sp, #8]
strb w8, [x9, x10]
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:
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _a,100,0 ; @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 Inner Loop Header: Depth=1
cmpl $100, -8(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -8(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
addl $1, %eax
movb %al, %dl
movslq -8(%rbp), %rcx
movq _a@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,100,4 ## @a
.subsections_via_symbols
|
the_stack_data/37638727.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _judge ; -- Begin function judge
.p2align 2
_judge: ; @judge
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #8]
ldr w9, [sp, #4]
add w9, w8, w9
adrp x8, _a2@GOTPAGE
ldr x8, [x8, _a2@GOTPAGEOFF]
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #12]
b LBB0_12
LBB0_2:
ldrsw x9, [sp, #4]
adrp x8, _a1@GOTPAGE
ldr x8, [x8, _a1@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
str w8, [sp, #12]
b LBB0_12
LBB0_4:
ldr w8, [sp, #8]
ldr w9, [sp, #4]
subs w8, w8, w9
str w8, [sp]
ldr w8, [sp]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldr w9, [sp]
mov w8, #0
subs w9, w8, w9
adrp x8, _a3@GOTPAGE
ldr x8, [x8, _a3@GOTPAGEOFF]
ldr w8, [x8, w9, sxtw #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #1
str w8, [sp, #12]
b LBB0_12
LBB0_7:
b LBB0_11
LBB0_8:
ldrsw x9, [sp]
adrp x8, _a4@GOTPAGE
ldr x8, [x8, _a4@GOTPAGEOFF]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
mov w8, #1
str w8, [sp, #12]
b LBB0_12
LBB0_10:
b LBB0_11
LBB0_11:
str wzr, [sp, #12]
b LBB0_12
LBB0_12:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _set ; -- Begin function set
.p2align 2
_set: ; @set
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
ldr w8, [sp, #16]
ldr w9, [sp, #24]
ldr w10, [sp, #20]
add w10, w9, w10
adrp x9, _a2@GOTPAGE
ldr x9, [x9, _a2@GOTPAGEOFF]
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #16]
ldrsw x10, [sp, #20]
adrp x9, _a1@GOTPAGE
ldr x9, [x9, _a1@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w8, [sp, #16]
ldr w10, [sp, #12]
mov w9, #0
subs w10, w9, w10
adrp x9, _a3@GOTPAGE
ldr x9, [x9, _a3@GOTPAGEOFF]
str w8, [x9, w10, sxtw #2]
b LBB1_3
LBB1_2:
ldr w8, [sp, #16]
ldrsw x10, [sp, #12]
adrp x9, _a4@GOTPAGE
ldr x9, [x9, _a4@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB1_3
LBB1_3:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _n_queen ; -- Begin function n_queen
.p2align 2
_n_queen: ; @n_queen
.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 x9, _n@GOTPAGE
ldr x9, [x9, _n@GOTPAGEOFF]
str x9, [sp, #8] ; 8-byte Folded Spill
adrp x8, _k@GOTPAGE
ldr x8, [x8, _k@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur w0, [x29, #-8]
stur w1, [x29, #-12]
ldur w8, [x29, #-8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_1
LBB2_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ldr w8, [x8]
subs w8, w8, #3
cset w8, gt
tbnz w8, #0, LBB2_7
b LBB2_2
LBB2_2:
mov w8, #1
stur w8, [x29, #-16]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldursw x9, [x29, #-16]
adrp x8, _temp@GOTPAGE
ldr x8, [x8, _temp@GOTPAGEOFF]
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 LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB2_3
LBB2_6:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_7
LBB2_7:
stur wzr, [x29, #-4]
b LBB2_15
LBB2_8:
mov w8, #1
stur w8, [x29, #-20]
b LBB2_9
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-20]
ldr w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_14
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
ldur w8, [x29, #-8]
add w0, w8, #1
ldur w1, [x29, #-20]
bl _judge
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
ldur w8, [x29, #-8]
mov w2, #1
add w0, w8, #1
ldur w1, [x29, #-20]
bl _set
ldur w8, [x29, #-20]
ldur w9, [x29, #-8]
add w10, w9, #1
adrp x9, _temp@GOTPAGE
ldr x9, [x9, _temp@GOTPAGEOFF]
str w8, [x9, w10, sxtw #2]
ldur w8, [x29, #-8]
add w0, w8, #1
ldur w1, [x29, #-20]
bl _n_queen
ldur w8, [x29, #-8]
add w0, w8, #1
ldur w1, [x29, #-20]
mov w2, #0
bl _set
b LBB2_12
LBB2_12: ; in Loop: Header=BB2_9 Depth=1
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_9 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB2_9
LBB2_14:
b LBB2_15
LBB2_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
adrp x8, _n@GOTPAGE
ldr x8, [x8, _n@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
ldur w1, [x29, #-8] ; 4-byte Folded Reload
mov x0, x1
bl _n_queen
ldr x0, [sp, #16] ; 8-byte Folded Reload
adrp x8, _k@GOTPAGE
ldr x8, [x8, _k@GOTPAGEOFF]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _a2,112,2 ; @a2
.comm _a1,60,2 ; @a1
.comm _a3,60,2 ; @a3
.comm _a4,60,2 ; @a4
.comm _n,4,2 ; @n
.comm _k,4,2 ; @k
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.comm _temp,56,2 ; @temp
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _judge ## -- Begin function judge
.p2align 4, 0x90
_judge: ## @judge
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movslq %eax, %rcx
movq _a2@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_12
LBB0_2:
movslq -12(%rbp), %rcx
movq _a1@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_12
LBB0_4:
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -16(%rbp)
cmpl $0, -16(%rbp)
jge LBB0_8
## %bb.5:
xorl %eax, %eax
subl -16(%rbp), %eax
movslq %eax, %rcx
movq _a3@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_7
## %bb.6:
movl $1, -4(%rbp)
jmp LBB0_12
LBB0_7:
jmp LBB0_11
LBB0_8:
movslq -16(%rbp), %rcx
movq _a4@GOTPCREL(%rip), %rax
cmpl $0, (%rax,%rcx,4)
je LBB0_10
## %bb.9:
movl $1, -4(%rbp)
jmp LBB0_12
LBB0_10:
jmp LBB0_11
LBB0_11:
movl $0, -4(%rbp)
LBB0_12:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set ## -- Begin function set
.p2align 4, 0x90
_set: ## @set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -16(%rbp), %edx
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movslq %eax, %rcx
movq _a2@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -16(%rbp), %edx
movslq -12(%rbp), %rcx
movq _a1@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jge LBB1_2
## %bb.1:
movl -16(%rbp), %edx
xorl %eax, %eax
subl -20(%rbp), %eax
movslq %eax, %rcx
movq _a3@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
jmp LBB1_3
LBB1_2:
movl -16(%rbp), %edx
movslq -20(%rbp), %rcx
movq _a4@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
LBB1_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _n_queen ## -- Begin function n_queen
.p2align 4, 0x90
_n_queen: ## @n_queen
.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)
movl %esi, -12(%rbp)
movl -8(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB2_8
## %bb.1:
movq _k@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _k@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _k@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jg LBB2_7
## %bb.2:
movl $1, -16(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movslq -16(%rbp), %rcx
movq _temp@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_3
LBB2_6:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB2_7:
movl $0, -4(%rbp)
jmp LBB2_15
LBB2_8:
movl $1, -20(%rbp)
LBB2_9: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB2_14
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movl -8(%rbp), %edi
addl $1, %edi
movl -20(%rbp), %esi
callq _judge
cmpl $0, %eax
jne LBB2_12
## %bb.11: ## in Loop: Header=BB2_9 Depth=1
movl -8(%rbp), %edi
addl $1, %edi
movl -20(%rbp), %esi
movl $1, %edx
callq _set
movl -20(%rbp), %edx
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
movq _temp@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -8(%rbp), %edi
addl $1, %edi
movl -20(%rbp), %esi
callq _n_queen
movl -8(%rbp), %edi
addl $1, %edi
movl -20(%rbp), %esi
xorl %edx, %edx
callq _set
LBB2_12: ## in Loop: Header=BB2_9 Depth=1
jmp LBB2_13
LBB2_13: ## in Loop: Header=BB2_9 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_9
LBB2_14:
jmp LBB2_15
LBB2_15:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str.2(%rip), %rdi
movq _n@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
xorl %esi, %esi
movl %esi, %edi
callq _n_queen
movq _k@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a2,112,4 ## @a2
.comm _a1,60,4 ## @a1
.comm _a3,60,4 ## @a3
.comm _a4,60,4 ## @a4
.comm _n,4,2 ## @n
.comm _k,4,2 ## @k
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
.comm _temp,56,4 ## @temp
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
|
the_stack_data/89199186.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:
adrp x9, _ar@GOTPAGE
ldr x9, [x9, _ar@GOTPAGEOFF]
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
ldrsb w8, [x8]
str w8, [x9]
adrp x8, _b@GOTPAGE
ldr x8, [x8, _b@GOTPAGEOFF]
ldrb w8, [x8]
str w8, [x9, #4]
adrp x8, _c@GOTPAGE
ldr x8, [x8, _c@GOTPAGEOFF]
ldrsh w8, [x8]
str w8, [x9, #8]
adrp x8, _d@GOTPAGE
ldr x8, [x8, _d@GOTPAGEOFF]
ldrh w8, [x8]
str w8, [x9, #12]
adrp x8, _e@GOTPAGE
ldr x8, [x8, _e@GOTPAGEOFF]
ldr w8, [x8]
str w8, [x9, #16]
adrp x8, _f@GOTPAGE
ldr x8, [x8, _f@GOTPAGEOFF]
ldr w8, [x8]
str w8, [x9, #20]
ret
.cfi_endproc
; -- End function
.comm _a,1,0 ; @a
.comm _ar,24,2 ; @ar
.comm _b,1,0 ; @b
.comm _c,2,1 ; @c
.comm _d,2,1 ; @d
.comm _e,4,2 ; @e
.comm _f,4,2 ; @f
.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 _a@GOTPCREL(%rip), %rax
movsbl (%rax), %ecx
movq _ar@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _b@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
movq _ar@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _c@GOTPCREL(%rip), %rax
movswl (%rax), %ecx
movq _ar@GOTPCREL(%rip), %rax
movl %ecx, 8(%rax)
movq _d@GOTPCREL(%rip), %rax
movzwl (%rax), %ecx
movq _ar@GOTPCREL(%rip), %rax
movl %ecx, 12(%rax)
movq _e@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _ar@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _f@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _ar@GOTPCREL(%rip), %rax
movl %ecx, 20(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,1,0 ## @a
.comm _ar,24,4 ## @ar
.comm _b,1,0 ## @b
.comm _c,2,1 ## @c
.comm _d,2,1 ## @d
.comm _e,4,2 ## @e
.comm _f,4,2 ## @f
.subsections_via_symbols
|
the_stack_data/211080187.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, _buf@GOTPAGE
ldr x8, [x8, _buf@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _cnt@GOTPAGE
ldr x8, [x8, _cnt@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _v@GOTPAGE
ldr x8, [x8, _v@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
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
mov w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 2
; Child Loop BB0_14 Depth 2
; Child Loop BB0_16 Depth 3
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_23
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov w1, #0
mov x2, #104
bl _memset
stur wzr, [x29, #-16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x9, [x29, #-16]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldursw x10, [x29, #-16]
ldrsb w9, [x9, x10]
subs w9, w9, #65
add x9, x8, w9, sxtw #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w10, [x8, #88]
str w10, [x9, #8]
ldr w11, [x8, #88]
ldr w10, [x8, #76]
subs w10, w10, w11
str w10, [x8, #76]
ldr w11, [x8, #88]
ldr w10, [x8, #56]
subs w10, w10, w11
str w10, [x8, #56]
str wzr, [x8, #88]
ldr w10, [x8, #92]
str w10, [x9, #24]
ldr w11, [x8, #92]
ldr w10, [x8, #72]
subs w10, w10, w11
str w10, [x8, #72]
ldr w11, [x8, #92]
ldr w10, [x8, #32]
subs w10, w10, w11
str w10, [x8, #32]
str wzr, [x8, #92]
ldr w10, [x8, #100]
str w10, [x9]
ldr w11, [x8, #100]
ldr w10, [x8, #16]
subs w10, w10, w11
str w10, [x8, #16]
ldr w11, [x8, #100]
ldr w10, [x8, #68]
subs w10, w10, w11
str w10, [x8, #68]
ldr w11, [x8, #100]
ldr w10, [x8, #56]
subs w10, w10, w11
str w10, [x8, #56]
str wzr, [x8, #100]
ldr w10, [x8, #80]
str w10, [x9, #16]
ldr w11, [x8, #80]
ldr w10, [x8, #20]
subs w10, w10, w11
str w10, [x8, #20]
ldr w11, [x8, #80]
ldr w10, [x8, #56]
subs w10, w10, w11
str w10, [x8, #56]
ldr w11, [x8, #80]
ldr w10, [x8, #68]
subs w10, w10, w11
str w10, [x8, #68]
str wzr, [x8, #80]
ldr w10, [x8, #20]
str w10, [x9, #20]
ldr w11, [x8, #20]
ldr w10, [x8, #32]
subs w10, w10, w11
str w10, [x8, #32]
ldr w11, [x8, #20]
ldr w10, [x8, #84]
subs w10, w10, w11
str w10, [x8, #84]
ldr w11, [x8, #20]
ldr w10, [x8, #16]
subs w10, w10, w11
str w10, [x8, #16]
str wzr, [x8, #20]
ldr w10, [x8, #84]
str w10, [x9, #28]
ldr w11, [x8, #84]
ldr w10, [x8, #72]
subs w10, w10, w11
str w10, [x8, #72]
ldr w11, [x8, #84]
ldr w10, [x8, #52]
subs w10, w10, w11
str w10, [x8, #52]
ldr w11, [x8, #84]
mov w10, #2
mul w12, w10, w11
ldr w11, [x8, #16]
subs w11, w11, w12
str w11, [x8, #16]
str wzr, [x8, #84]
ldr w11, [x8, #56]
str w11, [x9, #4]
ldr w12, [x8, #56]
ldr w11, [x8, #52]
subs w11, w11, w12
str w11, [x8, #52]
ldr w12, [x8, #56]
ldr w11, [x8, #16]
subs w11, w11, w12
str w11, [x8, #16]
str wzr, [x8, #56]
ldr w11, [x8, #68]
str w11, [x9, #12]
ldr w12, [x8, #68]
ldr w11, [x8, #76]
subs w11, w11, w12
str w11, [x8, #76]
ldr w12, [x8, #68]
ldr w11, [x8, #28]
subs w11, w11, w12
str w11, [x8, #28]
ldr w11, [x8, #68]
mul w12, w10, w11
ldr w11, [x8, #16]
subs w11, w11, w12
str w11, [x8, #16]
str wzr, [x8, #68]
ldr w11, [x8, #24]
str w11, [x9, #32]
ldr w12, [x8, #24]
ldr w11, [x8, #16]
subs w11, w11, w12
str w11, [x8, #16]
ldr w12, [x8, #24]
ldr w11, [x8, #32]
subs w11, w11, w12
str w11, [x8, #32]
ldr w12, [x8, #24]
ldr w11, [x8, #28]
subs w11, w11, w12
str w11, [x8, #28]
ldr w12, [x8, #24]
ldr w11, [x8, #76]
subs w11, w11, w12
str w11, [x8, #76]
str wzr, [x8, #24]
ldr w11, [x8, #32]
str w11, [x9, #36]
ldr w11, [x9, #36]
mul w11, w10, w11
ldr w10, [x8, #52]
subs w10, w10, w11
str w10, [x8, #52]
ldr w10, [x9, #36]
ldr w9, [x8, #16]
subs w9, w9, w10
str w9, [x8, #16]
str wzr, [x8, #32]
stur wzr, [x29, #-20]
b LBB0_7
LBB0_7: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
subs w8, w8, #26
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
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_10
b LBB0_9
LBB0_9:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov w2, #82
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_7
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-24]
b LBB0_14
LBB0_14: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
ldur w8, [x29, #-24]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=2
stur wzr, [x29, #-28]
b LBB0_16
LBB0_16: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_14 Depth=2
; => This Inner Loop Header: Depth=3
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-28]
ldursw x10, [x29, #-24]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=3
ldur w9, [x29, #-24]
; 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_18
LBB0_18: ; in Loop: Header=BB0_16 Depth=3
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_16
LBB0_19: ; in Loop: Header=BB0_14 Depth=2
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_14 Depth=2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_14
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_23:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%s"
.comm _buf,2010,0 ; @buf
.comm _cnt,104,2 ; @cnt
.comm _v,40,2 ; @v
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.2: ; @.str.2
.asciz "122016794.c"
l_.str.3: ; @.str.3
.asciz "cnt[i] == 0"
l_.str.4: ; @.str.4
.asciz "Case #%d: "
l_.str.5: ; @.str.5
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
## Child Loop BB0_14 Depth 2
## Child Loop BB0_16 Depth 3
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_23
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movq _buf@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
movq _cnt@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $104, %edx
callq _memset
movl $0, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq -16(%rbp), %rcx
movq _buf@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -16(%rbp), %rcx
movq _buf@GOTPCREL(%rip), %rax
movsbl (%rax,%rcx), %eax
subl $65, %eax
movslq %eax, %rcx
movq _cnt@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %edx
addl $1, %edx
movq _cnt@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq _cnt@GOTPCREL(%rip), %rax
movl 88(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 8(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 88(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 76(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 76(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 88(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 56(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 56(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 88(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 92(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 24(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 92(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 72(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 72(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 92(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 32(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 32(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 92(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 100(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 100(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 100(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 68(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 68(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 100(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 56(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 56(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 100(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 80(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 80(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 20(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 20(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 80(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 56(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 56(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 80(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 68(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 68(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 80(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 20(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 20(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 20(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 32(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 32(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 20(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 84(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 84(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 20(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 20(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 84(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 28(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 84(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 72(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 72(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 84(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 52(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 52(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 84(%rax), %eax
shll $1, %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 84(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 56(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 56(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 52(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 52(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 56(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 56(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 68(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 12(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 68(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 76(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 76(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 68(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 28(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 28(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 68(%rax), %eax
shll $1, %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 68(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 24(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 32(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 24(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 24(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 32(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 32(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 24(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 28(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 28(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 24(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 76(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 76(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 24(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl 32(%rax), %ecx
movq _v@GOTPCREL(%rip), %rax
movl %ecx, 36(%rax)
movq _v@GOTPCREL(%rip), %rax
movl 36(%rax), %eax
shll $1, %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 52(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 52(%rax)
movq _v@GOTPCREL(%rip), %rax
movl 36(%rax), %eax
movq _cnt@GOTPCREL(%rip), %rcx
movl 16(%rcx), %ecx
subl %eax, %ecx
movq _cnt@GOTPCREL(%rip), %rax
movl %ecx, 16(%rax)
movq _cnt@GOTPCREL(%rip), %rax
movl $0, 32(%rax)
movl $0, -20(%rbp)
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $26, -20(%rbp)
jge LBB0_13
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movslq -20(%rbp), %rcx
movq _cnt@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_10
## %bb.9:
leaq L___func__.main(%rip), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $82, %edx
callq ___assert_rtn
LBB0_10: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
LBB0_14: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_16 Depth 3
cmpl $10, -24(%rbp)
jge LBB0_21
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movl $0, -28(%rbp)
LBB0_16: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Inner Loop Header: Depth=3
movl -28(%rbp), %eax
movslq -24(%rbp), %rdx
movq _v@GOTPCREL(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_19
## %bb.17: ## in Loop: Header=BB0_16 Depth=3
movl -24(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.18: ## in Loop: Header=BB0_16 Depth=3
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_16
LBB0_19: ## in Loop: Header=BB0_14 Depth=2
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_14 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_14
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.22: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_23:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%s"
.comm _buf,2010,4 ## @buf
.comm _cnt,104,4 ## @cnt
.comm _v,40,4 ## @v
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.2: ## @.str.2
.asciz "122016794.c"
L_.str.3: ## @.str.3
.asciz "cnt[i] == 0"
L_.str.4: ## @.str.4
.asciz "Case #%d: "
L_.str.5: ## @.str.5
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/122016794.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
mov w1, #0
str wzr, [sp, #20]
add x0, sp, #24
str x0, [sp] ; 8-byte Folded Spill
mov x2, #208
bl _memset
ldr x1, [sp] ; 8-byte Folded Reload
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _load
mov w0, #104
bl _getIndex
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [x8, w0, sxtw #3]
bl _print
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.globl _load ; -- Begin function load
.p2align 2
_load: ; @load
.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]
ldr x8, [sp, #24]
str x8, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
ldrsb w0, [x8]
bl _getIndex
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [x8, w0, sxtw #3]
ldur x1, [x29, #-16]
bl _insert
str x0, [sp, #16] ; 8-byte Folded Spill
ldr x8, [sp, #24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
ldrsb w0, [x8]
bl _getIndex
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov x9, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
str x0, [x8, w9, sxtw #3]
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x8, [x8, #48]
str x8, [sp, #8]
b LBB2_1
LBB2_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _getIndex ; -- Begin function getIndex
.p2align 2
_getIndex: ; @getIndex
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #97
str w8, [sp, #8]
ldr w8, [sp, #8]
mov w10, #26
sdiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _insert ; -- Begin function insert
.p2align 2
_insert: ; @insert
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
mov x0, #56
bl _malloc
str x0, [sp, #8]
ldr x0, [sp, #8]
ldr x1, [sp, #24]
mov x2, #45
bl ___strcpy_chk
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #48]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB4_10
LBB4_2:
ldr x0, [sp, #8]
ldur x1, [x29, #-16]
bl _strcmp
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
str x8, [x9, #48]
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB4_10
LBB4_4:
ldur x8, [x29, #-16]
str x8, [sp, #16]
b LBB4_5
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #48]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
ldr x0, [sp, #8]
ldr x8, [sp, #16]
ldr x1, [x8, #48]
bl _strcmp
subs w8, w0, #0
cset w8, gt
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB4_9
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #48]
str x8, [sp, #16]
b LBB4_5
LBB4_9:
ldr x8, [sp, #16]
ldr x8, [x8, #48]
ldr x9, [sp, #8]
str x8, [x9, #48]
ldr x8, [sp, #8]
ldr x9, [sp, #16]
str x8, [x9, #48]
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB4_10
LBB4_10:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _create_node ; -- Begin function create_node
.p2align 2
_create_node: ; @create_node
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov x0, #56
bl _malloc
str x0, [sp]
ldr x0, [sp]
ldr x1, [sp, #8]
mov x2, #45
bl ___strcpy_chk
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8, #48]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello"
l_.str.1: ; @.str.1
.asciz "%s "
l_.str.2: ; @.str.2
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -228(%rbp)
leaq -224(%rbp), %rdi
xorl %esi, %esi
movl $208, %edx
callq _memset
movq $0, -240(%rbp)
leaq -224(%rbp), %rsi
leaq L_.str(%rip), %rdi
callq _load
movl $104, %edi
callq _getIndex
cltq
movq -224(%rbp,%rax,8), %rdi
callq _print
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 $240, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _load ## -- Begin function load
.p2align 4, 0x90
_load: ## @load
.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 -24(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _getIndex
movl %eax, %ecx
movq -48(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
movq -16(%rbp), %rsi
callq _insert
movq %rax, -40(%rbp) ## 8-byte Spill
movq -24(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _getIndex
movq -40(%rbp), %rdx ## 8-byte Reload
movl %eax, %ecx
movq -32(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB2_1
LBB2_3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getIndex ## -- Begin function getIndex
.p2align 4, 0x90
_getIndex: ## @getIndex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %eax
subl $97, %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
movl $26, %ecx
cltd
idivl %ecx
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert ## -- Begin function insert
.p2align 4, 0x90
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $56, %edi
callq _malloc
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq -24(%rbp), %rsi
movl $45, %edx
callq ___strcpy_chk
movq -40(%rbp), %rax
movq $0, 48(%rax)
cmpq $0, -16(%rbp)
jne LBB4_2
## %bb.1:
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB4_10
LBB4_2:
movq -40(%rbp), %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jge LBB4_4
## %bb.3:
movq -16(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 48(%rax)
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB4_10
LBB4_4:
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
LBB4_5: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, 48(%rcx)
movb %al, -41(%rbp) ## 1-byte Spill
je LBB4_7
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movq -40(%rbp), %rdi
movq -32(%rbp), %rax
movq 48(%rax), %rsi
callq _strcmp
cmpl $0, %eax
setg %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB4_7: ## in Loop: Header=BB4_5 Depth=1
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_8
jmp LBB4_9
LBB4_8: ## in Loop: Header=BB4_5 Depth=1
movq -32(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB4_5
LBB4_9:
movq -32(%rbp), %rax
movq 48(%rax), %rcx
movq -40(%rbp), %rax
movq %rcx, 48(%rax)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 48(%rax)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB4_10:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _create_node ## -- Begin function create_node
.p2align 4, 0x90
_create_node: ## @create_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $56, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movq -8(%rbp), %rsi
movl $45, %edx
callq ___strcpy_chk
movq -16(%rbp), %rax
movq $0, 48(%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello"
L_.str.1: ## @.str.1
.asciz "%s "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/145452786.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _max ; -- Begin function max
.p2align 2
_max: ; @max
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x8, _rows@PAGE
ldr w8, [x8, _rows@PAGEOFF]
subs w8, w8, #2
stur w8, [x29, #-8]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
mov x9, #60
str x9, [sp, #16] ; 8-byte Folded Spill
adrp x10, _cost@PAGE
add x10, x10, _cost@PAGEOFF
str x10, [sp, #24] ; 8-byte Folded Spill
mov x11, x10
mov w9, #60
smaddl x8, w8, w9, x11
ldursw x9, [x29, #-12]
ldr w0, [x8, x9, lsl #2]
ldur w8, [x29, #-8]
add w8, w8, #1
mov w9, #60
smaddl x8, w8, w9, x10
ldur w9, [x29, #-12]
add w9, w9, #1
ldr w1, [x8, w9, sxtw #2]
bl _max
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-12]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w0
str w8, [x9]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB1_1
LBB1_8:
adrp x8, _cost@PAGE
ldr w9, [x8, _cost@PAGEOFF]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @rows
_rows:
.long 15 ; 0xf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.section __DATA,__data
.p2align 2 ; @cost
_cost:
.long 75 ; 0x4b
.space 56
.long 95 ; 0x5f
.long 64 ; 0x40
.space 52
.long 17 ; 0x11
.long 47 ; 0x2f
.long 82 ; 0x52
.space 48
.long 18 ; 0x12
.long 35 ; 0x23
.long 87 ; 0x57
.long 10 ; 0xa
.space 44
.long 20 ; 0x14
.long 4 ; 0x4
.long 82 ; 0x52
.long 47 ; 0x2f
.long 65 ; 0x41
.space 40
.long 19 ; 0x13
.long 1 ; 0x1
.long 23 ; 0x17
.long 75 ; 0x4b
.long 3 ; 0x3
.long 34 ; 0x22
.space 36
.long 88 ; 0x58
.long 2 ; 0x2
.long 77 ; 0x4d
.long 73 ; 0x49
.long 7 ; 0x7
.long 63 ; 0x3f
.long 67 ; 0x43
.space 32
.long 99 ; 0x63
.long 65 ; 0x41
.long 4 ; 0x4
.long 28 ; 0x1c
.long 6 ; 0x6
.long 16 ; 0x10
.long 70 ; 0x46
.long 92 ; 0x5c
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 41 ; 0x29
.long 41 ; 0x29
.long 26 ; 0x1a
.long 56 ; 0x38
.long 83 ; 0x53
.long 40 ; 0x28
.long 80 ; 0x50
.long 70 ; 0x46
.long 33 ; 0x21
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 41 ; 0x29
.long 48 ; 0x30
.long 72 ; 0x48
.long 33 ; 0x21
.long 47 ; 0x2f
.long 32 ; 0x20
.long 37 ; 0x25
.long 16 ; 0x10
.long 94 ; 0x5e
.long 29 ; 0x1d
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 53 ; 0x35
.long 71 ; 0x47
.long 44 ; 0x2c
.long 65 ; 0x41
.long 25 ; 0x19
.long 43 ; 0x2b
.long 91 ; 0x5b
.long 52 ; 0x34
.long 97 ; 0x61
.long 51 ; 0x33
.long 14 ; 0xe
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 70 ; 0x46
.long 11 ; 0xb
.long 33 ; 0x21
.long 28 ; 0x1c
.long 77 ; 0x4d
.long 73 ; 0x49
.long 17 ; 0x11
.long 78 ; 0x4e
.long 39 ; 0x27
.long 68 ; 0x44
.long 17 ; 0x11
.long 57 ; 0x39
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 91 ; 0x5b
.long 71 ; 0x47
.long 52 ; 0x34
.long 38 ; 0x26
.long 17 ; 0x11
.long 14 ; 0xe
.long 91 ; 0x5b
.long 43 ; 0x2b
.long 58 ; 0x3a
.long 50 ; 0x32
.long 27 ; 0x1b
.long 29 ; 0x1d
.long 48 ; 0x30
.long 0 ; 0x0
.long 0 ; 0x0
.long 63 ; 0x3f
.long 66 ; 0x42
.long 4 ; 0x4
.long 68 ; 0x44
.long 89 ; 0x59
.long 53 ; 0x35
.long 67 ; 0x43
.long 30 ; 0x1e
.long 73 ; 0x49
.long 16 ; 0x10
.long 69 ; 0x45
.long 87 ; 0x57
.long 40 ; 0x28
.long 31 ; 0x1f
.long 0 ; 0x0
.long 4 ; 0x4
.long 62 ; 0x3e
.long 98 ; 0x62
.long 27 ; 0x1b
.long 23 ; 0x17
.long 9 ; 0x9
.long 70 ; 0x46
.long 98 ; 0x62
.long 73 ; 0x49
.long 93 ; 0x5d
.long 38 ; 0x26
.long 53 ; 0x35
.long 60 ; 0x3c
.long 4 ; 0x4
.long 23 ; 0x17
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _max ## -- Begin function max
.p2align 4, 0x90
_max: ## @max
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB0_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
LBB0_3:
movl -12(%rbp), %eax ## 4-byte Reload
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 _rows(%rip), %eax
subl $2, %eax
movl %eax, -8(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $0, -8(%rbp)
jl LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -12(%rbp)
jl LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
leaq _cost(%rip), %rax
imulq $60, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %edi
movl -8(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
leaq _cost(%rip), %rax
imulq $60, %rcx, %rcx
addq %rcx, %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %esi
callq _max
movl %eax, %edx
movslq -8(%rbp), %rcx
leaq _cost(%rip), %rax
imulq $60, %rcx, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%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
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_8:
movl _cost(%rip), %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 __DATA,__data
.p2align 2 ## @rows
_rows:
.long 15 ## 0xf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.section __DATA,__data
.p2align 4 ## @cost
_cost:
.long 75 ## 0x4b
.space 56
.long 95 ## 0x5f
.long 64 ## 0x40
.space 52
.long 17 ## 0x11
.long 47 ## 0x2f
.long 82 ## 0x52
.space 48
.long 18 ## 0x12
.long 35 ## 0x23
.long 87 ## 0x57
.long 10 ## 0xa
.space 44
.long 20 ## 0x14
.long 4 ## 0x4
.long 82 ## 0x52
.long 47 ## 0x2f
.long 65 ## 0x41
.space 40
.long 19 ## 0x13
.long 1 ## 0x1
.long 23 ## 0x17
.long 75 ## 0x4b
.long 3 ## 0x3
.long 34 ## 0x22
.space 36
.long 88 ## 0x58
.long 2 ## 0x2
.long 77 ## 0x4d
.long 73 ## 0x49
.long 7 ## 0x7
.long 63 ## 0x3f
.long 67 ## 0x43
.space 32
.long 99 ## 0x63
.long 65 ## 0x41
.long 4 ## 0x4
.long 28 ## 0x1c
.long 6 ## 0x6
.long 16 ## 0x10
.long 70 ## 0x46
.long 92 ## 0x5c
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 41 ## 0x29
.long 41 ## 0x29
.long 26 ## 0x1a
.long 56 ## 0x38
.long 83 ## 0x53
.long 40 ## 0x28
.long 80 ## 0x50
.long 70 ## 0x46
.long 33 ## 0x21
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 41 ## 0x29
.long 48 ## 0x30
.long 72 ## 0x48
.long 33 ## 0x21
.long 47 ## 0x2f
.long 32 ## 0x20
.long 37 ## 0x25
.long 16 ## 0x10
.long 94 ## 0x5e
.long 29 ## 0x1d
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 53 ## 0x35
.long 71 ## 0x47
.long 44 ## 0x2c
.long 65 ## 0x41
.long 25 ## 0x19
.long 43 ## 0x2b
.long 91 ## 0x5b
.long 52 ## 0x34
.long 97 ## 0x61
.long 51 ## 0x33
.long 14 ## 0xe
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 70 ## 0x46
.long 11 ## 0xb
.long 33 ## 0x21
.long 28 ## 0x1c
.long 77 ## 0x4d
.long 73 ## 0x49
.long 17 ## 0x11
.long 78 ## 0x4e
.long 39 ## 0x27
.long 68 ## 0x44
.long 17 ## 0x11
.long 57 ## 0x39
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 91 ## 0x5b
.long 71 ## 0x47
.long 52 ## 0x34
.long 38 ## 0x26
.long 17 ## 0x11
.long 14 ## 0xe
.long 91 ## 0x5b
.long 43 ## 0x2b
.long 58 ## 0x3a
.long 50 ## 0x32
.long 27 ## 0x1b
.long 29 ## 0x1d
.long 48 ## 0x30
.long 0 ## 0x0
.long 0 ## 0x0
.long 63 ## 0x3f
.long 66 ## 0x42
.long 4 ## 0x4
.long 68 ## 0x44
.long 89 ## 0x59
.long 53 ## 0x35
.long 67 ## 0x43
.long 30 ## 0x1e
.long 73 ## 0x49
.long 16 ## 0x10
.long 69 ## 0x45
.long 87 ## 0x57
.long 40 ## 0x28
.long 31 ## 0x1f
.long 0 ## 0x0
.long 4 ## 0x4
.long 62 ## 0x3e
.long 98 ## 0x62
.long 27 ## 0x1b
.long 23 ## 0x17
.long 9 ## 0x9
.long 70 ## 0x46
.long 98 ## 0x62
.long 73 ## 0x49
.long 93 ## 0x5d
.long 38 ## 0x26
.long 53 ## 0x35
.long 60 ## 0x3c
.long 4 ## 0x4
.long 23 ## 0x17
.subsections_via_symbols
|
the_stack_data/73749.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile ; -- Begin function __ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 2
___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile: ; @__ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_3
LBB0_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB0_3
LBB0_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldur x0, [x29, #-8]
mov w1, #524288
bl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
ldur x0, [x29, #-8]
mov w1, #1024
bl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp] ; 8-byte Folded Spill
b LBB1_3
LBB1_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB1_3
LBB1_3:
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #8]
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9, #16]
ldr x8, [sp, #8]
ldr x0, [x8, #40]
ldur w8, [x29, #-12]
mov x9, x8
mov x8, #1
mul x8, x8, x9
mov x1, x8
bl ___ecereNameSpace__ecere__com__eSystem_Renew
ldr x8, [sp, #8]
str x0, [x8, #40]
ldr x8, [sp, #8]
ldr w8, [x8, #20]
ldr x9, [sp, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldr x8, [sp, #8]
ldr w8, [x8, #16]
ldr x9, [sp, #8]
str w8, [x9, #20]
b LBB1_5
LBB1_5:
ldur x0, [x29, #-8]
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldur x0, [x29, #-8]
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp] ; 8-byte Folded Spill
b LBB2_3
LBB2_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB2_3
LBB2_3:
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #8]
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9, #52]
ldur x0, [x29, #-8]
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldur x0, [x29, #-8]
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile ; -- Begin function __ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 2
___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile: ; @__ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB3_3
LBB3_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB3_3
LBB3_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl ___ecereNameSpace__ecere__com__eInstance_DecRef
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #16]
ldr x0, [x8, #40]
bl ___ecereNameSpace__ecere__com__eSystem_Delete
ldr x8, [sp, #16]
str xzr, [x8, #40]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB4_3
LBB4_2:
mov x8, #0
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB4_3
LBB4_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
ldr x8, [sp, #32]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB4_6
LBB4_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB4_6
LBB4_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #24]
ldr x8, [sp, #24]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7:
ldur x8, [x29, #-24]
ldur x9, [x29, #-16]
ldr x0, [x9, #8]
blr x8
b LBB4_9
LBB4_8:
b LBB4_9
LBB4_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB5_3
LBB5_2:
mov x8, #0
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB5_3
LBB5_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
ldr x8, [sp, #32]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB5_6
LBB5_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB5_6
LBB5_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #24]
ldr x8, [sp, #24]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
ldur x8, [x29, #-24]
ldur x9, [x29, #-16]
ldr x0, [x9, #8]
blr x8
b LBB5_9
LBB5_8:
b LBB5_9
LBB5_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.cfi_startproc
; %bb.0:
sub sp, sp, #272
.cfi_def_cfa_offset 272
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub x8, x29, #40
str x8, [sp, #64] ; 8-byte Folded Spill
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
str x9, [sp, #72] ; 8-byte Folded Spill
str x0, [x8, #8]
str x1, [x8]
stur w2, [x29, #-44]
stur w3, [x29, #-48]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x8, [x8, #8]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #56] ; 8-byte Folded Spill
b LBB6_3
LBB6_2:
mov x8, #0
str x8, [sp, #56] ; 8-byte Folded Spill
b LBB6_3
LBB6_3:
ldr x8, [sp, #56] ; 8-byte Folded Reload
stur x8, [x29, #-56]
ldur x8, [x29, #-56]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_45
b LBB6_4
LBB6_4:
stur wzr, [x29, #-60]
ldur x8, [x29, #-56]
ldr w8, [x8, #20]
stur w8, [x29, #-64]
ldur x8, [x29, #-56]
ldr x8, [x8, #24]
stur x8, [x29, #-72]
ldur x8, [x29, #-56]
ldr x8, [x8, #40]
ldur x9, [x29, #-72]
add x8, x8, x9
stur x8, [x29, #-80]
ldur w8, [x29, #-48]
stur w8, [x29, #-84]
ldur w9, [x29, #-44]
ldur w8, [x29, #-84]
mul w8, w8, w9
stur w8, [x29, #-84]
b LBB6_5
LBB6_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-64]
; kill: def $x8 killed $w8
ldur x9, [x29, #-72]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-64]
; kill: def $x8 killed $w8
ldur x9, [x29, #-72]
subs x8, x8, x9
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB6_8
LBB6_7: ; in Loop: Header=BB6_5 Depth=1
mov x8, #0
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
stur x8, [x29, #-96]
ldur x8, [x29, #-96]
ldur w9, [x29, #-84]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_10
b LBB6_9
LBB6_9: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-84]
; kill: def $x8 killed $w8
stur x8, [x29, #-96]
b LBB6_10
LBB6_10: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-96]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x8, [x8]
ldur w9, [x29, #-60]
; kill: def $x9 killed $w9
add x0, x8, x9
ldur x1, [x29, #-80]
ldur x2, [x29, #-96]
bl _memcpy
ldur x9, [x29, #-96]
ldur x8, [x29, #-72]
add x8, x8, x9
stur x8, [x29, #-72]
ldur x9, [x29, #-96]
ldur w8, [x29, #-60]
; kill: def $x8 killed $w8
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-60]
ldur x9, [x29, #-96]
ldur w8, [x29, #-84]
; kill: def $x8 killed $w8
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-84]
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-84]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_42
b LBB6_13
LBB6_13: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-84]
ldur x9, [x29, #-56]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB6_26
b LBB6_14
LBB6_14: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-56]
ldr w8, [x8, #52]
stur w8, [x29, #-108]
ldur w8, [x29, #-84]
ldur w9, [x29, #-108]
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB6_16
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-84]
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB6_17
LBB6_16: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-108]
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB6_17
LBB6_17: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
mov w8, w8
; kill: def $x8 killed $w8
stur x8, [x29, #-104]
ldur x8, [x29, #-72]
ldur w9, [x29, #-64]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_23
b LBB6_18
LBB6_18: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-72]
ldur w9, [x29, #-84]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur w9, [x29, #-64]
; kill: def $x9 killed $w9
subs x8, x8, x9
ldur x9, [x29, #-104]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_21
b LBB6_19
LBB6_19: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-72]
ldur w9, [x29, #-84]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur w9, [x29, #-64]
; kill: def $x9 killed $w9
subs x8, x8, x9
ldur w9, [x29, #-64]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_21
b LBB6_20
LBB6_20: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-72]
ldur w9, [x29, #-84]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur w9, [x29, #-64]
; kill: def $x9 killed $w9
subs x8, x8, x9
stur x8, [x29, #-104]
b LBB6_22
LBB6_21: ; in Loop: Header=BB6_5 Depth=1
stur xzr, [x29, #-72]
stur wzr, [x29, #-64]
b LBB6_22
LBB6_22: ; in Loop: Header=BB6_5 Depth=1
b LBB6_23
LBB6_23: ; in Loop: Header=BB6_5 Depth=1
ldur w8, [x29, #-64]
; kill: def $x8 killed $w8
ldur x9, [x29, #-104]
add x8, x8, x9
ldur x9, [x29, #-56]
ldr w9, [x9, #16]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB6_25
b LBB6_24
LBB6_24: ; in Loop: Header=BB6_5 Depth=1
stur xzr, [x29, #-72]
stur wzr, [x29, #-64]
b LBB6_25
LBB6_25: ; in Loop: Header=BB6_5 Depth=1
b LBB6_27
LBB6_26: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-56]
ldr w8, [x8, #16]
; kill: def $x8 killed $w8
stur x8, [x29, #-104]
stur xzr, [x29, #-72]
stur wzr, [x29, #-64]
b LBB6_27
LBB6_27: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-56]
ldr x8, [x8, #8]
str x8, [sp, #128]
ldr x8, [sp, #128]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_29
b LBB6_28
LBB6_28: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #128]
ldr x8, [x8]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB6_30
LBB6_29: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB6_30
LBB6_30: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x8, [sp, #120]
ldr x8, [sp, #120]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-120]
ldur x8, [x29, #-120]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_32
b LBB6_31
LBB6_31: ; in Loop: Header=BB6_5 Depth=1
ldur x8, [x29, #-120]
ldur x9, [x29, #-56]
ldr x0, [x9, #8]
ldur x9, [x29, #-56]
ldr x9, [x9, #32]
ldur w10, [x29, #-60]
; kill: def $x10 killed $w10
add x9, x9, x10
ldur x10, [x29, #-72]
subs x9, x9, x10
ldur w10, [x29, #-64]
; kill: def $x10 killed $w10
add x1, x9, x10
mov w2, #0
blr x8
str w0, [sp, #28] ; 4-byte Folded Spill
b LBB6_33
LBB6_32: ; in Loop: Header=BB6_5 Depth=1
mov w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB6_33
LBB6_33: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
str w8, [sp, #116]
ldur x8, [x29, #-56]
ldr x8, [x8, #8]
str x8, [sp, #96]
ldr x8, [sp, #96]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_35
b LBB6_34
LBB6_34: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #96]
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB6_36
LBB6_35: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB6_36
LBB6_36: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #88]
ldr x8, [sp, #88]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #104]
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_38
b LBB6_37
LBB6_37: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [sp, #104]
ldur x9, [x29, #-56]
ldr x0, [x9, #8]
ldur x9, [x29, #-56]
ldr x9, [x9, #40]
ldur w10, [x29, #-64]
; kill: def $x10 killed $w10
add x1, x9, x10
ldur x9, [x29, #-104]
mov x3, x9
mov w2, #1
blr x8
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB6_39
LBB6_38: ; in Loop: Header=BB6_5 Depth=1
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB6_39
LBB6_39: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #84]
ldrsw x8, [sp, #84]
stur x8, [x29, #-104]
ldur x8, [x29, #-56]
ldr x8, [x8, #40]
ldur x9, [x29, #-72]
add x8, x8, x9
stur x8, [x29, #-80]
ldur x9, [x29, #-104]
ldur w8, [x29, #-64]
; kill: def $x8 killed $w8
add x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-64]
ldur x8, [x29, #-104]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_41
b LBB6_40
LBB6_40:
ldur x9, [x29, #-56]
mov w8, #1
str w8, [x9, #48]
b LBB6_44
LBB6_41: ; in Loop: Header=BB6_5 Depth=1
b LBB6_43
LBB6_42:
b LBB6_44
LBB6_43: ; in Loop: Header=BB6_5 Depth=1
b LBB6_5
LBB6_44:
ldur w8, [x29, #-64]
ldur x9, [x29, #-56]
str w8, [x9, #20]
ldur x8, [x29, #-72]
ldur x9, [x29, #-56]
str x8, [x9, #24]
ldur w8, [x29, #-60]
mov x10, x8
ldur x9, [x29, #-56]
ldr x8, [x9, #32]
add x8, x8, x10
str x8, [x9, #32]
ldur w8, [x29, #-60]
ldur w9, [x29, #-44]
udiv w8, w8, w9
stur w8, [x29, #-20]
b LBB6_46
LBB6_45:
stur wzr, [x29, #-20]
b LBB6_46
LBB6_46:
ldur w0, [x29, #-20]
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
str x8, [sp, #72] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
stur w3, [x29, #-24]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #64] ; 8-byte Folded Spill
b LBB7_3
LBB7_2:
mov x8, #0
str x8, [sp, #64] ; 8-byte Folded Spill
b LBB7_3
LBB7_3:
ldr x8, [sp, #64] ; 8-byte Folded Reload
stur x8, [x29, #-48]
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
stur x8, [x29, #-88]
ldur x8, [x29, #-88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_5
b LBB7_4
LBB7_4:
ldur x8, [x29, #-88]
ldr x8, [x8]
str x8, [sp, #56] ; 8-byte Folded Spill
b LBB7_6
LBB7_5:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #56] ; 8-byte Folded Spill
b LBB7_6
LBB7_6:
ldr x8, [sp, #56] ; 8-byte Folded Reload
stur x8, [x29, #-96]
ldur x8, [x29, #-96]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-80]
ldur x8, [x29, #-80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_8
b LBB7_7
LBB7_7:
ldur x8, [x29, #-80]
ldur x9, [x29, #-48]
ldr x0, [x9, #8]
ldur x9, [x29, #-48]
ldr x1, [x9, #32]
mov w2, #0
blr x8
str w0, [sp, #52] ; 4-byte Folded Spill
b LBB7_9
LBB7_8:
mov w8, #1
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB7_9
LBB7_9:
ldr w8, [sp, #52] ; 4-byte Folded Reload
stur w8, [x29, #-100]
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
str x8, [sp, #104]
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_11
b LBB7_10
LBB7_10:
ldr x8, [sp, #104]
ldr x8, [x8]
str x8, [sp, #40] ; 8-byte Folded Spill
b LBB7_12
LBB7_11:
ldr x8, [sp, #72] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #40] ; 8-byte Folded Spill
b LBB7_12
LBB7_12:
ldr x8, [sp, #40] ; 8-byte Folded Reload
str x8, [sp, #96]
ldr x8, [sp, #96]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #112]
ldr x8, [sp, #112]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_14
b LBB7_13
LBB7_13:
ldr x8, [sp, #112]
ldur x9, [x29, #-48]
ldr x0, [x9, #8]
ldur x1, [x29, #-16]
ldur w2, [x29, #-20]
ldur w3, [x29, #-24]
blr x8
str w0, [sp, #36] ; 4-byte Folded Spill
b LBB7_15
LBB7_14:
mov w8, #1
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB7_15
LBB7_15:
ldr w8, [sp, #36] ; 4-byte Folded Reload
str w8, [sp, #92]
ldr w8, [sp, #92]
stur w8, [x29, #-52]
ldur w8, [x29, #-52]
ldur w9, [x29, #-20]
mul w8, w8, w9
stur w8, [x29, #-56]
ldur x8, [x29, #-48]
ldr w8, [x8, #16]
; kill: def $x8 killed $w8
ldur x9, [x29, #-48]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB7_17
b LBB7_16
LBB7_16:
ldur x8, [x29, #-48]
ldr w8, [x8, #16]
; kill: def $x8 killed $w8
ldur x9, [x29, #-48]
ldr x9, [x9, #24]
subs x8, x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB7_18
LBB7_17:
mov x8, #0
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB7_18
LBB7_18:
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-64]
ldur w8, [x29, #-56]
; kill: def $x8 killed $w8
ldur x9, [x29, #-64]
subs x8, x8, x9
stur x8, [x29, #-72]
ldur w8, [x29, #-56]
mov x10, x8
ldur x9, [x29, #-48]
ldr x8, [x9, #32]
add x8, x8, x10
str x8, [x9, #32]
ldur x8, [x29, #-48]
ldr x8, [x8, #56]
stur x8, [x29, #-32]
ldur x8, [x29, #-48]
ldr x8, [x8, #32]
stur x8, [x29, #-40]
ldur x8, [x29, #-32]
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB7_20
b LBB7_19
LBB7_19:
ldur x8, [x29, #-32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB7_21
LBB7_20:
ldur x8, [x29, #-40]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB7_21
LBB7_21:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x9, [x29, #-48]
str x8, [x9, #56]
ldur x8, [x29, #-64]
ldur w9, [x29, #-56]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_26
b LBB7_22
LBB7_22:
ldur x8, [x29, #-48]
ldr w8, [x8, #20]
; kill: def $x8 killed $w8
ldur x9, [x29, #-48]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB7_26
b LBB7_23
LBB7_23:
ldur w8, [x29, #-56]
ldur x9, [x29, #-48]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB7_26
b LBB7_24
LBB7_24:
ldur x8, [x29, #-72]
ldur x9, [x29, #-48]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_26
b LBB7_25
LBB7_25:
ldur x8, [x29, #-48]
ldr x0, [x8, #40]
ldur x8, [x29, #-48]
ldr x8, [x8, #40]
ldur x9, [x29, #-72]
add x1, x8, x9
ldur x8, [x29, #-48]
ldr x8, [x8, #24]
ldur x9, [x29, #-72]
subs x2, x8, x9
bl _memcpy
ldur x10, [x29, #-72]
ldur x9, [x29, #-48]
ldr x8, [x9, #24]
subs x8, x8, x10
str x8, [x9, #24]
ldur x10, [x29, #-72]
ldur x9, [x29, #-48]
ldr w8, [x9, #20]
; kill: def $x8 killed $w8
subs x8, x8, x10
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #20]
ldur x9, [x29, #-72]
ldur x8, [x29, #-64]
add x8, x8, x9
stur x8, [x29, #-64]
b LBB7_26
LBB7_26:
ldur x8, [x29, #-64]
ldur w9, [x29, #-56]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB7_31
b LBB7_27
LBB7_27:
ldur w8, [x29, #-56]
; kill: def $x8 killed $w8
stur x8, [x29, #-64]
ldur x8, [x29, #-48]
ldr x8, [x8, #40]
ldur x9, [x29, #-48]
ldr x9, [x9, #24]
add x0, x8, x9
ldur x1, [x29, #-16]
ldur x2, [x29, #-64]
bl _memcpy
ldur x10, [x29, #-64]
ldur x9, [x29, #-48]
ldr x8, [x9, #24]
add x8, x8, x10
str x8, [x9, #24]
ldur x8, [x29, #-48]
ldr w8, [x8, #20]
str w8, [sp, #88]
ldur x8, [x29, #-48]
ldr x8, [x8, #24]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #84]
ldr w8, [sp, #88]
ldr w9, [sp, #84]
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB7_29
b LBB7_28
LBB7_28:
ldr w8, [sp, #88]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB7_30
LBB7_29:
ldr w8, [sp, #84]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB7_30
LBB7_30:
ldr w8, [sp, #12] ; 4-byte Folded Reload
ldur x9, [x29, #-48]
str w8, [x9, #20]
b LBB7_35
LBB7_31:
ldur x8, [x29, #-48]
ldr w8, [x8, #16]
str w8, [sp, #80]
ldur w8, [x29, #-56]
ldr w9, [sp, #80]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB7_33
b LBB7_32
LBB7_32:
ldur w8, [x29, #-56]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB7_34
LBB7_33:
ldr w8, [sp, #80]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB7_34
LBB7_34:
ldr w8, [sp, #8] ; 4-byte Folded Reload
mov w8, w8
; kill: def $x8 killed $w8
stur x8, [x29, #-64]
ldur x8, [x29, #-48]
ldr x0, [x8, #40]
ldur x8, [x29, #-16]
ldur w9, [x29, #-56]
; kill: def $x9 killed $w9
add x8, x8, x9
ldur x9, [x29, #-64]
subs x1, x8, x9
ldur x2, [x29, #-64]
bl _memcpy
ldur x8, [x29, #-64]
ldur x9, [x29, #-48]
str x8, [x9, #24]
ldur x8, [x29, #-64]
ldur x9, [x29, #-48]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #20]
b LBB7_35
LBB7_35:
ldur w0, [x29, #-52]
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.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, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB8_3
LBB8_2:
mov x8, #0
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB8_3
LBB8_3:
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_24
b LBB8_4
LBB8_4:
b LBB8_5
LBB8_5: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
ldr w8, [x8, #20]
; kill: def $x8 killed $w8
ldur x9, [x29, #-32]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB8_7
b LBB8_6
LBB8_6:
ldur x8, [x29, #-32]
ldr x8, [x8, #40]
ldur x9, [x29, #-32]
ldr x9, [x9, #24]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-24]
strb w8, [x9]
ldur x9, [x29, #-32]
ldr x8, [x9, #24]
add x8, x8, #1
str x8, [x9, #24]
ldur x9, [x29, #-32]
ldr x8, [x9, #32]
add x8, x8, #1
str x8, [x9, #32]
mov w8, #1
stur w8, [x29, #-4]
b LBB8_25
LBB8_7: ; in Loop: Header=BB8_5 Depth=1
ldur x8, [x29, #-32]
str xzr, [x8, #24]
ldur x8, [x29, #-32]
ldr x8, [x8, #8]
stur x8, [x29, #-48]
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_9
b LBB8_8
LBB8_8: ; in Loop: Header=BB8_5 Depth=1
ldur x8, [x29, #-48]
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB8_10
LBB8_9: ; in Loop: Header=BB8_5 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_5 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-56]
ldur x8, [x29, #-56]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_12
b LBB8_11
LBB8_11: ; in Loop: Header=BB8_5 Depth=1
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x0, [x9, #8]
ldur x9, [x29, #-32]
ldr x1, [x9, #32]
mov w2, #0
blr x8
str w0, [sp, #20] ; 4-byte Folded Spill
b LBB8_13
LBB8_12: ; in Loop: Header=BB8_5 Depth=1
mov w8, #1
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB8_13
LBB8_13: ; in Loop: Header=BB8_5 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-60]
ldur x8, [x29, #-32]
ldr x8, [x8, #8]
str x8, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_15
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_5 Depth=1
ldr x8, [sp, #64]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB8_16
LBB8_15: ; in Loop: Header=BB8_5 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB8_16
LBB8_16: ; in Loop: Header=BB8_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #56]
ldr x8, [sp, #56]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #72]
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_18
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_5 Depth=1
ldr x8, [sp, #72]
ldur x9, [x29, #-32]
ldr x0, [x9, #8]
ldur x9, [x29, #-32]
ldr x1, [x9, #40]
ldur x9, [x29, #-32]
ldr w3, [x9, #16]
mov w2, #1
blr x8
str w0, [sp, #4] ; 4-byte Folded Spill
b LBB8_19
LBB8_18: ; in Loop: Header=BB8_5 Depth=1
mov w8, #1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB8_19
LBB8_19: ; in Loop: Header=BB8_5 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #52]
ldr w8, [sp, #52]
ldur x9, [x29, #-32]
str w8, [x9, #20]
ldur x8, [x29, #-32]
ldr w8, [x8, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB8_21
b LBB8_20
LBB8_20:
ldur x9, [x29, #-32]
mov w8, #1
str w8, [x9, #48]
b LBB8_23
LBB8_21: ; in Loop: Header=BB8_5 Depth=1
b LBB8_22
LBB8_22: ; in Loop: Header=BB8_5 Depth=1
b LBB8_5
LBB8_23:
b LBB8_24
LBB8_24:
stur wzr, [x29, #-4]
b LBB8_25
LBB8_25:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
sturb w1, [x29, #-9]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB9_3
LBB9_2:
mov x8, #0
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB9_3
LBB9_3:
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-24]
ldur x8, [x29, #-8]
str x8, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
ldr x8, [sp, #48]
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB9_6
LBB9_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB9_6
LBB9_6:
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #40]
ldr x8, [sp, #40]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_8
b LBB9_7
LBB9_7:
ldur x8, [x29, #-40]
ldur x0, [x29, #-8]
sub x1, x29, #9
mov w3, #1
mov x2, x3
blr x8
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB9_9
LBB9_8:
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB9_9
LBB9_9:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #36]
ldr w8, [sp, #36]
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
and w0, w8, #0x1
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB10_3
LBB10_2:
mov x8, #0
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB10_3
LBB10_3:
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-24]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-28]
ldur x8, [x29, #-8]
str x8, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
ldr x8, [sp, #48]
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB10_6
LBB10_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB10_6
LBB10_6:
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #40]
ldr x8, [sp, #40]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
ldur x8, [x29, #-40]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldur w3, [x29, #-28]
mov w2, #1
blr x8
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB10_9
LBB10_8:
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB10_9
LBB10_9:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #36]
ldr w8, [sp, #36]
stur w8, [x29, #-32]
ldur w8, [x29, #-32]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64 ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-8]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB11_3
LBB11_2:
mov x8, #0
str x8, [sp, #48] ; 8-byte Folded Spill
b LBB11_3
LBB11_3:
ldr x8, [sp, #48] ; 8-byte Folded Reload
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
ldr x8, [x8, #32]
stur x8, [x29, #-40]
ldur w8, [x29, #-20]
str w8, [sp, #44] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_6
b LBB11_4
LBB11_4:
ldr w8, [sp, #44] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB11_7
b LBB11_5
LBB11_5:
ldr w8, [sp, #44] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB11_8
b LBB11_9
LBB11_6:
ldur x8, [x29, #-16]
stur x8, [x29, #-40]
b LBB11_9
LBB11_7:
ldur x9, [x29, #-16]
ldur x8, [x29, #-40]
add x8, x8, x9
stur x8, [x29, #-40]
b LBB11_9
LBB11_8:
ldur x8, [x29, #-32]
ldr x8, [x8, #56]
ldur x9, [x29, #-16]
add x8, x8, x9
stur x8, [x29, #-40]
b LBB11_9
LBB11_9:
ldur x8, [x29, #-32]
ldr x8, [x8, #32]
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB11_36
b LBB11_10
LBB11_10:
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
ldur x10, [x29, #-32]
ldr x10, [x10, #24]
subs x9, x9, x10
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB11_34
b LBB11_11
LBB11_11:
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
ldur x10, [x29, #-32]
ldr w10, [x10, #16]
; kill: def $x10 killed $w10
add x9, x9, x10
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB11_34
b LBB11_12
LBB11_12:
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
ldur x10, [x29, #-32]
ldr x10, [x10, #24]
subs x9, x9, x10
ldur x10, [x29, #-32]
ldr w10, [x10, #20]
; kill: def $x10 killed $w10
add x9, x9, x10
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB11_14
b LBB11_13
LBB11_13:
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
subs x10, x8, x9
ldur x9, [x29, #-32]
ldr x8, [x9, #24]
add x8, x8, x10
str x8, [x9, #24]
b LBB11_33
LBB11_14:
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
subs x8, x8, x9
ldur x9, [x29, #-32]
ldr w9, [x9, #20]
; kill: def $x9 killed $w9
subs x8, x8, x9
stur x8, [x29, #-48]
ldur x8, [x29, #-48]
ldur x9, [x29, #-32]
ldr w9, [x9, #20]
lsl w9, w9, #1
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB11_31
b LBB11_15
LBB11_15:
ldur x8, [x29, #-48]
ldur x9, [x29, #-32]
ldr w9, [x9, #16]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB11_17
b LBB11_16
LBB11_16:
ldur x8, [x29, #-32]
str wzr, [x8, #20]
ldur x8, [x29, #-32]
str xzr, [x8, #24]
b LBB11_30
LBB11_17:
ldur x8, [x29, #-32]
ldr x8, [x8, #8]
stur x8, [x29, #-64]
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_19
b LBB11_18
LBB11_18:
ldur x8, [x29, #-64]
ldr x8, [x8]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB11_20
LBB11_19:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB11_20
LBB11_20:
ldr x8, [sp, #32] ; 8-byte Folded Reload
stur x8, [x29, #-72]
ldur x8, [x29, #-72]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-56]
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_22
b LBB11_21
LBB11_21:
ldur x8, [x29, #-56]
ldur x9, [x29, #-32]
ldr x0, [x9, #8]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
ldur x10, [x29, #-32]
ldr x10, [x10, #24]
subs x9, x9, x10
ldur x10, [x29, #-32]
ldr w10, [x10, #20]
; kill: def $x10 killed $w10
add x1, x9, x10
mov w2, #0
blr x8
str w0, [sp, #28] ; 4-byte Folded Spill
b LBB11_23
LBB11_22:
mov w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB11_23
LBB11_23:
ldr w8, [sp, #28] ; 4-byte Folded Reload
stur w8, [x29, #-76]
ldur x8, [x29, #-32]
ldr x8, [x8, #8]
str x8, [sp, #80]
ldr x8, [sp, #80]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_25
b LBB11_24
LBB11_24:
ldr x8, [sp, #80]
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB11_26
LBB11_25:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB11_26
LBB11_26:
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #72]
ldr x8, [sp, #72]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #88]
ldr x8, [sp, #88]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB11_28
b LBB11_27
LBB11_27:
ldr x8, [sp, #88]
ldur x9, [x29, #-32]
ldr x0, [x9, #8]
ldur x9, [x29, #-32]
ldr x9, [x9, #40]
ldur x10, [x29, #-32]
ldr w10, [x10, #20]
; kill: def $x10 killed $w10
add x1, x9, x10
ldur x9, [x29, #-48]
mov x3, x9
mov w2, #1
blr x8
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB11_29
LBB11_28:
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB11_29
LBB11_29:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #68]
ldrsw x8, [sp, #68]
stur x8, [x29, #-48]
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #32]
subs x10, x8, x9
ldur x9, [x29, #-32]
ldr x8, [x9, #24]
add x8, x8, x10
str x8, [x9, #24]
ldur x10, [x29, #-48]
ldur x9, [x29, #-32]
ldr w8, [x9, #20]
; kill: def $x8 killed $w8
add x8, x8, x10
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #20]
b LBB11_30
LBB11_30:
b LBB11_32
LBB11_31:
ldur x8, [x29, #-32]
str wzr, [x8, #20]
ldur x8, [x29, #-32]
str xzr, [x8, #24]
b LBB11_32
LBB11_32:
b LBB11_33
LBB11_33:
b LBB11_35
LBB11_34:
ldur x8, [x29, #-32]
str wzr, [x8, #20]
ldur x8, [x29, #-32]
str xzr, [x8, #24]
b LBB11_35
LBB11_35:
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldr x9, [x9, #56]
subs x8, x8, x9
cset w8, hi
and w8, w8, #0x1
ldur x9, [x29, #-32]
str w8, [x9, #48]
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
str x8, [x9, #32]
b LBB11_36
LBB11_36:
mov w0, #1
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
ldr x8, [sp, #24]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_3
LBB12_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB12_3
LBB12_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #32]
mov x0, x8
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
ldr x8, [sp, #24]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB13_3
LBB13_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB13_3
LBB13_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr w0, [x8, #48]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
ldr x8, [sp, #24]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_3
LBB14_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB14_3
LBB14_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #56]
mov x0, x8
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #40] ; 8-byte Folded Spill
b LBB15_3
LBB15_2:
mov x8, #0
str x8, [sp, #40] ; 8-byte Folded Spill
b LBB15_3
LBB15_3:
ldr x8, [sp, #40] ; 8-byte Folded Reload
stur x8, [x29, #-40]
ldur w8, [x29, #-12]
; kill: def $x8 killed $w8
ldur x9, [x29, #-40]
ldr x9, [x9, #32]
ldur x10, [x29, #-40]
ldr x10, [x10, #24]
subs x9, x9, x10
subs x8, x8, x9
stur x8, [x29, #-48]
ldur x8, [x29, #-40]
ldr x8, [x8, #8]
str x8, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_5
b LBB15_4
LBB15_4:
ldr x8, [sp, #64]
ldr x8, [x8]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB15_6
LBB15_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB15_6
LBB15_6:
ldr x8, [sp, #32] ; 8-byte Folded Reload
str x8, [sp, #56]
ldr x8, [sp, #56]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
stur x8, [x29, #-56]
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB15_8
b LBB15_7
LBB15_7:
ldur x8, [x29, #-56]
ldur x9, [x29, #-40]
ldr x0, [x9, #8]
ldur w1, [x29, #-12]
blr x8
str w0, [sp, #28] ; 4-byte Folded Spill
b LBB15_9
LBB15_8:
mov w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB15_9
LBB15_9:
ldr w8, [sp, #28] ; 4-byte Folded Reload
str w8, [sp, #52]
ldur x8, [x29, #-40]
ldr w8, [x8, #20]
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
ldur x9, [x29, #-48]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB15_11
b LBB15_10
LBB15_10:
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB15_12
LBB15_11:
ldur x8, [x29, #-48]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB15_12
LBB15_12:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x9, [x29, #-40]
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #20]
ldur x8, [x29, #-40]
ldr x8, [x8, #56]
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
ldur w9, [x29, #-12]
; kill: def $x9 killed $w9
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB15_14
b LBB15_13
LBB15_13:
ldur x8, [x29, #-24]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB15_15
LBB15_14:
ldur w8, [x29, #-12]
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB15_15
LBB15_15:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldur x9, [x29, #-40]
str x8, [x9, #56]
mov w0, #1
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur x3, [x29, #-32]
stur w4, [x29, #-36]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB16_3
LBB16_2:
mov x8, #0
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB16_3
LBB16_3:
ldr x8, [sp, #24] ; 8-byte Folded Reload
stur x8, [x29, #-48]
ldur x8, [x29, #-48]
ldr x8, [x8, #8]
str x8, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_5
b LBB16_4
LBB16_4:
ldr x8, [sp, #48]
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB16_6
LBB16_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB16_6
LBB16_6:
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #40]
ldr x8, [sp, #40]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #56]
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB16_8
b LBB16_7
LBB16_7:
ldr x8, [sp, #56]
ldur x9, [x29, #-48]
ldr x0, [x9, #8]
ldur w1, [x29, #-12]
ldur x2, [x29, #-24]
ldur x3, [x29, #-32]
ldur w4, [x29, #-36]
blr x8
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB16_9
LBB16_8:
mov w8, #1
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB16_9
LBB16_9:
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #36]
ldr w0, [sp, #36]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_2
b LBB17_1
LBB17_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB17_3
LBB17_2:
mov x8, #0
str x8, [sp, #16] ; 8-byte Folded Spill
b LBB17_3
LBB17_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
ldr x8, [x8, #8]
str x8, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_5
b LBB17_4
LBB17_4:
ldr x8, [sp, #40]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB17_6
LBB17_5:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB17_6
LBB17_6:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #32]
ldr x8, [sp, #32]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB17_8
b LBB17_7
LBB17_7:
ldr x8, [sp, #48]
ldur x9, [x29, #-40]
ldr x0, [x9, #8]
ldur x1, [x29, #-16]
ldur x2, [x29, #-24]
ldur w3, [x29, #-28]
blr x8
str w0, [sp, #4] ; 4-byte Folded Spill
b LBB17_9
LBB17_8:
mov w8, #1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB17_9
LBB17_9:
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #28]
ldr w0, [sp, #28]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB18_2
b LBB18_1
LBB18_1:
ldr x8, [sp, #24]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB18_3
LBB18_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB18_3
LBB18_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB19_2
b LBB19_1
LBB19_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp] ; 8-byte Folded Spill
b LBB19_3
LBB19_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB19_3
LBB19_3:
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB19_5
b LBB19_4
LBB19_4:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl ___ecereNameSpace__ecere__com__eInstance_DecRef
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
b LBB19_5
LBB19_5:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
str wzr, [x8, #20]
ldr x8, [sp, #8]
str xzr, [x8, #24]
ldr x8, [sp, #8]
str xzr, [x8, #32]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB19_7
b LBB19_6
LBB19_6:
ldr x8, [sp, #8]
ldr x9, [x8, #8]
ldr w8, [x9, #16]
add w8, w8, #1
str w8, [x9, #16]
b LBB19_7
LBB19_7:
ldur x0, [x29, #-8]
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldur x0, [x29, #-8]
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB20_2
b LBB20_1
LBB20_1:
ldr x8, [sp, #24]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB20_3
LBB20_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB20_3
LBB20_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr w0, [x8, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB21_2
b LBB21_1
LBB21_1:
ldr x8, [sp, #24]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB21_3
LBB21_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB21_3
LBB21_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr w0, [x8, #52]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl ___ecereNameSpace__ecere__sys__FileOpenBuffered ; -- Begin function __ecereNameSpace__ecere__sys__FileOpenBuffered
.p2align 2
___ecereNameSpace__ecere__sys__FileOpenBuffered: ; @__ecereNameSpace__ecere__sys__FileOpenBuffered
.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, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur w1, [x29, #-12]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
bl ___ecereNameSpace__ecere__sys__FileOpen
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB22_8
b LBB22_1
LBB22_1:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
ldr x0, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_New
ldr x9, [sp, #16] ; 8-byte Folded Reload
stur x0, [x29, #-40]
ldur w8, [x29, #-12]
ldur x10, [x29, #-40]
ldr x11, [x9]
ldrsw x11, [x11, #28]
str w8, [x10, x11]
ldur x8, [x29, #-40]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str xzr, [x8, #32]
ldur x0, [x29, #-40]
ldur x1, [x29, #-32]
bl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
ldur x8, [x29, #-32]
str x8, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB22_3
b LBB22_2
LBB22_2:
ldr x8, [sp, #40]
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB22_4
LBB22_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #32]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB22_4
LBB22_4:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #32]
ldr x8, [sp, #32]
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize@GOTPAGE
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize@GOTPAGEOFF]
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB22_6
b LBB22_5
LBB22_5:
ldr x8, [sp, #48]
ldur x0, [x29, #-32]
blr x8
str w0, [sp, #4] ; 4-byte Folded Spill
b LBB22_7
LBB22_6:
mov w8, #1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB22_7
LBB22_7:
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #28]
ldr w8, [sp, #28]
; kill: def $x8 killed $w8
ldur x9, [x29, #-40]
ldr x10, [x10]
ldrsw x10, [x10, #28]
add x9, x9, x10
str x8, [x9, #56]
ldur x8, [x29, #-40]
stur x8, [x29, #-40]
ldur x0, [x29, #-32]
mov w1, #1
bl ___ecereProp___ecereNameSpace__ecere__sys__File_Set_buffered
ldur x8, [x29, #-40]
stur x8, [x29, #-24]
b LBB22_8
LBB22_8:
ldur x0, [x29, #-24]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl ___ecereUnregisterModule_BufferedFile ; -- Begin function __ecereUnregisterModule_BufferedFile
.p2align 2
___ecereUnregisterModule_BufferedFile: ; @__ecereUnregisterModule_BufferedFile
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
; kill: def $x9 killed $xzr
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64 ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB24_2
b LBB24_1
LBB24_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB24_3
LBB24_2:
mov x8, #0
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB24_3
LBB24_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #16]
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldur w2, [x29, #-20]
bl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB25_2
b LBB25_1
LBB25_1:
ldur x8, [x29, #-8]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
ldr x9, [x9, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x9, [x9]
ldrsw x9, [x9, #28]
add x8, x8, x9
str x8, [sp] ; 8-byte Folded Spill
b LBB25_3
LBB25_2:
mov x8, #0
str x8, [sp] ; 8-byte Folded Spill
b LBB25_3
LBB25_3:
ldr x8, [sp] ; 8-byte Folded Reload
str x8, [sp, #8]
ldur x0, [x29, #-8]
ldursw x1, [x29, #-12]
ldr w2, [sp, #16]
bl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___ecereRegisterModule_BufferedFile ; -- Begin function __ecereRegisterModule_BufferedFile
.p2align 2
___ecereRegisterModule_BufferedFile: ; @__ecereRegisterModule_BufferedFile
.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, ___thisModule@GOTPAGE
ldr x8, [x8, ___thisModule@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x7, [x29, #-8]
mov x9, sp
mov w8, #1
str w8, [x9]
str w8, [x9, #4]
mov w4, #0
mov x0, x4
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
mov w3, #64
adrp x5, ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile@PAGE
add x5, x5, ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF
adrp x6, ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile@PAGE
add x6, x6, ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF
bl ___ecereNameSpace__ecere__com__eSystem_RegisterClass
ldr x9, [sp, #24] ; 8-byte Folded Reload
stur x0, [x29, #-16]
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldr x9, [x9]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB26_3
b LBB26_1
LBB26_1:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB26_3
b LBB26_2
LBB26_2:
ldur x8, [x29, #-16]
adrp x9, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
str x8, [x9, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
b LBB26_3
LBB26_3:
ldur x0, [x29, #-16]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov x2, #0
str x2, [sp, #8] ; 8-byte Folded Spill
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek@PAGEOFF
mov w4, #1
str w4, [sp, #20] ; 4-byte Folded Spill
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr w4, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock@PAGE
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
ldr w5, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-16]
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
adrp x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle@PAGE
add x3, x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle@PAGEOFF
adrp x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle@PAGE
add x4, x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle@PAGEOFF
bl ___ecereNameSpace__ecere__com__eClass_AddProperty
ldr x9, [sp, #24] ; 8-byte Folded Reload
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
str x0, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldr x9, [x9]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB26_5
b LBB26_4
LBB26_4:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
ldr x9, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
adrp x10, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
str x9, [x10, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
; kill: def $x9 killed $xzr
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
b LBB26_5
LBB26_5:
ldur x0, [x29, #-16]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
adrp x2, l_.str.19@PAGE
add x2, x2, l_.str.19@PAGEOFF
adrp x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize@PAGE
add x3, x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize@PAGEOFF
adrp x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize@PAGE
add x4, x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize@PAGEOFF
mov w5, #1
bl ___ecereNameSpace__ecere__com__eClass_AddProperty
ldr x9, [sp, #24] ; 8-byte Folded Reload
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
str x0, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldr x9, [x9]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB26_7
b LBB26_6
LBB26_6:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
ldr x9, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
adrp x10, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
str x9, [x10, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
; kill: def $x9 killed $xzr
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
b LBB26_7
LBB26_7:
ldur x0, [x29, #-16]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
adrp x2, l_.str.19@PAGE
add x2, x2, l_.str.19@PAGEOFF
adrp x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead@PAGE
add x3, x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead@PAGEOFF
adrp x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead@PAGE
add x4, x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead@PAGEOFF
mov w5, #1
bl ___ecereNameSpace__ecere__com__eClass_AddProperty
ldr x9, [sp, #24] ; 8-byte Folded Reload
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
str x0, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
ldur x8, [x29, #-8]
ldr x8, [x8, #24]
ldr x9, [x9]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB26_9
b LBB26_8
LBB26_8:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
ldr x9, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
adrp x10, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
str x9, [x10, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
; kill: def $x9 killed $xzr
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
b LBB26_9
LBB26_9:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB26_11
b LBB26_10
LBB26_10:
ldur x9, [x29, #-16]
mov w8, #1
str w8, [x9, #436]
b LBB26_11
LBB26_11:
ldur x3, [x29, #-8]
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
adrp x2, ___ecereNameSpace__ecere__sys__FileOpenBuffered@PAGE
add x2, x2, ___ecereNameSpace__ecere__sys__FileOpenBuffered@PAGEOFF
mov w4, #1
bl ___ecereNameSpace__ecere__com__eSystem_RegisterFunction
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Write
.zerofill __DATA,__bss,___ecereClass___ecereNameSpace__ecere__sys__BufferedFile,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__BufferedFile
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ; @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ; @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ; @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ecere::sys::BufferedFile"
l_.str.1: ; @.str.1
.asciz "ecere::sys::File"
l_.str.2: ; @.str.2
.asciz "Seek"
l_.str.3: ; @.str.3
.asciz "Seek64"
l_.str.4: ; @.str.4
.asciz "Tell"
l_.str.5: ; @.str.5
.asciz "Read"
l_.str.6: ; @.str.6
.asciz "Write"
l_.str.7: ; @.str.7
.asciz "Getc"
l_.str.8: ; @.str.8
.asciz "Putc"
l_.str.9: ; @.str.9
.asciz "Puts"
l_.str.10: ; @.str.10
.asciz "Eof"
l_.str.11: ; @.str.11
.asciz "Truncate"
l_.str.12: ; @.str.12
.asciz "GetSize"
l_.str.13: ; @.str.13
.asciz "CloseInput"
l_.str.14: ; @.str.14
.asciz "CloseOutput"
l_.str.15: ; @.str.15
.asciz "Lock"
l_.str.16: ; @.str.16
.asciz "Unlock"
l_.str.17: ; @.str.17
.asciz "handle"
l_.str.18: ; @.str.18
.asciz "bufferSize"
l_.str.19: ; @.str.19
.asciz "uint"
l_.str.20: ; @.str.20
.asciz "bufferRead"
l_.str.21: ; @.str.21
.asciz "ecere::sys::FileOpenBuffered"
l_.str.22: ; @.str.22
.asciz "ecere::sys::BufferedFile ecere::sys::FileOpenBuffered(const char * fileName, ecere::sys::FileOpenMode mode)"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile ## -- Begin function __ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 4, 0x90
___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile: ## @__ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -8(%rbp), %rdi
movl $524288, %esi ## imm = 0x80000
callq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
movq -8(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
callq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
movl $1, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.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)
cmpq $0, -8(%rbp)
je LBB1_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB1_3
LBB1_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB1_3
LBB1_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 16(%rax)
movq -24(%rbp), %rax
movq 40(%rax), %rdi
movl -12(%rbp), %eax
## kill: def $rax killed $eax
shlq $0, %rax
movl %eax, %esi
callq ___ecereNameSpace__ecere__com__eSystem_Renew
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 40(%rax)
movq -24(%rbp), %rax
movl 20(%rax), %eax
movq -24(%rbp), %rcx
cmpl 16(%rcx), %eax
jbe LBB1_5
## %bb.4:
movq -24(%rbp), %rax
movl 16(%rax), %ecx
movq -24(%rbp), %rax
movl %ecx, 20(%rax)
LBB1_5:
movq -8(%rbp), %rdi
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq -8(%rbp), %rdi
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.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)
cmpq $0, -8(%rbp)
je LBB2_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB2_3
LBB2_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB2_3
LBB2_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, 52(%rax)
movq -8(%rbp), %rdi
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq -8(%rbp), %rdi
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile ## -- Begin function __ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 4, 0x90
___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile: ## @__ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB3_3
LBB3_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB3_3
LBB3_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_DecRef
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movq 40(%rax), %rdi
callq ___ecereNameSpace__ecere__com__eSystem_Delete
movq -16(%rbp), %rax
movq $0, 40(%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB4_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB4_3
LBB4_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB4_3
LBB4_3:
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je LBB4_5
## %bb.4:
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB4_6
LBB4_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB4_6:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je LBB4_8
## %bb.7:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rdi
callq *%rax
jmp LBB4_9
LBB4_8:
jmp LBB4_9
LBB4_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB5_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB5_3
LBB5_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB5_3
LBB5_3:
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je LBB5_5
## %bb.4:
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB5_6
LBB5_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB5_6:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je LBB5_8
## %bb.7:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rdi
callq *%rax
jmp LBB5_9
LBB5_8:
jmp LBB5_9
LBB5_9:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl %ecx, -32(%rbp)
cmpq $0, -16(%rbp)
je LBB6_2
## %bb.1:
movq -16(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -168(%rbp) ## 8-byte Spill
jmp LBB6_3
LBB6_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -168(%rbp) ## 8-byte Spill
jmp LBB6_3
LBB6_3:
movq -168(%rbp), %rax ## 8-byte Reload
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
cmpq $0, 8(%rax)
je LBB6_45
## %bb.4:
movl $0, -44(%rbp)
movq -40(%rbp), %rax
movl 20(%rax), %eax
movl %eax, -48(%rbp)
movq -40(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -56(%rbp)
movq -40(%rbp), %rax
movq 40(%rax), %rax
addq -56(%rbp), %rax
movq %rax, -64(%rbp)
movl -32(%rbp), %eax
movl %eax, -68(%rbp)
movl -28(%rbp), %eax
imull -68(%rbp), %eax
movl %eax, -68(%rbp)
LBB6_5: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
## kill: def $rax killed $eax
cmpq -56(%rbp), %rax
jbe LBB6_7
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
movl -48(%rbp), %eax
## kill: def $rax killed $eax
subq -56(%rbp), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
jmp LBB6_8
LBB6_7: ## in Loop: Header=BB6_5 Depth=1
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -176(%rbp) ## 8-byte Spill
jmp LBB6_8
LBB6_8: ## in Loop: Header=BB6_5 Depth=1
movq -176(%rbp), %rax ## 8-byte Reload
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movl -68(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jbe LBB6_10
## %bb.9: ## in Loop: Header=BB6_5 Depth=1
movl -68(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp)
LBB6_10: ## in Loop: Header=BB6_5 Depth=1
cmpq $0, -80(%rbp)
je LBB6_12
## %bb.11: ## in Loop: Header=BB6_5 Depth=1
movq -24(%rbp), %rdi
movl -44(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rdi
movq -64(%rbp), %rsi
movq -80(%rbp), %rdx
callq _memcpy
movq -80(%rbp), %rax
addq -56(%rbp), %rax
movq %rax, -56(%rbp)
movq -80(%rbp), %rcx
movl -44(%rbp), %eax
## kill: def $rax killed $eax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -44(%rbp)
movq -80(%rbp), %rcx
movl -68(%rbp), %eax
## kill: def $rax killed $eax
subq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
LBB6_12: ## in Loop: Header=BB6_5 Depth=1
cmpl $0, -68(%rbp)
je LBB6_42
## %bb.13: ## in Loop: Header=BB6_5 Depth=1
movl -68(%rbp), %eax
movq -40(%rbp), %rcx
cmpl 16(%rcx), %eax
jae LBB6_26
## %bb.14: ## in Loop: Header=BB6_5 Depth=1
movq -40(%rbp), %rax
movl 52(%rax), %eax
movl %eax, -92(%rbp)
movl -68(%rbp), %eax
cmpl -92(%rbp), %eax
jbe LBB6_16
## %bb.15: ## in Loop: Header=BB6_5 Depth=1
movl -68(%rbp), %eax
movl %eax, -180(%rbp) ## 4-byte Spill
jmp LBB6_17
LBB6_16: ## in Loop: Header=BB6_5 Depth=1
movl -92(%rbp), %eax
movl %eax, -180(%rbp) ## 4-byte Spill
LBB6_17: ## in Loop: Header=BB6_5 Depth=1
movl -180(%rbp), %eax ## 4-byte Reload
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp)
movq -56(%rbp), %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jbe LBB6_23
## %bb.18: ## in Loop: Header=BB6_5 Depth=1
movq -56(%rbp), %rax
movl -68(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
subq %rcx, %rax
cmpq -88(%rbp), %rax
jbe LBB6_21
## %bb.19: ## in Loop: Header=BB6_5 Depth=1
movq -56(%rbp), %rax
movl -68(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
subq %rcx, %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jae LBB6_21
## %bb.20: ## in Loop: Header=BB6_5 Depth=1
movq -56(%rbp), %rax
movl -68(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
subq %rcx, %rax
movq %rax, -88(%rbp)
jmp LBB6_22
LBB6_21: ## in Loop: Header=BB6_5 Depth=1
movq $0, -56(%rbp)
movl $0, -48(%rbp)
LBB6_22: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_23
LBB6_23: ## in Loop: Header=BB6_5 Depth=1
movl -48(%rbp), %eax
## kill: def $rax killed $eax
addq -88(%rbp), %rax
movq -40(%rbp), %rcx
movl 16(%rcx), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jbe LBB6_25
## %bb.24: ## in Loop: Header=BB6_5 Depth=1
movq $0, -56(%rbp)
movl $0, -48(%rbp)
LBB6_25: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_27
LBB6_26: ## in Loop: Header=BB6_5 Depth=1
movq -40(%rbp), %rax
movl 16(%rax), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp)
movq $0, -56(%rbp)
movl $0, -48(%rbp)
LBB6_27: ## in Loop: Header=BB6_5 Depth=1
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -112(%rbp)
cmpq $0, -112(%rbp)
je LBB6_29
## %bb.28: ## in Loop: Header=BB6_5 Depth=1
movq -112(%rbp), %rax
movq (%rax), %rax
movq %rax, -192(%rbp) ## 8-byte Spill
jmp LBB6_30
LBB6_29: ## in Loop: Header=BB6_5 Depth=1
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -192(%rbp) ## 8-byte Spill
LBB6_30: ## in Loop: Header=BB6_5 Depth=1
movq -192(%rbp), %rax ## 8-byte Reload
movq %rax, -120(%rbp)
movq -120(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -104(%rbp)
cmpq $0, -104(%rbp)
je LBB6_32
## %bb.31: ## in Loop: Header=BB6_5 Depth=1
movq -104(%rbp), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rdi
movq -40(%rbp), %rcx
movq 32(%rcx), %rsi
movl -44(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rsi
subq -56(%rbp), %rsi
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rsi
xorl %edx, %edx
callq *%rax
movl %eax, -196(%rbp) ## 4-byte Spill
jmp LBB6_33
LBB6_32: ## in Loop: Header=BB6_5 Depth=1
movl $1, %eax
movl %eax, -196(%rbp) ## 4-byte Spill
jmp LBB6_33
LBB6_33: ## in Loop: Header=BB6_5 Depth=1
movl -196(%rbp), %eax ## 4-byte Reload
movl %eax, -124(%rbp)
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -144(%rbp)
cmpq $0, -144(%rbp)
je LBB6_35
## %bb.34: ## in Loop: Header=BB6_5 Depth=1
movq -144(%rbp), %rax
movq (%rax), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
jmp LBB6_36
LBB6_35: ## in Loop: Header=BB6_5 Depth=1
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -208(%rbp) ## 8-byte Spill
LBB6_36: ## in Loop: Header=BB6_5 Depth=1
movq -208(%rbp), %rax ## 8-byte Reload
movq %rax, -152(%rbp)
movq -152(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -136(%rbp)
cmpq $0, -136(%rbp)
je LBB6_38
## %bb.37: ## in Loop: Header=BB6_5 Depth=1
movq -136(%rbp), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rdi
movq -40(%rbp), %rcx
movq 40(%rcx), %rsi
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rsi
movq -88(%rbp), %rcx
## kill: def $ecx killed $ecx killed $rcx
movl $1, %edx
callq *%rax
movl %eax, -212(%rbp) ## 4-byte Spill
jmp LBB6_39
LBB6_38: ## in Loop: Header=BB6_5 Depth=1
movl $1, %eax
movl %eax, -212(%rbp) ## 4-byte Spill
jmp LBB6_39
LBB6_39: ## in Loop: Header=BB6_5 Depth=1
movl -212(%rbp), %eax ## 4-byte Reload
movl %eax, -156(%rbp)
movslq -156(%rbp), %rax
movq %rax, -88(%rbp)
movq -40(%rbp), %rax
movq 40(%rax), %rax
addq -56(%rbp), %rax
movq %rax, -64(%rbp)
movq -88(%rbp), %rcx
movl -48(%rbp), %eax
## kill: def $rax killed $eax
addq %rcx, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -48(%rbp)
cmpq $0, -88(%rbp)
jne LBB6_41
## %bb.40:
movq -40(%rbp), %rax
movl $1, 48(%rax)
jmp LBB6_44
LBB6_41: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_43
LBB6_42:
jmp LBB6_44
LBB6_43: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_5
LBB6_44:
movl -48(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, 20(%rax)
movq -56(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 24(%rax)
movl -44(%rbp), %eax
movl %eax, %ecx
movq -40(%rbp), %rax
addq 32(%rax), %rcx
movq %rcx, 32(%rax)
movl -44(%rbp), %eax
xorl %edx, %edx
divl -28(%rbp)
movl %eax, -4(%rbp)
jmp LBB6_46
LBB6_45:
movl $0, -4(%rbp)
LBB6_46:
movl -4(%rbp), %eax
addq $224, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
cmpq $0, -8(%rbp)
je LBB7_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -152(%rbp) ## 8-byte Spill
jmp LBB7_3
LBB7_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -152(%rbp) ## 8-byte Spill
jmp LBB7_3
LBB7_3:
movq -152(%rbp), %rax ## 8-byte Reload
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -88(%rbp)
cmpq $0, -88(%rbp)
je LBB7_5
## %bb.4:
movq -88(%rbp), %rax
movq (%rax), %rax
movq %rax, -160(%rbp) ## 8-byte Spill
jmp LBB7_6
LBB7_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -160(%rbp) ## 8-byte Spill
LBB7_6:
movq -160(%rbp), %rax ## 8-byte Reload
movq %rax, -96(%rbp)
movq -96(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
je LBB7_8
## %bb.7:
movq -80(%rbp), %rax
movq -48(%rbp), %rcx
movq 8(%rcx), %rdi
movq -48(%rbp), %rcx
movq 32(%rcx), %rsi
xorl %edx, %edx
callq *%rax
movl %eax, -164(%rbp) ## 4-byte Spill
jmp LBB7_9
LBB7_8:
movl $1, %eax
movl %eax, -164(%rbp) ## 4-byte Spill
jmp LBB7_9
LBB7_9:
movl -164(%rbp), %eax ## 4-byte Reload
movl %eax, -100(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -120(%rbp)
cmpq $0, -120(%rbp)
je LBB7_11
## %bb.10:
movq -120(%rbp), %rax
movq (%rax), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
jmp LBB7_12
LBB7_11:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
LBB7_12:
movq -176(%rbp), %rax ## 8-byte Reload
movq %rax, -128(%rbp)
movq -128(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -112(%rbp)
cmpq $0, -112(%rbp)
je LBB7_14
## %bb.13:
movq -112(%rbp), %rax
movq -48(%rbp), %rcx
movq 8(%rcx), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
callq *%rax
movl %eax, -180(%rbp) ## 4-byte Spill
jmp LBB7_15
LBB7_14:
movl $1, %eax
movl %eax, -180(%rbp) ## 4-byte Spill
jmp LBB7_15
LBB7_15:
movl -180(%rbp), %eax ## 4-byte Reload
movl %eax, -132(%rbp)
movl -132(%rbp), %eax
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
imull -20(%rbp), %eax
movl %eax, -56(%rbp)
movq -48(%rbp), %rax
movl 16(%rax), %eax
## kill: def $rax killed $eax
movq -48(%rbp), %rcx
cmpq 24(%rcx), %rax
jbe LBB7_17
## %bb.16:
movq -48(%rbp), %rax
movl 16(%rax), %eax
## kill: def $rax killed $eax
movq -48(%rbp), %rcx
subq 24(%rcx), %rax
movq %rax, -192(%rbp) ## 8-byte Spill
jmp LBB7_18
LBB7_17:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -192(%rbp) ## 8-byte Spill
jmp LBB7_18
LBB7_18:
movq -192(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movl -56(%rbp), %eax
## kill: def $rax killed $eax
subq -64(%rbp), %rax
movq %rax, -72(%rbp)
movl -56(%rbp), %eax
movl %eax, %ecx
movq -48(%rbp), %rax
addq 32(%rax), %rcx
movq %rcx, 32(%rax)
movq -48(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
jbe LBB7_20
## %bb.19:
movq -32(%rbp), %rax
movq %rax, -200(%rbp) ## 8-byte Spill
jmp LBB7_21
LBB7_20:
movq -40(%rbp), %rax
movq %rax, -200(%rbp) ## 8-byte Spill
LBB7_21:
movq -200(%rbp), %rcx ## 8-byte Reload
movq -48(%rbp), %rax
movq %rcx, 56(%rax)
movq -64(%rbp), %rax
movl -56(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jae LBB7_26
## %bb.22:
movq -48(%rbp), %rax
movl 20(%rax), %eax
## kill: def $rax killed $eax
movq -48(%rbp), %rcx
cmpq 24(%rcx), %rax
jb LBB7_26
## %bb.23:
movl -56(%rbp), %eax
movq -48(%rbp), %rcx
cmpl 16(%rcx), %eax
jae LBB7_26
## %bb.24:
movq -72(%rbp), %rax
movq -48(%rbp), %rcx
cmpq 24(%rcx), %rax
jae LBB7_26
## %bb.25:
movq -48(%rbp), %rax
movq 40(%rax), %rdi
movq -48(%rbp), %rax
movq 40(%rax), %rsi
addq -72(%rbp), %rsi
movq -48(%rbp), %rax
movq 24(%rax), %rdx
subq -72(%rbp), %rdx
callq _memcpy
movq -72(%rbp), %rdx
movq -48(%rbp), %rax
movq 24(%rax), %rcx
subq %rdx, %rcx
movq %rcx, 24(%rax)
movq -72(%rbp), %rdx
movq -48(%rbp), %rax
movl 20(%rax), %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
movl %ecx, 20(%rax)
movq -72(%rbp), %rax
addq -64(%rbp), %rax
movq %rax, -64(%rbp)
LBB7_26:
movq -64(%rbp), %rax
movl -56(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jb LBB7_31
## %bb.27:
movl -56(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp)
movq -48(%rbp), %rax
movq 40(%rax), %rdi
movq -48(%rbp), %rax
addq 24(%rax), %rdi
movq -16(%rbp), %rsi
movq -64(%rbp), %rdx
callq _memcpy
movq -64(%rbp), %rcx
movq -48(%rbp), %rax
addq 24(%rax), %rcx
movq %rcx, 24(%rax)
movq -48(%rbp), %rax
movl 20(%rax), %eax
movl %eax, -136(%rbp)
movq -48(%rbp), %rax
movq 24(%rax), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -140(%rbp)
movl -136(%rbp), %eax
cmpl -140(%rbp), %eax
jbe LBB7_29
## %bb.28:
movl -136(%rbp), %eax
movl %eax, -204(%rbp) ## 4-byte Spill
jmp LBB7_30
LBB7_29:
movl -140(%rbp), %eax
movl %eax, -204(%rbp) ## 4-byte Spill
LBB7_30:
movl -204(%rbp), %ecx ## 4-byte Reload
movq -48(%rbp), %rax
movl %ecx, 20(%rax)
jmp LBB7_35
LBB7_31:
movq -48(%rbp), %rax
movl 16(%rax), %eax
movl %eax, -144(%rbp)
movl -56(%rbp), %eax
cmpl -144(%rbp), %eax
jae LBB7_33
## %bb.32:
movl -56(%rbp), %eax
movl %eax, -208(%rbp) ## 4-byte Spill
jmp LBB7_34
LBB7_33:
movl -144(%rbp), %eax
movl %eax, -208(%rbp) ## 4-byte Spill
LBB7_34:
movl -208(%rbp), %eax ## 4-byte Reload
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp)
movq -48(%rbp), %rax
movq 40(%rax), %rdi
movq -16(%rbp), %rsi
movl -56(%rbp), %eax
## kill: def $rax killed $eax
addq %rax, %rsi
xorl %eax, %eax
## kill: def $rax killed $eax
subq -64(%rbp), %rax
addq %rax, %rsi
movq -64(%rbp), %rdx
callq _memcpy
movq -64(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 24(%rax)
movq -64(%rbp), %rax
movl %eax, %ecx
movq -48(%rbp), %rax
movl %ecx, 20(%rax)
LBB7_35:
movl -52(%rbp), %eax
addq $208, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_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 $144, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $0, -16(%rbp)
je LBB8_2
## %bb.1:
movq -16(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
jmp LBB8_3
LBB8_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
jmp LBB8_3
LBB8_3:
movq -104(%rbp), %rax ## 8-byte Reload
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
cmpq $0, 8(%rax)
je LBB8_24
## %bb.4:
jmp LBB8_5
LBB8_5: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movl 20(%rax), %eax
## kill: def $rax killed $eax
movq -32(%rbp), %rcx
cmpq 24(%rcx), %rax
jbe LBB8_7
## %bb.6:
movq -32(%rbp), %rax
movq 40(%rax), %rax
movq -32(%rbp), %rcx
movq 24(%rcx), %rcx
movb (%rax,%rcx), %cl
movq -24(%rbp), %rax
movb %cl, (%rax)
movq -32(%rbp), %rax
movq 24(%rax), %rcx
addq $1, %rcx
movq %rcx, 24(%rax)
movq -32(%rbp), %rax
movq 32(%rax), %rcx
addq $1, %rcx
movq %rcx, 32(%rax)
movl $1, -4(%rbp)
jmp LBB8_25
LBB8_7: ## in Loop: Header=BB8_5 Depth=1
movq -32(%rbp), %rax
movq $0, 24(%rax)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB8_9
## %bb.8: ## in Loop: Header=BB8_5 Depth=1
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
jmp LBB8_10
LBB8_9: ## in Loop: Header=BB8_5 Depth=1
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
LBB8_10: ## in Loop: Header=BB8_5 Depth=1
movq -112(%rbp), %rax ## 8-byte Reload
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB8_12
## %bb.11: ## in Loop: Header=BB8_5 Depth=1
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
movq 8(%rcx), %rdi
movq -32(%rbp), %rcx
movq 32(%rcx), %rsi
xorl %edx, %edx
callq *%rax
movl %eax, -116(%rbp) ## 4-byte Spill
jmp LBB8_13
LBB8_12: ## in Loop: Header=BB8_5 Depth=1
movl $1, %eax
movl %eax, -116(%rbp) ## 4-byte Spill
jmp LBB8_13
LBB8_13: ## in Loop: Header=BB8_5 Depth=1
movl -116(%rbp), %eax ## 4-byte Reload
movl %eax, -60(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -80(%rbp)
cmpq $0, -80(%rbp)
je LBB8_15
## %bb.14: ## in Loop: Header=BB8_5 Depth=1
movq -80(%rbp), %rax
movq (%rax), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
jmp LBB8_16
LBB8_15: ## in Loop: Header=BB8_5 Depth=1
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
LBB8_16: ## in Loop: Header=BB8_5 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
movq %rax, -88(%rbp)
movq -88(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -72(%rbp)
cmpq $0, -72(%rbp)
je LBB8_18
## %bb.17: ## in Loop: Header=BB8_5 Depth=1
movq -72(%rbp), %rax
movq -32(%rbp), %rcx
movq 8(%rcx), %rdi
movq -32(%rbp), %rcx
movq 40(%rcx), %rsi
movq -32(%rbp), %rcx
movl 16(%rcx), %ecx
movl $1, %edx
callq *%rax
movl %eax, -132(%rbp) ## 4-byte Spill
jmp LBB8_19
LBB8_18: ## in Loop: Header=BB8_5 Depth=1
movl $1, %eax
movl %eax, -132(%rbp) ## 4-byte Spill
jmp LBB8_19
LBB8_19: ## in Loop: Header=BB8_5 Depth=1
movl -132(%rbp), %eax ## 4-byte Reload
movl %eax, -92(%rbp)
movl -92(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, 20(%rax)
movq -32(%rbp), %rax
cmpl $0, 20(%rax)
jne LBB8_21
## %bb.20:
movq -32(%rbp), %rax
movl $1, 48(%rax)
jmp LBB8_23
LBB8_21: ## in Loop: Header=BB8_5 Depth=1
jmp LBB8_22
LBB8_22: ## in Loop: Header=BB8_5 Depth=1
jmp LBB8_5
LBB8_23:
jmp LBB8_24
LBB8_24:
movl $0, -4(%rbp)
LBB8_25:
movl -4(%rbp), %eax
addq $144, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.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
movb %sil, %al
movq %rdi, -8(%rbp)
movb %al, -9(%rbp)
cmpq $0, -8(%rbp)
je LBB9_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB9_3
LBB9_3:
movq -72(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB9_5
## %bb.4:
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB9_6
LBB9_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rax
movq 32(%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB9_6:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB9_8
## %bb.7:
movq -40(%rbp), %rax
movq -8(%rbp), %rdi
leaq -9(%rbp), %rsi
movl $1, %ecx
movl %ecx, %edx
callq *%rax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB9_9
LBB9_8:
movl $1, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB9_9
LBB9_9:
movl -84(%rbp), %eax ## 4-byte Reload
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
setne %al
andb $1, %al
movzbl %al, %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_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 $96, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpq $0, -8(%rbp)
je LBB10_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB10_3
LBB10_3:
movq -72(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -28(%rbp)
movq -8(%rbp), %rax
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB10_5
## %bb.4:
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB10_6
LBB10_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rax
movq 32(%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB10_6:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
je LBB10_8
## %bb.7:
movq -40(%rbp), %rax
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -28(%rbp), %ecx
movl $1, %edx
callq *%rax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB10_9
LBB10_8:
movl $1, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB10_9
LBB10_9:
movl -84(%rbp), %eax ## 4-byte Reload
movl %eax, -60(%rbp)
movl -60(%rbp), %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
sete %al
andb $1, %al
movzbl %al, %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64 ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
cmpq $0, -8(%rbp)
je LBB11_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB11_3
LBB11_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB11_3
LBB11_3:
movq -120(%rbp), %rax ## 8-byte Reload
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -40(%rbp)
movl -20(%rbp), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB11_4
jmp LBB11_35
LBB11_35:
movl -124(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB11_5
jmp LBB11_36
LBB11_36:
movl -124(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB11_6
jmp LBB11_7
LBB11_4:
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
jmp LBB11_7
LBB11_5:
movq -16(%rbp), %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
jmp LBB11_7
LBB11_6:
movq -32(%rbp), %rax
movq 56(%rax), %rax
addq -16(%rbp), %rax
movq %rax, -40(%rbp)
LBB11_7:
movq -32(%rbp), %rax
movq 32(%rax), %rax
cmpq -40(%rbp), %rax
je LBB11_34
## %bb.8:
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
movq 32(%rcx), %rcx
movq -32(%rbp), %rdx
subq 24(%rdx), %rcx
cmpq %rcx, %rax
jb LBB11_32
## %bb.9:
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
movq 32(%rcx), %rcx
movq -32(%rbp), %rdx
movl 16(%rdx), %edx
## kill: def $rdx killed $edx
addq %rdx, %rcx
cmpq %rcx, %rax
jae LBB11_32
## %bb.10:
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
movq 32(%rcx), %rcx
movq -32(%rbp), %rdx
subq 24(%rdx), %rcx
movq -32(%rbp), %rdx
movl 20(%rdx), %edx
## kill: def $rdx killed $edx
addq %rdx, %rcx
cmpq %rcx, %rax
jae LBB11_12
## %bb.11:
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq 32(%rax), %rcx
movq -32(%rbp), %rax
addq 24(%rax), %rcx
movq %rcx, 24(%rax)
jmp LBB11_31
LBB11_12:
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
subq 32(%rcx), %rax
movq -32(%rbp), %rcx
movl 20(%rcx), %ecx
## kill: def $rcx killed $ecx
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq -32(%rbp), %rcx
movl 20(%rcx), %ecx
shll $1, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jae LBB11_29
## %bb.13:
movq -48(%rbp), %rax
movq -32(%rbp), %rcx
movl 16(%rcx), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jbe LBB11_15
## %bb.14:
movq -32(%rbp), %rax
movl $0, 20(%rax)
movq -32(%rbp), %rax
movq $0, 24(%rax)
jmp LBB11_28
LBB11_15:
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
je LBB11_17
## %bb.16:
movq -64(%rbp), %rax
movq (%rax), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
jmp LBB11_18
LBB11_17:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
LBB11_18:
movq -136(%rbp), %rax ## 8-byte Reload
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB11_20
## %bb.19:
movq -56(%rbp), %rax
movq -32(%rbp), %rcx
movq 8(%rcx), %rdi
movq -32(%rbp), %rcx
movq 32(%rcx), %rsi
movq -32(%rbp), %rcx
subq 24(%rcx), %rsi
movq -32(%rbp), %rcx
movl 20(%rcx), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rsi
xorl %edx, %edx
callq *%rax
movl %eax, -140(%rbp) ## 4-byte Spill
jmp LBB11_21
LBB11_20:
movl $1, %eax
movl %eax, -140(%rbp) ## 4-byte Spill
jmp LBB11_21
LBB11_21:
movl -140(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp)
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -96(%rbp)
cmpq $0, -96(%rbp)
je LBB11_23
## %bb.22:
movq -96(%rbp), %rax
movq (%rax), %rax
movq %rax, -152(%rbp) ## 8-byte Spill
jmp LBB11_24
LBB11_23:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -152(%rbp) ## 8-byte Spill
LBB11_24:
movq -152(%rbp), %rax ## 8-byte Reload
movq %rax, -104(%rbp)
movq -104(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -88(%rbp)
cmpq $0, -88(%rbp)
je LBB11_26
## %bb.25:
movq -88(%rbp), %rax
movq -32(%rbp), %rcx
movq 8(%rcx), %rdi
movq -32(%rbp), %rcx
movq 40(%rcx), %rsi
movq -32(%rbp), %rcx
movl 20(%rcx), %ecx
## kill: def $rcx killed $ecx
addq %rcx, %rsi
movq -48(%rbp), %rcx
## kill: def $ecx killed $ecx killed $rcx
movl $1, %edx
callq *%rax
movl %eax, -156(%rbp) ## 4-byte Spill
jmp LBB11_27
LBB11_26:
movl $1, %eax
movl %eax, -156(%rbp) ## 4-byte Spill
jmp LBB11_27
LBB11_27:
movl -156(%rbp), %eax ## 4-byte Reload
movl %eax, -108(%rbp)
movslq -108(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq 32(%rax), %rcx
movq -32(%rbp), %rax
addq 24(%rax), %rcx
movq %rcx, 24(%rax)
movq -48(%rbp), %rdx
movq -32(%rbp), %rax
movl 20(%rax), %ecx
## kill: def $rcx killed $ecx
addq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
movl %ecx, 20(%rax)
LBB11_28:
jmp LBB11_30
LBB11_29:
movq -32(%rbp), %rax
movl $0, 20(%rax)
movq -32(%rbp), %rax
movq $0, 24(%rax)
LBB11_30:
jmp LBB11_31
LBB11_31:
jmp LBB11_33
LBB11_32:
movq -32(%rbp), %rax
movl $0, 20(%rax)
movq -32(%rbp), %rax
movq $0, 24(%rax)
LBB11_33:
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
cmpq 56(%rcx), %rax
seta %al
andb $1, %al
movzbl %al, %ecx
movq -32(%rbp), %rax
movl %ecx, 48(%rax)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 32(%rax)
LBB11_34:
movl $1, %eax
addq $160, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.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)
cmpq $0, -8(%rbp)
je LBB12_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_3
LBB12_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB12_3
LBB12_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 32(%rax), %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.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)
cmpq $0, -8(%rbp)
je LBB13_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB13_3
LBB13_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB13_3
LBB13_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl 48(%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.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)
cmpq $0, -8(%rbp)
je LBB14_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_3
LBB14_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB14_3
LBB14_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 56(%rax), %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
cmpq $0, -8(%rbp)
je LBB15_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB15_3
LBB15_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB15_3
LBB15_3:
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -40(%rbp)
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq -40(%rbp), %rcx
movq 32(%rcx), %rcx
movq -40(%rbp), %rdx
subq 24(%rdx), %rcx
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
je LBB15_5
## %bb.4:
movq -64(%rbp), %rax
movq (%rax), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
jmp LBB15_6
LBB15_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
LBB15_6:
movq -96(%rbp), %rax ## 8-byte Reload
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB15_8
## %bb.7:
movq -56(%rbp), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rdi
movl -12(%rbp), %esi
callq *%rax
movl %eax, -100(%rbp) ## 4-byte Spill
jmp LBB15_9
LBB15_8:
movl $1, %eax
movl %eax, -100(%rbp) ## 4-byte Spill
jmp LBB15_9
LBB15_9:
movl -100(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp)
movq -40(%rbp), %rax
movl 20(%rax), %eax
movl %eax, -28(%rbp)
movl -28(%rbp), %eax
## kill: def $rax killed $eax
cmpq -48(%rbp), %rax
jae LBB15_11
## %bb.10:
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
jmp LBB15_12
LBB15_11:
movq -48(%rbp), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
LBB15_12:
movq -112(%rbp), %rax ## 8-byte Reload
movl %eax, %ecx
movq -40(%rbp), %rax
movl %ecx, 20(%rax)
movq -40(%rbp), %rax
movq 56(%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq %rcx, %rax
jae LBB15_14
## %bb.13:
movq -24(%rbp), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB15_15
LBB15_14:
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -120(%rbp) ## 8-byte Spill
LBB15_15:
movq -120(%rbp), %rcx ## 8-byte Reload
movq -40(%rbp), %rax
movq %rcx, 56(%rax)
movl $1, %eax
addq $128, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movq %rcx, -32(%rbp)
movl %r8d, -36(%rbp)
cmpq $0, -8(%rbp)
je LBB16_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB16_3
LBB16_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB16_3
LBB16_3:
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
je LBB16_5
## %bb.4:
movq -64(%rbp), %rax
movq (%rax), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
jmp LBB16_6
LBB16_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
LBB16_6:
movq -96(%rbp), %rax ## 8-byte Reload
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB16_8
## %bb.7:
movq -56(%rbp), %rax
movq -48(%rbp), %rcx
movq 8(%rcx), %rdi
movl -12(%rbp), %esi
movq -24(%rbp), %rdx
movq -32(%rbp), %rcx
movl -36(%rbp), %r8d
callq *%rax
movl %eax, -100(%rbp) ## 4-byte Spill
jmp LBB16_9
LBB16_8:
movl $1, %eax
movl %eax, -100(%rbp) ## 4-byte Spill
jmp LBB16_9
LBB16_9:
movl -100(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
cmpq $0, -8(%rbp)
je LBB17_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB17_3
LBB17_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB17_3
LBB17_3:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB17_5
## %bb.4:
movq -56(%rbp), %rax
movq (%rax), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB17_6
LBB17_5:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
LBB17_6:
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB17_8
## %bb.7:
movq -48(%rbp), %rax
movq -40(%rbp), %rcx
movq 8(%rcx), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
movl -28(%rbp), %ecx
callq *%rax
movl %eax, -92(%rbp) ## 4-byte Spill
jmp LBB17_9
LBB17_8:
movl $1, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
jmp LBB17_9
LBB17_9:
movl -92(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movl -68(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.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)
cmpq $0, -8(%rbp)
je LBB18_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB18_3
LBB18_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB18_3
LBB18_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.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)
cmpq $0, -8(%rbp)
je LBB19_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB19_3
LBB19_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB19_3
LBB19_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB19_5
## %bb.4:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_DecRef
movq -24(%rbp), %rax
movq $0, 8(%rax)
LBB19_5:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movl $0, 20(%rax)
movq -24(%rbp), %rax
movq $0, 24(%rax)
movq -24(%rbp), %rax
movq $0, 32(%rax)
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB19_7
## %bb.6:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movl 16(%rax), %ecx
addl $1, %ecx
movl %ecx, 16(%rax)
LBB19_7:
movq -8(%rbp), %rdi
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq -8(%rbp), %rdi
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.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)
cmpq $0, -8(%rbp)
je LBB20_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB20_3
LBB20_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB20_3
LBB20_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl 16(%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.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)
cmpq $0, -8(%rbp)
je LBB21_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB21_3
LBB21_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
jmp LBB21_3
LBB21_3:
movq -24(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl 52(%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereNameSpace__ecere__sys__FileOpenBuffered ## -- Begin function __ecereNameSpace__ecere__sys__FileOpenBuffered
.p2align 4, 0x90
___ecereNameSpace__ecere__sys__FileOpenBuffered: ## @__ecereNameSpace__ecere__sys__FileOpenBuffered
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq $0, -24(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
callq ___ecereNameSpace__ecere__sys__FileOpen
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je LBB22_8
## %bb.1:
movq ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_New
movq %rax, -40(%rbp)
movl -12(%rbp), %edx
movq -40(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
movl %edx, (%rax,%rcx)
movq -40(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
movq $0, 32(%rax,%rcx)
movq -40(%rbp), %rdi
movq -32(%rbp), %rsi
callq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
movq -32(%rbp), %rax
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
je LBB22_3
## %bb.2:
movq -56(%rbp), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
jmp LBB22_4
LBB22_3:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 32(%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
LBB22_4:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
je LBB22_6
## %bb.5:
movq -48(%rbp), %rax
movq -32(%rbp), %rdi
callq *%rax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB22_7
LBB22_6:
movl $1, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB22_7
LBB22_7:
movl -84(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movl -68(%rbp), %eax
movl %eax, %edx
movq -40(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
movq %rdx, 56(%rax,%rcx)
movq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rdi
movl $1, %esi
callq ___ecereProp___ecereNameSpace__ecere__sys__File_Set_buffered
movq -40(%rbp), %rax
movq %rax, -24(%rbp)
LBB22_8:
movq -24(%rbp), %rax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereUnregisterModule_BufferedFile ## -- Begin function __ecereUnregisterModule_BufferedFile
.p2align 4, 0x90
___ecereUnregisterModule_BufferedFile: ## @__ecereUnregisterModule_BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64 ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
cmpq $0, -8(%rbp)
je LBB24_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB24_3
LBB24_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp) ## 8-byte Spill
jmp LBB24_3
LBB24_3:
movq -40(%rbp), %rax ## 8-byte Reload
movq %rax, -32(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
callq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
cmpq $0, -8(%rbp)
je LBB25_2
## %bb.1:
movq -8(%rbp), %rax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB25_3
LBB25_2:
xorl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -32(%rbp) ## 8-byte Spill
jmp LBB25_3
LBB25_3:
movq -32(%rbp), %rax ## 8-byte Reload
movq %rax, -24(%rbp)
movq -8(%rbp), %rdi
movslq -12(%rbp), %rsi
movl -16(%rbp), %edx
callq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereRegisterModule_BufferedFile ## -- Begin function __ecereRegisterModule_BufferedFile
.p2align 4, 0x90
___ecereRegisterModule_BufferedFile: ## @__ecereRegisterModule_BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
xorl %r8d, %r8d
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
movl $64, %ecx
leaq ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile(%rip), %r9
leaq ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile(%rip), %r10
movl %r8d, %edi
movq %r10, (%rsp)
movq %rax, 8(%rsp)
movl $1, 16(%rsp)
movl $1, 24(%rsp)
callq ___ecereNameSpace__ecere__com__eSystem_RegisterClass
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq ___thisModule@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq 24(%rcx), %rax
jne LBB26_3
## %bb.1:
cmpq $0, -16(%rbp)
je LBB26_3
## %bb.2:
movq -16(%rbp), %rax
movq %rax, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip)
LBB26_3:
movq -16(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock(%rip), %rcx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
movq -16(%rbp), %rdi
leaq L_.str.17(%rip), %rsi
leaq L_.str.1(%rip), %rdx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle(%rip), %rcx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle(%rip), %r8
movl $1, %r9d
callq ___ecereNameSpace__ecere__com__eClass_AddProperty
movq %rax, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq ___thisModule@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq 24(%rcx), %rax
jne LBB26_5
## %bb.4:
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rax
movq %rax, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
LBB26_5:
movq -16(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
leaq L_.str.19(%rip), %rdx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize(%rip), %rcx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize(%rip), %r8
movl $1, %r9d
callq ___ecereNameSpace__ecere__com__eClass_AddProperty
movq %rax, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq ___thisModule@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq 24(%rcx), %rax
jne LBB26_7
## %bb.6:
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rax
movq %rax, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
LBB26_7:
movq -16(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
leaq L_.str.19(%rip), %rdx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead(%rip), %rcx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead(%rip), %r8
movl $1, %r9d
callq ___ecereNameSpace__ecere__com__eClass_AddProperty
movq %rax, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
movq -8(%rbp), %rax
movq 24(%rax), %rax
movq ___thisModule@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq 24(%rcx), %rax
jne LBB26_9
## %bb.8:
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rax
movq %rax, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
LBB26_9:
cmpq $0, -16(%rbp)
je LBB26_11
## %bb.10:
movq -16(%rbp), %rax
movl $1, 436(%rax)
LBB26_11:
movq -8(%rbp), %rcx
leaq L_.str.21(%rip), %rdi
leaq L_.str.22(%rip), %rsi
leaq ___ecereNameSpace__ecere__sys__FileOpenBuffered(%rip), %rdx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eSystem_RegisterFunction
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Write
.zerofill __DATA,__bss,___ecereClass___ecereNameSpace__ecere__sys__BufferedFile,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__BufferedFile
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ## @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ## @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ## @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ecere::sys::BufferedFile"
L_.str.1: ## @.str.1
.asciz "ecere::sys::File"
L_.str.2: ## @.str.2
.asciz "Seek"
L_.str.3: ## @.str.3
.asciz "Seek64"
L_.str.4: ## @.str.4
.asciz "Tell"
L_.str.5: ## @.str.5
.asciz "Read"
L_.str.6: ## @.str.6
.asciz "Write"
L_.str.7: ## @.str.7
.asciz "Getc"
L_.str.8: ## @.str.8
.asciz "Putc"
L_.str.9: ## @.str.9
.asciz "Puts"
L_.str.10: ## @.str.10
.asciz "Eof"
L_.str.11: ## @.str.11
.asciz "Truncate"
L_.str.12: ## @.str.12
.asciz "GetSize"
L_.str.13: ## @.str.13
.asciz "CloseInput"
L_.str.14: ## @.str.14
.asciz "CloseOutput"
L_.str.15: ## @.str.15
.asciz "Lock"
L_.str.16: ## @.str.16
.asciz "Unlock"
L_.str.17: ## @.str.17
.asciz "handle"
L_.str.18: ## @.str.18
.asciz "bufferSize"
L_.str.19: ## @.str.19
.asciz "uint"
L_.str.20: ## @.str.20
.asciz "bufferRead"
L_.str.21: ## @.str.21
.asciz "ecere::sys::FileOpenBuffered"
L_.str.22: ## @.str.22
.asciz "ecere::sys::BufferedFile ecere::sys::FileOpenBuffered(const char * fileName, ecere::sys::FileOpenMode mode)"
.subsections_via_symbols
|
the_stack_data/11076088.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _menu ; -- Begin function menu
.p2align 2
_menu: ; @menu
.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 x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
stur x0, [x29, #-24] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-24] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
stur x0, [x29, #-16] ; 8-byte Folded Spill
bl _printf
ldur x0, [x29, #-16] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
subs w8, w8, #4
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _execute_action ; -- Begin function execute_action
.p2align 2
_execute_action: ; @execute_action
.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, #1
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB1_6
; %bb.1:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_2:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB1_7
LBB1_3:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB1_7
LBB1_4:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_7
LBB1_5:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB1_7
LBB1_6:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB1_7
LBB1_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_2-Ltmp0
.long LBB1_3-Ltmp0
.long LBB1_4-Ltmp0
.long LBB1_5-Ltmp0
; -- 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]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
bl _menu
bl _execute_action
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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Select an action:\n"
l_.str.1: ; @.str.1
.asciz "1. Add new patron\n"
l_.str.2: ; @.str.2
.asciz "2. view all patrons\n"
l_.str.3: ; @.str.3
.asciz "3. view books\n"
l_.str.4: ; @.str.4
.asciz "4. Add new book\n"
l_.str.5: ; @.str.5
.asciz "Your action:"
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "Invalid action. Try again\n"
l_.str.8: ; @.str.8
.asciz "adding a new patron\n"
l_.str.9: ; @.str.9
.asciz "Here is a list of patrons \n"
l_.str.10: ; @.str.10
.asciz "Here is a list of all books\n"
l_.str.11: ; @.str.11
.asciz "adding a new book\n"
l_.str.12: ; @.str.12
.asciz "Invalid action.\n"
l_.str.13: ; @.str.13
.asciz "COUNTY LIBRARY SYSTEM\n"
l_.str.14: ; @.str.14
.asciz "WELCOME Ibrah/n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _menu ## -- Begin function menu
.p2align 4, 0x90
_menu: ## @menu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, -4(%rbp)
jl LBB0_2
## %bb.1:
cmpl $4, -4(%rbp)
jle LBB0_3
LBB0_2:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _execute_action ## -- Begin function execute_action
.p2align 4, 0x90
_execute_action: ## @execute_action
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -16(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB1_5
## %bb.7:
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_1:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_6
LBB1_2:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_6
LBB1_3:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_6
LBB1_4:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_6
LBB1_5:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
LBB1_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_1, LBB1_1-LJTI1_0
.set L1_0_set_2, LBB1_2-LJTI1_0
.set L1_0_set_3, LBB1_3-LJTI1_0
.set L1_0_set_4, LBB1_4-LJTI1_0
LJTI1_0:
.long L1_0_set_1
.long L1_0_set_2
.long L1_0_set_3
.long L1_0_set_4
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
callq _menu
movl %eax, %edi
callq _execute_action
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Select an action:\n"
L_.str.1: ## @.str.1
.asciz "1. Add new patron\n"
L_.str.2: ## @.str.2
.asciz "2. view all patrons\n"
L_.str.3: ## @.str.3
.asciz "3. view books\n"
L_.str.4: ## @.str.4
.asciz "4. Add new book\n"
L_.str.5: ## @.str.5
.asciz "Your action:"
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "Invalid action. Try again\n"
L_.str.8: ## @.str.8
.asciz "adding a new patron\n"
L_.str.9: ## @.str.9
.asciz "Here is a list of patrons \n"
L_.str.10: ## @.str.10
.asciz "Here is a list of all books\n"
L_.str.11: ## @.str.11
.asciz "adding a new book\n"
L_.str.12: ## @.str.12
.asciz "Invalid action.\n"
L_.str.13: ## @.str.13
.asciz "COUNTY LIBRARY SYSTEM\n"
L_.str.14: ## @.str.14
.asciz "WELCOME Ibrah/n"
.subsections_via_symbols
|
the_stack_data/248580281.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_str_is_numeric ; -- Begin function ft_str_is_numeric
.p2align 2
_ft_str_is_numeric: ; @ft_str_is_numeric
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
mov w8, #-1
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
str w9, [sp, #12]
add x8, x8, w9, sxtw
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
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #48
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
subs w8, w8, #57
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
str wzr, [sp, #28]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
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
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_str_is_numeric ## -- Begin function ft_str_is_numeric
.p2align 4, 0x90
_ft_str_is_numeric: ## @ft_str_is_numeric
.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 $-1, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movl %ecx, -20(%rbp)
movslq %ecx, %rcx
cmpb $0, (%rax,%rcx)
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $48, %eax
jl LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $57, %eax
jle LBB0_5
LBB0_4:
movl $0, -4(%rbp)
jmp LBB0_7
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
movl $1, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/148576936.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _return_void ; -- Begin function return_void
.p2align 2
_return_void: ; @return_void
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _return_int ; -- Begin function return_int
.p2align 2
_return_int: ; @return_int
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _return_void ## -- Begin function return_void
.p2align 4, 0x90
_return_void: ## @return_void
.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 _return_int ## -- Begin function return_int
.p2align 4, 0x90
_return_int: ## @return_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/247018330.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-12]
mul w9, w8, w9
ldur w8, [x29, #-16]
add w8, w8, w9
stur w8, [x29, #-16]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w9, w8, #1
stur w9, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-12]
mul w12, w8, w9
ldur w8, [x29, #-8]
ldur w9, [x29, #-8]
mul w11, w8, w9
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x12
str x10, [x9]
; implicit-def: $x10
mov x10, x11
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter upper limit and lower limit: "
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "The sums from %d to %d is %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jle LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
imull -12(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -12(%rbp)
cmpl -8(%rbp), %eax
jle LBB0_3
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
imull -12(%rbp), %esi
movl -8(%rbp), %edx
imull -8(%rbp), %edx
movl -16(%rbp), %ecx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter upper limit and lower limit: "
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "The sums from %d to %d is %d\n"
.subsections_via_symbols
|
the_stack_data/47426.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, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
adrp x8, __sbrk.heap@PAGE
ldr x8, [x8, __sbrk.heap@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, __end@GOTPAGE
ldr x8, [x8, __end@GOTPAGEOFF]
adrp x9, __sbrk.heap@PAGE
str x8, [x9, __sbrk.heap@PAGEOFF]
b LBB0_2
LBB0_2:
adrp x9, __sbrk.heap@PAGE
ldr x8, [x9, __sbrk.heap@PAGEOFF]
str x8, [sp]
ldrsw x10, [sp, #12]
ldr x8, [x9, __sbrk.heap@PAGEOFF]
add x8, x8, x10
str x8, [x9, __sbrk.heap@PAGEOFF]
ldr x0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _link ; -- Begin function link
.p2align 2
_link: ; @link
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
mov w0, #-1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl __close ; -- Begin function _close
.p2align 2
__close: ; @_close
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w0, #-1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl __fstat ; -- Begin function _fstat
.p2align 2
__fstat: ; @_fstat
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str x1, [sp]
ldr x9, [sp]
mov w8, #8192
strh w8, [x9, #4]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl __isatty ; -- Begin function _isatty
.p2align 2
__isatty: ; @_isatty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w0, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl __lseek ; -- Begin function _lseek
.p2align 2
__lseek: ; @_lseek
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str w2, [sp, #4]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl __exit ; -- Begin function _exit
.p2align 2
__exit: ; @_exit
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
b LBB6_1
.cfi_endproc
; -- End function
.globl __kill ; -- Begin function _kill
.p2align 2
__kill: ; @_kill
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl __getpid ; -- Begin function _getpid
.p2align 2
__getpid: ; @_getpid
.cfi_startproc
; %bb.0:
mov w0, #-1
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,__sbrk.heap,8,3 ; @_sbrk.heap
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Exiting with status %d.\n"
.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
movl %edi, -4(%rbp)
cmpq $0, __sbrk.heap(%rip)
jne LBB0_2
## %bb.1:
movq __end@GOTPCREL(%rip), %rax
movq %rax, __sbrk.heap(%rip)
LBB0_2:
movq __sbrk.heap(%rip), %rax
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq __sbrk.heap(%rip), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, __sbrk.heap(%rip)
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _link ## -- Begin function link
.p2align 4, 0x90
_link: ## @link
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $4294967295, %eax ## imm = 0xFFFFFFFF
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __close ## -- Begin function _close
.p2align 4, 0x90
__close: ## @_close
.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 $4294967295, %eax ## imm = 0xFFFFFFFF
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __fstat ## -- Begin function _fstat
.p2align 4, 0x90
__fstat: ## @_fstat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movw $8192, 4(%rax) ## imm = 0x2000
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __isatty ## -- Begin function _isatty
.p2align 4, 0x90
__isatty: ## @_isatty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __lseek ## -- Begin function _lseek
.p2align 4, 0x90
__lseek: ## @_lseek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __exit ## -- Begin function _exit
.p2align 4, 0x90
__exit: ## @_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB6_1: ## =>This Inner Loop Header: Depth=1
jmp LBB6_1
.cfi_endproc
## -- End function
.globl __kill ## -- Begin function _kill
.p2align 4, 0x90
__kill: ## @_kill
.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)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl __getpid ## -- Begin function _getpid
.p2align 4, 0x90
__getpid: ## @_getpid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4294967295, %eax ## imm = 0xFFFFFFFF
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,__sbrk.heap,8,3 ## @_sbrk.heap
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Exiting with status %d.\n"
.subsections_via_symbols
|
the_stack_data/88409.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 x10, _opt@PAGE
adrp x9, _opt@PAGE
add x9, x9, _opt@PAGEOFF
str x9, [sp, #40] ; 8-byte Folded Spill
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [x10, _opt@PAGEOFF]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [x9, #8]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
ldrsb w8, [x8]
subs w8, w8, #45
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_12
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #3
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x10, [x29, #-28]
ldr x8, [x8, x10, lsl #3]
add x8, x8, #3
str x8, [x9, #8]
b LBB0_9
LBB0_6:
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
sub x1, x29, #40
bl _strtod
ldur x8, [x29, #-40]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
b LBB0_12
LBB0_8:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x10, [x8]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_39
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_1
LBB0_12:
ldur w8, [x29, #-8]
ldur w9, [x29, #-28]
subs w8, w8, w9
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_18
; %bb.13:
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_14:
ldr x8, [sp, #40] ; 8-byte Folded Reload
fmov d0, #1.00000000
str d0, [sp, #24] ; 8-byte Folded Spill
str d0, [x8, #16]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
bl _parse_float
ldr x8, [sp, #40] ; 8-byte Folded Reload
fmov d1, d0
ldr d0, [sp, #24] ; 8-byte Folded Reload
str d1, [x8, #24]
str d0, [x8, #32]
b LBB0_19
LBB0_15:
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
bl _parse_float
ldr x8, [sp, #40] ; 8-byte Folded Reload
str d0, [x8, #16]
ldur x8, [x29, #-16]
ldur w9, [x29, #-28]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _parse_float
ldr x8, [sp, #40] ; 8-byte Folded Reload
str d0, [x8, #24]
fmov d0, #1.00000000
str d0, [x8, #32]
b LBB0_19
LBB0_16:
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
bl _parse_float
ldr x8, [sp, #40] ; 8-byte Folded Reload
str d0, [x8, #16]
ldur x8, [x29, #-16]
ldur w9, [x29, #-28]
add w9, w9, #2
ldr x0, [x8, w9, sxtw #3]
bl _parse_float
ldr x8, [sp, #40] ; 8-byte Folded Reload
str d0, [x8, #24]
ldur x8, [x29, #-16]
ldur w9, [x29, #-28]
add w9, w9, #1
ldr x0, [x8, w9, sxtw #3]
bl _parse_float
ldr x8, [sp, #40] ; 8-byte Folded Reload
str d0, [x8, #32]
b LBB0_19
LBB0_17:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _opt@PAGE
ldr x8, [x8, _opt@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_39
LBB0_18:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _opt@PAGE
ldr x10, [x8, _opt@PAGEOFF]
ldur x8, [x29, #-16]
ldur w9, [x29, #-28]
add w9, w9, #3
ldr x8, [x8, w9, sxtw #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_39
LBB0_19:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #32]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _opt@PAGE
ldr x8, [x8, _opt@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_39
LBB0_21:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #16]
ldr d1, [x8, #16]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_22
LBB0_22:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #24]
ldr d1, [x8, #24]
fcmp d0, d1
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #32]
ldr d1, [x8, #32]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _opt@PAGE
ldr x8, [x8, _opt@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_39
LBB0_25:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x9, #32]
fcmp d0, #0.0
cset w8, gt
and w8, w8, #0x1
ldr d0, [x9, #16]
ldr d1, [x9, #24]
fcmp d0, d1
cset w9, mi
and w9, w9, #0x1
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
stur wzr, [x29, #-4]
b LBB0_39
LBB0_27:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #32]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_33
b LBB0_28
LBB0_28:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #16]
stur d0, [x29, #-24]
b LBB0_29
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur d0, [x29, #-24]
ldr d1, [x8, #24]
fcmp d0, d1
cset w8, hi
tbnz w8, #0, LBB0_32
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur d0, [x29, #-24]
ldr x8, [x8, #8]
mov x9, sp
str d0, [x9]
str x8, [x9, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d1, [x8, #32]
ldur d0, [x29, #-24]
fadd d0, d0, d1
stur d0, [x29, #-24]
b LBB0_29
LBB0_32:
b LBB0_38
LBB0_33:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d0, [x8, #16]
stur d0, [x29, #-24]
b LBB0_34
LBB0_34: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur d0, [x29, #-24]
ldr d1, [x8, #24]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_37
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur d0, [x29, #-24]
ldr x8, [x8, #8]
mov x9, sp
str d0, [x9]
str x8, [x9, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr d1, [x8, #32]
ldur d0, [x29, #-24]
fadd d0, d0, d1
stur d0, [x29, #-24]
b LBB0_34
LBB0_37:
b LBB0_38
LBB0_38:
stur wzr, [x29, #-4]
b LBB0_39
LBB0_39:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_17-Ltmp0
.long LBB0_14-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_16-Ltmp0
; -- End function
.p2align 2 ; -- Begin function parse_float
_parse_float: ; @parse_float
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
sub x1, x29, #16
bl _strtod
str d0, [sp, #24]
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _opt@PAGE
ldr x10, [x8, _opt@PAGEOFF]
ldur x8, [x29, #-8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB1_2:
ldr d0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_opt,40,3 ; @opt
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "-s="
l_.str.2: ; @.str.2
.asciz "%s: invalid argument: %s\n"
l_.str.3: ; @.str.3
.asciz "%s: missing operand\n"
l_.str.4: ; @.str.4
.asciz "%s: extra operand: %s\n"
l_.str.5: ; @.str.5
.asciz "%s: zero increment\n"
l_.str.6: ; @.str.6
.asciz "%s: nan values are disallowed\n"
l_.str.7: ; @.str.7
.asciz "%g%s"
l_.str.8: ; @.str.8
.asciz "%s: invalid float-point argument: %s\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, _opt(%rip)
leaq L_.str(%rip), %rax
movq %rax, _opt+8(%rip)
movl $1, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $45, %eax
je LBB0_4
## %bb.3:
jmp LBB0_12
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.1(%rip), %rsi
movl $3, %edx
callq _strncmp
cmpl $0, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
addq $3, %rax
movq %rax, _opt+8(%rip)
jmp LBB0_9
LBB0_6:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq -40(%rbp), %rsi
callq _strtod
movq -40(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_8
## %bb.7:
jmp LBB0_12
LBB0_8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_38
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_12:
movl -8(%rbp), %eax
movl -28(%rbp), %ecx
subl %ecx, %eax
movl %eax, %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB0_17
## %bb.39:
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_13:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, _opt+16(%rip)
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_float
movsd %xmm0, _opt+24(%rip)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, _opt+32(%rip)
jmp LBB0_18
LBB0_14:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_float
movsd %xmm0, _opt+16(%rip)
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_float
movsd %xmm0, _opt+24(%rip)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, _opt+32(%rip)
jmp LBB0_18
LBB0_15:
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_float
movsd %xmm0, _opt+16(%rip)
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $2, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_float
movsd %xmm0, _opt+24(%rip)
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_float
movsd %xmm0, _opt+32(%rip)
jmp LBB0_18
LBB0_16:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _opt(%rip), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_38
LBB0_17:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _opt(%rip), %rdx
movq -16(%rbp), %rax
movl -28(%rbp), %ecx
addl $3, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_38
LBB0_18:
movsd _opt+32(%rip), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_20
jp LBB0_20
## %bb.19:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _opt(%rip), %rdx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_38
LBB0_20:
movsd _opt+16(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd _opt+16(%rip), %xmm0
jne LBB0_23
jp LBB0_23
## %bb.21:
movsd _opt+24(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd _opt+24(%rip), %xmm0
jne LBB0_23
jp LBB0_23
## %bb.22:
movsd _opt+32(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd _opt+32(%rip), %xmm0
jne LBB0_23
jp LBB0_23
jmp LBB0_24
LBB0_23:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _opt(%rip), %rdx
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_38
LBB0_24:
movsd _opt+32(%rip), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
seta %al
andb $1, %al
movzbl %al, %eax
movsd _opt+16(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd _opt+24(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
seta %cl
andb $1, %cl
movzbl %cl, %ecx
cmpl %ecx, %eax
je LBB0_26
## %bb.25:
movl $0, -4(%rbp)
jmp LBB0_38
LBB0_26:
movsd _opt+32(%rip), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_32
## %bb.27:
movsd _opt+16(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
LBB0_28: ## =>This Inner Loop Header: Depth=1
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd _opt+24(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jb LBB0_31
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq _opt+8(%rip), %rsi
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
## %bb.30: ## in Loop: Header=BB0_28 Depth=1
movsd _opt+32(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB0_28
LBB0_31:
jmp LBB0_37
LBB0_32:
movsd _opt+16(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
LBB0_33: ## =>This Inner Loop Header: Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd _opt+24(%rip), %xmm0
jb LBB0_36
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq _opt+8(%rip), %rsi
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
## %bb.35: ## in Loop: Header=BB0_33 Depth=1
movsd _opt+32(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
jmp LBB0_33
LBB0_36:
jmp LBB0_37
LBB0_37:
movl $0, -4(%rbp)
LBB0_38:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
.long L0_0_set_16
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_15
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function parse_float
_parse_float: ## @parse_float
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
leaq -16(%rbp), %rsi
callq _strtod
movsd %xmm0, -24(%rbp)
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _opt(%rip), %rdx
movq -8(%rbp), %rcx
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB1_2:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_opt,40,3 ## @opt
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "-s="
L_.str.2: ## @.str.2
.asciz "%s: invalid argument: %s\n"
L_.str.3: ## @.str.3
.asciz "%s: missing operand\n"
L_.str.4: ## @.str.4
.asciz "%s: extra operand: %s\n"
L_.str.5: ## @.str.5
.asciz "%s: zero increment\n"
L_.str.6: ## @.str.6
.asciz "%s: nan values are disallowed\n"
L_.str.7: ## @.str.7
.asciz "%g%s"
L_.str.8: ## @.str.8
.asciz "%s: invalid float-point argument: %s\n"
.subsections_via_symbols
|
the_stack_data/165764805.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
bl _foo
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
adrp x0, _x@GOTPAGE
ldr x0, [x0, _x@GOTPAGEOFF]
ret
.cfi_endproc
; -- End function
.comm _x,20,2 ; @x
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _foo
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _x@GOTPCREL(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _x,20,4 ## @x
.subsections_via_symbols
|
the_stack_data/1216603.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #44]
str wzr, [sp, #40]
str wzr, [sp, #36]
mov x9, sp
sub x8, x29, #124
str x8, [x9]
add x8, sp, #48
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #32]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #32]
sub x8, x29, #124
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
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_1
LBB0_4:
str wzr, [sp, #28]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #48
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_5
LBB0_8:
ldr w8, [sp, #36]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
sub x0, x29, #124
bl _puts
b LBB0_11
LBB0_10:
add x0, sp, #48
bl _puts
b LBB0_11
LBB0_11:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
mov w0, #0
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s %s"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $256, %rsp ## imm = 0x100
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -228(%rbp)
movl $0, -232(%rbp)
movl $0, -236(%rbp)
leaq L_.str(%rip), %rdi
leaq -112(%rbp), %rsi
leaq -224(%rbp), %rdx
movb $0, %al
callq _scanf
movl $0, -240(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -240(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -236(%rbp), %eax
addl $1, %eax
movl %eax, -236(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -240(%rbp), %eax
addl $1, %eax
movl %eax, -240(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -244(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movslq -244(%rbp), %rax
movsbl -224(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -232(%rbp), %eax
addl $1, %eax
movl %eax, -232(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -244(%rbp), %eax
addl $1, %eax
movl %eax, -244(%rbp)
jmp LBB0_5
LBB0_8:
movl -236(%rbp), %eax
cmpl -232(%rbp), %eax
jle LBB0_10
## %bb.9:
leaq -112(%rbp), %rdi
callq _puts
jmp LBB0_11
LBB0_10:
leaq -224(%rbp), %rdi
callq _puts
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s %s"
.subsections_via_symbols
|
the_stack_data/9511810.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/45450438.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
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"
l_.str.1: ; @.str.1
.asciz "Welcome to 30 Days of Code."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
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"
L_.str.1: ## @.str.1
.asciz "Welcome to 30 Days of Code."
.subsections_via_symbols
|
the_stack_data/247017202.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set ; -- Begin function set
.p2align 2
_set: ; @set
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _doit ; -- Begin function doit
.p2align 2
_doit: ; @doit
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x8, [x29, #-8]
str x8, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp]
bl _set
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp]
add x8, x8, #4
str x8, [sp]
b LBB1_1
LBB1_6:
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
adrp x8, _regions@GOTPAGE
ldr x8, [x8, _regions@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
mov x0, x8
add x1, x8, #8
add x2, x8, #40
bl _doit
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w8, [x8, #4]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl _abort
LBB2_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _regions,40,2 ; @regions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set ## -- Begin function set
.p2align 4, 0x90
_set: ## @set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _doit ## -- Begin function doit
.p2align 4, 0x90
_doit: ## @doit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
cmpq -16(%rbp), %rax
jae LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rax
cmpq -24(%rbp), %rax
jae LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rdi
callq _set
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq -32(%rbp), %rax
addq $4, %rax
movq %rax, -32(%rbp)
jmp LBB1_1
LBB1_6:
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
movq _regions@GOTPCREL(%rip), %rdi
movq %rdi, %rsi
addq $8, %rsi
movq %rdi, %rdx
addq $40, %rdx
callq _doit
movq _regions@GOTPCREL(%rip), %rax
cmpl $1, 4(%rax)
je LBB2_2
## %bb.1:
callq _abort
LBB2_2:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _regions,40,4 ## @regions
.subsections_via_symbols
|
the_stack_data/26701113.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "20190702-075715"
.section __DATA,__data
.globl _build_id ; @build_id
.p2align 3
_build_id:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "2019-07-02T07:57:15Z"
.section __DATA,__data
.globl _build_timestamp ; @build_timestamp
.p2align 3
_build_timestamp:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "1.0"
.section __DATA,__data
.globl _build_version ; @build_version
.p2align 3
_build_version:
.quad l_.str.2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "20190702-075715"
.section __DATA,__data
.globl _build_id ## @build_id
.p2align 3
_build_id:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "2019-07-02T07:57:15Z"
.section __DATA,__data
.globl _build_timestamp ## @build_timestamp
.p2align 3
_build_timestamp:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "1.0"
.section __DATA,__data
.globl _build_version ## @build_version
.p2align 3
_build_version:
.quad L_.str.2
.subsections_via_symbols
|
the_stack_data/95336.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
sturh w8, [x29, #-6]
mov w8, #-1
stur w8, [x29, #-12]
ldurh w8, [x29, #-6]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w9, le
; 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, #11
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
mov w8, #1
sturb w8, [x29, #-13]
mov w8, #255
sturb w8, [x29, #-14]
ldurb w8, [x29, #-13]
ldursb w9, [x29, #-14]
subs w8, w8, w9
cset w9, le
; 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, #21
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_5:
b LBB0_6
LBB0_6:
mov w8, #1
stur w8, [x29, #-20]
mov w8, #-1
str w8, [sp, #24]
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w9, hs
; 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, #28
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_8:
b LBB0_9
LBB0_9:
mov x8, #1
str x8, [sp, #16]
mov x8, #-1
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, hs
; 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, #33
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB0_11:
b LBB0_12
LBB0_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "287883.c"
l_.str.1: ; @.str.1
.asciz "a1>b1"
l_.str.2: ; @.str.2
.asciz "a2>b2"
l_.str.3: ; @.str.3
.asciz "a3<b3"
l_.str.4: ; @.str.4
.asciz "a4<b4"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movw $1, -6(%rbp)
movl $-1, -12(%rbp)
movzwl -6(%rbp), %eax
cmpl -12(%rbp), %eax
setg %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 $11, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movb $1, -13(%rbp)
movb $-1, -14(%rbp)
movzbl -13(%rbp), %eax
movsbl -14(%rbp), %ecx
cmpl %ecx, %eax
setg %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.2(%rip), %rcx
movl $21, %edx
callq ___assert_rtn
LBB0_5:
jmp LBB0_6
LBB0_6:
movl $1, -20(%rbp)
movl $-1, -24(%rbp)
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
setb %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.3(%rip), %rcx
movl $28, %edx
callq ___assert_rtn
LBB0_8:
jmp LBB0_9
LBB0_9:
movq $1, -32(%rbp)
movq $-1, -40(%rbp)
movq -32(%rbp), %rax
cmpq -40(%rbp), %rax
setb %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.4(%rip), %rcx
movl $33, %edx
callq ___assert_rtn
LBB0_11:
jmp LBB0_12
LBB0_12:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "287883.c"
L_.str.1: ## @.str.1
.asciz "a1>b1"
L_.str.2: ## @.str.2
.asciz "a2>b2"
L_.str.3: ## @.str.3
.asciz "a3<b3"
L_.str.4: ## @.str.4
.asciz "a4<b4"
.subsections_via_symbols
|
the_stack_data/287883.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x1, [x8]
mov w0, #97
bl _putc
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [x8]
mov w0, #115
bl _putc
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x0, #24
bl _malloc
stur x0, [x29, #-16]
mov x9, sp
mov x8, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
stur x8, [x29, #-24]
ldur x0, [x29, #-24]
bl _strlen
add x0, x0, #1
bl _malloc
ldur x8, [x29, #-16]
str x0, [x8, #16]
ldur x9, [x29, #-16]
mov w8, #13
str w8, [x9, #12]
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
ldur x1, [x29, #-24]
mov x2, #-1
bl ___strcpy_chk
ldur x8, [x29, #-16]
ldr x10, [x8, #16]
ldur x8, [x29, #-16]
ldr w9, [x8, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _free
ldur x8, [x29, #-16]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldur x0, [x29, #-16]
bl _free
mov x0, #3
bl _malloc
str x0, [sp, #32]
ldr x9, [sp, #32]
mov w8, #97
strb w8, [x9, #1]
ldr x9, [sp, #32]
mov w8, #98
strb w8, [x9]
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello World!\n"
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "size of food1 = %lu\n"
l_.str.3: ; @.str.3
.asciz "apple"
l_.str.4: ; @.str.4
.asciz "one serving of %s has %d grams of carb\n"
l_.str.5: ; @.str.5
.asciz "%c "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $97, %edi
callq _putc
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $115, %edi
callq _putc
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $24, %edi
callq _malloc
movq %rax, -16(%rbp)
leaq L_.str.2(%rip), %rdi
movl $8, %esi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
callq _strlen
movq %rax, %rdi
addq $1, %rdi
callq _malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
movl $13, 12(%rax)
movq -16(%rbp), %rax
movq 16(%rax), %rdi
movq -24(%rbp), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movq -16(%rbp), %rax
movq 16(%rax), %rsi
movq -16(%rbp), %rax
movl 12(%rax), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _free
movq -16(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rdi
callq _free
movl $3, %edi
callq _malloc
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movb $97, 1(%rax)
movq -32(%rbp), %rax
movb $98, (%rax)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $2, -36(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World!\n"
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "size of food1 = %lu\n"
L_.str.3: ## @.str.3
.asciz "apple"
L_.str.4: ## @.str.4
.asciz "one serving of %s has %d grams of carb\n"
L_.str.5: ## @.str.5
.asciz "%c "
.subsections_via_symbols
|
the_stack_data/28261693.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]
add x0, sp, #48
str x0, [sp, #16] ; 8-byte Folded Spill
adrp x1, l___const.main.a@PAGE
add x1, x1, l___const.main.a@PAGEOFF
mov x2, #40
bl _memcpy
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov w9, #6
str w9, [sp, #40]
mov x9, x8
str x9, [sp, #24]
str x8, [sp, #32]
ldr x8, [sp, #32]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #24]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #32]
ldrsw x9, [sp, #40]
add x8, x8, x9, lsl #2
str x8, [sp, #32]
ldr x8, [sp, #24]
add x8, x8, #4
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #24]
ldr w9, [x8]
; 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
ldr x8, [sp, #32]
add x8, x8, #4
str x8, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #12
str x8, [sp, #32]
ldr x8, [sp, #24]
add x8, x8, #28
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #24]
ldr w9, [x8]
; 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
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,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 25 ; 0x19
.long 6 ; 0x6
.long 8 ; 0x8
.long 3 ; 0x3
.long 3 ; 0x3
.long 5 ; 0x5
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "1. *p1=%d,*p2=%d \n"
l_.str.1: ; @.str.1
.asciz "2. *p1=%d,*p2=%d \n"
l_.str.2: ; @.str.2
.asciz "3. *p1=%d,*p2=%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
leaq l___const.main.a(%rip), %rsi
movl $40, %edx
callq _memcpy
movl $6, -56(%rbp)
leaq -48(%rbp), %rax
movq %rax, -72(%rbp)
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movl (%rax), %esi
movq -72(%rbp), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rax
movslq -56(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
movq -72(%rbp), %rax
addq $4, %rax
movq %rax, -72(%rbp)
movq -64(%rbp), %rax
movl (%rax), %esi
movq -72(%rbp), %rax
movl (%rax), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rax
addq $4, %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
addq $-12, %rax
movq %rax, -64(%rbp)
movq -72(%rbp), %rax
addq $28, %rax
movq %rax, -72(%rbp)
movq -64(%rbp), %rax
movl (%rax), %esi
movq -72(%rbp), %rax
movl (%rax), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 25 ## 0x19
.long 6 ## 0x6
.long 8 ## 0x8
.long 3 ## 0x3
.long 3 ## 0x3
.long 5 ## 0x5
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "1. *p1=%d,*p2=%d \n"
L_.str.1: ## @.str.1
.asciz "2. *p1=%d,*p2=%d \n"
L_.str.2: ## @.str.2
.asciz "3. *p1=%d,*p2=%d \n"
.subsections_via_symbols
|
the_stack_data/115765471.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello World!"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World!"
.subsections_via_symbols
|
the_stack_data/141188.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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 x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x9, _SIGINT_RECEIVED@PAGE
mov w8, #1
strb w8, [x9, _SIGINT_RECEIVED@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _SIGUSR1_handler ; -- Begin function SIGUSR1_handler
.p2align 2
_SIGUSR1_handler: ; @SIGUSR1_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 x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x9, _SIGUSR1_RECEIVED@PAGE
mov w8, #1
strb w8, [x9, _SIGUSR1_RECEIVED@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _SIGUSR2_handler ; -- Begin function SIGUSR2_handler
.p2align 2
_SIGUSR2_handler: ; @SIGUSR2_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 x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x9, _SIGUSR2_RECEIVED@PAGE
mov w8, #1
strb w8, [x9, _SIGUSR2_RECEIVED@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _parent_task ; -- Begin function parent_task
.p2align 2
_parent_task: ; @parent_task
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
mov w0, #2
adrp x1, _SIGINT_handler@PAGE
add x1, x1, _SIGINT_handler@PAGEOFF
bl _signal
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _SIGINT_RECEIVED@PAGE
ldrb w8, [x8, _SIGINT_RECEIVED@PAGEOFF]
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
mov w0, #1
bl _sleep
ldur w0, [x29, #-4]
mov w1, #30
bl _kill
b LBB3_1
LBB3_3:
ldur w0, [x29, #-4]
mov w1, #31
bl _kill
mov w0, #1
bl _sleep
ldur w0, [x29, #-4]
mov w1, #2
bl _kill
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _child1_task ; -- Begin function child1_task
.p2align 2
_child1_task: ; @child1_task
.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 w0, #30
adrp x1, _SIGUSR1_handler@PAGE
add x1, x1, _SIGUSR1_handler@PAGEOFF
bl _signal
mov w0, #31
adrp x1, _SIGUSR2_handler@PAGE
add x1, x1, _SIGUSR2_handler@PAGEOFF
bl _signal
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #438
bl _mkfifo
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #1
str w1, [sp, #20] ; 4-byte Folded Spill
bl _open
mov x8, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
stur w8, [x29, #-4]
bl _sleep
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _SIGUSR1_RECEIVED@PAGE
ldrb w8, [x8, _SIGUSR1_RECEIVED@PAGEOFF]
tbz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
mov x0, #0
bl _time
mov x8, x0
add x0, sp, #24
str x8, [sp, #24]
bl _ctime
stur x0, [x29, #-16]
ldur w0, [x29, #-4]
ldur x1, [x29, #-16]
mov x2, #25
bl _write
adrp x8, _SIGUSR1_RECEIVED@PAGE
strb wzr, [x8, _SIGUSR1_RECEIVED@PAGEOFF]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
adrp x8, _SIGUSR2_RECEIVED@PAGE
ldrb w8, [x8, _SIGUSR2_RECEIVED@PAGEOFF]
tbz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
ldur x0, [x29, #-16]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #-1
bl ___strcpy_chk
ldur w0, [x29, #-4]
ldur x1, [x29, #-16]
mov x2, #2
bl _write
b LBB4_6
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _child2_task ; -- Begin function child2_task
.p2align 2
_child2_task: ; @child2_task
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #438
bl _mkfifo
ldur w1, [x29, #-12] ; 4-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _open
mov x8, x0
ldur w0, [x29, #-12] ; 4-byte Folded Reload
stur w8, [x29, #-8]
bl _close
ldur w0, [x29, #-8]
bl _dup
mov x8, sp
; kill: def $x9 killed $xzr
str xzr, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov x0, x1
bl _execlp
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
bl _fork
stur w0, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
bl _child1_task
stur w0, [x29, #-4]
b LBB6_7
LBB6_2:
bl _fork
stur w0, [x29, #-12]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
bl _child2_task
stur w0, [x29, #-4]
b LBB6_7
LBB6_4:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_7
b LBB6_5
LBB6_5:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_7
b LBB6_6
LBB6_6:
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _parent_task
ldur w0, [x29, #-8]
mov x1, #0
str x1, [sp, #8] ; 8-byte Folded Spill
mov w2, #0
str w2, [sp, #16] ; 4-byte Folded Spill
bl _waitpid
ldr x1, [sp, #8] ; 8-byte Folded Reload
ldr w2, [sp, #16] ; 4-byte Folded Reload
ldur w0, [x29, #-12]
bl _waitpid
stur wzr, [x29, #-4]
b LBB6_7
LBB6_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Received signal SIGINT!\n"
.zerofill __DATA,__bss,_SIGINT_RECEIVED,1,0 ; @SIGINT_RECEIVED
l_.str.1: ; @.str.1
.asciz "Received signal SIGUSR1!\n"
.zerofill __DATA,__bss,_SIGUSR1_RECEIVED,1,0 ; @SIGUSR1_RECEIVED
l_.str.2: ; @.str.2
.asciz "Received signal SIGUSR2!\n"
.zerofill __DATA,__bss,_SIGUSR2_RECEIVED,1,0 ; @SIGUSR2_RECEIVED
l_.str.3: ; @.str.3
.asciz "fifo.pipe"
l_.str.4: ; @.str.4
.asciz "$"
l_.str.5: ; @.str.5
.asciz "./echo_dollar"
l_.str.6: ; @.str.6
.asciz "Error running echo_dollar!\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movb $1, _SIGINT_RECEIVED(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _SIGUSR1_handler ## -- Begin function SIGUSR1_handler
.p2align 4, 0x90
_SIGUSR1_handler: ## @SIGUSR1_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)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movb $1, _SIGUSR1_RECEIVED(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _SIGUSR2_handler ## -- Begin function SIGUSR2_handler
.p2align 4, 0x90
_SIGUSR2_handler: ## @SIGUSR2_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)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movb $1, _SIGUSR2_RECEIVED(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parent_task ## -- Begin function parent_task
.p2align 4, 0x90
_parent_task: ## @parent_task
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl $2, %edi
leaq _SIGINT_handler(%rip), %rsi
callq _signal
LBB3_1: ## =>This Inner Loop Header: Depth=1
movb _SIGINT_RECEIVED(%rip), %al
xorb $-1, %al
testb $1, %al
jne LBB3_2
jmp LBB3_3
LBB3_2: ## in Loop: Header=BB3_1 Depth=1
movl $1, %edi
callq _sleep
movl -4(%rbp), %edi
movl $30, %esi
callq _kill
jmp LBB3_1
LBB3_3:
movl -4(%rbp), %edi
movl $31, %esi
callq _kill
movl $1, %edi
callq _sleep
movl -4(%rbp), %edi
movl $2, %esi
callq _kill
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _child1_task ## -- Begin function child1_task
.p2align 4, 0x90
_child1_task: ## @child1_task
.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 $30, %edi
leaq _SIGUSR1_handler(%rip), %rsi
callq _signal
movl $31, %edi
leaq _SIGUSR2_handler(%rip), %rsi
callq _signal
leaq L_.str.3(%rip), %rdi
movl $438, %esi ## imm = 0x1B6
callq _mkfifo
leaq L_.str.3(%rip), %rdi
movl $1, %esi
movb $0, %al
callq _open
movl %eax, -4(%rbp)
movl $1, %edi
callq _sleep
LBB4_1: ## =>This Inner Loop Header: Depth=1
movb _SIGUSR1_RECEIVED(%rip), %al
testb $1, %al
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
callq _time
movq %rax, -24(%rbp)
leaq -24(%rbp), %rdi
callq _ctime
movq %rax, -16(%rbp)
movl -4(%rbp), %edi
movq -16(%rbp), %rsi
movl $25, %edx
callq _write
movb $0, _SIGUSR1_RECEIVED(%rip)
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
movb _SIGUSR2_RECEIVED(%rip), %al
testb $1, %al
je LBB4_5
## %bb.4:
movq -16(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movq $-1, %rdx
callq ___strcpy_chk
movl -4(%rbp), %edi
movq -16(%rbp), %rsi
movl $2, %edx
callq _write
jmp LBB4_6
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _child2_task ## -- Begin function child2_task
.p2align 4, 0x90
_child2_task: ## @child2_task
.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.3(%rip), %rdi
movq %rdi, -24(%rbp) ## 8-byte Spill
movl $438, %esi ## imm = 0x1B6
callq _mkfifo
movq -24(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
movl %esi, -16(%rbp) ## 4-byte Spill
movb %sil, %al
movb %al, -9(%rbp) ## 1-byte Spill
callq _open
movl -16(%rbp), %edi ## 4-byte Reload
movl %eax, -8(%rbp)
callq _close
movl -8(%rbp), %edi
callq _dup
movl -16(%rbp), %ecx ## 4-byte Reload
## kill: def $edx killed $eax
movb -9(%rbp), %al ## 1-byte Reload
leaq L_.str.5(%rip), %rsi
movl %ecx, %edx
movq %rsi, %rdi
callq _execlp
## kill: def $ecx killed $eax
movb -9(%rbp), %al ## 1-byte Reload
leaq L_.str.6(%rip), %rdi
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _fork
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB6_2
## %bb.1:
callq _child1_task
movl %eax, -4(%rbp)
jmp LBB6_7
LBB6_2:
callq _fork
movl %eax, -12(%rbp)
cmpl $0, -12(%rbp)
jne LBB6_4
## %bb.3:
callq _child2_task
movl %eax, -4(%rbp)
jmp LBB6_7
LBB6_4:
cmpl $0, -8(%rbp)
je LBB6_7
## %bb.5:
cmpl $0, -12(%rbp)
je LBB6_7
## %bb.6:
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _parent_task
movl -8(%rbp), %edi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _waitpid
movl -12(%rbp), %edi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _waitpid
movl $0, -4(%rbp)
LBB6_7:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Received signal SIGINT!\n"
.zerofill __DATA,__bss,_SIGINT_RECEIVED,1,0 ## @SIGINT_RECEIVED
L_.str.1: ## @.str.1
.asciz "Received signal SIGUSR1!\n"
.zerofill __DATA,__bss,_SIGUSR1_RECEIVED,1,0 ## @SIGUSR1_RECEIVED
L_.str.2: ## @.str.2
.asciz "Received signal SIGUSR2!\n"
.zerofill __DATA,__bss,_SIGUSR2_RECEIVED,1,0 ## @SIGUSR2_RECEIVED
L_.str.3: ## @.str.3
.asciz "fifo.pipe"
L_.str.4: ## @.str.4
.asciz "$"
L_.str.5: ## @.str.5
.asciz "./echo_dollar"
L_.str.6: ## @.str.6
.asciz "Error running echo_dollar!\n"
.subsections_via_symbols
|
the_stack_data/145453196.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
mov x9, sp
sub x8, x29, #13
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldursb w8, [x29, #-13]
subs w8, w8, #42
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB0_6
; %bb.1:
ldr x11, [sp, #24] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_2:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_3:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
mul w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
LBB0_5:
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
sdiv w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
LBB0_6:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_4-Ltmp0
.long LBB0_2-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_3-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_5-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "calculadora: \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz " %c"
l_.str.3: ; @.str.3
.asciz "calculando...\nResultado: "
l_.str.4: ; @.str.4
.asciz "%d\n"
l_.str.5: ; @.str.5
.asciz "%d\n\n"
l_.str.6: ; @.str.6
.asciz "ERRO\n"
l_.str.7: ; @.str.7
.asciz "fim\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -25(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
movq %rdi, -40(%rbp) ## 8-byte Spill
leaq -8(%rbp), %rsi
callq _scanf
## kill: def $ecx killed $eax
movb -25(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
leaq -13(%rbp), %rsi
callq _scanf
movq -40(%rbp), %rdi ## 8-byte Reload
## kill: def $ecx killed $eax
movb -25(%rbp), %al ## 1-byte Reload
leaq -12(%rbp), %rsi
callq _scanf
## kill: def $ecx killed $eax
movb -25(%rbp), %al ## 1-byte Reload
leaq L_.str.3(%rip), %rdi
callq _printf
movsbl -13(%rbp), %eax
addl $-42, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $5, %eax
ja LBB0_5
## %bb.7:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_1:
movl -8(%rbp), %esi
addl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_2:
movl -8(%rbp), %esi
subl -12(%rbp), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_3:
movl -8(%rbp), %esi
imull -12(%rbp), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_4:
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %eax, %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_1
.long L0_0_set_5
.long L0_0_set_2
.long L0_0_set_5
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "calculadora: \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz " %c"
L_.str.3: ## @.str.3
.asciz "calculando...\nResultado: "
L_.str.4: ## @.str.4
.asciz "%d\n"
L_.str.5: ## @.str.5
.asciz "%d\n\n"
L_.str.6: ## @.str.6
.asciz "ERRO\n"
L_.str.7: ## @.str.7
.asciz "fim\n"
.subsections_via_symbols
|
the_stack_data/132952598.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #112
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
stur w0, [x29, #-16]
stur x1, [x29, #-24]
ldur w8, [x29, #-16]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-24]
ldr x8, [x8]
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
add sp, sp, #16
mov w8, #-1
stur w8, [x29, #-12]
b LBB0_13
LBB0_2:
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _atol
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
mov x9, sp
stur x9, [x29, #-40]
mov x9, #3
mul x9, x8, x9
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-96] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-96] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-88] ; 8-byte Folded Spill
stur x8, [x29, #-48]
stur xzr, [x29, #-56]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-56]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
bl _rand
ldur x8, [x29, #-88] ; 8-byte Folded Reload
ldur x9, [x29, #-56]
mov x10, #3
stur x10, [x29, #-104] ; 8-byte Folded Spill
mul x9, x9, x10
strb w0, [x8, x9]
bl _rand
ldur x10, [x29, #-104] ; 8-byte Folded Reload
ldur x8, [x29, #-88] ; 8-byte Folded Reload
ldur x9, [x29, #-56]
mul x9, x9, x10
add x8, x8, x9
strb w0, [x8, #1]
bl _rand
ldur x10, [x29, #-104] ; 8-byte Folded Reload
ldur x8, [x29, #-88] ; 8-byte Folded Reload
ldur x9, [x29, #-56]
mul x9, x9, x10
add x8, x8, x9
strb w0, [x8, #2]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-56]
add x8, x8, #1
stur x8, [x29, #-56]
b LBB0_3
LBB0_6:
movi d0, #0000000000000000
stur s0, [x29, #-60]
stur xzr, [x29, #-72]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-72]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur x10, [x29, #-88] ; 8-byte Folded Reload
ldur x8, [x29, #-72]
mov x12, #3
mul x8, x8, x12
ldrsb w8, [x10, x8]
ldur x9, [x29, #-72]
mul x9, x9, x12
ldrsb w9, [x10, x9]
mul w8, w8, w9
ldur x9, [x29, #-72]
mul x11, x9, x12
mov x9, x10
add x9, x9, x11
ldrsb w9, [x9, #1]
ldur x11, [x29, #-72]
mul x13, x11, x12
mov x11, x10
add x11, x11, x13
ldrsb w11, [x11, #1]
mul w9, w9, w11
add w8, w8, w9
ldur x9, [x29, #-72]
mul x11, x9, x12
mov x9, x10
add x9, x9, x11
ldrsb w9, [x9, #2]
ldur x11, [x29, #-72]
mul x11, x11, x12
add x10, x10, x11
ldrsb w10, [x10, #2]
mul w9, w9, w10
add w8, w8, w9
scvtf d0, w8
fsqrt d0, d0
fcvt s0, d0
stur s0, [x29, #-76]
ldur s0, [x29, #-60]
ldur s1, [x29, #-76]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldur s0, [x29, #-76]
stur s0, [x29, #-60]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldur x8, [x29, #-72]
add x8, x8, #1
stur x8, [x29, #-72]
b LBB0_7
LBB0_12:
ldur s0, [x29, #-60]
fcvt d0, s0
sub sp, sp, #16
mov x8, sp
str d0, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #16
stur wzr, [x29, #-12]
ldur x8, [x29, #-40]
mov sp, x8
b LBB0_13
LBB0_13:
ldur w8, [x29, #-12]
stur w8, [x29, #-108] ; 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_15
b LBB0_14
LBB0_14:
bl ___stack_chk_fail
LBB0_15:
ldur w0, [x29, #-108] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "apelati cu %s <n>\n"
l_.str.1: ; @.str.1
.asciz "viteza maxima este: %f\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 $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl %edi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpl $2, -16(%rbp)
jge LBB0_2
## %bb.1:
movq -24(%rbp), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -12(%rbp)
jmp LBB0_13
LBB0_2:
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _atol
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
leaq (%rax,%rax,2), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -96(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movq $0, -56(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -56(%rbp), %rax
cmpq -32(%rbp), %rax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
callq _rand
movl %eax, %ecx
movq -88(%rbp), %rax ## 8-byte Reload
## kill: def $cl killed $cl killed $ecx
imulq $3, -56(%rbp), %rdx
addq %rdx, %rax
movb %cl, (%rax)
callq _rand
movl %eax, %ecx
movq -88(%rbp), %rax ## 8-byte Reload
## kill: def $cl killed $cl killed $ecx
imulq $3, -56(%rbp), %rdx
addq %rdx, %rax
movb %cl, 1(%rax)
callq _rand
movl %eax, %ecx
movq -88(%rbp), %rax ## 8-byte Reload
## kill: def $cl killed $cl killed $ecx
imulq $3, -56(%rbp), %rdx
addq %rdx, %rax
movb %cl, 2(%rax)
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB0_3
LBB0_6:
xorps %xmm0, %xmm0
movss %xmm0, -60(%rbp)
movq $0, -72(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq -72(%rbp), %rax
cmpq -32(%rbp), %rax
jge LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq -88(%rbp), %rdx ## 8-byte Reload
imulq $3, -72(%rbp), %rcx
movq %rdx, %rax
addq %rcx, %rax
movsbl (%rax), %eax
imulq $3, -72(%rbp), %rsi
movq %rdx, %rcx
addq %rsi, %rcx
movsbl (%rcx), %ecx
imull %ecx, %eax
imulq $3, -72(%rbp), %rsi
movq %rdx, %rcx
addq %rsi, %rcx
movsbl 1(%rcx), %ecx
imulq $3, -72(%rbp), %rdi
movq %rdx, %rsi
addq %rdi, %rsi
movsbl 1(%rsi), %esi
imull %esi, %ecx
addl %ecx, %eax
imulq $3, -72(%rbp), %rsi
movq %rdx, %rcx
addq %rsi, %rcx
movsbl 2(%rcx), %ecx
imulq $3, -72(%rbp), %rsi
addq %rsi, %rdx
movsbl 2(%rdx), %edx
imull %edx, %ecx
addl %ecx, %eax
cvtsi2sd %eax, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -76(%rbp)
movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -60(%rbp)
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
movq -72(%rbp), %rax
addq $1, %rax
movq %rax, -72(%rbp)
jmp LBB0_7
LBB0_12:
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -12(%rbp)
movq -40(%rbp), %rax
movq %rax, %rsp
LBB0_13:
movl -12(%rbp), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_15
## %bb.14:
movl -100(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "apelati cu %s <n>\n"
L_.str.1: ## @.str.1
.asciz "viteza maxima este: %f\n"
.subsections_via_symbols
|
the_stack_data/206394414.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fadd s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@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 "A: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "b: "
l_.str.3: ; @.str.3
.asciz "S=%.2f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -12(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "A: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "b: "
L_.str.3: ## @.str.3
.asciz "S=%.2f\n"
.subsections_via_symbols
|
the_stack_data/138784.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/255896.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_min ; -- Begin function ft_min
.p2align 2
_ft_min: ; @ft_min
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_5:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_min ## -- Begin function ft_min
.p2align 4, 0x90
_ft_min: ## @ft_min
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -20(%rbp), %eax
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_5:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/57950499.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort_int_tab ; -- Begin function sort_int_tab
.p2align 2
_sort_int_tab: ; @sort_int_tab
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
; kill: def $x10 killed $w10
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #8]
ldr x8, [sp, #24]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #16]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_8:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sort_int_tab ## -- Begin function sort_int_tab
.p2align 4, 0x90
_sort_int_tab: ## @sort_int_tab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movl -20(%rbp), %edx
## kill: def $rdx killed $edx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %edx
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/114257.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, #224
.cfi_def_cfa_offset 224
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-68]
stur w0, [x29, #-72]
stur x1, [x29, #-80]
str wzr, [sp, #56]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #32]
mov x0, #500
bl _malloc
str x0, [sp, #40]
ldur w8, [x29, #-72]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
ldur x8, [x29, #-80]
ldr x0, [x8, #16]
bl _atoi
str w0, [sp, #80]
subs w8, w0, #0
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_4:
ldur x8, [x29, #-80]
ldr x8, [x8, #8]
str x8, [sp, #72]
ldur x8, [x29, #-80]
ldr x1, [x8, #8]
sub x0, x29, #64
str x0, [sp, #24] ; 8-byte Folded Spill
mov x2, #40
str x2, [sp, #16] ; 8-byte Folded Spill
bl ___strcpy_chk
ldr x2, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr x1, [sp, #32]
bl ___strcat_chk
ldur x8, [x29, #-80]
ldr x8, [x8, #24]
str x8, [sp, #96]
ldur x8, [x29, #-80]
ldr x8, [x8, #16]
str x8, [sp, #88]
ldr x0, [sp, #96]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_5
LBB0_5:
ldur w8, [x29, #-72]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_7:
mov w8, #1
str w8, [sp, #56]
ldur x8, [x29, #-80]
ldr x8, [x8, #32]
str x8, [sp, #112]
ldur x8, [x29, #-80]
ldr x0, [x8, #32]
bl _atoi
str w0, [sp, #104]
b LBB0_14
LBB0_8:
ldr x0, [sp, #96]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_9
LBB0_9:
ldur w8, [x29, #-72]
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_11:
mov w8, #2
str w8, [sp, #56]
ldur x8, [x29, #-80]
ldr x8, [x8, #32]
str x8, [sp, #120]
ldur x8, [x29, #-80]
ldr x8, [x8, #40]
str x8, [sp, #112]
ldur x8, [x29, #-80]
ldr x0, [x8, #40]
bl _atoi
str w0, [sp, #104]
b LBB0_13
LBB0_12:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_13:
b LBB0_14
LBB0_14:
ldr w8, [sp, #104]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_16:
ldr w0, [sp, #64]
ldr x1, [sp, #88]
sub x2, x29, #64
bl _connectToSocket
str w0, [sp, #64]
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_18:
ldr w0, [sp, #64]
ldr x1, [sp, #96]
bl _sendChat
ldr w0, [sp, #64]
ldr x1, [sp, #96]
mov x2, #8
mov w3, #0
bl _recv
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
mov w8, #-1
stur w8, [x29, #-68]
b LBB0_33
LBB0_20:
ldr w0, [sp, #64]
ldr x1, [sp, #112]
bl _sendChat
ldr w0, [sp, #64]
ldr x1, [sp, #112]
mov x2, #8
mov w3, #0
bl _recv
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
mov w8, #-1
stur w8, [x29, #-68]
b LBB0_33
LBB0_22:
ldr w0, [sp, #68]
ldr w1, [sp, #104]
bl _connectSocket
str w0, [sp, #68]
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_24:
mov w8, #16
str w8, [sp, #52]
b LBB0_25
LBB0_25:
ldr w0, [sp, #68]
sub x1, x29, #24
add x2, sp, #52
bl _accept
str w0, [sp, #60]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _perror
mov w0, #0
bl _exit
LBB0_27:
ldr w0, [sp, #68]
bl _close
ldr w8, [sp, #56]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
ldr w0, [sp, #64]
ldr w1, [sp, #60]
ldr w2, [sp, #104]
ldr x3, [sp, #72]
bl _clientList
b LBB0_32
LBB0_29:
ldr w8, [sp, #56]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_31
b LBB0_30
LBB0_30:
ldr w0, [sp, #64]
ldr x1, [sp, #120]
bl _sendChat
ldr w0, [sp, #64]
ldr w1, [sp, #60]
ldr x2, [sp, #120]
ldr w3, [sp, #104]
ldr w4, [sp, #80]
ldr x5, [sp, #72]
bl _clientTranfer
b LBB0_31
LBB0_31:
b LBB0_32
LBB0_32:
ldr w0, [sp, #64]
bl _close
ldr w0, [sp, #60]
bl _close
stur wzr, [x29, #-68]
b LBB0_33
LBB0_33:
ldur w8, [x29, #-68]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
bl ___stack_chk_fail
LBB0_35:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
add sp, sp, #224
ret
.cfi_endproc
; -- End function
.globl _connectToSocket ; -- Begin function connectToSocket
.p2align 2
_connectToSocket: ; @connectToSocket
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
add x0, sp, #24
str x0, [sp] ; 8-byte Folded Spill
mov w1, #0
mov x2, #48
bl _memset
ldr x2, [sp] ; 8-byte Folded Reload
str wzr, [sp, #28]
mov w8, #1
str w8, [sp, #32]
ldur x0, [x29, #-24]
ldur x1, [x29, #-16]
add x3, sp, #16
bl _getaddrinfo
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _perror
stur wzr, [x29, #-4]
b LBB1_12
LBB1_2:
ldr x8, [sp, #16]
str x8, [sp, #8]
b LBB1_3
LBB1_3:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_4
LBB1_4:
ldr x8, [sp, #8]
ldr w0, [x8, #4]
ldr x8, [sp, #8]
ldr w1, [x8, #8]
ldr x8, [sp, #8]
ldr w2, [x8, #12]
bl _socket
stur w0, [x29, #-8]
ldur w8, [x29, #-8]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _perror
stur wzr, [x29, #-4]
b LBB1_12
LBB1_6:
ldur w0, [x29, #-8]
ldr x8, [sp, #8]
ldr x1, [x8, #32]
ldr x8, [sp, #8]
ldr w2, [x8, #16]
bl _connect
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _perror
stur wzr, [x29, #-4]
b LBB1_12
LBB1_8:
b LBB1_9
LBB1_9:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
bl _fprintf
mov w0, #2
bl _exit
LBB1_11:
ldur w8, [x29, #-8]
stur w8, [x29, #-4]
b LBB1_12
LBB1_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _sendChat ; -- Begin function sendChat
.p2align 2
_sendChat: ; @sendChat
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
ldr x0, [sp, #16]
bl _strlen
mov x8, x0
str w8, [sp, #12]
ldur w0, [x29, #-4]
ldr x1, [sp, #16]
ldrsw x2, [sp, #12]
mov w3, #0
bl _send
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _perror
mov w0, #0
bl _exit
LBB2_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _connectSocket ; -- Begin function connectSocket
.p2align 2
_connectSocket: ; @connectSocket
.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, #16]
str w1, [sp, #12]
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
str w0, [sp, #16]
ldr w8, [sp, #16]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _perror
str wzr, [sp, #20]
b LBB3_9
LBB3_2:
str xzr, [sp, #24]
str xzr, [sp, #32]
mov w8, #2
strb w8, [sp, #25]
b LBB3_3
LBB3_3:
ldr w8, [sp, #12]
and w0, w8, #0xffff
bl __OSSwapInt16
and w8, w0, #0xffff
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB3_4
LBB3_4:
ldr w8, [sp, #8] ; 4-byte Folded Reload
add x1, sp, #24
strh w8, [sp, #26]
str wzr, [sp, #28]
ldr w0, [sp, #16]
mov w2, #16
bl _bind
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _perror
str wzr, [sp, #20]
b LBB3_9
LBB3_6:
ldr w0, [sp, #16]
mov w1, #1
bl _listen
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _perror
str wzr, [sp, #20]
b LBB3_9
LBB3_8:
ldr w8, [sp, #16]
str w8, [sp, #20]
b LBB3_9
LBB3_9:
ldr w8, [sp, #20]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10:
bl ___stack_chk_fail
LBB3_11:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _clientList ; -- Begin function clientList
.p2align 2
_clientList: ; @clientList
.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, #2128
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #64]
str w1, [sp, #60]
str w2, [sp, #56]
str x3, [sp, #48]
ldr w0, [sp, #64]
add x1, sp, #72
mov x2, #1024
mov w3, #0
bl _recv
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
mov w8, #-1
str w8, [sp, #68]
b LBB4_8
LBB4_2:
ldr x10, [sp, #48]
ldr w9, [sp, #56]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
add x0, sp, #1096
mov x1, #1024
bl _bzero
b LBB4_3
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #60]
add x1, sp, #1096
mov x2, #1024
mov w3, #0
bl _recv
mov x8, x0
mov x9, x0
str w9, [sp, #44]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=1
mov x9, sp
add x8, sp, #1096
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x1, #1024
bl _bzero
b LBB4_3
LBB4_5:
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6:
adrp x0, l_.str.27@PAGE
add x0, x0, l_.str.27@PAGEOFF
bl _perror
b LBB4_7
LBB4_7:
str wzr, [sp, #68]
b LBB4_8
LBB4_8:
ldr w8, [sp, #68]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9:
bl ___stack_chk_fail
LBB4_10:
ldr w0, [sp, #28] ; 4-byte Folded Reload
add sp, sp, #2128
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _clientTranfer ; -- Begin function clientTranfer
.p2align 2
_clientTranfer: ; @clientTranfer
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1136
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str w0, [sp, #96]
str w1, [sp, #92]
str x2, [sp, #80]
str w3, [sp, #76]
str w4, [sp, #72]
str x5, [sp, #64]
ldr x11, [sp, #80]
ldr x10, [sp, #64]
ldr w9, [sp, #76]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldr w0, [sp, #96]
add x1, sp, #60
mov x2, #4
mov w3, #0
bl _recv
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
mov w8, #-1
str w8, [sp, #100]
b LBB5_11
LBB5_2:
mov x9, sp
add x8, sp, #60
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldr x0, [sp, #40] ; 8-byte Folded Reload
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, LBB5_9
b LBB5_3
LBB5_3:
ldr x0, [sp, #80]
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
bl _fopen
str x0, [sp, #48]
ldr x10, [sp, #80]
ldr w9, [sp, #76]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB5_4
LBB5_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #92]
add x1, sp, #104
mov x2, #1024
mov w3, #0
bl _recv
mov x8, x0
mov x9, x0
str w9, [sp, #56]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_4 Depth=1
ldrsw x2, [sp, #56]
ldr x3, [sp, #48]
add x0, sp, #104
mov x1, #1
bl _fwrite
b LBB5_4
LBB5_6:
ldr w8, [sp, #56]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
mov w8, #-1
str w8, [sp, #100]
b LBB5_11
LBB5_8:
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
ldr x0, [sp, #48]
bl _fclose
b LBB5_10
LBB5_9:
ldr x10, [sp, #64]
ldr w9, [sp, #72]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
mov w8, #-1
str w8, [sp, #100]
b LBB5_11
LBB5_10:
str wzr, [sp, #100]
b LBB5_11
LBB5_11:
ldr w8, [sp, #100]
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, LBB5_13
b LBB5_12
LBB5_12:
bl ___stack_chk_fail
LBB5_13:
ldr w0, [sp, #36] ; 4-byte Folded Reload
add sp, sp, #1136
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".engr.oregonstate.edu"
l_.str.1: ; @.str.1
.asciz "Missing arguments\n"
l_.str.2: ; @.str.2
.asciz "Please enter a valid serverport"
l_.str.3: ; @.str.3
.asciz "-l"
l_.str.4: ; @.str.4
.asciz "Usage: ./ftclient [name] [connection port] -l [dataport]"
l_.str.5: ; @.str.5
.asciz "-g"
l_.str.6: ; @.str.6
.asciz "Usage: ./ftclient [name] [connection port] -g [filename] [dataport]"
l_.str.7: ; @.str.7
.asciz "Please enter a option"
l_.str.8: ; @.str.8
.asciz "socket issue\n"
l_.str.9: ; @.str.9
.asciz "Error retriving data from server\n"
l_.str.10: ; @.str.10
.asciz "Error on accept\n"
l_.str.11: ; @.str.11
.asciz "Send"
l_.str.12: ; @.str.12
.asciz "Address not found"
l_.str.13: ; @.str.13
.asciz "Socket"
l_.str.14: ; @.str.14
.asciz "connect"
l_.str.15: ; @.str.15
.asciz "failed to connect\n"
l_.str.16: ; @.str.16
.asciz "Cannot bind the socket.\n"
l_.str.17: ; @.str.17
.asciz "Cannot listen to port.\n"
l_.str.18: ; @.str.18
.asciz "Receiving '%s' from %s:%d\n"
l_.str.19: ; @.str.19
.asciz "dataSock:%s\n"
l_.str.20: ; @.str.20
.asciz "pass"
l_.str.21: ; @.str.21
.asciz "w"
l_.str.22: ; @.str.22
.asciz "Receiving '%s' from :%d\n"
l_.str.23: ; @.str.23
.asciz "File transfer complete.\n"
l_.str.24: ; @.str.24
.asciz "%s:%d says FILE NOT FOUND.\n"
l_.str.25: ; @.str.25
.asciz "Receiving directory structure from %s:%d\n"
l_.str.26: ; @.str.26
.asciz "%s"
l_.str.27: ; @.str.27
.asciz "error"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movl %edi, -72(%rbp)
movq %rsi, -80(%rbp)
movl $0, -152(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -176(%rbp)
movl $500, %edi ## imm = 0x1F4
callq _malloc
movq %rax, -168(%rbp)
cmpl $5, -72(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
movq -80(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, -128(%rbp)
cmpl $0, %eax
jg LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
movl %eax, -180(%rbp) ## 4-byte Spill
callq _printf
movl -180(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_4:
movq -80(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -136(%rbp)
leaq -64(%rbp), %rdi
movq -80(%rbp), %rax
movq 8(%rax), %rsi
movl $40, %edx
callq ___strcpy_chk
leaq -64(%rbp), %rdi
movq -176(%rbp), %rsi
movl $40, %edx
callq ___strcat_chk
movq -80(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -112(%rbp)
movq -80(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -120(%rbp)
movq -112(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_8
## %bb.5:
cmpl $5, -72(%rbp)
je LBB0_7
## %bb.6:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
movl %eax, -184(%rbp) ## 4-byte Spill
callq _printf
movl -184(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_7:
movl $1, -152(%rbp)
movq -80(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -96(%rbp)
movq -80(%rbp), %rax
movq 32(%rax), %rdi
callq _atoi
movl %eax, -104(%rbp)
jmp LBB0_14
LBB0_8:
movq -112(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB0_12
## %bb.9:
cmpl $6, -72(%rbp)
je LBB0_11
## %bb.10:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
movl %eax, -188(%rbp) ## 4-byte Spill
callq _printf
movl -188(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_11:
movl $2, -152(%rbp)
movq -80(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -88(%rbp)
movq -80(%rbp), %rax
movq 40(%rax), %rax
movq %rax, -96(%rbp)
movq -80(%rbp), %rax
movq 40(%rax), %rdi
callq _atoi
movl %eax, -104(%rbp)
jmp LBB0_13
LBB0_12:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
movl %eax, -192(%rbp) ## 4-byte Spill
callq _printf
movl -192(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_13:
jmp LBB0_14
LBB0_14:
cmpl $0, -104(%rbp)
jg LBB0_16
## %bb.15:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
movl %eax, -196(%rbp) ## 4-byte Spill
callq _printf
movl -196(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_16:
movl -144(%rbp), %edi
movq -120(%rbp), %rsi
leaq -64(%rbp), %rdx
callq _connectToSocket
movl %eax, -144(%rbp)
cmpl $0, %eax
jne LBB0_18
## %bb.17:
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
movl %eax, -200(%rbp) ## 4-byte Spill
callq _printf
movl -200(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_18:
movl -144(%rbp), %edi
movq -112(%rbp), %rsi
callq _sendChat
movl -144(%rbp), %edi
movq -112(%rbp), %rsi
movl $8, %edx
xorl %ecx, %ecx
callq _recv
cmpq $-1, %rax
jne LBB0_20
## %bb.19:
leaq L_.str.9(%rip), %rdi
callq _perror
movl $-1, -68(%rbp)
jmp LBB0_33
LBB0_20:
movl -144(%rbp), %edi
movq -96(%rbp), %rsi
callq _sendChat
movl -144(%rbp), %edi
movq -96(%rbp), %rsi
movl $8, %edx
xorl %ecx, %ecx
callq _recv
cmpq $-1, %rax
jne LBB0_22
## %bb.21:
leaq L_.str.9(%rip), %rdi
callq _perror
movl $-1, -68(%rbp)
jmp LBB0_33
LBB0_22:
movl -140(%rbp), %edi
movl -104(%rbp), %esi
callq _connectSocket
movl %eax, -140(%rbp)
cmpl $0, %eax
jne LBB0_24
## %bb.23:
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
movl %eax, -204(%rbp) ## 4-byte Spill
callq _printf
movl -204(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_24:
movl $16, -156(%rbp)
## %bb.25:
movl -140(%rbp), %edi
leaq -24(%rbp), %rsi
leaq -156(%rbp), %rdx
callq _accept
movl %eax, -148(%rbp)
cmpl $-1, %eax
jne LBB0_27
## %bb.26:
leaq L_.str.10(%rip), %rdi
callq _perror
xorl %edi, %edi
callq _exit
LBB0_27:
movl -140(%rbp), %edi
callq _close
cmpl $1, -152(%rbp)
jne LBB0_29
## %bb.28:
movl -144(%rbp), %edi
movl -148(%rbp), %esi
movl -104(%rbp), %edx
movq -136(%rbp), %rcx
callq _clientList
jmp LBB0_32
LBB0_29:
cmpl $2, -152(%rbp)
jne LBB0_31
## %bb.30:
movl -144(%rbp), %edi
movq -88(%rbp), %rsi
callq _sendChat
movl -144(%rbp), %edi
movl -148(%rbp), %esi
movq -88(%rbp), %rdx
movl -104(%rbp), %ecx
movl -128(%rbp), %r8d
movq -136(%rbp), %r9
callq _clientTranfer
LBB0_31:
jmp LBB0_32
LBB0_32:
movl -144(%rbp), %edi
callq _close
movl -148(%rbp), %edi
callq _close
movl $0, -68(%rbp)
LBB0_33:
movl -68(%rbp), %eax
movl %eax, -208(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_35
## %bb.34:
movl -208(%rbp), %eax ## 4-byte Reload
addq $208, %rsp
popq %rbp
retq
LBB0_35:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _connectToSocket ## -- Begin function connectToSocket
.p2align 4, 0x90
_connectToSocket: ## @connectToSocket
.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 %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
leaq -72(%rbp), %rdi
xorl %esi, %esi
movl $48, %edx
callq _memset
movl $0, -68(%rbp)
movl $1, -64(%rbp)
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
leaq -72(%rbp), %rdx
leaq -80(%rbp), %rcx
callq _getaddrinfo
cmpl $0, %eax
je LBB1_2
## %bb.1:
leaq L_.str.12(%rip), %rdi
callq _perror
movl $0, -4(%rbp)
jmp LBB1_12
LBB1_2:
movq -80(%rbp), %rax
movq %rax, -88(%rbp)
## %bb.3:
cmpq $0, -88(%rbp)
je LBB1_9
## %bb.4:
movq -88(%rbp), %rax
movl 4(%rax), %edi
movq -88(%rbp), %rax
movl 8(%rax), %esi
movq -88(%rbp), %rax
movl 12(%rax), %edx
callq _socket
movl %eax, -8(%rbp)
cmpl $-1, -8(%rbp)
jne LBB1_6
## %bb.5:
leaq L_.str.13(%rip), %rdi
callq _perror
movl $0, -4(%rbp)
jmp LBB1_12
LBB1_6:
movl -8(%rbp), %edi
movq -88(%rbp), %rax
movq 32(%rax), %rsi
movq -88(%rbp), %rax
movl 16(%rax), %edx
callq _connect
cmpl $-1, %eax
jne LBB1_8
## %bb.7:
leaq L_.str.14(%rip), %rdi
callq _perror
movl $0, -4(%rbp)
jmp LBB1_12
LBB1_8:
jmp LBB1_9
LBB1_9:
cmpq $0, -88(%rbp)
jne LBB1_11
## %bb.10:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.15(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $2, %edi
callq _exit
LBB1_11:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB1_12:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sendChat ## -- Begin function sendChat
.p2align 4, 0x90
_sendChat: ## @sendChat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movl -4(%rbp), %edi
movq -16(%rbp), %rsi
movslq -20(%rbp), %rdx
xorl %ecx, %ecx
callq _send
cmpq $-1, %rax
jne LBB2_2
## %bb.1:
leaq L_.str.11(%rip), %rdi
callq _perror
xorl %edi, %edi
callq _exit
LBB2_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _connectSocket ## -- Begin function connectSocket
.p2align 4, 0x90
_connectSocket: ## @connectSocket
.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 %edi, -32(%rbp)
movl %esi, -36(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -32(%rbp)
cmpl $-1, -32(%rbp)
jne LBB3_2
## %bb.1:
leaq L_.str.13(%rip), %rdi
callq _perror
movl $0, -28(%rbp)
jmp LBB3_9
LBB3_2:
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movb $2, -23(%rbp)
## %bb.3:
movl -36(%rbp), %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -40(%rbp) ## 4-byte Spill
## %bb.4:
movl -40(%rbp), %eax ## 4-byte Reload
movw %ax, -22(%rbp)
movl $0, -20(%rbp)
movl -32(%rbp), %edi
leaq -24(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $-1, %eax
jne LBB3_6
## %bb.5:
leaq L_.str.16(%rip), %rdi
callq _perror
movl $0, -28(%rbp)
jmp LBB3_9
LBB3_6:
movl -32(%rbp), %edi
movl $1, %esi
callq _listen
cmpl $-1, %eax
jne LBB3_8
## %bb.7:
leaq L_.str.17(%rip), %rdi
callq _perror
movl $0, -28(%rbp)
jmp LBB3_9
LBB3_8:
movl -32(%rbp), %eax
movl %eax, -28(%rbp)
LBB3_9:
movl -28(%rbp), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_11
## %bb.10:
movl -44(%rbp), %eax ## 4-byte Reload
addq $48, %rsp
popq %rbp
retq
LBB3_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _clientList ## -- Begin function clientList
.p2align 4, 0x90
_clientList: ## @clientList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $2096, %rsp ## imm = 0x830
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -2072(%rbp)
movl %esi, -2076(%rbp)
movl %edx, -2080(%rbp)
movq %rcx, -2088(%rbp)
movl -2072(%rbp), %edi
leaq -2064(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
callq _recv
cmpq $-1, %rax
jne LBB4_2
## %bb.1:
leaq L_.str.9(%rip), %rdi
callq _perror
movl $-1, -2068(%rbp)
jmp LBB4_8
LBB4_2:
movq -2088(%rbp), %rsi
movl -2080(%rbp), %edx
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
leaq -1040(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
LBB4_3: ## =>This Inner Loop Header: Depth=1
movl -2076(%rbp), %edi
leaq -1040(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -2092(%rbp)
cmpl $0, %eax
jle LBB4_5
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
leaq -1040(%rbp), %rsi
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
leaq -1040(%rbp), %rdi
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
callq _memset
jmp LBB4_3
LBB4_5:
cmpl $0, -2092(%rbp)
jge LBB4_7
## %bb.6:
leaq L_.str.27(%rip), %rdi
callq _perror
LBB4_7:
movl $0, -2068(%rbp)
LBB4_8:
movl -2068(%rbp), %eax
movl %eax, -2096(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_10
## %bb.9:
movl -2096(%rbp), %eax ## 4-byte Reload
addq $2096, %rsp ## imm = 0x830
popq %rbp
retq
LBB4_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _clientTranfer ## -- Begin function clientTranfer
.p2align 4, 0x90
_clientTranfer: ## @clientTranfer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1104, %rsp ## imm = 0x450
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -1048(%rbp)
movl %esi, -1052(%rbp)
movq %rdx, -1064(%rbp)
movl %ecx, -1068(%rbp)
movl %r8d, -1072(%rbp)
movq %r9, -1080(%rbp)
movq -1064(%rbp), %rsi
movq -1080(%rbp), %rdx
movl -1068(%rbp), %ecx
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
movl -1048(%rbp), %edi
leaq -1084(%rbp), %rsi
movl $4, %edx
xorl %ecx, %ecx
callq _recv
cmpq $-1, %rax
jne LBB5_2
## %bb.1:
leaq L_.str.9(%rip), %rdi
callq _perror
movl $-1, -1044(%rbp)
jmp LBB5_11
LBB5_2:
leaq -1084(%rbp), %rsi
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
leaq -1084(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB5_9
## %bb.3:
movq -1064(%rbp), %rdi
leaq L_.str.21(%rip), %rsi
callq _fopen
movq %rax, -1096(%rbp)
movq -1064(%rbp), %rsi
movl -1068(%rbp), %edx
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
LBB5_4: ## =>This Inner Loop Header: Depth=1
movl -1052(%rbp), %edi
leaq -1040(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
callq _recv
## kill: def $eax killed $eax killed $rax
movl %eax, -1088(%rbp)
cmpl $0, %eax
jle LBB5_6
## %bb.5: ## in Loop: Header=BB5_4 Depth=1
leaq -1040(%rbp), %rdi
movslq -1088(%rbp), %rdx
movq -1096(%rbp), %rcx
movl $1, %esi
callq _fwrite
jmp LBB5_4
LBB5_6:
cmpl $0, -1088(%rbp)
jge LBB5_8
## %bb.7:
movl $-1, -1044(%rbp)
jmp LBB5_11
LBB5_8:
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
movq -1096(%rbp), %rdi
callq _fclose
jmp LBB5_10
LBB5_9:
movq -1080(%rbp), %rsi
movl -1072(%rbp), %edx
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -1044(%rbp)
jmp LBB5_11
LBB5_10:
movl $0, -1044(%rbp)
LBB5_11:
movl -1044(%rbp), %eax
movl %eax, -1100(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_13
## %bb.12:
movl -1100(%rbp), %eax ## 4-byte Reload
addq $1104, %rsp ## imm = 0x450
popq %rbp
retq
LBB5_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".engr.oregonstate.edu"
L_.str.1: ## @.str.1
.asciz "Missing arguments\n"
L_.str.2: ## @.str.2
.asciz "Please enter a valid serverport"
L_.str.3: ## @.str.3
.asciz "-l"
L_.str.4: ## @.str.4
.asciz "Usage: ./ftclient [name] [connection port] -l [dataport]"
L_.str.5: ## @.str.5
.asciz "-g"
L_.str.6: ## @.str.6
.asciz "Usage: ./ftclient [name] [connection port] -g [filename] [dataport]"
L_.str.7: ## @.str.7
.asciz "Please enter a option"
L_.str.8: ## @.str.8
.asciz "socket issue\n"
L_.str.9: ## @.str.9
.asciz "Error retriving data from server\n"
L_.str.10: ## @.str.10
.asciz "Error on accept\n"
L_.str.11: ## @.str.11
.asciz "Send"
L_.str.12: ## @.str.12
.asciz "Address not found"
L_.str.13: ## @.str.13
.asciz "Socket"
L_.str.14: ## @.str.14
.asciz "connect"
L_.str.15: ## @.str.15
.asciz "failed to connect\n"
L_.str.16: ## @.str.16
.asciz "Cannot bind the socket.\n"
L_.str.17: ## @.str.17
.asciz "Cannot listen to port.\n"
L_.str.18: ## @.str.18
.asciz "Receiving '%s' from %s:%d\n"
L_.str.19: ## @.str.19
.asciz "dataSock:%s\n"
L_.str.20: ## @.str.20
.asciz "pass"
L_.str.21: ## @.str.21
.asciz "w"
L_.str.22: ## @.str.22
.asciz "Receiving '%s' from :%d\n"
L_.str.23: ## @.str.23
.asciz "File transfer complete.\n"
L_.str.24: ## @.str.24
.asciz "%s:%d says FILE NOT FOUND.\n"
L_.str.25: ## @.str.25
.asciz "Receiving directory structure from %s:%d\n"
L_.str.26: ## @.str.26
.asciz "%s"
L_.str.27: ## @.str.27
.asciz "error"
.subsections_via_symbols
|
the_stack_data/179830346.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_6
; %bb.1:
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_3:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_7
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_6:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_2-Ltmp0
.long LBB0_3-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_5-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Informe o trimestre atual: \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "INVERNO"
l_.str.3: ; @.str.3
.asciz "VER\303\203O"
l_.str.4: ; @.str.4
.asciz "Op\303\247\303\243o informada inv\303\241lida"
.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
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -17(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
callq _scanf
movl -8(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -16(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB0_5
## %bb.7:
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_2:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_3:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_1
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Informe o trimestre atual: \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "INVERNO"
L_.str.3: ## @.str.3
.asciz "VER\303\203O"
L_.str.4: ## @.str.4
.asciz "Op\303\247\303\243o informada inv\303\241lida"
.subsections_via_symbols
|
the_stack_data/145452917.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, #1760
adrp x8, _envstring@GOTPAGE
ldr x8, [x8, _envstring@GOTPAGEOFF]
str x8, [sp, #168] ; 8-byte Folded Spill
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #176] ; 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]
str w0, [sp, #320]
str x1, [sp, #312]
add x0, sp, #304
mov x8, #37912
movk x8, #13659, lsl #16
str x8, [sp, #304]
bl _gmtime
bl _asctime
mov x8, sp
str x0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _tests@PAGE
add x8, x8, _tests@PAGEOFF
str x8, [sp, #296]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #296]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #296]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #296]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
add x0, sp, #728
str x0, [sp, #160] ; 8-byte Folded Spill
mov w1, #0
mov x2, #1024
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #160] ; 8-byte Folded Reload
bl _putenv
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _puts
adrp x9, _failed@PAGE
mov w8, #1
str w8, [x9, _failed@PAGEOFF]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
bl _tzset
bl _print_tzvars
ldr x8, [sp, #296]
ldr x0, [x8]
ldr x8, [sp, #296]
ldr w1, [x8, #8]
ldr x8, [sp, #296]
ldr w2, [x8, #12]
ldr x8, [sp, #296]
add x3, x8, #16
bl _check_tzvars
add x0, sp, #304
bl _localtime
bl _print_tzvars
ldr x8, [sp, #296]
ldr x0, [x8]
ldr x8, [sp, #296]
ldr w1, [x8, #8]
ldr x8, [sp, #296]
ldr w2, [x8, #12]
ldr x8, [sp, #296]
add x3, x8, #16
bl _check_tzvars
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #296]
add x8, x8, #32
str x8, [sp, #296]
b LBB0_1
LBB0_6:
add x0, sp, #240
str x0, [sp, #128] ; 8-byte Folded Spill
mov w1, #0
mov x2, #56
bl _memset
ldr x0, [sp, #168] ; 8-byte Folded Reload
mov w8, #10
str w8, [sp, #252]
mov w8, #3
str w8, [sp, #256]
mov w8, #98
str w8, [sp, #260]
mov w8, #-1
str w8, [sp, #272]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #100
bl ___strcpy_chk
ldr x0, [sp, #168] ; 8-byte Folded Reload
bl _putenv
ldr x0, [sp, #128] ; 8-byte Folded Reload
bl _mktime
str x0, [sp, #304]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _getenv
mov x1, x0
ldr x0, [sp, #304]
ldr w8, [sp, #240]
; implicit-def: $x17
mov x17, x8
ldr w8, [sp, #244]
; implicit-def: $x16
mov x16, x8
ldr w8, [sp, #248]
; implicit-def: $x15
mov x15, x8
ldr w8, [sp, #252]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #256]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #260]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #264]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #268]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #272]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x9, [sp, #136] ; 8-byte Folded Spill
str x1, [x9]
str x0, [x9, #8]
str x17, [x9, #16]
str x16, [x9, #24]
str x15, [x9, #32]
str x14, [x9, #40]
str x13, [x9, #48]
str x12, [x9, #56]
str x11, [x9, #64]
str x10, [x9, #72]
str x8, [x9, #80]
add x0, sp, #528
str x0, [sp, #152] ; 8-byte Folded Spill
mov x3, #200
mov x1, x3
mov w2, #0
adrp x4, l_.str.5@PAGE
add x4, x4, l_.str.5@PAGEOFF
bl ___snprintf_chk
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x0, [sp, #152] ; 8-byte Folded Reload
ldr x1, [x8]
bl _fputs
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _puts
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
str x0, [sp, #144] ; 8-byte Folded Spill
bl _puts
ldr x1, [sp, #144] ; 8-byte Folded Reload
ldr x0, [sp, #152] ; 8-byte Folded Reload
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldr x8, [sp, #176] ; 8-byte Folded Reload
adrp x10, _failed@PAGE
mov w9, #1
str w9, [x10, _failed@PAGEOFF]
ldr x1, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _fputs
b LBB0_8
LBB0_8:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
add x0, sp, #184
str x0, [sp, #96] ; 8-byte Folded Spill
mov w1, #0
mov x2, #56
bl _memset
ldr x0, [sp, #168] ; 8-byte Folded Reload
mov w8, #10
str w8, [sp, #196]
mov w8, #3
str w8, [sp, #200]
mov w8, #98
str w8, [sp, #204]
mov w8, #-1
str w8, [sp, #216]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
mov x2, #100
bl ___strcpy_chk
ldr x0, [sp, #96] ; 8-byte Folded Reload
bl _mktime
str x0, [sp, #304]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _getenv
mov x1, x0
ldr x0, [sp, #304]
ldr w8, [sp, #184]
; implicit-def: $x17
mov x17, x8
ldr w8, [sp, #188]
; implicit-def: $x16
mov x16, x8
ldr w8, [sp, #192]
; implicit-def: $x15
mov x15, x8
ldr w8, [sp, #196]
; implicit-def: $x14
mov x14, x8
ldr w8, [sp, #200]
; implicit-def: $x13
mov x13, x8
ldr w8, [sp, #204]
; implicit-def: $x12
mov x12, x8
ldr w8, [sp, #208]
; implicit-def: $x11
mov x11, x8
ldr w8, [sp, #212]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #216]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x9, [sp, #104] ; 8-byte Folded Spill
str x1, [x9]
str x0, [x9, #8]
str x17, [x9, #16]
str x16, [x9, #24]
str x15, [x9, #32]
str x14, [x9, #40]
str x13, [x9, #48]
str x12, [x9, #56]
str x11, [x9, #64]
str x10, [x9, #72]
str x8, [x9, #80]
add x0, sp, #328
str x0, [sp, #120] ; 8-byte Folded Spill
mov x3, #200
mov x1, x3
mov w2, #0
adrp x4, l_.str.5@PAGE
add x4, x4, l_.str.5@PAGEOFF
bl ___snprintf_chk
ldr x8, [sp, #176] ; 8-byte Folded Reload
ldr x0, [sp, #120] ; 8-byte Folded Reload
ldr x1, [x8]
bl _fputs
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _puts
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
str x0, [sp, #112] ; 8-byte Folded Spill
bl _puts
ldr x1, [sp, #112] ; 8-byte Folded Reload
ldr x0, [sp, #120] ; 8-byte Folded Reload
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr x8, [sp, #176] ; 8-byte Folded Reload
adrp x10, _failed@PAGE
mov w9, #1
str w9, [x10, _failed@PAGEOFF]
ldr x1, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _fputs
b LBB0_10
LBB0_10:
adrp x8, _failed@PAGE
ldr w9, [x8, _failed@PAGEOFF]
mov w8, #0
subs w9, w9, #0
cset w9, ne
and w9, w9, #0x1
ands w9, w9, #0x1
csinc w8, w8, wzr, eq
str w8, [sp, #92] ; 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_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
ldr w0, [sp, #92] ; 4-byte Folded Reload
add sp, sp, #1760
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function print_tzvars
_print_tzvars: ; @print_tzvars
.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, _tzname@GOTPAGE
ldr x8, [x8, _tzname@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.38@PAGE
add x0, x0, l_.str.38@PAGEOFF
bl _printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
adrp x8, _daylight@GOTPAGE
ldr x8, [x8, _daylight@GOTPAGEOFF]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.40@PAGE
add x0, x0, l_.str.40@PAGEOFF
bl _printf
adrp x8, _timezone@GOTPAGE
ldr x8, [x8, _timezone@GOTPAGEOFF]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.41@PAGE
add x0, x0, l_.str.41@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function check_tzvars
_check_tzvars: ; @check_tzvars
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur x3, [x29, #-24]
adrp x8, _daylight@GOTPAGE
ldr x8, [x8, _daylight@GOTPAGEOFF]
ldr w8, [x8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldur x11, [x29, #-8]
adrp x8, _daylight@GOTPAGE
ldr x8, [x8, _daylight@GOTPAGEOFF]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.42@PAGE
add x0, x0, l_.str.42@PAGEOFF
bl _printf
adrp x9, _failed@PAGE
ldr w8, [x9, _failed@PAGEOFF]
add w8, w8, #1
str w8, [x9, _failed@PAGEOFF]
b LBB2_2
LBB2_2:
adrp x8, _timezone@GOTPAGE
ldr x8, [x8, _timezone@GOTPAGEOFF]
ldr x8, [x8]
ldursw x9, [x29, #-16]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
ldur x11, [x29, #-8]
adrp x8, _timezone@GOTPAGE
ldr x8, [x8, _timezone@GOTPAGEOFF]
ldr 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.43@PAGE
add x0, x0, l_.str.43@PAGEOFF
bl _printf
adrp x9, _failed@PAGE
ldr w8, [x9, _failed@PAGEOFF]
add w8, w8, #1
str w8, [x9, _failed@PAGEOFF]
b LBB2_4
LBB2_4:
stur wzr, [x29, #-28]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB2_10
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldursw x9, [x29, #-28]
adrp x8, _tzname@GOTPAGE
ldr x8, [x8, _tzname@GOTPAGEOFF]
ldr x0, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldr x1, [x8, x9, lsl #3]
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldur x12, [x29, #-8]
ldur w8, [x29, #-28]
; implicit-def: $x11
mov x11, x8
ldursw x9, [x29, #-28]
adrp x8, _tzname@GOTPAGE
ldr x8, [x8, _tzname@GOTPAGEOFF]
ldr x10, [x8, x9, lsl #3]
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.44@PAGE
add x0, x0, l_.str.44@PAGEOFF
bl _printf
adrp x9, _failed@PAGE
ldr w8, [x9, _failed@PAGEOFF]
add w8, w8, #1
str w8, [x9, _failed@PAGEOFF]
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_5 Depth=1
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_5 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_5
LBB2_10:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _failed ; @failed
.zerofill __DATA,__common,_failed,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "We use this date: %s\n"
.section __DATA,__const
.p2align 3 ; @tests
_tests:
.quad l_.str.13
.long 1 ; 0x1
.long 4294963696 ; 0xfffff1f0
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.long 1 ; 0x1
.long 4294963696 ; 0xfffff1f0
.quad l_.str.14
.quad l_.str.15
.quad l_.str.17
.long 1 ; 0x1
.long 0 ; 0x0
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.long 0 ; 0x0
.long 0 ; 0x0
.quad l_.str.21
.quad l_.str.21
.quad l_.str.22
.long 1 ; 0x1
.long 4294931296 ; 0xffff7360
.quad l_.str.23
.quad l_.str.23
.quad l_.str.24
.long 1 ; 0x1
.long 10800 ; 0x2a30
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.long 1 ; 0x1
.long 21600 ; 0x5460
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.long 1 ; 0x1
.long 18000 ; 0x4650
.quad l_.str.23
.quad l_.str.31
.quad l_.str.32
.long 1 ; 0x1
.long 28800 ; 0x7080
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.long 1 ; 0x1
.long 4294924096 ; 0xffff5740
.quad l_.str.36
.quad l_.str.37
.space 32
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Checking timezone %s\n"
l_.str.2: ; @.str.2
.asciz "TZ=%s"
l_.str.3: ; @.str.3
.asciz "putenv failed."
.comm _envstring,100,0 ; @envstring
l_.str.4: ; @.str.4
.asciz "TZ=Europe/London"
l_.str.5: ; @.str.5
.asciz "TZ=%s %ld %d %d %d %d %d %d %d %d %d"
l_.str.6: ; @.str.6
.asciz "TZ"
l_.str.7: ; @.str.7
.asciz " should be"
l_.str.8: ; @.str.8
.asciz "TZ=Europe/London 892162800 0 0 0 10 3 98 5 99 1"
l_.str.9: ; @.str.9
.asciz " FAILED ***"
l_.str.10: ; @.str.10
.asciz "\n"
l_.str.11: ; @.str.11
.asciz "TZ=GMT"
l_.str.12: ; @.str.12
.asciz "TZ=GMT 892166400 0 0 0 10 3 98 5 99 0"
l_.str.13: ; @.str.13
.asciz "Europe/Amsterdam"
l_.str.14: ; @.str.14
.asciz "CET"
l_.str.15: ; @.str.15
.asciz "CEST"
l_.str.16: ; @.str.16
.asciz "Europe/Berlin"
l_.str.17: ; @.str.17
.asciz "Europe/London"
l_.str.18: ; @.str.18
.asciz "GMT"
l_.str.19: ; @.str.19
.asciz "BST"
l_.str.20: ; @.str.20
.asciz "Universal"
l_.str.21: ; @.str.21
.asciz "UTC"
l_.str.22: ; @.str.22
.asciz "Australia/Melbourne"
l_.str.23: ; @.str.23
.asciz "EST"
l_.str.24: ; @.str.24
.asciz "America/Sao_Paulo"
l_.str.25: ; @.str.25
.asciz "BRT"
l_.str.26: ; @.str.26
.asciz "BRST"
l_.str.27: ; @.str.27
.asciz "America/Chicago"
l_.str.28: ; @.str.28
.asciz "CST"
l_.str.29: ; @.str.29
.asciz "CDT"
l_.str.30: ; @.str.30
.asciz "America/Indiana/Indianapolis"
l_.str.31: ; @.str.31
.asciz "EDT"
l_.str.32: ; @.str.32
.asciz "America/Los_Angeles"
l_.str.33: ; @.str.33
.asciz "PST"
l_.str.34: ; @.str.34
.asciz "PDT"
l_.str.35: ; @.str.35
.asciz "Pacific/Auckland"
l_.str.36: ; @.str.36
.asciz "NZST"
l_.str.37: ; @.str.37
.asciz "NZDT"
l_.str.38: ; @.str.38
.asciz "tzname[0]: %s\n"
l_.str.39: ; @.str.39
.asciz "tzname[1]: %s\n"
l_.str.40: ; @.str.40
.asciz "daylight: %d\n"
l_.str.41: ; @.str.41
.asciz "timezone: %ld\n"
l_.str.42: ; @.str.42
.asciz "*** Timezone: %s, daylight is: %d but should be: %d\n"
l_.str.43: ; @.str.43
.asciz "*** Timezone: %s, timezone is: %ld but should be: %d\n"
l_.str.44: ; @.str.44
.asciz "*** Timezone: %s, tzname[%d] is: %s but should be: %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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $1720, %rsp ## imm = 0x6B8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $0, -1492(%rbp)
movl %edi, -1496(%rbp)
movq %rsi, -1504(%rbp)
movq $895194136, -1512(%rbp) ## imm = 0x355B9418
leaq -1512(%rbp), %rdi
callq _gmtime
movq %rax, %rdi
callq _asctime
movq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq _tests(%rip), %rax
movq %rax, -1520(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -1520(%rbp), %rax
cmpq $0, (%rax)
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -1520(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -1072(%rbp), %rdi
movq -1520(%rbp), %rax
movq (%rax), %r8
xorl %esi, %esi
movl $1024, %edx ## imm = 0x400
leaq L_.str.2(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -1072(%rbp), %rdi
callq _putenv
cmpl $0, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
callq _puts
movl $1, _failed(%rip)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
callq _tzset
callq _print_tzvars
movq -1520(%rbp), %rax
movq (%rax), %rdi
movq -1520(%rbp), %rax
movl 8(%rax), %esi
movq -1520(%rbp), %rax
movl 12(%rax), %edx
movq -1520(%rbp), %rcx
addq $16, %rcx
callq _check_tzvars
leaq -1512(%rbp), %rdi
callq _localtime
callq _print_tzvars
movq -1520(%rbp), %rax
movq (%rax), %rdi
movq -1520(%rbp), %rax
movl 8(%rax), %esi
movq -1520(%rbp), %rax
movl 12(%rax), %edx
movq -1520(%rbp), %rcx
addq $16, %rcx
callq _check_tzvars
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -1520(%rbp), %rax
addq $32, %rax
movq %rax, -1520(%rbp)
jmp LBB0_1
LBB0_6:
leaq -1576(%rbp), %rdi
xorl %esi, %esi
movl $56, %edx
callq _memset
movl $10, -1564(%rbp)
movl $3, -1560(%rbp)
movl $98, -1556(%rbp)
movl $-1, -1544(%rbp)
movq _envstring@GOTPCREL(%rip), %rdi
leaq L_.str.4(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
movq _envstring@GOTPCREL(%rip), %rdi
callq _putenv
leaq -1576(%rbp), %rdi
callq _mktime
movq %rax, -1512(%rbp)
leaq -1280(%rbp), %rax
movq %rax, -1648(%rbp) ## 8-byte Spill
leaq L_.str.6(%rip), %rdi
callq _getenv
movq -1648(%rbp), %rdi ## 8-byte Reload
movq %rax, %r9
movq -1512(%rbp), %rax
movl -1576(%rbp), %ecx
movl %ecx, -1640(%rbp) ## 4-byte Spill
movl -1572(%rbp), %r13d
movl -1568(%rbp), %r12d
movl -1564(%rbp), %r15d
movl -1560(%rbp), %r14d
movl -1556(%rbp), %ebx
movl -1552(%rbp), %r11d
movl -1548(%rbp), %r10d
movl -1544(%rbp), %ecx
movl %ecx, -1636(%rbp) ## 4-byte Spill
movl $200, %ecx
xorl %edx, %edx
leaq L_.str.5(%rip), %r8
movq %rcx, %rsi
movq %rax, (%rsp)
movl -1640(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%rsp)
movl -1636(%rbp), %eax ## 4-byte Reload
movl %r13d, 16(%rsp)
movl %r12d, 24(%rsp)
movl %r15d, 32(%rsp)
movl %r14d, 40(%rsp)
movl %ebx, 48(%rsp)
movl %r11d, 56(%rsp)
movl %r10d, 64(%rsp)
movl %eax, 72(%rsp)
movb $0, %al
callq ___snprintf_chk
leaq -1280(%rbp), %rdi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
leaq L_.str.7(%rip), %rdi
callq _puts
leaq L_.str.8(%rip), %rdi
callq _puts
leaq -1280(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_8
## %bb.7:
movl $1, _failed(%rip)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.9(%rip), %rdi
callq _fputs
LBB0_8:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq -1632(%rbp), %rdi
xorl %esi, %esi
movl $56, %edx
callq _memset
movl $10, -1620(%rbp)
movl $3, -1616(%rbp)
movl $98, -1612(%rbp)
movl $-1, -1600(%rbp)
movq _envstring@GOTPCREL(%rip), %rdi
leaq L_.str.11(%rip), %rsi
movl $100, %edx
callq ___strcpy_chk
leaq -1632(%rbp), %rdi
callq _mktime
movq %rax, -1512(%rbp)
leaq -1488(%rbp), %rax
movq %rax, -1664(%rbp) ## 8-byte Spill
leaq L_.str.6(%rip), %rdi
callq _getenv
movq -1664(%rbp), %rdi ## 8-byte Reload
movq %rax, %r9
movq -1512(%rbp), %rax
movl -1632(%rbp), %ecx
movl %ecx, -1656(%rbp) ## 4-byte Spill
movl -1628(%rbp), %r13d
movl -1624(%rbp), %r12d
movl -1620(%rbp), %r15d
movl -1616(%rbp), %r14d
movl -1612(%rbp), %ebx
movl -1608(%rbp), %r11d
movl -1604(%rbp), %r10d
movl -1600(%rbp), %ecx
movl %ecx, -1652(%rbp) ## 4-byte Spill
movl $200, %ecx
xorl %edx, %edx
leaq L_.str.5(%rip), %r8
movq %rcx, %rsi
movq %rax, (%rsp)
movl -1656(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%rsp)
movl -1652(%rbp), %eax ## 4-byte Reload
movl %r13d, 16(%rsp)
movl %r12d, 24(%rsp)
movl %r15d, 32(%rsp)
movl %r14d, 40(%rsp)
movl %ebx, 48(%rsp)
movl %r11d, 56(%rsp)
movl %r10d, 64(%rsp)
movl %eax, 72(%rsp)
movb $0, %al
callq ___snprintf_chk
leaq -1488(%rbp), %rdi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
leaq L_.str.7(%rip), %rdi
callq _puts
leaq L_.str.12(%rip), %rdi
callq _puts
leaq -1488(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
cmpl $0, %eax
je LBB0_10
## %bb.9:
movl $1, _failed(%rip)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.9(%rip), %rdi
callq _fputs
LBB0_10:
movl _failed(%rip), %edx
xorl %eax, %eax
movl $1, %ecx
cmpl $0, %edx
cmovnel %ecx, %eax
movl %eax, -1668(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
movl -1668(%rbp), %eax ## 4-byte Reload
addq $1720, %rsp ## imm = 0x6B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function print_tzvars
_print_tzvars: ## @print_tzvars
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _tzname@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.38(%rip), %rdi
movb $0, %al
callq _printf
movq _tzname@GOTPCREL(%rip), %rax
movq 8(%rax), %rsi
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _printf
movq _daylight@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.40(%rip), %rdi
movb $0, %al
callq _printf
movq _timezone@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.41(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function check_tzvars
_check_tzvars: ## @check_tzvars
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq %rcx, -24(%rbp)
movq _daylight@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl -12(%rbp), %eax
je LBB2_2
## %bb.1:
movq -8(%rbp), %rsi
movq _daylight@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl -12(%rbp), %ecx
leaq L_.str.42(%rip), %rdi
movb $0, %al
callq _printf
movl _failed(%rip), %eax
addl $1, %eax
movl %eax, _failed(%rip)
LBB2_2:
movq _timezone@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -16(%rbp), %rcx
cmpq %rcx, %rax
je LBB2_4
## %bb.3:
movq -8(%rbp), %rsi
movq _timezone@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl -16(%rbp), %ecx
leaq L_.str.43(%rip), %rdi
movb $0, %al
callq _printf
movl _failed(%rip), %eax
addl $1, %eax
movl %eax, _failed(%rip)
LBB2_4:
movl $0, -28(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpl $1, -28(%rbp)
jg LBB2_10
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movslq -28(%rbp), %rcx
movq _tzname@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rdi
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq _strcmp
cmpl $0, %eax
je LBB2_8
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movq -8(%rbp), %rsi
movl -28(%rbp), %edx
movslq -28(%rbp), %rcx
movq _tzname@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rcx
movq -24(%rbp), %rax
movslq -28(%rbp), %rdi
movq (%rax,%rdi,8), %r8
leaq L_.str.44(%rip), %rdi
movb $0, %al
callq _printf
movl _failed(%rip), %eax
addl $1, %eax
movl %eax, _failed(%rip)
LBB2_8: ## in Loop: Header=BB2_5 Depth=1
jmp LBB2_9
LBB2_9: ## in Loop: Header=BB2_5 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_5
LBB2_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _failed ## @failed
.zerofill __DATA,__common,_failed,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "We use this date: %s\n"
.section __DATA,__const
.p2align 4 ## @tests
_tests:
.quad L_.str.13
.long 1 ## 0x1
.long 4294963696 ## 0xfffff1f0
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.long 1 ## 0x1
.long 4294963696 ## 0xfffff1f0
.quad L_.str.14
.quad L_.str.15
.quad L_.str.17
.long 1 ## 0x1
.long 0 ## 0x0
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.long 0 ## 0x0
.long 0 ## 0x0
.quad L_.str.21
.quad L_.str.21
.quad L_.str.22
.long 1 ## 0x1
.long 4294931296 ## 0xffff7360
.quad L_.str.23
.quad L_.str.23
.quad L_.str.24
.long 1 ## 0x1
.long 10800 ## 0x2a30
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.long 1 ## 0x1
.long 21600 ## 0x5460
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.long 1 ## 0x1
.long 18000 ## 0x4650
.quad L_.str.23
.quad L_.str.31
.quad L_.str.32
.long 1 ## 0x1
.long 28800 ## 0x7080
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.long 1 ## 0x1
.long 4294924096 ## 0xffff5740
.quad L_.str.36
.quad L_.str.37
.space 32
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Checking timezone %s\n"
L_.str.2: ## @.str.2
.asciz "TZ=%s"
L_.str.3: ## @.str.3
.asciz "putenv failed."
.comm _envstring,100,4 ## @envstring
L_.str.4: ## @.str.4
.asciz "TZ=Europe/London"
L_.str.5: ## @.str.5
.asciz "TZ=%s %ld %d %d %d %d %d %d %d %d %d"
L_.str.6: ## @.str.6
.asciz "TZ"
L_.str.7: ## @.str.7
.asciz " should be"
L_.str.8: ## @.str.8
.asciz "TZ=Europe/London 892162800 0 0 0 10 3 98 5 99 1"
L_.str.9: ## @.str.9
.asciz " FAILED ***"
L_.str.10: ## @.str.10
.asciz "\n"
L_.str.11: ## @.str.11
.asciz "TZ=GMT"
L_.str.12: ## @.str.12
.asciz "TZ=GMT 892166400 0 0 0 10 3 98 5 99 0"
L_.str.13: ## @.str.13
.asciz "Europe/Amsterdam"
L_.str.14: ## @.str.14
.asciz "CET"
L_.str.15: ## @.str.15
.asciz "CEST"
L_.str.16: ## @.str.16
.asciz "Europe/Berlin"
L_.str.17: ## @.str.17
.asciz "Europe/London"
L_.str.18: ## @.str.18
.asciz "GMT"
L_.str.19: ## @.str.19
.asciz "BST"
L_.str.20: ## @.str.20
.asciz "Universal"
L_.str.21: ## @.str.21
.asciz "UTC"
L_.str.22: ## @.str.22
.asciz "Australia/Melbourne"
L_.str.23: ## @.str.23
.asciz "EST"
L_.str.24: ## @.str.24
.asciz "America/Sao_Paulo"
L_.str.25: ## @.str.25
.asciz "BRT"
L_.str.26: ## @.str.26
.asciz "BRST"
L_.str.27: ## @.str.27
.asciz "America/Chicago"
L_.str.28: ## @.str.28
.asciz "CST"
L_.str.29: ## @.str.29
.asciz "CDT"
L_.str.30: ## @.str.30
.asciz "America/Indiana/Indianapolis"
L_.str.31: ## @.str.31
.asciz "EDT"
L_.str.32: ## @.str.32
.asciz "America/Los_Angeles"
L_.str.33: ## @.str.33
.asciz "PST"
L_.str.34: ## @.str.34
.asciz "PDT"
L_.str.35: ## @.str.35
.asciz "Pacific/Auckland"
L_.str.36: ## @.str.36
.asciz "NZST"
L_.str.37: ## @.str.37
.asciz "NZDT"
L_.str.38: ## @.str.38
.asciz "tzname[0]: %s\n"
L_.str.39: ## @.str.39
.asciz "tzname[1]: %s\n"
L_.str.40: ## @.str.40
.asciz "daylight: %d\n"
L_.str.41: ## @.str.41
.asciz "timezone: %ld\n"
L_.str.42: ## @.str.42
.asciz "*** Timezone: %s, daylight is: %d but should be: %d\n"
L_.str.43: ## @.str.43
.asciz "*** Timezone: %s, timezone is: %ld but should be: %d\n"
L_.str.44: ## @.str.44
.asciz "*** Timezone: %s, tzname[%d] is: %s but should be: %s\n"
.subsections_via_symbols
|
the_stack_data/43357.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #16]
ldr w8, [x8]
str w8, [sp, #12]
ldr x8, [sp, #24]
ldr w8, [x8]
ldr x9, [sp, #16]
str w8, [x9]
ldr w8, [sp, #12]
ldr x9, [sp, #24]
str w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _qsort1 ; -- Begin function qsort1
.p2align 2
_qsort1: ; @qsort1
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
str w3, [sp, #24]
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_9
LBB1_2:
ldur w8, [x29, #-20]
str w8, [sp, #20]
ldur w8, [x29, #-20]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
str x8, [sp, #8]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #24]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB1_8
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
add x0, x8, x9, lsl #2
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
add x1, x8, x9, lsl #2
bl _swap
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB1_3
LBB1_8:
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
add x0, x8, x9, lsl #2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
add x1, x8, x9, lsl #2
bl _swap
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldur w2, [x29, #-20]
ldr w8, [sp, #20]
subs w3, w8, #1
bl _qsort1
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
ldr w8, [sp, #20]
add w2, w8, #1
ldr w3, [sp, #24]
bl _qsort1
b LBB1_9
LBB1_9:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _printarray ; -- Begin function printarray
.p2align 2
_printarray: ; @printarray
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
str xzr, [sp, #16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-16]
ldr x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB2_1
LBB2_4:
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, #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 x0, #4000
bl _malloc
str x0, [sp, #24]
mov w0, #39303
movk w0, #23817, lsl #16
bl _srand
str xzr, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #1000
cset w8, hs
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
bl _rand
mov w9, #1000
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
subs w8, w8, #500
ldr x9, [sp, #24]
ldr x10, [sp, #16]
str w8, [x9, x10, lsl #2]
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_1
LBB3_4:
ldr x1, [sp, #24]
mov x0, #1000
str x0, [sp] ; 8-byte Folded Spill
adrp x2, l_.str.3@PAGE
add x2, x2, l_.str.3@PAGEOFF
bl _printarray
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #24]
mov w2, #0
str w2, [sp, #12] ; 4-byte Folded Spill
mov w3, #999
bl _qsort1
ldr x0, [sp] ; 8-byte Folded Reload
ldr x1, [sp, #24]
adrp x2, l_.str.4@PAGE
add x2, x2, l_.str.4@PAGEOFF
bl _printarray
ldr x0, [sp, #24]
bl _free
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "before sort:"
l_.str.4: ; @.str.4
.asciz "after sort:"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -20(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _qsort1 ## -- Begin function qsort1
.p2align 4, 0x90
_qsort1: ## @qsort1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jl LBB1_2
## %bb.1:
jmp LBB1_9
LBB1_2:
movl -20(%rbp), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
cltq
movq %rax, -40(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movslq -24(%rbp), %rcx
cmpq %rcx, %rax
ja LBB1_8
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -16(%rbp), %rax
movq -40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -16(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movq -16(%rbp), %rdi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rdi
movq -16(%rbp), %rsi
movq -40(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
callq _swap
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB1_3
LBB1_8:
movq -16(%rbp), %rdi
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rdi
movq -16(%rbp), %rsi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
callq _swap
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %edx
movl -28(%rbp), %ecx
subl $1, %ecx
callq _qsort1
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -28(%rbp), %edx
addl $1, %edx
movl -24(%rbp), %ecx
callq _qsort1
LBB1_9:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printarray ## -- Begin function printarray
.p2align 4, 0x90
_printarray: ## @printarray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -24(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq $0, -32(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
cmpq -8(%rbp), %rax
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB2_1
LBB2_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $4000, %edi ## imm = 0xFA0
callq _malloc
movq %rax, -24(%rbp)
movl $1560910215, %edi ## imm = 0x5D099987
callq _srand
movq $0, -32(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpq $1000, -32(%rbp) ## imm = 0x3E8
jae LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
callq _rand
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
subl $500, %edx ## imm = 0x1F4
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB3_1
LBB3_4:
movq -24(%rbp), %rsi
movl $1000, %edi ## imm = 0x3E8
leaq L_.str.3(%rip), %rdx
callq _printarray
movq -24(%rbp), %rsi
movl $1000, %edi ## imm = 0x3E8
xorl %edx, %edx
movl $999, %ecx ## imm = 0x3E7
callq _qsort1
movq -24(%rbp), %rsi
movl $1000, %edi ## imm = 0x3E8
leaq L_.str.4(%rip), %rdx
callq _printarray
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "before sort:"
L_.str.4: ## @.str.4
.asciz "after sort:"
.subsections_via_symbols
|
the_stack_data/3262603.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x8, _bar@GOTPAGE
ldr x8, [x8, _bar@GOTPAGEOFF]
ldr x8, [x8]
fmov s0, #3.00000000
fmov d1, #2.00000000
blr x8
ldur w8, [x29, #-4]
add w8, w0, w8
add w0, w8, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _bar,8,3 ; @bar
.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 foo
LCPI0_0:
.long 0x40400000 ## float 3
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movq _bar@GOTPCREL(%rip), %rax
callq *(%rax)
addl -4(%rbp), %eax
addl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _bar,8,3 ## @bar
.subsections_via_symbols
|
the_stack_data/31267.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _assignRandomWeights ; -- Begin function assignRandomWeights
.p2align 2
_assignRandomWeights: ; @assignRandomWeights
.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 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, #5
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
bl _rand
scvtf s0, w0
movi.2s v1, #79, lsl #24
; kill: def $s1 killed $s1 killed $d1
fdiv s0, s0, s1
fcvt d0, s0
fmov d1, #0.50000000
fsub d0, d0, d1
ldrsw x8, [sp, #8]
mov x9, #24
mul x9, x8, x9
adrp x8, _wih@GOTPAGE
ldr x8, [x8, _wih@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-4]
str d0, [x8, x9, lsl #3]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-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:
stur wzr, [x29, #-4]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-4]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #4]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
bl _rand
scvtf s0, w0
movi.2s v1, #79, lsl #24
; kill: def $s1 killed $s1 killed $d1
fdiv s0, s0, s1
fcvt d0, s0
fmov d1, #0.50000000
fsub d0, d0, d1
ldursw x9, [x29, #-4]
adrp x8, _who@GOTPAGE
ldr x8, [x8, _who@GOTPAGEOFF]
add x8, x8, x9, lsl #5
ldrsw x9, [sp, #4]
str d0, [x8, x9, lsl #3]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_9
LBB0_16:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sigmoid ; -- Begin function sigmoid
.p2align 2
_sigmoid: ; @sigmoid
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str d0, [sp, #8]
ldr d0, [sp, #8]
fneg d0, d0
bl _exp
fmov d1, d0
fmov d0, #1.00000000
fadd d1, d0, d1
fdiv d0, d0, d1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sigmoidDerivative ; -- Begin function sigmoidDerivative
.p2align 2
_sigmoidDerivative: ; @sigmoidDerivative
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, #8]
ldr d0, [sp, #8]
ldr d2, [sp, #8]
fmov d1, #1.00000000
fsub d1, d1, d2
fmul d0, d0, d1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _feedForward ; -- Begin function feedForward
.p2align 2
_feedForward: ; @feedForward
.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, _who@GOTPAGE
ldr x8, [x8, _who@GOTPAGEOFF]
add x8, x8, #96
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _wih@GOTPAGE
ldr x8, [x8, _wih@GOTPAGEOFF]
add x8, x8, #96
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-8]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
movi d0, #0000000000000000
str d0, [sp, #24]
stur wzr, [x29, #-4]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldursw x9, [x29, #-4]
adrp x8, _inputs@GOTPAGE
ldr x8, [x8, _inputs@GOTPAGEOFF]
ldr d0, [x8, x9, lsl #3]
ldursw x8, [x29, #-4]
mov x9, #24
mul x9, x8, x9
adrp x8, _wih@GOTPAGE
ldr x8, [x8, _wih@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-8]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #24]
fmadd d0, d0, d1, d2
str d0, [sp, #24]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
ldr d0, [sp, #24]
bl _sigmoid
ldursw x9, [x29, #-8]
adrp x8, _hidden@GOTPAGE
ldr x8, [x8, _hidden@GOTPAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB3_1
LBB3_8:
stur wzr, [x29, #-12]
b LBB3_9
LBB3_9: ; =>This Loop Header: Depth=1
; Child Loop BB3_11 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB3_16
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=1
movi d0, #0000000000000000
str d0, [sp, #24]
stur wzr, [x29, #-8]
b LBB3_11
LBB3_11: ; Parent Loop BB3_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB3_14
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_11 Depth=2
ldursw x9, [x29, #-8]
adrp x8, _hidden@GOTPAGE
ldr x8, [x8, _hidden@GOTPAGEOFF]
ldr d0, [x8, x9, lsl #3]
ldursw x9, [x29, #-8]
adrp x8, _who@GOTPAGE
ldr x8, [x8, _who@GOTPAGEOFF]
add x8, x8, x9, lsl #5
ldursw x9, [x29, #-12]
ldr d1, [x8, x9, lsl #3]
ldr d2, [sp, #24]
fmadd d0, d0, d1, d2
str d0, [sp, #24]
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_11 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB3_11
LBB3_14: ; in Loop: Header=BB3_9 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x9, [x29, #-12]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #24]
fadd d0, d0, d1
str d0, [sp, #24]
ldr d0, [sp, #24]
bl _sigmoid
ldursw x9, [x29, #-12]
adrp x8, _actual@GOTPAGE
ldr x8, [x8, _actual@GOTPAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_9 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB3_9
LBB3_16:
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 backPropagate
lCPI4_0:
.quad 0x3fc999999999999a ; double 0.20000000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _backPropagate
.p2align 2
_backPropagate: ; @backPropagate
.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, _errh@GOTPAGE
ldr x8, [x8, _errh@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x8, _wih@GOTPAGE
ldr x8, [x8, _wih@GOTPAGEOFF]
add x8, x8, #96
str x8, [sp, #16] ; 8-byte Folded Spill
adrp x8, _erro@GOTPAGE
ldr x8, [x8, _erro@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _who@GOTPAGE
ldr x8, [x8, _who@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
add x8, x8, #96
stur x8, [x29, #-24] ; 8-byte Folded Spill
stur wzr, [x29, #-12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _target@GOTPAGE
ldr x8, [x8, _target@GOTPAGEOFF]
ldr d0, [x8, x9, lsl #3]
ldursw x9, [x29, #-12]
adrp x8, _actual@GOTPAGE
ldr x8, [x8, _actual@GOTPAGEOFF]
ldr d1, [x8, x9, lsl #3]
fsub d0, d0, d1
str d0, [sp] ; 8-byte Folded Spill
ldursw x9, [x29, #-12]
ldr d0, [x8, x9, lsl #3]
bl _sigmoidDerivative
ldr x8, [sp, #24] ; 8-byte Folded Reload
fmov d1, d0
ldr d0, [sp] ; 8-byte Folded Reload
fmul d0, d0, d1
ldursw x9, [x29, #-12]
str d0, [x8, x9, lsl #3]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB4_1
LBB4_4:
stur wzr, [x29, #-8]
b LBB4_5
LBB4_5: ; =>This Loop Header: Depth=1
; Child Loop BB4_7 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
movi d0, #0000000000000000
str d0, [x8, x9, lsl #3]
stur wzr, [x29, #-12]
b LBB4_7
LBB4_7: ; Parent Loop BB4_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB4_10
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_7 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldursw x11, [x29, #-12]
ldr d0, [x10, x11, lsl #3]
ldursw x10, [x29, #-8]
add x9, x9, x10, lsl #5
ldursw x10, [x29, #-12]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_7 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB4_7
LBB4_10: ; in Loop: Header=BB4_5 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _hidden@GOTPAGE
ldr x8, [x8, _hidden@GOTPAGEOFF]
ldr d0, [x8, x9, lsl #3]
bl _sigmoidDerivative
ldr x8, [sp, #8] ; 8-byte Folded Reload
fmov d1, d0
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #3
ldr d0, [x8]
fmul d0, d0, d1
str d0, [x8]
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_5 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB4_5
LBB4_12:
stur wzr, [x29, #-12]
b LBB4_13
LBB4_13: ; =>This Loop Header: Depth=1
; Child Loop BB4_15 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB4_20
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=1
stur wzr, [x29, #-8]
b LBB4_15
LBB4_15: ; Parent Loop BB4_13 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB4_18
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_15 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-12]
ldr d1, [x9, x10, lsl #3]
adrp x9, lCPI4_0@PAGE
ldr d0, [x9, lCPI4_0@PAGEOFF]
fmul d0, d0, d1
ldursw x10, [x29, #-8]
adrp x9, _hidden@GOTPAGE
ldr x9, [x9, _hidden@GOTPAGEOFF]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_15 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB4_15
LBB4_18: ; in Loop: Header=BB4_13 Depth=1
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldursw x10, [x29, #-12]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #3
ldr d2, [x8]
adrp x9, lCPI4_0@PAGE
ldr d0, [x9, lCPI4_0@PAGEOFF]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB4_19
LBB4_19: ; in Loop: Header=BB4_13 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB4_13
LBB4_20:
stur wzr, [x29, #-8]
b LBB4_21
LBB4_21: ; =>This Loop Header: Depth=1
; Child Loop BB4_23 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB4_28
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_21 Depth=1
stur wzr, [x29, #-4]
b LBB4_23
LBB4_23: ; Parent Loop BB4_21 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-4]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB4_26
b LBB4_24
LBB4_24: ; in Loop: Header=BB4_23 Depth=2
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldr d1, [x8, x9, lsl #3]
adrp x8, lCPI4_0@PAGE
ldr d0, [x8, lCPI4_0@PAGEOFF]
fmul d0, d0, d1
ldursw x9, [x29, #-4]
adrp x8, _inputs@GOTPAGE
ldr x8, [x8, _inputs@GOTPAGEOFF]
ldr d1, [x8, x9, lsl #3]
ldursw x8, [x29, #-4]
mov x9, #24
mul x9, x8, x9
adrp x8, _wih@GOTPAGE
ldr x8, [x8, _wih@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #3
ldr d2, [x8]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB4_25
LBB4_25: ; in Loop: Header=BB4_23 Depth=2
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB4_23
LBB4_26: ; in Loop: Header=BB4_21 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #3
ldr d2, [x8]
adrp x9, lCPI4_0@PAGE
ldr d0, [x9, lCPI4_0@PAGEOFF]
fmadd d0, d0, d1, d2
str d0, [x8]
b LBB4_27
LBB4_27: ; in Loop: Header=BB4_21 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB4_21
LBB4_28:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _action ; -- Begin function action
.p2align 2
_action: ; @action
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str wzr, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #8]
mov w8, #1
str w8, [sp, #20]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr d0, [x8, x9, lsl #3]
ldr d1, [sp, #8]
fcmp d0, d1
cset w8, le
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr d0, [x8, x9, lsl #3]
str d0, [sp, #8]
ldr w8, [sp, #20]
str w8, [sp, #16]
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB5_1
LBB5_6:
ldr w0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI6_0:
.quad 0x4059000000000000 ; double 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _out@GOTPAGE
ldr x8, [x8, _out@GOTPAGEOFF]
stur x8, [x29, #-40] ; 8-byte Folded Spill
adrp x8, _inputs@GOTPAGE
ldr x8, [x8, _inputs@GOTPAGEOFF]
stur x8, [x29, #-64] ; 8-byte Folded Spill
adrp x8, _target@GOTPAGE
ldr x8, [x8, _target@GOTPAGEOFF]
stur x8, [x29, #-56] ; 8-byte Folded Spill
adrp x8, _actual@GOTPAGE
ldr x8, [x8, _actual@GOTPAGEOFF]
stur x8, [x29, #-48] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
stur wzr, [x29, #-32]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fopen
ldur x8, [x29, #-40] ; 8-byte Folded Reload
str x0, [x8]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _assignRandomWeights
b LBB6_1
LBB6_1: ; =>This Loop Header: Depth=1
; Child Loop BB6_4 Depth 2
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
subs w8, w8, #18
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
stur wzr, [x29, #-24]
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldur x10, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-24]
lsl x11, x9, #6
adrp x9, _samples@PAGE
add x9, x9, _samples@PAGEOFF
stur x9, [x29, #-72] ; 8-byte Folded Spill
ldr d0, [x9, x11]
str d0, [x10]
ldursw x12, [x29, #-24]
mov x11, x9
add x11, x11, x12, lsl #6
ldr d0, [x11, #8]
str d0, [x10, #8]
ldursw x12, [x29, #-24]
mov x11, x9
add x11, x11, x12, lsl #6
ldr d0, [x11, #16]
str d0, [x10, #16]
ldursw x12, [x29, #-24]
mov x11, x9
add x11, x11, x12, lsl #6
ldr d0, [x11, #24]
str d0, [x10, #24]
ldursw x11, [x29, #-24]
mov x10, x9
add x10, x10, x11, lsl #6
ldr d0, [x10, #32]
str d0, [x8]
ldursw x11, [x29, #-24]
mov x10, x9
add x10, x10, x11, lsl #6
ldr d0, [x10, #40]
str d0, [x8, #8]
ldursw x11, [x29, #-24]
mov x10, x9
add x10, x10, x11, lsl #6
ldr d0, [x10, #48]
str d0, [x8, #16]
ldursw x10, [x29, #-24]
add x9, x9, x10, lsl #6
ldr d0, [x9, #56]
str d0, [x8, #24]
bl _feedForward
movi d0, #0000000000000000
stur d0, [x29, #-16]
stur wzr, [x29, #-20]
b LBB6_4
LBB6_4: ; Parent Loop BB6_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB6_7
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_4 Depth=2
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldursw x11, [x29, #-24]
adrp x9, _samples@PAGE
add x9, x9, _samples@PAGEOFF
mov x10, x9
add x10, x10, x11, lsl #6
add x10, x10, #32
ldursw x11, [x29, #-20]
ldr d0, [x10, x11, lsl #3]
ldursw x10, [x29, #-20]
ldr d1, [x8, x10, lsl #3]
fsub d0, d0, d1
ldursw x10, [x29, #-24]
add x9, x9, x10, lsl #6
add x9, x9, #32
ldursw x10, [x29, #-20]
ldr d1, [x9, x10, lsl #3]
ldursw x9, [x29, #-20]
ldr d2, [x8, x9, lsl #3]
fsub d1, d1, d2
ldur d2, [x29, #-16]
fmadd d0, d0, d1, d2
stur d0, [x29, #-16]
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_4 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB6_4
LBB6_7: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur d1, [x29, #-16]
fmov d0, #0.50000000
fmul d0, d0, d1
stur d0, [x29, #-16]
ldr x0, [x8]
ldur d0, [x29, #-16]
mov x8, sp
str d0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldur d0, [x29, #-16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur w8, [x29, #-28]
add w9, w8, #1
stur w9, [x29, #-28]
mov w9, #20000
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_9
b LBB6_8
LBB6_8:
b LBB6_10
LBB6_9: ; in Loop: Header=BB6_1 Depth=1
bl _backPropagate
b LBB6_1
LBB6_10:
stur wzr, [x29, #-20]
b LBB6_11
LBB6_11: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #18
cset w8, ge
tbnz w8, #0, LBB6_17
b LBB6_12
LBB6_12: ; in Loop: Header=BB6_11 Depth=1
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldur x10, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
lsl x11, x9, #6
adrp x9, _samples@PAGE
add x9, x9, _samples@PAGEOFF
stur x9, [x29, #-88] ; 8-byte Folded Spill
ldr d0, [x9, x11]
str d0, [x10]
ldursw x12, [x29, #-20]
mov x11, x9
add x11, x11, x12, lsl #6
ldr d0, [x11, #8]
str d0, [x10, #8]
ldursw x12, [x29, #-20]
mov x11, x9
add x11, x11, x12, lsl #6
ldr d0, [x11, #16]
str d0, [x10, #16]
ldursw x12, [x29, #-20]
mov x11, x9
add x11, x11, x12, lsl #6
ldr d0, [x11, #24]
str d0, [x10, #24]
ldursw x11, [x29, #-20]
mov x10, x9
add x10, x10, x11, lsl #6
ldr d0, [x10, #32]
str d0, [x8]
ldursw x11, [x29, #-20]
mov x10, x9
add x10, x10, x11, lsl #6
ldr d0, [x10, #40]
str d0, [x8, #8]
ldursw x11, [x29, #-20]
mov x10, x9
add x10, x10, x11, lsl #6
ldr d0, [x10, #48]
str d0, [x8, #16]
ldursw x10, [x29, #-20]
add x9, x9, x10, lsl #6
ldr d0, [x9, #56]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
mov x8, x0
ldur x0, [x29, #-56] ; 8-byte Folded Reload
stur w8, [x29, #-76] ; 4-byte Folded Spill
bl _action
mov x8, x0
ldur w0, [x29, #-76] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, eq
tbnz w8, #0, LBB6_14
b LBB6_13
LBB6_13: ; in Loop: Header=BB6_11 Depth=1
ldur x0, [x29, #-48] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldr d0, [x8]
str d0, [sp, #96] ; 8-byte Folded Spill
ldr d0, [x8, #8]
str d0, [sp, #104] ; 8-byte Folded Spill
ldr d0, [x8, #16]
str d0, [sp, #112] ; 8-byte Folded Spill
ldr d0, [x8, #24]
stur d0, [x29, #-104] ; 8-byte Folded Spill
bl _action
mov x9, x0
ldur x0, [x29, #-56] ; 8-byte Folded Reload
adrp x8, _strings@PAGE
add x8, x8, _strings@PAGEOFF
str x8, [sp, #88] ; 8-byte Folded Spill
ldr x8, [x8, w9, sxtw #3]
stur x8, [x29, #-96] ; 8-byte Folded Spill
bl _action
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr d3, [sp, #96] ; 8-byte Folded Reload
ldr d2, [sp, #104] ; 8-byte Folded Reload
ldr d1, [sp, #112] ; 8-byte Folded Reload
ldur d0, [x29, #-104] ; 8-byte Folded Reload
ldur x10, [x29, #-96] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str d3, [x9]
str d2, [x9, #8]
str d1, [x9, #16]
str d0, [x9, #24]
str x10, [x9, #32]
str x8, [x9, #40]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB6_15
LBB6_14: ; in Loop: Header=BB6_11 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB6_15
LBB6_15: ; in Loop: Header=BB6_11 Depth=1
b LBB6_16
LBB6_16: ; in Loop: Header=BB6_11 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB6_11
LBB6_17:
ldur s0, [x29, #-32]
scvtf s0, s0
fmov s1, #18.00000000
fdiv s0, s0, s1
fcvt d0, s0
adrp x8, lCPI6_0@PAGE
ldr d1, [x8, lCPI6_0@PAGEOFF]
fmul d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x8, [x29, #-64] ; 8-byte Folded Reload
fmov d0, #2.00000000
str d0, [sp, #48] ; 8-byte Folded Spill
str d0, [x8]
fmov d0, #1.00000000
str d0, [sp, #56] ; 8-byte Folded Spill
str d0, [x8, #8]
str d0, [x8, #16]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
adrp x8, _strings@PAGE
add x8, x8, _strings@PAGEOFF
str x8, [sp, #80] ; 8-byte Folded Spill
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr d0, [sp, #48] ; 8-byte Folded Reload
ldr d1, [sp, #56] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
str d1, [x8]
str d1, [x8, #8]
str d1, [x8, #16]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldur x8, [x29, #-64] ; 8-byte Folded Reload
movi d0, #0000000000000000
str d0, [sp, #64] ; 8-byte Folded Spill
str d0, [x8]
str d0, [x8, #8]
str d0, [x8, #16]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr d0, [sp, #56] ; 8-byte Folded Reload
ldr d1, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
str d1, [x8]
str d0, [x8, #8]
str d0, [x8, #16]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr d2, [sp, #48] ; 8-byte Folded Reload
ldr d0, [sp, #56] ; 8-byte Folded Reload
ldr d1, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
str d2, [x8]
str d1, [x8, #8]
str d0, [x8, #16]
fmov d0, #3.00000000
str d0, [sp, #72] ; 8-byte Folded Spill
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr d3, [sp, #48] ; 8-byte Folded Reload
ldr d2, [sp, #56] ; 8-byte Folded Reload
ldr d1, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldr d0, [sp, #72] ; 8-byte Folded Reload
str d3, [x8]
str d2, [x8, #8]
str d1, [x8, #16]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
ldr d2, [sp, #56] ; 8-byte Folded Reload
ldr d1, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldr d0, [sp, #72] ; 8-byte Folded Reload
str d1, [x8]
str d2, [x8, #8]
str d1, [x8, #16]
str d0, [x8, #24]
bl _feedForward
ldur x0, [x29, #-48] ; 8-byte Folded Reload
bl _action
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x8, [x8, w0, sxtw #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.comm _wih,120,3 ; @wih
.comm _who,128,3 ; @who
.comm _inputs,32,3 ; @inputs
.comm _hidden,24,3 ; @hidden
.comm _actual,32,3 ; @actual
.comm _target,32,3 ; @target
.comm _erro,32,3 ; @erro
.comm _errh,24,3 ; @errh
.section __DATA,__data
.globl _samples ; @samples
.p2align 3
_samples:
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x4000000000000000 ; double 2
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x3ff0000000000000 ; double 1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Attack"
l_.str.1: ; @.str.1
.asciz "Run"
l_.str.2: ; @.str.2
.asciz "Wander"
l_.str.3: ; @.str.3
.asciz "Hide"
.section __DATA,__data
.globl _strings ; @strings
.p2align 3
_strings:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "stats.txt"
l_.str.5: ; @.str.5
.asciz "w"
.comm _out,8,3 ; @out
l_.str.6: ; @.str.6
.asciz "%g\n"
l_.str.7: ; @.str.7
.asciz "mse = %g\n"
l_.str.8: ; @.str.8
.asciz "%2.1g:%2.1g:%2.1g:%2.1g %s (%s)\n"
l_.str.9: ; @.str.9
.asciz "Network is %g%% correct\n"
l_.str.10: ; @.str.10
.asciz "2111 Action %s\n"
l_.str.11: ; @.str.11
.asciz "1112 Action %s\n"
l_.str.12: ; @.str.12
.asciz "0000 Action %s\n"
l_.str.13: ; @.str.13
.asciz "0111 Action %s\n"
l_.str.14: ; @.str.14
.asciz "2013 Action %s\n"
l_.str.15: ; @.str.15
.asciz "2103 Action %s\n"
l_.str.16: ; @.str.16
.asciz "0103 Action %s\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function assignRandomWeights
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_1:
.long 0x4f000000 ## float 2.14748365E+9
.section __TEXT,__text,regular,pure_instructions
.globl _assignRandomWeights
.p2align 4, 0x90
_assignRandomWeights: ## @assignRandomWeights
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $5, -8(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -4(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -4(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movslq -8(%rbp), %rcx
movq _wih@GOTPCREL(%rip), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movslq -4(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%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 $0, -4(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $4, -4(%rbp)
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -12(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -12(%rbp)
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
callq _rand
cvtsi2ss %eax, %xmm0
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
movslq -4(%rbp), %rcx
movq _who@GOTPCREL(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%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 -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_9
LBB0_16:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function sigmoid
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _sigmoid
.p2align 4, 0x90
_sigmoid: ## @sigmoid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
callq _exp
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm0, %xmm1
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function sigmoidDerivative
LCPI2_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _sigmoidDerivative
.p2align 4, 0x90
_sigmoidDerivative: ## @sigmoidDerivative
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd %xmm0, -8(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd -8(%rbp), %xmm1
mulsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _feedForward ## -- Begin function feedForward
.p2align 4, 0x90
_feedForward: ## @feedForward
.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, -8(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
cmpl $3, -8(%rbp)
jge LBB3_8
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -24(%rbp)
movl $0, -4(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -4(%rbp)
jge LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movslq -4(%rbp), %rcx
movq _inputs@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -4(%rbp), %rcx
movq _wih@GOTPCREL(%rip), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movslq -8(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
movslq -8(%rbp), %rcx
movq _wih@GOTPCREL(%rip), %rax
movsd 96(%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sigmoid
movslq -8(%rbp), %rcx
movq _hidden@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
## %bb.7: ## in Loop: Header=BB3_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB3_1
LBB3_8:
movl $0, -12(%rbp)
LBB3_9: ## =>This Loop Header: Depth=1
## Child Loop BB3_11 Depth 2
cmpl $4, -12(%rbp)
jge LBB3_16
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
xorps %xmm0, %xmm0
movsd %xmm0, -24(%rbp)
movl $0, -8(%rbp)
LBB3_11: ## Parent Loop BB3_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -8(%rbp)
jge LBB3_14
## %bb.12: ## in Loop: Header=BB3_11 Depth=2
movslq -8(%rbp), %rcx
movq _hidden@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -8(%rbp), %rcx
movq _who@GOTPCREL(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp)
## %bb.13: ## in Loop: Header=BB3_11 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB3_11
LBB3_14: ## in Loop: Header=BB3_9 Depth=1
movslq -12(%rbp), %rcx
movq _who@GOTPCREL(%rip), %rax
movsd 96(%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _sigmoid
movslq -12(%rbp), %rcx
movq _actual@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
## %bb.15: ## in Loop: Header=BB3_9 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB3_9
LBB3_16:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function backPropagate
LCPI4_0:
.quad 0x3fc999999999999a ## double 0.20000000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _backPropagate
.p2align 4, 0x90
_backPropagate: ## @backPropagate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -12(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -12(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq -12(%rbp), %rcx
movq _target@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -12(%rbp), %rcx
movq _actual@GOTPCREL(%rip), %rax
subsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movslq -12(%rbp), %rcx
movq _actual@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
callq _sigmoidDerivative
movaps %xmm0, %xmm1
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
movslq -12(%rbp), %rcx
movq _erro@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB4_1
LBB4_4:
movl $0, -8(%rbp)
LBB4_5: ## =>This Loop Header: Depth=1
## Child Loop BB4_7 Depth 2
cmpl $3, -8(%rbp)
jge LBB4_12
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movslq -8(%rbp), %rcx
movq _errh@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl $0, -12(%rbp)
LBB4_7: ## Parent Loop BB4_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -12(%rbp)
jge LBB4_10
## %bb.8: ## in Loop: Header=BB4_7 Depth=2
movslq -12(%rbp), %rcx
movq _erro@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -8(%rbp), %rcx
movq _who@GOTPCREL(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movslq -8(%rbp), %rcx
movq _errh@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq _errh@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
## %bb.9: ## in Loop: Header=BB4_7 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB4_7
LBB4_10: ## in Loop: Header=BB4_5 Depth=1
movslq -8(%rbp), %rcx
movq _hidden@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
callq _sigmoidDerivative
movslq -8(%rbp), %rcx
movq _errh@GOTPCREL(%rip), %rax
mulsd (%rax,%rcx,8), %xmm0
movq _errh@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax,%rcx,8)
## %bb.11: ## in Loop: Header=BB4_5 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB4_5
LBB4_12:
movl $0, -12(%rbp)
LBB4_13: ## =>This Loop Header: Depth=1
## Child Loop BB4_15 Depth 2
cmpl $4, -12(%rbp)
jge LBB4_20
## %bb.14: ## in Loop: Header=BB4_13 Depth=1
movl $0, -8(%rbp)
LBB4_15: ## Parent Loop BB4_13 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -8(%rbp)
jge LBB4_18
## %bb.16: ## in Loop: Header=BB4_15 Depth=2
movslq -12(%rbp), %rcx
movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq _erro@GOTPCREL(%rip), %rax
mulsd (%rax,%rcx,8), %xmm0
movslq -8(%rbp), %rcx
movq _hidden@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movslq -8(%rbp), %rcx
movq _who@GOTPCREL(%rip), %rax
shlq $5, %rcx
addq %rcx, %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.17: ## in Loop: Header=BB4_15 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB4_15
LBB4_18: ## in Loop: Header=BB4_13 Depth=1
movslq -12(%rbp), %rcx
movq _erro@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -12(%rbp), %rcx
movq _who@GOTPCREL(%rip), %rax
movsd 96(%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI4_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq _who@GOTPCREL(%rip), %rax
movsd %xmm0, 96(%rax,%rcx,8)
## %bb.19: ## in Loop: Header=BB4_13 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB4_13
LBB4_20:
movl $0, -8(%rbp)
LBB4_21: ## =>This Loop Header: Depth=1
## Child Loop BB4_23 Depth 2
cmpl $3, -8(%rbp)
jge LBB4_28
## %bb.22: ## in Loop: Header=BB4_21 Depth=1
movl $0, -4(%rbp)
LBB4_23: ## Parent Loop BB4_21 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -4(%rbp)
jge LBB4_26
## %bb.24: ## in Loop: Header=BB4_23 Depth=2
movslq -8(%rbp), %rcx
movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq _errh@GOTPCREL(%rip), %rax
mulsd (%rax,%rcx,8), %xmm0
movslq -4(%rbp), %rcx
movq _inputs@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movslq -4(%rbp), %rcx
movq _wih@GOTPCREL(%rip), %rax
imulq $24, %rcx, %rcx
addq %rcx, %rax
movslq -8(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
## %bb.25: ## in Loop: Header=BB4_23 Depth=2
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_23
LBB4_26: ## in Loop: Header=BB4_21 Depth=1
movslq -8(%rbp), %rcx
movq _errh@GOTPCREL(%rip), %rax
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -8(%rbp), %rcx
movq _wih@GOTPCREL(%rip), %rax
movsd 96(%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI4_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq _wih@GOTPCREL(%rip), %rax
movsd %xmm0, 96(%rax,%rcx,8)
## %bb.27: ## in Loop: Header=BB4_21 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB4_21
LBB4_28:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _action ## -- Begin function action
.p2align 4, 0x90
_action: ## @action
.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, -16(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movl $1, -12(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $4, -12(%rbp)
jge LBB5_6
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
ucomisd -24(%rbp), %xmm0
jbe LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movl -12(%rbp), %eax
movl %eax, -16(%rbp)
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_5
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB5_1
LBB5_6:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI6_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI6_1:
.quad 0x4008000000000000 ## double 3
LCPI6_2:
.quad 0x3ff0000000000000 ## double 1
LCPI6_3:
.quad 0x4000000000000000 ## double 2
LCPI6_4:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI6_5:
.long 0x41900000 ## float 18
.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
movl $0, -4(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
leaq L_.str.4(%rip), %rdi
leaq L_.str.5(%rip), %rsi
callq _fopen
movq %rax, %rcx
movq _out@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
callq _assignRandomWeights
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_4 Depth 2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
cmpl $18, %eax
jne LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movl $0, -24(%rbp)
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, 16(%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, 24(%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 32(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 40(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 48(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, 16(%rax)
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 56(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, 24(%rax)
callq _feedForward
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
movl $0, -20(%rbp)
LBB6_4: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $4, -20(%rbp)
jge LBB6_7
## %bb.5: ## in Loop: Header=BB6_4 Depth=2
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movsd 32(%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movslq -20(%rbp), %rcx
movq _actual@GOTPCREL(%rip), %rax
subsd (%rax,%rcx,8), %xmm0
movslq -24(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movslq -20(%rbp), %rcx
movsd 32(%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero
movslq -20(%rbp), %rcx
movq _actual@GOTPCREL(%rip), %rax
subsd (%rax,%rcx,8), %xmm2
movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
## %bb.6: ## in Loop: Header=BB6_4 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_4
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
movsd LCPI6_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd -16(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movq _out@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.6(%rip), %rsi
movb $1, %al
callq _fprintf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
movl -28(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
cmpl $20000, %eax ## imm = 0x4E20
jle LBB6_9
## %bb.8:
jmp LBB6_10
LBB6_9: ## in Loop: Header=BB6_1 Depth=1
callq _backPropagate
jmp LBB6_1
LBB6_10:
movl $0, -20(%rbp)
LBB6_11: ## =>This Inner Loop Header: Depth=1
cmpl $18, -20(%rbp)
jge LBB6_17
## %bb.12: ## in Loop: Header=BB6_11 Depth=1
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, 16(%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _inputs@GOTPCREL(%rip), %rax
movsd %xmm0, 24(%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 32(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 40(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 48(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, 16(%rax)
movslq -20(%rbp), %rcx
leaq _samples(%rip), %rax
shlq $6, %rcx
addq %rcx, %rax
movsd 56(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _target@GOTPCREL(%rip), %rax
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movl %eax, -36(%rbp) ## 4-byte Spill
movq _target@GOTPCREL(%rip), %rdi
callq _action
movl %eax, %ecx
movl -36(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
je LBB6_14
## %bb.13: ## in Loop: Header=BB6_11 Depth=1
movq _inputs@GOTPCREL(%rip), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -80(%rbp) ## 8-byte Spill
movq _inputs@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp) ## 8-byte Spill
movq _inputs@GOTPCREL(%rip), %rax
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -64(%rbp) ## 8-byte Spill
movq _inputs@GOTPCREL(%rip), %rax
movsd 24(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq _target@GOTPCREL(%rip), %rdi
callq _action
movsd -80(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -72(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -64(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -56(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movq -48(%rbp), %rsi ## 8-byte Reload
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rdx
leaq L_.str.8(%rip), %rdi
movb $4, %al
callq _printf
jmp LBB6_15
LBB6_14: ## in Loop: Header=BB6_11 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB6_15: ## in Loop: Header=BB6_11 Depth=1
jmp LBB6_16
LBB6_16: ## in Loop: Header=BB6_11 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_11
LBB6_17:
cvtsi2ssl -32(%rbp), %xmm0
movss LCPI6_5(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd LCPI6_4(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 8(%rax)
movq _inputs@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
movsd %xmm0, 16(%rax)
movq _inputs@GOTPCREL(%rip), %rax
movsd LCPI6_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, 24(%rax)
callq _feedForward
movq _actual@GOTPCREL(%rip), %rdi
callq _action
movslq %eax, %rcx
leaq _strings(%rip), %rax
movq (%rax,%rcx,8), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movq _out@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _wih,120,4 ## @wih
.comm _who,128,4 ## @who
.comm _inputs,32,4 ## @inputs
.comm _hidden,24,4 ## @hidden
.comm _actual,32,4 ## @actual
.comm _target,32,4 ## @target
.comm _erro,32,4 ## @erro
.comm _errh,24,4 ## @errh
.section __DATA,__data
.globl _samples ## @samples
.p2align 4
_samples:
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x4000000000000000 ## double 2
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Attack"
L_.str.1: ## @.str.1
.asciz "Run"
L_.str.2: ## @.str.2
.asciz "Wander"
L_.str.3: ## @.str.3
.asciz "Hide"
.section __DATA,__data
.globl _strings ## @strings
.p2align 4
_strings:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "stats.txt"
L_.str.5: ## @.str.5
.asciz "w"
.comm _out,8,3 ## @out
L_.str.6: ## @.str.6
.asciz "%g\n"
L_.str.7: ## @.str.7
.asciz "mse = %g\n"
L_.str.8: ## @.str.8
.asciz "%2.1g:%2.1g:%2.1g:%2.1g %s (%s)\n"
L_.str.9: ## @.str.9
.asciz "Network is %g%% correct\n"
L_.str.10: ## @.str.10
.asciz "2111 Action %s\n"
L_.str.11: ## @.str.11
.asciz "1112 Action %s\n"
L_.str.12: ## @.str.12
.asciz "0000 Action %s\n"
L_.str.13: ## @.str.13
.asciz "0111 Action %s\n"
L_.str.14: ## @.str.14
.asciz "2013 Action %s\n"
L_.str.15: ## @.str.15
.asciz "2103 Action %s\n"
L_.str.16: ## @.str.16
.asciz "0103 Action %s\n"
.subsections_via_symbols
|
the_stack_data/31387343.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __ov_64_seek_lap ; -- Begin function _ov_64_seek_lap
.p2align 2
__ov_64_seek_lap: ; @_ov_64_seek_lap
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #1
and w9, w0, w8
strb w9, [sp, #15]
and w9, w1, w8
strb w9, [sp, #14]
and w8, w2, w8
strb w8, [sp, #13]
ldrb w8, [sp, #15]
tbz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrb w8, [sp, #14]
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
b LBB0_3
LBB0_4:
ldrb w8, [sp, #13]
tbz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #-130
str w8, [sp, #8]
b LBB0_7
LBB0_6:
mov w8, #1
str w8, [sp, #8]
b LBB0_7
LBB0_7:
mov w8, #-1
str w8, [sp, #4]
ldr w8, [sp, #4]
ldr w9, [sp, #8]
asr w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __ov_64_seek_lap ## -- Begin function _ov_64_seek_lap
.p2align 4, 0x90
__ov_64_seek_lap: ## @_ov_64_seek_lap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dl, %al
movb %sil, %cl
movb %dil, %dl
andb $1, %dl
movb %dl, -1(%rbp)
andb $1, %cl
movb %cl, -2(%rbp)
andb $1, %al
movb %al, -3(%rbp)
testb $1, -1(%rbp)
je LBB0_2
## %bb.1:
testb $1, -2(%rbp)
jne LBB0_4
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
jmp LBB0_3
LBB0_4:
testb $1, -3(%rbp)
je LBB0_6
## %bb.5:
movl $-130, -8(%rbp)
jmp LBB0_7
LBB0_6:
movl $1, -8(%rbp)
LBB0_7:
movl $-1, -12(%rbp)
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/181391926.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _menu ; -- Begin function menu
.p2align 2
_menu: ; @menu
.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
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #4
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _createNode ; -- Begin function createNode
.p2align 2
_createNode: ; @createNode
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #24
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #8]
str xzr, [x8, #16]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _create ; -- Begin function create
.p2align 2
_create: ; @create
.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]
bl _createNode
str x0, [sp, #16]
ldur w8, [x29, #-4]
ldr x9, [sp, #16]
str w8, [x9]
adrp x8, _root@PAGE
ldr x8, [x8, _root@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
adrp x9, _root@PAGE
str x8, [x9, _root@PAGEOFF]
b LBB2_12
LBB2_2:
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
adrp x8, _root@PAGE
ldr x8, [x8, _root@PAGEOFF]
str x8, [sp]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB2_7
LBB2_6: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp]
ldr x8, [x8, #16]
str x8, [sp]
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_3 Depth=1
b LBB2_3
LBB2_8:
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
b LBB2_11
LBB2_10:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #16]
b LBB2_11
LBB2_11:
b LBB2_12
LBB2_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _preorder ; -- Begin function preorder
.p2align 2
_preorder: ; @preorder
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #8]
ldr w9, [x8]
; 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
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _preorder
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _preorder
b LBB3_2
LBB3_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _inorder ; -- Begin function inorder
.p2align 2
_inorder: ; @inorder
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _inorder
ldr x8, [sp, #8]
ldr w9, [x8]
; 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
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _inorder
b LBB4_2
LBB4_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _postorder ; -- Begin function postorder
.p2align 2
_postorder: ; @postorder
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _postorder
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _postorder
ldr x8, [sp, #8]
ldr w9, [x8]
; 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
b LBB5_2
LBB5_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
bl _menu
subs w8, w0, #1
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #4
cset w8, hi
tbnz w8, #0, LBB6_8
; %bb.2: ; in Loop: Header=BB6_1 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI6_0@PAGE
add x10, x10, lJTI6_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
bl _create
b LBB6_8
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _root@PAGE
ldr x0, [x8, _root@PAGEOFF]
bl _preorder
b LBB6_8
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _root@PAGE
ldr x0, [x8, _root@PAGEOFF]
bl _inorder
b LBB6_8
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
adrp x8, _root@PAGE
ldr x0, [x8, _root@PAGEOFF]
bl _postorder
b LBB6_8
LBB6_7:
mov w0, #0
bl _exit
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
b LBB6_1
.cfi_endproc
.p2align 2
lJTI6_0:
.long LBB6_3-Ltmp0
.long LBB6_4-Ltmp0
.long LBB6_5-Ltmp0
.long LBB6_6-Ltmp0
.long LBB6_7-Ltmp0
; -- End function
.globl _root ; @root
.zerofill __DATA,__common,_root,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n1.Create "
l_.str.1: ; @.str.1
.asciz "\n2.Traverse preorder"
l_.str.2: ; @.str.2
.asciz "\n3.Traverse inorder"
l_.str.3: ; @.str.3
.asciz "\n4.Traverse postorder"
l_.str.4: ; @.str.4
.asciz "\n5.Exit"
l_.str.5: ; @.str.5
.asciz "\n\nEnter your choice: "
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "%d "
l_.str.8: ; @.str.8
.asciz "\nEnter item : "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _menu ## -- Begin function menu
.p2align 4, 0x90
_menu: ## @menu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -4(%rbp), %rsi
movb $0, %al
callq _scanf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createNode ## -- Begin function createNode
.p2align 4, 0x90
_createNode: ## @createNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $24, %edi
callq _malloc
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _create ## -- Begin function create
.p2align 4, 0x90
_create: ## @create
.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)
callq _createNode
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
cmpq $0, _root(%rip)
jne LBB2_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, _root(%rip)
jmp LBB2_12
LBB2_2:
movq $0, -24(%rbp)
movq _root(%rip), %rax
movq %rax, -32(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq -32(%rbp), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movq -32(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
jmp LBB2_7
LBB2_6: ## in Loop: Header=BB2_3 Depth=1
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
LBB2_7: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_3
LBB2_8:
movq -16(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB2_10
## %bb.9:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB2_11
LBB2_10:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 16(%rax)
LBB2_11:
jmp LBB2_12
LBB2_12:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _preorder ## -- Begin function preorder
.p2align 4, 0x90
_preorder: ## @preorder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _preorder
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _preorder
LBB3_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _inorder ## -- Begin function inorder
.p2align 4, 0x90
_inorder: ## @inorder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB4_2
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _inorder
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _inorder
LBB4_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _postorder ## -- Begin function postorder
.p2align 4, 0x90
_postorder: ## @postorder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB5_2
## %bb.1:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _postorder
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _postorder
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB5_2:
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)
LBB6_1: ## =>This Inner Loop Header: Depth=1
callq _menu
decl %eax
movl %eax, %ecx
movq %rcx, -16(%rbp) ## 8-byte Spill
subl $4, %eax
ja LBB6_7
## %bb.8: ## in Loop: Header=BB6_1 Depth=1
movq -16(%rbp), %rax ## 8-byte Reload
leaq LJTI6_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB6_2: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
callq _create
jmp LBB6_7
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
movq _root(%rip), %rdi
callq _preorder
jmp LBB6_7
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
movq _root(%rip), %rdi
callq _inorder
jmp LBB6_7
LBB6_5: ## in Loop: Header=BB6_1 Depth=1
movq _root(%rip), %rdi
callq _postorder
jmp LBB6_7
LBB6_6:
xorl %edi, %edi
callq _exit
LBB6_7: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_1
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L6_0_set_2, LBB6_2-LJTI6_0
.set L6_0_set_3, LBB6_3-LJTI6_0
.set L6_0_set_4, LBB6_4-LJTI6_0
.set L6_0_set_5, LBB6_5-LJTI6_0
.set L6_0_set_6, LBB6_6-LJTI6_0
LJTI6_0:
.long L6_0_set_2
.long L6_0_set_3
.long L6_0_set_4
.long L6_0_set_5
.long L6_0_set_6
.end_data_region
## -- End function
.globl _root ## @root
.zerofill __DATA,__common,_root,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n1.Create "
L_.str.1: ## @.str.1
.asciz "\n2.Traverse preorder"
L_.str.2: ## @.str.2
.asciz "\n3.Traverse inorder"
L_.str.3: ## @.str.3
.asciz "\n4.Traverse postorder"
L_.str.4: ## @.str.4
.asciz "\n5.Exit"
L_.str.5: ## @.str.5
.asciz "\n\nEnter your choice: "
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "%d "
L_.str.8: ## @.str.8
.asciz "\nEnter item : "
.subsections_via_symbols
|
the_stack_data/75136955.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #28]
str x1, [sp, #16]
ldr w8, [sp, #28]
mov x10, x8
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #12]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldr w9, [sp, #12]
subs w9, w9, #1
mov w10, #26214
movk w10, #16390, lsl #16
fmov s0, w10
str s0, [x8, w9, sxtw #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function foo
LCPI0_0:
.long 0x40066666 ## float 2.0999999
.section __TEXT,__text,regular,pure_instructions
.globl _foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl -4(%rbp), %eax
movl %eax, %edx
movl -4(%rbp), %eax
subl $1, %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/79188.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
adrp x9, _n@PAGE
ldr w9, [x9, _n@PAGEOFF]
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, #4]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _array_sum ; -- Begin function array_sum
.p2align 2
_array_sum: ; @array_sum
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp]
mov w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
adrp x9, _n@PAGE
ldr w9, [x9, _n@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp]
add w8, w8, w9
str w8, [sp]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
lsl w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_4:
ldr w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #12]
add x0, sp, #16
str x0, [sp] ; 8-byte Folded Spill
bl _foo
ldr x0, [sp] ; 8-byte Folded Reload
bl _array_sum
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #63
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl _abort
LBB2_2:
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_4
b LBB2_3
LBB2_3:
bl ___stack_chk_fail
LBB2_4:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _n ; @n
.p2align 2
_n:
.long 50 ; 0x32
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl _n(%rip), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _array_sum ## -- Begin function array_sum
.p2align 4, 0x90
_array_sum: ## @array_sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -16(%rbp)
movl $1, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl _n(%rip), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
shll $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -212(%rbp)
leaq -208(%rbp), %rdi
callq _foo
leaq -208(%rbp), %rdi
callq _array_sum
movl %eax, -216(%rbp)
cmpl $63, -216(%rbp)
je LBB2_2
## %bb.1:
callq _abort
LBB2_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_4
## %bb.3:
xorl %eax, %eax
addq $224, %rsp
popq %rbp
retq
LBB2_4:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _n ## @n
.p2align 2
_n:
.long 50 ## 0x32
.subsections_via_symbols
|
the_stack_data/32352.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/11074386.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _partition ; -- Begin function partition
.p2align 2
_partition: ; @partition
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str w1, [sp, #36]
str w2, [sp, #32]
ldr x8, [sp, #40]
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #20]
ldr w8, [sp, #32]
str w8, [sp, #28]
ldr w8, [sp, #36]
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_8 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
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
ldr x8, [sp, #40]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, gt
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #40]
ldrsw x9, [sp, #28]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #28]
b LBB0_8
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #40]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16]
ldr x8, [sp, #40]
ldrsw x9, [sp, #28]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #40]
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
ldr x9, [sp, #40]
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_13:
ldr x8, [sp, #40]
ldrsw x9, [sp, #28]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #40]
ldrsw x10, [sp, #36]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
ldr x9, [sp, #40]
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
ldr w0, [sp, #28]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _quicksort ; -- Begin function quicksort
.p2align 2
_quicksort: ; @quicksort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_3
LBB1_2:
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #16]
bl _partition
str w0, [sp, #12]
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w8, [sp, #12]
subs w2, w8, #1
bl _quicksort
ldur x0, [x29, #-8]
ldr w8, [sp, #12]
add w1, w8, #1
ldr w2, [sp, #16]
bl _quicksort
b LBB1_3
LBB1_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #464
.cfi_def_cfa_offset 464
stp x28, x27, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #20]
adrp x0, l_.str@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
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #24
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_4:
ldr w8, [sp, #16]
subs w2, w8, #1
add x0, sp, #24
mov w1, #0
bl _quicksort
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #12]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #24
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_5
LBB2_8:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
mov w0, #0
ldp x29, x30, [sp, #448] ; 16-byte Folded Reload
ldp x28, x27, [sp, #432] ; 16-byte Folded Reload
add sp, sp, #464
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enter the total no of elements: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "enter the values: \n"
l_.str.3: ; @.str.3
.asciz "Order of Sorted elements using quick sort:\n "
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 _partition ## -- Begin function partition
.p2align 4, 0x90
_partition: ## @partition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movl -16(%rbp), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_8 Depth 2
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_13
## %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 -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -28(%rbp), %ecx
movb %al, -33(%rbp) ## 1-byte Spill
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
setl %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_6
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
jle LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB0_8
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%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 -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -32(%rbp), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_13:
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _quicksort ## -- Begin function quicksort
.p2align 4, 0x90
_quicksort: ## @quicksort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jl LBB1_2
## %bb.1:
jmp LBB1_3
LBB1_2:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -16(%rbp), %edx
callq _partition
movl %eax, -20(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -20(%rbp), %edx
subl $1, %edx
callq _quicksort
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
movl -16(%rbp), %edx
callq _quicksort
LBB1_3:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $432, %rsp ## imm = 0x1B0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -424(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -428(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -428(%rbp), %eax
cmpl -424(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -428(%rbp), %rax
leaq -416(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -428(%rbp), %eax
addl $1, %eax
movl %eax, -428(%rbp)
jmp LBB2_1
LBB2_4:
leaq -416(%rbp), %rdi
movl -424(%rbp), %edx
subl $1, %edx
xorl %esi, %esi
callq _quicksort
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -428(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
movl -428(%rbp), %eax
cmpl -424(%rbp), %eax
jge LBB2_8
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movslq -428(%rbp), %rax
movl -416(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
movl -428(%rbp), %eax
addl $1, %eax
movl %eax, -428(%rbp)
jmp LBB2_5
LBB2_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_10
## %bb.9:
xorl %eax, %eax
addq $432, %rsp ## imm = 0x1B0
popq %rbp
retq
LBB2_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enter the total no of elements: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "enter the values: \n"
L_.str.3: ## @.str.3
.asciz "Order of Sorted elements using quick sort:\n "
L_.str.4: ## @.str.4
.asciz " %d"
.subsections_via_symbols
|
the_stack_data/31386734.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8_280 ; -- Begin function mul8_280
.p2align 2
_mul8_280: ; @mul8_280
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
strb w0, [sp, #111]
strb w1, [sp, #110]
strh wzr, [sp, #108]
ldrb w8, [sp, #111]
asr w8, w8, #2
and w8, w8, #0x1
strb w8, [sp, #107]
ldrb w8, [sp, #111]
asr w8, w8, #3
and w8, w8, #0x1
strb w8, [sp, #106]
ldrb w8, [sp, #111]
asr w8, w8, #4
and w8, w8, #0x1
strb w8, [sp, #105]
ldrb w8, [sp, #111]
asr w8, w8, #5
and w8, w8, #0x1
strb w8, [sp, #104]
ldrb w8, [sp, #111]
asr w8, w8, #6
and w8, w8, #0x1
strb w8, [sp, #103]
ldrb w8, [sp, #111]
asr w8, w8, #7
and w8, w8, #0x1
strb w8, [sp, #102]
ldrb w8, [sp, #110]
asr w8, w8, #1
and w8, w8, #0x1
strb w8, [sp, #101]
ldrb w8, [sp, #110]
asr w8, w8, #2
and w8, w8, #0x1
strb w8, [sp, #100]
ldrb w8, [sp, #110]
asr w8, w8, #3
and w8, w8, #0x1
strb w8, [sp, #99]
ldrb w8, [sp, #110]
asr w8, w8, #4
and w8, w8, #0x1
strb w8, [sp, #98]
ldrb w8, [sp, #110]
asr w8, w8, #5
and w8, w8, #0x1
strb w8, [sp, #97]
ldrb w8, [sp, #110]
asr w8, w8, #6
and w8, w8, #0x1
strb w8, [sp, #96]
ldrb w8, [sp, #110]
asr w8, w8, #7
and w8, w8, #0x1
strb w8, [sp, #95]
ldrb w8, [sp, #103]
ldrb w9, [sp, #103]
eon w8, w8, w9
strb w8, [sp, #94]
ldrb w8, [sp, #101]
ldrb w9, [sp, #103]
and w8, w8, w9
mvn w8, w8
strb w8, [sp, #93]
ldrb w8, [sp, #97]
ldrb w9, [sp, #96]
orr w8, w8, w9
ldrb w9, [sp, #95]
orr w8, w8, w9
mvn w8, w8
strb w8, [sp, #92]
ldrb w8, [sp, #94]
mvn w8, w8
strb w8, [sp, #91]
ldrb w8, [sp, #92]
mvn w8, w8
strb w8, [sp, #90]
ldrb w8, [sp, #106]
ldrb w9, [sp, #105]
orr w8, w8, w9
ldrb w9, [sp, #104]
orr w8, w8, w9
mvn w8, w8
strb w8, [sp, #89]
ldrb w8, [sp, #90]
ldrb w9, [sp, #100]
orr w8, w8, w9
ldrb w9, [sp, #99]
orr w8, w8, w9
mvn w8, w8
strb w8, [sp, #88]
ldrb w8, [sp, #94]
ldrb w9, [sp, #89]
and w8, w8, w9
ldrb w9, [sp, #88]
orr w8, w8, w9
mvn w8, w8
strb w8, [sp, #87]
ldrb w8, [sp, #92]
mvn w8, w8
strb w8, [sp, #86]
ldrb w8, [sp, #91]
mvn w8, w8
strb w8, [sp, #85]
ldrb w8, [sp, #87]
strb w8, [sp, #84]
ldrb w8, [sp, #102]
ldrb w9, [sp, #100]
and w8, w8, w9
strb w8, [sp, #83]
ldrb w8, [sp, #86]
ldrb w9, [sp, #107]
and w8, w8, w9
strb w8, [sp, #82]
ldrb w8, [sp, #103]
ldrb w9, [sp, #99]
and w8, w8, w9
strb w8, [sp, #81]
ldrb w8, [sp, #93]
mvn w8, w8
strb w8, [sp, #80]
ldrb w8, [sp, #102]
ldrb w9, [sp, #99]
and w8, w8, w9
strb w8, [sp, #79]
ldrb w8, [sp, #105]
ldrb w9, [sp, #98]
and w8, w8, w9
strb w8, [sp, #78]
ldrb w8, [sp, #104]
ldrb w9, [sp, #98]
and w8, w8, w9
strb w8, [sp, #77]
ldrb w8, [sp, #103]
ldrb w9, [sp, #98]
and w8, w8, w9
strb w8, [sp, #76]
ldrb w8, [sp, #102]
ldrb w9, [sp, #98]
and w8, w8, w9
strb w8, [sp, #75]
ldrb w8, [sp, #94]
mvn w8, w8
strb w8, [sp, #74]
ldrb w8, [sp, #105]
ldrb w9, [sp, #97]
and w8, w8, w9
strb w8, [sp, #73]
ldrb w8, [sp, #104]
ldrb w9, [sp, #97]
and w8, w8, w9
strb w8, [sp, #72]
ldrb w8, [sp, #103]
ldrb w9, [sp, #97]
and w8, w8, w9
strb w8, [sp, #71]
ldrb w8, [sp, #102]
ldrb w9, [sp, #97]
and w8, w8, w9
strb w8, [sp, #70]
ldrb w8, [sp, #102]
ldrb w9, [sp, #97]
and w8, w8, w9
strb w8, [sp, #69]
ldrb w8, [sp, #106]
ldrb w9, [sp, #96]
and w8, w8, w9
strb w8, [sp, #68]
ldrb w8, [sp, #105]
ldrb w9, [sp, #96]
and w8, w8, w9
strb w8, [sp, #67]
ldrb w8, [sp, #104]
ldrb w9, [sp, #96]
and w8, w8, w9
strb w8, [sp, #66]
ldrb w8, [sp, #103]
ldrb w9, [sp, #96]
and w8, w8, w9
strb w8, [sp, #65]
ldrb w8, [sp, #102]
ldrb w9, [sp, #96]
and w8, w8, w9
strb w8, [sp, #64]
ldrb w8, [sp, #106]
ldrb w9, [sp, #95]
and w8, w8, w9
strb w8, [sp, #63]
ldrb w8, [sp, #105]
ldrb w9, [sp, #95]
and w8, w8, w9
strb w8, [sp, #62]
ldrb w8, [sp, #104]
ldrb w9, [sp, #95]
and w8, w8, w9
strb w8, [sp, #61]
ldrb w8, [sp, #103]
ldrb w9, [sp, #95]
and w8, w8, w9
strb w8, [sp, #60]
ldrb w8, [sp, #102]
ldrb w9, [sp, #95]
and w8, w8, w9
strb w8, [sp, #59]
ldrb w8, [sp, #81]
ldrb w9, [sp, #77]
eor w8, w8, w9
strb w8, [sp, #58]
ldrb w8, [sp, #81]
ldrb w9, [sp, #77]
and w8, w8, w9
strb w8, [sp, #57]
ldrb w8, [sp, #79]
ldrb w9, [sp, #76]
eor w8, w8, w9
ldrb w9, [sp, #72]
eor w8, w8, w9
strb w8, [sp, #56]
ldrb w8, [sp, #79]
ldrb w9, [sp, #76]
and w8, w8, w9
ldrb w9, [sp, #76]
ldrb w10, [sp, #72]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #79]
ldrb w10, [sp, #72]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #55]
ldrb w8, [sp, #75]
ldrb w9, [sp, #71]
and w8, w8, w9
strb w8, [sp, #54]
ldrb w8, [sp, #75]
ldrb w9, [sp, #71]
eor w8, w8, w9
strb w8, [sp, #53]
ldrb w8, [sp, #87]
strb w8, [sp, #52]
ldrb w8, [sp, #74]
strb w8, [sp, #51]
ldrb w8, [sp, #74]
strb w8, [sp, #50]
ldrb w8, [sp, #83]
ldrb w9, [sp, #82]
eor w8, w8, w9
ldrb w9, [sp, #58]
eor w8, w8, w9
strb w8, [sp, #49]
ldrb w8, [sp, #83]
ldrb w9, [sp, #82]
and w8, w8, w9
ldrb w9, [sp, #82]
ldrb w10, [sp, #58]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #83]
ldrb w10, [sp, #58]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #48]
ldrb w8, [sp, #94]
mvn w8, w8
strb w8, [sp, #47]
ldrb w8, [sp, #57]
ldrb w9, [sp, #67]
eor w8, w8, w9
ldrb w9, [sp, #63]
eor w8, w8, w9
strb w8, [sp, #46]
ldrb w8, [sp, #57]
ldrb w9, [sp, #67]
and w8, w8, w9
ldrb w9, [sp, #67]
ldrb w10, [sp, #63]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #57]
ldrb w10, [sp, #63]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #45]
ldrb w8, [sp, #55]
ldrb w9, [sp, #66]
eor w8, w8, w9
ldrb w9, [sp, #62]
eor w8, w8, w9
strb w8, [sp, #44]
ldrb w8, [sp, #55]
ldrb w9, [sp, #66]
and w8, w8, w9
ldrb w9, [sp, #66]
ldrb w10, [sp, #62]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #55]
ldrb w10, [sp, #62]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #43]
ldrb w8, [sp, #54]
ldrb w9, [sp, #65]
eor w8, w8, w9
ldrb w9, [sp, #61]
eor w8, w8, w9
strb w8, [sp, #42]
ldrb w8, [sp, #54]
ldrb w9, [sp, #65]
and w8, w8, w9
ldrb w9, [sp, #65]
ldrb w10, [sp, #61]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #54]
ldrb w10, [sp, #61]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #41]
ldrb w8, [sp, #64]
ldrb w9, [sp, #60]
and w8, w8, w9
strb w8, [sp, #40]
ldrb w8, [sp, #64]
ldrb w9, [sp, #60]
eor w8, w8, w9
strb w8, [sp, #39]
ldrb w8, [sp, #52]
strb w8, [sp, #38]
ldrb w8, [sp, #49]
ldrb w9, [sp, #50]
eor w8, w8, w9
ldrb w9, [sp, #68]
eor w8, w8, w9
strb w8, [sp, #37]
ldrb w8, [sp, #49]
ldrb w9, [sp, #50]
and w8, w8, w9
ldrb w9, [sp, #50]
ldrb w10, [sp, #68]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #49]
ldrb w10, [sp, #68]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #36]
ldrb w8, [sp, #56]
ldrb w9, [sp, #54]
eor w8, w8, w9
ldrb w9, [sp, #46]
eor w8, w8, w9
strb w8, [sp, #35]
ldrb w8, [sp, #56]
ldrb w9, [sp, #54]
and w8, w8, w9
ldrb w9, [sp, #54]
ldrb w10, [sp, #46]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #56]
ldrb w10, [sp, #46]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #34]
ldrb w8, [sp, #53]
ldrb w9, [sp, #44]
and w8, w8, w9
strb w8, [sp, #33]
ldrb w8, [sp, #53]
ldrb w9, [sp, #44]
eor w8, w8, w9
strb w8, [sp, #32]
ldrb w8, [sp, #70]
ldrb w9, [sp, #42]
and w8, w8, w9
strb w8, [sp, #31]
ldrb w8, [sp, #69]
ldrb w9, [sp, #42]
eor w8, w8, w9
strb w8, [sp, #30]
ldrb w8, [sp, #37]
strb w8, [sp, #29]
ldrb w8, [sp, #35]
ldrb w9, [sp, #36]
eor w8, w8, w9
ldrb w9, [sp, #48]
eor w8, w8, w9
strb w8, [sp, #28]
ldrb w8, [sp, #35]
ldrb w9, [sp, #36]
and w8, w8, w9
ldrb w9, [sp, #36]
ldrb w10, [sp, #48]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #35]
ldrb w10, [sp, #48]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #27]
ldrb w8, [sp, #32]
ldrb w9, [sp, #34]
eor w8, w8, w9
ldrb w9, [sp, #45]
eor w8, w8, w9
strb w8, [sp, #26]
ldrb w8, [sp, #32]
ldrb w9, [sp, #34]
and w8, w8, w9
ldrb w9, [sp, #34]
ldrb w10, [sp, #45]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #32]
ldrb w10, [sp, #45]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #25]
ldrb w8, [sp, #30]
ldrb w9, [sp, #33]
eor w8, w8, w9
ldrb w9, [sp, #43]
eor w8, w8, w9
strb w8, [sp, #24]
ldrb w8, [sp, #30]
ldrb w9, [sp, #33]
and w8, w8, w9
ldrb w9, [sp, #33]
ldrb w10, [sp, #43]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #30]
ldrb w10, [sp, #43]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #23]
ldrb w8, [sp, #39]
ldrb w9, [sp, #31]
eor w8, w8, w9
ldrb w9, [sp, #41]
eor w8, w8, w9
strb w8, [sp, #22]
ldrb w8, [sp, #39]
ldrb w9, [sp, #31]
and w8, w8, w9
ldrb w9, [sp, #31]
ldrb w10, [sp, #41]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #39]
ldrb w10, [sp, #41]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #21]
ldrb w8, [sp, #94]
ldrb w9, [sp, #40]
and w8, w8, w9
strb w8, [sp, #20]
ldrb w8, [sp, #59]
ldrb w9, [sp, #40]
eor w8, w8, w9
strb w8, [sp, #19]
ldrb w8, [sp, #80]
ldrb w9, [sp, #78]
orr w8, w8, w9
strb w8, [sp, #18]
ldrb w8, [sp, #73]
ldrb w9, [sp, #85]
and w8, w8, w9
ldrb w10, [sp, #73]
ldrb w9, [sp, #29]
bic w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #17]
ldrb w8, [sp, #28]
strb w8, [sp, #16]
ldrb w8, [sp, #26]
ldrb w9, [sp, #27]
eor w8, w8, w9
strb w8, [sp, #15]
ldrb w8, [sp, #26]
ldrb w9, [sp, #27]
and w8, w8, w9
strb w8, [sp, #14]
ldrb w8, [sp, #24]
ldrb w9, [sp, #25]
eor w8, w8, w9
ldrb w9, [sp, #14]
eor w8, w8, w9
strb w8, [sp, #13]
ldrb w8, [sp, #24]
ldrb w9, [sp, #25]
and w8, w8, w9
ldrb w9, [sp, #25]
ldrb w10, [sp, #14]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #24]
ldrb w10, [sp, #14]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #12]
ldrb w8, [sp, #22]
ldrb w9, [sp, #23]
eor w8, w8, w9
ldrb w9, [sp, #12]
eor w8, w8, w9
strb w8, [sp, #11]
ldrb w8, [sp, #22]
ldrb w9, [sp, #23]
and w8, w8, w9
ldrb w9, [sp, #23]
ldrb w10, [sp, #12]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #22]
ldrb w10, [sp, #12]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #10]
ldrb w8, [sp, #19]
ldrb w9, [sp, #21]
eor w8, w8, w9
ldrb w9, [sp, #10]
eor w8, w8, w9
strb w8, [sp, #9]
ldrb w8, [sp, #19]
ldrb w9, [sp, #21]
and w8, w8, w9
ldrb w9, [sp, #21]
ldrb w10, [sp, #10]
and w9, w9, w10
orr w8, w8, w9
ldrb w9, [sp, #19]
ldrb w10, [sp, #10]
and w9, w9, w10
orr w8, w8, w9
strb w8, [sp, #8]
ldrb w8, [sp, #20]
ldrb w9, [sp, #8]
orr w8, w8, w9
strb w8, [sp, #7]
ldrb w8, [sp, #74]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9
strh w8, [sp, #108]
ldrb w8, [sp, #51]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #1
strh w8, [sp, #108]
ldrb w8, [sp, #57]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #2
strh w8, [sp, #108]
ldrb w8, [sp, #74]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #3
strh w8, [sp, #108]
ldrb w8, [sp, #47]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #4
strh w8, [sp, #108]
ldrb w8, [sp, #52]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #5
strh w8, [sp, #108]
ldrb w8, [sp, #38]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #6
strh w8, [sp, #108]
ldrb w8, [sp, #84]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #7
strh w8, [sp, #108]
ldrb w8, [sp, #18]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #8
strh w8, [sp, #108]
ldrb w8, [sp, #17]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #9
strh w8, [sp, #108]
ldrb w8, [sp, #16]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #10
strh w8, [sp, #108]
ldrb w8, [sp, #15]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #11
strh w8, [sp, #108]
ldrb w8, [sp, #13]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #12
strh w8, [sp, #108]
ldrb w8, [sp, #11]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #13
strh w8, [sp, #108]
ldrb w8, [sp, #9]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #14
strh w8, [sp, #108]
ldrb w8, [sp, #7]
and w9, w8, #0x1
ldrh w8, [sp, #108]
orr w8, w8, w9, lsl #15
strh w8, [sp, #108]
ldrh w0, [sp, #108]
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8_280 ## -- Begin function mul8_280
.p2align 4, 0x90
_mul8_280: ## @mul8_280
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %sil, %al
movb %dil, %cl
movb %cl, -1(%rbp)
movb %al, -2(%rbp)
movw $0, -4(%rbp)
movzbl -1(%rbp), %eax
sarl $2, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
movzbl -1(%rbp), %eax
sarl $3, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
movzbl -1(%rbp), %eax
sarl $4, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -7(%rbp)
movzbl -1(%rbp), %eax
sarl $5, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -8(%rbp)
movzbl -1(%rbp), %eax
sarl $6, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
movzbl -1(%rbp), %eax
sarl $7, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -10(%rbp)
movzbl -2(%rbp), %eax
sarl $1, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -11(%rbp)
movzbl -2(%rbp), %eax
sarl $2, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -12(%rbp)
movzbl -2(%rbp), %eax
sarl $3, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -13(%rbp)
movzbl -2(%rbp), %eax
sarl $4, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -14(%rbp)
movzbl -2(%rbp), %eax
sarl $5, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -15(%rbp)
movzbl -2(%rbp), %eax
sarl $6, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -16(%rbp)
movzbl -2(%rbp), %eax
sarl $7, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movzbl -9(%rbp), %eax
movzbl -9(%rbp), %ecx
xorl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -18(%rbp)
movzbl -11(%rbp), %eax
movzbl -9(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -19(%rbp)
movzbl -15(%rbp), %eax
movzbl -16(%rbp), %ecx
orl %ecx, %eax
movzbl -17(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -20(%rbp)
movzbl -18(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -21(%rbp)
movzbl -20(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -22(%rbp)
movzbl -6(%rbp), %eax
movzbl -7(%rbp), %ecx
orl %ecx, %eax
movzbl -8(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -23(%rbp)
movzbl -22(%rbp), %eax
movzbl -12(%rbp), %ecx
orl %ecx, %eax
movzbl -13(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -24(%rbp)
movzbl -18(%rbp), %eax
movzbl -23(%rbp), %ecx
andl %ecx, %eax
movzbl -24(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movzbl -20(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -26(%rbp)
movzbl -21(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -27(%rbp)
movb -25(%rbp), %al
movb %al, -28(%rbp)
movzbl -10(%rbp), %eax
movzbl -12(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
movzbl -26(%rbp), %eax
movzbl -5(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -30(%rbp)
movzbl -9(%rbp), %eax
movzbl -13(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -31(%rbp)
movzbl -19(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -32(%rbp)
movzbl -10(%rbp), %eax
movzbl -13(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp)
movzbl -7(%rbp), %eax
movzbl -14(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -34(%rbp)
movzbl -8(%rbp), %eax
movzbl -14(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -35(%rbp)
movzbl -9(%rbp), %eax
movzbl -14(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -36(%rbp)
movzbl -10(%rbp), %eax
movzbl -14(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -37(%rbp)
movzbl -18(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -38(%rbp)
movzbl -7(%rbp), %eax
movzbl -15(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -39(%rbp)
movzbl -8(%rbp), %eax
movzbl -15(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -40(%rbp)
movzbl -9(%rbp), %eax
movzbl -15(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -41(%rbp)
movzbl -10(%rbp), %eax
movzbl -15(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -42(%rbp)
movzbl -10(%rbp), %eax
movzbl -15(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -43(%rbp)
movzbl -6(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -44(%rbp)
movzbl -7(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -45(%rbp)
movzbl -8(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -46(%rbp)
movzbl -9(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -47(%rbp)
movzbl -10(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -48(%rbp)
movzbl -6(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -49(%rbp)
movzbl -7(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -50(%rbp)
movzbl -8(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -51(%rbp)
movzbl -9(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -52(%rbp)
movzbl -10(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -53(%rbp)
movzbl -31(%rbp), %eax
movzbl -35(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -54(%rbp)
movzbl -31(%rbp), %eax
movzbl -35(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -55(%rbp)
movzbl -33(%rbp), %eax
movzbl -36(%rbp), %ecx
xorl %ecx, %eax
movzbl -40(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -56(%rbp)
movzbl -33(%rbp), %eax
movzbl -36(%rbp), %ecx
andl %ecx, %eax
movzbl -36(%rbp), %ecx
movzbl -40(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -33(%rbp), %ecx
movzbl -40(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -57(%rbp)
movzbl -37(%rbp), %eax
movzbl -41(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -58(%rbp)
movzbl -37(%rbp), %eax
movzbl -41(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -59(%rbp)
movb -25(%rbp), %al
movb %al, -60(%rbp)
movb -38(%rbp), %al
movb %al, -61(%rbp)
movb -38(%rbp), %al
movb %al, -62(%rbp)
movzbl -29(%rbp), %eax
movzbl -30(%rbp), %ecx
xorl %ecx, %eax
movzbl -54(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -63(%rbp)
movzbl -29(%rbp), %eax
movzbl -30(%rbp), %ecx
andl %ecx, %eax
movzbl -30(%rbp), %ecx
movzbl -54(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -29(%rbp), %ecx
movzbl -54(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -64(%rbp)
movzbl -18(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -65(%rbp)
movzbl -55(%rbp), %eax
movzbl -45(%rbp), %ecx
xorl %ecx, %eax
movzbl -49(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -66(%rbp)
movzbl -55(%rbp), %eax
movzbl -45(%rbp), %ecx
andl %ecx, %eax
movzbl -45(%rbp), %ecx
movzbl -49(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -55(%rbp), %ecx
movzbl -49(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -67(%rbp)
movzbl -57(%rbp), %eax
movzbl -46(%rbp), %ecx
xorl %ecx, %eax
movzbl -50(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -68(%rbp)
movzbl -57(%rbp), %eax
movzbl -46(%rbp), %ecx
andl %ecx, %eax
movzbl -46(%rbp), %ecx
movzbl -50(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -57(%rbp), %ecx
movzbl -50(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -69(%rbp)
movzbl -58(%rbp), %eax
movzbl -47(%rbp), %ecx
xorl %ecx, %eax
movzbl -51(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -70(%rbp)
movzbl -58(%rbp), %eax
movzbl -47(%rbp), %ecx
andl %ecx, %eax
movzbl -47(%rbp), %ecx
movzbl -51(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -58(%rbp), %ecx
movzbl -51(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -71(%rbp)
movzbl -48(%rbp), %eax
movzbl -52(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -72(%rbp)
movzbl -48(%rbp), %eax
movzbl -52(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -73(%rbp)
movb -60(%rbp), %al
movb %al, -74(%rbp)
movzbl -63(%rbp), %eax
movzbl -62(%rbp), %ecx
xorl %ecx, %eax
movzbl -44(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -75(%rbp)
movzbl -63(%rbp), %eax
movzbl -62(%rbp), %ecx
andl %ecx, %eax
movzbl -62(%rbp), %ecx
movzbl -44(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -63(%rbp), %ecx
movzbl -44(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -76(%rbp)
movzbl -56(%rbp), %eax
movzbl -58(%rbp), %ecx
xorl %ecx, %eax
movzbl -66(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -77(%rbp)
movzbl -56(%rbp), %eax
movzbl -58(%rbp), %ecx
andl %ecx, %eax
movzbl -58(%rbp), %ecx
movzbl -66(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -56(%rbp), %ecx
movzbl -66(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -78(%rbp)
movzbl -59(%rbp), %eax
movzbl -68(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -79(%rbp)
movzbl -59(%rbp), %eax
movzbl -68(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -80(%rbp)
movzbl -42(%rbp), %eax
movzbl -70(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -81(%rbp)
movzbl -43(%rbp), %eax
movzbl -70(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -82(%rbp)
movb -75(%rbp), %al
movb %al, -83(%rbp)
movzbl -77(%rbp), %eax
movzbl -76(%rbp), %ecx
xorl %ecx, %eax
movzbl -64(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -84(%rbp)
movzbl -77(%rbp), %eax
movzbl -76(%rbp), %ecx
andl %ecx, %eax
movzbl -76(%rbp), %ecx
movzbl -64(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -77(%rbp), %ecx
movzbl -64(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -85(%rbp)
movzbl -80(%rbp), %eax
movzbl -78(%rbp), %ecx
xorl %ecx, %eax
movzbl -67(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -86(%rbp)
movzbl -80(%rbp), %eax
movzbl -78(%rbp), %ecx
andl %ecx, %eax
movzbl -78(%rbp), %ecx
movzbl -67(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -80(%rbp), %ecx
movzbl -67(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -87(%rbp)
movzbl -82(%rbp), %eax
movzbl -79(%rbp), %ecx
xorl %ecx, %eax
movzbl -69(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -88(%rbp)
movzbl -82(%rbp), %eax
movzbl -79(%rbp), %ecx
andl %ecx, %eax
movzbl -79(%rbp), %ecx
movzbl -69(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -82(%rbp), %ecx
movzbl -69(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -89(%rbp)
movzbl -73(%rbp), %eax
movzbl -81(%rbp), %ecx
xorl %ecx, %eax
movzbl -71(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -90(%rbp)
movzbl -73(%rbp), %eax
movzbl -81(%rbp), %ecx
andl %ecx, %eax
movzbl -81(%rbp), %ecx
movzbl -71(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -73(%rbp), %ecx
movzbl -71(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -91(%rbp)
movzbl -18(%rbp), %eax
movzbl -72(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -92(%rbp)
movzbl -53(%rbp), %eax
movzbl -72(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -93(%rbp)
movzbl -32(%rbp), %eax
movzbl -34(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -94(%rbp)
movzbl -39(%rbp), %eax
movzbl -27(%rbp), %ecx
andl %ecx, %eax
movzbl -39(%rbp), %ecx
xorl $-1, %ecx
movzbl -83(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -95(%rbp)
movb -84(%rbp), %al
movb %al, -96(%rbp)
movzbl -86(%rbp), %eax
movzbl -85(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -97(%rbp)
movzbl -86(%rbp), %eax
movzbl -85(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -98(%rbp)
movzbl -88(%rbp), %eax
movzbl -87(%rbp), %ecx
xorl %ecx, %eax
movzbl -98(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -99(%rbp)
movzbl -88(%rbp), %eax
movzbl -87(%rbp), %ecx
andl %ecx, %eax
movzbl -87(%rbp), %ecx
movzbl -98(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -88(%rbp), %ecx
movzbl -98(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -100(%rbp)
movzbl -90(%rbp), %eax
movzbl -89(%rbp), %ecx
xorl %ecx, %eax
movzbl -100(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -101(%rbp)
movzbl -90(%rbp), %eax
movzbl -89(%rbp), %ecx
andl %ecx, %eax
movzbl -89(%rbp), %ecx
movzbl -100(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -90(%rbp), %ecx
movzbl -100(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -102(%rbp)
movzbl -93(%rbp), %eax
movzbl -91(%rbp), %ecx
xorl %ecx, %eax
movzbl -102(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -103(%rbp)
movzbl -93(%rbp), %eax
movzbl -91(%rbp), %ecx
andl %ecx, %eax
movzbl -91(%rbp), %ecx
movzbl -102(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -93(%rbp), %ecx
movzbl -102(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -104(%rbp)
movzbl -92(%rbp), %eax
movzbl -104(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -105(%rbp)
movzbl -38(%rbp), %ecx
andl $1, %ecx
shll $0, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -61(%rbp), %ecx
andl $1, %ecx
shll $1, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -55(%rbp), %ecx
andl $1, %ecx
shll $2, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -38(%rbp), %ecx
andl $1, %ecx
shll $3, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -65(%rbp), %ecx
andl $1, %ecx
shll $4, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -60(%rbp), %ecx
andl $1, %ecx
shll $5, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -74(%rbp), %ecx
andl $1, %ecx
shll $6, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -28(%rbp), %ecx
andl $1, %ecx
shll $7, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -94(%rbp), %ecx
andl $1, %ecx
shll $8, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -95(%rbp), %ecx
andl $1, %ecx
shll $9, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -96(%rbp), %ecx
andl $1, %ecx
shll $10, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -97(%rbp), %ecx
andl $1, %ecx
shll $11, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -99(%rbp), %ecx
andl $1, %ecx
shll $12, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -101(%rbp), %ecx
andl $1, %ecx
shll $13, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -103(%rbp), %ecx
andl $1, %ecx
shll $14, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -105(%rbp), %ecx
andl $1, %ecx
shll $15, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzwl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/187643971.c
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.