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
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
|
the_stack_data/243892365.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
mov w1, #0
str w1, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _open
str w0, [sp, #20]
ldr w0, [sp, #20]
add x1, sp, #24
bl _fstat
ldr x8, [sp, #120]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/etc/passwd"
l_.str.1: ; @.str.1
.asciz "/etc/passwd file size : %ld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -156(%rbp)
movl -156(%rbp), %edi
leaq -152(%rbp), %rsi
callq _fstat$INODE64
movq -56(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $160, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/etc/passwd"
L_.str.1: ## @.str.1
.asciz "/etc/passwd file size : %ld\n"
.subsections_via_symbols
|
the_stack_data/675606.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qsort3 ; -- Begin function qsort3
.p2align 2
_qsort3: ; @qsort3
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur w2, [x29, #-24]
stur w3, [x29, #-28]
ldur w8, [x29, #-28]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-4]
b LBB0_12
LBB0_2:
ldur w8, [x29, #-20]
stur w8, [x29, #-32]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-36]
ldur w8, [x29, #-24]
str w8, [sp, #40]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #36]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_11
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-36]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-16]
ldur w1, [x29, #-32]
add w8, w1, #1
stur w8, [x29, #-32]
ldur w2, [x29, #-36]
add w8, w2, #1
stur w8, [x29, #-36]
bl _swap
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-36]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x29, #-16]
ldur w1, [x29, #-36]
ldr w2, [sp, #40]
subs w8, w2, #1
str w8, [sp, #40]
bl _swap
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_11:
ldur x0, [x29, #-16]
ldur w1, [x29, #-20]
ldur w8, [x29, #-32]
subs w2, w8, #1
ldur w8, [x29, #-28]
add w3, w8, #1
bl _qsort3
ldur x0, [x29, #-16]
ldr w8, [sp, #40]
add w1, w8, #1
ldur w2, [x29, #-24]
ldur w8, [x29, #-28]
add w3, w8, #1
bl _qsort3
b LBB0_12
LBB0_12:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #12]
ldr x9, [sp, #24]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sort ; -- Begin function sort
.p2align 2
_sort: ; @sort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr x0, [sp, #16]
ldr w8, [sp, #12]
subs w2, w8, #1
mov w3, #0
mov x1, x3
bl _qsort3
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w8, [x29, #-8]
subs w8, w8, #3
cset w8, ge
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
mov w8, #-1
stur w8, [x29, #-4]
b LBB3_11
LBB3_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _atoi
stur w0, [x29, #-20]
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _atoi
str w0, [sp, #24]
ldursw x9, [x29, #-20]
mov x8, #4
mul x0, x8, x9
bl _malloc
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB3_3
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #12]
ldr w10, [sp, #24]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #16]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_3
LBB3_6:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #16]
ldur w1, [x29, #-20]
bl _sort
str wzr, [sp, #8]
b LBB3_7
LBB3_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_10
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_7 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB3_7
LBB3_10:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB3_11
LBB3_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "depth: %d, %d --> %d\n"
l_.str.1: ; @.str.1
.asciz "Usage: qs3 <array size> <unique terms>\n"
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qsort3 ## -- Begin function qsort3
.p2align 4, 0x90
_qsort3: ## @qsort3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl %ecx, -28(%rbp)
movl -28(%rbp), %esi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_12
LBB0_2:
movl -20(%rbp), %eax
movl %eax, -32(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movl -24(%rbp), %eax
movl %eax, -40(%rbp)
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -44(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -40(%rbp), %eax
jg LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -44(%rbp), %eax
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rdi
movl -32(%rbp), %esi
movl %esi, %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -36(%rbp), %edx
movl %edx, %eax
addl $1, %eax
movl %eax, -36(%rbp)
callq _swap
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -44(%rbp), %eax
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq -16(%rbp), %rdi
movl -36(%rbp), %esi
movl -40(%rbp), %edx
movl %edx, %eax
addl $-1, %eax
movl %eax, -40(%rbp)
callq _swap
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_11:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
movl -32(%rbp), %edx
subl $1, %edx
movl -28(%rbp), %ecx
addl $1, %ecx
callq _qsort3
movq -16(%rbp), %rdi
movl -40(%rbp), %esi
addl $1, %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
addl $1, %ecx
callq _qsort3
LBB0_12:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -20(%rbp), %edx
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sort ## -- Begin function sort
.p2align 4, 0x90
_sort: ## @sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq -16(%rbp), %rdi
movl -20(%rbp), %edx
subl $1, %edx
xorl %ecx, %ecx
movl %ecx, %esi
callq _qsort3
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
jge LBB3_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB3_11
LBB3_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, -24(%rbp)
movslq -20(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB3_3: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movl -36(%rbp), %eax
cltd
idivl -24(%rbp)
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB3_3
LBB3_6:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
movl -20(%rbp), %esi
callq _sort
movl $0, -40(%rbp)
LBB3_7: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB3_10
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
movq -32(%rbp), %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB3_7 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB3_7
LBB3_10:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB3_11:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "depth: %d, %d --> %d\n"
L_.str.1: ## @.str.1
.asciz "Usage: qs3 <array size> <unique terms>\n"
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/153268828.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
add x9, sp, #16
add x8, x29, #16
str x8, [x9]
ldr x9, [sp, #16]
ldr w8, [x9]
add x9, x9, #8
str x9, [sp, #16]
str w8, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_3:
ldr x9, [sp, #16]
ldr w8, [x9]
add x9, x9, #8
str x9, [sp, #16]
str w8, [sp, #8]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_4
LBB0_6:
ldr x9, [sp, #16]
ldr w8, [x9]
add x9, x9, #8
str x9, [sp, #16]
str w8, [sp, #4]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_7
LBB0_9:
ldr x9, [sp, #16]
ldr w8, [x9]
add x9, x9, #8
str x9, [sp, #16]
str w8, [sp]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _bar
b LBB0_11
LBB0_11:
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 _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $320, %rsp ## imm = 0x140
testb %al, %al
je LBB0_27
## %bb.26:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB0_27:
movq %r9, -184(%rbp)
movq %r8, -192(%rbp)
movq %rcx, -200(%rbp)
movq %rdx, -208(%rbp)
movq %rsi, -216(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -36(%rbp)
leaq -32(%rbp), %rax
leaq -224(%rbp), %rcx
movq %rcx, 16(%rax)
leaq 16(%rbp), %rcx
movq %rcx, 8(%rax)
movl $48, 4(%rax)
movl $8, (%rax)
leaq -32(%rbp), %rax
movq %rax, -240(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -228(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB0_2
## %bb.1:
movq -240(%rbp), %rcx ## 8-byte Reload
movl -228(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -248(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_2:
movq -240(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -248(%rbp) ## 8-byte Spill
LBB0_3:
movq -248(%rbp), %rax ## 8-byte Reload
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $0, -36(%rbp)
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_4
LBB0_6:
leaq -32(%rbp), %rax
movq %rax, -264(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB0_8
## %bb.7:
movq -264(%rbp), %rcx ## 8-byte Reload
movl -252(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -272(%rbp) ## 8-byte Spill
jmp LBB0_9
LBB0_8:
movq -264(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -272(%rbp) ## 8-byte Spill
LBB0_9:
movq -272(%rbp), %rax ## 8-byte Reload
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpl $0, -36(%rbp)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_10
LBB0_12:
leaq -32(%rbp), %rax
movq %rax, -288(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -276(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB0_14
## %bb.13:
movq -288(%rbp), %rcx ## 8-byte Reload
movl -276(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -296(%rbp) ## 8-byte Spill
jmp LBB0_15
LBB0_14:
movq -288(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -296(%rbp) ## 8-byte Spill
LBB0_15:
movq -296(%rbp), %rax ## 8-byte Reload
LBB0_16: ## =>This Inner Loop Header: Depth=1
cmpl $0, -36(%rbp)
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_16
LBB0_18:
leaq -32(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
movl -32(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
cmpl $40, %eax
ja LBB0_20
## %bb.19:
movq -312(%rbp), %rcx ## 8-byte Reload
movl -300(%rbp), %edx ## 4-byte Reload
movslq %edx, %rax
addq 16(%rcx), %rax
addl $8, %edx
movl %edx, (%rcx)
movq %rax, -320(%rbp) ## 8-byte Spill
jmp LBB0_21
LBB0_20:
movq -312(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rax
movq %rax, %rdx
addq $8, %rdx
movq %rdx, 8(%rcx)
movq %rax, -320(%rbp) ## 8-byte Spill
LBB0_21:
movq -320(%rbp), %rax ## 8-byte Reload
cmpl $0, -36(%rbp)
je LBB0_23
## %bb.22:
callq _bar
LBB0_23:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_25
## %bb.24:
addq $320, %rsp ## imm = 0x140
popq %rbp
retq
LBB0_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/631518.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 w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
scvtf d0, w8
fmov d1, #2.00000000
fdiv d0, d0, d1
fcvt s0, d0
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 "Enter marks of 1st subject: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter marks of 2nd subject: "
l_.str.3: ; @.str.3
.asciz "The average is %.2f "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %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 "Enter marks of 1st subject: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter marks of 2nd subject: "
L_.str.3: ## @.str.3
.asciz "The average is %.2f "
.subsections_via_symbols
|
the_stack_data/10150.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/62638802.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]
stur wzr, [x29, #-28]
mov x9, sp
sub x8, x29, #32
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-32]
subs w9, w8, #1
stur w9, [x29, #-32]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_83
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #36
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-36]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #24
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_82
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
sub x10, x29, #24
add x8, x10, #4
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
stur w8, [x29, #-48] ; 4-byte Folded Spill
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
stur w8, [x29, #-48] ; 4-byte Folded Spill
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w10, [x29, #-48] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_81
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
sub x11, x29, #24
add x10, x11, #4
add x8, x11, #8
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
ldur w10, [x29, #-16]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
stur w8, [x29, #-52] ; 4-byte Folded Spill
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
add w8, w8, w9
stur w8, [x29, #-52] ; 4-byte Folded Spill
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-52] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
ldur w10, [x29, #-16]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
stur w8, [x29, #-56] ; 4-byte Folded Spill
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w8, w8, w9
stur w8, [x29, #-56] ; 4-byte Folded Spill
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-56] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
stur w8, [x29, #-60] ; 4-byte Folded Spill
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
stur w8, [x29, #-60] ; 4-byte Folded Spill
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-60] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
ldur w10, [x29, #-20]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
stur w8, [x29, #-64] ; 4-byte Folded Spill
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
add w8, w8, w9
stur w8, [x29, #-64] ; 4-byte Folded Spill
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-64] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
stur w8, [x29, #-68] ; 4-byte Folded Spill
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
stur w8, [x29, #-68] ; 4-byte Folded Spill
b LBB0_25
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-68] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w9, [x29, #-40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_80
LBB0_26: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_79
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_1 Depth=1
sub x12, x29, #24
add x11, x12, #4
add x10, x12, #8
add x8, x12, #12
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
ldur w10, [x29, #-16]
add w9, w9, w10
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
stur w8, [x29, #-72] ; 4-byte Folded Spill
b LBB0_30
LBB0_29: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
add w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-72] ; 4-byte Folded Spill
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-72] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
ldur w10, [x29, #-16]
add w9, w9, w10
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
stur w8, [x29, #-76] ; 4-byte Folded Spill
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-76] ; 4-byte Folded Spill
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-76] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
stur w8, [x29, #-80] ; 4-byte Folded Spill
b LBB0_36
LBB0_35: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
stur w8, [x29, #-80] ; 4-byte Folded Spill
b LBB0_36
LBB0_36: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-80] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
ldur w10, [x29, #-20]
add w9, w9, w10
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
stur w8, [x29, #-84] ; 4-byte Folded Spill
b LBB0_39
LBB0_38: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
add w8, w8, w9
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-84] ; 4-byte Folded Spill
b LBB0_39
LBB0_39: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-84] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB0_42
LBB0_41: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #88] ; 4-byte Folded Spill
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #88] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-12]
ldur w9, [x29, #-24]
ldur w10, [x29, #-16]
add w9, w9, w10
ldur w10, [x29, #-20]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_44
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
str w8, [sp, #84] ; 4-byte Folded Spill
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w8, w8, w9
ldur w9, [x29, #-20]
add w8, w8, w9
str w8, [sp, #84] ; 4-byte Folded Spill
b LBB0_45
LBB0_45: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #84] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_47
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB0_48
LBB0_47: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #80] ; 4-byte Folded Spill
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #80] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
add w8, w8, w9
ldur w9, [x29, #-16]
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
add w8, w8, w9
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB0_51
LBB0_50: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #76] ; 4-byte Folded Spill
b LBB0_51
LBB0_51: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #76] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_53
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB0_54
LBB0_53: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #72] ; 4-byte Folded Spill
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #72] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w8, w8, w9
ldur w9, [x29, #-20]
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_56
b LBB0_55
LBB0_55: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-16]
add w8, w8, w9
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB0_57
LBB0_56: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #68] ; 4-byte Folded Spill
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #68] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_59
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_60
LBB0_59: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #64] ; 4-byte Folded Spill
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #64] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-24]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-16]
ldur w10, [x29, #-20]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_62
b LBB0_61
LBB0_61: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB0_63
LBB0_62: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
add w8, w8, w9
str w8, [sp, #60] ; 4-byte Folded Spill
b LBB0_63
LBB0_63: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #60] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_65
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB0_66
LBB0_65: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #56] ; 4-byte Folded Spill
b LBB0_66
LBB0_66: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #56] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
add w8, w8, w9
ldur w9, [x29, #-24]
ldur w10, [x29, #-12]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_68
b LBB0_67
LBB0_67: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
add w8, w8, w9
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_69
LBB0_68: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #52] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_71
b LBB0_70
LBB0_70: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB0_72
LBB0_71: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w8, w8, w9
ldur w9, [x29, #-16]
ldur w10, [x29, #-24]
add w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_74
b LBB0_73
LBB0_73: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB0_75
LBB0_74: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-24]
add w8, w8, w9
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB0_75
LBB0_75: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
stur w8, [x29, #-44]
ldur w8, [x29, #-40]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_77
b LBB0_76
LBB0_76: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-40]
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB0_78
LBB0_77: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-44]
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB0_78
LBB0_78: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #40] ; 4-byte Folded Reload
stur w8, [x29, #-40]
ldur w9, [x29, #-40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_79
LBB0_79: ; in Loop: Header=BB0_1 Depth=1
b LBB0_80
LBB0_80: ; in Loop: Header=BB0_1 Depth=1
b LBB0_81
LBB0_81: ; in Loop: Header=BB0_1 Depth=1
b LBB0_82
LBB0_82: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_83:
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_85
b LBB0_84
LBB0_84:
bl ___stack_chk_fail
LBB0_85:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
l_.str.2: ; @.str.2
.asciz "%d %d"
l_.str.3: ; @.str.3
.asciz "%d %d %d"
l_.str.4: ; @.str.4
.asciz "%d %d %d %d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
leaq L_.str(%rip), %rdi
leaq -40(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -40(%rbp)
cmpl $0, %eax
je LBB0_83
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -44(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, -44(%rbp)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
movl -32(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_82
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -44(%rbp)
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rsi
leaq -32(%rbp), %rdx
addq $4, %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
movl -32(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %esi ## 4-byte Reload
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_81
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -44(%rbp)
jne LBB0_26
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rsi
leaq -32(%rbp), %rdx
addq $4, %rdx
leaq -32(%rbp), %rcx
addq $8, %rcx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _scanf
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
addl -24(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -28(%rbp), %eax
movl -32(%rbp), %ecx
addl -24(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -64(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
jmp LBB0_19
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -24(%rbp), %eax
movl -32(%rbp), %ecx
addl -28(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_21
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movl -72(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_24
## %bb.23: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
jmp LBB0_25
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
LBB0_25: ## in Loop: Header=BB0_1 Depth=1
movl -76(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -48(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_80
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
cmpl $4, -44(%rbp)
jne LBB0_79
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rsi
leaq -32(%rbp), %rdx
addq $4, %rdx
leaq -32(%rbp), %rcx
addq $8, %rcx
leaq -32(%rbp), %r8
addq $12, %r8
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _scanf
movl -32(%rbp), %eax
movl -28(%rbp), %ecx
addl -24(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_29
## %bb.28: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
jmp LBB0_30
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl -24(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
movl -80(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -28(%rbp), %eax
movl -32(%rbp), %ecx
addl -24(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_32
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB0_33
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -24(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
movl -84(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_35
## %bb.34: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
jmp LBB0_36
LBB0_35: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
movl -88(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -24(%rbp), %eax
movl -32(%rbp), %ecx
addl -28(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_38
## %bb.37: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
jmp LBB0_39
LBB0_38: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -28(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
LBB0_39: ## in Loop: Header=BB0_1 Depth=1
movl -92(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_41
## %bb.40: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
jmp LBB0_42
LBB0_41: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
movl -96(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -20(%rbp), %eax
movl -32(%rbp), %ecx
addl -24(%rbp), %ecx
addl -28(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_44
## %bb.43: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
jmp LBB0_45
LBB0_44: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -24(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
LBB0_45: ## in Loop: Header=BB0_1 Depth=1
movl -100(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_47
## %bb.46: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -104(%rbp) ## 4-byte Spill
jmp LBB0_48
LBB0_47: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -104(%rbp) ## 4-byte Spill
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
movl -104(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -28(%rbp), %eax
addl -32(%rbp), %eax
movl -24(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_50
## %bb.49: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
jmp LBB0_51
LBB0_50: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
LBB0_51: ## in Loop: Header=BB0_1 Depth=1
movl -108(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_53
## %bb.52: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -112(%rbp) ## 4-byte Spill
jmp LBB0_54
LBB0_53: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -112(%rbp) ## 4-byte Spill
LBB0_54: ## in Loop: Header=BB0_1 Depth=1
movl -112(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -32(%rbp), %eax
addl -24(%rbp), %eax
movl -28(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_56
## %bb.55: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
jmp LBB0_57
LBB0_56: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -116(%rbp) ## 4-byte Spill
LBB0_57: ## in Loop: Header=BB0_1 Depth=1
movl -116(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_59
## %bb.58: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -120(%rbp) ## 4-byte Spill
jmp LBB0_60
LBB0_59: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -120(%rbp) ## 4-byte Spill
LBB0_60: ## in Loop: Header=BB0_1 Depth=1
movl -120(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -32(%rbp), %eax
addl -20(%rbp), %eax
movl -24(%rbp), %ecx
addl -28(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_62
## %bb.61: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
jmp LBB0_63
LBB0_62: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl -28(%rbp), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
LBB0_63: ## in Loop: Header=BB0_1 Depth=1
movl -124(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_65
## %bb.64: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -128(%rbp) ## 4-byte Spill
jmp LBB0_66
LBB0_65: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -128(%rbp) ## 4-byte Spill
LBB0_66: ## in Loop: Header=BB0_1 Depth=1
movl -128(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -28(%rbp), %eax
addl -24(%rbp), %eax
movl -32(%rbp), %ecx
addl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_68
## %bb.67: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -132(%rbp) ## 4-byte Spill
jmp LBB0_69
LBB0_68: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -132(%rbp) ## 4-byte Spill
LBB0_69: ## in Loop: Header=BB0_1 Depth=1
movl -132(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_71
## %bb.70: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -136(%rbp) ## 4-byte Spill
jmp LBB0_72
LBB0_71: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -136(%rbp) ## 4-byte Spill
LBB0_72: ## in Loop: Header=BB0_1 Depth=1
movl -136(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -28(%rbp), %eax
addl -20(%rbp), %eax
movl -24(%rbp), %ecx
addl -32(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_74
## %bb.73: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -140(%rbp) ## 4-byte Spill
jmp LBB0_75
LBB0_74: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -140(%rbp) ## 4-byte Spill
LBB0_75: ## in Loop: Header=BB0_1 Depth=1
movl -140(%rbp), %eax ## 4-byte Reload
movl %eax, -52(%rbp)
movl -48(%rbp), %eax
cmpl -52(%rbp), %eax
jge LBB0_77
## %bb.76: ## in Loop: Header=BB0_1 Depth=1
movl -48(%rbp), %eax
movl %eax, -144(%rbp) ## 4-byte Spill
jmp LBB0_78
LBB0_77: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
movl %eax, -144(%rbp) ## 4-byte Spill
LBB0_78: ## in Loop: Header=BB0_1 Depth=1
movl -144(%rbp), %eax ## 4-byte Reload
movl %eax, -48(%rbp)
movl -48(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_79: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_80
LBB0_80: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_81
LBB0_81: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_82
LBB0_82: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_83:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_85
## %bb.84:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB0_85:
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 "%d\n"
L_.str.2: ## @.str.2
.asciz "%d %d"
L_.str.3: ## @.str.3
.asciz "%d %d %d"
L_.str.4: ## @.str.4
.asciz "%d %d %d %d"
.subsections_via_symbols
|
the_stack_data/133394.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
add x8, sp, #12
str w0, [sp, #12]
add x9, sp, #8
str w1, [sp, #8]
ldar w8, [x8]
ldar w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
add x8, sp, #12
ldar w8, [x8]
add x9, sp, #8
ldar w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_4
LBB0_4:
add x8, sp, #12
ldar w8, [x8]
add x9, sp, #8
ldar w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
add x8, sp, #12
ldar w8, [x8]
add x9, sp, #8
ldar w9, [x9]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8:
add x8, sp, #12
ldar w8, [x8]
add x9, sp, #8
ldar w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
b LBB0_10
LBB0_10:
add x8, sp, #12
ldar w8, [x8]
add x9, sp, #8
ldar w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
b LBB0_14
LBB0_14:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
b LBB0_16
LBB0_16:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, eq
ands w8, w8, #0x1
cset w8, le
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
b LBB0_24
LBB0_24:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
b LBB0_26
LBB0_26:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
add x9, sp, #8
ldar w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
b LBB0_28
LBB0_28:
add x8, sp, #12
ldar w8, [x8]
subs w8, w8, #0
cset w8, eq
ands w8, w8, #0x1
cset w8, lt
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
b LBB0_30
LBB0_30:
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 _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB0_2
## %bb.1:
jmp LBB0_2
LBB0_2:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_4
## %bb.3:
jmp LBB0_4
LBB0_4:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jl LBB0_6
## %bb.5:
jmp LBB0_6
LBB0_6:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_8
## %bb.7:
jmp LBB0_8
LBB0_8:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB0_10
## %bb.9:
jmp LBB0_10
LBB0_10:
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
je LBB0_12
## %bb.11:
jmp LBB0_12
LBB0_12:
cmpl $0, -4(%rbp)
jne LBB0_14
## %bb.13:
jmp LBB0_14
LBB0_14:
cmpl $0, -4(%rbp)
jle LBB0_16
## %bb.15:
jmp LBB0_16
LBB0_16:
cmpl $1, -4(%rbp)
jle LBB0_18
## %bb.17:
jmp LBB0_18
LBB0_18:
cmpl $2, -4(%rbp)
jle LBB0_20
## %bb.19:
jmp LBB0_20
LBB0_20:
cmpl $0, -4(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jle LBB0_22
## %bb.21:
jmp LBB0_22
LBB0_22:
cmpl $0, -4(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cmpl $1, %eax
jle LBB0_24
## %bb.23:
jmp LBB0_24
LBB0_24:
cmpl $0, -4(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cmpl $2, %eax
jle LBB0_26
## %bb.25:
jmp LBB0_26
LBB0_26:
cmpl $0, -4(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cmpl -8(%rbp), %eax
jle LBB0_28
## %bb.27:
jmp LBB0_28
LBB0_28:
cmpl $0, -4(%rbp)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cmpl $-1, %eax
jle LBB0_30
## %bb.29:
jmp LBB0_30
LBB0_30:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/34659.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
sturb w0, [x29, #-13]
ldursb w8, [x29, #-13]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_8
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-12]
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-13]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldursb w10, [x29, #-13]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_1
LBB0_8:
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 "%i - "
l_.str.1: ; @.str.1
.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 $16, %rsp
movl $0, -4(%rbp)
movl $1, -8(%rbp)
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -13(%rbp)
movsbl -13(%rbp), %eax
cmpl $-1, %eax
jne LBB0_3
## %bb.2:
jmp LBB0_8
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -12(%rbp)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movsbl -13(%rbp), %eax
cmpl $10, %eax
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movsbl -13(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_8:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%i - "
L_.str.1: ## @.str.1
.asciz "%c"
.subsections_via_symbols
|
the_stack_data/50117.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #8
cset w8, gt
mov w9, #1
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_1
b LBB0_5
LBB0_5:
stur wzr, [x29, #-12]
b LBB0_6
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_12 Depth 2
; Child Loop BB0_16 Depth 2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
stur wzr, [x29, #-16]
b LBB0_8
LBB0_8: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
ldur w9, [x29, #-8]
ldur w10, [x29, #-12]
subs w9, w9, w10
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=2
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_8
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
stur wzr, [x29, #-20]
b LBB0_12
LBB0_12: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=2
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=2
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_12
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str wzr, [sp, #24]
b LBB0_16
LBB0_16: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #24]
ldur w9, [x29, #-12]
add w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_16 Depth=2
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_16 Depth=2
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_16
LBB0_19: ; in Loop: Header=BB0_6 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _puts
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_6 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_6
LBB0_21:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Height: "
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "#"
l_.str.4: ; @.str.4
.asciz " "
l_.str.5: ; @.str.5
.space 1
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
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
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movb $1, %al
cmpl $8, -8(%rbp)
movb %al, -25(%rbp) ## 1-byte Spill
jg LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
setle %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_1
## %bb.5:
movl $0, -12(%rbp)
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_12 Depth 2
## Child Loop BB0_16 Depth 2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_21
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl $0, -16(%rbp)
LBB0_8: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
movl -8(%rbp), %ecx
subl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_8
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movl $0, -20(%rbp)
LBB0_12: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -20(%rbp), %eax
movl -12(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_15
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.14: ## in Loop: Header=BB0_12 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_12
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -24(%rbp)
LBB0_16: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movl -24(%rbp), %eax
movl -12(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jge LBB0_19
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.18: ## in Loop: Header=BB0_16 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_16
LBB0_19: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.5(%rip), %rdi
callq _puts
## %bb.20: ## in Loop: Header=BB0_6 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_6
LBB0_21:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Height: "
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "#"
L_.str.4: ## @.str.4
.asciz " "
L_.str.5: ## @.str.5
.space 1
.subsections_via_symbols
|
the_stack_data/810648.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _initscr
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printw
adrp x8, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [x8]
bl _wrefresh
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wgetch
bl _endwin
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 !"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _initscr
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printw
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wrefresh
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
callq _endwin
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World !"
.subsections_via_symbols
|
the_stack_data/3262912.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str w0, [sp, #8]
str x1, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _yylex
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movb $0, %al
callq _yylex
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/159514570.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]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #24]
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp, #16]
ldr x0, [sp, #24]
bl _inet_addr
mov w8, w0
; kill: def $x8 killed $w8
str x8, [sp, #8]
ldr x8, [sp, #8]
mov x9, #4294967295
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_3
LBB0_2:
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_3
LBB0_3:
ldr x0, [sp, #16]
bl _inet_addr
mov w8, w0
; kill: def $x8 killed $w8
str x8, [sp, #8]
ldr x8, [sp, #8]
mov x9, #4294967295
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
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 "1.2.3.4"
l_.str.1: ; @.str.1
.asciz "1.2.3.256"
l_.str.2: ; @.str.2
.asciz "Error occured ! \n"
l_.str.3: ; @.str.3
.asciz "Network ordered integer addr:%#lx \n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -24(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rdi
callq _inet_addr
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp)
movl $4294967295, %eax ## imm = 0xFFFFFFFF
cmpq %rax, -40(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_3
LBB0_2:
movq -40(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3:
movq -32(%rbp), %rdi
callq _inet_addr
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -40(%rbp)
movl $4294967295, %eax ## imm = 0xFFFFFFFF
cmpq %rax, -40(%rbp)
jne LBB0_5
## %bb.4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
movq -40(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "1.2.3.4"
L_.str.1: ## @.str.1
.asciz "1.2.3.256"
L_.str.2: ## @.str.2
.asciz "Error occured ! \n"
L_.str.3: ## @.str.3
.asciz "Network ordered integer addr:%#lx \n"
.subsections_via_symbols
|
the_stack_data/54824054.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #8]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #4]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
ldr w10, [sp, #8]
mov w9, #10
subs w9, w9, w10
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x8, [sp, #4]
adrp x9, _Container@PAGE
add x9, x9, _Container@PAGEOFF
ldr w8, [x9, x8, lsl #2]
ldr w10, [sp, #4]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #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
ldrsw x8, [sp, #4]
adrp x9, _Container@PAGE
add x9, x9, _Container@PAGEOFF
ldr w8, [x9, x8, lsl #2]
str w8, [sp]
ldr w8, [sp, #4]
add w8, w8, #1
ldr w8, [x9, w8, sxtw #2]
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
ldr w8, [sp]
ldr w10, [sp, #4]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_10:
bl _output
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
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 wzr, [x29, #-4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _Container@PAGE
add x8, x8, _Container@PAGEOFF
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB1_1
LBB1_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _Container ; @Container
.p2align 2
_Container:
.long 9 ; 0x9
.long 8 ; 0x8
.long 7 ; 0x7
.long 6 ; 0x6
.long 5 ; 0x5
.long 4 ; 0x4
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $9, -8(%rbp)
jge LBB0_10
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movl $10, %ecx
subl -8(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -12(%rbp), %rcx
leaq _Container(%rip), %rax
movl (%rax,%rcx,4), %eax
movl -12(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rdx
leaq _Container(%rip), %rcx
cmpl (%rcx,%rdx,4), %eax
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movslq -12(%rbp), %rcx
leaq _Container(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
leaq _Container(%rip), %rax
movl (%rax,%rcx,4), %edx
movslq -12(%rbp), %rcx
leaq _Container(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -16(%rbp), %edx
movl -12(%rbp), %eax
addl $1, %eax
movslq %eax, %rcx
leaq _Container(%rip), %rax
movl %edx, (%rax,%rcx,4)
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_10:
callq _output
xorl %eax, %eax
addq $16, %rsp
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 $0, -4(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -4(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -4(%rbp), %rcx
leaq _Container(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.1(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _Container ## @Container
.p2align 4
_Container:
.long 9 ## 0x9
.long 8 ## 0x8
.long 7 ## 0x7
.long 6 ## 0x6
.long 5 ## 0x5
.long 4 ## 0x4
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/6386657.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _iso_font ; @iso_font
_iso_font:
.asciz "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\030\030\030\030\030\000\030\030\000\000\000\000\000\000ll6\000\000\000\000\000\000\000\000\000\000\000\000\000\00066\17766\17766\000\000\000\000\000\000\b\b>k\013\013>hhk>\b\b\000\000\000\000\0003\023\030\b\f\004\00623\000\000\000\000\000\000\03466\034l>33{\316\000\000\000\000\000\000\030\030\f\000\000\000\000\000\000\000\000\000\000\000\000\0000\030\030\f\f\f\f\f\030\0300\000\000\000\000\000\f\030\03000000\030\030\f\000\000\000\000\000\000\000\0006\034\177\0346\000\000\000\000\000\000\000\000\000\000\000\030\030~\030\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\f\000\000\000\000\000\000\000\000\000\000~\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\000\000\000\000\000\000` 0\020\030\b\f\004\006\002\003\000\000\000\000\000>ccckkccc>\000\000\000\000\000\000\030\036\030\030\030\030\030\030\030\030\000\000\000\000\000\000>c``0\030\f\006\003\177\000\000\000\000\000\000>c``<```c>\000\000\000\000\000\00008<63\1770000\000\000\000\000\000\000\177\003\003?````c>\000\000\000\000\000\000<\006\003\003?cccc>\000\000\000\000\000\000\177`00\030\030\030\f\f\f\000\000\000\000\000\000>ccc>cccc>\000\000\000\000\000\000>ccc~```0\036\000\000\000\000\000\000\000\000\000\030\030\000\000\000\030\030\000\000\000\000\000\000\000\000\000\030\030\000\000\000\030\030\f\000\000\000\000\000`0\030\f\006\006\f\0300`\000\000\000\000\000\000\000\000\000~\000\000~\000\000\000\000\000\000\000\000\000\006\f\0300``0\030\f\006\000\000\000\000\000\000>c`00\030\030\000\030\030\000\000\000\000\000\000<fs{kk{3\006<\000\000\000\000\000\000>ccc\177ccccc\000\000\000\000\000\000?ccc?cccc?\000\000\000\000\000\000<f\003\003\003\003\003\003f<\000\000\000\000\000\000\0373cccccc3\037\000\000\000\000\000\000\177\003\003\003?\003\003\003\003\177\000\000\000\000\000\000\177\003\003\003?\003\003\003\003\003\000\000\000\000\000\000<f\003\003\003sccf|\000\000\000\000\000\000cccc\177ccccc\000\000\000\000\000\000<\030\030\030\030\030\030\030\030<\000\000\000\000\000\000000000003\036\000\000\000\000\000\000c3\033\017\007\007\017\0333c\000\000\000\000\000\000\003\003\003\003\003\003\003\003\003\177\000\000\000\000\000\000ccw\177\177kkccc\000\000\000\000\000\000ccgoo{{scc\000\000\000\000\000\000>cccccccc>\000\000\000\000\000\000?cccc?\003\003\003\003\000\000\000\000\000\000>cccccco{>0`\000\000\000\000?cccc?\0333cc\000\000\000\000\000\000>c\003\003\0168``c>\000\000\000\000\000\000~\030\030\030\030\030\030\030\030\030\000\000\000\000\000\000ccccccccc>\000\000\000\000\000\000ccccc66\034\034\b\000\000\000\000\000\000cckkkk\177666\000\000\000\000\000\000cc66\034\03466cc\000\000\000\000\000\000\303\303ff<<\030\030\030\030\000\000\000\000\000\000\17700\030\030\f\f\006\006\177\000\000\000\000\000\000<\f\f\f\f\f\f\f\f<\000\000\000\000\000\000\003\002\006\004\f\b\030\0200 `\000\000\000\000\000<00000000<\000\000\000\000\000\b\0346c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\000\000\000\f\f\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000>`~ccsn\000\000\000\000\000\000\003\003\003;gcccg;\000\000\000\000\000\000\000\000\000>c\003\003\003c>\000\000\000\000\000\000```nscccsn\000\000\000\000\000\000\000\000\000>cc\177\003c>\000\000\000\000\000\000<f\006\037\006\006\006\006\006\006\000\000\000\000\000\000\000\000\000nscccsn`c>\000\000\000\003\003\003;gccccc\000\000\000\000\000\000\f\f\000\f\f\f\f\f\f8\000\000\000\000\000\00000\000000000003\036\000\000\000\003\003\003c3\033\017\0373c\000\000\000\000\000\000\f\f\f\f\f\f\f\f\f8\000\000\000\000\000\000\000\000\0005kkkkkk\000\000\000\000\000\000\000\000\000;gccccc\000\000\000\000\000\000\000\000\000>ccccc>\000\000\000\000\000\000\000\000\000;gcccg;\003\003\003\000\000\000\000\000\000nscccsn`\340`\000\000\000\000\000\000;g\003\003\003\003\003\000\000\000\000\000\000\000\000\000>c\0168`c>\000\000\000\000\000\000\000\f\f>\f\f\f\f\f8\000\000\000\000\000\000\000\000\000cccccsn\000\000\000\000\000\000\000\000\000cc66\034\034\b\000\000\000\000\000\000\000\000\000ckkk>66\000\000\000\000\000\000\000\000\000c6\034\034\0346c\000\000\000\000\000\000\000\000\000cc66\034\034\f\f\006\003\000\000\000\000\000\000\177`0\030\f\006\177\000\000\000\000\000\000p\030\030\030\030\016\030\030\030\030p\000\000\000\000\030\030\030\030\030\030\030\030\030\030\030\030\000\000\000\000\000\016\030\030\030\030p\030\030\030\030\016\000\000\000\000\000\000\000\000\000n;\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\000\030\030\030\030\030\030\030\000\000\000\000\000\b\b>k\013\013\013k>\b\b\000\000\000\000\0346\006\006\037\006\006\007o;\000\000\000\000\000\000\000\000f<fff<f\000\000\000\000\000\000\000\303\303ff<~\030~\030\030\000\000\000\000\000\000\030\030\030\030\000\000\030\030\030\030\000\000\000\000\000<f\f\0363cf<\0303\036\000\000\000\000\000\00066\000\000\000\000\000\000\000\000\000\000\000\000\000\000<B\231\245\205\245\231B<\000\000\000\000\000\000\0360>3;6\000?\000\000\000\000\000\000\000\000\000\000\000\000l6\033\0336l\000\000\000\000\000\000\000\000\000\000\000\177```\000\000\000\000\000\000\000\000\000\000\000\000\000<\000\000\000\000\000\000\000\000\000\000<B\235\245\235\245\245B<\000\000\000\000\000\000~\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\03466\034\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030~\030\030\000~\000\000\000\000\000\000\0363\030\f\006?\000\000\000\000\000\000\000\000\000\000\0363\03003\036\000\000\000\000\000\000\000\000\000\0000\030\f\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000fffffvn\006\006\003\000\000\000~///.(((((\000\000\000\000\000\000\000\000\000\000\000\030\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0300\036\000\000\f\016\f\f\f\036\000\000\000\000\000\000\000\000\000\000\0363333\036\000?\000\000\000\000\000\000\000\000\000\000\000\000\0336ll6\033\000\000\000\000\000\000\020\034\030\030\030\000\177\000\030\034\032>\030\000\000\000\020\034\030\030\030\000\177\000\0346\030\f>\000\000\000\0346\0306\034\000\177\000\030\034\032>\030\000\000\000\000\000\000\f\f\000\f\f\006\006\003c>\000\000\f\030>ccc\177ccccc\000\000\000\000\030\f>ccc\177ccccc\000\000\000\000\b\024>ccc\177ccccc\000\000\000\000n;>ccc\177ccccc\000\000\000\0006\000>ccc\177ccccc\000\000\000\000\0346>ccc\177ccccc\000\000\000\000\000\000\376333\3773333\363\000\000\000\000\000\000<f\003\003\003\003\003\003f<\0300\036\000\f\030\177\003\003\003?\003\003\003\003\177\000\000\000\000\030\f\177\003\003\003?\003\003\003\003\177\000\000\000\000\b\024\177\003\003\003?\003\003\003\003\177\000\000\000\0006\000\177\003\003\003?\003\003\003\003\177\000\000\000\000\f\030<\030\030\030\030\030\030\030\030<\000\000\000\0000\030<\030\030\030\030\030\030\030\030<\000\000\000\000\030$<\030\030\030\030\030\030\030\030<\000\000\000\000f\000<\030\030\030\030\030\030\030\030<\000\000\000\000\000\000\0366ffofff6\036\000\000\000\000n;ccgoo{{scc\000\000\000\000\006\f>cccccccc>\000\000\000\0000\030>cccccccc>\000\000\000\000\b\024>cccccccc>\000\000\000\000n;>cccccccc>\000\000\000\0006\000>cccccccc>\000\000\000\000\000\000\000\000\000f<\030<f\000\000\000\000\000\000\000 >sskkkkgg>\002\000\000\000\f\030ccccccccc>\000\000\000\000\030\fccccccccc>\000\000\000\000\b\024ccccccccc>\000\000\000\0006\000ccccccccc>\000\000\000\0000\030\303\303ff<<\030\030\030\030\000\000\000\000\000\000\017\006>ffff>\006\017\000\000\000\000\000\000\03633\0333cccc;\000\000\000\000\000\f\0300\000>`~ccsn\000\000\000\000\0000\030\f\000>`~ccsn\000\000\000\000\000\b\0346\000>`~ccsn\000\000\000\000\000\000n;\000>`~ccsn\000\000\000\000\000\00066\000>`~ccsn\000\000\000\000\000\0346\034\000>`~ccsn\000\000\000\000\000\000\000\000\000n\333\330\376\033\333v\000\000\000\000\000\000\000\000\000>c\003\003\003c>\0300\036\000\000\f\0300\000>cc\177\003c>\000\000\000\000\0000\030\f\000>cc\177\003c>\000\000\000\000\000\b\0346\000>cc\177\003c>\000\000\000\000\000\00066\000>cc\177\003c>\000\000\000\000\000\006\f\030\000\f\f\f\f\f\f8\000\000\000\000\000\030\f\006\000\f\f\f\f\f\f8\000\000\000\000\000\b\0346\000\f\f\f\f\f\f8\000\000\000\000\000\00066\000\f\f\f\f\f\f8\000\000\000\000\000\000,\0304`|ffff<\000\000\000\000\000\000n;\000;gccccc\000\000\000\000\000\006\f\030\000>ccccc>\000\000\000\000\0000\030\f\000>ccccc>\000\000\000\000\000\b\0346\000>ccccc>\000\000\000\000\000\000n;\000>ccccc>\000\000\000\000\000\00066\000>ccccc>\000\000\000\000\000\000\000\000\030\030\000~\000\030\030\000\000\000\000\000\000\000\000\000 >skkkg>\002\000\000\000\000\006\f\030\000cccccsn\000\000\000\000\0000\030\f\000cccccsn\000\000\000\000\000\b\0346\000cccccsn\000\000\000\000\000\00066\000cccccsn\000\000\000\000\0000\030\f\000cc66\034\034\f\f\006\003\000\000\000\017\006\006>fffff>\006\006\017\000\000\00066\000cc66\034\034\f\f\006\003"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _iso_font ## @iso_font
.p2align 4
_iso_font:
.asciz "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\030\030\030\030\030\000\030\030\000\000\000\000\000\000ll6\000\000\000\000\000\000\000\000\000\000\000\000\000\00066\17766\17766\000\000\000\000\000\000\b\b>k\013\013>hhk>\b\b\000\000\000\000\0003\023\030\b\f\004\00623\000\000\000\000\000\000\03466\034l>33{\316\000\000\000\000\000\000\030\030\f\000\000\000\000\000\000\000\000\000\000\000\000\0000\030\030\f\f\f\f\f\030\0300\000\000\000\000\000\f\030\03000000\030\030\f\000\000\000\000\000\000\000\0006\034\177\0346\000\000\000\000\000\000\000\000\000\000\000\030\030~\030\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\f\000\000\000\000\000\000\000\000\000\000~\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\000\000\000\000\000\000` 0\020\030\b\f\004\006\002\003\000\000\000\000\000>ccckkccc>\000\000\000\000\000\000\030\036\030\030\030\030\030\030\030\030\000\000\000\000\000\000>c``0\030\f\006\003\177\000\000\000\000\000\000>c``<```c>\000\000\000\000\000\00008<63\1770000\000\000\000\000\000\000\177\003\003?````c>\000\000\000\000\000\000<\006\003\003?cccc>\000\000\000\000\000\000\177`00\030\030\030\f\f\f\000\000\000\000\000\000>ccc>cccc>\000\000\000\000\000\000>ccc~```0\036\000\000\000\000\000\000\000\000\000\030\030\000\000\000\030\030\000\000\000\000\000\000\000\000\000\030\030\000\000\000\030\030\f\000\000\000\000\000`0\030\f\006\006\f\0300`\000\000\000\000\000\000\000\000\000~\000\000~\000\000\000\000\000\000\000\000\000\006\f\0300``0\030\f\006\000\000\000\000\000\000>c`00\030\030\000\030\030\000\000\000\000\000\000<fs{kk{3\006<\000\000\000\000\000\000>ccc\177ccccc\000\000\000\000\000\000?ccc?cccc?\000\000\000\000\000\000<f\003\003\003\003\003\003f<\000\000\000\000\000\000\0373cccccc3\037\000\000\000\000\000\000\177\003\003\003?\003\003\003\003\177\000\000\000\000\000\000\177\003\003\003?\003\003\003\003\003\000\000\000\000\000\000<f\003\003\003sccf|\000\000\000\000\000\000cccc\177ccccc\000\000\000\000\000\000<\030\030\030\030\030\030\030\030<\000\000\000\000\000\000000000003\036\000\000\000\000\000\000c3\033\017\007\007\017\0333c\000\000\000\000\000\000\003\003\003\003\003\003\003\003\003\177\000\000\000\000\000\000ccw\177\177kkccc\000\000\000\000\000\000ccgoo{{scc\000\000\000\000\000\000>cccccccc>\000\000\000\000\000\000?cccc?\003\003\003\003\000\000\000\000\000\000>cccccco{>0`\000\000\000\000?cccc?\0333cc\000\000\000\000\000\000>c\003\003\0168``c>\000\000\000\000\000\000~\030\030\030\030\030\030\030\030\030\000\000\000\000\000\000ccccccccc>\000\000\000\000\000\000ccccc66\034\034\b\000\000\000\000\000\000cckkkk\177666\000\000\000\000\000\000cc66\034\03466cc\000\000\000\000\000\000\303\303ff<<\030\030\030\030\000\000\000\000\000\000\17700\030\030\f\f\006\006\177\000\000\000\000\000\000<\f\f\f\f\f\f\f\f<\000\000\000\000\000\000\003\002\006\004\f\b\030\0200 `\000\000\000\000\000<00000000<\000\000\000\000\000\b\0346c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\000\000\000\f\f\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000>`~ccsn\000\000\000\000\000\000\003\003\003;gcccg;\000\000\000\000\000\000\000\000\000>c\003\003\003c>\000\000\000\000\000\000```nscccsn\000\000\000\000\000\000\000\000\000>cc\177\003c>\000\000\000\000\000\000<f\006\037\006\006\006\006\006\006\000\000\000\000\000\000\000\000\000nscccsn`c>\000\000\000\003\003\003;gccccc\000\000\000\000\000\000\f\f\000\f\f\f\f\f\f8\000\000\000\000\000\00000\000000000003\036\000\000\000\003\003\003c3\033\017\0373c\000\000\000\000\000\000\f\f\f\f\f\f\f\f\f8\000\000\000\000\000\000\000\000\0005kkkkkk\000\000\000\000\000\000\000\000\000;gccccc\000\000\000\000\000\000\000\000\000>ccccc>\000\000\000\000\000\000\000\000\000;gcccg;\003\003\003\000\000\000\000\000\000nscccsn`\340`\000\000\000\000\000\000;g\003\003\003\003\003\000\000\000\000\000\000\000\000\000>c\0168`c>\000\000\000\000\000\000\000\f\f>\f\f\f\f\f8\000\000\000\000\000\000\000\000\000cccccsn\000\000\000\000\000\000\000\000\000cc66\034\034\b\000\000\000\000\000\000\000\000\000ckkk>66\000\000\000\000\000\000\000\000\000c6\034\034\0346c\000\000\000\000\000\000\000\000\000cc66\034\034\f\f\006\003\000\000\000\000\000\000\177`0\030\f\006\177\000\000\000\000\000\000p\030\030\030\030\016\030\030\030\030p\000\000\000\000\030\030\030\030\030\030\030\030\030\030\030\030\000\000\000\000\000\016\030\030\030\030p\030\030\030\030\016\000\000\000\000\000\000\000\000\000n;\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030\000\030\030\030\030\030\030\030\000\000\000\000\000\b\b>k\013\013\013k>\b\b\000\000\000\000\0346\006\006\037\006\006\007o;\000\000\000\000\000\000\000\000f<fff<f\000\000\000\000\000\000\000\303\303ff<~\030~\030\030\000\000\000\000\000\000\030\030\030\030\000\000\030\030\030\030\000\000\000\000\000<f\f\0363cf<\0303\036\000\000\000\000\000\00066\000\000\000\000\000\000\000\000\000\000\000\000\000\000<B\231\245\205\245\231B<\000\000\000\000\000\000\0360>3;6\000?\000\000\000\000\000\000\000\000\000\000\000\000l6\033\0336l\000\000\000\000\000\000\000\000\000\000\000\177```\000\000\000\000\000\000\000\000\000\000\000\000\000<\000\000\000\000\000\000\000\000\000\000<B\235\245\235\245\245B<\000\000\000\000\000\000~\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\03466\034\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030\030~\030\030\000~\000\000\000\000\000\000\0363\030\f\006?\000\000\000\000\000\000\000\000\000\000\0363\03003\036\000\000\000\000\000\000\000\000\000\0000\030\f\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000fffffvn\006\006\003\000\000\000~///.(((((\000\000\000\000\000\000\000\000\000\000\000\030\030\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0300\036\000\000\f\016\f\f\f\036\000\000\000\000\000\000\000\000\000\000\0363333\036\000?\000\000\000\000\000\000\000\000\000\000\000\000\0336ll6\033\000\000\000\000\000\000\020\034\030\030\030\000\177\000\030\034\032>\030\000\000\000\020\034\030\030\030\000\177\000\0346\030\f>\000\000\000\0346\0306\034\000\177\000\030\034\032>\030\000\000\000\000\000\000\f\f\000\f\f\006\006\003c>\000\000\f\030>ccc\177ccccc\000\000\000\000\030\f>ccc\177ccccc\000\000\000\000\b\024>ccc\177ccccc\000\000\000\000n;>ccc\177ccccc\000\000\000\0006\000>ccc\177ccccc\000\000\000\000\0346>ccc\177ccccc\000\000\000\000\000\000\376333\3773333\363\000\000\000\000\000\000<f\003\003\003\003\003\003f<\0300\036\000\f\030\177\003\003\003?\003\003\003\003\177\000\000\000\000\030\f\177\003\003\003?\003\003\003\003\177\000\000\000\000\b\024\177\003\003\003?\003\003\003\003\177\000\000\000\0006\000\177\003\003\003?\003\003\003\003\177\000\000\000\000\f\030<\030\030\030\030\030\030\030\030<\000\000\000\0000\030<\030\030\030\030\030\030\030\030<\000\000\000\000\030$<\030\030\030\030\030\030\030\030<\000\000\000\000f\000<\030\030\030\030\030\030\030\030<\000\000\000\000\000\000\0366ffofff6\036\000\000\000\000n;ccgoo{{scc\000\000\000\000\006\f>cccccccc>\000\000\000\0000\030>cccccccc>\000\000\000\000\b\024>cccccccc>\000\000\000\000n;>cccccccc>\000\000\000\0006\000>cccccccc>\000\000\000\000\000\000\000\000\000f<\030<f\000\000\000\000\000\000\000 >sskkkkgg>\002\000\000\000\f\030ccccccccc>\000\000\000\000\030\fccccccccc>\000\000\000\000\b\024ccccccccc>\000\000\000\0006\000ccccccccc>\000\000\000\0000\030\303\303ff<<\030\030\030\030\000\000\000\000\000\000\017\006>ffff>\006\017\000\000\000\000\000\000\03633\0333cccc;\000\000\000\000\000\f\0300\000>`~ccsn\000\000\000\000\0000\030\f\000>`~ccsn\000\000\000\000\000\b\0346\000>`~ccsn\000\000\000\000\000\000n;\000>`~ccsn\000\000\000\000\000\00066\000>`~ccsn\000\000\000\000\000\0346\034\000>`~ccsn\000\000\000\000\000\000\000\000\000n\333\330\376\033\333v\000\000\000\000\000\000\000\000\000>c\003\003\003c>\0300\036\000\000\f\0300\000>cc\177\003c>\000\000\000\000\0000\030\f\000>cc\177\003c>\000\000\000\000\000\b\0346\000>cc\177\003c>\000\000\000\000\000\00066\000>cc\177\003c>\000\000\000\000\000\006\f\030\000\f\f\f\f\f\f8\000\000\000\000\000\030\f\006\000\f\f\f\f\f\f8\000\000\000\000\000\b\0346\000\f\f\f\f\f\f8\000\000\000\000\000\00066\000\f\f\f\f\f\f8\000\000\000\000\000\000,\0304`|ffff<\000\000\000\000\000\000n;\000;gccccc\000\000\000\000\000\006\f\030\000>ccccc>\000\000\000\000\0000\030\f\000>ccccc>\000\000\000\000\000\b\0346\000>ccccc>\000\000\000\000\000\000n;\000>ccccc>\000\000\000\000\000\00066\000>ccccc>\000\000\000\000\000\000\000\000\030\030\000~\000\030\030\000\000\000\000\000\000\000\000\000 >skkkg>\002\000\000\000\000\006\f\030\000cccccsn\000\000\000\000\0000\030\f\000cccccsn\000\000\000\000\000\b\0346\000cccccsn\000\000\000\000\000\00066\000cccccsn\000\000\000\000\0000\030\f\000cc66\034\034\f\f\006\003\000\000\000\017\006\006>fffff>\006\006\017\000\000\00066\000cc66\034\034\f\f\006\003"
.subsections_via_symbols
|
the_stack_data/179826723.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 0x412e848000000000 ; double 1.0E+6
lCPI0_1:
.quad 0x4044000000000000 ; double 40
.section __TEXT,__text,regular,pure_instructions
.globl _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]
movi d0, #0000000000000000
stur d0, [x29, #-24]
stur wzr, [x29, #-28]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-28]
subs w8, w8, #40
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _clock
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
mov w9, #10000
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
bl _calcPifloat
stur d0, [x29, #-16]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
bl _clock
ldr x8, [sp, #24]
subs x8, x0, x8
ucvtf d0, x8
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d1, d0, d1
ldur d0, [x29, #-24]
fadd d0, d0, d1
stur d0, [x29, #-24]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_1
LBB0_8:
ldur d0, [x29, #-16]
adrp x8, _gd@GOTPAGE
ldr x8, [x8, _gd@GOTPAGEOFF]
str d0, [x8]
ldur d0, [x29, #-24]
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function calcPifloat
lCPI1_0:
.quad 0x4040000000000000 ; double 32
.section __TEXT,__text,regular,pure_instructions
.globl _calcPifloat
.p2align 2
_calcPifloat: ; @calcPifloat
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
movi d0, #0000000000000000
str d0, [sp, #56]
fmov d1, #3.00000000
str d1, [sp, #48]
str d1, [sp, #40]
fmov d1, #1.00000000
str d1, [sp, #32]
str d0, [sp, #24]
str d0, [sp, #16]
fmov d0, #24.00000000
str d0, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr d0, [sp, #40]
ldr d1, [sp, #56]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr d0, [sp, #40]
str d0, [sp, #56]
ldr d1, [sp, #24]
ldr d0, [sp, #32]
fadd d0, d0, d1
str d0, [sp, #32]
ldr d0, [sp, #24]
fmov d1, #8.00000000
fadd d0, d0, d1
str d0, [sp, #24]
ldr d1, [sp, #8]
ldr d0, [sp, #16]
fadd d0, d0, d1
str d0, [sp, #16]
ldr d0, [sp, #8]
adrp x8, lCPI1_0@PAGE
ldr d1, [x8, lCPI1_0@PAGEOFF]
fadd d0, d0, d1
str d0, [sp, #8]
ldr d0, [sp, #48]
ldr d1, [sp, #32]
fmul d0, d0, d1
ldr d1, [sp, #16]
fdiv d0, d0, d1
str d0, [sp, #48]
ldr d0, [sp, #48]
str d0, [sp, #40]
b LBB1_1
LBB1_3:
ldr d0, [sp, #40]
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _gd,8,3 ; @gd
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "average: %f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4044000000000000 ## double 40
LCPI0_1:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_2:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_3:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $40, -28(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _clock
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10000, -44(%rbp) ## imm = 0x2710
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
callq _calcPifloat
movsd %xmm0, -16(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
callq _clock
movq -40(%rbp), %rcx
subq %rcx, %rax
movq %rax, %xmm0
movaps LCPI0_2(%rip), %xmm1 ## xmm1 = [1127219200,1160773632,0,0]
punpckldq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd LCPI0_3(%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_1(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
addsd -24(%rbp), %xmm0
movsd %xmm0, -24(%rbp)
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_8:
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq _gd@GOTPCREL(%rip), %rax
movsd %xmm0, (%rax)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function calcPifloat
LCPI1_0:
.quad 0x4038000000000000 ## double 24
LCPI1_1:
.quad 0x3ff0000000000000 ## double 1
LCPI1_2:
.quad 0x4008000000000000 ## double 3
LCPI1_3:
.quad 0x4040000000000000 ## double 32
LCPI1_4:
.quad 0x4020000000000000 ## double 8
.section __TEXT,__text,regular,pure_instructions
.globl _calcPifloat
.p2align 4, 0x90
_calcPifloat: ## @calcPifloat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorps %xmm0, %xmm0
movsd %xmm0, -8(%rbp)
movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -16(%rbp)
movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -40(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -48(%rbp)
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -56(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -8(%rbp), %xmm0
jne LBB1_2
jp LBB1_2
jmp LBB1_3
LBB1_2: ## in Loop: Header=BB1_1 Depth=1
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -32(%rbp), %xmm0
movsd %xmm0, -32(%rbp)
movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -40(%rbp), %xmm0
movsd %xmm0, -40(%rbp)
movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -48(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -56(%rbp), %xmm0
movsd %xmm0, -56(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
mulsd -32(%rbp), %xmm0
divsd -48(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
jmp LBB1_1
LBB1_3:
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gd,8,3 ## @gd
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "average: %f\n"
.subsections_via_symbols
|
the_stack_data/175142977.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, #864
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str w0, [sp, #48]
str x1, [sp, #40]
str wzr, [sp, #32]
mov w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_9 Depth 2
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB0_15
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #32]
b LBB0_5
LBB0_5: ; 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, gt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=2
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
ldrsw x10, [sp, #32]
add x9, sp, #56
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
str w8, [sp, #32]
b LBB0_9
LBB0_9: ; 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, gt
tbnz w8, #0, LBB0_14
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #32]
ldrsw x10, [sp, #32]
add x9, sp, #56
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, x8
add w9, w9, #1
str w9, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldrsw x9, [sp, #32]
add x8, sp, #56
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_9 Depth=2
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_9
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_15:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
bl ___stack_chk_fail
LBB0_17:
mov w0, #0
add sp, sp, #864
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Teste %d\n"
l_.str.2: ; @.str.2
.asciz "%d\n"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $864, %rsp ## imm = 0x360
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -820(%rbp)
movl %edi, -824(%rbp)
movq %rsi, -832(%rbp)
movl $0, -840(%rbp)
movl $1, -848(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_9 Depth 2
leaq L_.str(%rip), %rdi
leaq -836(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -849(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -836(%rbp)
setne %al
movb %al, -849(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -849(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_15
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl $1, -840(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -840(%rbp), %eax
cmpl -836(%rbp), %eax
jg LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
leaq L_.str(%rip), %rdi
leaq -844(%rbp), %rsi
movb $0, %al
callq _scanf
movl -844(%rbp), %ecx
movslq -840(%rbp), %rax
movl %ecx, -816(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movl -840(%rbp), %eax
addl $1, %eax
movl %eax, -840(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl $1, -840(%rbp)
LBB0_9: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -840(%rbp), %eax
cmpl -836(%rbp), %eax
jg LBB0_14
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movl -840(%rbp), %eax
movslq -840(%rbp), %rcx
cmpl -816(%rbp,%rcx,4), %eax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
movl -848(%rbp), %esi
movl %esi, %eax
addl $1, %eax
movl %eax, -848(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movslq -840(%rbp), %rax
movl -816(%rbp,%rax,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_12: ## in Loop: Header=BB0_9 Depth=2
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_9 Depth=2
movl -840(%rbp), %eax
addl $1, %eax
movl %eax, -840(%rbp)
jmp LBB0_9
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_17
## %bb.16:
xorl %eax, %eax
addq $864, %rsp ## imm = 0x360
popq %rbp
retq
LBB0_17:
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 "Teste %d\n"
L_.str.2: ## @.str.2
.asciz "%d\n"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/154829453.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_line ; -- Begin function print_line
.p2align 2
_print_line: ; @print_line
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur s0, [x29, #-8]
stur s1, [x29, #-12]
stur s2, [x29, #-16]
stur s3, [x29, #-20]
ldur w8, [x29, #-4]
; implicit-def: $x9
mov x9, x8
ldur s0, [x29, #-8]
fcvt d3, s0
ldur s0, [x29, #-12]
fcvt d2, s0
ldur s0, [x29, #-16]
fcvt d1, s0
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str x9, [x8]
str d3, [x8, #8]
str d2, [x8, #16]
str d1, [x8, #24]
str d0, [x8, #32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-8]
stur w8, [x29, #-12]
stur w8, [x29, #-24]
stur wzr, [x29, #-28]
mov w9, #3
stur w9, [x29, #-32]
stur w8, [x29, #-36]
mov w8, #16384
movk w8, #17948, lsl #16
fmov s0, w8
stur s0, [x29, #-40]
movi d0, #0000000000000000
stur s0, [x29, #-44]
ldur s0, [x29, #-40]
str s0, [sp, #48]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur s0, [x29, #-16]
stur s0, [x29, #-20]
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [x9, #8]
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
str x8, [x9, #16]
adrp x8, l_.str.6@PAGE
add x8, x8, l_.str.6@PAGEOFF
str x8, [x9, #24]
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [x9, #32]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur w0, [x29, #-36]
ldur s0, [x29, #-16]
ldur s1, [x29, #-40]
ldur s2, [x29, #-44]
ldr s3, [sp, #48]
bl _print_line
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB1_2
LBB1_2:
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-20]
ldur s1, [x29, #-16]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB1_9
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-32]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-40]
ldur s1, [x29, #-16]
fdiv s0, s0, s1
stur s0, [x29, #-44]
movi d0, #0000000000000000
stur s0, [x29, #-40]
stur wzr, [x29, #-24]
mov w8, #1
stur w8, [x29, #-28]
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
mov w8, #1
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_16
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-16]
ldur s1, [x29, #-20]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB1_14
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-32]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_13
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-44]
ldur s1, [x29, #-16]
fmul s0, s0, s1
stur s0, [x29, #-40]
movi d0, #0000000000000000
stur s0, [x29, #-44]
mov w8, #1
stur w8, [x29, #-24]
stur wzr, [x29, #-28]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_3 Depth=1
mov w8, #1
stur w8, [x29, #-8]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_15
LBB1_14: ; in Loop: Header=BB1_3 Depth=1
mov w8, #1
stur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_3 Depth=1
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-44]
fcvt d0, s0
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-40]
str s0, [sp, #48]
b LBB1_19
LBB1_18: ; in Loop: Header=BB1_3 Depth=1
ldur s0, [x29, #-44]
ldur s1, [x29, #-16]
fmul s0, s0, s1
str s0, [sp, #48]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_3 Depth=1
ldur w0, [x29, #-36]
ldur s0, [x29, #-16]
ldur s1, [x29, #-40]
ldur s2, [x29, #-44]
ldr s3, [sp, #48]
bl _print_line
ldur s0, [x29, #-16]
stur s0, [x29, #-20]
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB1_3
LBB1_20:
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 "%4d %9.3f %10.2f %10.2f %10.2f\n"
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "%s %7s %8s %12s %8s\n"
l_.str.3: ; @.str.3
.asciz "period"
l_.str.4: ; @.str.4
.asciz "price"
l_.str.5: ; @.str.5
.asciz "cash"
l_.str.6: ; @.str.6
.asciz "shares"
l_.str.7: ; @.str.7
.asciz "value"
l_.str.8: ; @.str.8
.asciz "-----------------------------------------------\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_line ## -- Begin function print_line
.p2align 4, 0x90
_print_line: ## @print_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movss %xmm0, -8(%rbp)
movss %xmm1, -12(%rbp)
movss %xmm2, -16(%rbp)
movss %xmm3, -20(%rbp)
movl -4(%rbp), %esi
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -16(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
movss -20(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero
cvtss2sd %xmm3, %xmm3
leaq L_.str(%rip), %rdi
movb $4, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI1_0:
.long 0x461c4000 ## float 1.0E+4
.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 $1, -8(%rbp)
movl $1, -12(%rbp)
movl $1, -24(%rbp)
movl $0, -28(%rbp)
movl $3, -32(%rbp)
movl $1, -36(%rbp)
movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -40(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -44(%rbp)
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -48(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB1_2
## %bb.1:
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
leaq L_.str.4(%rip), %rdx
leaq L_.str.5(%rip), %rcx
leaq L_.str.6(%rip), %r8
leaq L_.str.7(%rip), %r9
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl -36(%rbp), %edi
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero
callq _print_line
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
LBB1_2:
jmp LBB1_3
LBB1_3: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB1_20
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB1_9
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -32(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB1_8
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
cmpl $0, -24(%rbp)
je LBB1_8
## %bb.7: ## in Loop: Header=BB1_3 Depth=1
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -16(%rbp), %xmm0
movss %xmm0, -44(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -40(%rbp)
movl $0, -24(%rbp)
movl $1, -28(%rbp)
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
movl $1, -12(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_16
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB1_14
## %bb.10: ## in Loop: Header=BB1_3 Depth=1
movl -32(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_13
## %bb.11: ## in Loop: Header=BB1_3 Depth=1
cmpl $0, -28(%rbp)
je LBB1_13
## %bb.12: ## in Loop: Header=BB1_3 Depth=1
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -16(%rbp), %xmm0
movss %xmm0, -40(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -44(%rbp)
movl $1, -24(%rbp)
movl $0, -28(%rbp)
LBB1_13: ## in Loop: Header=BB1_3 Depth=1
movl $1, -8(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_15
LBB1_14: ## in Loop: Header=BB1_3 Depth=1
movl $1, -8(%rbp)
movl $1, -12(%rbp)
LBB1_15: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_3 Depth=1
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB1_18
jp LBB1_18
## %bb.17: ## in Loop: Header=BB1_3 Depth=1
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -48(%rbp)
jmp LBB1_19
LBB1_18: ## in Loop: Header=BB1_3 Depth=1
movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -16(%rbp), %xmm0
movss %xmm0, -48(%rbp)
LBB1_19: ## in Loop: Header=BB1_3 Depth=1
movl -36(%rbp), %edi
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -44(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero
callq _print_line
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_3
LBB1_20:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%4d %9.3f %10.2f %10.2f %10.2f\n"
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "%s %7s %8s %12s %8s\n"
L_.str.3: ## @.str.3
.asciz "period"
L_.str.4: ## @.str.4
.asciz "price"
L_.str.5: ## @.str.5
.asciz "cash"
L_.str.6: ## @.str.6
.asciz "shares"
L_.str.7: ## @.str.7
.asciz "value"
L_.str.8: ## @.str.8
.asciz "-----------------------------------------------\n"
.subsections_via_symbols
|
the_stack_data/127579.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_int ; -- Begin function test_int
.p2align 2
_test_int: ; @test_int
.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
sub x11, x29, #4
mov w8, #37
stur w8, [x29, #-4]
stur w8, [x29, #-8]
mov w8, #5
stur w8, [x29, #-16]
ldur w9, [x29, #-8]
ldur w10, [x29, #-16]
mov x8, x9
cas w8, w10, [x11]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, w9
cset w8, eq
str w8, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12] ; 4-byte Folded Reload
stur w8, [x29, #-8]
b LBB0_2
LBB0_2:
ldr w8, [sp, #16] ; 4-byte Folded Reload
mov w9, #1
and w8, w8, w9
sturb w8, [x29, #-17]
ldurb w8, [x29, #-17]
and w8, w8, w9
sturb w8, [x29, #-9]
ldur w8, [x29, #-4]
subs w8, w8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l___func__.test_int@PAGE
add x0, x0, l___func__.test_int@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #9
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_4:
b LBB0_5
LBB0_5:
ldurb w8, [x29, #-9]
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x0, l___func__.test_int@PAGE
add x0, x0, l___func__.test_int@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #10
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_7:
b LBB0_8
LBB0_8:
mov w8, #32
stur w8, [x29, #-8]
mov w8, #1
str w8, [sp, #24]
ldur w9, [x29, #-8]
ldr w10, [sp, #24]
sub x11, x29, #4
mov x8, x9
cas w8, w10, [x11]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, w9
cset w8, eq
str w8, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldr w8, [sp, #4] ; 4-byte Folded Reload
stur w8, [x29, #-8]
b LBB0_10
LBB0_10:
ldr w8, [sp, #8] ; 4-byte Folded Reload
mov w9, #1
and w8, w8, w9
strb w8, [sp, #23]
ldrb w8, [sp, #23]
and w8, w8, w9
sturb w8, [x29, #-9]
ldur w8, [x29, #-4]
subs w8, w8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l___func__.test_int@PAGE
add x0, x0, l___func__.test_int@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #15
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_12:
b LBB0_13
LBB0_13:
ldurb w8, [x29, #-9]
mov w9, #1
eor w8, w8, #0x1
eor w9, w8, w9
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
adrp x0, l___func__.test_int@PAGE
add x0, x0, l___func__.test_int@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #16
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_15:
b LBB0_16
LBB0_16:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _test_long ; -- Begin function test_long
.p2align 2
_test_long: ; @test_long
.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
sub x11, x29, #8
mov x8, #37
stur x8, [x29, #-8]
stur x8, [x29, #-16]
mov x8, #5
stur x8, [x29, #-32]
ldur x9, [x29, #-16]
ldur x10, [x29, #-32]
mov x8, x9
cas x8, x10, [x11]
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, x9
cset w8, eq
str w8, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-16]
b LBB1_2
LBB1_2:
ldr w8, [sp, #24] ; 4-byte Folded Reload
mov w9, #1
and w8, w8, w9
sturb w8, [x29, #-33]
ldurb w8, [x29, #-33]
and w8, w8, w9
sturb w8, [x29, #-17]
ldur x8, [x29, #-8]
subs x8, x8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l___func__.test_long@PAGE
add x0, x0, l___func__.test_long@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #24
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_4:
b LBB1_5
LBB1_5:
ldurb w8, [x29, #-17]
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
adrp x0, l___func__.test_long@PAGE
add x0, x0, l___func__.test_long@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #25
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB1_7:
b LBB1_8
LBB1_8:
mov x8, #32
stur x8, [x29, #-16]
mov x8, #1
str x8, [sp, #32]
ldur x9, [x29, #-16]
ldr x10, [sp, #32]
sub x11, x29, #8
mov x8, x9
cas x8, x10, [x11]
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, x9
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldr x8, [sp] ; 8-byte Folded Reload
stur x8, [x29, #-16]
b LBB1_10
LBB1_10:
ldr w8, [sp, #12] ; 4-byte Folded Reload
mov w9, #1
and w8, w8, w9
strb w8, [sp, #31]
ldrb w8, [sp, #31]
and w8, w8, w9
sturb w8, [x29, #-17]
ldur x8, [x29, #-8]
subs x8, x8, #5
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__.test_long@PAGE
add x0, x0, l___func__.test_long@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #30
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_12:
b LBB1_13
LBB1_13:
ldurb w8, [x29, #-17]
mov w9, #1
eor w8, w8, #0x1
eor w9, w8, w9
; 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__.test_long@PAGE
add x0, x0, l___func__.test_long@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #31
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB1_15:
b LBB1_16
LBB1_16:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _test_longlong ; -- Begin function test_longlong
.p2align 2
_test_longlong: ; @test_longlong
.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
sub x11, x29, #8
mov x8, #37
stur x8, [x29, #-8]
stur x8, [x29, #-16]
mov x8, #5
stur x8, [x29, #-32]
ldur x9, [x29, #-16]
ldur x10, [x29, #-32]
mov x8, x9
cas x8, x10, [x11]
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, x9
cset w8, eq
str w8, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
stur x8, [x29, #-16]
b LBB2_2
LBB2_2:
ldr w8, [sp, #24] ; 4-byte Folded Reload
mov w9, #1
and w8, w8, w9
sturb w8, [x29, #-33]
ldurb w8, [x29, #-33]
and w8, w8, w9
sturb w8, [x29, #-17]
ldur x8, [x29, #-8]
subs x8, x8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l___func__.test_longlong@PAGE
add x0, x0, l___func__.test_longlong@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #39
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB2_4:
b LBB2_5
LBB2_5:
ldurb w8, [x29, #-17]
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
adrp x0, l___func__.test_longlong@PAGE
add x0, x0, l___func__.test_longlong@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #40
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB2_7:
b LBB2_8
LBB2_8:
mov x8, #32
stur x8, [x29, #-16]
mov x8, #1
str x8, [sp, #32]
ldur x9, [x29, #-16]
ldr x10, [sp, #32]
sub x11, x29, #8
mov x8, x9
cas x8, x10, [x11]
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, x9
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldr x8, [sp] ; 8-byte Folded Reload
stur x8, [x29, #-16]
b LBB2_10
LBB2_10:
ldr w8, [sp, #12] ; 4-byte Folded Reload
mov w9, #1
and w8, w8, w9
strb w8, [sp, #31]
ldrb w8, [sp, #31]
and w8, w8, w9
sturb w8, [x29, #-17]
ldur x8, [x29, #-8]
subs x8, x8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
adrp x0, l___func__.test_longlong@PAGE
add x0, x0, l___func__.test_longlong@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #45
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB2_12:
b LBB2_13
LBB2_13:
ldurb w8, [x29, #-17]
mov w9, #1
eor w8, w8, #0x1
eor w9, w8, w9
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
adrp x0, l___func__.test_longlong@PAGE
add x0, x0, l___func__.test_longlong@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #46
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB2_15:
b LBB2_16
LBB2_16:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 _test_int
bl _test_long
bl _test_longlong
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___func__.test_int: ; @__func__.test_int
.asciz "test_int"
l_.str: ; @.str
.asciz "176706435.c"
l_.str.1: ; @.str.1
.asciz "a == 5"
l_.str.2: ; @.str.2
.asciz "success"
l_.str.3: ; @.str.3
.asciz "!success"
l___func__.test_long: ; @__func__.test_long
.asciz "test_long"
l___func__.test_longlong: ; @__func__.test_longlong
.asciz "test_longlong"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_int ## -- Begin function test_int
.p2align 4, 0x90
_test_int: ## @test_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $37, -4(%rbp)
movl $37, -8(%rbp)
movl $5, -16(%rbp)
movl -8(%rbp), %eax
movl -16(%rbp), %ecx
lock cmpxchgl %ecx, -4(%rbp)
movl %eax, %ecx
sete %al
movb %al, -33(%rbp) ## 1-byte Spill
movl %ecx, -32(%rbp) ## 4-byte Spill
testb $1, %al
jne LBB0_2
## %bb.1:
movl -32(%rbp), %eax ## 4-byte Reload
movl %eax, -8(%rbp)
LBB0_2:
movb -33(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -17(%rbp)
movb -17(%rbp), %al
andb $1, %al
movb %al, -9(%rbp)
movl -4(%rbp), %eax
cmpl $5, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_4
## %bb.3:
leaq L___func__.test_int(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $9, %edx
callq ___assert_rtn
LBB0_4:
jmp LBB0_5
LBB0_5:
movb -9(%rbp), %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_7
## %bb.6:
leaq L___func__.test_int(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $10, %edx
callq ___assert_rtn
LBB0_7:
jmp LBB0_8
LBB0_8:
movl $32, -8(%rbp)
movl $1, -24(%rbp)
movl -8(%rbp), %eax
movl -24(%rbp), %ecx
lock cmpxchgl %ecx, -4(%rbp)
movl %eax, %ecx
sete %al
movb %al, -41(%rbp) ## 1-byte Spill
movl %ecx, -40(%rbp) ## 4-byte Spill
testb $1, %al
jne LBB0_10
## %bb.9:
movl -40(%rbp), %eax ## 4-byte Reload
movl %eax, -8(%rbp)
LBB0_10:
movb -41(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -25(%rbp)
movb -25(%rbp), %al
andb $1, %al
movb %al, -9(%rbp)
movl -4(%rbp), %eax
cmpl $5, %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_12
## %bb.11:
leaq L___func__.test_int(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB0_12:
jmp LBB0_13
LBB0_13:
movb -9(%rbp), %al
xorb $-1, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_15
## %bb.14:
leaq L___func__.test_int(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $16, %edx
callq ___assert_rtn
LBB0_15:
jmp LBB0_16
LBB0_16:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_long ## -- Begin function test_long
.p2align 4, 0x90
_test_long: ## @test_long
.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 $37, -8(%rbp)
movq $37, -16(%rbp)
movq $5, -32(%rbp)
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
lock cmpxchgq %rcx, -8(%rbp)
movq %rax, %rcx
sete %al
movb %al, -65(%rbp) ## 1-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
testb $1, %al
jne LBB1_2
## %bb.1:
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
LBB1_2:
movb -65(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -33(%rbp)
movb -33(%rbp), %al
andb $1, %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
cmpq $5, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_4
## %bb.3:
leaq L___func__.test_long(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $24, %edx
callq ___assert_rtn
LBB1_4:
jmp LBB1_5
LBB1_5:
movb -17(%rbp), %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_7
## %bb.6:
leaq L___func__.test_long(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $25, %edx
callq ___assert_rtn
LBB1_7:
jmp LBB1_8
LBB1_8:
movq $32, -16(%rbp)
movq $1, -48(%rbp)
movq -16(%rbp), %rax
movq -48(%rbp), %rcx
lock cmpxchgq %rcx, -8(%rbp)
movq %rax, %rcx
sete %al
movb %al, -81(%rbp) ## 1-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
testb $1, %al
jne LBB1_10
## %bb.9:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
LBB1_10:
movb -81(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -49(%rbp)
movb -49(%rbp), %al
andb $1, %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
cmpq $5, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_12
## %bb.11:
leaq L___func__.test_long(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $30, %edx
callq ___assert_rtn
LBB1_12:
jmp LBB1_13
LBB1_13:
movb -17(%rbp), %al
xorb $-1, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_15
## %bb.14:
leaq L___func__.test_long(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $31, %edx
callq ___assert_rtn
LBB1_15:
jmp LBB1_16
LBB1_16:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_longlong ## -- Begin function test_longlong
.p2align 4, 0x90
_test_longlong: ## @test_longlong
.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 $37, -8(%rbp)
movq $37, -16(%rbp)
movq $5, -32(%rbp)
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
lock cmpxchgq %rcx, -8(%rbp)
movq %rax, %rcx
sete %al
movb %al, -65(%rbp) ## 1-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
testb $1, %al
jne LBB2_2
## %bb.1:
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
LBB2_2:
movb -65(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -33(%rbp)
movb -33(%rbp), %al
andb $1, %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
cmpq $5, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_4
## %bb.3:
leaq L___func__.test_longlong(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $39, %edx
callq ___assert_rtn
LBB2_4:
jmp LBB2_5
LBB2_5:
movb -17(%rbp), %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_7
## %bb.6:
leaq L___func__.test_longlong(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $40, %edx
callq ___assert_rtn
LBB2_7:
jmp LBB2_8
LBB2_8:
movq $32, -16(%rbp)
movq $1, -48(%rbp)
movq -16(%rbp), %rax
movq -48(%rbp), %rcx
lock cmpxchgq %rcx, -8(%rbp)
movq %rax, %rcx
sete %al
movb %al, -81(%rbp) ## 1-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
testb $1, %al
jne LBB2_10
## %bb.9:
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -16(%rbp)
LBB2_10:
movb -81(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -49(%rbp)
movb -49(%rbp), %al
andb $1, %al
movb %al, -17(%rbp)
movq -8(%rbp), %rax
cmpq $5, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_12
## %bb.11:
leaq L___func__.test_longlong(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $45, %edx
callq ___assert_rtn
LBB2_12:
jmp LBB2_13
LBB2_13:
movb -17(%rbp), %al
xorb $-1, %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB2_15
## %bb.14:
leaq L___func__.test_longlong(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $46, %edx
callq ___assert_rtn
LBB2_15:
jmp LBB2_16
LBB2_16:
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _test_int
callq _test_long
callq _test_longlong
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.test_int: ## @__func__.test_int
.asciz "test_int"
L_.str: ## @.str
.asciz "176706435.c"
L_.str.1: ## @.str.1
.asciz "a == 5"
L_.str.2: ## @.str.2
.asciz "success"
L_.str.3: ## @.str.3
.asciz "!success"
L___func__.test_long: ## @__func__.test_long
.asciz "test_long"
L___func__.test_longlong: ## @__func__.test_longlong
.asciz "test_longlong"
.subsections_via_symbols
|
the_stack_data/176706435.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __func ; -- Begin function _func
.p2align 2
__func: ; @_func
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x10, [x29, #-8]
ldr x8, [sp, #16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
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, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, _fd@PAGE
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x8, [x8, _fd@PAGEOFF]
adrp x9, _a@PAGE
str x9, [sp, #24] ; 8-byte Folded Spill
ldr x9, [x9, _a@PAGEOFF]
udiv x8, x8, x9
str x8, [sp, #8] ; 8-byte Folded Spill
mov x0, #2
str x0, [sp, #40] ; 8-byte Folded Spill
mov x1, #51471
movk x1, #130, lsl #16
str x1, [sp, #32] ; 8-byte Folded Spill
bl __func
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl __func
adrp x8, _fs@PAGE
stur x8, [x29, #-24] ; 8-byte Folded Spill
str x0, [x8, _fs@PAGEOFF]
ldr x8, [x8, _fs@PAGEOFF]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
stur x0, [x29, #-16] ; 8-byte Folded Spill
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x1, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8, _fd@PAGEOFF]
ldr x9, [x9, _a@PAGEOFF]
udiv x8, x8, x9
stur x8, [x29, #-32] ; 8-byte Folded Spill
bl __func
mov x1, x0
ldur x0, [x29, #-32] ; 8-byte Folded Reload
bl __func
ldur x8, [x29, #-24] ; 8-byte Folded Reload
mov x9, x0
ldur x0, [x29, #-16] ; 8-byte Folded Reload
str x9, [x8, _fs@PAGEOFF]
ldr x8, [x8, _fs@PAGEOFF]
mov x9, sp
str x8, [x9]
bl _printf
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _fs ; @fs
.p2align 3
_fs:
.quad 7 ; 0x7
.globl _fd ; @fd
.p2align 3
_fd:
.quad 5 ; 0x5
.globl _a ; @a
.p2align 3
_a:
.quad 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "x:%ld y:%ld\n"
l_.str.1: ; @.str.1
.asciz "fs:%ld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __func ## -- Begin function _func
.p2align 4, 0x90
__func: ## @_func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
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)
movq _fd(%rip), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq _a(%rip)
movq %rax, -24(%rbp) ## 8-byte Spill
movl $2, %edi
movl $8571151, %esi ## imm = 0x82C90F
callq __func
movq -24(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq __func
movq %rax, _fs(%rip)
movq _fs(%rip), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq _fd(%rip), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq _a(%rip)
movq %rax, -16(%rbp) ## 8-byte Spill
movl $2, %edi
movl $8571151, %esi ## imm = 0x82C90F
callq __func
movq -16(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq __func
movq %rax, _fs(%rip)
movq _fs(%rip), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _fs ## @fs
.p2align 3
_fs:
.quad 7 ## 0x7
.globl _fd ## @fd
.p2align 3
_fd:
.quad 5 ## 0x5
.globl _a ## @a
.p2align 3
_a:
.quad 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "x:%ld y:%ld\n"
L_.str.1: ## @.str.1
.asciz "fs:%ld\n"
.subsections_via_symbols
|
the_stack_data/1044701.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lim_vet ; -- Begin function lim_vet
.p2align 2
_lim_vet: ; @lim_vet
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
mov w8, #0
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 _dados ; -- Begin function dados
.p2align 2
_dados: ; @dados
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _escrever ; -- Begin function escrever
.p2align 2
_escrever: ; @escrever
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-12]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ordenaVetor ; -- Begin function ordenaVetor
.p2align 2
_ordenaVetor: ; @ordenaVetor
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB3_10
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
str wzr, [sp, #12]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
subs w8, w8, #9
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #20]
ldr x8, [sp, #24]
ldr w9, [sp, #12]
add w9, w9, #1
ldr w8, [x8, w9, sxtw #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_3 Depth=2
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_3
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB3_1
LBB3_10:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _printaNaoRepetido ; -- Begin function printaNaoRepetido
.p2align 2
_printaNaoRepetido: ; @printaNaoRepetido
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
str wzr, [sp, #16]
mov w8, #1
str w8, [sp, #12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, gt
tbnz w8, #0, LBB4_9
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12]
stur w8, [x29, #-12]
str wzr, [sp, #16]
b LBB4_7
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_1
LBB4_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #12]
add x0, sp, #16
str x0, [sp] ; 8-byte Folded Spill
bl _lim_vet
ldr x0, [sp] ; 8-byte Folded Reload
bl _dados
ldr x0, [sp] ; 8-byte Folded Reload
bl _ordenaVetor
ldr x0, [sp] ; 8-byte Folded Reload
bl _escrever
ldr x0, [sp] ; 8-byte Folded Reload
bl _printaNaoRepetido
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
bl ___stack_chk_fail
LBB5_2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _TAM ; @TAM
.p2align 2
_TAM:
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Informe o valor do vetor [%d]:\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "vet[%d]=%d\n"
l_.str.3: ; @.str.3
.asciz "%d "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lim_vet ## -- Begin function lim_vet
.p2align 4, 0x90
_lim_vet: ## @lim_vet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -12(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl $0, (%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 _dados ## -- Begin function dados
.p2align 4, 0x90
_dados: ## @dados
.cfi_startproc
## %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)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -16(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
movslq -16(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _escrever ## -- Begin function escrever
.p2align 4, 0x90
_escrever: ## @escrever
.cfi_startproc
## %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)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -12(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %esi
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ordenaVetor ## -- Begin function ordenaVetor
.p2align 4, 0x90
_ordenaVetor: ## @ordenaVetor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
cmpl $10, -16(%rbp)
jge LBB3_10
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl $0, -20(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $9, -20(%rbp)
jge LBB3_8
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movl -20(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB3_6
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -12(%rbp)
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
LBB3_6: ## in Loop: Header=BB3_3 Depth=2
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_3
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_9
LBB3_9: ## in Loop: Header=BB3_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB3_1
LBB3_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printaNaoRepetido ## -- Begin function printaNaoRepetido
.p2align 4, 0x90
_printaNaoRepetido: ## @printaNaoRepetido
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
movl $1, -20(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -20(%rbp)
jg LBB4_9
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -20(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
je LBB4_6
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
cmpl $0, -16(%rbp)
jne LBB4_5
## %bb.4: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
jmp LBB4_7
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_8
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB4_1
LBB4_9:
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 $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
callq _lim_vet
leaq -48(%rbp), %rdi
callq _dados
leaq -48(%rbp), %rdi
callq _ordenaVetor
leaq -48(%rbp), %rdi
callq _escrever
leaq -48(%rbp), %rdi
callq _printaNaoRepetido
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_2
## %bb.1:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB5_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _TAM ## @TAM
.p2align 2
_TAM:
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Informe o valor do vetor [%d]:\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "vet[%d]=%d\n"
L_.str.3: ## @.str.3
.asciz "%d "
.subsections_via_symbols
|
the_stack_data/90763164.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _merge ; -- Begin function merge
.p2align 2
_merge: ; @merge
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB0_7
LBB0_2:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_7
LBB0_4:
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
ldr x1, [sp, #8]
bl _merge
ldr x8, [sp, #16]
str x0, [x8, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
str x8, [x9, #16]
ldr x8, [sp, #16]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB0_7
LBB0_6:
ldr x0, [sp, #16]
ldr x8, [sp, #8]
ldr x1, [x8, #8]
bl _merge
ldr x8, [sp, #8]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
str x8, [x9, #16]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB0_7
LBB0_7:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _mergeSort ; -- Begin function mergeSort
.p2align 2
_mergeSort: ; @mergeSort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB1_4
LBB1_3:
ldr x0, [sp, #16]
bl _split
str x0, [sp, #8]
ldr x0, [sp, #16]
bl _mergeSort
str x0, [sp, #16]
ldr x0, [sp, #8]
bl _mergeSort
str x0, [sp, #8]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _merge
stur x0, [x29, #-8]
b LBB1_4
LBB1_4:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _split ; -- Begin function split
.p2align 2
_split: ; @split
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
ldr x8, [sp, #40]
str x8, [sp, #32]
ldr x8, [sp, #40]
str x8, [sp, #24]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB2_5
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
str x8, [sp, #32]
ldr x8, [sp, #24]
ldr x8, [x8, #8]
str x8, [sp, #24]
b LBB2_1
LBB2_5:
ldr x8, [sp, #24]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x0, [sp, #16]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insert ; -- Begin function insert
.p2align 2
_insert: ; @insert
.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, #24
bl _malloc
str x0, [sp, #8]
ldur w8, [x29, #-12]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB3_3
LBB3_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
ldr x9, [x9]
str x8, [x9, #16]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9]
b LBB3_3
LBB3_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
str x8, [sp, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur x8, [x29, #-8]
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
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
stur x8, [x29, #-8]
b LBB4_1
LBB4_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB4_4
LBB4_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_4 Depth=1
ldr x8, [sp, #16]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #16]
b LBB4_4
LBB4_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr w8, [x8]
str w8, [sp, #12]
ldr x8, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
str w8, [x9]
ldr w8, [sp, #12]
ldr x9, [sp, #16]
str w8, [x9]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
add x0, sp, #16
str x0, [sp] ; 8-byte Folded Spill
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
mov w1, #5
bl _insert
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #20
bl _insert
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #4
bl _insert
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #3
bl _insert
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #30
bl _insert
ldr x0, [sp] ; 8-byte Folded Reload
mov w1, #10
bl _insert
ldr x0, [sp, #16]
bl _mergeSort
str x0, [sp, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #16]
bl _print
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Forward Traversal using next poitner\n"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\nBackward Traversal using prev pointer\n"
l_.str.3: ; @.str.3
.asciz "\n\nLinked List after sorting\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _merge ## -- Begin function merge
.p2align 4, 0x90
_merge: ## @merge
.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 $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_7
LBB0_2:
cmpq $0, -24(%rbp)
jne LBB0_4
## %bb.3:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_7
LBB0_4:
movq -16(%rbp), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_6
## %bb.5:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movq -24(%rbp), %rsi
callq _merge
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rcx
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_7
LBB0_6:
movq -16(%rbp), %rdi
movq -24(%rbp), %rax
movq 8(%rax), %rsi
callq _merge
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 16(%rax)
movq -24(%rbp), %rax
movq $0, 16(%rax)
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB0_7:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mergeSort ## -- Begin function mergeSort
.p2align 4, 0x90
_mergeSort: ## @mergeSort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB1_2
## %bb.1:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB1_3
LBB1_2:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB1_4
LBB1_3:
movq -16(%rbp), %rdi
callq _split
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
callq _mergeSort
movq %rax, -16(%rbp)
movq -24(%rbp), %rdi
callq _mergeSort
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
callq _merge
movq %rax, -8(%rbp)
LBB1_4:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _split ## -- Begin function split
.p2align 4, 0x90
_split: ## @split
.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, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, 8(%rcx)
movb %al, -33(%rbp) ## 1-byte Spill
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
cmpq $0, 8(%rax)
setne %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_4
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB2_1
LBB2_5:
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -32(%rbp), %rax
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 $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -24(%rbp)
movl -12(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movq $0, 16(%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB3_2
## %bb.1:
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB3_3
LBB3_2:
movq -8(%rbp), %rax
movq (%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rcx, 16(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
LBB3_3:
addq $32, %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)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB4_1
LBB4_3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB4_4: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB4_6
## %bb.5: ## in Loop: Header=BB4_4 Depth=1
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB4_4
LBB4_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movl (%rax), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movl -20(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movq $0, -16(%rbp)
leaq -16(%rbp), %rdi
movl $5, %esi
callq _insert
leaq -16(%rbp), %rdi
movl $20, %esi
callq _insert
leaq -16(%rbp), %rdi
movl $4, %esi
callq _insert
leaq -16(%rbp), %rdi
movl $3, %esi
callq _insert
leaq -16(%rbp), %rdi
movl $30, %esi
callq _insert
leaq -16(%rbp), %rdi
movl $10, %esi
callq _insert
movq -16(%rbp), %rdi
callq _mergeSort
movq %rax, -16(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
callq _print
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Forward Traversal using next poitner\n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\nBackward Traversal using prev pointer\n"
L_.str.3: ## @.str.3
.asciz "\n\nLinked List after sorting\n"
.subsections_via_symbols
|
the_stack_data/13574.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
bl _sched_yield
mov w0, #1
bl _sleep
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
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _sched_yield
movl $1, %edi
callq _sleep
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/924229.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _jrand48 ; -- Begin function jrand48
.p2align 2
_jrand48: ; @jrand48
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldrh w8, [x8]
; kill: def $x8 killed $w8
ldr x9, [sp, #8]
ldrh w9, [x9, #2]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #16
ldr x9, [sp, #8]
ldrh w9, [x9, #4]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #32
str x8, [sp]
ldr x9, [sp]
mov x8, #58989
movk x8, #57068, lsl #16
movk x8, #5, lsl #32
mul x8, x8, x9
add x8, x8, #11
str x8, [sp]
ldr x8, [sp]
ldr x9, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x9]
ldr x8, [sp]
lsr x8, x8, #16
ldr x9, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x9, #2]
ldr x8, [sp]
lsr x8, x8, #32
ldr x9, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x9, #4]
ldr x8, [sp]
lsr x8, x8, #16
sxtw x0, w8
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _jrand48 ## -- Begin function jrand48
.p2align 4, 0x90
_jrand48: ## @jrand48
.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
movzwl (%rax), %eax
## kill: def $rax killed $eax
movq -8(%rbp), %rcx
movzwl 2(%rcx), %ecx
## kill: def $rcx killed $ecx
shlq $16, %rcx
addq %rcx, %rax
movq -8(%rbp), %rcx
movzwl 4(%rcx), %ecx
## kill: def $rcx killed $ecx
shlq $32, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movabsq $25214903917, %rax ## imm = 0x5DEECE66D
imulq -16(%rbp), %rax
addq $11, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movw %ax, %cx
movq -8(%rbp), %rax
movw %cx, (%rax)
movq -16(%rbp), %rax
shrq $16, %rax
movw %ax, %cx
movq -8(%rbp), %rax
movw %cx, 2(%rax)
movq -16(%rbp), %rax
shrq $32, %rax
movw %ax, %cx
movq -8(%rbp), %rax
movw %cx, 4(%rax)
movq -16(%rbp), %rax
shrq $16, %rax
## kill: def $eax killed $eax killed $rax
cltq
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/30326.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strncpy ; -- Begin function ft_strncpy
.p2align 2
_ft_strncpy: ; @ft_strncpy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, lo
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldr w10, [sp, #8]
; kill: def $x10 killed $w10
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_5:
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
add x8, x8, x9
strb wzr, [x8]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_6
LBB0_8:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strncpy ## -- Begin function ft_strncpy
.p2align 4, 0x90
_ft_strncpy: ## @ft_strncpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -25(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
setb %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_5:
jmp LBB0_6
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
movb $0, (%rax,%rcx)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_6
LBB0_8:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/459172.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stringOrder ; -- Begin function stringOrder
.p2align 2
_stringOrder: ; @stringOrder
.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]
str x8, [sp, #8]
ldr x8, [sp, #16]
str x8, [sp]
ldr x8, [sp, #8]
ldr x0, [x8]
ldr x8, [sp]
ldr x1, [x8]
bl _strcmp
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sortData ; -- Begin function sortData
.p2align 2
_sortData: ; @sortData
.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]
mov x2, #8
adrp x3, _stringOrder@PAGE
add x3, x3, _stringOrder@PAGEOFF
bl _qsort
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, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB2_28
LBB2_2:
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_11
b LBB2_3
LBB2_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
stur xzr, [x29, #-32]
stur xzr, [x29, #-40]
stur wzr, [x29, #-44]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
sub x0, x29, #32
sub x1, x29, #40
bl _getline
subs x8, x0, #0
cset w8, lt
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldur x0, [x29, #-24]
ldur w8, [x29, #-44]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x1, x8, #3
bl _realloc
stur x0, [x29, #-24]
ldur x8, [x29, #-32]
ldur x9, [x29, #-24]
ldursw x10, [x29, #-44]
str x8, [x9, x10, lsl #3]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-32]
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB2_4
LBB2_6:
ldur x0, [x29, #-32]
bl _free
ldur x0, [x29, #-24]
ldursw x1, [x29, #-44]
bl _sortData
stur wzr, [x29, #-48]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-48]
ldur w9, [x29, #-44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-48]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-24]
ldursw x9, [x29, #-48]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB2_7
LBB2_10:
ldur x0, [x29, #-24]
bl _free
b LBB2_27
LBB2_11:
mov w8, #1
stur w8, [x29, #-52]
b LBB2_12
LBB2_12: ; =>This Loop Header: Depth=1
; Child Loop BB2_16 Depth 2
; Child Loop BB2_19 Depth 2
ldur w8, [x29, #-52]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_26
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_12 Depth=1
; kill: def $x8 killed $xzr
str xzr, [sp, #48]
str xzr, [sp, #40]
str xzr, [sp, #32]
str wzr, [sp, #28]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-52]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w8, #1
stur w8, [x29, #-4]
b LBB2_28
LBB2_15: ; in Loop: Header=BB2_12 Depth=1
b LBB2_16
LBB2_16: ; Parent Loop BB2_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr x2, [sp, #16]
add x0, sp, #40
add x1, sp, #32
bl _getline
subs x8, x0, #0
cset w8, lt
tbnz w8, #0, LBB2_18
b LBB2_17
LBB2_17: ; in Loop: Header=BB2_16 Depth=2
ldr x0, [sp, #48]
ldr w8, [sp, #28]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x1, x8, #3
bl _realloc
str x0, [sp, #48]
ldr x8, [sp, #40]
ldr x9, [sp, #48]
ldrsw x10, [sp, #28]
str x8, [x9, x10, lsl #3]
; kill: def $x8 killed $xzr
str xzr, [sp, #40]
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB2_16
LBB2_18: ; in Loop: Header=BB2_12 Depth=1
ldr x0, [sp, #40]
bl _free
ldr x0, [sp, #48]
ldrsw x1, [sp, #28]
bl _sortData
str wzr, [sp, #12]
b LBB2_19
LBB2_19: ; Parent Loop BB2_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #12]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_22
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_19 Depth=2
ldr x8, [sp, #48]
ldrsw x9, [sp, #12]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #48]
ldrsw x9, [sp, #12]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_19 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_19
LBB2_22: ; in Loop: Header=BB2_12 Depth=1
ldr x0, [sp, #48]
bl _free
ldr x0, [sp, #16]
bl _fclose
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_24
b LBB2_23
LBB2_23:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _perror
mov w8, #1
stur w8, [x29, #-4]
b LBB2_28
LBB2_24: ; in Loop: Header=BB2_12 Depth=1
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_12 Depth=1
ldur w8, [x29, #-52]
add w8, w8, #1
stur w8, [x29, #-52]
b LBB2_12
LBB2_26:
stur wzr, [x29, #-4]
b LBB2_28
LBB2_27:
b LBB2_28
LBB2_28:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "few arguments \n"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "Could not open file"
l_.str.4: ; @.str.4
.asciz "Failed to close the input file!"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stringOrder ## -- Begin function stringOrder
.p2align 4, 0x90
_stringOrder: ## @stringOrder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rdi
movq -32(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sortData ## -- Begin function sortData
.p2align 4, 0x90
_sortData: ## @sortData
.cfi_startproc
## %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
movl $8, %edx
leaq _stringOrder(%rip), %rcx
callq _qsort
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 $112, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $0, -8(%rbp)
jne LBB2_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB2_28
LBB2_2:
cmpl $1, -8(%rbp)
jne LBB2_11
## %bb.3:
movq $0, -24(%rbp)
movq $0, -32(%rbp)
movq $0, -40(%rbp)
movl $0, -44(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq -32(%rbp), %rdi
leaq -40(%rbp), %rsi
callq _getline
cmpq $0, %rax
jl LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -24(%rbp), %rdi
movl -44(%rbp), %eax
addl $1, %eax
movslq %eax, %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -24(%rbp)
movq -32(%rbp), %rdx
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq $0, -32(%rbp)
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB2_4
LBB2_6:
movq -32(%rbp), %rdi
callq _free
movq -24(%rbp), %rdi
movslq -44(%rbp), %rsi
callq _sortData
movl $0, -48(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -44(%rbp), %eax
jge LBB2_10
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movq -24(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rax
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _free
## %bb.9: ## in Loop: Header=BB2_7 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB2_7
LBB2_10:
movq -24(%rbp), %rdi
callq _free
jmp LBB2_27
LBB2_11:
movl $1, -52(%rbp)
LBB2_12: ## =>This Loop Header: Depth=1
## Child Loop BB2_16 Depth 2
## Child Loop BB2_19 Depth 2
movl -52(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB2_26
## %bb.13: ## in Loop: Header=BB2_12 Depth=1
movq $0, -64(%rbp)
movq $0, -72(%rbp)
movq $0, -80(%rbp)
movl $0, -84(%rbp)
movq -16(%rbp), %rax
movslq -52(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, -96(%rbp)
cmpq $0, -96(%rbp)
jne LBB2_15
## %bb.14:
leaq L_.str.3(%rip), %rdi
callq _perror
movl $1, -4(%rbp)
jmp LBB2_28
LBB2_15: ## in Loop: Header=BB2_12 Depth=1
jmp LBB2_16
LBB2_16: ## Parent Loop BB2_12 Depth=1
## => This Inner Loop Header: Depth=2
movq -96(%rbp), %rdx
leaq -72(%rbp), %rdi
leaq -80(%rbp), %rsi
callq _getline
cmpq $0, %rax
jl LBB2_18
## %bb.17: ## in Loop: Header=BB2_16 Depth=2
movq -64(%rbp), %rdi
movl -84(%rbp), %eax
addl $1, %eax
movslq %eax, %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -64(%rbp)
movq -72(%rbp), %rdx
movq -64(%rbp), %rax
movslq -84(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq $0, -72(%rbp)
movl -84(%rbp), %eax
addl $1, %eax
movl %eax, -84(%rbp)
jmp LBB2_16
LBB2_18: ## in Loop: Header=BB2_12 Depth=1
movq -72(%rbp), %rdi
callq _free
movq -64(%rbp), %rdi
movslq -84(%rbp), %rsi
callq _sortData
movl $0, -100(%rbp)
LBB2_19: ## Parent Loop BB2_12 Depth=1
## => This Inner Loop Header: Depth=2
movl -100(%rbp), %eax
cmpl -84(%rbp), %eax
jge LBB2_22
## %bb.20: ## in Loop: Header=BB2_19 Depth=2
movq -64(%rbp), %rax
movslq -100(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rax
movslq -100(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _free
## %bb.21: ## in Loop: Header=BB2_19 Depth=2
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB2_19
LBB2_22: ## in Loop: Header=BB2_12 Depth=1
movq -64(%rbp), %rdi
callq _free
movq -96(%rbp), %rdi
callq _fclose
cmpl $0, %eax
je LBB2_24
## %bb.23:
leaq L_.str.4(%rip), %rdi
callq _perror
movl $1, -4(%rbp)
jmp LBB2_28
LBB2_24: ## in Loop: Header=BB2_12 Depth=1
jmp LBB2_25
LBB2_25: ## in Loop: Header=BB2_12 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB2_12
LBB2_26:
movl $0, -4(%rbp)
jmp LBB2_28
LBB2_27:
jmp LBB2_28
LBB2_28:
movl -4(%rbp), %eax
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "few arguments \n"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "Could not open file"
L_.str.4: ## @.str.4
.asciz "Failed to close the input file!"
.subsections_via_symbols
|
the_stack_data/833680.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input an ASCII code value:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.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 $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Input an ASCII code value:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%c"
.subsections_via_symbols
|
the_stack_data/54826143.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
str w8, [sp, #8]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
subs w9, w8, #1
stur w9, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
str w8, [sp, #8]
mov w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-12]
ldr w10, [sp, #16]
subs w9, w9, w10
and w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $1, -24(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -8(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -8(%rbp)
cmpl $0, %eax
je LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl $1, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
movl -12(%rbp), %ecx
subl -16(%rbp), %ecx
andl %ecx, %eax
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_9:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
|
the_stack_data/1016758.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _phy_SetFwCmdIOCallback ; -- Begin function phy_SetFwCmdIOCallback
.p2align 2
_phy_SetFwCmdIOCallback: ; @phy_SetFwCmdIOCallback
.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, _COMP_CMD@GOTPAGE
ldr x8, [x8, _COMP_CMD@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _WFM5@GOTPAGE
ldr x8, [x8, _WFM5@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _FW_RA_REFRESH@GOTPAGE
ldr x8, [x8, _FW_RA_REFRESH@GOTPAGEOFF]
str x8, [sp, #64] ; 8-byte Folded Spill
adrp x8, _bMaskByte0@GOTPAGE
ldr x8, [x8, _bMaskByte0@GOTPAGEOFF]
stur x8, [x29, #-56] ; 8-byte Folded Spill
adrp x8, _bMaskByte2@GOTPAGE
ldr x8, [x8, _bMaskByte2@GOTPAGEOFF]
stur x8, [x29, #-48] ; 8-byte Folded Spill
adrp x8, _rOFDM0_RxDetector1@GOTPAGE
ldr x8, [x8, _rOFDM0_RxDetector1@GOTPAGEOFF]
stur x8, [x29, #-40] ; 8-byte Folded Spill
adrp x8, _rOFDM1_TRxPathEnable@GOTPAGE
ldr x8, [x8, _rOFDM1_TRxPathEnable@GOTPAGEOFF]
stur x8, [x29, #-32] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _ieee80211_priv
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
ldr w8, [x8, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _RT_TRACE
b LBB0_38
LBB0_2:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
ldur x8, [x29, #-24]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-24]
ldr w9, [x8, #4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _RT_TRACE
ldur x8, [x29, #-24]
ldr w8, [x8]
subs w8, w8, #128
; kill: def $x8 killed $w8
str x8, [sp, #40] ; 8-byte Folded Spill
subs x8, x8, #14
cset w8, hi
tbnz w8, #0, LBB0_26
; %bb.3:
ldr x11, [sp, #40] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_4:
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
ldr x8, [x8]
ldr w8, [x8]
adrp x9, _HT_IOT_ACT_DISABLE_HIGH_POWER@GOTPAGE
ldr x9, [x9, _HT_IOT_ACT_DISABLE_HIGH_POWER@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_HIGH_PWR_ENABLE@GOTPAGE
ldr x8, [x8, _FW_HIGH_PWR_ENABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_6
LBB0_6:
b LBB0_27
LBB0_7:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_HIGH_PWR_DISABLE@GOTPAGE
ldr x8, [x8, _FW_HIGH_PWR_DISABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_8:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_DIG_RESUME@GOTPAGE
ldr x8, [x8, _FW_DIG_RESUME@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_9:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_DIG_HALT@GOTPAGE
ldr x8, [x8, _FW_DIG_HALT@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_10:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _RT_TRACE
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
ldr x8, [x8]
ldr w8, [x8]
adrp x9, _HT_IOT_ACT_DISABLE_HIGH_POWER@GOTPAGE
ldr x9, [x9, _HT_IOT_ACT_DISABLE_HIGH_POWER@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_HIGH_PWR_ENABLE@GOTPAGE
ldr x8, [x8, _FW_HIGH_PWR_ENABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
ldur x0, [x29, #-8]
bl _ChkFwCmdIoDone
b LBB0_12
LBB0_12:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_DIG_RESUME@GOTPAGE
ldr x8, [x8, _FW_DIG_RESUME@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_13:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _RT_TRACE
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_HIGH_PWR_DISABLE@GOTPAGE
ldr x8, [x8, _FW_HIGH_PWR_DISABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
ldur x0, [x29, #-8]
bl _ChkFwCmdIoDone
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_DIG_HALT@GOTPAGE
ldr x8, [x8, _FW_DIG_HALT@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_14:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _RT_TRACE
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_DIG_DISABLE@GOTPAGE
ldr x8, [x8, _FW_DIG_DISABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_15:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _RT_TRACE
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_DIG_ENABLE@GOTPAGE
ldr x8, [x8, _FW_DIG_ENABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_16:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_RA_RESET@GOTPAGE
ldr x8, [x8, _FW_RA_RESET@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_17:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_RA_ACTIVE@GOTPAGE
ldr x8, [x8, _FW_RA_ACTIVE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_18:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _RT_TRACE
ldur x8, [x29, #-24]
ldr x8, [x8, #16]
ldr x8, [x8]
ldr w8, [x8, #4]
adrp x9, _HT_IOT_RAFUNC_DISABLE_ALL@GOTPAGE
ldr x9, [x9, _HT_IOT_RAFUNC_DISABLE_ALL@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr w8, [x8]
stur w8, [x29, #-12]
b LBB0_21
LBB0_20:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr w8, [x8]
ldur x9, [x29, #-24]
ldr x9, [x9, #16]
ldr x9, [x9]
ldr w9, [x9, #4]
orr w8, w8, w9, lsl #8
stur w8, [x29, #-12]
b LBB0_21
LBB0_21:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
ldur w2, [x29, #-12]
bl _write_nic_dword
b LBB0_27
LBB0_22:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _RT_TRACE
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x9]
ldr w2, [x8]
bl _write_nic_dword
ldur x0, [x29, #-8]
bl _ChkFwCmdIoDone
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_RA_ENABLE_BG@GOTPAGE
ldr x8, [x8, _FW_RA_ENABLE_BG@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_23:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_IQK_ENABLE@GOTPAGE
ldr x8, [x8, _FW_IQK_ENABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_24:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_TXPWR_TRACK_ENABLE@GOTPAGE
ldr x8, [x8, _FW_TXPWR_TRACK_ENABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_25:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _FW_TXPWR_TRACK_DISABLE@GOTPAGE
ldr x8, [x8, _FW_TXPWR_TRACK_DISABLE@GOTPAGEOFF]
ldr w2, [x8]
bl _write_nic_dword
b LBB0_27
LBB0_26:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr w0, [x8]
ldur x8, [x29, #-24]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _RT_TRACE
b LBB0_27
LBB0_27:
ldur x0, [x29, #-8]
bl _ChkFwCmdIoDone
ldur x8, [x29, #-24]
ldr w8, [x8]
str w8, [sp, #36] ; 4-byte Folded Spill
subs w8, w8, #137
cset w8, eq
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28:
ldr w8, [sp, #36] ; 4-byte Folded Reload
subs w8, w8, #138
cset w8, ne
tbnz w8, #0, LBB0_37
b LBB0_29
LBB0_29:
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rOFDM0_XAAGCCore1@GOTPAGE
ldr x9, [x9, _rOFDM0_XAAGCCore1@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
mov w3, #23
str w3, [sp, #28] ; 4-byte Folded Spill
bl _rtl8192_setBBreg
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldr w3, [sp, #28] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rOFDM0_XBAGCCore1@GOTPAGE
ldr x9, [x9, _rOFDM0_XBAGCCore1@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
bl _rtl8192_setBBreg
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rCCK0_CCA@GOTPAGE
ldr x9, [x9, _rCCK0_CCA@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
mov w3, #64
bl _rtl8192_setBBreg
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rOFDM0_TRMuxPar@GOTPAGE
ldr x9, [x9, _rOFDM0_TRMuxPar@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
mov w3, #1
bl _rtl8192_setBBreg
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _bMaskDWord@GOTPAGE
ldr x8, [x8, _bMaskDWord@GOTPAGEOFF]
ldr w2, [x8]
bl _rtl8192_QueryBBReg
ldur x8, [x29, #-40] ; 8-byte Folded Reload
adrp x9, _phy_SetFwCmdIOCallback.ScanRegister@PAGE
str w0, [x9, _phy_SetFwCmdIOCallback.ScanRegister@PAGEOFF]
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w3, #15
str w3, [sp, #32] ; 4-byte Folded Spill
mov x2, x3
bl _rtl8192_setBBreg
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr w2, [sp, #32] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w3, #0
bl _rtl8192_setBBreg
b LBB0_37
LBB0_30:
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rOFDM0_XAAGCCore1@GOTPAGE
ldr x9, [x9, _rOFDM0_XAAGCCore1@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
mov w3, #54
str w3, [sp, #24] ; 4-byte Folded Spill
bl _rtl8192_setBBreg
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldr w3, [sp, #24] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rOFDM0_XBAGCCore1@GOTPAGE
ldr x9, [x9, _rOFDM0_XBAGCCore1@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
bl _rtl8192_setBBreg
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rCCK0_CCA@GOTPAGE
ldr x9, [x9, _rCCK0_CCA@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
mov w3, #131
bl _rtl8192_setBBreg
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
adrp x9, _rOFDM0_TRMuxPar@GOTPAGE
ldr x9, [x9, _rOFDM0_TRMuxPar@GOTPAGEOFF]
ldr w1, [x9]
ldr w2, [x8]
mov w3, #0
bl _rtl8192_setBBreg
adrp x8, _phy_SetFwCmdIOCallback.ScanRegister@PAGE
ldr w8, [x8, _phy_SetFwCmdIOCallback.ScanRegister@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
adrp x8, _bMaskDWord@GOTPAGE
ldr x8, [x8, _bMaskDWord@GOTPAGEOFF]
ldr w2, [x8]
adrp x8, _phy_SetFwCmdIOCallback.ScanRegister@PAGE
ldr w3, [x8, _phy_SetFwCmdIOCallback.ScanRegister@PAGEOFF]
bl _rtl8192_setBBreg
b LBB0_32
LBB0_32:
ldur x8, [x29, #-24]
ldr w8, [x8, #8]
adrp x9, _RF_1T2R@GOTPAGE
ldr x9, [x9, _RF_1T2R@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldur x8, [x29, #-24]
ldr w8, [x8, #8]
adrp x9, _RF_2T2R@GOTPAGE
ldr x9, [x9, _RF_2T2R@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #15
mov w3, #3
bl _rtl8192_setBBreg
b LBB0_36
LBB0_35:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x0, [x29, #-8]
ldr w1, [x8]
mov w2, #15
mov w3, #1
bl _rtl8192_setBBreg
b LBB0_36
LBB0_36:
b LBB0_37
LBB0_37:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur x9, [x29, #-24]
str wzr, [x9, #4]
ldr w0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _RT_TRACE
b LBB0_38
LBB0_38:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_24-Ltmp0
.long LBB0_25-Ltmp0
.long LBB0_10-Ltmp0
.long LBB0_16-Ltmp0
.long LBB0_18-Ltmp0
.long LBB0_22-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_13-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_7-Ltmp0
.long LBB0_8-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_14-Ltmp0
; -- End function
.zerofill __DATA,__bss,_phy_SetFwCmdIOCallback.ScanRegister,4,2 ; @phy_SetFwCmdIOCallback.ScanRegister
.comm _COMP_CMD,4,2 ; @COMP_CMD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SetFwCmdIOTimerCallback(): driver is going to unload\n"
l_.str.1: ; @.str.1
.asciz "--->SetFwCmdIOTimerCallback(): Cmd(%#x), SetFwCmdInProgress(%d)\n"
.comm _HT_IOT_ACT_DISABLE_HIGH_POWER,4,2 ; @HT_IOT_ACT_DISABLE_HIGH_POWER
.comm _WFM5,4,2 ; @WFM5
.comm _FW_HIGH_PWR_ENABLE,4,2 ; @FW_HIGH_PWR_ENABLE
.comm _FW_HIGH_PWR_DISABLE,4,2 ; @FW_HIGH_PWR_DISABLE
.comm _FW_DIG_RESUME,4,2 ; @FW_DIG_RESUME
.comm _FW_DIG_HALT,4,2 ; @FW_DIG_HALT
l_.str.2: ; @.str.2
.asciz "[FW CMD] Set HIGHPWR enable and DIG resume!!\n"
l_.str.3: ; @.str.3
.asciz "[FW CMD] Set HIGHPWR disable and DIG halt!!\n"
l_.str.4: ; @.str.4
.asciz "[FW CMD] Set DIG disable!!\n"
.comm _FW_DIG_DISABLE,4,2 ; @FW_DIG_DISABLE
l_.str.5: ; @.str.5
.asciz "[FW CMD] Set DIG enable!!\n"
.comm _FW_DIG_ENABLE,4,2 ; @FW_DIG_ENABLE
.comm _FW_RA_RESET,4,2 ; @FW_RA_RESET
.comm _FW_RA_ACTIVE,4,2 ; @FW_RA_ACTIVE
l_.str.6: ; @.str.6
.asciz "[FW CMD] Set RA refresh!! N\n"
.comm _HT_IOT_RAFUNC_DISABLE_ALL,4,2 ; @HT_IOT_RAFUNC_DISABLE_ALL
.comm _FW_RA_REFRESH,4,2 ; @FW_RA_REFRESH
l_.str.7: ; @.str.7
.asciz "[FW CMD] Set RA refresh!! B/G\n"
.comm _FW_RA_ENABLE_BG,4,2 ; @FW_RA_ENABLE_BG
.comm _FW_IQK_ENABLE,4,2 ; @FW_IQK_ENABLE
.comm _FW_TXPWR_TRACK_ENABLE,4,2 ; @FW_TXPWR_TRACK_ENABLE
.comm _FW_TXPWR_TRACK_DISABLE,4,2 ; @FW_TXPWR_TRACK_DISABLE
l_.str.8: ; @.str.8
.asciz "Unknown FW Cmd IO(%#x)\n"
.comm _rOFDM0_XAAGCCore1,4,2 ; @rOFDM0_XAAGCCore1
.comm _bMaskByte0,4,2 ; @bMaskByte0
.comm _rOFDM0_XBAGCCore1,4,2 ; @rOFDM0_XBAGCCore1
.comm _rCCK0_CCA,4,2 ; @rCCK0_CCA
.comm _bMaskByte2,4,2 ; @bMaskByte2
.comm _rOFDM0_TRMuxPar,4,2 ; @rOFDM0_TRMuxPar
.comm _rOFDM0_RxDetector1,4,2 ; @rOFDM0_RxDetector1
.comm _bMaskDWord,4,2 ; @bMaskDWord
.comm _rOFDM1_TRxPathEnable,4,2 ; @rOFDM1_TRxPathEnable
.comm _RF_1T2R,4,2 ; @RF_1T2R
.comm _RF_2T2R,4,2 ; @RF_2T2R
l_.str.9: ; @.str.9
.asciz "<---SetFwCmdIOWorkItemCallback()\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _phy_SetFwCmdIOCallback ## -- Begin function phy_SetFwCmdIOCallback
.p2align 4, 0x90
_phy_SetFwCmdIOCallback: ## @phy_SetFwCmdIOCallback
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _ieee80211_priv
movq %rax, -24(%rbp)
movq -24(%rbp), %rax
cmpl $0, 24(%rax)
jne LBB0_2
## %bb.1:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _RT_TRACE
jmp LBB0_36
LBB0_2:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rax
movl (%rax), %edx
movl 4(%rax), %ecx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _RT_TRACE
movq -24(%rbp), %rax
movl (%rax), %eax
addl $-128, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $14, %eax
ja LBB0_25
## %bb.37:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3:
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq (%rax), %rax
movl (%rax), %eax
movq _HT_IOT_ACT_DISABLE_HIGH_POWER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
jne LBB0_5
## %bb.4:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_HIGH_PWR_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
LBB0_5:
jmp LBB0_26
LBB0_6:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_HIGH_PWR_DISABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_7:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_DIG_RESUME@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_8:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_DIG_HALT@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_9:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _RT_TRACE
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq (%rax), %rax
movl (%rax), %eax
movq _HT_IOT_ACT_DISABLE_HIGH_POWER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
jne LBB0_11
## %bb.10:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_HIGH_PWR_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
movq -8(%rbp), %rdi
callq _ChkFwCmdIoDone
LBB0_11:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_DIG_RESUME@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_12:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _RT_TRACE
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_HIGH_PWR_DISABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
movq -8(%rbp), %rdi
callq _ChkFwCmdIoDone
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_DIG_HALT@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_13:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _RT_TRACE
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_DIG_DISABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_14:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _RT_TRACE
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_DIG_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_15:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_RA_RESET@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_16:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_RA_ACTIVE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_17:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _RT_TRACE
movq -24(%rbp), %rax
movq 16(%rax), %rax
movq (%rax), %rax
movl 4(%rax), %eax
movq _HT_IOT_RAFUNC_DISABLE_ALL@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_19
## %bb.18:
movq _FW_RA_REFRESH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
jmp LBB0_20
LBB0_19:
movq _FW_RA_REFRESH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
movq 16(%rcx), %rcx
movq (%rcx), %rcx
movl 4(%rcx), %ecx
shll $8, %ecx
orl %ecx, %eax
movl %eax, -12(%rbp)
LBB0_20:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -12(%rbp), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_21:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _RT_TRACE
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_RA_REFRESH@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
movq -8(%rbp), %rdi
callq _ChkFwCmdIoDone
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_RA_ENABLE_BG@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_22:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_IQK_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_23:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_TXPWR_TRACK_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_24:
movq -8(%rbp), %rdi
movq _WFM5@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _FW_TXPWR_TRACK_DISABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _write_nic_dword
jmp LBB0_26
LBB0_25:
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rax
movl (%rax), %edx
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _RT_TRACE
LBB0_26:
movq -8(%rbp), %rdi
callq _ChkFwCmdIoDone
movq -24(%rbp), %rax
movl (%rax), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
subl $137, %eax
je LBB0_28
jmp LBB0_38
LBB0_38:
movl -36(%rbp), %eax ## 4-byte Reload
subl $138, %eax
jne LBB0_35
jmp LBB0_27
LBB0_27:
movq -8(%rbp), %rdi
movq _rOFDM0_XAAGCCore1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $23, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rOFDM0_XBAGCCore1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $23, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rCCK0_CCA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $64, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rOFDM0_TRMuxPar@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rOFDM0_RxDetector1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskDWord@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _rtl8192_QueryBBReg
movl %eax, _phy_SetFwCmdIOCallback.ScanRegister(%rip)
movq -8(%rbp), %rdi
movq _rOFDM0_RxDetector1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $15, %ecx
movl %ecx, %edx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rOFDM1_TRxPathEnable@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $15, %edx
xorl %ecx, %ecx
callq _rtl8192_setBBreg
jmp LBB0_35
LBB0_28:
movq -8(%rbp), %rdi
movq _rOFDM0_XAAGCCore1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $54, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rOFDM0_XBAGCCore1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte0@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $54, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rCCK0_CCA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $131, %ecx
callq _rtl8192_setBBreg
movq -8(%rbp), %rdi
movq _rOFDM0_TRMuxPar@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskByte2@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ecx, %ecx
callq _rtl8192_setBBreg
cmpl $0, _phy_SetFwCmdIOCallback.ScanRegister(%rip)
je LBB0_30
## %bb.29:
movq -8(%rbp), %rdi
movq _rOFDM0_RxDetector1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _bMaskDWord@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl _phy_SetFwCmdIOCallback.ScanRegister(%rip), %ecx
callq _rtl8192_setBBreg
LBB0_30:
movq -24(%rbp), %rax
movl 8(%rax), %eax
movq _RF_1T2R@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_32
## %bb.31:
movq -24(%rbp), %rax
movl 8(%rax), %eax
movq _RF_2T2R@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_33
LBB0_32:
movq -8(%rbp), %rdi
movq _rOFDM1_TRxPathEnable@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $15, %edx
movl $3, %ecx
callq _rtl8192_setBBreg
jmp LBB0_34
LBB0_33:
movq -8(%rbp), %rdi
movq _rOFDM1_TRxPathEnable@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $15, %edx
movl $1, %ecx
callq _rtl8192_setBBreg
LBB0_34:
jmp LBB0_35
LBB0_35:
movq -24(%rbp), %rax
movl $0, 4(%rax)
movq _COMP_CMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _RT_TRACE
LBB0_36:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_23
.long L0_0_set_24
.long L0_0_set_9
.long L0_0_set_15
.long L0_0_set_17
.long L0_0_set_21
.long L0_0_set_16
.long L0_0_set_12
.long L0_0_set_22
.long L0_0_set_3
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_14
.long L0_0_set_13
.end_data_region
## -- End function
.zerofill __DATA,__bss,_phy_SetFwCmdIOCallback.ScanRegister,4,2 ## @phy_SetFwCmdIOCallback.ScanRegister
.comm _COMP_CMD,4,2 ## @COMP_CMD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SetFwCmdIOTimerCallback(): driver is going to unload\n"
L_.str.1: ## @.str.1
.asciz "--->SetFwCmdIOTimerCallback(): Cmd(%#x), SetFwCmdInProgress(%d)\n"
.comm _HT_IOT_ACT_DISABLE_HIGH_POWER,4,2 ## @HT_IOT_ACT_DISABLE_HIGH_POWER
.comm _WFM5,4,2 ## @WFM5
.comm _FW_HIGH_PWR_ENABLE,4,2 ## @FW_HIGH_PWR_ENABLE
.comm _FW_HIGH_PWR_DISABLE,4,2 ## @FW_HIGH_PWR_DISABLE
.comm _FW_DIG_RESUME,4,2 ## @FW_DIG_RESUME
.comm _FW_DIG_HALT,4,2 ## @FW_DIG_HALT
L_.str.2: ## @.str.2
.asciz "[FW CMD] Set HIGHPWR enable and DIG resume!!\n"
L_.str.3: ## @.str.3
.asciz "[FW CMD] Set HIGHPWR disable and DIG halt!!\n"
L_.str.4: ## @.str.4
.asciz "[FW CMD] Set DIG disable!!\n"
.comm _FW_DIG_DISABLE,4,2 ## @FW_DIG_DISABLE
L_.str.5: ## @.str.5
.asciz "[FW CMD] Set DIG enable!!\n"
.comm _FW_DIG_ENABLE,4,2 ## @FW_DIG_ENABLE
.comm _FW_RA_RESET,4,2 ## @FW_RA_RESET
.comm _FW_RA_ACTIVE,4,2 ## @FW_RA_ACTIVE
L_.str.6: ## @.str.6
.asciz "[FW CMD] Set RA refresh!! N\n"
.comm _HT_IOT_RAFUNC_DISABLE_ALL,4,2 ## @HT_IOT_RAFUNC_DISABLE_ALL
.comm _FW_RA_REFRESH,4,2 ## @FW_RA_REFRESH
L_.str.7: ## @.str.7
.asciz "[FW CMD] Set RA refresh!! B/G\n"
.comm _FW_RA_ENABLE_BG,4,2 ## @FW_RA_ENABLE_BG
.comm _FW_IQK_ENABLE,4,2 ## @FW_IQK_ENABLE
.comm _FW_TXPWR_TRACK_ENABLE,4,2 ## @FW_TXPWR_TRACK_ENABLE
.comm _FW_TXPWR_TRACK_DISABLE,4,2 ## @FW_TXPWR_TRACK_DISABLE
L_.str.8: ## @.str.8
.asciz "Unknown FW Cmd IO(%#x)\n"
.comm _rOFDM0_XAAGCCore1,4,2 ## @rOFDM0_XAAGCCore1
.comm _bMaskByte0,4,2 ## @bMaskByte0
.comm _rOFDM0_XBAGCCore1,4,2 ## @rOFDM0_XBAGCCore1
.comm _rCCK0_CCA,4,2 ## @rCCK0_CCA
.comm _bMaskByte2,4,2 ## @bMaskByte2
.comm _rOFDM0_TRMuxPar,4,2 ## @rOFDM0_TRMuxPar
.comm _rOFDM0_RxDetector1,4,2 ## @rOFDM0_RxDetector1
.comm _bMaskDWord,4,2 ## @bMaskDWord
.comm _rOFDM1_TRxPathEnable,4,2 ## @rOFDM1_TRxPathEnable
.comm _RF_1T2R,4,2 ## @RF_1T2R
.comm _RF_2T2R,4,2 ## @RF_2T2R
L_.str.9: ## @.str.9
.asciz "<---SetFwCmdIOWorkItemCallback()\n"
.subsections_via_symbols
|
the_stack_data/12636788.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_global ; -- Begin function check_global
.p2align 2
_check_global: ; @check_global
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _x@PAGE
ldr w8, [x8, _x@PAGEOFF]
subs w8, w8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.check_global@PAGE
add x0, x0, l___func__.check_global@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #6
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #3
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #3
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #12
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB1_2:
b LBB1_3
LBB1_3:
bl _check_global
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _x ; @x
.p2align 2
_x:
.long 5 ; 0x5
.section __TEXT,__cstring,cstring_literals
l___func__.check_global: ; @__func__.check_global
.asciz "check_global"
l_.str: ; @.str
.asciz "234519239.c"
l_.str.1: ; @.str.1
.asciz "x == 5"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.2: ; @.str.2
.asciz "x == 3"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_global ## -- Begin function check_global
.p2align 4, 0x90
_check_global: ## @check_global
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $5, _x(%rip)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.check_global(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $6, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
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 $3, -4(%rbp)
cmpl $3, -4(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $12, %edx
callq ___assert_rtn
LBB1_2:
jmp LBB1_3
LBB1_3:
callq _check_global
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _x ## @x
.p2align 2
_x:
.long 5 ## 0x5
.section __TEXT,__cstring,cstring_literals
L___func__.check_global: ## @__func__.check_global
.asciz "check_global"
L_.str: ## @.str
.asciz "234519239.c"
L_.str.1: ## @.str.1
.asciz "x == 5"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.2: ## @.str.2
.asciz "x == 3"
.subsections_via_symbols
|
the_stack_data/234519239.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]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
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 w0, [x29, #-8]
bl _reverse_number
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_1
.cfi_endproc
; -- End function
.globl _reverse_number ; -- Begin function reverse_number
.p2align 2
_reverse_number: ; @reverse_number
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
mov w9, #10
mul w8, w8, w9
ldr w10, [sp, #12]
sdiv w11, w10, w9
mul w11, w11, w9
subs w10, w10, w11
add w8, w8, w10
str w8, [sp, #8]
ldr w8, [sp, #12]
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB1_1
LBB1_3:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter your number: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Your reverse number 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)
LBB0_1: ## =>This Inner Loop Header: Depth=1
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), %edi
callq _reverse_number
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
.cfi_endproc
## -- End function
.globl _reverse_number ## -- Begin function reverse_number
.p2align 4, 0x90
_reverse_number: ## @reverse_number
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
imull $10, -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl -12(%rbp), %eax ## 4-byte Reload
addl %edx, %eax
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
jmp LBB1_1
LBB1_3:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter your number: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Your reverse number is %d.\n"
.subsections_via_symbols
|
the_stack_data/100139245.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum ; -- Begin function sum
.p2align 2
_sum: ; @sum
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_4:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #16]
str wzr, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #12]
add x8, sp, #20
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_4:
add x0, sp, #20
mov w1, #5
bl _sum
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, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Sum = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum ## -- Begin function sum
.p2align 4, 0x90
_sum: ## @sum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -20(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -40(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -40(%rbp), %rax
leaq -32(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB1_1
LBB1_4:
leaq -32(%rbp), %rdi
movl $5, %esi
callq _sum
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_6
## %bb.5:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "Sum = %d\n"
.subsections_via_symbols
|
the_stack_data/917029.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _spu_main ; -- Begin function spu_main
.p2align 2
_spu_main: ; @spu_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
add x8, sp, #280
str x8, [sp, #88] ; 8-byte Folded Spill
adrp x9, _control_block@GOTPAGE
ldr x9, [x9, _control_block@GOTPAGEOFF]
str x9, [sp, #96] ; 8-byte Folded Spill
add x10, x9, #8
str x10, [sp, #104] ; 8-byte Folded Spill
add x10, x9, #16
str x10, [sp, #112] ; 8-byte Folded Spill
add x9, x9, #20
str x9, [sp, #120] ; 8-byte Folded Spill
adrp x9, _local_buffers@GOTPAGE
ldr x9, [x9, _local_buffers@GOTPAGEOFF]
str x9, [sp, #128] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-24]
str x0, [x8, #824]
str x1, [x8, #816]
str x2, [x8, #808]
str xzr, [x8, #736]
ldr x11, [x8, #736]
sub x9, x29, #32
mov x10, x9
add x10, x10, x11
str x10, [x8, #728]
ldr x10, [x8, #728]
str wzr, [x10]
mov x10, #4
str x10, [x8, #720]
ldr x11, [x8, #720]
mov x10, x9
add x10, x10, x11
str x10, [x8, #712]
ldr x11, [x8, #712]
mov w10, #1
str w10, [x11]
str xzr, [x8, #704]
ldr x10, [x8, #704]
add x9, x9, x10
str x9, [x8, #696]
ldr x8, [x8, #696]
ldr w8, [x8]
stur w8, [x29, #-180]
ldur w8, [x29, #-180]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #88] ; 8-byte Folded Reload
adrp x9, l_.str@PAGE
add x9, x9, l_.str@PAGEOFF
str x9, [x8, #680]
ldr x0, [x8, #680]
bl _printf
mov w8, #1
stur w8, [x29, #-36]
b LBB0_19
LBB0_2:
ldr x8, [sp, #88] ; 8-byte Folded Reload
mov x9, #4
str x9, [x8, #672]
ldr x10, [x8, #672]
sub x9, x29, #32
add x9, x9, x10
str x9, [x8, #664]
ldr x8, [x8, #664]
ldr w8, [x8]
stur w8, [x29, #-212]
ldur w8, [x29, #-212]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #88] ; 8-byte Folded Reload
adrp x9, l_.str@PAGE
add x9, x9, l_.str@PAGEOFF
str x9, [x8, #648]
ldr x0, [x8, #648]
bl _printf
mov w8, #1
stur w8, [x29, #-36]
b LBB0_19
LBB0_4:
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x9, [sp, #96] ; 8-byte Folded Reload
str x9, [x8, #640]
ldr x9, [x8, #816]
; kill: def $w9 killed $w9 killed $x9
stur w9, [x29, #-236]
mov w9, #32
stur w9, [x29, #-240]
str xzr, [x8, #624]
ldr x10, [x8, #624]
sub x9, x29, #32
str x9, [sp, #56] ; 8-byte Folded Spill
add x9, x9, x10
str x9, [x8, #616]
ldr x9, [x8, #616]
ldr w9, [x9]
str w9, [sp, #892]
ldr x0, [x8, #640]
ldur w1, [x29, #-236]
ldur w2, [x29, #-240]
ldr w3, [sp, #892]
mov w5, #0
str w5, [sp, #68] ; 4-byte Folded Spill
mov x4, x5
bl _mfc_get
bl ___VERIFIER_nondet_int
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-100]
str x8, [x9, #600]
ldursw x8, [x29, #-100]
ldr x9, [x9, #600]
str x8, [x9]
bl ___VERIFIER_nondet_int
ldr x8, [sp, #104] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-104]
str x8, [x9, #592]
ldursw x8, [x29, #-104]
ldr x9, [x9, #592]
str x8, [x9]
bl ___VERIFIER_nondet_int
ldr x8, [sp, #112] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-108]
str x8, [x9, #584]
ldur w8, [x29, #-108]
ldr x9, [x9, #584]
str w8, [x9]
bl ___VERIFIER_nondet_int
ldr x8, [sp, #120] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-112]
str x8, [x9, #576]
ldur w8, [x29, #-112]
ldr x9, [x9, #576]
str w8, [x9]
bl ___VERIFIER_nondet_int
ldr x8, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-116]
str xzr, [x9, #568]
ldr x10, [x9, #568]
add x10, x10, #24
str x10, [x9, #560]
ldr x10, [x9, #560]
add x8, x8, x10
str x8, [x9, #552]
ldur w8, [x29, #-116]
ldr x9, [x9, #552]
str w8, [x9]
bl ___VERIFIER_nondet_int
ldr x10, [sp, #96] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #88] ; 8-byte Folded Reload
stur w0, [x29, #-120]
mov x11, #4
str x11, [x8, #544]
ldr x11, [x8, #544]
add x11, x11, #24
str x11, [x8, #536]
ldr x11, [x8, #536]
add x10, x10, x11
str x10, [x8, #528]
ldur w10, [x29, #-120]
ldr x11, [x8, #528]
str w10, [x11]
str xzr, [x8, #520]
ldr x10, [x8, #520]
add x9, x9, x10
str x9, [x8, #512]
ldr x8, [x8, #512]
ldr w8, [x8]
str w8, [sp, #788]
ldr w9, [sp, #788]
mov w8, #1
str w8, [sp, #84] ; 4-byte Folded Spill
lsl w8, w8, w9
str w8, [sp, #784]
ldr w8, [sp, #784]
str w8, [sp, #780]
ldr w0, [sp, #780]
bl _mfc_write_tag_mask
bl _mfc_read_tag_status_all
ldr x12, [sp, #112] ; 8-byte Folded Reload
ldr x11, [sp, #96] ; 8-byte Folded Reload
ldr x10, [sp, #128] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr w5, [sp, #68] ; 4-byte Folded Reload
ldr x8, [sp, #88] ; 8-byte Folded Reload
stur wzr, [x29, #-92]
str x12, [x8, #488]
ldr x12, [x8, #488]
ldr w12, [x12]
str w12, [sp, #764]
ldr w12, [sp, #764]
mov w13, #4096
udiv w12, w12, w13
stur w12, [x29, #-88]
str x11, [x8, #472]
ldr x11, [x8, #472]
ldr x11, [x11]
str x11, [x8, #800]
str xzr, [x8, #464]
ldursw x11, [x29, #-92]
lsl x11, x11, #14
str x11, [x8, #456]
ldr x11, [x8, #456]
ldr x12, [x8, #464]
add x11, x11, x12
str x11, [x8, #448]
ldr x11, [x8, #448]
add x10, x10, x11
str x10, [x8, #440]
ldr x10, [x8, #440]
str x10, [x8, #432]
ldr x10, [x8, #432]
str x10, [x8, #424]
ldr x10, [x8, #800]
; kill: def $w10 killed $w10 killed $x10
str w10, [sp, #700]
mov x10, #16384
str x10, [sp, #72] ; 8-byte Folded Spill
str x10, [x8, #408]
ldr x10, [x8, #408]
; kill: def $w10 killed $w10 killed $x10
str w10, [sp, #684]
ldursw x10, [x29, #-92]
lsl x10, x10, #2
str x10, [x8, #392]
ldr x10, [x8, #392]
add x9, x9, x10
str x9, [x8, #384]
ldr x9, [x8, #384]
ldr w9, [x9]
str w9, [sp, #660]
ldr x0, [x8, #424]
ldr w1, [sp, #700]
ldr w2, [sp, #684]
ldr w3, [sp, #660]
mov x4, x5
bl _mfc_get
ldr x11, [sp, #72] ; 8-byte Folded Reload
ldr x9, [sp, #104] ; 8-byte Folded Reload
ldr x10, [sp, #88] ; 8-byte Folded Reload
ldr w8, [sp, #84] ; 4-byte Folded Reload
str x11, [x10, #368]
ldr x11, [x10, #368]
str x11, [x10, #360]
ldr x11, [x10, #800]
ldr x12, [x10, #360]
add x11, x11, x12
str x11, [x10, #800]
str x9, [x10, #352]
ldr x9, [x10, #352]
ldr x9, [x9]
str x9, [x10, #792]
stur w8, [x29, #-84]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-84]
ldur w9, [x29, #-88]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
b LBB0_11
LBB0_10:
b LBB0_18
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-92]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_7 Depth=1
mov w8, #1
stur w8, [x29, #-124]
b LBB0_17
LBB0_13: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-92]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_7 Depth=1
mov w8, #1
stur w8, [x29, #-124]
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_7 Depth=1
stur wzr, [x29, #-124]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_7 Depth=1
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_7 Depth=1
ldur w0, [x29, #-124]
bl _assert
ldr x8, [sp, #88] ; 8-byte Folded Reload
str xzr, [x8, #344]
ldr x10, [x8, #344]
sub x9, x29, #32
str x9, [sp, #32] ; 8-byte Folded Spill
add x9, x9, x10
str x9, [x8, #336]
ldr x8, [x8, #336]
ldr w8, [x8]
str w8, [sp, #612]
ldr w8, [sp, #612]
mov w9, #0
str w9, [sp, #44] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #608]
ldr w0, [sp, #608]
bl _assert
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #88] ; 8-byte Folded Reload
mov x10, #4
str x10, [x8, #320]
ldr x10, [x8, #320]
add x9, x9, x10
str x9, [x8, #312]
ldr x8, [x8, #312]
ldr w8, [x8]
str w8, [sp, #588]
ldr w8, [sp, #588]
mov w9, #1
str w9, [sp, #28] ; 4-byte Folded Spill
subs w8, w8, #1
cset w8, eq
and w8, w8, #0x1
str w8, [sp, #584]
ldr w0, [sp, #584]
bl _assert
ldr w8, [sp, #28] ; 4-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldur w11, [x29, #-92]
eor w11, w11, #0x1
stur w11, [x29, #-96]
ldursw x11, [x29, #-96]
lsl x11, x11, #2
str x11, [x9, #296]
ldr x11, [x9, #296]
add x10, x10, x11
str x10, [x9, #288]
ldr x9, [x9, #288]
ldr w9, [x9]
str w9, [sp, #564]
ldr w9, [sp, #564]
lsl w8, w8, w9
str w8, [sp, #560]
ldr w8, [sp, #560]
str w8, [sp, #556]
ldr w0, [sp, #556]
bl _mfc_write_tag_mask
bl _mfc_read_tag_status_all
ldr x10, [sp, #128] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w5, [sp, #44] ; 4-byte Folded Reload
ldr x8, [sp, #88] ; 8-byte Folded Reload
str xzr, [x8, #264]
ldursw x11, [x29, #-96]
lsl x11, x11, #14
str x11, [x8, #256]
ldr x11, [x8, #256]
ldr x12, [x8, #264]
add x11, x11, x12
str x11, [x8, #248]
ldr x11, [x8, #248]
add x10, x10, x11
str x10, [x8, #240]
ldr x10, [x8, #240]
str x10, [x8, #232]
ldr x10, [x8, #232]
str x10, [x8, #224]
ldr x10, [x8, #800]
; kill: def $w10 killed $w10 killed $x10
str w10, [sp, #500]
mov x10, #16384
str x10, [sp, #48] ; 8-byte Folded Spill
str x10, [x8, #208]
ldr x10, [x8, #208]
; kill: def $w10 killed $w10 killed $x10
str w10, [sp, #484]
ldursw x10, [x29, #-96]
lsl x10, x10, #2
str x10, [x8, #192]
ldr x10, [x8, #192]
add x9, x9, x10
str x9, [x8, #184]
ldr x9, [x8, #184]
ldr w9, [x9]
str w9, [sp, #460]
ldr x0, [x8, #224]
ldr w1, [sp, #500]
ldr w2, [sp, #484]
ldr w3, [sp, #460]
mov x4, x5
bl _mfc_get
ldr w8, [sp, #28] ; 4-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldursw x11, [x29, #-92]
lsl x11, x11, #2
str x11, [x9, #168]
ldr x11, [x9, #168]
add x10, x10, x11
str x10, [x9, #160]
ldr x9, [x9, #160]
ldr w9, [x9]
str w9, [sp, #436]
ldr w9, [sp, #436]
lsl w8, w8, w9
str w8, [sp, #432]
ldr w8, [sp, #432]
str w8, [sp, #428]
ldr w0, [sp, #428]
bl _mfc_write_tag_mask
bl _mfc_read_tag_status_all
ldr x11, [sp, #128] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w5, [sp, #44] ; 4-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #88] ; 8-byte Folded Reload
str xzr, [x8, #136]
ldursw x12, [x29, #-92]
lsl x12, x12, #14
str x12, [x8, #128]
ldr x12, [x8, #128]
ldr x13, [x8, #136]
add x12, x12, x13
str x12, [x8, #120]
ldr x12, [x8, #120]
add x11, x11, x12
str x11, [x8, #112]
ldr x11, [x8, #112]
str x11, [x8, #104]
ldr x11, [x8, #104]
str x11, [x8, #96]
ldr x11, [x8, #792]
; kill: def $w11 killed $w11 killed $x11
str w11, [sp, #372]
str x10, [x8, #80]
ldr x10, [x8, #80]
; kill: def $w10 killed $w10 killed $x10
str w10, [sp, #356]
ldursw x10, [x29, #-92]
lsl x10, x10, #2
str x10, [x8, #64]
ldr x10, [x8, #64]
add x9, x9, x10
str x9, [x8, #56]
ldr x9, [x8, #56]
ldr w9, [x9]
str w9, [sp, #332]
ldr x0, [x8, #96]
ldr w1, [sp, #372]
ldr w2, [sp, #356]
ldr w3, [sp, #332]
mov x4, x5
bl _mfc_put
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
str x8, [x9, #40]
ldr x10, [x9, #40]
str x10, [x9, #32]
ldr x10, [x9, #800]
ldr x11, [x9, #32]
add x10, x10, x11
str x10, [x9, #800]
str x8, [x9, #24]
ldr x8, [x9, #24]
str x8, [x9, #16]
ldr x8, [x9, #792]
ldr x10, [x9, #16]
add x8, x8, x10
str x8, [x9, #792]
ldur w8, [x29, #-96]
stur w8, [x29, #-92]
ldur w8, [x29, #-84]
add w8, w8, #1
stur w8, [x29, #-84]
b LBB0_7
LBB0_18:
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldursw x9, [x29, #-92]
lsl x9, x9, #2
str x9, [x8, #8]
ldr x10, [x8, #8]
sub x9, x29, #32
str x9, [sp, #16] ; 8-byte Folded Spill
add x9, x9, x10
str x9, [x8]
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #276]
ldr w9, [sp, #276]
mov w8, #1
str w8, [sp, #24] ; 4-byte Folded Spill
lsl w8, w8, w9
str w8, [sp, #272]
ldr w8, [sp, #272]
str w8, [sp, #268]
ldr w0, [sp, #268]
bl _mfc_write_tag_mask
ldr x10, [sp, #128] ; 8-byte Folded Reload
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
str xzr, [sp, #256]
ldursw x11, [x29, #-92]
lsl x11, x11, #14
str x11, [sp, #248]
ldr x11, [sp, #248]
ldr x12, [sp, #256]
add x11, x11, x12
str x11, [sp, #240]
ldr x11, [sp, #240]
add x10, x10, x11
str x10, [sp, #232]
ldr x10, [sp, #232]
str x10, [sp, #224]
ldr x10, [sp, #224]
str x10, [sp, #216]
ldr x9, [x9, #792]
; kill: def $w9 killed $w9 killed $x9
str w9, [sp, #212]
mov x9, #16384
str x9, [sp, #200]
ldr x9, [sp, #200]
; kill: def $w9 killed $w9 killed $x9
str w9, [sp, #196]
ldursw x9, [x29, #-92]
lsl x9, x9, #2
str x9, [sp, #184]
ldr x9, [sp, #184]
add x8, x8, x9
str x8, [sp, #176]
ldr x8, [sp, #176]
ldr w8, [x8]
str w8, [sp, #172]
ldr x0, [sp, #216]
ldr w1, [sp, #212]
ldr w2, [sp, #196]
ldr w3, [sp, #172]
mov w5, #0
mov x4, x5
bl _mfc_put
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #24] ; 4-byte Folded Reload
ldursw x10, [x29, #-92]
lsl x10, x10, #2
str x10, [sp, #160]
ldr x10, [sp, #160]
add x9, x9, x10
str x9, [sp, #152]
ldr x9, [sp, #152]
ldr w9, [x9]
str w9, [sp, #148]
ldr w9, [sp, #148]
lsl w8, w8, w9
str w8, [sp, #144]
ldr w8, [sp, #144]
str w8, [sp, #140]
ldr w0, [sp, #140]
bl _mfc_write_tag_mask
bl _mfc_read_tag_status_all
stur wzr, [x29, #-36]
b LBB0_19
LBB0_19:
ldur w8, [x29, #-36]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_20
LBB0_20:
bl ___stack_chk_fail
LBB0_21:
ldr w0, [sp, #12] ; 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_.str: ; @.str
.asciz "SPU ERROR, unable to reserve tag\n"
.comm _control_block,32,7 ; @control_block
.comm _local_buffers,32768,7 ; @local_buffers
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _spu_main ## -- Begin function spu_main
.p2align 4, 0x90
_spu_main: ## @spu_main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1008, %rsp ## imm = 0x3F0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -32(%rbp)
movq %rsi, -40(%rbp)
movq %rdx, -48(%rbp)
movq $0, -120(%rbp)
leaq -16(%rbp), %rax
addq -120(%rbp), %rax
movq %rax, -128(%rbp)
movq -128(%rbp), %rax
movl $0, (%rax)
movq $4, -136(%rbp)
leaq -16(%rbp), %rax
addq -136(%rbp), %rax
movq %rax, -144(%rbp)
movq -144(%rbp), %rax
movl $1, (%rax)
movq $0, -152(%rbp)
leaq -16(%rbp), %rax
addq -152(%rbp), %rax
movq %rax, -160(%rbp)
movq -160(%rbp), %rax
movl (%rax), %eax
movl %eax, -164(%rbp)
cmpl $-1, -164(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rax
movq %rax, -176(%rbp)
movq -176(%rbp), %rdi
movb $0, %al
callq _printf
movl $1, -20(%rbp)
jmp LBB0_19
LBB0_2:
movq $4, -184(%rbp)
leaq -16(%rbp), %rax
addq -184(%rbp), %rax
movq %rax, -192(%rbp)
movq -192(%rbp), %rax
movl (%rax), %eax
movl %eax, -196(%rbp)
cmpl $-1, -196(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str(%rip), %rax
movq %rax, -208(%rbp)
movq -208(%rbp), %rdi
movb $0, %al
callq _printf
movl $1, -20(%rbp)
jmp LBB0_19
LBB0_4:
jmp LBB0_5
LBB0_5:
jmp LBB0_6
LBB0_6:
movq _control_block@GOTPCREL(%rip), %rax
movq %rax, -216(%rbp)
movq -40(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -220(%rbp)
movl $32, -224(%rbp)
movq $0, -232(%rbp)
leaq -16(%rbp), %rax
addq -232(%rbp), %rax
movq %rax, -240(%rbp)
movq -240(%rbp), %rax
movl (%rax), %eax
movl %eax, -244(%rbp)
movq -216(%rbp), %rdi
movl -220(%rbp), %esi
movl -224(%rbp), %edx
movl -244(%rbp), %ecx
xorl %r9d, %r9d
movl %r9d, %r8d
callq _mfc_get
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -84(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
movq %rax, -256(%rbp)
movslq -84(%rbp), %rcx
movq -256(%rbp), %rax
movq %rcx, (%rax)
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -88(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq $8, %rax
movq %rax, -264(%rbp)
movslq -88(%rbp), %rcx
movq -264(%rbp), %rax
movq %rcx, (%rax)
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -92(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq $16, %rax
movq %rax, -272(%rbp)
movl -92(%rbp), %ecx
movq -272(%rbp), %rax
movl %ecx, (%rax)
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -96(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq $20, %rax
movq %rax, -280(%rbp)
movl -96(%rbp), %ecx
movq -280(%rbp), %rax
movl %ecx, (%rax)
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -100(%rbp)
movq $0, -288(%rbp)
movq -288(%rbp), %rax
addq $24, %rax
movq %rax, -296(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq -296(%rbp), %rax
movq %rax, -304(%rbp)
movl -100(%rbp), %ecx
movq -304(%rbp), %rax
movl %ecx, (%rax)
movb $0, %al
callq ___VERIFIER_nondet_int
movl %eax, -104(%rbp)
movq $4, -312(%rbp)
movq -312(%rbp), %rax
addq $24, %rax
movq %rax, -320(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq -320(%rbp), %rax
movq %rax, -328(%rbp)
movl -104(%rbp), %ecx
movq -328(%rbp), %rax
movl %ecx, (%rax)
movq $0, -336(%rbp)
leaq -16(%rbp), %rax
addq -336(%rbp), %rax
movq %rax, -344(%rbp)
movq -344(%rbp), %rax
movl (%rax), %eax
movl %eax, -348(%rbp)
movl -348(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -352(%rbp)
movl -352(%rbp), %eax
movl %eax, -356(%rbp)
movl -356(%rbp), %edi
callq _mfc_write_tag_mask
movb $0, %al
callq _mfc_read_tag_status_all
movl $0, -76(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq $16, %rax
movq %rax, -368(%rbp)
movq -368(%rbp), %rax
movl (%rax), %eax
movl %eax, -372(%rbp)
movl -372(%rbp), %eax
shrl $12, %eax
movl %eax, -72(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
movq %rax, -384(%rbp)
movq -384(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq $0, -392(%rbp)
movslq -76(%rbp), %rax
shlq $14, %rax
movq %rax, -400(%rbp)
movq -400(%rbp), %rax
addq -392(%rbp), %rax
movq %rax, -408(%rbp)
movq _local_buffers@GOTPCREL(%rip), %rax
addq -408(%rbp), %rax
movq %rax, -416(%rbp)
movq -416(%rbp), %rax
movq %rax, -424(%rbp)
movq -424(%rbp), %rax
movq %rax, -432(%rbp)
movq -56(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -436(%rbp)
movq $16384, -448(%rbp) ## imm = 0x4000
movq -448(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -452(%rbp)
movslq -76(%rbp), %rax
shlq $2, %rax
movq %rax, -464(%rbp)
leaq -16(%rbp), %rax
addq -464(%rbp), %rax
movq %rax, -472(%rbp)
movq -472(%rbp), %rax
movl (%rax), %eax
movl %eax, -476(%rbp)
movq -432(%rbp), %rdi
movl -436(%rbp), %esi
movl -452(%rbp), %edx
movl -476(%rbp), %ecx
xorl %r9d, %r9d
movl %r9d, %r8d
callq _mfc_get
movq $16384, -488(%rbp) ## imm = 0x4000
movq -488(%rbp), %rax
movq %rax, -496(%rbp)
movq -56(%rbp), %rax
addq -496(%rbp), %rax
movq %rax, -56(%rbp)
movq _control_block@GOTPCREL(%rip), %rax
addq $8, %rax
movq %rax, -504(%rbp)
movq -504(%rbp), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movl $1, -68(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_7 Depth=1
movl -68(%rbp), %eax
cmpl -72(%rbp), %eax
jae LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_11
LBB0_10:
jmp LBB0_18
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
cmpl $0, -76(%rbp)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
movl $1, -108(%rbp)
jmp LBB0_17
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
cmpl $1, -76(%rbp)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
movl $1, -108(%rbp)
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
movl $0, -108(%rbp)
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_7 Depth=1
movl -108(%rbp), %edi
movb $0, %al
callq _assert
movq $0, -512(%rbp)
leaq -16(%rbp), %rax
addq -512(%rbp), %rax
movq %rax, -520(%rbp)
movq -520(%rbp), %rax
movl (%rax), %eax
movl %eax, -524(%rbp)
cmpl $0, -524(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -528(%rbp)
movl -528(%rbp), %edi
movb $0, %al
callq _assert
movq $4, -536(%rbp)
leaq -16(%rbp), %rax
addq -536(%rbp), %rax
movq %rax, -544(%rbp)
movq -544(%rbp), %rax
movl (%rax), %eax
movl %eax, -548(%rbp)
cmpl $1, -548(%rbp)
sete %al
andb $1, %al
movzbl %al, %eax
movl %eax, -552(%rbp)
movl -552(%rbp), %edi
movb $0, %al
callq _assert
movl -76(%rbp), %eax
xorl $1, %eax
movl %eax, -80(%rbp)
movslq -80(%rbp), %rax
shlq $2, %rax
movq %rax, -560(%rbp)
leaq -16(%rbp), %rax
addq -560(%rbp), %rax
movq %rax, -568(%rbp)
movq -568(%rbp), %rax
movl (%rax), %eax
movl %eax, -572(%rbp)
movl -572(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -576(%rbp)
movl -576(%rbp), %eax
movl %eax, -580(%rbp)
movl -580(%rbp), %edi
callq _mfc_write_tag_mask
movb $0, %al
callq _mfc_read_tag_status_all
movq $0, -592(%rbp)
movslq -80(%rbp), %rax
shlq $14, %rax
movq %rax, -600(%rbp)
movq -600(%rbp), %rax
addq -592(%rbp), %rax
movq %rax, -608(%rbp)
movq _local_buffers@GOTPCREL(%rip), %rax
addq -608(%rbp), %rax
movq %rax, -616(%rbp)
movq -616(%rbp), %rax
movq %rax, -624(%rbp)
movq -624(%rbp), %rax
movq %rax, -632(%rbp)
movq -56(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -636(%rbp)
movq $16384, -648(%rbp) ## imm = 0x4000
movq -648(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -652(%rbp)
movslq -80(%rbp), %rax
shlq $2, %rax
movq %rax, -664(%rbp)
leaq -16(%rbp), %rax
addq -664(%rbp), %rax
movq %rax, -672(%rbp)
movq -672(%rbp), %rax
movl (%rax), %eax
movl %eax, -676(%rbp)
movq -632(%rbp), %rdi
movl -636(%rbp), %esi
movl -652(%rbp), %edx
movl -676(%rbp), %ecx
xorl %r9d, %r9d
movl %r9d, %r8d
callq _mfc_get
movslq -76(%rbp), %rax
shlq $2, %rax
movq %rax, -688(%rbp)
leaq -16(%rbp), %rax
addq -688(%rbp), %rax
movq %rax, -696(%rbp)
movq -696(%rbp), %rax
movl (%rax), %eax
movl %eax, -700(%rbp)
movl -700(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -704(%rbp)
movl -704(%rbp), %eax
movl %eax, -708(%rbp)
movl -708(%rbp), %edi
callq _mfc_write_tag_mask
movb $0, %al
callq _mfc_read_tag_status_all
movq $0, -720(%rbp)
movslq -76(%rbp), %rax
shlq $14, %rax
movq %rax, -728(%rbp)
movq -728(%rbp), %rax
addq -720(%rbp), %rax
movq %rax, -736(%rbp)
movq _local_buffers@GOTPCREL(%rip), %rax
addq -736(%rbp), %rax
movq %rax, -744(%rbp)
movq -744(%rbp), %rax
movq %rax, -752(%rbp)
movq -752(%rbp), %rax
movq %rax, -760(%rbp)
movq -64(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -764(%rbp)
movq $16384, -776(%rbp) ## imm = 0x4000
movq -776(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -780(%rbp)
movslq -76(%rbp), %rax
shlq $2, %rax
movq %rax, -792(%rbp)
leaq -16(%rbp), %rax
addq -792(%rbp), %rax
movq %rax, -800(%rbp)
movq -800(%rbp), %rax
movl (%rax), %eax
movl %eax, -804(%rbp)
movq -760(%rbp), %rdi
movl -764(%rbp), %esi
movl -780(%rbp), %edx
movl -804(%rbp), %ecx
xorl %r9d, %r9d
movl %r9d, %r8d
callq _mfc_put
movq $16384, -816(%rbp) ## imm = 0x4000
movq -816(%rbp), %rax
movq %rax, -824(%rbp)
movq -56(%rbp), %rax
addq -824(%rbp), %rax
movq %rax, -56(%rbp)
movq $16384, -832(%rbp) ## imm = 0x4000
movq -832(%rbp), %rax
movq %rax, -840(%rbp)
movq -64(%rbp), %rax
addq -840(%rbp), %rax
movq %rax, -64(%rbp)
movl -80(%rbp), %eax
movl %eax, -76(%rbp)
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_7
LBB0_18:
movslq -76(%rbp), %rax
shlq $2, %rax
movq %rax, -848(%rbp)
leaq -16(%rbp), %rax
addq -848(%rbp), %rax
movq %rax, -856(%rbp)
movq -856(%rbp), %rax
movl (%rax), %eax
movl %eax, -860(%rbp)
movl -860(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -864(%rbp)
movl -864(%rbp), %eax
movl %eax, -868(%rbp)
movl -868(%rbp), %edi
callq _mfc_write_tag_mask
movq $0, -880(%rbp)
movslq -76(%rbp), %rax
shlq $14, %rax
movq %rax, -888(%rbp)
movq -888(%rbp), %rax
addq -880(%rbp), %rax
movq %rax, -896(%rbp)
movq _local_buffers@GOTPCREL(%rip), %rax
addq -896(%rbp), %rax
movq %rax, -904(%rbp)
movq -904(%rbp), %rax
movq %rax, -912(%rbp)
movq -912(%rbp), %rax
movq %rax, -920(%rbp)
movq -64(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -924(%rbp)
movq $16384, -936(%rbp) ## imm = 0x4000
movq -936(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -940(%rbp)
movslq -76(%rbp), %rax
shlq $2, %rax
movq %rax, -952(%rbp)
leaq -16(%rbp), %rax
addq -952(%rbp), %rax
movq %rax, -960(%rbp)
movq -960(%rbp), %rax
movl (%rax), %eax
movl %eax, -964(%rbp)
movq -920(%rbp), %rdi
movl -924(%rbp), %esi
movl -940(%rbp), %edx
movl -964(%rbp), %ecx
xorl %r9d, %r9d
movl %r9d, %r8d
callq _mfc_put
movslq -76(%rbp), %rax
shlq $2, %rax
movq %rax, -976(%rbp)
leaq -16(%rbp), %rax
addq -976(%rbp), %rax
movq %rax, -984(%rbp)
movq -984(%rbp), %rax
movl (%rax), %eax
movl %eax, -988(%rbp)
movl -988(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -992(%rbp)
movl -992(%rbp), %eax
movl %eax, -996(%rbp)
movl -996(%rbp), %edi
callq _mfc_write_tag_mask
movb $0, %al
callq _mfc_read_tag_status_all
movl $0, -20(%rbp)
LBB0_19:
movl -20(%rbp), %eax
movl %eax, -1000(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_21
## %bb.20:
movl -1000(%rbp), %eax ## 4-byte Reload
addq $1008, %rsp ## imm = 0x3F0
popq %rbp
retq
LBB0_21:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SPU ERROR, unable to reserve tag\n"
.comm _control_block,32,7 ## @control_block
.comm _local_buffers,32768,7 ## @local_buffers
.subsections_via_symbols
|
the_stack_data/173577630.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/424268.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pToAlt ; -- Begin function pToAlt
.p2align 2
_pToAlt: ; @pToAlt
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #6
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #39999
str w8, [sp, #12]
b LBB0_5
LBB0_2:
ldr w8, [sp, #8]
subs w8, w8, #1037
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #-1000
str w8, [sp, #12]
b LBB0_5
LBB0_4:
ldr w8, [sp, #8]
subs w9, w8, #6
adrp x8, _altTable@PAGE
add x8, x8, _altTable@PAGEOFF
ldr w8, [x8, w9, sxtw #2]
str w8, [sp, #12]
b LBB0_5
LBB0_5:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @altTable
_altTable:
.long 34508 ; 0x86cc
.long 33452 ; 0x82ac
.long 32546 ; 0x7f22
.long 31756 ; 0x7c0c
.long 31054 ; 0x794e
.long 30420 ; 0x76d4
.long 29842 ; 0x7492
.long 29312 ; 0x7280
.long 28822 ; 0x7096
.long 28368 ; 0x6ed0
.long 27942 ; 0x6d26
.long 27544 ; 0x6b98
.long 27170 ; 0x6a22
.long 26816 ; 0x68c0
.long 26480 ; 0x6770
.long 26162 ; 0x6632
.long 25858 ; 0x6502
.long 25570 ; 0x63e2
.long 25292 ; 0x62cc
.long 25028 ; 0x61c4
.long 24774 ; 0x60c6
.long 24528 ; 0x5fd0
.long 24294 ; 0x5ee6
.long 24066 ; 0x5e02
.long 23848 ; 0x5d28
.long 23636 ; 0x5c54
.long 23432 ; 0x5b88
.long 23234 ; 0x5ac2
.long 23042 ; 0x5a02
.long 22854 ; 0x5946
.long 22674 ; 0x5892
.long 22498 ; 0x57e2
.long 22328 ; 0x5738
.long 22160 ; 0x5690
.long 21998 ; 0x55ee
.long 21840 ; 0x5550
.long 21686 ; 0x54b6
.long 21536 ; 0x5420
.long 21390 ; 0x538e
.long 21246 ; 0x52fe
.long 21106 ; 0x5272
.long 20968 ; 0x51e8
.long 20834 ; 0x5162
.long 20704 ; 0x50e0
.long 20576 ; 0x5060
.long 20450 ; 0x4fe2
.long 20326 ; 0x4f66
.long 20204 ; 0x4eec
.long 20086 ; 0x4e76
.long 19970 ; 0x4e02
.long 19856 ; 0x4d90
.long 19744 ; 0x4d20
.long 19634 ; 0x4cb2
.long 19524 ; 0x4c44
.long 19418 ; 0x4bda
.long 19314 ; 0x4b72
.long 19210 ; 0x4b0a
.long 19108 ; 0x4aa4
.long 19008 ; 0x4a40
.long 18910 ; 0x49de
.long 18814 ; 0x497e
.long 18718 ; 0x491e
.long 18624 ; 0x48c0
.long 18532 ; 0x4864
.long 18440 ; 0x4808
.long 18350 ; 0x47ae
.long 18262 ; 0x4756
.long 18174 ; 0x46fe
.long 18088 ; 0x46a8
.long 18004 ; 0x4654
.long 17920 ; 0x4600
.long 17836 ; 0x45ac
.long 17754 ; 0x455a
.long 17674 ; 0x450a
.long 17594 ; 0x44ba
.long 17516 ; 0x446c
.long 17438 ; 0x441e
.long 17360 ; 0x43d0
.long 17284 ; 0x4384
.long 17210 ; 0x433a
.long 17136 ; 0x42f0
.long 17062 ; 0x42a6
.long 16990 ; 0x425e
.long 16918 ; 0x4216
.long 16846 ; 0x41ce
.long 16776 ; 0x4188
.long 16708 ; 0x4144
.long 16638 ; 0x40fe
.long 16572 ; 0x40bc
.long 16504 ; 0x4078
.long 16438 ; 0x4036
.long 16372 ; 0x3ff4
.long 16306 ; 0x3fb2
.long 16242 ; 0x3f72
.long 16178 ; 0x3f32
.long 16116 ; 0x3ef4
.long 16054 ; 0x3eb6
.long 15992 ; 0x3e78
.long 15930 ; 0x3e3a
.long 15870 ; 0x3dfe
.long 15810 ; 0x3dc2
.long 15750 ; 0x3d86
.long 15690 ; 0x3d4a
.long 15632 ; 0x3d10
.long 15574 ; 0x3cd6
.long 15516 ; 0x3c9c
.long 15460 ; 0x3c64
.long 15404 ; 0x3c2c
.long 15348 ; 0x3bf4
.long 15292 ; 0x3bbc
.long 15238 ; 0x3b86
.long 15184 ; 0x3b50
.long 15130 ; 0x3b1a
.long 15076 ; 0x3ae4
.long 15022 ; 0x3aae
.long 14970 ; 0x3a7a
.long 14918 ; 0x3a46
.long 14866 ; 0x3a12
.long 14814 ; 0x39de
.long 14764 ; 0x39ac
.long 14714 ; 0x397a
.long 14662 ; 0x3946
.long 14614 ; 0x3916
.long 14564 ; 0x38e4
.long 14514 ; 0x38b2
.long 14466 ; 0x3882
.long 14418 ; 0x3852
.long 14370 ; 0x3822
.long 14322 ; 0x37f2
.long 14276 ; 0x37c4
.long 14228 ; 0x3794
.long 14182 ; 0x3766
.long 14136 ; 0x3738
.long 14090 ; 0x370a
.long 14044 ; 0x36dc
.long 14000 ; 0x36b0
.long 13956 ; 0x3684
.long 13910 ; 0x3656
.long 13866 ; 0x362a
.long 13822 ; 0x35fe
.long 13778 ; 0x35d2
.long 13736 ; 0x35a8
.long 13692 ; 0x357c
.long 13650 ; 0x3552
.long 13608 ; 0x3528
.long 13566 ; 0x34fe
.long 13524 ; 0x34d4
.long 13482 ; 0x34aa
.long 13440 ; 0x3480
.long 13400 ; 0x3458
.long 13358 ; 0x342e
.long 13318 ; 0x3406
.long 13278 ; 0x33de
.long 13238 ; 0x33b6
.long 13198 ; 0x338e
.long 13158 ; 0x3366
.long 13120 ; 0x3340
.long 13080 ; 0x3318
.long 13042 ; 0x32f2
.long 13004 ; 0x32cc
.long 12964 ; 0x32a4
.long 12926 ; 0x327e
.long 12888 ; 0x3258
.long 12852 ; 0x3234
.long 12814 ; 0x320e
.long 12776 ; 0x31e8
.long 12740 ; 0x31c4
.long 12702 ; 0x319e
.long 12666 ; 0x317a
.long 12630 ; 0x3156
.long 12594 ; 0x3132
.long 12558 ; 0x310e
.long 12522 ; 0x30ea
.long 12486 ; 0x30c6
.long 12452 ; 0x30a4
.long 12416 ; 0x3080
.long 12382 ; 0x305e
.long 12346 ; 0x303a
.long 12312 ; 0x3018
.long 12278 ; 0x2ff6
.long 12244 ; 0x2fd4
.long 12210 ; 0x2fb2
.long 12176 ; 0x2f90
.long 12142 ; 0x2f6e
.long 12108 ; 0x2f4c
.long 12076 ; 0x2f2c
.long 12042 ; 0x2f0a
.long 12008 ; 0x2ee8
.long 11976 ; 0x2ec8
.long 11944 ; 0x2ea8
.long 11912 ; 0x2e88
.long 11878 ; 0x2e66
.long 11846 ; 0x2e46
.long 11814 ; 0x2e26
.long 11784 ; 0x2e08
.long 11752 ; 0x2de8
.long 11720 ; 0x2dc8
.long 11688 ; 0x2da8
.long 11658 ; 0x2d8a
.long 11626 ; 0x2d6a
.long 11596 ; 0x2d4c
.long 11564 ; 0x2d2c
.long 11534 ; 0x2d0e
.long 11504 ; 0x2cf0
.long 11474 ; 0x2cd2
.long 11444 ; 0x2cb4
.long 11414 ; 0x2c96
.long 11384 ; 0x2c78
.long 11354 ; 0x2c5a
.long 11324 ; 0x2c3c
.long 11296 ; 0x2c20
.long 11266 ; 0x2c02
.long 11236 ; 0x2be4
.long 11208 ; 0x2bc8
.long 11178 ; 0x2baa
.long 11150 ; 0x2b8e
.long 11122 ; 0x2b72
.long 11092 ; 0x2b54
.long 11064 ; 0x2b38
.long 11036 ; 0x2b1c
.long 11008 ; 0x2b00
.long 10980 ; 0x2ae4
.long 10952 ; 0x2ac8
.long 10924 ; 0x2aac
.long 10896 ; 0x2a90
.long 10868 ; 0x2a74
.long 10842 ; 0x2a5a
.long 10814 ; 0x2a3e
.long 10786 ; 0x2a22
.long 10760 ; 0x2a08
.long 10732 ; 0x29ec
.long 10706 ; 0x29d2
.long 10678 ; 0x29b6
.long 10652 ; 0x299c
.long 10624 ; 0x2980
.long 10598 ; 0x2966
.long 10572 ; 0x294c
.long 10546 ; 0x2932
.long 10518 ; 0x2916
.long 10492 ; 0x28fc
.long 10466 ; 0x28e2
.long 10440 ; 0x28c8
.long 10414 ; 0x28ae
.long 10388 ; 0x2894
.long 10362 ; 0x287a
.long 10336 ; 0x2860
.long 10310 ; 0x2846
.long 10284 ; 0x282c
.long 10260 ; 0x2814
.long 10234 ; 0x27fa
.long 10208 ; 0x27e0
.long 10184 ; 0x27c8
.long 10158 ; 0x27ae
.long 10132 ; 0x2794
.long 10108 ; 0x277c
.long 10082 ; 0x2762
.long 10058 ; 0x274a
.long 10032 ; 0x2730
.long 10008 ; 0x2718
.long 9984 ; 0x2700
.long 9958 ; 0x26e6
.long 9934 ; 0x26ce
.long 9910 ; 0x26b6
.long 9886 ; 0x269e
.long 9860 ; 0x2684
.long 9836 ; 0x266c
.long 9812 ; 0x2654
.long 9788 ; 0x263c
.long 9764 ; 0x2624
.long 9740 ; 0x260c
.long 9716 ; 0x25f4
.long 9692 ; 0x25dc
.long 9668 ; 0x25c4
.long 9646 ; 0x25ae
.long 9622 ; 0x2596
.long 9598 ; 0x257e
.long 9574 ; 0x2566
.long 9552 ; 0x2550
.long 9528 ; 0x2538
.long 9504 ; 0x2520
.long 9482 ; 0x250a
.long 9458 ; 0x24f2
.long 9436 ; 0x24dc
.long 9412 ; 0x24c4
.long 9390 ; 0x24ae
.long 9366 ; 0x2496
.long 9344 ; 0x2480
.long 9320 ; 0x2468
.long 9298 ; 0x2452
.long 9276 ; 0x243c
.long 9252 ; 0x2424
.long 9230 ; 0x240e
.long 9208 ; 0x23f8
.long 9186 ; 0x23e2
.long 9162 ; 0x23ca
.long 9140 ; 0x23b4
.long 9118 ; 0x239e
.long 9096 ; 0x2388
.long 9074 ; 0x2372
.long 9052 ; 0x235c
.long 9030 ; 0x2346
.long 9008 ; 0x2330
.long 8986 ; 0x231a
.long 8964 ; 0x2304
.long 8942 ; 0x22ee
.long 8922 ; 0x22da
.long 8900 ; 0x22c4
.long 8878 ; 0x22ae
.long 8856 ; 0x2298
.long 8834 ; 0x2282
.long 8814 ; 0x226e
.long 8792 ; 0x2258
.long 8770 ; 0x2242
.long 8750 ; 0x222e
.long 8728 ; 0x2218
.long 8708 ; 0x2204
.long 8686 ; 0x21ee
.long 8666 ; 0x21da
.long 8644 ; 0x21c4
.long 8624 ; 0x21b0
.long 8602 ; 0x219a
.long 8582 ; 0x2186
.long 8560 ; 0x2170
.long 8540 ; 0x215c
.long 8520 ; 0x2148
.long 8498 ; 0x2132
.long 8478 ; 0x211e
.long 8458 ; 0x210a
.long 8438 ; 0x20f6
.long 8416 ; 0x20e0
.long 8396 ; 0x20cc
.long 8376 ; 0x20b8
.long 8356 ; 0x20a4
.long 8336 ; 0x2090
.long 8316 ; 0x207c
.long 8296 ; 0x2068
.long 8276 ; 0x2054
.long 8256 ; 0x2040
.long 8236 ; 0x202c
.long 8216 ; 0x2018
.long 8196 ; 0x2004
.long 8176 ; 0x1ff0
.long 8156 ; 0x1fdc
.long 8136 ; 0x1fc8
.long 8116 ; 0x1fb4
.long 8096 ; 0x1fa0
.long 8076 ; 0x1f8c
.long 8058 ; 0x1f7a
.long 8038 ; 0x1f66
.long 8018 ; 0x1f52
.long 7998 ; 0x1f3e
.long 7980 ; 0x1f2c
.long 7960 ; 0x1f18
.long 7940 ; 0x1f04
.long 7922 ; 0x1ef2
.long 7902 ; 0x1ede
.long 7884 ; 0x1ecc
.long 7864 ; 0x1eb8
.long 7846 ; 0x1ea6
.long 7826 ; 0x1e92
.long 7806 ; 0x1e7e
.long 7788 ; 0x1e6c
.long 7770 ; 0x1e5a
.long 7750 ; 0x1e46
.long 7732 ; 0x1e34
.long 7712 ; 0x1e20
.long 7694 ; 0x1e0e
.long 7676 ; 0x1dfc
.long 7656 ; 0x1de8
.long 7638 ; 0x1dd6
.long 7620 ; 0x1dc4
.long 7600 ; 0x1db0
.long 7582 ; 0x1d9e
.long 7564 ; 0x1d8c
.long 7546 ; 0x1d7a
.long 7526 ; 0x1d66
.long 7508 ; 0x1d54
.long 7490 ; 0x1d42
.long 7472 ; 0x1d30
.long 7454 ; 0x1d1e
.long 7436 ; 0x1d0c
.long 7418 ; 0x1cfa
.long 7400 ; 0x1ce8
.long 7380 ; 0x1cd4
.long 7362 ; 0x1cc2
.long 7344 ; 0x1cb0
.long 7326 ; 0x1c9e
.long 7310 ; 0x1c8e
.long 7292 ; 0x1c7c
.long 7274 ; 0x1c6a
.long 7256 ; 0x1c58
.long 7238 ; 0x1c46
.long 7220 ; 0x1c34
.long 7202 ; 0x1c22
.long 7184 ; 0x1c10
.long 7166 ; 0x1bfe
.long 7150 ; 0x1bee
.long 7132 ; 0x1bdc
.long 7114 ; 0x1bca
.long 7096 ; 0x1bb8
.long 7080 ; 0x1ba8
.long 7062 ; 0x1b96
.long 7044 ; 0x1b84
.long 7026 ; 0x1b72
.long 7010 ; 0x1b62
.long 6992 ; 0x1b50
.long 6974 ; 0x1b3e
.long 6958 ; 0x1b2e
.long 6940 ; 0x1b1c
.long 6924 ; 0x1b0c
.long 6906 ; 0x1afa
.long 6890 ; 0x1aea
.long 6872 ; 0x1ad8
.long 6856 ; 0x1ac8
.long 6838 ; 0x1ab6
.long 6822 ; 0x1aa6
.long 6804 ; 0x1a94
.long 6788 ; 0x1a84
.long 6770 ; 0x1a72
.long 6754 ; 0x1a62
.long 6736 ; 0x1a50
.long 6720 ; 0x1a40
.long 6704 ; 0x1a30
.long 6686 ; 0x1a1e
.long 6670 ; 0x1a0e
.long 6654 ; 0x19fe
.long 6636 ; 0x19ec
.long 6620 ; 0x19dc
.long 6604 ; 0x19cc
.long 6586 ; 0x19ba
.long 6570 ; 0x19aa
.long 6554 ; 0x199a
.long 6538 ; 0x198a
.long 6522 ; 0x197a
.long 6504 ; 0x1968
.long 6488 ; 0x1958
.long 6472 ; 0x1948
.long 6456 ; 0x1938
.long 6440 ; 0x1928
.long 6424 ; 0x1918
.long 6408 ; 0x1908
.long 6390 ; 0x18f6
.long 6374 ; 0x18e6
.long 6358 ; 0x18d6
.long 6342 ; 0x18c6
.long 6326 ; 0x18b6
.long 6310 ; 0x18a6
.long 6294 ; 0x1896
.long 6278 ; 0x1886
.long 6262 ; 0x1876
.long 6246 ; 0x1866
.long 6230 ; 0x1856
.long 6216 ; 0x1848
.long 6200 ; 0x1838
.long 6184 ; 0x1828
.long 6168 ; 0x1818
.long 6152 ; 0x1808
.long 6136 ; 0x17f8
.long 6120 ; 0x17e8
.long 6104 ; 0x17d8
.long 6090 ; 0x17ca
.long 6074 ; 0x17ba
.long 6058 ; 0x17aa
.long 6042 ; 0x179a
.long 6028 ; 0x178c
.long 6012 ; 0x177c
.long 5996 ; 0x176c
.long 5980 ; 0x175c
.long 5966 ; 0x174e
.long 5950 ; 0x173e
.long 5934 ; 0x172e
.long 5920 ; 0x1720
.long 5904 ; 0x1710
.long 5888 ; 0x1700
.long 5874 ; 0x16f2
.long 5858 ; 0x16e2
.long 5842 ; 0x16d2
.long 5828 ; 0x16c4
.long 5812 ; 0x16b4
.long 5798 ; 0x16a6
.long 5782 ; 0x1696
.long 5768 ; 0x1688
.long 5752 ; 0x1678
.long 5738 ; 0x166a
.long 5722 ; 0x165a
.long 5708 ; 0x164c
.long 5692 ; 0x163c
.long 5678 ; 0x162e
.long 5662 ; 0x161e
.long 5648 ; 0x1610
.long 5632 ; 0x1600
.long 5618 ; 0x15f2
.long 5602 ; 0x15e2
.long 5588 ; 0x15d4
.long 5574 ; 0x15c6
.long 5558 ; 0x15b6
.long 5544 ; 0x15a8
.long 5530 ; 0x159a
.long 5514 ; 0x158a
.long 5500 ; 0x157c
.long 5486 ; 0x156e
.long 5470 ; 0x155e
.long 5456 ; 0x1550
.long 5442 ; 0x1542
.long 5428 ; 0x1534
.long 5412 ; 0x1524
.long 5398 ; 0x1516
.long 5384 ; 0x1508
.long 5370 ; 0x14fa
.long 5354 ; 0x14ea
.long 5340 ; 0x14dc
.long 5326 ; 0x14ce
.long 5312 ; 0x14c0
.long 5298 ; 0x14b2
.long 5284 ; 0x14a4
.long 5268 ; 0x1494
.long 5254 ; 0x1486
.long 5240 ; 0x1478
.long 5226 ; 0x146a
.long 5212 ; 0x145c
.long 5198 ; 0x144e
.long 5184 ; 0x1440
.long 5170 ; 0x1432
.long 5156 ; 0x1424
.long 5142 ; 0x1416
.long 5128 ; 0x1408
.long 5114 ; 0x13fa
.long 5100 ; 0x13ec
.long 5086 ; 0x13de
.long 5072 ; 0x13d0
.long 5058 ; 0x13c2
.long 5044 ; 0x13b4
.long 5030 ; 0x13a6
.long 5016 ; 0x1398
.long 5002 ; 0x138a
.long 4988 ; 0x137c
.long 4974 ; 0x136e
.long 4960 ; 0x1360
.long 4946 ; 0x1352
.long 4932 ; 0x1344
.long 4918 ; 0x1336
.long 4906 ; 0x132a
.long 4892 ; 0x131c
.long 4878 ; 0x130e
.long 4864 ; 0x1300
.long 4850 ; 0x12f2
.long 4836 ; 0x12e4
.long 4824 ; 0x12d8
.long 4810 ; 0x12ca
.long 4796 ; 0x12bc
.long 4782 ; 0x12ae
.long 4770 ; 0x12a2
.long 4756 ; 0x1294
.long 4742 ; 0x1286
.long 4728 ; 0x1278
.long 4716 ; 0x126c
.long 4702 ; 0x125e
.long 4688 ; 0x1250
.long 4676 ; 0x1244
.long 4662 ; 0x1236
.long 4648 ; 0x1228
.long 4634 ; 0x121a
.long 4622 ; 0x120e
.long 4608 ; 0x1200
.long 4596 ; 0x11f4
.long 4582 ; 0x11e6
.long 4568 ; 0x11d8
.long 4556 ; 0x11cc
.long 4542 ; 0x11be
.long 4530 ; 0x11b2
.long 4516 ; 0x11a4
.long 4502 ; 0x1196
.long 4490 ; 0x118a
.long 4476 ; 0x117c
.long 4464 ; 0x1170
.long 4450 ; 0x1162
.long 4438 ; 0x1156
.long 4424 ; 0x1148
.long 4412 ; 0x113c
.long 4398 ; 0x112e
.long 4386 ; 0x1122
.long 4372 ; 0x1114
.long 4360 ; 0x1108
.long 4346 ; 0x10fa
.long 4334 ; 0x10ee
.long 4320 ; 0x10e0
.long 4308 ; 0x10d4
.long 4294 ; 0x10c6
.long 4282 ; 0x10ba
.long 4270 ; 0x10ae
.long 4256 ; 0x10a0
.long 4244 ; 0x1094
.long 4230 ; 0x1086
.long 4218 ; 0x107a
.long 4206 ; 0x106e
.long 4192 ; 0x1060
.long 4180 ; 0x1054
.long 4168 ; 0x1048
.long 4154 ; 0x103a
.long 4142 ; 0x102e
.long 4130 ; 0x1022
.long 4116 ; 0x1014
.long 4104 ; 0x1008
.long 4092 ; 0xffc
.long 4080 ; 0xff0
.long 4066 ; 0xfe2
.long 4054 ; 0xfd6
.long 4042 ; 0xfca
.long 4028 ; 0xfbc
.long 4016 ; 0xfb0
.long 4004 ; 0xfa4
.long 3992 ; 0xf98
.long 3980 ; 0xf8c
.long 3966 ; 0xf7e
.long 3954 ; 0xf72
.long 3942 ; 0xf66
.long 3930 ; 0xf5a
.long 3918 ; 0xf4e
.long 3904 ; 0xf40
.long 3892 ; 0xf34
.long 3880 ; 0xf28
.long 3868 ; 0xf1c
.long 3856 ; 0xf10
.long 3844 ; 0xf04
.long 3832 ; 0xef8
.long 3820 ; 0xeec
.long 3806 ; 0xede
.long 3794 ; 0xed2
.long 3782 ; 0xec6
.long 3770 ; 0xeba
.long 3758 ; 0xeae
.long 3746 ; 0xea2
.long 3734 ; 0xe96
.long 3722 ; 0xe8a
.long 3710 ; 0xe7e
.long 3698 ; 0xe72
.long 3686 ; 0xe66
.long 3674 ; 0xe5a
.long 3662 ; 0xe4e
.long 3650 ; 0xe42
.long 3638 ; 0xe36
.long 3626 ; 0xe2a
.long 3614 ; 0xe1e
.long 3602 ; 0xe12
.long 3590 ; 0xe06
.long 3578 ; 0xdfa
.long 3566 ; 0xdee
.long 3554 ; 0xde2
.long 3542 ; 0xdd6
.long 3530 ; 0xdca
.long 3518 ; 0xdbe
.long 3506 ; 0xdb2
.long 3494 ; 0xda6
.long 3482 ; 0xd9a
.long 3472 ; 0xd90
.long 3460 ; 0xd84
.long 3448 ; 0xd78
.long 3436 ; 0xd6c
.long 3424 ; 0xd60
.long 3412 ; 0xd54
.long 3400 ; 0xd48
.long 3390 ; 0xd3e
.long 3378 ; 0xd32
.long 3366 ; 0xd26
.long 3354 ; 0xd1a
.long 3342 ; 0xd0e
.long 3330 ; 0xd02
.long 3320 ; 0xcf8
.long 3308 ; 0xcec
.long 3296 ; 0xce0
.long 3284 ; 0xcd4
.long 3272 ; 0xcc8
.long 3262 ; 0xcbe
.long 3250 ; 0xcb2
.long 3238 ; 0xca6
.long 3226 ; 0xc9a
.long 3216 ; 0xc90
.long 3204 ; 0xc84
.long 3192 ; 0xc78
.long 3182 ; 0xc6e
.long 3170 ; 0xc62
.long 3158 ; 0xc56
.long 3146 ; 0xc4a
.long 3136 ; 0xc40
.long 3124 ; 0xc34
.long 3112 ; 0xc28
.long 3102 ; 0xc1e
.long 3090 ; 0xc12
.long 3078 ; 0xc06
.long 3068 ; 0xbfc
.long 3056 ; 0xbf0
.long 3044 ; 0xbe4
.long 3034 ; 0xbda
.long 3022 ; 0xbce
.long 3012 ; 0xbc4
.long 3000 ; 0xbb8
.long 2988 ; 0xbac
.long 2978 ; 0xba2
.long 2966 ; 0xb96
.long 2956 ; 0xb8c
.long 2944 ; 0xb80
.long 2932 ; 0xb74
.long 2922 ; 0xb6a
.long 2910 ; 0xb5e
.long 2900 ; 0xb54
.long 2888 ; 0xb48
.long 2878 ; 0xb3e
.long 2866 ; 0xb32
.long 2856 ; 0xb28
.long 2844 ; 0xb1c
.long 2834 ; 0xb12
.long 2822 ; 0xb06
.long 2812 ; 0xafc
.long 2800 ; 0xaf0
.long 2790 ; 0xae6
.long 2778 ; 0xada
.long 2768 ; 0xad0
.long 2756 ; 0xac4
.long 2746 ; 0xaba
.long 2734 ; 0xaae
.long 2724 ; 0xaa4
.long 2712 ; 0xa98
.long 2702 ; 0xa8e
.long 2690 ; 0xa82
.long 2680 ; 0xa78
.long 2670 ; 0xa6e
.long 2658 ; 0xa62
.long 2648 ; 0xa58
.long 2636 ; 0xa4c
.long 2626 ; 0xa42
.long 2616 ; 0xa38
.long 2604 ; 0xa2c
.long 2594 ; 0xa22
.long 2582 ; 0xa16
.long 2572 ; 0xa0c
.long 2562 ; 0xa02
.long 2550 ; 0x9f6
.long 2540 ; 0x9ec
.long 2530 ; 0x9e2
.long 2518 ; 0x9d6
.long 2508 ; 0x9cc
.long 2498 ; 0x9c2
.long 2486 ; 0x9b6
.long 2476 ; 0x9ac
.long 2466 ; 0x9a2
.long 2454 ; 0x996
.long 2444 ; 0x98c
.long 2434 ; 0x982
.long 2422 ; 0x976
.long 2412 ; 0x96c
.long 2402 ; 0x962
.long 2392 ; 0x958
.long 2380 ; 0x94c
.long 2370 ; 0x942
.long 2360 ; 0x938
.long 2350 ; 0x92e
.long 2338 ; 0x922
.long 2328 ; 0x918
.long 2318 ; 0x90e
.long 2308 ; 0x904
.long 2296 ; 0x8f8
.long 2286 ; 0x8ee
.long 2276 ; 0x8e4
.long 2266 ; 0x8da
.long 2256 ; 0x8d0
.long 2244 ; 0x8c4
.long 2234 ; 0x8ba
.long 2224 ; 0x8b0
.long 2214 ; 0x8a6
.long 2204 ; 0x89c
.long 2192 ; 0x890
.long 2182 ; 0x886
.long 2172 ; 0x87c
.long 2162 ; 0x872
.long 2152 ; 0x868
.long 2142 ; 0x85e
.long 2132 ; 0x854
.long 2120 ; 0x848
.long 2110 ; 0x83e
.long 2100 ; 0x834
.long 2090 ; 0x82a
.long 2080 ; 0x820
.long 2070 ; 0x816
.long 2060 ; 0x80c
.long 2050 ; 0x802
.long 2040 ; 0x7f8
.long 2028 ; 0x7ec
.long 2018 ; 0x7e2
.long 2008 ; 0x7d8
.long 1998 ; 0x7ce
.long 1988 ; 0x7c4
.long 1978 ; 0x7ba
.long 1968 ; 0x7b0
.long 1958 ; 0x7a6
.long 1948 ; 0x79c
.long 1938 ; 0x792
.long 1928 ; 0x788
.long 1918 ; 0x77e
.long 1908 ; 0x774
.long 1898 ; 0x76a
.long 1888 ; 0x760
.long 1878 ; 0x756
.long 1868 ; 0x74c
.long 1858 ; 0x742
.long 1848 ; 0x738
.long 1838 ; 0x72e
.long 1828 ; 0x724
.long 1818 ; 0x71a
.long 1808 ; 0x710
.long 1798 ; 0x706
.long 1788 ; 0x6fc
.long 1778 ; 0x6f2
.long 1768 ; 0x6e8
.long 1758 ; 0x6de
.long 1748 ; 0x6d4
.long 1738 ; 0x6ca
.long 1728 ; 0x6c0
.long 1718 ; 0x6b6
.long 1708 ; 0x6ac
.long 1700 ; 0x6a4
.long 1690 ; 0x69a
.long 1680 ; 0x690
.long 1670 ; 0x686
.long 1660 ; 0x67c
.long 1650 ; 0x672
.long 1640 ; 0x668
.long 1630 ; 0x65e
.long 1620 ; 0x654
.long 1612 ; 0x64c
.long 1602 ; 0x642
.long 1592 ; 0x638
.long 1582 ; 0x62e
.long 1572 ; 0x624
.long 1562 ; 0x61a
.long 1552 ; 0x610
.long 1544 ; 0x608
.long 1534 ; 0x5fe
.long 1524 ; 0x5f4
.long 1514 ; 0x5ea
.long 1504 ; 0x5e0
.long 1494 ; 0x5d6
.long 1486 ; 0x5ce
.long 1476 ; 0x5c4
.long 1466 ; 0x5ba
.long 1456 ; 0x5b0
.long 1446 ; 0x5a6
.long 1438 ; 0x59e
.long 1428 ; 0x594
.long 1418 ; 0x58a
.long 1408 ; 0x580
.long 1398 ; 0x576
.long 1390 ; 0x56e
.long 1380 ; 0x564
.long 1370 ; 0x55a
.long 1360 ; 0x550
.long 1352 ; 0x548
.long 1342 ; 0x53e
.long 1332 ; 0x534
.long 1322 ; 0x52a
.long 1314 ; 0x522
.long 1304 ; 0x518
.long 1294 ; 0x50e
.long 1286 ; 0x506
.long 1276 ; 0x4fc
.long 1266 ; 0x4f2
.long 1256 ; 0x4e8
.long 1248 ; 0x4e0
.long 1238 ; 0x4d6
.long 1228 ; 0x4cc
.long 1220 ; 0x4c4
.long 1210 ; 0x4ba
.long 1200 ; 0x4b0
.long 1192 ; 0x4a8
.long 1182 ; 0x49e
.long 1172 ; 0x494
.long 1164 ; 0x48c
.long 1154 ; 0x482
.long 1144 ; 0x478
.long 1136 ; 0x470
.long 1126 ; 0x466
.long 1116 ; 0x45c
.long 1108 ; 0x454
.long 1098 ; 0x44a
.long 1088 ; 0x440
.long 1080 ; 0x438
.long 1070 ; 0x42e
.long 1062 ; 0x426
.long 1052 ; 0x41c
.long 1042 ; 0x412
.long 1034 ; 0x40a
.long 1024 ; 0x400
.long 1016 ; 0x3f8
.long 1006 ; 0x3ee
.long 996 ; 0x3e4
.long 988 ; 0x3dc
.long 978 ; 0x3d2
.long 970 ; 0x3ca
.long 960 ; 0x3c0
.long 950 ; 0x3b6
.long 942 ; 0x3ae
.long 932 ; 0x3a4
.long 924 ; 0x39c
.long 914 ; 0x392
.long 906 ; 0x38a
.long 896 ; 0x380
.long 888 ; 0x378
.long 878 ; 0x36e
.long 870 ; 0x366
.long 860 ; 0x35c
.long 850 ; 0x352
.long 842 ; 0x34a
.long 832 ; 0x340
.long 824 ; 0x338
.long 814 ; 0x32e
.long 806 ; 0x326
.long 796 ; 0x31c
.long 788 ; 0x314
.long 778 ; 0x30a
.long 770 ; 0x302
.long 760 ; 0x2f8
.long 752 ; 0x2f0
.long 744 ; 0x2e8
.long 734 ; 0x2de
.long 726 ; 0x2d6
.long 716 ; 0x2cc
.long 708 ; 0x2c4
.long 698 ; 0x2ba
.long 690 ; 0x2b2
.long 680 ; 0x2a8
.long 672 ; 0x2a0
.long 662 ; 0x296
.long 654 ; 0x28e
.long 646 ; 0x286
.long 636 ; 0x27c
.long 628 ; 0x274
.long 618 ; 0x26a
.long 610 ; 0x262
.long 600 ; 0x258
.long 592 ; 0x250
.long 584 ; 0x248
.long 574 ; 0x23e
.long 566 ; 0x236
.long 556 ; 0x22c
.long 548 ; 0x224
.long 540 ; 0x21c
.long 530 ; 0x212
.long 522 ; 0x20a
.long 514 ; 0x202
.long 504 ; 0x1f8
.long 496 ; 0x1f0
.long 486 ; 0x1e6
.long 478 ; 0x1de
.long 470 ; 0x1d6
.long 460 ; 0x1cc
.long 452 ; 0x1c4
.long 444 ; 0x1bc
.long 434 ; 0x1b2
.long 426 ; 0x1aa
.long 418 ; 0x1a2
.long 408 ; 0x198
.long 400 ; 0x190
.long 392 ; 0x188
.long 382 ; 0x17e
.long 374 ; 0x176
.long 366 ; 0x16e
.long 356 ; 0x164
.long 348 ; 0x15c
.long 340 ; 0x154
.long 330 ; 0x14a
.long 322 ; 0x142
.long 314 ; 0x13a
.long 306 ; 0x132
.long 296 ; 0x128
.long 288 ; 0x120
.long 280 ; 0x118
.long 270 ; 0x10e
.long 262 ; 0x106
.long 254 ; 0xfe
.long 246 ; 0xf6
.long 236 ; 0xec
.long 228 ; 0xe4
.long 220 ; 0xdc
.long 212 ; 0xd4
.long 202 ; 0xca
.long 194 ; 0xc2
.long 186 ; 0xba
.long 178 ; 0xb2
.long 168 ; 0xa8
.long 160 ; 0xa0
.long 152 ; 0x98
.long 144 ; 0x90
.long 136 ; 0x88
.long 126 ; 0x7e
.long 118 ; 0x76
.long 110 ; 0x6e
.long 102 ; 0x66
.long 94 ; 0x5e
.long 84 ; 0x54
.long 76 ; 0x4c
.long 68 ; 0x44
.long 60 ; 0x3c
.long 52 ; 0x34
.long 42 ; 0x2a
.long 34 ; 0x22
.long 26 ; 0x1a
.long 18 ; 0x12
.long 10 ; 0xa
.long 2 ; 0x2
.long 4294967288 ; 0xfffffff8
.long 4294967280 ; 0xfffffff0
.long 4294967272 ; 0xffffffe8
.long 4294967264 ; 0xffffffe0
.long 4294967256 ; 0xffffffd8
.long 4294967248 ; 0xffffffd0
.long 4294967240 ; 0xffffffc8
.long 4294967230 ; 0xffffffbe
.long 4294967222 ; 0xffffffb6
.long 4294967214 ; 0xffffffae
.long 4294967206 ; 0xffffffa6
.long 4294967198 ; 0xffffff9e
.long 4294967190 ; 0xffffff96
.long 4294967182 ; 0xffffff8e
.long 4294967172 ; 0xffffff84
.long 4294967164 ; 0xffffff7c
.long 4294967156 ; 0xffffff74
.long 4294967148 ; 0xffffff6c
.long 4294967140 ; 0xffffff64
.long 4294967132 ; 0xffffff5c
.long 4294967124 ; 0xffffff54
.long 4294967116 ; 0xffffff4c
.long 4294967108 ; 0xffffff44
.long 4294967100 ; 0xffffff3c
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pToAlt ## -- Begin function pToAlt
.p2align 4, 0x90
_pToAlt: ## @pToAlt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $6, -8(%rbp)
jge LBB0_2
## %bb.1:
movl $39999, -4(%rbp) ## imm = 0x9C3F
jmp LBB0_5
LBB0_2:
cmpl $1037, -8(%rbp) ## imm = 0x40D
jle LBB0_4
## %bb.3:
movl $-1000, -4(%rbp) ## imm = 0xFC18
jmp LBB0_5
LBB0_4:
movl -8(%rbp), %eax
subl $6, %eax
movslq %eax, %rcx
leaq _altTable(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @altTable
_altTable:
.long 34508 ## 0x86cc
.long 33452 ## 0x82ac
.long 32546 ## 0x7f22
.long 31756 ## 0x7c0c
.long 31054 ## 0x794e
.long 30420 ## 0x76d4
.long 29842 ## 0x7492
.long 29312 ## 0x7280
.long 28822 ## 0x7096
.long 28368 ## 0x6ed0
.long 27942 ## 0x6d26
.long 27544 ## 0x6b98
.long 27170 ## 0x6a22
.long 26816 ## 0x68c0
.long 26480 ## 0x6770
.long 26162 ## 0x6632
.long 25858 ## 0x6502
.long 25570 ## 0x63e2
.long 25292 ## 0x62cc
.long 25028 ## 0x61c4
.long 24774 ## 0x60c6
.long 24528 ## 0x5fd0
.long 24294 ## 0x5ee6
.long 24066 ## 0x5e02
.long 23848 ## 0x5d28
.long 23636 ## 0x5c54
.long 23432 ## 0x5b88
.long 23234 ## 0x5ac2
.long 23042 ## 0x5a02
.long 22854 ## 0x5946
.long 22674 ## 0x5892
.long 22498 ## 0x57e2
.long 22328 ## 0x5738
.long 22160 ## 0x5690
.long 21998 ## 0x55ee
.long 21840 ## 0x5550
.long 21686 ## 0x54b6
.long 21536 ## 0x5420
.long 21390 ## 0x538e
.long 21246 ## 0x52fe
.long 21106 ## 0x5272
.long 20968 ## 0x51e8
.long 20834 ## 0x5162
.long 20704 ## 0x50e0
.long 20576 ## 0x5060
.long 20450 ## 0x4fe2
.long 20326 ## 0x4f66
.long 20204 ## 0x4eec
.long 20086 ## 0x4e76
.long 19970 ## 0x4e02
.long 19856 ## 0x4d90
.long 19744 ## 0x4d20
.long 19634 ## 0x4cb2
.long 19524 ## 0x4c44
.long 19418 ## 0x4bda
.long 19314 ## 0x4b72
.long 19210 ## 0x4b0a
.long 19108 ## 0x4aa4
.long 19008 ## 0x4a40
.long 18910 ## 0x49de
.long 18814 ## 0x497e
.long 18718 ## 0x491e
.long 18624 ## 0x48c0
.long 18532 ## 0x4864
.long 18440 ## 0x4808
.long 18350 ## 0x47ae
.long 18262 ## 0x4756
.long 18174 ## 0x46fe
.long 18088 ## 0x46a8
.long 18004 ## 0x4654
.long 17920 ## 0x4600
.long 17836 ## 0x45ac
.long 17754 ## 0x455a
.long 17674 ## 0x450a
.long 17594 ## 0x44ba
.long 17516 ## 0x446c
.long 17438 ## 0x441e
.long 17360 ## 0x43d0
.long 17284 ## 0x4384
.long 17210 ## 0x433a
.long 17136 ## 0x42f0
.long 17062 ## 0x42a6
.long 16990 ## 0x425e
.long 16918 ## 0x4216
.long 16846 ## 0x41ce
.long 16776 ## 0x4188
.long 16708 ## 0x4144
.long 16638 ## 0x40fe
.long 16572 ## 0x40bc
.long 16504 ## 0x4078
.long 16438 ## 0x4036
.long 16372 ## 0x3ff4
.long 16306 ## 0x3fb2
.long 16242 ## 0x3f72
.long 16178 ## 0x3f32
.long 16116 ## 0x3ef4
.long 16054 ## 0x3eb6
.long 15992 ## 0x3e78
.long 15930 ## 0x3e3a
.long 15870 ## 0x3dfe
.long 15810 ## 0x3dc2
.long 15750 ## 0x3d86
.long 15690 ## 0x3d4a
.long 15632 ## 0x3d10
.long 15574 ## 0x3cd6
.long 15516 ## 0x3c9c
.long 15460 ## 0x3c64
.long 15404 ## 0x3c2c
.long 15348 ## 0x3bf4
.long 15292 ## 0x3bbc
.long 15238 ## 0x3b86
.long 15184 ## 0x3b50
.long 15130 ## 0x3b1a
.long 15076 ## 0x3ae4
.long 15022 ## 0x3aae
.long 14970 ## 0x3a7a
.long 14918 ## 0x3a46
.long 14866 ## 0x3a12
.long 14814 ## 0x39de
.long 14764 ## 0x39ac
.long 14714 ## 0x397a
.long 14662 ## 0x3946
.long 14614 ## 0x3916
.long 14564 ## 0x38e4
.long 14514 ## 0x38b2
.long 14466 ## 0x3882
.long 14418 ## 0x3852
.long 14370 ## 0x3822
.long 14322 ## 0x37f2
.long 14276 ## 0x37c4
.long 14228 ## 0x3794
.long 14182 ## 0x3766
.long 14136 ## 0x3738
.long 14090 ## 0x370a
.long 14044 ## 0x36dc
.long 14000 ## 0x36b0
.long 13956 ## 0x3684
.long 13910 ## 0x3656
.long 13866 ## 0x362a
.long 13822 ## 0x35fe
.long 13778 ## 0x35d2
.long 13736 ## 0x35a8
.long 13692 ## 0x357c
.long 13650 ## 0x3552
.long 13608 ## 0x3528
.long 13566 ## 0x34fe
.long 13524 ## 0x34d4
.long 13482 ## 0x34aa
.long 13440 ## 0x3480
.long 13400 ## 0x3458
.long 13358 ## 0x342e
.long 13318 ## 0x3406
.long 13278 ## 0x33de
.long 13238 ## 0x33b6
.long 13198 ## 0x338e
.long 13158 ## 0x3366
.long 13120 ## 0x3340
.long 13080 ## 0x3318
.long 13042 ## 0x32f2
.long 13004 ## 0x32cc
.long 12964 ## 0x32a4
.long 12926 ## 0x327e
.long 12888 ## 0x3258
.long 12852 ## 0x3234
.long 12814 ## 0x320e
.long 12776 ## 0x31e8
.long 12740 ## 0x31c4
.long 12702 ## 0x319e
.long 12666 ## 0x317a
.long 12630 ## 0x3156
.long 12594 ## 0x3132
.long 12558 ## 0x310e
.long 12522 ## 0x30ea
.long 12486 ## 0x30c6
.long 12452 ## 0x30a4
.long 12416 ## 0x3080
.long 12382 ## 0x305e
.long 12346 ## 0x303a
.long 12312 ## 0x3018
.long 12278 ## 0x2ff6
.long 12244 ## 0x2fd4
.long 12210 ## 0x2fb2
.long 12176 ## 0x2f90
.long 12142 ## 0x2f6e
.long 12108 ## 0x2f4c
.long 12076 ## 0x2f2c
.long 12042 ## 0x2f0a
.long 12008 ## 0x2ee8
.long 11976 ## 0x2ec8
.long 11944 ## 0x2ea8
.long 11912 ## 0x2e88
.long 11878 ## 0x2e66
.long 11846 ## 0x2e46
.long 11814 ## 0x2e26
.long 11784 ## 0x2e08
.long 11752 ## 0x2de8
.long 11720 ## 0x2dc8
.long 11688 ## 0x2da8
.long 11658 ## 0x2d8a
.long 11626 ## 0x2d6a
.long 11596 ## 0x2d4c
.long 11564 ## 0x2d2c
.long 11534 ## 0x2d0e
.long 11504 ## 0x2cf0
.long 11474 ## 0x2cd2
.long 11444 ## 0x2cb4
.long 11414 ## 0x2c96
.long 11384 ## 0x2c78
.long 11354 ## 0x2c5a
.long 11324 ## 0x2c3c
.long 11296 ## 0x2c20
.long 11266 ## 0x2c02
.long 11236 ## 0x2be4
.long 11208 ## 0x2bc8
.long 11178 ## 0x2baa
.long 11150 ## 0x2b8e
.long 11122 ## 0x2b72
.long 11092 ## 0x2b54
.long 11064 ## 0x2b38
.long 11036 ## 0x2b1c
.long 11008 ## 0x2b00
.long 10980 ## 0x2ae4
.long 10952 ## 0x2ac8
.long 10924 ## 0x2aac
.long 10896 ## 0x2a90
.long 10868 ## 0x2a74
.long 10842 ## 0x2a5a
.long 10814 ## 0x2a3e
.long 10786 ## 0x2a22
.long 10760 ## 0x2a08
.long 10732 ## 0x29ec
.long 10706 ## 0x29d2
.long 10678 ## 0x29b6
.long 10652 ## 0x299c
.long 10624 ## 0x2980
.long 10598 ## 0x2966
.long 10572 ## 0x294c
.long 10546 ## 0x2932
.long 10518 ## 0x2916
.long 10492 ## 0x28fc
.long 10466 ## 0x28e2
.long 10440 ## 0x28c8
.long 10414 ## 0x28ae
.long 10388 ## 0x2894
.long 10362 ## 0x287a
.long 10336 ## 0x2860
.long 10310 ## 0x2846
.long 10284 ## 0x282c
.long 10260 ## 0x2814
.long 10234 ## 0x27fa
.long 10208 ## 0x27e0
.long 10184 ## 0x27c8
.long 10158 ## 0x27ae
.long 10132 ## 0x2794
.long 10108 ## 0x277c
.long 10082 ## 0x2762
.long 10058 ## 0x274a
.long 10032 ## 0x2730
.long 10008 ## 0x2718
.long 9984 ## 0x2700
.long 9958 ## 0x26e6
.long 9934 ## 0x26ce
.long 9910 ## 0x26b6
.long 9886 ## 0x269e
.long 9860 ## 0x2684
.long 9836 ## 0x266c
.long 9812 ## 0x2654
.long 9788 ## 0x263c
.long 9764 ## 0x2624
.long 9740 ## 0x260c
.long 9716 ## 0x25f4
.long 9692 ## 0x25dc
.long 9668 ## 0x25c4
.long 9646 ## 0x25ae
.long 9622 ## 0x2596
.long 9598 ## 0x257e
.long 9574 ## 0x2566
.long 9552 ## 0x2550
.long 9528 ## 0x2538
.long 9504 ## 0x2520
.long 9482 ## 0x250a
.long 9458 ## 0x24f2
.long 9436 ## 0x24dc
.long 9412 ## 0x24c4
.long 9390 ## 0x24ae
.long 9366 ## 0x2496
.long 9344 ## 0x2480
.long 9320 ## 0x2468
.long 9298 ## 0x2452
.long 9276 ## 0x243c
.long 9252 ## 0x2424
.long 9230 ## 0x240e
.long 9208 ## 0x23f8
.long 9186 ## 0x23e2
.long 9162 ## 0x23ca
.long 9140 ## 0x23b4
.long 9118 ## 0x239e
.long 9096 ## 0x2388
.long 9074 ## 0x2372
.long 9052 ## 0x235c
.long 9030 ## 0x2346
.long 9008 ## 0x2330
.long 8986 ## 0x231a
.long 8964 ## 0x2304
.long 8942 ## 0x22ee
.long 8922 ## 0x22da
.long 8900 ## 0x22c4
.long 8878 ## 0x22ae
.long 8856 ## 0x2298
.long 8834 ## 0x2282
.long 8814 ## 0x226e
.long 8792 ## 0x2258
.long 8770 ## 0x2242
.long 8750 ## 0x222e
.long 8728 ## 0x2218
.long 8708 ## 0x2204
.long 8686 ## 0x21ee
.long 8666 ## 0x21da
.long 8644 ## 0x21c4
.long 8624 ## 0x21b0
.long 8602 ## 0x219a
.long 8582 ## 0x2186
.long 8560 ## 0x2170
.long 8540 ## 0x215c
.long 8520 ## 0x2148
.long 8498 ## 0x2132
.long 8478 ## 0x211e
.long 8458 ## 0x210a
.long 8438 ## 0x20f6
.long 8416 ## 0x20e0
.long 8396 ## 0x20cc
.long 8376 ## 0x20b8
.long 8356 ## 0x20a4
.long 8336 ## 0x2090
.long 8316 ## 0x207c
.long 8296 ## 0x2068
.long 8276 ## 0x2054
.long 8256 ## 0x2040
.long 8236 ## 0x202c
.long 8216 ## 0x2018
.long 8196 ## 0x2004
.long 8176 ## 0x1ff0
.long 8156 ## 0x1fdc
.long 8136 ## 0x1fc8
.long 8116 ## 0x1fb4
.long 8096 ## 0x1fa0
.long 8076 ## 0x1f8c
.long 8058 ## 0x1f7a
.long 8038 ## 0x1f66
.long 8018 ## 0x1f52
.long 7998 ## 0x1f3e
.long 7980 ## 0x1f2c
.long 7960 ## 0x1f18
.long 7940 ## 0x1f04
.long 7922 ## 0x1ef2
.long 7902 ## 0x1ede
.long 7884 ## 0x1ecc
.long 7864 ## 0x1eb8
.long 7846 ## 0x1ea6
.long 7826 ## 0x1e92
.long 7806 ## 0x1e7e
.long 7788 ## 0x1e6c
.long 7770 ## 0x1e5a
.long 7750 ## 0x1e46
.long 7732 ## 0x1e34
.long 7712 ## 0x1e20
.long 7694 ## 0x1e0e
.long 7676 ## 0x1dfc
.long 7656 ## 0x1de8
.long 7638 ## 0x1dd6
.long 7620 ## 0x1dc4
.long 7600 ## 0x1db0
.long 7582 ## 0x1d9e
.long 7564 ## 0x1d8c
.long 7546 ## 0x1d7a
.long 7526 ## 0x1d66
.long 7508 ## 0x1d54
.long 7490 ## 0x1d42
.long 7472 ## 0x1d30
.long 7454 ## 0x1d1e
.long 7436 ## 0x1d0c
.long 7418 ## 0x1cfa
.long 7400 ## 0x1ce8
.long 7380 ## 0x1cd4
.long 7362 ## 0x1cc2
.long 7344 ## 0x1cb0
.long 7326 ## 0x1c9e
.long 7310 ## 0x1c8e
.long 7292 ## 0x1c7c
.long 7274 ## 0x1c6a
.long 7256 ## 0x1c58
.long 7238 ## 0x1c46
.long 7220 ## 0x1c34
.long 7202 ## 0x1c22
.long 7184 ## 0x1c10
.long 7166 ## 0x1bfe
.long 7150 ## 0x1bee
.long 7132 ## 0x1bdc
.long 7114 ## 0x1bca
.long 7096 ## 0x1bb8
.long 7080 ## 0x1ba8
.long 7062 ## 0x1b96
.long 7044 ## 0x1b84
.long 7026 ## 0x1b72
.long 7010 ## 0x1b62
.long 6992 ## 0x1b50
.long 6974 ## 0x1b3e
.long 6958 ## 0x1b2e
.long 6940 ## 0x1b1c
.long 6924 ## 0x1b0c
.long 6906 ## 0x1afa
.long 6890 ## 0x1aea
.long 6872 ## 0x1ad8
.long 6856 ## 0x1ac8
.long 6838 ## 0x1ab6
.long 6822 ## 0x1aa6
.long 6804 ## 0x1a94
.long 6788 ## 0x1a84
.long 6770 ## 0x1a72
.long 6754 ## 0x1a62
.long 6736 ## 0x1a50
.long 6720 ## 0x1a40
.long 6704 ## 0x1a30
.long 6686 ## 0x1a1e
.long 6670 ## 0x1a0e
.long 6654 ## 0x19fe
.long 6636 ## 0x19ec
.long 6620 ## 0x19dc
.long 6604 ## 0x19cc
.long 6586 ## 0x19ba
.long 6570 ## 0x19aa
.long 6554 ## 0x199a
.long 6538 ## 0x198a
.long 6522 ## 0x197a
.long 6504 ## 0x1968
.long 6488 ## 0x1958
.long 6472 ## 0x1948
.long 6456 ## 0x1938
.long 6440 ## 0x1928
.long 6424 ## 0x1918
.long 6408 ## 0x1908
.long 6390 ## 0x18f6
.long 6374 ## 0x18e6
.long 6358 ## 0x18d6
.long 6342 ## 0x18c6
.long 6326 ## 0x18b6
.long 6310 ## 0x18a6
.long 6294 ## 0x1896
.long 6278 ## 0x1886
.long 6262 ## 0x1876
.long 6246 ## 0x1866
.long 6230 ## 0x1856
.long 6216 ## 0x1848
.long 6200 ## 0x1838
.long 6184 ## 0x1828
.long 6168 ## 0x1818
.long 6152 ## 0x1808
.long 6136 ## 0x17f8
.long 6120 ## 0x17e8
.long 6104 ## 0x17d8
.long 6090 ## 0x17ca
.long 6074 ## 0x17ba
.long 6058 ## 0x17aa
.long 6042 ## 0x179a
.long 6028 ## 0x178c
.long 6012 ## 0x177c
.long 5996 ## 0x176c
.long 5980 ## 0x175c
.long 5966 ## 0x174e
.long 5950 ## 0x173e
.long 5934 ## 0x172e
.long 5920 ## 0x1720
.long 5904 ## 0x1710
.long 5888 ## 0x1700
.long 5874 ## 0x16f2
.long 5858 ## 0x16e2
.long 5842 ## 0x16d2
.long 5828 ## 0x16c4
.long 5812 ## 0x16b4
.long 5798 ## 0x16a6
.long 5782 ## 0x1696
.long 5768 ## 0x1688
.long 5752 ## 0x1678
.long 5738 ## 0x166a
.long 5722 ## 0x165a
.long 5708 ## 0x164c
.long 5692 ## 0x163c
.long 5678 ## 0x162e
.long 5662 ## 0x161e
.long 5648 ## 0x1610
.long 5632 ## 0x1600
.long 5618 ## 0x15f2
.long 5602 ## 0x15e2
.long 5588 ## 0x15d4
.long 5574 ## 0x15c6
.long 5558 ## 0x15b6
.long 5544 ## 0x15a8
.long 5530 ## 0x159a
.long 5514 ## 0x158a
.long 5500 ## 0x157c
.long 5486 ## 0x156e
.long 5470 ## 0x155e
.long 5456 ## 0x1550
.long 5442 ## 0x1542
.long 5428 ## 0x1534
.long 5412 ## 0x1524
.long 5398 ## 0x1516
.long 5384 ## 0x1508
.long 5370 ## 0x14fa
.long 5354 ## 0x14ea
.long 5340 ## 0x14dc
.long 5326 ## 0x14ce
.long 5312 ## 0x14c0
.long 5298 ## 0x14b2
.long 5284 ## 0x14a4
.long 5268 ## 0x1494
.long 5254 ## 0x1486
.long 5240 ## 0x1478
.long 5226 ## 0x146a
.long 5212 ## 0x145c
.long 5198 ## 0x144e
.long 5184 ## 0x1440
.long 5170 ## 0x1432
.long 5156 ## 0x1424
.long 5142 ## 0x1416
.long 5128 ## 0x1408
.long 5114 ## 0x13fa
.long 5100 ## 0x13ec
.long 5086 ## 0x13de
.long 5072 ## 0x13d0
.long 5058 ## 0x13c2
.long 5044 ## 0x13b4
.long 5030 ## 0x13a6
.long 5016 ## 0x1398
.long 5002 ## 0x138a
.long 4988 ## 0x137c
.long 4974 ## 0x136e
.long 4960 ## 0x1360
.long 4946 ## 0x1352
.long 4932 ## 0x1344
.long 4918 ## 0x1336
.long 4906 ## 0x132a
.long 4892 ## 0x131c
.long 4878 ## 0x130e
.long 4864 ## 0x1300
.long 4850 ## 0x12f2
.long 4836 ## 0x12e4
.long 4824 ## 0x12d8
.long 4810 ## 0x12ca
.long 4796 ## 0x12bc
.long 4782 ## 0x12ae
.long 4770 ## 0x12a2
.long 4756 ## 0x1294
.long 4742 ## 0x1286
.long 4728 ## 0x1278
.long 4716 ## 0x126c
.long 4702 ## 0x125e
.long 4688 ## 0x1250
.long 4676 ## 0x1244
.long 4662 ## 0x1236
.long 4648 ## 0x1228
.long 4634 ## 0x121a
.long 4622 ## 0x120e
.long 4608 ## 0x1200
.long 4596 ## 0x11f4
.long 4582 ## 0x11e6
.long 4568 ## 0x11d8
.long 4556 ## 0x11cc
.long 4542 ## 0x11be
.long 4530 ## 0x11b2
.long 4516 ## 0x11a4
.long 4502 ## 0x1196
.long 4490 ## 0x118a
.long 4476 ## 0x117c
.long 4464 ## 0x1170
.long 4450 ## 0x1162
.long 4438 ## 0x1156
.long 4424 ## 0x1148
.long 4412 ## 0x113c
.long 4398 ## 0x112e
.long 4386 ## 0x1122
.long 4372 ## 0x1114
.long 4360 ## 0x1108
.long 4346 ## 0x10fa
.long 4334 ## 0x10ee
.long 4320 ## 0x10e0
.long 4308 ## 0x10d4
.long 4294 ## 0x10c6
.long 4282 ## 0x10ba
.long 4270 ## 0x10ae
.long 4256 ## 0x10a0
.long 4244 ## 0x1094
.long 4230 ## 0x1086
.long 4218 ## 0x107a
.long 4206 ## 0x106e
.long 4192 ## 0x1060
.long 4180 ## 0x1054
.long 4168 ## 0x1048
.long 4154 ## 0x103a
.long 4142 ## 0x102e
.long 4130 ## 0x1022
.long 4116 ## 0x1014
.long 4104 ## 0x1008
.long 4092 ## 0xffc
.long 4080 ## 0xff0
.long 4066 ## 0xfe2
.long 4054 ## 0xfd6
.long 4042 ## 0xfca
.long 4028 ## 0xfbc
.long 4016 ## 0xfb0
.long 4004 ## 0xfa4
.long 3992 ## 0xf98
.long 3980 ## 0xf8c
.long 3966 ## 0xf7e
.long 3954 ## 0xf72
.long 3942 ## 0xf66
.long 3930 ## 0xf5a
.long 3918 ## 0xf4e
.long 3904 ## 0xf40
.long 3892 ## 0xf34
.long 3880 ## 0xf28
.long 3868 ## 0xf1c
.long 3856 ## 0xf10
.long 3844 ## 0xf04
.long 3832 ## 0xef8
.long 3820 ## 0xeec
.long 3806 ## 0xede
.long 3794 ## 0xed2
.long 3782 ## 0xec6
.long 3770 ## 0xeba
.long 3758 ## 0xeae
.long 3746 ## 0xea2
.long 3734 ## 0xe96
.long 3722 ## 0xe8a
.long 3710 ## 0xe7e
.long 3698 ## 0xe72
.long 3686 ## 0xe66
.long 3674 ## 0xe5a
.long 3662 ## 0xe4e
.long 3650 ## 0xe42
.long 3638 ## 0xe36
.long 3626 ## 0xe2a
.long 3614 ## 0xe1e
.long 3602 ## 0xe12
.long 3590 ## 0xe06
.long 3578 ## 0xdfa
.long 3566 ## 0xdee
.long 3554 ## 0xde2
.long 3542 ## 0xdd6
.long 3530 ## 0xdca
.long 3518 ## 0xdbe
.long 3506 ## 0xdb2
.long 3494 ## 0xda6
.long 3482 ## 0xd9a
.long 3472 ## 0xd90
.long 3460 ## 0xd84
.long 3448 ## 0xd78
.long 3436 ## 0xd6c
.long 3424 ## 0xd60
.long 3412 ## 0xd54
.long 3400 ## 0xd48
.long 3390 ## 0xd3e
.long 3378 ## 0xd32
.long 3366 ## 0xd26
.long 3354 ## 0xd1a
.long 3342 ## 0xd0e
.long 3330 ## 0xd02
.long 3320 ## 0xcf8
.long 3308 ## 0xcec
.long 3296 ## 0xce0
.long 3284 ## 0xcd4
.long 3272 ## 0xcc8
.long 3262 ## 0xcbe
.long 3250 ## 0xcb2
.long 3238 ## 0xca6
.long 3226 ## 0xc9a
.long 3216 ## 0xc90
.long 3204 ## 0xc84
.long 3192 ## 0xc78
.long 3182 ## 0xc6e
.long 3170 ## 0xc62
.long 3158 ## 0xc56
.long 3146 ## 0xc4a
.long 3136 ## 0xc40
.long 3124 ## 0xc34
.long 3112 ## 0xc28
.long 3102 ## 0xc1e
.long 3090 ## 0xc12
.long 3078 ## 0xc06
.long 3068 ## 0xbfc
.long 3056 ## 0xbf0
.long 3044 ## 0xbe4
.long 3034 ## 0xbda
.long 3022 ## 0xbce
.long 3012 ## 0xbc4
.long 3000 ## 0xbb8
.long 2988 ## 0xbac
.long 2978 ## 0xba2
.long 2966 ## 0xb96
.long 2956 ## 0xb8c
.long 2944 ## 0xb80
.long 2932 ## 0xb74
.long 2922 ## 0xb6a
.long 2910 ## 0xb5e
.long 2900 ## 0xb54
.long 2888 ## 0xb48
.long 2878 ## 0xb3e
.long 2866 ## 0xb32
.long 2856 ## 0xb28
.long 2844 ## 0xb1c
.long 2834 ## 0xb12
.long 2822 ## 0xb06
.long 2812 ## 0xafc
.long 2800 ## 0xaf0
.long 2790 ## 0xae6
.long 2778 ## 0xada
.long 2768 ## 0xad0
.long 2756 ## 0xac4
.long 2746 ## 0xaba
.long 2734 ## 0xaae
.long 2724 ## 0xaa4
.long 2712 ## 0xa98
.long 2702 ## 0xa8e
.long 2690 ## 0xa82
.long 2680 ## 0xa78
.long 2670 ## 0xa6e
.long 2658 ## 0xa62
.long 2648 ## 0xa58
.long 2636 ## 0xa4c
.long 2626 ## 0xa42
.long 2616 ## 0xa38
.long 2604 ## 0xa2c
.long 2594 ## 0xa22
.long 2582 ## 0xa16
.long 2572 ## 0xa0c
.long 2562 ## 0xa02
.long 2550 ## 0x9f6
.long 2540 ## 0x9ec
.long 2530 ## 0x9e2
.long 2518 ## 0x9d6
.long 2508 ## 0x9cc
.long 2498 ## 0x9c2
.long 2486 ## 0x9b6
.long 2476 ## 0x9ac
.long 2466 ## 0x9a2
.long 2454 ## 0x996
.long 2444 ## 0x98c
.long 2434 ## 0x982
.long 2422 ## 0x976
.long 2412 ## 0x96c
.long 2402 ## 0x962
.long 2392 ## 0x958
.long 2380 ## 0x94c
.long 2370 ## 0x942
.long 2360 ## 0x938
.long 2350 ## 0x92e
.long 2338 ## 0x922
.long 2328 ## 0x918
.long 2318 ## 0x90e
.long 2308 ## 0x904
.long 2296 ## 0x8f8
.long 2286 ## 0x8ee
.long 2276 ## 0x8e4
.long 2266 ## 0x8da
.long 2256 ## 0x8d0
.long 2244 ## 0x8c4
.long 2234 ## 0x8ba
.long 2224 ## 0x8b0
.long 2214 ## 0x8a6
.long 2204 ## 0x89c
.long 2192 ## 0x890
.long 2182 ## 0x886
.long 2172 ## 0x87c
.long 2162 ## 0x872
.long 2152 ## 0x868
.long 2142 ## 0x85e
.long 2132 ## 0x854
.long 2120 ## 0x848
.long 2110 ## 0x83e
.long 2100 ## 0x834
.long 2090 ## 0x82a
.long 2080 ## 0x820
.long 2070 ## 0x816
.long 2060 ## 0x80c
.long 2050 ## 0x802
.long 2040 ## 0x7f8
.long 2028 ## 0x7ec
.long 2018 ## 0x7e2
.long 2008 ## 0x7d8
.long 1998 ## 0x7ce
.long 1988 ## 0x7c4
.long 1978 ## 0x7ba
.long 1968 ## 0x7b0
.long 1958 ## 0x7a6
.long 1948 ## 0x79c
.long 1938 ## 0x792
.long 1928 ## 0x788
.long 1918 ## 0x77e
.long 1908 ## 0x774
.long 1898 ## 0x76a
.long 1888 ## 0x760
.long 1878 ## 0x756
.long 1868 ## 0x74c
.long 1858 ## 0x742
.long 1848 ## 0x738
.long 1838 ## 0x72e
.long 1828 ## 0x724
.long 1818 ## 0x71a
.long 1808 ## 0x710
.long 1798 ## 0x706
.long 1788 ## 0x6fc
.long 1778 ## 0x6f2
.long 1768 ## 0x6e8
.long 1758 ## 0x6de
.long 1748 ## 0x6d4
.long 1738 ## 0x6ca
.long 1728 ## 0x6c0
.long 1718 ## 0x6b6
.long 1708 ## 0x6ac
.long 1700 ## 0x6a4
.long 1690 ## 0x69a
.long 1680 ## 0x690
.long 1670 ## 0x686
.long 1660 ## 0x67c
.long 1650 ## 0x672
.long 1640 ## 0x668
.long 1630 ## 0x65e
.long 1620 ## 0x654
.long 1612 ## 0x64c
.long 1602 ## 0x642
.long 1592 ## 0x638
.long 1582 ## 0x62e
.long 1572 ## 0x624
.long 1562 ## 0x61a
.long 1552 ## 0x610
.long 1544 ## 0x608
.long 1534 ## 0x5fe
.long 1524 ## 0x5f4
.long 1514 ## 0x5ea
.long 1504 ## 0x5e0
.long 1494 ## 0x5d6
.long 1486 ## 0x5ce
.long 1476 ## 0x5c4
.long 1466 ## 0x5ba
.long 1456 ## 0x5b0
.long 1446 ## 0x5a6
.long 1438 ## 0x59e
.long 1428 ## 0x594
.long 1418 ## 0x58a
.long 1408 ## 0x580
.long 1398 ## 0x576
.long 1390 ## 0x56e
.long 1380 ## 0x564
.long 1370 ## 0x55a
.long 1360 ## 0x550
.long 1352 ## 0x548
.long 1342 ## 0x53e
.long 1332 ## 0x534
.long 1322 ## 0x52a
.long 1314 ## 0x522
.long 1304 ## 0x518
.long 1294 ## 0x50e
.long 1286 ## 0x506
.long 1276 ## 0x4fc
.long 1266 ## 0x4f2
.long 1256 ## 0x4e8
.long 1248 ## 0x4e0
.long 1238 ## 0x4d6
.long 1228 ## 0x4cc
.long 1220 ## 0x4c4
.long 1210 ## 0x4ba
.long 1200 ## 0x4b0
.long 1192 ## 0x4a8
.long 1182 ## 0x49e
.long 1172 ## 0x494
.long 1164 ## 0x48c
.long 1154 ## 0x482
.long 1144 ## 0x478
.long 1136 ## 0x470
.long 1126 ## 0x466
.long 1116 ## 0x45c
.long 1108 ## 0x454
.long 1098 ## 0x44a
.long 1088 ## 0x440
.long 1080 ## 0x438
.long 1070 ## 0x42e
.long 1062 ## 0x426
.long 1052 ## 0x41c
.long 1042 ## 0x412
.long 1034 ## 0x40a
.long 1024 ## 0x400
.long 1016 ## 0x3f8
.long 1006 ## 0x3ee
.long 996 ## 0x3e4
.long 988 ## 0x3dc
.long 978 ## 0x3d2
.long 970 ## 0x3ca
.long 960 ## 0x3c0
.long 950 ## 0x3b6
.long 942 ## 0x3ae
.long 932 ## 0x3a4
.long 924 ## 0x39c
.long 914 ## 0x392
.long 906 ## 0x38a
.long 896 ## 0x380
.long 888 ## 0x378
.long 878 ## 0x36e
.long 870 ## 0x366
.long 860 ## 0x35c
.long 850 ## 0x352
.long 842 ## 0x34a
.long 832 ## 0x340
.long 824 ## 0x338
.long 814 ## 0x32e
.long 806 ## 0x326
.long 796 ## 0x31c
.long 788 ## 0x314
.long 778 ## 0x30a
.long 770 ## 0x302
.long 760 ## 0x2f8
.long 752 ## 0x2f0
.long 744 ## 0x2e8
.long 734 ## 0x2de
.long 726 ## 0x2d6
.long 716 ## 0x2cc
.long 708 ## 0x2c4
.long 698 ## 0x2ba
.long 690 ## 0x2b2
.long 680 ## 0x2a8
.long 672 ## 0x2a0
.long 662 ## 0x296
.long 654 ## 0x28e
.long 646 ## 0x286
.long 636 ## 0x27c
.long 628 ## 0x274
.long 618 ## 0x26a
.long 610 ## 0x262
.long 600 ## 0x258
.long 592 ## 0x250
.long 584 ## 0x248
.long 574 ## 0x23e
.long 566 ## 0x236
.long 556 ## 0x22c
.long 548 ## 0x224
.long 540 ## 0x21c
.long 530 ## 0x212
.long 522 ## 0x20a
.long 514 ## 0x202
.long 504 ## 0x1f8
.long 496 ## 0x1f0
.long 486 ## 0x1e6
.long 478 ## 0x1de
.long 470 ## 0x1d6
.long 460 ## 0x1cc
.long 452 ## 0x1c4
.long 444 ## 0x1bc
.long 434 ## 0x1b2
.long 426 ## 0x1aa
.long 418 ## 0x1a2
.long 408 ## 0x198
.long 400 ## 0x190
.long 392 ## 0x188
.long 382 ## 0x17e
.long 374 ## 0x176
.long 366 ## 0x16e
.long 356 ## 0x164
.long 348 ## 0x15c
.long 340 ## 0x154
.long 330 ## 0x14a
.long 322 ## 0x142
.long 314 ## 0x13a
.long 306 ## 0x132
.long 296 ## 0x128
.long 288 ## 0x120
.long 280 ## 0x118
.long 270 ## 0x10e
.long 262 ## 0x106
.long 254 ## 0xfe
.long 246 ## 0xf6
.long 236 ## 0xec
.long 228 ## 0xe4
.long 220 ## 0xdc
.long 212 ## 0xd4
.long 202 ## 0xca
.long 194 ## 0xc2
.long 186 ## 0xba
.long 178 ## 0xb2
.long 168 ## 0xa8
.long 160 ## 0xa0
.long 152 ## 0x98
.long 144 ## 0x90
.long 136 ## 0x88
.long 126 ## 0x7e
.long 118 ## 0x76
.long 110 ## 0x6e
.long 102 ## 0x66
.long 94 ## 0x5e
.long 84 ## 0x54
.long 76 ## 0x4c
.long 68 ## 0x44
.long 60 ## 0x3c
.long 52 ## 0x34
.long 42 ## 0x2a
.long 34 ## 0x22
.long 26 ## 0x1a
.long 18 ## 0x12
.long 10 ## 0xa
.long 2 ## 0x2
.long 4294967288 ## 0xfffffff8
.long 4294967280 ## 0xfffffff0
.long 4294967272 ## 0xffffffe8
.long 4294967264 ## 0xffffffe0
.long 4294967256 ## 0xffffffd8
.long 4294967248 ## 0xffffffd0
.long 4294967240 ## 0xffffffc8
.long 4294967230 ## 0xffffffbe
.long 4294967222 ## 0xffffffb6
.long 4294967214 ## 0xffffffae
.long 4294967206 ## 0xffffffa6
.long 4294967198 ## 0xffffff9e
.long 4294967190 ## 0xffffff96
.long 4294967182 ## 0xffffff8e
.long 4294967172 ## 0xffffff84
.long 4294967164 ## 0xffffff7c
.long 4294967156 ## 0xffffff74
.long 4294967148 ## 0xffffff6c
.long 4294967140 ## 0xffffff64
.long 4294967132 ## 0xffffff5c
.long 4294967124 ## 0xffffff54
.long 4294967116 ## 0xffffff4c
.long 4294967108 ## 0xffffff44
.long 4294967100 ## 0xffffff3c
.subsections_via_symbols
|
the_stack_data/99524.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 0x4045000000000000 ; double 42
.section __TEXT,__text,regular,pure_instructions
.globl _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]
fmov d0, #5.00000000
stur d0, [x29, #-24]
movi d0, #0000000000000000
stur d0, [x29, #-16]
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
stur d1, [x29, #-40]
stur d0, [x29, #-32]
ldur d1, [x29, #-24]
str d1, [sp, #88] ; 8-byte Folded Spill
ldur d2, [x29, #-16]
str d2, [sp, #96] ; 8-byte Folded Spill
ldur d4, [x29, #-40]
stur d4, [x29, #-88] ; 8-byte Folded Spill
ldur d5, [x29, #-32]
stur d5, [x29, #-80] ; 8-byte Folded Spill
fmul d0, d1, d4
fmul d3, d2, d5
fmul d1, d1, d5
fmul d2, d2, d4
fsub d0, d0, d3
stur d0, [x29, #-72] ; 8-byte Folded Spill
fadd d1, d1, d2
stur d1, [x29, #-64] ; 8-byte Folded Spill
fcmp d0, d0
cset w8, vc
stur d0, [x29, #-56] ; 8-byte Folded Spill
stur d1, [x29, #-48] ; 8-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldur d1, [x29, #-64] ; 8-byte Folded Reload
ldur d0, [x29, #-72] ; 8-byte Folded Reload
fcmp d1, d1
cset w8, vc
stur d0, [x29, #-56] ; 8-byte Folded Spill
stur d1, [x29, #-48] ; 8-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur d3, [x29, #-80] ; 8-byte Folded Reload
ldur d2, [x29, #-88] ; 8-byte Folded Reload
ldr d1, [sp, #96] ; 8-byte Folded Reload
ldr d0, [sp, #88] ; 8-byte Folded Reload
bl ___muldc3
stur d0, [x29, #-56] ; 8-byte Folded Spill
stur d1, [x29, #-48] ; 8-byte Folded Spill
b LBB0_3
LBB0_3:
ldur d0, [x29, #-56] ; 8-byte Folded Reload
ldur d1, [x29, #-48] ; 8-byte Folded Reload
str d1, [sp, #8] ; 8-byte Folded Spill
str d0, [sp, #16] ; 8-byte Folded Spill
ldur d1, [x29, #-40]
str d1, [sp, #24] ; 8-byte Folded Spill
ldur d2, [x29, #-32]
str d2, [sp, #32] ; 8-byte Folded Spill
ldur d4, [x29, #-24]
str d4, [sp, #40] ; 8-byte Folded Spill
ldur d5, [x29, #-16]
str d5, [sp, #48] ; 8-byte Folded Spill
fmul d0, d1, d4
fmul d3, d2, d5
fmul d1, d1, d5
fmul d2, d2, d4
fsub d0, d0, d3
str d0, [sp, #56] ; 8-byte Folded Spill
fadd d1, d1, d2
str d1, [sp, #64] ; 8-byte Folded Spill
fcmp d0, d0
cset w8, vc
str d0, [sp, #72] ; 8-byte Folded Spill
str d1, [sp, #80] ; 8-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldr d1, [sp, #64] ; 8-byte Folded Reload
ldr d0, [sp, #56] ; 8-byte Folded Reload
fcmp d1, d1
cset w8, vc
str d0, [sp, #72] ; 8-byte Folded Spill
str d1, [sp, #80] ; 8-byte Folded Spill
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr d3, [sp, #48] ; 8-byte Folded Reload
ldr d2, [sp, #40] ; 8-byte Folded Reload
ldr d1, [sp, #32] ; 8-byte Folded Reload
ldr d0, [sp, #24] ; 8-byte Folded Reload
bl ___muldc3
str d0, [sp, #72] ; 8-byte Folded Spill
str d1, [sp, #80] ; 8-byte Folded Spill
b LBB0_6
LBB0_6:
ldr d0, [sp, #8] ; 8-byte Folded Reload
ldr d2, [sp, #16] ; 8-byte Folded Reload
ldr d3, [sp, #72] ; 8-byte Folded Reload
ldr d1, [sp, #80] ; 8-byte Folded Reload
fcmp d2, d3
cset w8, ne
fcmp d0, d1
cset w9, ne
orr w8, w8, w9
and w0, w8, #0x1
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.globl _test2 ; -- Begin function test2
.p2align 2
_test2: ; @test2
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
mov w0, #1
bl _bar
add x0, sp, #24
str d0, [sp, #24]
str d1, [sp, #32]
bl _test
ldr d1, [sp, #24]
ldr d0, [sp, #32]
str d1, [sp, #8]
str d0, [sp, #16]
ldr d0, [sp, #8]
ldr d1, [sp, #16]
bl _takecomplex
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _test3 ; -- Begin function test3
.p2align 2
_test3: ; @test3
.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 x9, _g1@GOTPAGE
ldr x9, [x9, _g1@GOTPAGEOFF]
str x9, [sp, #16] ; 8-byte Folded Spill
adrp x8, _g2@GOTPAGE
ldr x8, [x8, _g2@GOTPAGEOFF]
adrp x10, _D@GOTPAGE
ldr x10, [x10, _D@GOTPAGEOFF]
str x10, [sp, #24] ; 8-byte Folded Spill
adrp x10, _cf@GOTPAGE
ldr x10, [x10, _cf@GOTPAGEOFF]
str x10, [sp, #32] ; 8-byte Folded Spill
ldr d1, [x9]
ldr d0, [x9, #8]
ldr d3, [x8]
ldr d2, [x8, #8]
fadd d1, d1, d3
fadd d0, d0, d2
str d1, [x9]
str d0, [x9, #8]
ldr d1, [x9]
ldr d0, [x9, #8]
ldr d3, [x8]
ldr d2, [x8, #8]
fsub d1, d1, d3
fsub d0, d0, d2
str d1, [x9]
str d0, [x9, #8]
ldr d1, [x9]
str d1, [sp, #40] ; 8-byte Folded Spill
ldr d2, [x9, #8]
str d2, [sp, #48] ; 8-byte Folded Spill
ldr d4, [x8]
str d4, [sp, #56] ; 8-byte Folded Spill
ldr d5, [x8, #8]
stur d5, [x29, #-48] ; 8-byte Folded Spill
fmul d0, d1, d4
fmul d3, d2, d5
fmul d1, d1, d5
fmul d2, d2, d4
fsub d0, d0, d3
stur d0, [x29, #-40] ; 8-byte Folded Spill
fadd d1, d1, d2
stur d1, [x29, #-32] ; 8-byte Folded Spill
fcmp d0, d0
cset w8, vc
stur d0, [x29, #-24] ; 8-byte Folded Spill
stur d1, [x29, #-16] ; 8-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_1
LBB2_1:
ldur d1, [x29, #-32] ; 8-byte Folded Reload
ldur d0, [x29, #-40] ; 8-byte Folded Reload
fcmp d1, d1
cset w8, vc
stur d0, [x29, #-24] ; 8-byte Folded Spill
stur d1, [x29, #-16] ; 8-byte Folded Spill
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
ldur d3, [x29, #-48] ; 8-byte Folded Reload
ldr d2, [sp, #56] ; 8-byte Folded Reload
ldr d1, [sp, #48] ; 8-byte Folded Reload
ldr d0, [sp, #40] ; 8-byte Folded Reload
bl ___muldc3
stur d0, [x29, #-24] ; 8-byte Folded Spill
stur d1, [x29, #-16] ; 8-byte Folded Spill
b LBB2_3
LBB2_3:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldur d1, [x29, #-24] ; 8-byte Folded Reload
ldur d0, [x29, #-16] ; 8-byte Folded Reload
str d1, [x9]
str d0, [x9, #8]
ldr d1, [x9]
ldr d0, [x9, #8]
fneg d0, d0
fneg d1, d1
fneg d0, d0
str d1, [x9]
str d0, [x9, #8]
ldr d0, [x9]
stur d0, [x29, #-8]
ldr d2, [x10]
ldr s1, [x8]
ldr s0, [x8, #4]
fcvt d1, s1
fcvt d0, s0
fadd d1, d1, d2
fcvt s1, d1
fcvt s0, d0
str s1, [x8]
str s0, [x8, #4]
ldr d2, [x9]
ldr d3, [x9, #8]
ldr s0, [x8]
ldr s1, [x8, #4]
fcvt d0, s0
fcvt d1, s1
bl ___divdc3
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
str d0, [sp, #8] ; 8-byte Folded Spill
fmov d0, d1
ldr d1, [sp, #8] ; 8-byte Folded Reload
fcvt s1, d1
fcvt s0, d0
str s1, [x10]
str s0, [x10, #4]
ldr d1, [x8]
ldr d0, [x8, #8]
ldr d2, [x9]
fadd d1, d1, d2
str d1, [x8]
str d0, [x8, #8]
ldr d1, [x9]
ldr d2, [x8]
ldr d0, [x8, #8]
fadd d1, d1, d2
str d1, [x8]
str d0, [x8, #8]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _test3int ; -- Begin function test3int
.p2align 2
_test3int: ; @test3int
.cfi_startproc
; %bb.0:
adrp x9, _ci1@GOTPAGE
ldr x9, [x9, _ci1@GOTPAGEOFF]
adrp x12, _ci2@GOTPAGE
ldr x12, [x12, _ci2@GOTPAGEOFF]
adrp x8, _i@GOTPAGE
ldr x8, [x8, _i@GOTPAGEOFF]
adrp x11, _cs@GOTPAGE
ldr x11, [x11, _cs@GOTPAGEOFF]
ldr w13, [x9]
ldr w10, [x9, #4]
ldr w15, [x12]
ldr w14, [x12, #4]
add w13, w13, w15
add w10, w10, w14
str w13, [x9]
str w10, [x9, #4]
ldr w13, [x9]
ldr w10, [x9, #4]
ldr w15, [x12]
ldr w14, [x12, #4]
subs w13, w13, w15
subs w10, w10, w14
str w13, [x9]
str w10, [x9, #4]
ldr w13, [x9]
ldr w10, [x9, #4]
ldr w15, [x12]
ldr w14, [x12, #4]
mul w12, w13, w15
mul w16, w10, w14
subs w12, w12, w16
mul w10, w10, w15
mul w13, w13, w14
add w10, w10, w13
str w12, [x9]
str w10, [x9, #4]
ldr w12, [x9]
ldr w13, [x9, #4]
mov w10, #0
subs w13, w10, w13
subs w12, w10, w12
subs w10, w10, w13
str w12, [x9]
str w10, [x9, #4]
ldr w10, [x9]
str w10, [x8]
ldr w13, [x8]
ldrsh w12, [x11]
ldrsh w10, [x11, #2]
add w12, w12, w13
add w10, w10, #0
strh w12, [x11]
strh w10, [x11, #2]
ldr w16, [x9]
ldr w15, [x9, #4]
ldrsh w14, [x11]
ldrsh w10, [x11, #2]
mul w12, w14, w16
mul w13, w10, w15
add w12, w12, w13
mul w13, w16, w16
mul w17, w15, w15
add w13, w13, w17
mul w10, w10, w16
mul w14, w14, w15
subs w10, w10, w14
sdiv w12, w12, w13
sdiv w10, w10, w13
strh w12, [x11]
strh w10, [x11, #2]
ldr w11, [x9]
ldr w10, [x9, #4]
ldr w12, [x8]
add w11, w11, w12
add w10, w10, #0
str w11, [x9]
str w10, [x9, #4]
ldr w10, [x8]
ldr w11, [x9]
ldr w8, [x9, #4]
add w10, w10, w11
add w8, w8, #0
str w10, [x9]
str w8, [x9, #4]
ret
.cfi_endproc
; -- End function
.globl _t1 ; -- Begin function t1
.p2align 2
_t1: ; @t1
.cfi_startproc
; %bb.0:
adrp x8, _cf@GOTPAGE
ldr x8, [x8, _cf@GOTPAGEOFF]
fmov s0, #4.00000000
str s0, [x8]
ret
.cfi_endproc
; -- End function
.globl _t2 ; -- Begin function t2
.p2align 2
_t2: ; @t2
.cfi_startproc
; %bb.0:
adrp x8, _cf@GOTPAGE
ldr x8, [x8, _cf@GOTPAGEOFF]
fmov s0, #4.00000000
str s0, [x8, #4]
ret
.cfi_endproc
; -- End function
.globl _t3 ; -- Begin function t3
.p2align 2
_t3: ; @t3
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x8, #2
str x8, [sp]
str xzr, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _t5 ; -- Begin function t5
.p2align 2
_t5: ; @t5
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _t4
str s0, [sp, #8]
str s1, [sp, #12]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _t6 ; -- Begin function t6
.p2align 2
_t6: ; @t6
.cfi_startproc
; %bb.0:
adrp x8, _g1@GOTPAGE
ldr x8, [x8, _g1@GOTPAGEOFF]
adrp x9, _ci1@GOTPAGE
ldr x9, [x9, _ci1@GOTPAGEOFF]
ldr d1, [x8]
ldr d0, [x8, #8]
fmov d3, #1.00000000
fadd d1, d1, d3
str d1, [x8]
str d0, [x8, #8]
ldr d1, [x8]
ldr d0, [x8, #8]
fmov d2, #-1.00000000
fadd d1, d1, d2
str d1, [x8]
str d0, [x8, #8]
ldr d1, [x8]
ldr d0, [x8, #8]
fadd d1, d1, d3
str d1, [x8]
str d0, [x8, #8]
ldr d1, [x8]
ldr d0, [x8, #8]
fadd d1, d1, d2
str d1, [x8]
str d0, [x8, #8]
ldr w10, [x9]
ldr w8, [x9, #4]
add w10, w10, #1
str w10, [x9]
str w8, [x9, #4]
ldr w10, [x9]
ldr w8, [x9, #4]
subs w10, w10, #1
str w10, [x9]
str w8, [x9, #4]
ldr w10, [x9]
ldr w8, [x9, #4]
add w10, w10, #1
str w10, [x9]
str w8, [x9, #4]
ldr w10, [x9]
ldr w8, [x9, #4]
subs w10, w10, #1
str w10, [x9]
str w8, [x9, #4]
ret
.cfi_endproc
; -- End function
.globl _t7 ; -- Begin function t7
.p2align 2
_t7: ; @t7
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp]
str d1, [sp, #8]
ldr d0, [sp]
fabs d0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.comm _g1,16,3 ; @g1
.comm _g2,16,3 ; @g2
.comm _D,8,3 ; @D
.comm _cf,8,2 ; @cf
.comm _ci1,8,2 ; @ci1
.comm _ci2,8,2 ; @ci2
.comm _i,4,2 ; @i
.comm _cs,4,1 ; @cs
.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 0x4045000000000000 ## double 42
LCPI0_1:
.quad 0x4014000000000000 ## double 5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $192, %rsp
movl $0, -4(%rbp)
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -24(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -16(%rbp)
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -32(%rbp)
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd %xmm1, -104(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd %xmm2, -96(%rbp) ## 8-byte Spill
movsd -40(%rbp), %xmm4 ## xmm4 = mem[0],zero
movsd %xmm4, -88(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm5 ## xmm5 = mem[0],zero
movsd %xmm5, -80(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
mulsd %xmm4, %xmm0
movaps %xmm2, %xmm3
mulsd %xmm5, %xmm3
mulsd %xmm5, %xmm1
mulsd %xmm4, %xmm2
subsd %xmm3, %xmm0
movsd %xmm0, -72(%rbp) ## 8-byte Spill
addsd %xmm2, %xmm1
movsd %xmm1, -64(%rbp) ## 8-byte Spill
ucomisd %xmm0, %xmm0
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd %xmm1, -48(%rbp) ## 8-byte Spill
jnp LBB0_3
## %bb.1:
movsd -64(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -72(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm1
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd %xmm1, -48(%rbp) ## 8-byte Spill
jnp LBB0_3
## %bb.2:
movsd -80(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -88(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -96(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq ___muldc3
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd %xmm1, -48(%rbp) ## 8-byte Spill
LBB0_3:
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd %xmm1, -184(%rbp) ## 8-byte Spill
movsd %xmm0, -176(%rbp) ## 8-byte Spill
movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd %xmm1, -168(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm2 ## xmm2 = mem[0],zero
movsd %xmm2, -160(%rbp) ## 8-byte Spill
movsd -24(%rbp), %xmm4 ## xmm4 = mem[0],zero
movsd %xmm4, -152(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm5 ## xmm5 = mem[0],zero
movsd %xmm5, -144(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
mulsd %xmm4, %xmm0
movaps %xmm2, %xmm3
mulsd %xmm5, %xmm3
mulsd %xmm5, %xmm1
mulsd %xmm4, %xmm2
subsd %xmm3, %xmm0
movsd %xmm0, -136(%rbp) ## 8-byte Spill
addsd %xmm2, %xmm1
movsd %xmm1, -128(%rbp) ## 8-byte Spill
ucomisd %xmm0, %xmm0
movsd %xmm0, -120(%rbp) ## 8-byte Spill
movsd %xmm1, -112(%rbp) ## 8-byte Spill
jnp LBB0_6
## %bb.4:
movsd -128(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -136(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm1
movsd %xmm0, -120(%rbp) ## 8-byte Spill
movsd %xmm1, -112(%rbp) ## 8-byte Spill
jnp LBB0_6
## %bb.5:
movsd -144(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -152(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -160(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -168(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq ___muldc3
movsd %xmm0, -120(%rbp) ## 8-byte Spill
movsd %xmm1, -112(%rbp) ## 8-byte Spill
LBB0_6:
movsd -184(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -176(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -120(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -112(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm3, %xmm2
setne %al
setp %cl
orb %cl, %al
ucomisd %xmm1, %xmm0
setne %cl
setp %dl
orb %dl, %cl
orb %cl, %al
andb $1, %al
movzbl %al, %eax
addq $192, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test2 ## -- Begin function test2
.p2align 4, 0x90
_test2: ## @test2
.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 $1, %edi
callq _bar
movsd %xmm0, -24(%rbp)
movsd %xmm1, -16(%rbp)
leaq -24(%rbp), %rdi
callq _test
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm1, -40(%rbp)
movsd %xmm0, -32(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero
callq _takecomplex
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test3 ## -- Begin function test3
.p2align 4, 0x90
_test3: ## @test3
.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 _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _g2@GOTPCREL(%rip), %rax
movsd (%rax), %xmm3 ## xmm3 = mem[0],zero
movq _g2@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm3, %xmm1
addsd %xmm2, %xmm0
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _g2@GOTPCREL(%rip), %rax
movsd (%rax), %xmm3 ## xmm3 = mem[0],zero
movq _g2@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm3, %xmm1
subsd %xmm2, %xmm0
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movsd %xmm1, -72(%rbp) ## 8-byte Spill
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm2 ## xmm2 = mem[0],zero
movsd %xmm2, -64(%rbp) ## 8-byte Spill
movq _g2@GOTPCREL(%rip), %rax
movsd (%rax), %xmm4 ## xmm4 = mem[0],zero
movsd %xmm4, -56(%rbp) ## 8-byte Spill
movq _g2@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm5 ## xmm5 = mem[0],zero
movsd %xmm5, -48(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
mulsd %xmm4, %xmm0
movaps %xmm2, %xmm3
mulsd %xmm5, %xmm3
mulsd %xmm5, %xmm1
mulsd %xmm4, %xmm2
subsd %xmm3, %xmm0
movsd %xmm0, -40(%rbp) ## 8-byte Spill
addsd %xmm2, %xmm1
movsd %xmm1, -32(%rbp) ## 8-byte Spill
ucomisd %xmm0, %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd %xmm1, -16(%rbp) ## 8-byte Spill
jnp LBB2_3
## %bb.1:
movsd -32(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm1
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd %xmm1, -16(%rbp) ## 8-byte Spill
jnp LBB2_3
## %bb.2:
movsd -48(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movsd -56(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movsd -64(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -72(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq ___muldc3
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd %xmm1, -16(%rbp) ## 8-byte Spill
LBB2_3:
movsd -24(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq %xmm1, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
movq %xmm0, %rax
movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -8(%rbp)
movq _D@GOTPCREL(%rip), %rax
movsd (%rax), %xmm2 ## xmm2 = mem[0],zero
movq _cf@GOTPCREL(%rip), %rax
movss (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movq _cf@GOTPCREL(%rip), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
cvtss2sd %xmm0, %xmm0
addsd %xmm2, %xmm1
cvtsd2ss %xmm1, %xmm1
cvtsd2ss %xmm0, %xmm0
movq _cf@GOTPCREL(%rip), %rax
movss %xmm1, (%rax)
movq _cf@GOTPCREL(%rip), %rax
movss %xmm0, 4(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm2 ## xmm2 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm3 ## xmm3 = mem[0],zero
movq _cf@GOTPCREL(%rip), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _cf@GOTPCREL(%rip), %rax
movss 4(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
callq ___divdc3
movsd %xmm0, -80(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
movsd -80(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
cvtsd2ss %xmm1, %xmm1
cvtsd2ss %xmm0, %xmm0
movq _cf@GOTPCREL(%rip), %rax
movss %xmm1, (%rax)
movq _cf@GOTPCREL(%rip), %rax
movss %xmm0, 4(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movq _D@GOTPCREL(%rip), %rax
addsd (%rax), %xmm1
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _D@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm2 ## xmm2 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm2, %xmm1
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test3int ## -- Begin function test3int
.p2align 4, 0x90
_test3int: ## @test3int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
movq _ci2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ci2@GOTPCREL(%rip), %rax
movl 4(%rax), %eax
addl %esi, %edx
addl %eax, %ecx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
movq _ci2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ci2@GOTPCREL(%rip), %rax
movl 4(%rax), %eax
subl %esi, %edx
subl %eax, %ecx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _ci1@GOTPCREL(%rip), %rcx
movl 4(%rcx), %ecx
movq _ci2@GOTPCREL(%rip), %rdx
movl (%rdx), %edi
movq _ci2@GOTPCREL(%rip), %rdx
movl 4(%rdx), %esi
movl %eax, %edx
imull %edi, %edx
movl %ecx, %r8d
imull %esi, %r8d
subl %r8d, %edx
imull %edi, %ecx
imull %esi, %eax
addl %eax, %ecx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
movq _ci1@GOTPCREL(%rip), %rdx
subl 4(%rdx), %eax
xorl %edx, %edx
subl %ecx, %edx
xorl %ecx, %ecx
subl %eax, %ecx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _i@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _cs@GOTPCREL(%rip), %rax
movw (%rax), %cx
movq _cs@GOTPCREL(%rip), %rax
movw 2(%rax), %ax
movswl %cx, %ecx
cwtl
addl %edx, %ecx
addl $0, %eax
movw %cx, %dx
movw %ax, %cx
movq _cs@GOTPCREL(%rip), %rax
movw %dx, (%rax)
movq _cs@GOTPCREL(%rip), %rax
movw %cx, 2(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %edi
movq _cs@GOTPCREL(%rip), %rax
movw (%rax), %cx
movq _cs@GOTPCREL(%rip), %rax
movw 2(%rax), %ax
movswl %cx, %edx
movswl %ax, %ecx
movl %edx, %eax
imull %r8d, %eax
movl %ecx, %esi
imull %edi, %esi
addl %esi, %eax
movl %r8d, %esi
imull %esi, %esi
movl %edi, %r9d
imull %r9d, %r9d
addl %r9d, %esi
imull %r8d, %ecx
imull %edi, %edx
subl %edx, %ecx
movl %ecx, -4(%rbp) ## 4-byte Spill
cltd
idivl %esi
movl %eax, %ecx
movl -4(%rbp), %eax ## 4-byte Reload
cltd
idivl %esi
movw %cx, %dx
movw %ax, %cx
movq _cs@GOTPCREL(%rip), %rax
movw %dx, (%rax)
movq _cs@GOTPCREL(%rip), %rax
movw %cx, 2(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
movq _i@GOTPCREL(%rip), %rax
addl (%rax), %edx
addl $0, %ecx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _ci1@GOTPCREL(%rip), %rcx
movl 4(%rcx), %ecx
addl %eax, %edx
addl $0, %ecx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function t1
LCPI4_0:
.long 0x40800000 ## float 4
.section __TEXT,__text,regular,pure_instructions
.globl _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
movq _cf@GOTPCREL(%rip), %rax
movss LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function t2
LCPI5_0:
.long 0x40800000 ## float 4
.section __TEXT,__text,regular,pure_instructions
.globl _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
movq _cf@GOTPCREL(%rip), %rax
movss LCPI5_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 4(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _t3 ## -- Begin function t3
.p2align 4, 0x90
_t3: ## @t3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $2, -16(%rbp)
movq $0, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _t5 ## -- Begin function t5
.p2align 4, 0x90
_t5: ## @t5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _t4
movlpd %xmm0, -16(%rbp)
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm1, -8(%rbp)
movss %xmm0, -4(%rbp)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function t6
LCPI8_0:
.quad 0xbff0000000000000 ## double -1
LCPI8_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _t6
.p2align 4, 0x90
_t6: ## @t6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI8_1(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI8_0(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI8_1(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd (%rax), %xmm1 ## xmm1 = mem[0],zero
movq _g1@GOTPCREL(%rip), %rax
movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI8_0(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm1
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm1, (%rax)
movq _g1@GOTPCREL(%rip), %rax
movsd %xmm0, 8(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
addl $1, %edx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
addl $-1, %edx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
addl $1, %edx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _ci1@GOTPCREL(%rip), %rax
movl 4(%rax), %ecx
addl $-1, %edx
movq _ci1@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movq _ci1@GOTPCREL(%rip), %rax
movl %ecx, 4(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function t7
LCPI9_0:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _t7
.p2align 4, 0x90
_t7: ## @t7
.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, -16(%rbp)
movsd %xmm1, -8(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI9_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _g1,16,3 ## @g1
.comm _g2,16,3 ## @g2
.comm _D,8,3 ## @D
.comm _cf,8,2 ## @cf
.comm _ci1,8,2 ## @ci1
.comm _ci2,8,2 ## @ci2
.comm _i,4,2 ## @i
.comm _cs,4,1 ## @cs
.subsections_via_symbols
|
the_stack_data/243892078.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 circumscribed
lCPI0_0:
.quad 0x41dfffffffc00000 ; double 2147483647
.section __TEXT,__text,regular,pure_instructions
.globl _circumscribed
.p2align 2
_circumscribed: ; @circumscribed
.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 _rand
scvtf d0, w0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
str d1, [sp, #8] ; 8-byte Folded Spill
fdiv d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-8]
bl _rand
ldr d1, [sp, #8] ; 8-byte Folded Reload
scvtf d0, w0
fdiv d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-12]
ldur s0, [x29, #-8]
ldur s1, [x29, #-8]
ldur s2, [x29, #-12]
ldur s3, [x29, #-12]
fmul s2, s2, s3
fmadd s0, s0, s1, s2
str s0, [sp, #16]
ldr s0, [sp, #16]
ldur s1, [x29, #-4]
scvtf s1, s1
fcmp s0, s1
cset w8, ls
and w9, w8, #0x1
mov w8, #-1
ands w9, w9, #0x1
csinc w0, w8, wzr, eq
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _thread_montecarlo ; -- Begin function thread_montecarlo
.p2align 2
_thread_montecarlo: ; @thread_montecarlo
.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, _i@GOTPAGE
ldr x8, [x8, _i@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
str x8, [sp, #24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
ldr x8, [sp, #24]
ldr x0, [x8, #16]
bl _atoi
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x0, _mutex@PAGE
add x0, x0, _mutex@PAGEOFF
bl _pthread_mutex_lock
mov w0, #1
bl _circumscribed
subs w8, w0, #0
cset w8, le
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
adrp x9, _circles@PAGE
ldr w8, [x9, _circles@PAGEOFF]
add w8, w8, #1
str w8, [x9, _circles@PAGEOFF]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
adrp x0, _mutex@PAGE
add x0, x0, _mutex@PAGEOFF
bl _pthread_mutex_unlock
bl _rand
mov w9, #3
sdiv w8, w0, w9
mul w8, w8, w9
subs w0, w0, w8
bl _usleep
b LBB1_1
LBB1_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp 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 x8, [x29, #-24]
ldr x0, [x8, #8]
bl _atoi
mov w8, w0
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-32]
lsl x9, x8, #3
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-64] ; 8-byte Folded Spill
stur x8, [x29, #-40]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
stur wzr, [x29, #-44]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
stur w8, [x29, #-76] ; 4-byte Folded Spill
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _atoi
ldur w8, [x29, #-76] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-44]
add x0, x8, x9, lsl #3
ldur x3, [x29, #-24]
mov x1, #0
adrp x2, _thread_montecarlo@PAGE
add x2, x2, _thread_montecarlo@PAGEOFF
bl _pthread_create
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-44]
add w10, w8, #1
sub sp, sp, #16
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
add sp, sp, #16
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB2_1
LBB2_6:
stur wzr, [x29, #-48]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-48]
stur w8, [x29, #-80] ; 4-byte Folded Spill
ldur x8, [x29, #-24]
ldr x0, [x8, #8]
bl _atoi
ldur w8, [x29, #-80] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ge
tbnz w8, #0, LBB2_10
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldur x8, [x29, #-64] ; 8-byte Folded Reload
ldursw x9, [x29, #-48]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
ldur w8, [x29, #-48]
add w8, w8, #1
stur w8, [x29, #-48]
b LBB2_7
LBB2_10:
adrp x8, _circles@PAGE
stur x8, [x29, #-96] ; 8-byte Folded Spill
ldr s0, [x8, _circles@PAGEOFF]
scvtf s0, s0
stur s0, [x29, #-100] ; 4-byte Folded Spill
ldur x8, [x29, #-24]
ldr x0, [x8, #16]
bl _atoi
ldur s0, [x29, #-100] ; 4-byte Folded Reload
scvtf s1, w0
fdiv s1, s0, s1
fmov s0, #4.00000000
fmul s0, s0, s1
stur s0, [x29, #-52]
ldur x8, [x29, #-24]
ldr x0, [x8, #16]
bl _atoi
ldur x8, [x29, #-96] ; 8-byte Folded Reload
ldr w8, [x8, _circles@PAGEOFF]
; implicit-def: $x9
mov x9, x8
ldur s0, [x29, #-52]
fcvt d0, s0
sub sp, sp, #32
mov x8, sp
; implicit-def: $x10
mov x10, x0
str x10, [x8]
str x9, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add sp, sp, #32
stur wzr, [x29, #-12]
ldur x8, [x29, #-32]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-84] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
bl ___stack_chk_fail
LBB2_12:
ldur w0, [x29, #-84] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _circles ; @circles
.zerofill __DATA,__common,_circles,4,2
.section __DATA,__data
.globl _mutex ; @mutex
.p2align 3
_mutex:
.quad 850045863 ; 0x32aaaba7
.space 56
.comm _i,4,2 ; @i
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Thread creation failed: %d\n"
l_.str.1: ; @.str.1
.asciz "After %d iterations circles is %d PI is %2.4f : \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 circumscribed
LCPI0_0:
.quad 0x41dfffffffc00000 ## double 2147483647
.section __TEXT,__text,regular,pure_instructions
.globl _circumscribed
.p2align 4, 0x90
_circumscribed: ## @circumscribed
.cfi_startproc
## %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)
callq _rand
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8(%rbp)
callq _rand
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -12(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -8(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtsi2ssl -4(%rbp), %xmm0
movl $4294967295, %eax ## imm = 0xFFFFFFFF
movl $1, %ecx
ucomiss %xmm1, %xmm0
cmovael %ecx, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _thread_montecarlo ## -- Begin function thread_montecarlo
.p2align 4, 0x90
_thread_montecarlo: ## @thread_montecarlo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
movq -24(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, %ecx
movl -28(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq _mutex(%rip), %rdi
callq _pthread_mutex_lock
movl $1, %edi
callq _circumscribed
cmpl $0, %eax
jle LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl _circles(%rip), %eax
addl $1, %eax
movl %eax, _circles(%rip)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq _i@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _i@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
leaq _mutex(%rip), %rdi
callq _pthread_mutex_unlock
callq _rand
movl $3, %ecx
cltd
idivl %ecx
movl %edx, %edi
callq _usleep
jmp LBB1_1
LBB1_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI2_0:
.long 0x40800000 ## float 4
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
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)
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, %eax
## kill: def $rax killed $eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -72(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -44(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, %ecx
movl -76(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB2_6
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movslq -44(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -24(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _thread_montecarlo(%rip), %rdx
callq _pthread_create
cmpl $0, %eax
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -44(%rbp), %esi
addl $1, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_5
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB2_1
LBB2_6:
movl $0, -48(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
movq -24(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, %ecx
movl -80(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jge LBB2_10
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movslq -48(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.9: ## in Loop: Header=BB2_7 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB2_7
LBB2_10:
cvtsi2ssl _circles(%rip), %xmm0
movss %xmm0, -88(%rbp) ## 4-byte Spill
movq -24(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movss -88(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
cvtsi2ss %eax, %xmm0
divss %xmm0, %xmm1
movss LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movss %xmm0, -52(%rbp)
movq -24(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, %esi
movl _circles(%rip), %edx
movss -52(%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 -32(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_12
## %bb.11:
movl -84(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB2_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _circles ## @circles
.zerofill __DATA,__common,_circles,4,2
.section __DATA,__data
.globl _mutex ## @mutex
.p2align 3
_mutex:
.quad 850045863 ## 0x32aaaba7
.space 56
.comm _i,4,2 ## @i
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Thread creation failed: %d\n"
L_.str.1: ## @.str.1
.asciz "After %d iterations circles is %d PI is %2.4f : \n"
.subsections_via_symbols
|
the_stack_data/11076343.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sighandler ; -- Begin function sighandler
.p2align 2
_sighandler: ; @sighandler
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _pfd@PAGE
add x8, x8, _pfd@PAGEOFF
stur w0, [x29, #-4]
ldr w0, [x8, #4]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #1
bl _write
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w0, #-1
bl _exit
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _sleepsort_start ; -- Begin function sleepsort_start
.p2align 2
_sleepsort_start: ; @sleepsort_start
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
mov x0, x8
bl _sleep
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 x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sleepsort_group_start ; -- Begin function sleepsort_group_start
.p2align 2
_sleepsort_group_start: ; @sleepsort_group_start
.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
stur x0, [x29, #-8]
bl _pthread_self
stur x0, [x29, #-40]
sub x8, x29, #32
adrp x9, _free@GOTPAGE
ldr x9, [x9, _free@GOTPAGEOFF]
stur x9, [x29, #-32]
ldur x9, [x29, #-8]
stur x9, [x29, #-24]
ldur x9, [x29, #-40]
ldr x9, [x9, #8]
stur x9, [x29, #-16]
ldur x9, [x29, #-40]
str x8, [x9, #8]
ldur x8, [x29, #-8]
stur x8, [x29, #-48]
ldur x8, [x29, #-48]
add x9, x8, #8
stur x9, [x29, #-48]
ldr x8, [x8]
stur x8, [x29, #-56]
ldur x9, [x29, #-56]
mov x8, #8
mul x0, x8, x9
bl _malloc
stur x0, [x29, #-64]
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w0, #-1
bl _exit
LBB2_2:
bl _pthread_self
str x0, [sp, #80]
add x8, sp, #88
adrp x9, _free@GOTPAGE
ldr x9, [x9, _free@GOTPAGEOFF]
str x9, [sp, #88]
ldur x9, [x29, #-64]
str x9, [sp, #96]
ldr x9, [sp, #80]
ldr x9, [x9, #8]
str x9, [sp, #104]
ldr x9, [sp, #80]
str x8, [x9, #8]
str xzr, [sp, #72]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #72]
ldur x9, [x29, #-56]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_8
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
ldur x8, [x29, #-64]
ldr x9, [sp, #72]
add x0, x8, x9, lsl #3
ldur x8, [x29, #-48]
ldr x9, [sp, #72]
add x3, x8, x9, lsl #3
mov x1, #0
adrp x2, _sleepsort_start@PAGE
add x2, x2, _sleepsort_start@PAGEOFF
bl _pthread_create
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
mov w0, #-1
bl _exit
LBB2_6: ; in Loop: Header=BB2_3 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_3 Depth=1
ldr x8, [sp, #72]
add x8, x8, #1
str x8, [sp, #72]
b LBB2_3
LBB2_8:
ldur x8, [x29, #-64]
add x9, sp, #48
str x9, [sp, #8] ; 8-byte Folded Spill
str x8, [sp, #48]
ldur x8, [x29, #-56]
str x8, [sp, #56]
str xzr, [sp, #64]
bl _pthread_self
ldr x9, [sp, #8] ; 8-byte Folded Reload
str x0, [sp, #16]
add x8, sp, #24
adrp x10, _cancel_and_join@PAGE
add x10, x10, _cancel_and_join@PAGEOFF
str x10, [sp, #24]
str x9, [sp, #32]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
str x9, [sp, #40]
ldr x9, [sp, #16]
str x8, [x9, #8]
str xzr, [sp, #72]
b LBB2_9
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #72]
ldur x9, [x29, #-56]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_9 Depth=1
ldur x8, [x29, #-64]
ldr x9, [sp, #72]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
mov w0, #-1
bl _exit
LBB2_12: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB2_13
LBB2_13: ; in Loop: Header=BB2_9 Depth=1
ldr x8, [sp, #72]
add x8, x8, #1
str x8, [sp, #72]
b LBB2_9
LBB2_14:
ldr x8, [sp, #40]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #104]
ldr x9, [sp, #80]
str x8, [x9, #8]
ldr x8, [sp, #88]
ldr x0, [sp, #96]
blr x8
ldur x8, [x29, #-16]
ldur x9, [x29, #-40]
str x8, [x9, #8]
ldur x8, [x29, #-32]
ldur x0, [x29, #-24]
blr x8
mov x0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cancel_and_join
_cancel_and_join: ; @cancel_and_join
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x0, [x8, x9, lsl #3]
bl _pthread_cancel
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB3_1
LBB3_4:
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #8]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_10
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
mov w0, #-1
bl _exit
LBB3_8: ; in Loop: Header=BB3_5 Depth=1
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB3_5
LBB3_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sleepsort ; -- Begin function sleepsort
.p2align 2
_sleepsort: ; @sleepsort
.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]
add x9, x8, #1
mov x8, #8
mul x0, x8, x9
bl _malloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w0, #-1
bl _exit
LBB4_2:
ldr x8, [sp, #16]
ldr x9, [sp]
str x8, [x9]
ldr x8, [sp]
add x0, x8, #8
ldur x1, [x29, #-8]
ldr x8, [sp, #16]
lsl x2, x8, #3
mov x3, #-1
bl ___memcpy_chk
ldr x3, [sp]
add x0, sp, #8
mov x1, #0
adrp x2, _sleepsort_group_start@PAGE
add x2, x2, _sleepsort_group_start@PAGEOFF
bl _pthread_create
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
mov w0, #-1
bl _exit
LBB4_4:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _sigwaiter ; -- Begin function sigwaiter
.p2align 2
_sigwaiter: ; @sigwaiter
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
str x8, [sp, #16]
adrp x8, _pfd@PAGE
ldr w0, [x8, _pfd@PAGEOFF]
add x1, sp, #15
mov x2, #1
bl _read
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w0, #-1
bl _exit
LBB5_2:
ldr x8, [sp, #16]
ldr x0, [x8]
bl _pthread_cancel
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, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
add x0, sp, #16
adrp x1, l___const.main.v@PAGE
add x1, x1, l___const.main.v@PAGEOFF
mov x2, #56
bl _memcpy
adrp x0, _pfd@PAGE
add x0, x0, _pfd@PAGEOFF
bl _pipe
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
mov w0, #-1
bl _exit
LBB6_2:
mov w0, #30
adrp x1, _sighandler@PAGE
add x1, x1, _sighandler@PAGEOFF
bl _signal
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
mov w0, #-1
bl _exit
LBB6_4:
add x0, sp, #16
mov x1, #7
bl _sleepsort
add x3, sp, #8
str x0, [sp, #8]
mov x0, sp
mov x1, #0
adrp x2, _sigwaiter@PAGE
add x2, x2, _sigwaiter@PAGEOFF
bl _pthread_create
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
mov w0, #-1
bl _exit
LBB6_6:
ldr x0, [sp, #8]
mov x1, #0
bl _pthread_join
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
mov w0, #-1
bl _exit
LBB6_8:
ldr x0, [sp]
bl _pthread_cancel
ldr x0, [sp]
mov x1, #0
bl _pthread_join
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_10
b LBB6_9
LBB6_9:
mov w0, #-1
bl _exit
LBB6_10:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11:
bl ___stack_chk_fail
LBB6_12:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_pfd,8,2 ; @pfd
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "."
l_.str.1: ; @.str.1
.asciz "%d\n"
.section __TEXT,__const
.p2align 3 ; @__const.main.v
l___const.main.v:
.quad 8 ; 0x8
.quad 42 ; 0x2a
.quad 38 ; 0x26
.quad 111 ; 0x6f
.quad 2 ; 0x2
.quad 39 ; 0x27
.quad 1 ; 0x1
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sighandler ## -- Begin function sighandler
.p2align 4, 0x90
_sighandler: ## @sighandler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl _pfd+4(%rip), %edi
leaq L_.str(%rip), %rsi
movl $1, %edx
callq _write
cmpq $-1, %rax
jne LBB0_2
## %bb.1:
movl $-1, %edi
callq _exit
LBB0_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sleepsort_start ## -- Begin function sleepsort_start
.p2align 4, 0x90
_sleepsort_start: ## @sleepsort_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movl %eax, %edi
callq _sleep
movq -16(%rbp), %rax
movq (%rax), %rax
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
## kill: def $rax killed $eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sleepsort_group_start ## -- Begin function sleepsort_group_start
.p2align 4, 0x90
_sleepsort_group_start: ## @sleepsort_group_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq %rdi, -8(%rbp)
callq _pthread_self
movq %rax, -40(%rbp)
movq _free@GOTPCREL(%rip), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -40(%rbp), %rax
leaq -32(%rbp), %rcx
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq %rax, %rcx
addq $8, %rcx
movq %rcx, -48(%rbp)
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB2_2
## %bb.1:
movl $-1, %edi
callq _exit
LBB2_2:
callq _pthread_self
movq %rax, -96(%rbp)
movq _free@GOTPCREL(%rip), %rax
movq %rax, -88(%rbp)
movq -64(%rbp), %rax
movq %rax, -80(%rbp)
movq -96(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -72(%rbp)
movq -96(%rbp), %rax
leaq -88(%rbp), %rcx
movq %rcx, 8(%rax)
movq $0, -104(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movq -104(%rbp), %rax
cmpq -56(%rbp), %rax
je LBB2_8
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq -64(%rbp), %rdi
movq -104(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -48(%rbp), %rcx
movq -104(%rbp), %rax
shlq $3, %rax
addq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _sleepsort_start(%rip), %rdx
callq _pthread_create
cmpl $0, %eax
je LBB2_6
## %bb.5:
movl $-1, %edi
callq _exit
LBB2_6: ## in Loop: Header=BB2_3 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_3 Depth=1
movq -104(%rbp), %rax
addq $1, %rax
movq %rax, -104(%rbp)
jmp LBB2_3
LBB2_8:
movq -64(%rbp), %rax
movq %rax, -128(%rbp)
movq -56(%rbp), %rax
movq %rax, -120(%rbp)
movq $0, -112(%rbp)
callq _pthread_self
movq %rax, -160(%rbp)
leaq _cancel_and_join(%rip), %rax
movq %rax, -152(%rbp)
leaq -128(%rbp), %rax
movq %rax, -144(%rbp)
movq -160(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -136(%rbp)
movq -160(%rbp), %rax
leaq -152(%rbp), %rcx
movq %rcx, 8(%rax)
movq $0, -104(%rbp)
LBB2_9: ## =>This Inner Loop Header: Depth=1
movq -104(%rbp), %rax
cmpq -56(%rbp), %rax
je LBB2_14
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movq -64(%rbp), %rax
movq -104(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
cmpl $0, %eax
je LBB2_12
## %bb.11:
movl $-1, %edi
callq _exit
LBB2_12: ## in Loop: Header=BB2_9 Depth=1
movq -112(%rbp), %rax
addq $1, %rax
movq %rax, -112(%rbp)
## %bb.13: ## in Loop: Header=BB2_9 Depth=1
movq -104(%rbp), %rax
addq $1, %rax
movq %rax, -104(%rbp)
jmp LBB2_9
LBB2_14:
movq -136(%rbp), %rcx
movq -160(%rbp), %rax
movq %rcx, 8(%rax)
movq -72(%rbp), %rcx
movq -96(%rbp), %rax
movq %rcx, 8(%rax)
movq -88(%rbp), %rax
movq -80(%rbp), %rdi
callq *%rax
movq -16(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rax
movq -24(%rbp), %rdi
callq *%rax
xorl %eax, %eax
## kill: def $rax killed $eax
addq $160, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cancel_and_join
_cancel_and_join: ## @cancel_and_join
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
cmpq 8(%rcx), %rax
je LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _pthread_cancel
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB3_1
LBB3_4:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
cmpq 8(%rcx), %rax
je LBB3_10
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movq -16(%rbp), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
cmpl $0, %eax
je LBB3_8
## %bb.7:
movl $-1, %edi
callq _exit
LBB3_8: ## in Loop: Header=BB3_5 Depth=1
jmp LBB3_9
LBB3_9: ## in Loop: Header=BB3_5 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB3_5
LBB3_10:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sleepsort ## -- Begin function sleepsort
.p2align 4, 0x90
_sleepsort: ## @sleepsort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
addq $1, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB4_2
## %bb.1:
movl $-1, %edi
callq _exit
LBB4_2:
movq -16(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq -32(%rbp), %rdi
addq $8, %rdi
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
shlq $3, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -32(%rbp), %rcx
leaq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq _sleepsort_group_start(%rip), %rdx
callq _pthread_create
cmpl $0, %eax
je LBB4_4
## %bb.3:
movl $-1, %edi
callq _exit
LBB4_4:
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sigwaiter ## -- Begin function sigwaiter
.p2align 4, 0x90
_sigwaiter: ## @sigwaiter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movl _pfd(%rip), %edi
leaq -17(%rbp), %rsi
movl $1, %edx
callq _read
cmpq $-1, %rax
jne LBB5_2
## %bb.1:
movl $-1, %edi
callq _exit
LBB5_2:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _pthread_cancel
xorl %eax, %eax
## kill: def $rax killed $eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -64(%rbp), %rdi
leaq l___const.main.v(%rip), %rsi
movl $56, %edx
callq _memcpy
leaq _pfd(%rip), %rdi
callq _pipe
cmpl $-1, %eax
jne LBB6_2
## %bb.1:
movl $-1, %edi
callq _exit
LBB6_2:
movl $30, %edi
leaq _sighandler(%rip), %rsi
callq _signal
movq $-1, %rcx
cmpq %rcx, %rax
jne LBB6_4
## %bb.3:
movl $-1, %edi
callq _exit
LBB6_4:
leaq -64(%rbp), %rdi
movl $7, %esi
callq _sleepsort
movq %rax, -72(%rbp)
leaq -72(%rbp), %rcx
leaq -80(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq _sigwaiter(%rip), %rdx
callq _pthread_create
cmpl $0, %eax
je LBB6_6
## %bb.5:
movl $-1, %edi
callq _exit
LBB6_6:
movq -72(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
cmpl $0, %eax
je LBB6_8
## %bb.7:
movl $-1, %edi
callq _exit
LBB6_8:
movq -80(%rbp), %rdi
callq _pthread_cancel
movq -80(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
cmpl $0, %eax
je LBB6_10
## %bb.9:
movl $-1, %edi
callq _exit
LBB6_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB6_12
## %bb.11:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB6_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_pfd,8,2 ## @pfd
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
L_.str.1: ## @.str.1
.asciz "%d\n"
.section __TEXT,__const
.p2align 4 ## @__const.main.v
l___const.main.v:
.quad 8 ## 0x8
.quad 42 ## 0x2a
.quad 38 ## 0x26
.quad 111 ## 0x6f
.quad 2 ## 0x2
.quad 39 ## 0x27
.quad 1 ## 0x1
.subsections_via_symbols
|
the_stack_data/48881.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur wzr, [x29, #-20]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #100
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w0, #100
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _atoi
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
str w8, [sp, #24]
ldrsw x9, [sp, #24]
mov x8, #4
mul x0, x8, x9
bl _malloc
str x0, [sp, #16]
ldr x0, [sp, #16]
ldr w1, [sp, #24]
bl _FillArray
ldr x0, [sp, #16]
mov w1, #100
str w1, [sp, #8] ; 4-byte Folded Spill
bl _SumArray
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w1, [sp, #8] ; 4-byte Folded Reload
ldr x0, [sp, #16]
bl _SumArray2
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
ldr x0, [sp, #16]
bl _free
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function FillArray
_FillArray: ; @FillArray
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str wzr, [sp]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
ldr x9, [sp, #8]
ldr w10, [sp]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB1_1
LBB1_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function SumArray
_SumArray: ; @SumArray
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
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 w0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function SumArray2
_SumArray2: ; @SumArray2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str wzr, [sp, #16]
str wzr, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #24]
add x9, x8, #4
str x9, [sp, #24]
ldr w9, [x8]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_1
LBB3_4:
ldr w0, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Sum1 = %d\n"
l_.str.1: ; @.str.1
.asciz "Sum2 = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $100, -20(%rbp)
jge LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -8(%rbp)
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $100, %eax
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -36(%rbp) ## 4-byte Spill
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax ## 4-byte Reload
movl %eax, -24(%rbp)
movslq -24(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movl -24(%rbp), %esi
callq _FillArray
movq -32(%rbp), %rdi
movl $100, %esi
callq _SumArray
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
movl $100, %esi
callq _SumArray2
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rdi
callq _free
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_7:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function FillArray
_FillArray: ## @FillArray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %edx
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function SumArray
_SumArray: ## @SumArray
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_4:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function SumArray2
_SumArray2: ## @SumArray2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
movl $0, -20(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -8(%rbp)
movl (%rax), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_1
LBB3_4:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Sum1 = %d\n"
L_.str.1: ## @.str.1
.asciz "Sum2 = %d\n"
.subsections_via_symbols
|
the_stack_data/83733.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_uadd_overflow ; -- Begin function my_uadd_overflow
.p2align 2
_my_uadd_overflow: ; @my_uadd_overflow
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str x2, [sp]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
ldr x10, [sp]
adds w9, w8, w9
cset w8, hs
str w9, [x10]
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _my_usub_overflow ; -- Begin function my_usub_overflow
.p2align 2
_my_usub_overflow: ; @my_usub_overflow
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str x2, [sp]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
ldr x10, [sp]
subs w9, w8, w9
cset w8, lo
str w9, [x10]
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _my_uneg_overflow ; -- Begin function my_uneg_overflow
.p2align 2
_my_uneg_overflow: ; @my_uneg_overflow
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str x1, [sp]
ldr w8, [sp, #12]
; kill: def $x8 killed $w8
ldr x10, [sp]
mov x9, #0
sbfx x8, x8, #0, #33
subs x9, x9, x8
sbfx x11, x9, #0, #33
adds x8, x8, x11
cset w8, ne
and x11, x9, #0x1ffffffff
mov x12, x9
subs x11, x11, w12, uxtw
cset w11, ne
orr w8, w8, w11
; kill: def $w9 killed $w9 killed $x9
str w9, [x10]
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _my_add_overflow ; -- Begin function my_add_overflow
.p2align 2
_my_add_overflow: ; @my_add_overflow
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str x2, [sp]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
ldr x10, [sp]
adds w9, w8, w9
cset w8, vs
str w9, [x10]
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _my_sub_overflow ; -- Begin function my_sub_overflow
.p2align 2
_my_sub_overflow: ; @my_sub_overflow
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str x2, [sp]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
ldr x10, [sp]
subs w9, w8, w9
cset w8, vs
str w9, [x10]
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _my_neg_overflow ; -- Begin function my_neg_overflow
.p2align 2
_my_neg_overflow: ; @my_neg_overflow
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str x1, [sp]
ldr w9, [sp, #12]
ldr x10, [sp]
mov w8, #0
subs w9, w8, w9
cset w8, vs
str w9, [x10]
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_uadd_overflow ## -- Begin function my_uadd_overflow
.p2align 4, 0x90
_my_uadd_overflow: ## @my_uadd_overflow
.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 -4(%rbp), %edx
movl -8(%rbp), %eax
movq -16(%rbp), %rcx
addl %eax, %edx
setb %al
movl %edx, (%rcx)
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _my_usub_overflow ## -- Begin function my_usub_overflow
.p2align 4, 0x90
_my_usub_overflow: ## @my_usub_overflow
.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 -4(%rbp), %edx
movl -8(%rbp), %eax
movq -16(%rbp), %rcx
subl %eax, %edx
setb %al
movl %edx, (%rcx)
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _my_uneg_overflow ## -- Begin function my_uneg_overflow
.p2align 4, 0x90
_my_uneg_overflow: ## @my_uneg_overflow
.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, %esi
movq -16(%rbp), %rcx
negq %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movl %esi, %edx
shrq $32, %rsi
## kill: def $esi killed $esi killed $rsi
andl $1, %esi
## kill: def $sil killed $sil killed $esi
orb %sil, %al
movl %edx, (%rcx)
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _my_add_overflow ## -- Begin function my_add_overflow
.p2align 4, 0x90
_my_add_overflow: ## @my_add_overflow
.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 -4(%rbp), %edx
movl -8(%rbp), %eax
movq -16(%rbp), %rcx
addl %eax, %edx
seto %al
movl %edx, (%rcx)
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _my_sub_overflow ## -- Begin function my_sub_overflow
.p2align 4, 0x90
_my_sub_overflow: ## @my_sub_overflow
.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 -4(%rbp), %edx
movl -8(%rbp), %eax
movq -16(%rbp), %rcx
subl %eax, %edx
seto %al
movl %edx, (%rcx)
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _my_neg_overflow ## -- Begin function my_neg_overflow
.p2align 4, 0x90
_my_neg_overflow: ## @my_neg_overflow
.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
movq -16(%rbp), %rcx
xorl %edx, %edx
subl %eax, %edx
seto %al
movl %edx, (%rcx)
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/342205.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 0x412e848000000000 ; double 1.0E+6
lCPI0_1:
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.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
mov w9, #10128
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #1936
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]
movi d0, #0000000000000000
str d0, [sp, #96]
ldr w8, [sp, #112]
subs w8, w8, #1
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]
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 w8, #1
str w8, [sp, #116]
b LBB0_13
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #120
mov w1, #10000
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #80
mov x1, #0
str x1, [sp, #40] ; 8-byte Folded Spill
bl _gettimeofday
ldr x1, [sp, #40] ; 8-byte Folded Reload
ldr d0, [sp, #80]
scvtf d2, d0
ldr s1, [sp, #88]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d1, d0
adrp x8, lCPI0_1@PAGE
ldr d0, [x8, lCPI0_1@PAGEOFF]
fmadd d0, d0, d1, d2
str d0, [sp, #56]
add x0, sp, #120
bl _strtod
str d0, [sp, #64]
ldr d0, [sp, #96]
fcmp d0, #0.0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr d0, [sp, #56]
ldr d1, [sp, #64]
fsub d0, d0, d1
str d0, [sp, #96]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr d0, [sp, #64]
ldr d1, [sp, #96]
fadd d0, d0, d1
ldr d1, [sp, #56]
fsub d0, d0, d1
str d0, [sp, #48]
ldr d0, [sp, #48]
fcmp d0, #0.0
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
ldr d0, [sp, #48]
fcvtms x8, d0
add x4, sp, #80
str x8, [sp, #80]
ldr d0, [sp, #48]
ldr d1, [sp, #48]
frintm d1, d1
fsub d1, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fcvtzs w8, d0
str w8, [sp, #88]
mov w0, #0
mov x3, #0
mov x1, x3
mov x2, x3
bl _select
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #120
mov w1, #9
bl _strchr
str x0, [sp, #72]
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72]
add x8, x8, #1
str x8, [sp, #72]
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
add x8, sp, #120
str x8, [sp, #72]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #72]
str x8, [sp, #24] ; 8-byte Folded Spill
ldr x0, [sp, #72]
bl _strlen
mov x1, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x3, [x8]
mov x2, #1
bl _fwrite
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
bl _fflush
b LBB0_3
LBB0_12:
str wzr, [sp, #116]
b LBB0_13
LBB0_13:
ldr w8, [sp, #116]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
bl ___stack_chk_fail
LBB0_15:
ldr w0, [sp, #20] ; 4-byte Folded Reload
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #1936
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: %s < <vespa.log>\nReplays a vespa log file with the same timing delta between each log message.\nReprints the log messages without timestamps.\n\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 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
LCPI0_1:
.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
movl $10112, %eax ## imm = 0x2780
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -10020(%rbp)
movl %edi, -10024(%rbp)
movq %rsi, -10032(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -10040(%rbp)
cmpl $1, -10024(%rbp)
je LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -10032(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -10020(%rbp)
jmp LBB0_13
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq -10016(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $10000, %esi ## imm = 0x2710
callq _fgets
cmpq $0, %rax
je LBB0_12
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq -10056(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
cvtsi2sdq -10056(%rbp), %xmm1
cvtsi2sdl -10048(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -10080(%rbp)
leaq -10016(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _strtod
movsd %xmm0, -10072(%rbp)
movsd -10040(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne LBB0_6
jp LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movsd -10080(%rbp), %xmm0 ## xmm0 = mem[0],zero
subsd -10072(%rbp), %xmm0
movsd %xmm0, -10040(%rbp)
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movsd -10072(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -10040(%rbp), %xmm0
subsd -10080(%rbp), %xmm0
movsd %xmm0, -10088(%rbp)
movsd -10088(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movsd -10088(%rbp), %xmm0 ## xmm0 = mem[0],zero
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %rax
movq %rax, -10056(%rbp)
movsd -10088(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -10088(%rbp), %xmm0 ## xmm0 = mem[0],zero
roundsd $9, %xmm0, %xmm0
subsd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -10048(%rbp)
xorl %edi, %edi
xorl %eax, %eax
movl %eax, %ecx
leaq -10056(%rbp), %r8
movq %rcx, %rsi
movq %rcx, %rdx
callq _select$1050
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
leaq -10016(%rbp), %rdi
movl $9, %esi
callq _strchr
movq %rax, -10064(%rbp)
cmpq $0, -10064(%rbp)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq -10064(%rbp), %rax
addq $1, %rax
movq %rax, -10064(%rbp)
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
leaq -10016(%rbp), %rax
movq %rax, -10064(%rbp)
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq -10064(%rbp), %rax
movq %rax, -10096(%rbp) ## 8-byte Spill
movq -10064(%rbp), %rdi
callq _strlen
movq -10096(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, %edx
callq _fwrite
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
jmp LBB0_3
LBB0_12:
movl $0, -10020(%rbp)
LBB0_13:
movl -10020(%rbp), %eax
movl %eax, -10100(%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 -10100(%rbp), %eax ## 4-byte Reload
addq $10112, %rsp ## imm = 0x2780
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s < <vespa.log>\nReplays a vespa log file with the same timing delta between each log message.\nReprints the log messages without timestamps.\n\n"
.subsections_via_symbols
|
the_stack_data/149880.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 0x4066800000000000 ; double 180
lCPI0_1:
.quad 0x40091eb851eb851f ; double 3.1400000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
fmov s0, #1.00000000
stur s0, [x29, #-16]
stur s0, [x29, #-20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur s0, [x29, #-12]
fcvt d1, s0
adrp x8, lCPI0_1@PAGE
ldr d0, [x8, lCPI0_1@PAGEOFF]
fmul d0, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fdiv d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-12]
mov w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur s0, [x29, #-20]
fmov s1, #-1.00000000
fmul s0, s0, s1
ldur s1, [x29, #-12]
fmul s0, s0, s1
ldur s1, [x29, #-12]
fmul s0, s0, s1
ldur w8, [x29, #-4]
mov w9, #2
mul w8, w9, w8
ldur w10, [x29, #-4]
mul w9, w9, w10
subs w9, w9, #1
mul w8, w8, w9
scvtf s1, w8
fdiv s0, s0, s1
stur s0, [x29, #-20]
ldur s1, [x29, #-20]
ldur s0, [x29, #-16]
fadd s0, s0, s1
stur s0, [x29, #-16]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_4:
ldur s0, [x29, #-12]
fcvt d1, s0
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@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 " Enter the value for degree : "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz " Enter the value for n : "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz " The value of Cos(%f) is : %.4f"
.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 0x4066800000000000 ## double 180
LCPI0_1:
.quad 0x40091eb851eb851f ## double 3.1400000000000001
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_2:
.long 0x3f800000 ## float 1
LCPI0_3:
.long 0xbf800000 ## float -1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -16(%rbp)
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -20(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -12(%rbp)
movl $1, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movss LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -20(%rbp), %xmm0
mulss -12(%rbp), %xmm0
mulss -12(%rbp), %xmm0
movl -4(%rbp), %eax
shll $1, %eax
movl -4(%rbp), %ecx
shll $1, %ecx
subl $1, %ecx
imull %ecx, %eax
cvtsi2ss %eax, %xmm1
divss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -16(%rbp), %xmm0
movss %xmm0, -16(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
leaq L_.str.4(%rip), %rdi
movb $2, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " Enter the value for degree : "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz " Enter the value for n : "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz " The value of Cos(%f) is : %.4f"
.subsections_via_symbols
|
the_stack_data/15761756.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _factor ; -- Begin function factor
.p2align 2
_factor: ; @factor
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
add w8, w8, #2
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldursw x8, [x29, #-8]
adrp x9, _target@GOTPAGE
ldr x9, [x9, _target@GOTPAGEOFF]
ldr x9, [x9]
mov x10, #2
udiv x9, x9, x10
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w11, w8, #1
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _target@GOTPAGE
ldr x8, [x8, _target@GOTPAGEOFF]
ldr x8, [x8]
ldursw x10, [x29, #-8]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
adrp x9, _numThreads@GOTPAGE
ldr x9, [x9, _numThreads@GOTPAGEOFF]
ldr w9, [x9]
add w8, w8, w9
stur w8, [x29, #-8]
b LBB0_1
LBB0_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, #496
.cfi_def_cfa_offset 496
stp x28, x27, [sp, #464] ; 16-byte Folded Spill
stp x29, x30, [sp, #480] ; 16-byte Folded Spill
add x29, sp, #480
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, _numThreads@GOTPAGE
ldr x8, [x8, _numThreads@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str xzr, [sp, #32]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
adrp x8, _target@GOTPAGE
ldr x8, [x8, _target@GOTPAGEOFF]
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #50
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
str wzr, [sp, #52]
b LBB1_12
LBB1_3:
str xzr, [sp, #40]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #40]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x9, [sp, #40]
add x8, sp, #56
add x0, x8, x9, lsl #3
ldr x3, [sp, #40]
mov x1, #0
adrp x2, _factor@PAGE
add x2, x2, _factor@PAGEOFF
bl _pthread_create
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB1_4
LBB1_7:
str xzr, [sp, #40]
b LBB1_8
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x8, [sp, #40]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_11
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldr x9, [sp, #40]
add x8, sp, #56
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_8 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB1_8
LBB1_11:
str wzr, [sp, #52]
b LBB1_12
LBB1_12:
ldr w8, [sp, #52]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
bl ___stack_chk_fail
LBB1_14:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #480] ; 16-byte Folded Reload
ldp x28, x27, [sp, #464] ; 16-byte Folded Reload
add sp, sp, #496
ret
.cfi_endproc
; -- End function
.comm _target,8,3 ; @target
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "thread %d testing %llu\n"
l_.str.1: ; @.str.1
.asciz "%llu is a factor\n"
.comm _numThreads,4,2 ; @numThreads
l_.str.2: ; @.str.2
.asciz "Give a number to factor.\n"
l_.str.3: ; @.str.3
.asciz "%llu"
l_.str.4: ; @.str.4
.asciz "How man threads should I create?\n"
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "Bad number of threads!\n"
l_.str.7: ; @.str.7
.asciz "running thread\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _factor ## -- Begin function factor
.p2align 4, 0x90
_factor: ## @factor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
addl $2, %eax
movl %eax, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -8(%rbp), %rax
movq _target@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
shrq $1, %rcx
cmpq %rcx, %rax
ja LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %esi
addl $1, %esi
movl -8(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq _target@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
cmpq $0, %rdx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movq _numThreads@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_6:
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 $448, %rsp ## imm = 0x1C0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
movq $0, -440(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movq _target@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movq _numThreads@GOTPCREL(%rip), %rsi
movb $0, %al
callq _scanf
movq _numThreads@GOTPCREL(%rip), %rax
cmpl $50, (%rax)
jg LBB1_2
## %bb.1:
movq _numThreads@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
jge LBB1_3
LBB1_2:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -420(%rbp)
jmp LBB1_12
LBB1_3:
movq $0, -432(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
movq -432(%rbp), %rax
movq _numThreads@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jae LBB1_7
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -432(%rbp), %rax
leaq -416(%rbp), %rdi
shlq $3, %rax
addq %rax, %rdi
movq -432(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _factor(%rip), %rdx
callq _pthread_create
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
movq -432(%rbp), %rax
addq $1, %rax
movq %rax, -432(%rbp)
jmp LBB1_4
LBB1_7:
movq $0, -432(%rbp)
LBB1_8: ## =>This Inner Loop Header: Depth=1
movq -432(%rbp), %rax
movq _numThreads@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jae LBB1_11
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movq -432(%rbp), %rax
movq -416(%rbp,%rax,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
movq -432(%rbp), %rax
addq $1, %rax
movq %rax, -432(%rbp)
jmp LBB1_8
LBB1_11:
movl $0, -420(%rbp)
LBB1_12:
movl -420(%rbp), %eax
movl %eax, -444(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_14
## %bb.13:
movl -444(%rbp), %eax ## 4-byte Reload
addq $448, %rsp ## imm = 0x1C0
popq %rbp
retq
LBB1_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _target,8,3 ## @target
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "thread %d testing %llu\n"
L_.str.1: ## @.str.1
.asciz "%llu is a factor\n"
.comm _numThreads,4,2 ## @numThreads
L_.str.2: ## @.str.2
.asciz "Give a number to factor.\n"
L_.str.3: ## @.str.3
.asciz "%llu"
L_.str.4: ## @.str.4
.asciz "How man threads should I create?\n"
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "Bad number of threads!\n"
L_.str.7: ## @.str.7
.asciz "running thread\n"
.subsections_via_symbols
|
the_stack_data/68180.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_person ; -- Begin function insert_person
.p2align 2
_insert_person: ; @insert_person
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #48]
str x1, [sp, #40]
str w2, [sp, #36]
str x3, [sp, #24]
ldr x1, [sp, #48]
sub x0, x29, #36
str x0, [sp, #16] ; 8-byte Folded Spill
mov x2, #10
bl ___strcpy_chk
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #40]
add x0, x8, #10
mov x2, #12
bl ___strcpy_chk
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w8, [sp, #36]
stur w8, [x29, #-12]
ldr x3, [sp, #24]
mov x1, #28
mov x2, #1
bl _fwrite
subs x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #-1
stur w8, [x29, #-40]
b LBB0_3
LBB0_2:
stur wzr, [x29, #-40]
b LBB0_3
LBB0_3:
ldur w8, [x29, #-40]
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_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _find_person ; -- Begin function find_person
.p2align 2
_find_person: ; @find_person
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
str x2, [sp, #16]
ldr x0, [sp, #16]
bl _rewind
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #16]
bl _ftell
mov x8, x0
str w8, [sp, #12]
ldr x0, [sp, #24]
ldr x3, [sp, #16]
mov x1, #28
mov x2, #1
bl _fread
ldr x0, [sp, #16]
bl _feof
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
b LBB1_6
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
add x0, x8, #10
ldur x1, [x29, #-16]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB1_7
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_6:
mov w8, #-1
stur w8, [x29, #-4]
b LBB1_7
LBB1_7:
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, #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]
stur wzr, [x29, #-52]
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
str x0, [sp, #64]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
stur wzr, [x29, #-52]
b LBB2_12
LBB2_2:
ldr x3, [sp, #64]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov w2, #20
bl _insert_person
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-52]
b LBB2_12
LBB2_4:
ldr x3, [sp, #64]
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
mov w2, #25
bl _insert_person
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-52]
b LBB2_12
LBB2_6:
ldr x3, [sp, #64]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
mov w2, #30
bl _insert_person
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-52]
b LBB2_12
LBB2_8:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #48
str x8, [sp, #48] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _scanf
ldr x8, [sp, #48] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldr x2, [sp, #64]
sub x1, x29, #36
bl _find_person
str w0, [sp, #60]
ldr w8, [sp, #60]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB2_11
LBB2_10:
ldr w8, [sp, #60]
; implicit-def: $x12
mov x12, x8
sub x11, x29, #36
add x10, x11, #10
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x12, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB2_11
LBB2_11:
ldr x0, [sp, #64]
bl _fclose
stur wzr, [x29, #-52]
b LBB2_12
LBB2_12:
ldur w8, [x29, #-52]
str w8, [sp, #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, LBB2_14
b LBB2_13
LBB2_13:
bl ___stack_chk_fail
LBB2_14:
ldr w0, [sp, #44] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "list_of_people.bin"
l_.str.1: ; @.str.1
.asciz "wb+"
l_.str.2: ; @.str.2
.asciz "Error.\n"
l_.str.3: ; @.str.3
.asciz "person1"
l_.str.4: ; @.str.4
.asciz "12345678901"
l_.str.5: ; @.str.5
.asciz "person2"
l_.str.6: ; @.str.6
.asciz "12345678902"
l_.str.7: ; @.str.7
.asciz "person3"
l_.str.8: ; @.str.8
.asciz "12345678903"
l_.str.9: ; @.str.9
.asciz "Enter cpf: \n"
l_.str.10: ; @.str.10
.asciz "%s"
l_.str.11: ; @.str.11
.asciz "[%s]\n"
l_.str.12: ; @.str.12
.asciz "Not found.\n"
l_.str.13: ; @.str.13
.asciz "Person found:\nposition: %d\tname: %s\tcpf: %s\tage: %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insert_person ## -- Begin function insert_person
.p2align 4, 0x90
_insert_person: ## @insert_person
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -56(%rbp)
movq %rsi, -64(%rbp)
movl %edx, -68(%rbp)
movq %rcx, -80(%rbp)
leaq -40(%rbp), %rdi
movq -56(%rbp), %rsi
movl $10, %edx
callq ___strcpy_chk
leaq -40(%rbp), %rdi
addq $10, %rdi
movq -64(%rbp), %rsi
movl $12, %edx
callq ___strcpy_chk
movl -68(%rbp), %eax
movl %eax, -16(%rbp)
leaq -40(%rbp), %rdi
movq -80(%rbp), %rcx
movl $28, %esi
movl $1, %edx
callq _fwrite
cmpq $1, %rax
je LBB0_2
## %bb.1:
movl $-1, -44(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -44(%rbp)
LBB0_3:
movl -44(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
movl -84(%rbp), %eax ## 4-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _find_person ## -- Begin function find_person
.p2align 4, 0x90
_find_person: ## @find_person
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -32(%rbp), %rdi
callq _rewind
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movq -24(%rbp), %rdi
movq -32(%rbp), %rcx
movl $28, %esi
movl $1, %edx
callq _fread
movq -32(%rbp), %rdi
callq _feof
cmpl $0, %eax
je LBB1_3
## %bb.2:
jmp LBB1_6
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rdi
addq $10, %rdi
movq -16(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB1_5
## %bb.4:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB1_7
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_6:
movl $-1, -4(%rbp)
LBB1_7:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -56(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB2_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -56(%rbp)
jmp LBB2_12
LBB2_2:
movq -64(%rbp), %rcx
leaq L_.str.3(%rip), %rdi
leaq L_.str.4(%rip), %rsi
movl $20, %edx
callq _insert_person
cmpl $-1, %eax
jne LBB2_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -56(%rbp)
jmp LBB2_12
LBB2_4:
movq -64(%rbp), %rcx
leaq L_.str.5(%rip), %rdi
leaq L_.str.6(%rip), %rsi
movl $25, %edx
callq _insert_person
cmpl $-1, %eax
jne LBB2_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -56(%rbp)
jmp LBB2_12
LBB2_6:
movq -64(%rbp), %rcx
leaq L_.str.7(%rip), %rdi
leaq L_.str.8(%rip), %rsi
movl $30, %edx
callq _insert_person
cmpl $-1, %eax
jne LBB2_8
## %bb.7:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -56(%rbp)
jmp LBB2_12
LBB2_8:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq -52(%rbp), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _scanf
leaq -52(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
leaq -52(%rbp), %rdi
movq -64(%rbp), %rdx
leaq -40(%rbp), %rsi
callq _find_person
movl %eax, -68(%rbp)
cmpl $-1, -68(%rbp)
jne LBB2_10
## %bb.9:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_11
LBB2_10:
movl -68(%rbp), %esi
leaq -40(%rbp), %rdx
leaq -40(%rbp), %rcx
addq $10, %rcx
movl -16(%rbp), %r8d
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
LBB2_11:
movq -64(%rbp), %rdi
callq _fclose
movl $0, -56(%rbp)
LBB2_12:
movl -56(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_14
## %bb.13:
movl -76(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB2_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "list_of_people.bin"
L_.str.1: ## @.str.1
.asciz "wb+"
L_.str.2: ## @.str.2
.asciz "Error.\n"
L_.str.3: ## @.str.3
.asciz "person1"
L_.str.4: ## @.str.4
.asciz "12345678901"
L_.str.5: ## @.str.5
.asciz "person2"
L_.str.6: ## @.str.6
.asciz "12345678902"
L_.str.7: ## @.str.7
.asciz "person3"
L_.str.8: ## @.str.8
.asciz "12345678903"
L_.str.9: ## @.str.9
.asciz "Enter cpf: \n"
L_.str.10: ## @.str.10
.asciz "%s"
L_.str.11: ## @.str.11
.asciz "[%s]\n"
L_.str.12: ## @.str.12
.asciz "Not found.\n"
L_.str.13: ## @.str.13
.asciz "Person found:\nposition: %d\tname: %s\tcpf: %s\tage: %d\n"
.subsections_via_symbols
|
the_stack_data/9511565.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #1
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldursb w10, [x29, #-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 w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enter any character: "
l_.str.1: ; @.str.1
.asciz "%c"
l_.str.2: ; @.str.2
.asciz "%d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -1(%rbp), %rsi
movb $0, %al
callq _scanf
movsbl -1(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enter any character: "
L_.str.1: ## @.str.1
.asciz "%c"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
|
the_stack_data/782577.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bits ; -- Begin function bits
.p2align 2
_bits: ; @bits
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
mov w9, #2
sdiv w8, w8, w9
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
mov w9, #2
sdiv w0, w8, w9
bl _bits
add w8, w0, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
mov w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _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 LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
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
bl _getchar
ldur w8, [x29, #-8]
mov w9, #2147483647
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
mov w9, #-2147483647
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@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
ldur w8, [x29, #-8]
mov w9, #2147483647
subs w8, w8, w9
cset w8, gt
mov w9, #1
stur w9, [x29, #-12] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
mov w9, #-2147483647
subs w8, w8, w9
cset w8, lt
stur w8, [x29, #-12] ; 4-byte Folded Spill
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
tbnz w8, #0, LBB1_1
b LBB1_8
LBB1_8:
ldur w0, [x29, #-8]
bl _bits
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
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 "\nDigite um inteiro positivo: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\nERRO! Fora dos limites de um inteiro de 32 bits\n"
l_.str.3: ; @.str.3
.asciz "\nQuantidade de bits = %i\n\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bits ## -- Begin function bits
.p2align 4, 0x90
_bits: ## @bits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %eax
jle LBB0_2
## %bb.1:
movl -4(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %edi
callq _bits
addl $1, %eax
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl $1, %eax
movl %eax, -8(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_3:
movl -8(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %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)
LBB1_1: ## =>This Inner Loop Header: Depth=1
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
callq _getchar
cmpl $2147483647, -8(%rbp) ## imm = 0x7FFFFFFF
jg LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
cmpl $-2147483647, -8(%rbp) ## imm = 0x80000001
jge LBB1_4
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.2(%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
movb $1, %al
cmpl $2147483647, -8(%rbp) ## imm = 0x7FFFFFFF
movb %al, -9(%rbp) ## 1-byte Spill
jg LBB1_7
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
cmpl $-2147483647, -8(%rbp) ## imm = 0x80000001
setl %al
movb %al, -9(%rbp) ## 1-byte Spill
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movb -9(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_1
## %bb.8:
movl -8(%rbp), %edi
callq _bits
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nDigite um inteiro positivo: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\nERRO! Fora dos limites de um inteiro de 32 bits\n"
L_.str.3: ## @.str.3
.asciz "\nQuantidade de bits = %i\n\n"
.subsections_via_symbols
|
the_stack_data/124306.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _new_node ; -- Begin function new_node
.p2align 2
_new_node: ; @new_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
stur w0, [x29, #-4]
mov x0, #24
bl _malloc
str x0, [sp]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldr x8, [sp]
str xzr, [x8, #8]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9, #16]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_tree_preorder ; -- Begin function print_tree_preorder
.p2align 2
_print_tree_preorder: ; @print_tree_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, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #8]
ldr w9, [x8, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x0, [x8]
bl _print_tree_preorder
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _print_tree_preorder
b LBB1_2
LBB1_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_tree_inorder ; -- Begin function print_tree_inorder
.p2align 2
_print_tree_inorder: ; @print_tree_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, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #8]
ldr x0, [x8]
bl _print_tree_inorder
ldr x8, [sp, #8]
ldr w9, [x8, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _print_tree_inorder
b LBB2_2
LBB2_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_tree_postorder ; -- Begin function print_tree_postorder
.p2align 2
_print_tree_postorder: ; @print_tree_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, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #8]
ldr x0, [x8]
bl _print_tree_postorder
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _print_tree_postorder
ldr x8, [sp, #8]
ldr w9, [x8, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB3_2
LBB3_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _new_tree ; -- Begin function new_tree
.p2align 2
_new_tree: ; @new_tree
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #4]
ldr w0, [sp, #4]
bl _new_node
str x0, [sp, #8]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_inorder ; -- Begin function insert_inorder
.p2align 2
_insert_inorder: ; @insert_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]
str w1, [sp, #4]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_11
b LBB5_1
LBB5_1:
ldr w8, [sp, #4]
ldr x9, [sp, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2:
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
ldr w1, [sp, #4]
bl _insert_inorder
b LBB5_5
LBB5_4:
ldr w0, [sp, #4]
bl _new_node
ldr x8, [sp, #8]
str x0, [x8, #8]
b LBB5_5
LBB5_5:
b LBB5_10
LBB5_6:
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
ldr x8, [sp, #8]
ldr x0, [x8]
ldr w1, [sp, #4]
bl _insert_inorder
b LBB5_9
LBB5_8:
ldr w0, [sp, #4]
bl _new_node
ldr x8, [sp, #8]
str x0, [x8]
b LBB5_9
LBB5_9:
b LBB5_10
LBB5_10:
b LBB5_11
LBB5_11:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _insert_postorder ; -- Begin function insert_postorder
.p2align 2
_insert_postorder: ; @insert_postorder
.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, LBB6_29
b LBB6_1
LBB6_1:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB6_25
b LBB6_2
LBB6_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldur w0, [x29, #-12]
bl _new_node
ldur x8, [x29, #-8]
str x0, [x8]
b LBB6_24
LBB6_4:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_10
b LBB6_5
LBB6_5:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_10
b LBB6_6
LBB6_6:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
ldur w0, [x29, #-12]
bl _new_node
ldur x8, [x29, #-8]
str x0, [x8, #8]
b LBB6_9
LBB6_8:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8, #16]
str w8, [sp, #16]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
str w8, [x9, #16]
ldr w0, [sp, #16]
bl _new_node
ldur x8, [x29, #-8]
str x0, [x8, #8]
b LBB6_9
LBB6_9:
b LBB6_23
LBB6_10:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_22
b LBB6_11
LBB6_11:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_22
b LBB6_12
LBB6_12:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_14
b LBB6_13
LBB6_13:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr w8, [x8, #16]
str w8, [sp, #12]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
str w8, [x9, #16]
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldr w1, [sp, #12]
bl _insert_postorder
b LBB6_21
LBB6_14:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_16
b LBB6_15
LBB6_15:
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur w1, [x29, #-12]
bl _insert_postorder
b LBB6_20
LBB6_16:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_19
b LBB6_17
LBB6_17:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_19
b LBB6_18
LBB6_18:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w1, [x29, #-12]
bl _insert_postorder
b LBB6_19
LBB6_19:
b LBB6_20
LBB6_20:
b LBB6_21
LBB6_21:
b LBB6_22
LBB6_22:
b LBB6_23
LBB6_23:
b LBB6_24
LBB6_24:
b LBB6_28
LBB6_25:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_27
b LBB6_26
LBB6_26:
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
str w8, [sp, #8]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
str w8, [x9, #16]
ldur x0, [x29, #-8]
ldr w1, [sp, #8]
bl _insert_postorder
b LBB6_27
LBB6_27:
b LBB6_28
LBB6_28:
b LBB6_29
LBB6_29:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insert_preorder ; -- Begin function insert_preorder
.p2align 2
_insert_preorder: ; @insert_preorder
.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 x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_36
b LBB7_1
LBB7_1:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB7_32
b LBB7_2
LBB7_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
ldur w0, [x29, #-12]
bl _new_node
ldur x8, [x29, #-8]
str x0, [x8]
b LBB7_31
LBB7_4:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_12
b LBB7_5
LBB7_5:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_12
b LBB7_6
LBB7_6:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB7_8
b LBB7_7
LBB7_7:
ldur w0, [x29, #-12]
bl _new_node
ldur x8, [x29, #-8]
str x0, [x8, #8]
b LBB7_11
LBB7_8:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_10
b LBB7_9
LBB7_9:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8, #16]
stur w8, [x29, #-16]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
str w8, [x9, #16]
ldur w0, [x29, #-16]
bl _new_node
ldur x8, [x29, #-8]
str x0, [x8, #8]
b LBB7_10
LBB7_10:
b LBB7_11
LBB7_11:
b LBB7_30
LBB7_12:
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_29
b LBB7_13
LBB7_13:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_29
b LBB7_14
LBB7_14:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_16
b LBB7_15
LBB7_15:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8, #16]
stur w8, [x29, #-20]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
str w8, [x9, #16]
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur w1, [x29, #-20]
bl _insert_preorder
b LBB7_28
LBB7_16:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB7_18
b LBB7_17
LBB7_17:
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w1, [x29, #-12]
bl _insert_preorder
b LBB7_27
LBB7_18:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB7_26
b LBB7_19
LBB7_19:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_26
b LBB7_20
LBB7_20:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9]
ldr w9, [x9, #16]
subs w8, w8, w9
str w8, [sp, #24]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
str w8, [sp, #20]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB7_22
b LBB7_21
LBB7_21:
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur w1, [x29, #-12]
bl _insert_preorder
b LBB7_25
LBB7_22:
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB7_24
b LBB7_23
LBB7_23:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldr w8, [x8, #16]
str w8, [sp, #16]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
str w8, [x9, #16]
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldr w1, [sp, #16]
bl _insert_preorder
b LBB7_24
LBB7_24:
b LBB7_25
LBB7_25:
b LBB7_26
LBB7_26:
b LBB7_27
LBB7_27:
b LBB7_28
LBB7_28:
b LBB7_29
LBB7_29:
b LBB7_30
LBB7_30:
b LBB7_31
LBB7_31:
b LBB7_35
LBB7_32:
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB7_34
b LBB7_33
LBB7_33:
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
str w8, [sp, #12]
ldur w8, [x29, #-12]
ldur x9, [x29, #-8]
str w8, [x9, #16]
ldur x0, [x29, #-8]
ldr w1, [sp, #12]
bl _insert_preorder
b LBB7_34
LBB7_34:
b LBB7_35
LBB7_35:
b LBB7_36
LBB7_36:
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 w0, #2
bl _new_tree
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
mov w1, #3
bl _insert_preorder
ldur x0, [x29, #-8]
mov w1, #7
bl _insert_preorder
ldur x0, [x29, #-8]
mov w1, #4
bl _insert_preorder
ldur x0, [x29, #-8]
mov w1, #1
bl _insert_preorder
ldur x0, [x29, #-8]
mov w1, #6
bl _insert_preorder
ldur x0, [x29, #-8]
mov w1, #5
bl _insert_preorder
ldur x0, [x29, #-8]
bl _print_tree_preorder
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp] ; 8-byte Folded Spill
bl _printf
mov w0, #8
bl _new_tree
str x0, [sp, #16]
ldr x0, [sp, #16]
mov w1, #9
bl _insert_postorder
ldr x0, [sp, #16]
mov w1, #10
bl _insert_postorder
ldr x0, [sp, #16]
mov w1, #11
bl _insert_postorder
ldr x0, [sp, #16]
mov w1, #12
bl _insert_postorder
ldr x0, [sp, #16]
mov w1, #13
bl _insert_postorder
ldr x0, [sp, #16]
mov w1, #14
bl _insert_postorder
ldr x0, [sp, #16]
bl _print_tree_postorder
ldr x0, [sp] ; 8-byte Folded Reload
bl _printf
mov w0, #21
bl _new_tree
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #15
bl _insert_inorder
ldr x0, [sp, #8]
mov w1, #17
bl _insert_inorder
ldr x0, [sp, #8]
mov w1, #19
bl _insert_inorder
ldr x0, [sp, #8]
mov w1, #16
bl _insert_inorder
ldr x0, [sp, #8]
mov w1, #20
bl _insert_inorder
ldr x0, [sp, #8]
mov w1, #18
bl _insert_inorder
ldr x0, [sp, #8]
bl _print_tree_inorder
ldr x0, [sp] ; 8-byte Folded Reload
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d -> "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _new_node ## -- Begin function new_node
.p2align 4, 0x90
_new_node: ## @new_node
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq $0, (%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, 16(%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_tree_preorder ## -- Begin function print_tree_preorder
.p2align 4, 0x90
_print_tree_preorder: ## @print_tree_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 LBB1_2
## %bb.1:
movq -8(%rbp), %rax
movl 16(%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _print_tree_preorder
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _print_tree_preorder
LBB1_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_tree_inorder ## -- Begin function print_tree_inorder
.p2align 4, 0x90
_print_tree_inorder: ## @print_tree_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 LBB2_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _print_tree_inorder
movq -8(%rbp), %rax
movl 16(%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _print_tree_inorder
LBB2_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_tree_postorder ## -- Begin function print_tree_postorder
.p2align 4, 0x90
_print_tree_postorder: ## @print_tree_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 LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _print_tree_postorder
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _print_tree_postorder
movq -8(%rbp), %rax
movl 16(%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB3_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _new_tree ## -- Begin function new_tree
.p2align 4, 0x90
_new_tree: ## @new_tree
.cfi_startproc
## %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, -12(%rbp)
movl -12(%rbp), %edi
callq _new_node
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_inorder ## -- Begin function insert_inorder
.p2align 4, 0x90
_insert_inorder: ## @insert_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)
movl %esi, -12(%rbp)
cmpq $0, -8(%rbp)
je LBB5_11
## %bb.1:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 16(%rcx), %eax
jle LBB5_6
## %bb.2:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB5_4
## %bb.3:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
callq _insert_inorder
jmp LBB5_5
LBB5_4:
movl -12(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
LBB5_5:
jmp LBB5_10
LBB5_6:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB5_8
## %bb.7:
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -12(%rbp), %esi
callq _insert_inorder
jmp LBB5_9
LBB5_8:
movl -12(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
LBB5_9:
jmp LBB5_10
LBB5_10:
jmp LBB5_11
LBB5_11:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_postorder ## -- Begin function insert_postorder
.p2align 4, 0x90
_insert_postorder: ## @insert_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 $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
cmpq $0, -8(%rbp)
je LBB6_29
## %bb.1:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 16(%rcx), %eax
jg LBB6_25
## %bb.2:
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB6_4
## %bb.3:
movl -12(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB6_24
LBB6_4:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB6_10
## %bb.5:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB6_10
## %bb.6:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jle LBB6_8
## %bb.7:
movl -12(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB6_9
LBB6_8:
movq -8(%rbp), %rax
movq (%rax), %rax
movl 16(%rax), %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
movl %ecx, 16(%rax)
movl -16(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
LBB6_9:
jmp LBB6_23
LBB6_10:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB6_22
## %bb.11:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB6_22
## %bb.12:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl 16(%rcx), %eax
jle LBB6_14
## %bb.13:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl 16(%rax), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -20(%rbp), %esi
callq _insert_postorder
jmp LBB6_21
LBB6_14:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jge LBB6_16
## %bb.15:
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -12(%rbp), %esi
callq _insert_postorder
jmp LBB6_20
LBB6_16:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jle LBB6_19
## %bb.17:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl 16(%rcx), %eax
jge LBB6_19
## %bb.18:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
callq _insert_postorder
LBB6_19:
jmp LBB6_20
LBB6_20:
jmp LBB6_21
LBB6_21:
jmp LBB6_22
LBB6_22:
jmp LBB6_23
LBB6_23:
jmp LBB6_24
LBB6_24:
jmp LBB6_28
LBB6_25:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 16(%rcx), %eax
jle LBB6_27
## %bb.26:
movq -8(%rbp), %rax
movl 16(%rax), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rdi
movl -24(%rbp), %esi
callq _insert_postorder
LBB6_27:
jmp LBB6_28
LBB6_28:
jmp LBB6_29
LBB6_29:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insert_preorder ## -- Begin function insert_preorder
.p2align 4, 0x90
_insert_preorder: ## @insert_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 $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
cmpq $0, -8(%rbp)
je LBB7_36
## %bb.1:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 16(%rcx), %eax
jle LBB7_32
## %bb.2:
movq -8(%rbp), %rax
cmpq $0, (%rax)
jne LBB7_4
## %bb.3:
movl -12(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, (%rax)
jmp LBB7_31
LBB7_4:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB7_12
## %bb.5:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB7_12
## %bb.6:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jle LBB7_8
## %bb.7:
movl -12(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB7_11
LBB7_8:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jge LBB7_10
## %bb.9:
movq -8(%rbp), %rax
movq (%rax), %rax
movl 16(%rax), %eax
movl %eax, -16(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
movl %ecx, 16(%rax)
movl -16(%rbp), %edi
callq _new_node
movq %rax, %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
LBB7_10:
jmp LBB7_11
LBB7_11:
jmp LBB7_30
LBB7_12:
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB7_29
## %bb.13:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB7_29
## %bb.14:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jge LBB7_16
## %bb.15:
movq -8(%rbp), %rax
movq (%rax), %rax
movl 16(%rax), %eax
movl %eax, -20(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movq (%rax), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -20(%rbp), %esi
callq _insert_preorder
jmp LBB7_28
LBB7_16:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl 16(%rcx), %eax
jle LBB7_18
## %bb.17:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
callq _insert_preorder
jmp LBB7_27
LBB7_18:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
cmpl 16(%rcx), %eax
jle LBB7_26
## %bb.19:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl 16(%rcx), %eax
jge LBB7_26
## %bb.20:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq (%rcx), %rcx
subl 16(%rcx), %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
movq 8(%rcx), %rcx
subl 16(%rcx), %eax
movl %eax, -28(%rbp)
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jg LBB7_22
## %bb.21:
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -12(%rbp), %esi
callq _insert_preorder
jmp LBB7_25
LBB7_22:
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB7_24
## %bb.23:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl 16(%rax), %eax
movl %eax, -32(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movq 8(%rax), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -32(%rbp), %esi
callq _insert_preorder
LBB7_24:
jmp LBB7_25
LBB7_25:
jmp LBB7_26
LBB7_26:
jmp LBB7_27
LBB7_27:
jmp LBB7_28
LBB7_28:
jmp LBB7_29
LBB7_29:
jmp LBB7_30
LBB7_30:
jmp LBB7_31
LBB7_31:
jmp LBB7_35
LBB7_32:
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 16(%rcx), %eax
jge LBB7_34
## %bb.33:
movq -8(%rbp), %rax
movl 16(%rax), %eax
movl %eax, -36(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 16(%rax)
movq -8(%rbp), %rdi
movl -36(%rbp), %esi
callq _insert_preorder
LBB7_34:
jmp LBB7_35
LBB7_35:
jmp LBB7_36
LBB7_36:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $2, %edi
callq _new_tree
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
movl $3, %esi
callq _insert_preorder
movq -8(%rbp), %rdi
movl $7, %esi
callq _insert_preorder
movq -8(%rbp), %rdi
movl $4, %esi
callq _insert_preorder
movq -8(%rbp), %rdi
movl $1, %esi
callq _insert_preorder
movq -8(%rbp), %rdi
movl $6, %esi
callq _insert_preorder
movq -8(%rbp), %rdi
movl $5, %esi
callq _insert_preorder
movq -8(%rbp), %rdi
callq _print_tree_preorder
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $8, %edi
callq _new_tree
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
movl $9, %esi
callq _insert_postorder
movq -16(%rbp), %rdi
movl $10, %esi
callq _insert_postorder
movq -16(%rbp), %rdi
movl $11, %esi
callq _insert_postorder
movq -16(%rbp), %rdi
movl $12, %esi
callq _insert_postorder
movq -16(%rbp), %rdi
movl $13, %esi
callq _insert_postorder
movq -16(%rbp), %rdi
movl $14, %esi
callq _insert_postorder
movq -16(%rbp), %rdi
callq _print_tree_postorder
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $21, %edi
callq _new_tree
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movl $15, %esi
callq _insert_inorder
movq -24(%rbp), %rdi
movl $17, %esi
callq _insert_inorder
movq -24(%rbp), %rdi
movl $19, %esi
callq _insert_inorder
movq -24(%rbp), %rdi
movl $16, %esi
callq _insert_inorder
movq -24(%rbp), %rdi
movl $20, %esi
callq _insert_inorder
movq -24(%rbp), %rdi
movl $18, %esi
callq _insert_inorder
movq -24(%rbp), %rdi
callq _print_tree_inorder
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d -> "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/29133.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
bl ___VERIFIER_error
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, _SIZE@GOTPAGE
ldr x8, [x8, _SIZE@GOTPAGEOFF]
stur x8, [x29, #-48] ; 8-byte Folded Spill
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
bl ___VERIFIER_nondet_int
ldur x8, [x29, #-48] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #1
stur w8, [x29, #-12]
b LBB1_23
LBB1_2:
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr w8, [x8]
; 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 x9, x9, x10
mov sp, x9
stur x9, [x29, #-56] ; 8-byte Folded Spill
stur x8, [x29, #-32]
stur wzr, [x29, #-36]
stur wzr, [x29, #-16]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldursw x10, [x29, #-16]
mov w8, #1
str w8, [x9, x10, lsl #2]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_3
LBB1_6:
stur wzr, [x29, #-16]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
stur w8, [x29, #-36]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_7
LBB1_10:
stur wzr, [x29, #-16]
b LBB1_11
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_11 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
stur w8, [x29, #-36]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_11 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_11
LBB1_14:
stur wzr, [x29, #-16]
b LBB1_15
LBB1_15: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_18
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_15 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
stur w8, [x29, #-36]
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_15 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_15
LBB1_18:
stur wzr, [x29, #-16]
b LBB1_19
LBB1_19: ; =>This Inner Loop Header: Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_22
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_19 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldursw x10, [x29, #-16]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
stur w8, [x29, #-36]
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_19 Depth=1
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB1_19
LBB1_22:
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
and w0, w8, #0x1
bl ___VERIFIER_assert
mov w8, #1
stur w8, [x29, #-12]
ldur x8, [x29, #-24]
mov sp, x8
b LBB1_23
LBB1_23:
ldur w8, [x29, #-12]
stur w8, [x29, #-68] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24:
bl ___stack_chk_fail
LBB1_25:
ldur w0, [x29, #-68] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _SIZE,4,2 ; @SIZE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB0_3
## %bb.1:
jmp LBB0_2
LBB0_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq ___VERIFIER_error
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
callq ___VERIFIER_nondet_int
movl %eax, %ecx
movq _SIZE@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _SIZE@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jg LBB1_2
## %bb.1:
movl $1, -12(%rbp)
jmp LBB1_23
LBB1_2:
movq _SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -56(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -16(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _SIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movslq -16(%rbp), %rcx
movl $1, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_6:
movl $0, -16(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _SIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_10
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movl -36(%rbp), %eax
movslq -16(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -36(%rbp)
## %bb.9: ## in Loop: Header=BB1_7 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_7
LBB1_10:
movl $0, -16(%rbp)
LBB1_11: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _SIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_14
## %bb.12: ## in Loop: Header=BB1_11 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movl -36(%rbp), %eax
movslq -16(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -36(%rbp)
## %bb.13: ## in Loop: Header=BB1_11 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_11
LBB1_14:
movl $0, -16(%rbp)
LBB1_15: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _SIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_18
## %bb.16: ## in Loop: Header=BB1_15 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movl -36(%rbp), %eax
movslq -16(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
movl %eax, -36(%rbp)
## %bb.17: ## in Loop: Header=BB1_15 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_15
LBB1_18:
movl $0, -16(%rbp)
LBB1_19: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movq _SIZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_22
## %bb.20: ## in Loop: Header=BB1_19 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movl -36(%rbp), %eax
movslq -16(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
movl %eax, -36(%rbp)
## %bb.21: ## in Loop: Header=BB1_19 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_19
LBB1_22:
cmpl $0, -36(%rbp)
sete %al
andb $1, %al
movzbl %al, %edi
callq ___VERIFIER_assert
movl $1, -12(%rbp)
movq -24(%rbp), %rax
movq %rax, %rsp
LBB1_23:
movl -12(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_25
## %bb.24:
movl -60(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB1_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _SIZE,4,2 ## @SIZE
.subsections_via_symbols
|
the_stack_data/215767334.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _perror ; -- Begin function perror
.p2align 2
_perror: ; @perror
.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, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr x8, [sp, #8]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr x8, [sp] ; 8-byte Folded Reload
ldr x0, [sp, #8]
ldr x1, [x8]
bl _fputs
ldr x8, [sp] ; 8-byte Folded Reload
ldr x1, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _fputs
b LBB0_3
LBB0_3:
bl ___error
ldr w0, [x0]
bl _strerror
ldr x8, [sp] ; 8-byte Folded Reload
ldr x1, [x8]
bl _fputs
ldr x8, [sp] ; 8-byte Folded Reload
ldr x1, [x8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _fputs
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 ": "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _perror ## -- Begin function perror
.p2align 4, 0x90
_perror: ## @perror
.cfi_startproc
## %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 LBB0_3
## %bb.1:
movq -8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB0_3
## %bb.2:
movq -8(%rbp), %rdi
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str(%rip), %rdi
callq _fputs
LBB0_3:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rdi
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _fputs
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.1(%rip), %rdi
callq _fputs
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ": "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/5851.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, #31026
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, #26986
movk x9, #13958, lsl #16
add x8, x8, x9
mov x9, #64278
mul x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
strh w8, [sp, #14]
ldrh w8, [sp, #14]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_1
LBB2_1:
ldrh w8, [sp, #14]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
mul w8, w8, w9
strh w8, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
mul w8, w8, w9
strh w8, [sp, #14]
b LBB2_4
LBB2_3:
ldrb w8, [sp, #15]
strb w8, [sp, #13]
ldrb w8, [sp, #14]
strb w8, [sp, #15]
ldrb w8, [sp, #13]
strb w8, [sp, #14]
b LBB2_4
LBB2_4:
b LBB2_9
LBB2_5:
ldrh w8, [sp, #14]
asr w8, w8, #4
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldrb w8, [sp, #14]
strb w8, [sp, #12]
ldrb w8, [sp, #15]
strb w8, [sp, #14]
ldrb w8, [sp, #12]
strb w8, [sp, #15]
ldrb w8, [sp, #15]
strb w8, [sp, #12]
ldrb w8, [sp, #14]
strb w8, [sp, #15]
ldrb w8, [sp, #12]
strb w8, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
add w8, w8, w9
strh w8, [sp, #14]
b LBB2_8
LBB2_7:
ldrb w8, [sp, #15]
strb w8, [sp, #11]
ldrb w8, [sp, #14]
strb w8, [sp, #15]
ldrb w8, [sp, #11]
strb w8, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
add w8, w8, w9
strh w8, [sp, #14]
b LBB2_8
LBB2_8:
b LBB2_9
LBB2_9:
ldrh w8, [sp, #14]
; kill: def $x8 killed $w8
mov x9, #60421
movk x9, #10284, lsl #16
mul x8, x8, x9
mov x9, #16620
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 $31026, %eax ## imm = 0x7932
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 $914778474, %rax ## imm = 0x3686696A
imulq $64278, %rax, %rax ## imm = 0xFB16
## kill: def $ax killed $ax killed $rax
movw %ax, -18(%rbp)
movzwl -18(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB2_5
## %bb.1:
movzwl -18(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB2_3
## %bb.2:
movzwl -18(%rbp), %ecx
movzwl -18(%rbp), %eax
imull %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
movzwl -18(%rbp), %ecx
movzwl -18(%rbp), %eax
imull %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
jmp LBB2_4
LBB2_3:
movb -17(%rbp), %al
movb %al, -19(%rbp)
movb -18(%rbp), %al
movb %al, -17(%rbp)
movb -19(%rbp), %al
movb %al, -18(%rbp)
LBB2_4:
jmp LBB2_9
LBB2_5:
movzwl -18(%rbp), %eax
sarl $4, %eax
andl $1, %eax
cmpl $0, %eax
je LBB2_7
## %bb.6:
movb -18(%rbp), %al
movb %al, -20(%rbp)
movb -17(%rbp), %al
movb %al, -18(%rbp)
movb -20(%rbp), %al
movb %al, -17(%rbp)
movb -17(%rbp), %al
movb %al, -20(%rbp)
movb -18(%rbp), %al
movb %al, -17(%rbp)
movb -20(%rbp), %al
movb %al, -18(%rbp)
movzwl -18(%rbp), %ecx
movzwl -18(%rbp), %eax
addl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
jmp LBB2_8
LBB2_7:
movb -17(%rbp), %al
movb %al, -21(%rbp)
movb -18(%rbp), %al
movb %al, -17(%rbp)
movb -21(%rbp), %al
movb %al, -18(%rbp)
movzwl -18(%rbp), %ecx
movzwl -18(%rbp), %eax
addl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
LBB2_8:
jmp LBB2_9
LBB2_9:
movzwl -18(%rbp), %eax
## kill: def $rax killed $eax
imulq $674032645, %rax, %rax ## imm = 0x282CEC05
addq $16620, %rax ## imm = 0x40EC
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/11800.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-36]
adrp x8, l___const.main.num@PAGE
add x8, x8, l___const.main.num@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-32]
ldr x8, [x8, #16]
stur x8, [x29, #-16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
add x8, sp, #40
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #40]
subs w8, w8, #0
cset w8, ne
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
tbz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w0, [sp, #40]
bl _sumfactor
ldr x10, [sp, #24] ; 8-byte Folded Reload
sub x8, x29, #32
ldr x8, [x8, w0, uxtw #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_1
LBB0_5:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@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_7
b LBB0_6
LBB0_6:
bl ___stack_chk_fail
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _sumfactor ; -- Begin function sumfactor
.p2align 2
_sumfactor: ; @sumfactor
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
mov w8, #2
str w8, [sp, #28]
b LBB1_15
LBB1_2:
mov w8, #1
str w8, [sp, #16]
mov w8, #2
str w8, [sp, #20]
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #20]
mul w8, w8, w9
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_10
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #24]
ldr w10, [sp, #20]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr w9, [sp, #20]
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
ldr w8, [sp, #24]
ldr w9, [sp, #20]
sdiv w8, w8, w9
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #20]
sdiv w9, w8, w9
ldr w8, [sp, #16]
add w8, w8, w9
str w8, [sp, #16]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_3
LBB1_10:
ldr w8, [sp, #24]
ldr w9, [sp, #16]
subs w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
mov w8, #2
str w8, [sp, #28]
b LBB1_15
LBB1_12:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
str wzr, [sp, #28]
b LBB1_15
LBB1_14:
mov w8, #1
str w8, [sp, #28]
b LBB1_15
LBB1_15:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PERFECT"
l_.str.1: ; @.str.1
.asciz "ABUNDANT"
l_.str.2: ; @.str.2
.asciz "DEFICIENT"
.section __DATA,__const
.p2align 3 ; @__const.main.num
l___const.main.num:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "PERFECTION OUTPUT\n"
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "%5d %s\n"
l_.str.6: ; @.str.6
.asciz "END OF OUTPUT\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movq l___const.main.num(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.num+8(%rip), %rax
movq %rax, -24(%rbp)
movq l___const.main.num+16(%rip), %rax
movq %rax, -16(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.4(%rip), %rdi
leaq -40(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -41(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -40(%rbp)
setne %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl -40(%rbp), %edi
callq _sumfactor
movl -48(%rbp), %esi ## 4-byte Reload
movl %eax, %eax
## kill: def $rax killed $eax
movq -32(%rbp,%rax,8), %rdx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_5:
leaq L_.str.6(%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_7
## %bb.6:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _sumfactor ## -- Begin function sumfactor
.p2align 4, 0x90
_sumfactor: ## @sumfactor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
cmpl $1, -8(%rbp)
jne LBB1_2
## %bb.1:
movl $2, -4(%rbp)
jmp LBB1_15
LBB1_2:
movl $1, -16(%rbp)
movl $2, -12(%rbp)
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
imull -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB1_10
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB1_8
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -12(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl -12(%rbp), %eax
je LBB1_7
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
addl -16(%rbp), %eax
movl %eax, -16(%rbp)
LBB1_7: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_8
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_3
LBB1_10:
movl -8(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jle LBB1_12
## %bb.11:
movl $2, -4(%rbp)
jmp LBB1_15
LBB1_12:
cmpl $0, -20(%rbp)
jne LBB1_14
## %bb.13:
movl $0, -4(%rbp)
jmp LBB1_15
LBB1_14:
movl $1, -4(%rbp)
LBB1_15:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PERFECT"
L_.str.1: ## @.str.1
.asciz "ABUNDANT"
L_.str.2: ## @.str.2
.asciz "DEFICIENT"
.section __DATA,__const
.p2align 4 ## @__const.main.num
l___const.main.num:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "PERFECTION OUTPUT\n"
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "%5d %s\n"
L_.str.6: ## @.str.6
.asciz "END OF OUTPUT\n"
.subsections_via_symbols
|
the_stack_data/165768375.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #1072
mov w1, #0
stur wzr, [x29, #-20]
adrp x8, l___const.main.file1@PAGE
add x8, x8, l___const.main.file1@PAGEOFF
ldr w9, [x8]
add x0, sp, #24
str w9, [sp, #24]
ldur w8, [x8, #3]
stur w8, [x0, #3]
adrp x8, l___const.main.file2@PAGE
add x8, x8, l___const.main.file2@PAGEOFF
ldr w10, [x8]
add x9, sp, #16
str x9, [sp, #8] ; 8-byte Folded Spill
str w10, [sp, #16]
ldur w8, [x8, #3]
stur w8, [x9, #3]
bl _open
mov x8, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
str w8, [sp, #40]
mov x9, sp
mov x8, #384
str x8, [x9]
mov w1, #513
bl _open
str w0, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #40]
add x1, sp, #44
mov x2, #1024
bl _read
mov x8, x0
mov x9, x0
str w9, [sp, #32]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w0, [sp, #36]
ldrsw x2, [sp, #32]
add x1, sp, #44
bl _write
b LBB0_1
LBB0_3:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.file1: ; @__const.main.file1
.asciz "mycp.a"
l___const.main.file2: ; @__const.main.file2
.asciz "mycp.b"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1072, %rsp ## imm = 0x430
movl $0, -4(%rbp)
movl L___const.main.file1(%rip), %eax
movl %eax, -1059(%rbp)
movw L___const.main.file1+4(%rip), %ax
movw %ax, -1055(%rbp)
movb L___const.main.file1+6(%rip), %al
movb %al, -1053(%rbp)
movl L___const.main.file2(%rip), %eax
movl %eax, -1066(%rbp)
movw L___const.main.file2+4(%rip), %ax
movw %ax, -1062(%rbp)
movb L___const.main.file2+6(%rip), %al
movb %al, -1060(%rbp)
leaq -1059(%rbp), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -1044(%rbp)
leaq -1066(%rbp), %rdi
movl $513, %esi ## imm = 0x201
movl $384, %edx ## imm = 0x180
movb $0, %al
callq _open
movl %eax, -1048(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -1044(%rbp), %edi
leaq -1040(%rbp), %rsi
movl $1024, %edx ## imm = 0x400
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -1052(%rbp)
cmpl $0, %eax
jle LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -1048(%rbp), %edi
leaq -1040(%rbp), %rsi
movslq -1052(%rbp), %rdx
callq _write
jmp LBB0_1
LBB0_3:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.main.file1: ## @__const.main.file1
.asciz "mycp.a"
L___const.main.file2: ## @__const.main.file2
.asciz "mycp.b"
.subsections_via_symbols
|
the_stack_data/182588.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, #27
stur w8, [x29, #-8]
mov w8, #4
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
ldur w8, [x29, #-8]
stur w8, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
subs w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-16]
add w8, w8, #1
stur w8, [x29, #-16]
b LBB0_1
LBB0_3:
ldur w8, [x29, #-20]
str w8, [sp, #24]
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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 "Ao dividir %d por %d "
l_.str.1: ; @.str.1
.asciz "o quociente e igual a %d. "
l_.str.2: ; @.str.2
.asciz "O resto e igual a %d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $27, -8(%rbp)
movl $4, -12(%rbp)
movl $0, -16(%rbp)
movl -8(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jl LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_3:
movl -20(%rbp), %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ao dividir %d por %d "
L_.str.1: ## @.str.1
.asciz "o quociente e igual a %d. "
L_.str.2: ## @.str.2
.asciz "O resto e igual a %d"
.subsections_via_symbols
|
the_stack_data/96288.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ident_list ; -- Begin function ident_list
.p2align 2
_ident_list: ; @ident_list
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _no_param_defn ; -- Begin function no_param_defn
.p2align 2
_no_param_defn: ; @no_param_defn
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm _var_of_type_with_no_param,8,3 ; @var_of_type_with_no_param
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ident_list ## -- Begin function ident_list
.p2align 4, 0x90
_ident_list: ## @ident_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _no_param_defn ## -- Begin function no_param_defn
.p2align 4, 0x90
_no_param_defn: ## @no_param_defn
.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
.comm _var_of_type_with_no_param,8,3 ## @var_of_type_with_no_param
.subsections_via_symbols
|
the_stack_data/45449269.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #24
str x8, [x9]
add x8, sp, #32
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur x8, [x29, #-24]
ldr x9, [sp, #32]
eor x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #16]
ldr x8, [sp, #16]
orr x8, x8, x9, asr #1
str x8, [sp, #16]
ldr x9, [sp, #16]
ldr x8, [sp, #16]
orr x8, x8, x9, asr #2
str x8, [sp, #16]
ldr x9, [sp, #16]
ldr x8, [sp, #16]
orr x8, x8, x9, asr #4
str x8, [sp, #16]
ldr x9, [sp, #16]
ldr x8, [sp, #16]
orr x8, x8, x9, asr #8
str x8, [sp, #16]
ldr x9, [sp, #16]
ldr x8, [sp, #16]
orr x8, x8, x9, asr #16
str x8, [sp, #16]
ldr x9, [sp, #16]
ldr x8, [sp, #16]
orr x8, x8, x9, asr #32
str x8, [sp, #16]
ldur x8, [x29, #-24]
ldr x9, [sp, #16]
bic x8, x8, x9
str x8, [sp, #24]
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
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_4:
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 "%d"
l_.str.1: ; @.str.1
.asciz "%lld %lld"
l_.str.2: ; @.str.2
.asciz "%lld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
leaq -32(%rbp), %rdx
movb $0, %al
callq _scanf
movq -24(%rbp), %rax
xorq -32(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
sarq $1, %rax
orq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
sarq $2, %rax
orq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
sarq $4, %rax
orq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
sarq $8, %rax
orq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
sarq $16, %rax
orq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
sarq $32, %rax
orq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq -48(%rbp), %rcx
xorq $-1, %rcx
andq %rcx, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %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:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%lld %lld"
L_.str.2: ## @.str.2
.asciz "%lld\n"
.subsections_via_symbols
|
the_stack_data/19255.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlowcase ; -- Begin function ft_strlowcase
.p2align 2
_ft_strlowcase: ; @ft_strlowcase
.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 Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #1
str w9, [sp, #4]
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, gt
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #65
add w8, w8, #97
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
strb w8, [x9, x10]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strlowcase ## -- Begin function ft_strlowcase
.p2align 4, 0x90
_ft_strlowcase: ## @ft_strlowcase
.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 Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
addl $1, %ecx
movl %ecx, -12(%rbp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $65, %eax
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $90, %eax
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
subl $65, %eax
addl $97, %eax
movb %al, %dl
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/84502.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, _ans@GOTPAGE
ldr x0, [x0, _ans@GOTPAGEOFF]
str x0, [sp] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
bl _clear
bl _read
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
adrp x9, _n@GOTPAGE
ldr x9, [x9, _n@GOTPAGEOFF]
ldr w9, [x9]
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 w0, [sp, #8]
bl _solve
mov x1, x0
ldr x0, [sp] ; 8-byte Folded Reload
bl _add
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_4:
ldr x0, [sp] ; 8-byte Folded Reload
bl _prt
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _clear ; -- Begin function clear
.p2align 2
_clear: ; @clear
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
mov x2, #256
mov x3, #-1
bl ___memset_chk
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9, #256]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _read ; -- Begin function read
.p2align 2
_read: ; @read
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x9, sp
adrp x8, _n@GOTPAGE
ldr x8, [x8, _n@GOTPAGEOFF]
str x8, [x9]
adrp x8, _m@GOTPAGE
ldr x8, [x8, _m@GOTPAGEOFF]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-4]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldur w8, [x29, #-4]
adrp x9, _n@GOTPAGE
ldr x9, [x9, _n@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
stur wzr, [x29, #-8]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
adrp x9, _m@GOTPAGE
ldr x9, [x9, _m@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldursw x8, [x29, #-4]
mov x9, #33020
mul x9, x8, x9
adrp x8, _a@GOTPAGE
ldr x8, [x8, _a@GOTPAGEOFF]
add x8, x8, x9
ldursw x9, [x29, #-8]
mov x10, #260
mul x9, x9, x10
add x0, x8, x9
bl _clear
bl _readbg
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB2_3
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB2_1
LBB2_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _add ; -- Begin function add
.p2align 2
_add: ; @add
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
ldr w8, [x8, #256]
ldr x9, [sp, #16]
ldr w9, [x9, #256]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x8, [sp, #24]
ldr w8, [x8, #256]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB3_3
LBB3_2:
ldr x8, [sp, #16]
ldr w8, [x8, #256]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB3_3
LBB3_3:
ldr w8, [sp, #4] ; 4-byte Folded Reload
add w8, w8, #10
str w8, [sp, #8]
str wzr, [sp, #12]
b LBB3_4
LBB3_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_7
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_4 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldr w10, [x8, x9, lsl #2]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_4 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_4
LBB3_7:
str wzr, [sp, #12]
b LBB3_8
LBB3_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_11
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_8 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
mov w11, #1000
sdiv w10, w8, w11
ldr x8, [sp, #24]
ldr w9, [sp, #12]
add w9, w9, #1
add x9, x8, w9, sxtw #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
add x9, x8, x9, lsl #2
ldr w8, [x9]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_8 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_8
LBB3_11:
ldr w8, [sp, #8]
ldr x9, [sp, #24]
str w8, [x9, #256]
b LBB3_12
LBB3_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldr x9, [sp, #24]
ldrsw x9, [x9, #256]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_12 Depth=1
ldr x8, [sp, #24]
ldr w8, [x8, #256]
subs w8, w8, #0
cset w8, ge
str w8, [sp] ; 4-byte Folded Spill
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_12 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB3_17
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_12 Depth=1
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_12 Depth=1
ldr x9, [sp, #24]
ldr w8, [x9, #256]
subs w8, w8, #1
str w8, [x9, #256]
b LBB3_12
LBB3_17:
ldr x9, [sp, #24]
ldr w8, [x9, #256]
add w8, w8, #1
str w8, [x9, #256]
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _solve ; -- Begin function solve
.p2align 2
_solve: ; @solve
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #896
adrp x8, _m@GOTPAGE
ldr x8, [x8, _m@GOTPAGEOFF]
str x8, [sp, #72] ; 8-byte Folded Spill
adrp x9, _dp@GOTPAGE
ldr x9, [x9, _dp@GOTPAGEOFF]
str x9, [sp, #80] ; 8-byte Folded Spill
adrp x9, _a@GOTPAGE
ldr x9, [x9, _a@GOTPAGEOFF]
str x9, [sp, #88] ; 8-byte Folded Spill
stur w0, [x29, #-20]
ldr w8, [x8]
subs w8, w8, #1
stur w8, [x29, #-24]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB4_11
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-24]
stur w8, [x29, #-28]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldur w8, [x29, #-28]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_9
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
ldr w9, [x9]
add w8, w8, w9
ldur w9, [x29, #-28]
subs w8, w8, w9
stur w8, [x29, #-32]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldur w1, [x29, #-32]
add x0, sp, #620
str x0, [sp, #56] ; 8-byte Folded Spill
bl _pow2
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mov x10, #33020
str x10, [sp, #32] ; 8-byte Folded Spill
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-24]
mov x10, #260
str x10, [sp, #40] ; 8-byte Folded Spill
mul x9, x9, x10
add x1, x8, x9
bl _mul
ldr x11, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #1
mov w9, #33020
smaddl x8, w8, w9, x11
ldursw x9, [x29, #-28]
mul x9, x9, x10
add x1, x8, x9
bl _add
ldur w1, [x29, #-32]
add x0, sp, #360
str x0, [sp, #48] ; 8-byte Folded Spill
bl _pow2
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x11, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mul x9, x9, x11
add x8, x8, x9
ldursw x9, [x29, #-28]
mul x9, x9, x10
add x1, x8, x9
bl _mul
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x0, [sp, #48] ; 8-byte Folded Reload
ldursw x9, [x29, #-24]
mul x9, x9, x10
add x10, x8, x9
ldur w8, [x29, #-28]
subs w8, w8, #1
mov w9, #260
smaddl x1, w8, w9, x10
bl _add
ldr x11, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x1, [sp, #48] ; 8-byte Folded Reload
ldr x0, [sp, #56] ; 8-byte Folded Reload
ldursw x9, [x29, #-24]
mul x9, x9, x11
add x8, x8, x9
ldursw x9, [x29, #-28]
mul x9, x9, x10
add x8, x8, x9
str x8, [sp, #64] ; 8-byte Folded Spill
bl _max
mov x1, x0
ldr x0, [sp, #64] ; 8-byte Folded Reload
bl _mov
b LBB4_7
LBB4_6: ; in Loop: Header=BB4_3 Depth=2
ldur w1, [x29, #-32]
add x0, sp, #100
str x0, [sp, #24] ; 8-byte Folded Spill
bl _pow2
ldr x8, [sp, #88] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-20]
mov x10, #33020
str x10, [sp, #8] ; 8-byte Folded Spill
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-24]
mov x10, #260
str x10, [sp, #16] ; 8-byte Folded Spill
mul x9, x9, x10
add x1, x8, x9
bl _mul
ldr x11, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldur w8, [x29, #-24]
add w8, w8, #1
mov w9, #33020
smaddl x8, w8, w9, x11
ldursw x9, [x29, #-28]
mul x9, x9, x10
add x1, x8, x9
bl _add
ldr x11, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldursw x9, [x29, #-24]
mul x9, x9, x11
add x8, x8, x9
ldursw x9, [x29, #-28]
mul x9, x9, x10
add x0, x8, x9
bl _mov
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_3 Depth=2
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_3 Depth=2
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB4_3
LBB4_9: ; in Loop: Header=BB4_1 Depth=1
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #1
stur w8, [x29, #-24]
b LBB4_1
LBB4_11:
ldr x8, [sp, #80] ; 8-byte Folded Reload
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldrsw x9, [x9]
mov x10, #260
mul x9, x9, x10
add x8, x8, x9
subs x0, x8, #260
add sp, sp, #896
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _prt ; -- Begin function prt
.p2align 2
_prt: ; @prt
.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]
ldur x9, [x29, #-8]
ldr w9, [x9, #256]
subs w9, w9, #1
ldr w9, [x8, w9, sxtw #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
ldur x8, [x29, #-8]
ldr w8, [x8, #256]
subs w8, w8, #2
stur w8, [x29, #-12]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB5_1
LBB5_4:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _readbg ; -- Begin function readbg
.p2align 2
_readbg: ; @readbg
.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]
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
str w8, [sp, #16] ; 4-byte Folded Spill
ldur x0, [x29, #-8]
bl _clear
ldr w8, [sp, #16] ; 4-byte Folded Reload
str w8, [x0]
ldur x8, [x29, #-8]
str wzr, [x8, #256]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #256]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #256]
ldr w8, [x8, x9, lsl #2]
mov w11, #1000
sdiv w10, w8, w11
ldur x8, [x29, #-8]
ldur x9, [x29, #-8]
ldr w9, [x9, #256]
add w9, w9, #1
add x9, x8, w9, sxtw #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
ldur x8, [x29, #-8]
ldur x9, [x29, #-8]
ldrsw x9, [x9, #256]
add x9, x8, x9, lsl #2
ldr w8, [x9]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
ldur x9, [x29, #-8]
ldr w8, [x9, #256]
add w8, w8, #1
str w8, [x9, #256]
b LBB6_1
LBB6_3:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _pow2 ; -- Begin function pow2
.p2align 2
_pow2: ; @pow2
.cfi_startproc
; %bb.0:
sub sp, sp, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, _twopower@GOTPAGE
ldr x8, [x8, _twopower@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
stur x0, [x29, #-32]
stur w1, [x29, #-36]
ldursw x9, [x29, #-36]
mov x10, #260
mul x9, x9, x10
ldr w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x8, [sp] ; 8-byte Folded Reload
ldur x0, [x29, #-32]
ldursw x9, [x29, #-36]
mov x10, #260
mul x9, x9, x10
add x1, x8, x9
bl _mov
ldur x8, [x29, #-32]
stur x8, [x29, #-24]
b LBB7_8
LBB7_2:
add x0, sp, #8
bl _clear
ldur x0, [x29, #-32]
bl _clear
mov w8, #2
str w8, [sp, #8]
ldur x9, [x29, #-32]
mov w8, #1
str w8, [x9]
b LBB7_3
LBB7_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB7_7
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_3 Depth=1
ldur w8, [x29, #-36]
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5: ; in Loop: Header=BB7_3 Depth=1
ldur x0, [x29, #-32]
add x1, sp, #8
bl _mul
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_3 Depth=1
add x1, sp, #8
mov x0, x1
bl _mul
ldur w8, [x29, #-36]
asr w8, w8, #1
stur w8, [x29, #-36]
b LBB7_3
LBB7_7:
ldr x8, [sp] ; 8-byte Folded Reload
ldursw x9, [x29, #-36]
mov x10, #260
mul x9, x9, x10
add x0, x8, x9
ldur x1, [x29, #-32]
bl _mov
ldur x8, [x29, #-32]
stur x8, [x29, #-24]
b LBB7_8
LBB7_8:
ldur x0, [x29, #-24]
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #320
ret
.cfi_endproc
; -- End function
.globl _mul ; -- Begin function mul
.p2align 2
_mul: ; @mul
.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
stur x0, [x29, #-24]
stur x1, [x29, #-32]
ldur x8, [x29, #-24]
ldr w8, [x8, #256]
ldur x9, [x29, #-32]
ldr w9, [x9, #256]
add w8, w8, w9
add w8, w8, #10
str w8, [sp, #16]
add x0, sp, #28
bl _clear
str wzr, [sp, #24]
b LBB8_1
LBB8_1: ; =>This Loop Header: Depth=1
; Child Loop BB8_3 Depth 2
ldr w8, [sp, #24]
ldur x9, [x29, #-24]
ldr w9, [x9, #256]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_8
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
str wzr, [sp, #20]
b LBB8_3
LBB8_3: ; Parent Loop BB8_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
ldur x9, [x29, #-32]
ldr w9, [x9, #256]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_6
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-32]
ldrsw x10, [sp, #20]
ldr w9, [x9, x10, lsl #2]
mul w10, w8, w9
ldr w8, [sp, #24]
ldr w9, [sp, #20]
add w9, w8, w9
add x8, sp, #28
add x9, x8, w9, sxtw #2
ldr w8, [x9]
add w8, w8, w10
str w8, [x9]
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB8_3
LBB8_6: ; in Loop: Header=BB8_1 Depth=1
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB8_1
LBB8_8:
str wzr, [sp, #24]
b LBB8_9
LBB8_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_12
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_9 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #28
ldr w9, [x8, x9, lsl #2]
mov w11, #1000
sdiv w12, w9, w11
ldr w9, [sp, #24]
add w9, w9, #1
add x10, x8, w9, sxtw #2
ldr w9, [x10]
add w9, w9, w12
str w9, [x10]
ldrsw x9, [sp, #24]
add x9, x8, x9, lsl #2
ldr w8, [x9]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
b LBB8_11
LBB8_11: ; in Loop: Header=BB8_9 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB8_9
LBB8_12:
ldr w8, [sp, #16]
str w8, [sp, #284]
b LBB8_13
LBB8_13: ; =>This Inner Loop Header: Depth=1
add x8, sp, #28
ldrsw x9, [sp, #284]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB8_15
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_13 Depth=1
ldr w8, [sp, #284]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB8_15
LBB8_15: ; in Loop: Header=BB8_13 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB8_18
b LBB8_16
LBB8_16: ; in Loop: Header=BB8_13 Depth=1
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_13 Depth=1
ldr w8, [sp, #284]
subs w8, w8, #1
str w8, [sp, #284]
b LBB8_13
LBB8_18:
add x1, sp, #28
ldr w8, [sp, #284]
add w8, w8, #1
str w8, [sp, #284]
ldur x0, [x29, #-24]
bl _mov
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #336
ret
.cfi_endproc
; -- End function
.globl _mov ; -- Begin function mov
.p2align 2
_mov: ; @mov
.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]
mov x2, #256
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp]
ldr w8, [x8, #256]
ldr x9, [sp, #8]
str w8, [x9, #256]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _max ; -- Begin function max
.p2align 2
_max: ; @max
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #16]
ldr w8, [x8, #256]
ldr x9, [sp, #8]
ldr w9, [x9, #256]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB10_14
LBB10_2:
ldr x8, [sp, #16]
ldr w8, [x8, #256]
ldr x9, [sp, #8]
ldr w9, [x9, #256]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3:
ldr x8, [sp, #8]
str x8, [sp, #24]
b LBB10_14
LBB10_4:
ldr x8, [sp, #16]
ldr w8, [x8, #256]
subs w8, w8, #1
str w8, [sp, #4]
b LBB10_5
LBB10_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB10_12
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_5 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB10_14
LBB10_8: ; in Loop: Header=BB10_5 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB10_10
b LBB10_9
LBB10_9:
ldr x8, [sp, #8]
str x8, [sp, #24]
b LBB10_14
LBB10_10: ; in Loop: Header=BB10_5 Depth=1
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_5 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
b LBB10_5
LBB10_12:
b LBB10_13
LBB10_13:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB10_14
LBB10_14:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _ans,260,2 ; @ans
.comm _n,4,2 ; @n
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
.comm _m,4,2 ; @m
.comm _a,4193540,2 ; @a
.comm _dp,4193540,2 ; @dp
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%03d"
.comm _twopower,23140,2 ; @twopower
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movq _ans@GOTPCREL(%rip), %rdi
callq _clear
callq _read
movl $0, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %edi
callq _solve
movq %rax, %rsi
movq _ans@GOTPCREL(%rip), %rdi
callq _add
## %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:
movq _ans@GOTPCREL(%rip), %rdi
callq _prt
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _clear ## -- Begin function clear
.p2align 4, 0x90
_clear: ## @clear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movl $1, 256(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read ## -- Begin function read
.p2align 4, 0x90
_read: ## @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 $16, %rsp
leaq L_.str(%rip), %rdi
movq _n@GOTPCREL(%rip), %rsi
movq _m@GOTPCREL(%rip), %rdx
movb $0, %al
callq _scanf
movl $0, -4(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
movl -4(%rbp), %eax
movq _n@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl $0, -8(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -8(%rbp), %eax
movq _m@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movslq -4(%rbp), %rax
movq _a@GOTPCREL(%rip), %rdi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rdi
movslq -8(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rdi
callq _clear
movq %rax, %rdi
callq _readbg
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB2_3
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB2_1
LBB2_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.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
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl 256(%rax), %eax
movq -16(%rbp), %rcx
cmpl 256(%rcx), %eax
jle LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movl 256(%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
jmp LBB3_3
LBB3_2:
movq -16(%rbp), %rax
movl 256(%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
LBB3_3:
movl -28(%rbp), %eax ## 4-byte Reload
addl $10, %eax
movl %eax, -24(%rbp)
movl $0, -20(%rbp)
LBB3_4: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB3_7
## %bb.5: ## in Loop: Header=BB3_4 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
## %bb.6: ## in Loop: Header=BB3_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_4
LBB3_7:
movl $0, -20(%rbp)
LBB3_8: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB3_11
## %bb.9: ## in Loop: Header=BB3_8 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %eax, %edx
movq -8(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl $1000, %esi ## imm = 0x3E8
cltd
idivl %esi
movq -40(%rbp), %rax ## 8-byte Reload
movl %edx, (%rax,%rcx,4)
## %bb.10: ## in Loop: Header=BB3_8 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB3_8
LBB3_11:
movl -24(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, 256(%rax)
LBB3_12: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rcx
movq -8(%rbp), %rax
movslq 256(%rax), %rdx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, (%rcx,%rdx,4)
movb %al, -41(%rbp) ## 1-byte Spill
jne LBB3_14
## %bb.13: ## in Loop: Header=BB3_12 Depth=1
movq -8(%rbp), %rax
cmpl $0, 256(%rax)
setge %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB3_14: ## in Loop: Header=BB3_12 Depth=1
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_15
jmp LBB3_17
LBB3_15: ## in Loop: Header=BB3_12 Depth=1
jmp LBB3_16
LBB3_16: ## in Loop: Header=BB3_12 Depth=1
movq -8(%rbp), %rax
movl 256(%rax), %ecx
addl $-1, %ecx
movl %ecx, 256(%rax)
jmp LBB3_12
LBB3_17:
movq -8(%rbp), %rax
movl 256(%rax), %ecx
addl $1, %ecx
movl %ecx, 256(%rax)
movq -8(%rbp), %rax
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 $816, %rsp ## imm = 0x330
movl %edi, -4(%rbp)
movq _m@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl $1, %eax
movl %eax, -8(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
cmpl $0, -8(%rbp)
jl LBB4_11
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
movq _m@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB4_9
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movl -8(%rbp), %eax
movq _m@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
subl -12(%rbp), %eax
movl %eax, -16(%rbp)
cmpl $0, -12(%rbp)
je LBB4_6
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movl -16(%rbp), %esi
leaq -280(%rbp), %rdi
callq _pow2
movslq -4(%rbp), %rax
movq _a@GOTPCREL(%rip), %rsi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rsi
movslq -8(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
leaq -280(%rbp), %rdi
callq _mul
movl -8(%rbp), %eax
addl $1, %eax
cltq
movq _dp@GOTPCREL(%rip), %rsi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rsi
movslq -12(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
leaq -280(%rbp), %rdi
callq _add
movl -16(%rbp), %esi
leaq -544(%rbp), %rdi
callq _pow2
movslq -4(%rbp), %rax
movq _a@GOTPCREL(%rip), %rsi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rsi
movslq -12(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
leaq -544(%rbp), %rdi
callq _mul
movslq -8(%rbp), %rax
movq _dp@GOTPCREL(%rip), %rsi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rsi
movl -12(%rbp), %eax
subl $1, %eax
cltq
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
leaq -544(%rbp), %rdi
callq _add
movslq -8(%rbp), %rcx
movq _dp@GOTPCREL(%rip), %rax
imulq $33020, %rcx, %rcx ## imm = 0x80FC
addq %rcx, %rax
movslq -12(%rbp), %rcx
imulq $260, %rcx, %rcx ## imm = 0x104
addq %rcx, %rax
movq %rax, -816(%rbp) ## 8-byte Spill
leaq -280(%rbp), %rdi
leaq -544(%rbp), %rsi
callq _max
movq -816(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _mov
jmp LBB4_7
LBB4_6: ## in Loop: Header=BB4_3 Depth=2
movl -16(%rbp), %esi
leaq -808(%rbp), %rdi
callq _pow2
movslq -4(%rbp), %rax
movq _a@GOTPCREL(%rip), %rsi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rsi
movslq -8(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
leaq -808(%rbp), %rdi
callq _mul
movl -8(%rbp), %eax
addl $1, %eax
cltq
movq _dp@GOTPCREL(%rip), %rsi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rsi
movslq -12(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
leaq -808(%rbp), %rdi
callq _add
movslq -8(%rbp), %rax
movq _dp@GOTPCREL(%rip), %rdi
imulq $33020, %rax, %rax ## imm = 0x80FC
addq %rax, %rdi
movslq -12(%rbp), %rax
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rdi
leaq -808(%rbp), %rsi
callq _mov
LBB4_7: ## in Loop: Header=BB4_3 Depth=2
jmp LBB4_8
LBB4_8: ## in Loop: Header=BB4_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB4_3
LBB4_9: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_10
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
movl -8(%rbp), %eax
addl $-1, %eax
movl %eax, -8(%rbp)
jmp LBB4_1
LBB4_11:
movq _m@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq _dp@GOTPCREL(%rip), %rax
imulq $260, %rcx, %rcx ## imm = 0x104
addq %rcx, %rax
addq $-260, %rax ## imm = 0xFEFC
addq $816, %rsp ## imm = 0x330
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _prt ## -- Begin function prt
.p2align 4, 0x90
_prt: ## @prt
.cfi_startproc
## %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 -8(%rbp), %rcx
movl 256(%rcx), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl 256(%rax), %eax
subl $2, %eax
movl %eax, -12(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jl LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB5_1
LBB5_4:
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readbg ## -- Begin function readbg
.p2align 4, 0x90
_readbg: ## @readbg
.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)
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
movq -8(%rbp), %rdi
callq _clear
movl -16(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movq -8(%rbp), %rax
movl $0, 256(%rax)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq 256(%rcx), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq 256(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %eax, %edx
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movl 256(%rcx), %ecx
addl $1, %ecx
movslq %ecx, %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
movq -8(%rbp), %rcx
movslq 256(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl $1000, %esi ## imm = 0x3E8
cltd
idivl %esi
movq -24(%rbp), %rax ## 8-byte Reload
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rax
movl 256(%rax), %ecx
addl $1, %ecx
movl %ecx, 256(%rax)
jmp LBB6_1
LBB6_3:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pow2 ## -- Begin function pow2
.p2align 4, 0x90
_pow2: ## @pow2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $288, %rsp ## imm = 0x120
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movslq -20(%rbp), %rcx
movq _twopower@GOTPCREL(%rip), %rax
imulq $260, %rcx, %rcx ## imm = 0x104
addq %rcx, %rax
cmpl $0, (%rax)
je LBB7_2
## %bb.1:
movq -16(%rbp), %rdi
movslq -20(%rbp), %rax
movq _twopower@GOTPCREL(%rip), %rsi
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rsi
callq _mov
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB7_8
LBB7_2:
leaq -280(%rbp), %rdi
callq _clear
movq -16(%rbp), %rdi
callq _clear
movl $2, -280(%rbp)
movq -16(%rbp), %rax
movl $1, (%rax)
LBB7_3: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
je LBB7_7
## %bb.4: ## in Loop: Header=BB7_3 Depth=1
movl -20(%rbp), %eax
andl $1, %eax
cmpl $0, %eax
je LBB7_6
## %bb.5: ## in Loop: Header=BB7_3 Depth=1
movq -16(%rbp), %rdi
leaq -280(%rbp), %rsi
callq _mul
LBB7_6: ## in Loop: Header=BB7_3 Depth=1
leaq -280(%rbp), %rsi
movq %rsi, %rdi
callq _mul
movl -20(%rbp), %eax
sarl $1, %eax
movl %eax, -20(%rbp)
jmp LBB7_3
LBB7_7:
movslq -20(%rbp), %rax
movq _twopower@GOTPCREL(%rip), %rdi
imulq $260, %rax, %rax ## imm = 0x104
addq %rax, %rdi
movq -16(%rbp), %rsi
callq _mov
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB7_8:
movq -8(%rbp), %rax
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mul ## -- Begin function mul
.p2align 4, 0x90
_mul: ## @mul
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $320, %rsp ## imm = 0x140
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movl 256(%rax), %eax
movq -16(%rbp), %rcx
addl 256(%rcx), %eax
addl $10, %eax
movl %eax, -292(%rbp)
leaq -280(%rbp), %rdi
callq _clear
movl $0, -284(%rbp)
LBB8_1: ## =>This Loop Header: Depth=1
## Child Loop BB8_3 Depth 2
movl -284(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 256(%rcx), %eax
jge LBB8_8
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movl $0, -288(%rbp)
LBB8_3: ## Parent Loop BB8_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -288(%rbp), %eax
movq -16(%rbp), %rcx
cmpl 256(%rcx), %eax
jge LBB8_6
## %bb.4: ## in Loop: Header=BB8_3 Depth=2
movq -8(%rbp), %rax
movslq -284(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -16(%rbp), %rax
movslq -288(%rbp), %rdx
imull (%rax,%rdx,4), %ecx
movl -284(%rbp), %eax
addl -288(%rbp), %eax
cltq
addl -280(%rbp,%rax,4), %ecx
movl %ecx, -280(%rbp,%rax,4)
## %bb.5: ## in Loop: Header=BB8_3 Depth=2
movl -288(%rbp), %eax
addl $1, %eax
movl %eax, -288(%rbp)
jmp LBB8_3
LBB8_6: ## in Loop: Header=BB8_1 Depth=1
jmp LBB8_7
LBB8_7: ## in Loop: Header=BB8_1 Depth=1
movl -284(%rbp), %eax
addl $1, %eax
movl %eax, -284(%rbp)
jmp LBB8_1
LBB8_8:
movl $0, -284(%rbp)
LBB8_9: ## =>This Inner Loop Header: Depth=1
movl -284(%rbp), %eax
cmpl -292(%rbp), %eax
jge LBB8_12
## %bb.10: ## in Loop: Header=BB8_9 Depth=1
movslq -284(%rbp), %rax
movl -280(%rbp,%rax,4), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %eax, %ecx
movl -284(%rbp), %eax
addl $1, %eax
cltq
addl -280(%rbp,%rax,4), %ecx
movl %ecx, -280(%rbp,%rax,4)
movslq -284(%rbp), %rax
movq %rax, -304(%rbp) ## 8-byte Spill
movl -280(%rbp,%rax,4), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movq -304(%rbp), %rax ## 8-byte Reload
movl %edx, -280(%rbp,%rax,4)
## %bb.11: ## in Loop: Header=BB8_9 Depth=1
movl -284(%rbp), %eax
addl $1, %eax
movl %eax, -284(%rbp)
jmp LBB8_9
LBB8_12:
movl -292(%rbp), %eax
movl %eax, -24(%rbp)
LBB8_13: ## =>This Inner Loop Header: Depth=1
movslq -24(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -280(%rbp,%rcx,4)
movb %al, -305(%rbp) ## 1-byte Spill
jne LBB8_15
## %bb.14: ## in Loop: Header=BB8_13 Depth=1
cmpl $0, -24(%rbp)
setge %al
movb %al, -305(%rbp) ## 1-byte Spill
LBB8_15: ## in Loop: Header=BB8_13 Depth=1
movb -305(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB8_16
jmp LBB8_18
LBB8_16: ## in Loop: Header=BB8_13 Depth=1
jmp LBB8_17
LBB8_17: ## in Loop: Header=BB8_13 Depth=1
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB8_13
LBB8_18:
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movq -8(%rbp), %rdi
leaq -280(%rbp), %rsi
callq _mov
addq $320, %rsp ## imm = 0x140
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mov ## -- Begin function mov
.p2align 4, 0x90
_mov: ## @mov
.cfi_startproc
## %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
movl $256, %edx ## imm = 0x100
movq $-1, %rcx
callq ___memcpy_chk
movq -16(%rbp), %rax
movl 256(%rax), %ecx
movq -8(%rbp), %rax
movl %ecx, 256(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _max ## -- Begin function max
.p2align 4, 0x90
_max: ## @max
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movl 256(%rax), %eax
movq -24(%rbp), %rcx
cmpl 256(%rcx), %eax
jle LBB10_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB10_14
LBB10_2:
movq -16(%rbp), %rax
movl 256(%rax), %eax
movq -24(%rbp), %rcx
cmpl 256(%rcx), %eax
jge LBB10_4
## %bb.3:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB10_14
LBB10_4:
movq -16(%rbp), %rax
movl 256(%rax), %eax
subl $1, %eax
movl %eax, -28(%rbp)
LBB10_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, -28(%rbp)
jl LBB10_12
## %bb.6: ## in Loop: Header=BB10_5 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB10_8
## %bb.7:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB10_14
LBB10_8: ## in Loop: Header=BB10_5 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -24(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB10_10
## %bb.9:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB10_14
LBB10_10: ## in Loop: Header=BB10_5 Depth=1
jmp LBB10_11
LBB10_11: ## in Loop: Header=BB10_5 Depth=1
movl -28(%rbp), %eax
addl $-1, %eax
movl %eax, -28(%rbp)
jmp LBB10_5
LBB10_12:
jmp LBB10_13
LBB10_13:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB10_14:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ans,260,2 ## @ans
.comm _n,4,2 ## @n
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
.comm _m,4,2 ## @m
.comm _a,4193540,4 ## @a
.comm _dp,4193540,4 ## @dp
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%03d"
.comm _twopower,23140,4 ## @twopower
.subsections_via_symbols
|
the_stack_data/192329756.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strchr ; -- Begin function ft_strchr
.p2align 2
_ft_strchr: ; @ft_strchr
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB0_8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB0_1
LBB0_5:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldrsb w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB0_8
LBB0_7:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB0_8
LBB0_8:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strchr ## -- Begin function ft_strchr
.p2align 4, 0x90
_ft_strchr: ## @ft_strchr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpb $0, (%rax)
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB0_4
## %bb.3:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB0_1
LBB0_5:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB0_7
## %bb.6:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_8
LBB0_7:
movq $0, -8(%rbp)
LBB0_8:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/87638696.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _NoiseShitMidi ; @NoiseShitMidi
_NoiseShitMidi:
.asciz "MThd\000\000\000\006\000\000\000\001\003\300MTrk\000\000\b\351\000\377X\004\004\002\030\b\000\377Q\003\006\212\033\000\377\003\005An_1\000\214\230\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\307 \220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\201*\200<@\000\377/"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _NoiseShitMidi ## @NoiseShitMidi
.p2align 4
_NoiseShitMidi:
.asciz "MThd\000\000\000\006\000\000\000\001\003\300MTrk\000\000\b\351\000\377X\004\004\002\030\b\000\377Q\003\006\212\033\000\377\003\005An_1\000\214\230\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\307 \220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\213 \200<@\000\220<;\205P\200<@\000\220<;\205P\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\202h\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\2014\200<@\000\220<;\201*\200<@\000\377/"
.subsections_via_symbols
|
the_stack_data/22014090.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_version ; -- Begin function print_version
.p2align 2
_print_version: ; @print_version
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_summary ; -- Begin function print_summary
.p2align 2
_print_summary: ; @print_summary
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldur w9, [x29, #-4]
; 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 w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
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 print_results
lCPI2_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _print_results
.p2align 2
_print_results: ; @print_results
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur d0, [x29, #-8]
ldur d1, [x29, #-8]
adrp x8, lCPI2_0@PAGE
ldr d0, [x8, lCPI2_0@PAGEOFF]
fdiv d0, d0, d1
str d0, [sp, #16]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov x9, sp
mov x8, #16960
movk x8, #15, lsl #16
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur d0, [x29, #-8]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr d0, [sp, #16]
mov x8, sp
str d0, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
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 tic
lCPI3_0:
.quad 0x412e848000000000 ; double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _tic
.p2align 2
_tic: ; @tic
.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, sp
mov x1, #0
bl _gettimeofday
ldr d0, [sp]
scvtf d0, d0
ldr s2, [sp, #8]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
adrp x8, lCPI3_0@PAGE
ldr d2, [x8, lCPI3_0@PAGEOFF]
fdiv d1, d1, d2
fadd d0, d0, d1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function rand_double
lCPI4_0:
.quad 0x41e0000000000000 ; double 2147483648
.section __TEXT,__text,regular,pure_instructions
.globl _rand_double
.p2align 2
_rand_double: ; @rand_double
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _rand
stur w0, [x29, #-4]
ldur s1, [x29, #-4]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
adrp x8, lCPI4_0@PAGE
ldr d1, [x8, lCPI4_0@PAGEOFF]
fdiv d0, d0, d1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _benchmark ; -- Begin function benchmark
.p2align 2
_benchmark: ; @benchmark
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _tic
str d0, [sp, #16]
str wzr, [sp, #12]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
mov w9, #16960
movk w9, #15, lsl #16
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
bl _rand_double
fmov d2, #-5.00000000
fmov d1, #10.00000000
fmadd d0, d0, d1, d2
stur d0, [x29, #-16]
ldur d0, [x29, #-16]
bl _tan
str d0, [sp, #24]
ldr d0, [sp, #24]
ldr d1, [sp, #24]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB5_6
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_1
LBB5_6:
bl _tic
ldr d1, [sp, #16]
fsub d0, d0, d1
stur d0, [x29, #-8]
ldr d0, [sp, #24]
ldr d1, [sp, #24]
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB5_8
LBB5_8:
ldur d0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _print_version
str wzr, [sp, #12]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB6_4
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
mov x9, sp
adrp x8, l_.str.13@PAGE
add x8, x8, l_.str.13@PAGEOFF
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
bl _benchmark
str d0, [sp, #16]
ldr d0, [sp, #16]
bl _print_results
ldr w8, [sp, #12]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_1
LBB6_4:
mov w1, #3
mov x0, x1
bl _print_summary
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 "TAP version 13\n"
l_.str.1: ; @.str.1
.asciz "#\n"
l_.str.2: ; @.str.2
.asciz "1..%d\n"
l_.str.3: ; @.str.3
.asciz "# total %d\n"
l_.str.4: ; @.str.4
.asciz "# pass %d\n"
l_.str.5: ; @.str.5
.asciz "# ok\n"
l_.str.6: ; @.str.6
.asciz " ---\n"
l_.str.7: ; @.str.7
.asciz " iterations: %d\n"
l_.str.8: ; @.str.8
.asciz " elapsed: %0.9f\n"
l_.str.9: ; @.str.9
.asciz " rate: %0.9f\n"
l_.str.10: ; @.str.10
.asciz " ...\n"
l_.str.11: ; @.str.11
.asciz "should not return NaN\n"
l_.str.12: ; @.str.12
.asciz "# c::%s\n"
l_.str.13: ; @.str.13
.asciz "tan"
l_.str.14: ; @.str.14
.asciz "ok %d benchmark finished\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_version ## -- Begin function print_version
.p2align 4, 0x90
_print_version: ## @print_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_summary ## -- Begin function print_summary
.p2align 4, 0x90
_print_summary: ## @print_summary
.cfi_startproc
## %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)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function print_results
LCPI2_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _print_results
.p2align 4, 0x90
_print_results: ## @print_results
.cfi_startproc
## %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 LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd -8(%rbp), %xmm0
movsd %xmm0, -16(%rbp)
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movl $1000000, %esi ## imm = 0xF4240
movb $0, %al
callq _printf
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.8(%rip), %rdi
movb $1, %al
callq _printf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function tic
LCPI3_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.globl _tic
.p2align 4, 0x90
_tic: ## @tic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _gettimeofday
cvtsi2sdq -16(%rbp), %xmm0
cvtsi2sdl -8(%rbp), %xmm1
movsd LCPI3_0(%rip), %xmm2 ## xmm2 = mem[0],zero
divsd %xmm2, %xmm1
addsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function rand_double
LCPI4_0:
.quad 0x41e0000000000000 ## double 2147483648
.section __TEXT,__text,regular,pure_instructions
.globl _rand_double
.p2align 4, 0x90
_rand_double: ## @rand_double
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
callq _rand
movl %eax, -4(%rbp)
cvtsi2sdl -4(%rbp), %xmm0
movsd LCPI4_0(%rip), %xmm1 ## xmm1 = 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 benchmark
LCPI5_0:
.quad 0x4024000000000000 ## double 10
LCPI5_1:
.quad 0xc014000000000000 ## double -5
.section __TEXT,__text,regular,pure_instructions
.globl _benchmark
.p2align 4, 0x90
_benchmark: ## @benchmark
.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
callq _tic
movsd %xmm0, -32(%rbp)
movl $0, -36(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $1000000, -36(%rbp) ## imm = 0xF4240
jge LBB5_6
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
callq _rand_double
movsd LCPI5_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movsd LCPI5_1(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _tan
movsd %xmm0, -24(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -24(%rbp), %xmm0
jne LBB5_3
jp LBB5_3
jmp LBB5_4
LBB5_3:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB5_6
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_5
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB5_1
LBB5_6:
callq _tic
subsd -32(%rbp), %xmm0
movsd %xmm0, -8(%rbp)
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
ucomisd -24(%rbp), %xmm0
jne LBB5_7
jp LBB5_7
jmp LBB5_8
LBB5_7:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB5_8:
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
callq _print_version
movl $0, -20(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpl $3, -20(%rbp)
jge LBB6_4
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.12(%rip), %rdi
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _printf
callq _benchmark
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
callq _print_results
movl -20(%rbp), %esi
addl $1, %esi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB6_1
LBB6_4:
movl $3, %esi
movl %esi, %edi
callq _print_summary
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TAP version 13\n"
L_.str.1: ## @.str.1
.asciz "#\n"
L_.str.2: ## @.str.2
.asciz "1..%d\n"
L_.str.3: ## @.str.3
.asciz "# total %d\n"
L_.str.4: ## @.str.4
.asciz "# pass %d\n"
L_.str.5: ## @.str.5
.asciz "# ok\n"
L_.str.6: ## @.str.6
.asciz " ---\n"
L_.str.7: ## @.str.7
.asciz " iterations: %d\n"
L_.str.8: ## @.str.8
.asciz " elapsed: %0.9f\n"
L_.str.9: ## @.str.9
.asciz " rate: %0.9f\n"
L_.str.10: ## @.str.10
.asciz " ...\n"
L_.str.11: ## @.str.11
.asciz "should not return NaN\n"
L_.str.12: ## @.str.12
.asciz "# c::%s\n"
L_.str.13: ## @.str.13
.asciz "tan"
L_.str.14: ## @.str.14
.asciz "ok %d benchmark finished\n"
.subsections_via_symbols
|
the_stack_data/697136.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _arrayCopy ; -- Begin function arrayCopy
.p2align 2
_arrayCopy: ; @arrayCopy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
str w8, [x9, x10, lsl #2]
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:
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 _arrayCopy ## -- Begin function arrayCopy
.p2align 4, 0x90
_arrayCopy: ## @arrayCopy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/58220.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, #16]
add x0, sp, #20
adrp x1, l___const.main.a@PAGE
add x1, x1, l___const.main.a@PAGEOFF
mov x2, #36
bl _memcpy
str wzr, [sp, #8]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #2
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldrsw x9, [sp, #12]
mov x10, #12
mul x10, x9, x10
add x9, sp, #20
add x9, x9, x10
ldr w11, [sp, #12]
mov w10, #2
subs w10, w10, w11
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
str w8, [sp, #8]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_1
LBB0_4:
ldr w9, [sp, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
bl ___stack_chk_fail
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 1 ; 0x1
.long 4 ; 0x4
.long 17 ; 0x11
.long 3 ; 0x3
.long 6 ; 0x6
.long 9 ; 0x9
.long 2 ; 0x2
.long 5 ; 0x5
.long 8 ; 0x8
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %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 $36, %edx
callq _memcpy
movl $0, -60(%rbp)
movl $0, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $2, -56(%rbp)
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
movslq -56(%rbp), %rdx
leaq -48(%rbp), %rcx
imulq $12, %rdx, %rdx
addq %rdx, %rcx
movl $2, %edx
subl -56(%rbp), %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
movl %eax, -60(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_1
LBB0_4:
movl -60(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_6
## %bb.5:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 1 ## 0x1
.long 4 ## 0x4
.long 17 ## 0x11
.long 3 ## 0x3
.long 6 ## 0x6
.long 9 ## 0x9
.long 2 ## 0x2
.long 5 ## 0x5
.long 8 ## 0x8
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
|
the_stack_data/22675.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isnum ; -- Begin function isnum
.p2align 2
_isnum: ; @isnum
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrsb w8, [sp, #15]
subs w8, w8, #57
cset w8, gt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldrsb w8, [sp, #15]
subs w8, w8, #48
cset w8, ge
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_2
LBB0_2:
ldr w8, [sp, #8] ; 4-byte Folded Reload
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w1, #0
str wzr, [sp, #28]
add x0, sp, #35
str x0, [sp, #16] ; 8-byte Folded Spill
mov x2, #101
bl _memset
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _gets
str wzr, [sp, #24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #35
add x8, x8, x9
ldrb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #35
ldrsb w0, [x8, x9]
bl _isnum
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #35
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b 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, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_1
LBB1_6:
ldr w8, [sp, #28]
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, LBB1_8
b LBB1_7
LBB1_7:
bl ___stack_chk_fail
LBB1_8:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isnum ## -- Begin function isnum
.p2align 4, 0x90
_isnum: ## @isnum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dil, %al
movb %al, -1(%rbp)
movsbl -1(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $57, %ecx
movb %al, -2(%rbp) ## 1-byte Spill
jg LBB0_2
## %bb.1:
movsbl -1(%rbp), %eax
cmpl $48, %eax
setge %al
movb %al, -2(%rbp) ## 1-byte Spill
LBB0_2:
movb -2(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.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)
leaq -112(%rbp), %rdi
xorl %esi, %esi
movl $101, %edx
callq _memset
leaq -112(%rbp), %rdi
callq _gets
movl $0, -120(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movslq -120(%rbp), %rax
cmpb $0, -112(%rbp,%rax)
je LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %edi
callq _isnum
cmpl $0, %eax
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %esi
leaq L_.str(%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 -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB1_1
LBB1_6:
movl -116(%rbp), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_8
## %bb.7:
movl -124(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB1_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
.subsections_via_symbols
|
the_stack_data/1069150.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/92794.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _quote_calc3_parse
b LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _quote_calc3_parse ; -- Begin function quote_calc3_parse
.p2align 2
_quote_calc3_parse: ; @quote_calc3_parse
.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 x11, _quote_calc3_nerrs@GOTPAGE
ldr x11, [x11, _quote_calc3_nerrs@GOTPAGEOFF]
str x11, [sp, #24] ; 8-byte Folded Spill
adrp x9, _quote_calc3_errflag@GOTPAGE
ldr x9, [x9, _quote_calc3_errflag@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x10, _quote_calc3_char@GOTPAGE
ldr x10, [x10, _quote_calc3_char@GOTPAGEOFF]
str x10, [sp, #40] ; 8-byte Folded Spill
adrp x8, _yystack@PAGE
add x8, x8, _yystack@PAGEOFF
stur x8, [x29, #-32] ; 8-byte Folded Spill
adrp x12, _quote_calc3_val@GOTPAGE
ldr x12, [x12, _quote_calc3_val@GOTPAGEOFF]
stur x12, [x29, #-24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
str wzr, [x11]
str wzr, [x9]
mov w9, #-1
str w9, [x10]
stur wzr, [x29, #-12]
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_86
LBB1_3:
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x9, [x8, #8]
str x9, [x8, #16]
ldr x9, [x8, #32]
str x9, [x8, #40]
stur wzr, [x29, #-12]
ldr x8, [x8, #16]
strh wzr, [x8]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_31 Depth 2
ldursw x9, [x29, #-12]
adrp x8, _quote_calc3_defred@PAGE
add x8, x8, _quote_calc3_defred@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
b LBB1_46
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
bl _quote_calc3_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _quote_calc3_sindex@PAGE
add x8, x8, _quote_calc3_sindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
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, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_20
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
adrp x8, _quote_calc3_check@PAGE
add x8, x8, _quote_calc3_check@PAGEOFF
ldrsh w8, [x8, x10, lsl #1]
ldr w9, [x9]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_20
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 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_86
LBB1_17: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x13, [x29, #-32] ; 8-byte Folded Reload
ldursw x11, [x29, #-8]
adrp x9, _quote_calc3_table@PAGE
add x9, x9, _quote_calc3_table@PAGEOFF
ldrsh w11, [x9, x11, lsl #1]
stur w11, [x29, #-12]
ldursw x11, [x29, #-8]
add x9, x9, x11, lsl #1
ldrh w9, [x9]
ldr x11, [x13, #16]
add x12, x11, #2
str x12, [x13, #16]
strh w9, [x11, #2]
adrp x9, _quote_calc3_lval@GOTPAGE
ldr x9, [x9, _quote_calc3_lval@GOTPAGEOFF]
ldr w9, [x9]
ldr x11, [x13, #40]
add x12, x11, #4
str x12, [x13, #40]
str w9, [x11, #4]
mov w9, #-1
str w9, [x10]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_20: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _quote_calc3_rindex@PAGE
add x8, x8, _quote_calc3_rindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
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, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
adrp x8, _quote_calc3_check@PAGE
add x8, x8, _quote_calc3_check@PAGEOFF
ldrsh w8, [x8, x10, lsl #1]
ldr w9, [x9]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_table@PAGE
add x8, x8, _quote_calc3_table@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
b LBB1_46
LBB1_25: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_27
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_4 Depth=1
b LBB1_29
LBB1_27: ; in Loop: Header=BB1_4 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _quote_calc3_error
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_43
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov w8, #3
str w8, [x9]
b LBB1_31
LBB1_31: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldrsh x9, [x8]
adrp x8, _quote_calc3_sindex@PAGE
add x8, x8, _quote_calc3_sindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
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, #-8]
add w8, w8, #256
stur w8, [x29, #-8]
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, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_39
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_31 Depth=2
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_check@PAGE
add x8, x8, _quote_calc3_check@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #256
cset w8, ne
tbnz w8, #0, LBB1_39
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 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_86
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
ldur x11, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_table@PAGE
add x8, x8, _quote_calc3_table@PAGEOFF
ldrsh w9, [x8, x9, lsl #1]
stur w9, [x29, #-12]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #1
ldrh w8, [x8]
ldr x9, [x11, #16]
add x10, x9, #2
str x10, [x11, #16]
strh w8, [x9, #2]
adrp x8, _quote_calc3_lval@GOTPAGE
ldr x8, [x8, _quote_calc3_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
ldur x9, [x29, #-32] ; 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_87
LBB1_41: ; in Loop: Header=BB1_31 Depth=2
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
subs x8, x8, #2
str x8, [x9, #16]
ldr x8, [x9, #40]
subs x8, x8, #4
str x8, [x9, #40]
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_31 Depth=2
b LBB1_31
LBB1_43: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44:
b LBB1_87
LBB1_45: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #-1
str w8, [x9]
b LBB1_4
LBB1_46: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_len@PAGE
add x8, x8, _quote_calc3_len@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w11, [x29, #-4]
mov w10, #1
subs w10, w10, w11
ldr w8, [x8, w10, sxtw #2]
str w8, [x9]
b LBB1_49
LBB1_48: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-24] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #3
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #15
cset w8, hi
tbnz w8, #0, LBB1_66
; %bb.50: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_51: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_67
LBB1_52: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 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_67
LBB1_53: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #40]
ldr w8, [x8]
ldr x9, [x9, #40]
ldursw x10, [x9, #-8]
adrp x9, _regs@GOTPAGE
ldr x9, [x9, _regs@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB1_67
LBB1_54: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w8, [x8, #-4]
str w8, [x9]
b LBB1_67
LBB1_55: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_56: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_57: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_58: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_59: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_60: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_61: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 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_67
LBB1_62: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w10, [x8]
mov w8, #0
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_63: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldrsw x10, [x8]
adrp x8, _regs@GOTPAGE
ldr x8, [x8, _regs@GOTPAGEOFF]
ldr w8, [x8, x10, lsl #2]
str w8, [x9]
b LBB1_67
LBB1_64: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldur x10, [x29, #-24] ; 8-byte Folded Reload
ldr x9, [x8, #40]
ldr w9, [x9]
str w9, [x10]
ldr x8, [x8, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w10, w8, #0x1
mov w9, #10
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
adrp x9, _base@GOTPAGE
ldr x9, [x9, _base@GOTPAGEOFF]
str w8, [x9]
b LBB1_67
LBB1_65: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldur x10, [x29, #-32] ; 8-byte Folded Reload
adrp x8, _base@GOTPAGE
ldr x8, [x8, _base@GOTPAGEOFF]
ldr w8, [x8]
ldr x11, [x10, #40]
ldur w11, [x11, #-4]
mul w8, w8, w11
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_66: ; in Loop: Header=BB1_4 Depth=1
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldursw x11, [x29, #-4]
ldr x8, [x9, #16]
mov x10, #0
subs x11, x10, x11
add x8, x8, x11, lsl #1
str x8, [x9, #16]
ldr x8, [x9, #16]
ldrsh w8, [x8]
stur w8, [x29, #-12]
ldursw x11, [x29, #-4]
ldr x8, [x9, #40]
subs x10, x10, x11
add x8, x8, x10, lsl #2
str x8, [x9, #40]
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_lhs@PAGE
add x8, x8, _quote_calc3_lhs@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_76
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_76
b LBB1_69
LBB1_69: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldur x12, [x29, #-32] ; 8-byte Folded Reload
ldur x9, [x29, #-24] ; 8-byte Folded Reload
mov w10, #1
stur w10, [x29, #-12]
ldr x11, [x12, #16]
add x10, x11, #2
str x10, [x12, #16]
mov w10, #1
strh w10, [x11, #2]
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_73
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_4 Depth=1
bl _quote_calc3_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_72
b LBB1_71
LBB1_71: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_4 Depth=1
b LBB1_73
LBB1_73: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_74
LBB1_74:
b LBB1_88
LBB1_75: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_76: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _quote_calc3_gindex@PAGE
add x8, x8, _quote_calc3_gindex@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_81
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_4 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_81
b LBB1_78
LBB1_78: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #258
cset w8, gt
tbnz w8, #0, LBB1_81
b LBB1_79
LBB1_79: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_check@PAGE
add x8, x8, _quote_calc3_check@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
ldur w9, [x29, #-12]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_81
b LBB1_80
LBB1_80: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _quote_calc3_table@PAGE
add x8, x8, _quote_calc3_table@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-12]
b LBB1_82
LBB1_81: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _quote_calc3_dgoto@PAGE
add x8, x8, _quote_calc3_dgoto@PAGEOFF
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-12]
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_85
b LBB1_83
LBB1_83: ; 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_85
b LBB1_84
LBB1_84:
b LBB1_86
LBB1_85: ; in Loop: Header=BB1_4 Depth=1
ldur x11, [x29, #-32] ; 8-byte Folded Reload
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
ldr x10, [x11, #16]
add x12, x10, #2
str x12, [x11, #16]
strh w9, [x10, #2]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_86:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _quote_calc3_error
mov w8, #2
stur w8, [x29, #-16]
b LBB1_89
LBB1_87:
mov w8, #1
stur w8, [x29, #-16]
b LBB1_89
LBB1_88:
stur wzr, [x29, #-16]
b LBB1_89
LBB1_89:
ldur w0, [x29, #-16]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
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 _quote_calc3_lex ; -- Begin function quote_calc3_lex
.p2align 2
_quote_calc3_lex: ; @quote_calc3_lex
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #8]
subs w8, w0, #32
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldr w0, [sp, #8]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w8, [sp, #8]
subs w8, w8, #97
adrp x9, _quote_calc3_lval@GOTPAGE
ldr x9, [x9, _quote_calc3_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #270
stur w8, [x29, #-4]
b LBB2_8
LBB2_5:
ldr w0, [sp, #8]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr w8, [sp, #8]
subs w8, w8, #48
adrp x9, _quote_calc3_lval@GOTPAGE
ldr x9, [x9, _quote_calc3_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #269
stur w8, [x29, #-4]
b LBB2_8
LBB2_7:
ldr w8, [sp, #8]
stur w8, [x29, #-4]
b LBB2_8
LBB2_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yygrowstack
_yygrowstack: ; @yygrowstack
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #200
str w8, [sp, #24]
b LBB3_8
LBB3_2:
ldr w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_4:
ldr w8, [sp, #24]
lsl w8, w8, #1
str w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
mov w8, #10000
str w8, [sp, #24]
b LBB3_6
LBB3_6:
b LBB3_7
LBB3_7:
b LBB3_8
LBB3_8:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
subs x8, x8, x9
mov x9, #2
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, #1
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 #1
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 #1
subs x8, x8, #2
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 quote_calc3_error
_quote_calc3_error: ; @quote_calc3_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _quote_calc3_lval,4,2 ; @quote_calc3_lval
.comm _quote_calc3_nerrs,4,2 ; @quote_calc3_nerrs
.comm _quote_calc3_errflag,4,2 ; @quote_calc3_errflag
.comm _quote_calc3_char,4,2 ; @quote_calc3_char
.zerofill __DATA,__bss,_yystack,48,3 ; @yystack
.section __TEXT,__const
.p2align 1 ; @quote_calc3_defred
_quote_calc3_defred:
.short 1 ; 0x1
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 15 ; 0xf
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 6 ; 0x6
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.p2align 1 ; @quote_calc3_sindex
_quote_calc3_sindex:
.short 0 ; 0x0
.short 65498 ; 0xffda
.short 5 ; 0x5
.short 65500 ; 0xffdc
.short 0 ; 0x0
.short 65485 ; 0xffcd
.short 65500 ; 0xffdc
.short 7 ; 0x7
.short 65415 ; 0xff87
.short 65288 ; 0xff08
.short 0 ; 0x0
.short 0 ; 0x0
.short 65293 ; 0xff0d
.short 65500 ; 0xffdc
.short 65514 ; 0xffea
.short 0 ; 0x0
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 0 ; 0x0
.short 65415 ; 0xff87
.short 0 ; 0x0
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65293 ; 0xff0d
.p2align 1 ; @quote_calc3_check
_quote_calc3_check:
.short 10 ; 0xa
.short 10 ; 0xa
.short 40 ; 0x28
.short 124 ; 0x7c
.short 40 ; 0x28
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 61 ; 0x3d
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 257 ; 0x101
.short 10 ; 0xa
.short 259 ; 0x103
.short 10 ; 0xa
.short 261 ; 0x105
.short 41 ; 0x29
.short 263 ; 0x107
.short 269 ; 0x10d
.short 265 ; 0x109
.short 10 ; 0xa
.short 267 ; 0x10b
.short 10 ; 0xa
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 3 ; 0x3
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 6 ; 0x6
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 13 ; 0xd
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 16 ; 0x10
.short 17 ; 0x11
.short 18 ; 0x12
.short 19 ; 0x13
.short 20 ; 0x14
.short 21 ; 0x15
.short 22 ; 0x16
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 257 ; 0x101
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 261 ; 0x105
.short 65535 ; 0xffff
.short 263 ; 0x107
.short 65535 ; 0xffff
.short 265 ; 0x109
.short 65535 ; 0xffff
.short 267 ; 0x10b
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 256 ; 0x100
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 257 ; 0x101
.short 65535 ; 0xffff
.short 259 ; 0x103
.short 65535 ; 0xffff
.short 261 ; 0x105
.short 65535 ; 0xffff
.short 263 ; 0x107
.short 65535 ; 0xffff
.short 265 ; 0x109
.short 65535 ; 0xffff
.short 267 ; 0x10b
.short 65535 ; 0xffff
.short 257 ; 0x101
.short 257 ; 0x101
.short 259 ; 0x103
.short 259 ; 0x103
.short 261 ; 0x105
.short 261 ; 0x105
.short 263 ; 0x107
.short 263 ; 0x107
.short 265 ; 0x109
.short 265 ; 0x109
.short 267 ; 0x10b
.short 267 ; 0x10b
.p2align 1 ; @quote_calc3_table
_quote_calc3_table:
.short 16 ; 0x10
.short 15 ; 0xf
.short 6 ; 0x6
.short 22 ; 0x16
.short 6 ; 0x6
.short 14 ; 0xe
.short 13 ; 0xd
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 13 ; 0xd
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 16 ; 0x10
.short 10 ; 0xa
.short 17 ; 0x11
.short 15 ; 0xf
.short 18 ; 0x12
.short 25 ; 0x19
.short 19 ; 0x13
.short 23 ; 0x17
.short 20 ; 0x14
.short 4 ; 0x4
.short 21 ; 0x15
.short 5 ; 0x5
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 13 ; 0xd
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 0 ; 0x0
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 12 ; 0xc
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 24 ; 0x18
.short 0 ; 0x0
.short 0 ; 0x0
.short 26 ; 0x1a
.short 27 ; 0x1b
.short 28 ; 0x1c
.short 29 ; 0x1d
.short 30 ; 0x1e
.short 31 ; 0x1f
.short 32 ; 0x20
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.short 0 ; 0x0
.short 22 ; 0x16
.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 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 15 ; 0xf
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 13 ; 0xd
.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 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 19 ; 0x13
.short 0 ; 0x0
.short 20 ; 0x14
.short 0 ; 0x0
.short 21 ; 0x15
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.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 0 ; 0x0
.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 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 4 ; 0x4
.short 11 ; 0xb
.short 16 ; 0x10
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 19 ; 0x13
.short 0 ; 0x0
.short 20 ; 0x14
.short 0 ; 0x0
.short 21 ; 0x15
.short 0 ; 0x0
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.p2align 1 ; @quote_calc3_rindex
_quote_calc3_rindex:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 65527 ; 0xfff7
.short 0 ; 0x0
.short 0 ; 0x0
.short 13 ; 0xd
.short 65526 ; 0xfff6
.short 0 ; 0x0
.short 0 ; 0x0
.short 65531 ; 0xfffb
.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 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 15 ; 0xf
.short 0 ; 0x0
.short 65533 ; 0xfffd
.short 65534 ; 0xfffe
.short 65535 ; 0xffff
.short 1 ; 0x1
.short 2 ; 0x2
.short 3 ; 0x3
.short 65532 ; 0xfffc
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 1 ; @quote_calc3_len
_quote_calc3_len:
.short 2 ; 0x2
.short 0 ; 0x0
.short 3 ; 0x3
.short 3 ; 0x3
.short 1 ; 0x1
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 2 ; 0x2
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.comm _quote_calc3_val,4,2 ; @quote_calc3_val
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\n"
.comm _regs,104,2 ; @regs
.comm _base,4,2 ; @base
.section __TEXT,__const
.p2align 1 ; @quote_calc3_lhs
_quote_calc3_lhs:
.short 65535 ; 0xffff
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 3 ; 0x3
.short 3 ; 0x3
.p2align 1 ; @quote_calc3_gindex
_quote_calc3_gindex:
.short 0 ; 0x0
.short 0 ; 0x0
.short 42 ; 0x2a
.short 0 ; 0x0
.p2align 1 ; @quote_calc3_dgoto
_quote_calc3_dgoto:
.short 1 ; 0x1
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "yacc stack overflow"
.comm _quote_calc3_debug,4,2 ; @quote_calc3_debug
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_2
jmp LBB0_3
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
callq _quote_calc3_parse
jmp LBB0_1
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _quote_calc3_parse ## -- Begin function quote_calc3_parse
.p2align 4, 0x90
_quote_calc3_parse: ## @quote_calc3_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movq _quote_calc3_nerrs@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _quote_calc3_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movl $0, -12(%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_85
LBB1_3:
movq _yystack+8(%rip), %rax
movq %rax, _yystack+16(%rip)
movq _yystack+32(%rip), %rax
movq %rax, _yystack+40(%rip)
movl $0, -12(%rbp)
movq _yystack+16(%rip), %rax
movw $0, (%rax)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_31 Depth 2
movslq -12(%rbp), %rcx
leaq _quote_calc3_defred(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%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 _quote_calc3_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_10
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
callq _quote_calc3_lex
movl %eax, %ecx
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _quote_calc3_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_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 -12(%rbp), %rcx
leaq _quote_calc3_sindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_20
## %bb.11: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_20
## %bb.12: ## in Loop: Header=BB1_4 Depth=1
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_20
## %bb.13: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
movq _quote_calc3_char@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %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_85
LBB1_17: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
movslq -8(%rbp), %rcx
leaq _quote_calc3_table(%rip), %rax
movw (%rax,%rcx,2), %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _quote_calc3_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 _quote_calc3_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _quote_calc3_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB1_19
## %bb.18: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_errflag@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _quote_calc3_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 -12(%rbp), %rcx
leaq _quote_calc3_rindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_25
## %bb.21: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_25
## %bb.22: ## in Loop: Header=BB1_4 Depth=1
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_25
## %bb.23: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
movq _quote_calc3_char@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
jmp LBB1_46
LBB1_25: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_27
## %bb.26: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_29
LBB1_27: ## in Loop: Header=BB1_4 Depth=1
leaq L_.str(%rip), %rdi
callq _quote_calc3_error
## %bb.28: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_nerrs@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _quote_calc3_nerrs@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_29: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_errflag@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jge LBB1_43
## %bb.30: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_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
movswq (%rax), %rcx
leaq _quote_calc3_sindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_39
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
movl -8(%rbp), %eax
addl $256, %eax ## imm = 0x100
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_39
## %bb.33: ## in Loop: Header=BB1_31 Depth=2
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_39
## %bb.34: ## in Loop: Header=BB1_31 Depth=2
movslq -8(%rbp), %rcx
leaq _quote_calc3_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $256, %eax ## 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_85
LBB1_38: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
movslq -8(%rbp), %rcx
leaq _quote_calc3_table(%rip), %rax
movw (%rax,%rcx,2), %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _quote_calc3_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_86
LBB1_41: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
addq $-2, %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 _quote_calc3_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_45
## %bb.44:
jmp LBB1_86
LBB1_45: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
jmp LBB1_4
LBB1_46: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_len(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $0, -4(%rbp)
jle LBB1_48
## %bb.47: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl $1, %ecx
subl -4(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_49
LBB1_48: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_val@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
LBB1_49: ## in Loop: Header=BB1_4 Depth=1
movl -8(%rbp), %eax
addl $-3, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $15, %eax
ja LBB1_65
## %bb.89: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_50: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_66
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_66
LBB1_52: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movq _yystack+40(%rip), %rax
movslq -8(%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
jmp LBB1_66
LBB1_53: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -4(%rax), %ecx
movq _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %edx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
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 _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_61: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movq _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_62: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movslq (%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_63: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %ecx
movq _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movl $10, %ecx
movl $8, %eax
cmpl $0, %edx
cmovel %eax, %ecx
movq _base@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_64: ## in Loop: Header=BB1_4 Depth=1
movq _base@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
imull -4(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _quote_calc3_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_65: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_66
LBB1_66: ## in Loop: Header=BB1_4 Depth=1
movl -4(%rbp), %ecx
movq _yystack+16(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $1, %rcx
addq %rcx, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+16(%rip), %rax
movswl (%rax), %eax
movl %eax, -12(%rbp)
movl -4(%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 -8(%rbp), %rcx
leaq _quote_calc3_lhs(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $0, -12(%rbp)
jne LBB1_75
## %bb.67: ## in Loop: Header=BB1_4 Depth=1
cmpl $0, -4(%rbp)
jne LBB1_75
## %bb.68: ## in Loop: Header=BB1_4 Depth=1
movl $1, -12(%rbp)
movq _yystack+16(%rip), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, _yystack+16(%rip)
movw $1, 2(%rax)
movq _quote_calc3_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 _quote_calc3_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_72
## %bb.69: ## in Loop: Header=BB1_4 Depth=1
callq _quote_calc3_lex
movl %eax, %ecx
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _quote_calc3_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_71
## %bb.70: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_71: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_72
LBB1_72: ## in Loop: Header=BB1_4 Depth=1
movq _quote_calc3_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_74
## %bb.73:
jmp LBB1_87
LBB1_74: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_75: ## in Loop: Header=BB1_4 Depth=1
movslq -4(%rbp), %rcx
leaq _quote_calc3_gindex(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_80
## %bb.76: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_80
## %bb.77: ## in Loop: Header=BB1_4 Depth=1
cmpl $258, -8(%rbp) ## imm = 0x102
jg LBB1_80
## %bb.78: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_check(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl -12(%rbp), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_80
## %bb.79: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
leaq _quote_calc3_table(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
jmp LBB1_81
LBB1_80: ## in Loop: Header=BB1_4 Depth=1
movslq -4(%rbp), %rcx
leaq _quote_calc3_dgoto(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
LBB1_81: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_84
## %bb.82: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_84
## %bb.83:
jmp LBB1_85
LBB1_84: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
movw %ax, %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _quote_calc3_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_85:
leaq L_.str.2(%rip), %rdi
callq _quote_calc3_error
movl $2, -16(%rbp)
jmp LBB1_88
LBB1_86:
movl $1, -16(%rbp)
jmp LBB1_88
LBB1_87:
movl $0, -16(%rbp)
LBB1_88:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_50, LBB1_50-LJTI1_0
.set L1_0_set_51, LBB1_51-LJTI1_0
.set L1_0_set_52, LBB1_52-LJTI1_0
.set L1_0_set_53, LBB1_53-LJTI1_0
.set L1_0_set_54, LBB1_54-LJTI1_0
.set L1_0_set_55, LBB1_55-LJTI1_0
.set L1_0_set_56, LBB1_56-LJTI1_0
.set L1_0_set_57, LBB1_57-LJTI1_0
.set L1_0_set_58, LBB1_58-LJTI1_0
.set L1_0_set_59, LBB1_59-LJTI1_0
.set L1_0_set_60, LBB1_60-LJTI1_0
.set L1_0_set_61, LBB1_61-LJTI1_0
.set L1_0_set_62, LBB1_62-LJTI1_0
.set L1_0_set_65, LBB1_65-LJTI1_0
.set L1_0_set_63, LBB1_63-LJTI1_0
.set L1_0_set_64, LBB1_64-LJTI1_0
LJTI1_0:
.long L1_0_set_50
.long L1_0_set_51
.long L1_0_set_52
.long L1_0_set_53
.long L1_0_set_54
.long L1_0_set_55
.long L1_0_set_56
.long L1_0_set_57
.long L1_0_set_58
.long L1_0_set_59
.long L1_0_set_60
.long L1_0_set_61
.long L1_0_set_62
.long L1_0_set_65
.long L1_0_set_63
.long L1_0_set_64
.end_data_region
## -- End function
.globl _quote_calc3_lex ## -- Begin function quote_calc3_lex
.p2align 4, 0x90
_quote_calc3_lex: ## @quote_calc3_lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -8(%rbp)
cmpl $32, %eax
jne LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movl -8(%rbp), %edi
callq _islower
cmpl $0, %eax
je LBB2_5
## %bb.4:
movl -8(%rbp), %ecx
subl $97, %ecx
movq _quote_calc3_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $270, -4(%rbp) ## imm = 0x10E
jmp LBB2_8
LBB2_5:
movl -8(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB2_7
## %bb.6:
movl -8(%rbp), %ecx
subl $48, %ecx
movq _quote_calc3_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $269, -4(%rbp) ## imm = 0x10D
jmp LBB2_8
LBB2_7:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yygrowstack
_yygrowstack: ## @yygrowstack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
cmpl $0, %eax
jne LBB3_2
## %bb.1:
movl $200, -24(%rbp)
jmp LBB3_8
LBB3_2:
cmpl $10000, -24(%rbp) ## imm = 0x2710
jb LBB3_4
## %bb.3:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_4:
movl -24(%rbp), %eax
shll $1, %eax
movl %eax, -24(%rbp)
cmpl $10000, %eax ## imm = 0x2710
jbe LBB3_6
## %bb.5:
movl $10000, -24(%rbp) ## imm = 0x2710
LBB3_6:
jmp LBB3_7
LBB3_7:
jmp LBB3_8
LBB3_8:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
sarq $1, %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 $1, %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 $1, %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 $1, %rax
addq %rax, %rcx
addq $-2, %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 quote_calc3_error
_quote_calc3_error: ## @quote_calc3_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _quote_calc3_lval,4,2 ## @quote_calc3_lval
.comm _quote_calc3_nerrs,4,2 ## @quote_calc3_nerrs
.comm _quote_calc3_errflag,4,2 ## @quote_calc3_errflag
.comm _quote_calc3_char,4,2 ## @quote_calc3_char
.zerofill __DATA,__bss,_yystack,48,3 ## @yystack
.section __TEXT,__const
.p2align 4 ## @quote_calc3_defred
_quote_calc3_defred:
.short 1 ## 0x1
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 15 ## 0xf
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 6 ## 0x6
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.p2align 4 ## @quote_calc3_sindex
_quote_calc3_sindex:
.short 0 ## 0x0
.short 65498 ## 0xffda
.short 5 ## 0x5
.short 65500 ## 0xffdc
.short 0 ## 0x0
.short 65485 ## 0xffcd
.short 65500 ## 0xffdc
.short 7 ## 0x7
.short 65415 ## 0xff87
.short 65288 ## 0xff08
.short 0 ## 0x0
.short 0 ## 0x0
.short 65293 ## 0xff0d
.short 65500 ## 0xffdc
.short 65514 ## 0xffea
.short 0 ## 0x0
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 0 ## 0x0
.short 65415 ## 0xff87
.short 0 ## 0x0
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65293 ## 0xff0d
.p2align 4 ## @quote_calc3_check
_quote_calc3_check:
.short 10 ## 0xa
.short 10 ## 0xa
.short 40 ## 0x28
.short 124 ## 0x7c
.short 40 ## 0x28
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 61 ## 0x3d
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 257 ## 0x101
.short 10 ## 0xa
.short 259 ## 0x103
.short 10 ## 0xa
.short 261 ## 0x105
.short 41 ## 0x29
.short 263 ## 0x107
.short 269 ## 0x10d
.short 265 ## 0x109
.short 10 ## 0xa
.short 267 ## 0x10b
.short 10 ## 0xa
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 3 ## 0x3
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 6 ## 0x6
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 13 ## 0xd
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 16 ## 0x10
.short 17 ## 0x11
.short 18 ## 0x12
.short 19 ## 0x13
.short 20 ## 0x14
.short 21 ## 0x15
.short 22 ## 0x16
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 257 ## 0x101
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 261 ## 0x105
.short 65535 ## 0xffff
.short 263 ## 0x107
.short 65535 ## 0xffff
.short 265 ## 0x109
.short 65535 ## 0xffff
.short 267 ## 0x10b
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 256 ## 0x100
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 257 ## 0x101
.short 65535 ## 0xffff
.short 259 ## 0x103
.short 65535 ## 0xffff
.short 261 ## 0x105
.short 65535 ## 0xffff
.short 263 ## 0x107
.short 65535 ## 0xffff
.short 265 ## 0x109
.short 65535 ## 0xffff
.short 267 ## 0x10b
.short 65535 ## 0xffff
.short 257 ## 0x101
.short 257 ## 0x101
.short 259 ## 0x103
.short 259 ## 0x103
.short 261 ## 0x105
.short 261 ## 0x105
.short 263 ## 0x107
.short 263 ## 0x107
.short 265 ## 0x109
.short 265 ## 0x109
.short 267 ## 0x10b
.short 267 ## 0x10b
.p2align 4 ## @quote_calc3_table
_quote_calc3_table:
.short 16 ## 0x10
.short 15 ## 0xf
.short 6 ## 0x6
.short 22 ## 0x16
.short 6 ## 0x6
.short 14 ## 0xe
.short 13 ## 0xd
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 13 ## 0xd
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 16 ## 0x10
.short 10 ## 0xa
.short 17 ## 0x11
.short 15 ## 0xf
.short 18 ## 0x12
.short 25 ## 0x19
.short 19 ## 0x13
.short 23 ## 0x17
.short 20 ## 0x14
.short 4 ## 0x4
.short 21 ## 0x15
.short 5 ## 0x5
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 13 ## 0xd
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 0 ## 0x0
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 12 ## 0xc
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 24 ## 0x18
.short 0 ## 0x0
.short 0 ## 0x0
.short 26 ## 0x1a
.short 27 ## 0x1b
.short 28 ## 0x1c
.short 29 ## 0x1d
.short 30 ## 0x1e
.short 31 ## 0x1f
.short 32 ## 0x20
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.short 0 ## 0x0
.short 22 ## 0x16
.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 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 15 ## 0xf
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 13 ## 0xd
.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 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 19 ## 0x13
.short 0 ## 0x0
.short 20 ## 0x14
.short 0 ## 0x0
.short 21 ## 0x15
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.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 0 ## 0x0
.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 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 4 ## 0x4
.short 11 ## 0xb
.short 16 ## 0x10
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 19 ## 0x13
.short 0 ## 0x0
.short 20 ## 0x14
.short 0 ## 0x0
.short 21 ## 0x15
.short 0 ## 0x0
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.p2align 4 ## @quote_calc3_rindex
_quote_calc3_rindex:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 65527 ## 0xfff7
.short 0 ## 0x0
.short 0 ## 0x0
.short 13 ## 0xd
.short 65526 ## 0xfff6
.short 0 ## 0x0
.short 0 ## 0x0
.short 65531 ## 0xfffb
.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 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 15 ## 0xf
.short 0 ## 0x0
.short 65533 ## 0xfffd
.short 65534 ## 0xfffe
.short 65535 ## 0xffff
.short 1 ## 0x1
.short 2 ## 0x2
.short 3 ## 0x3
.short 65532 ## 0xfffc
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 4 ## @quote_calc3_len
_quote_calc3_len:
.short 2 ## 0x2
.short 0 ## 0x0
.short 3 ## 0x3
.short 3 ## 0x3
.short 1 ## 0x1
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 2 ## 0x2
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.comm _quote_calc3_val,4,2 ## @quote_calc3_val
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\n"
.comm _regs,104,4 ## @regs
.comm _base,4,2 ## @base
.section __TEXT,__const
.p2align 4 ## @quote_calc3_lhs
_quote_calc3_lhs:
.short 65535 ## 0xffff
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 3 ## 0x3
.short 3 ## 0x3
.p2align 1 ## @quote_calc3_gindex
_quote_calc3_gindex:
.short 0 ## 0x0
.short 0 ## 0x0
.short 42 ## 0x2a
.short 0 ## 0x0
.p2align 1 ## @quote_calc3_dgoto
_quote_calc3_dgoto:
.short 1 ## 0x1
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "yacc stack overflow"
.comm _quote_calc3_debug,4,2 ## @quote_calc3_debug
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
|
the_stack_data/125738.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _icudt57l_ibm_1132_P100_1998_cnv ; @icudt57l_ibm_1132_P100_1998_cnv
.p2align 3
_icudt57l_ibm_1132_P100_1998_cnv:
.quad 0x0000000000000000 ; double 0
.ascii "\200\000\332'\024\000\000\000\000\000\002\000cnvt\006\002\000\0009\001\000\000 Copyright (C) 2016, International Business Machines Corporation and others. All Rights Reserved. \000\000\000\000\000\000d\000\000\000ibm-1132_P100-1998\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000l\004\000\000\000\002\001\001?\000\000\000\001\000\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004\004\037\000\001\000\000\000\000\000\000\000 \004\000\000 \004\000\000\\\006\000\000\000\000\000\000\304\003\000\000\000\000\000\200\001\000\000\200\002\000\000\200\003\000\000\200\234\000\000\200\t\000\000\200\206\000\000\200\177\000\000\200\227\000\000\200\215\000\000\200\216\000\000\200\013\000\000\200\f\000\000\200\r\000\000\200\016\000\000\200\017\000\000\200\020\000\000\200\021\000\000\200\022\000\000\200\023\000\000\200\235\000\000\200\205\000\000\200\b\000\000\200\207\000\000\200\030\000\000\200\031\000\000\200\222\000\000\200\217\000\000\200\034\000\000\200\035\000\000\200\036\000\000\200\037\000\000\200\200\000\000\200\201\000\000\200\202\000\000\200\203\000\000\200\204\000\000\200\n\000\000\200\027\000\000\200\033\000\000\200\210\000\000\200\211\000\000\200\212\000\000\200\213\000\000\200\214\000\000\200\005\000\000\200\006\000\000\200\007\000\000\200\220\000\000\200\221\000\000\200\026\000\000\200\223\000\000\200\224\000\000\200\225\000\000\200\226\000\000\200\004\000\000\200\230\000\000\200\231\000\000\200\232\000\000\200\233\000\000\200\024\000\000\200\025\000\000\200\236\000\000\200\032\000\000\200 \000\000\200\240\000\000\200\201\016\000\200\202\016\000\200\204\016\000\200\207\016\000\200\210\016\000\200\252\016\000\200\212\016\000\200[\000\000\200\242\000\000\200.\000\000\200<\000\000\200(\000\000\200+\000\000\200|\000\000\200&\000\000\200\376\377`\200\215\016\000\200\224\016\000\200\225\016\000\200\226\016\000\200\227\016\000\200\231\016\000\200\232\016\000\200]\000\000\200!\000\000\200$\000\000\200*\000\000\200)\000\000\200;\000\000\200\254\000\000\200-\000\000\200/\000\000\200\233\016\000\200\234\016\000\200\235\016\000\200\236\016\000\200\237\016\000\200\241\016\000\200\242\016\000\200^\000\000\200\246\000\000\200,\000\000\200%\000\000\200_\000\000\200>\000\000\200?\000\000\200\255 \000\200\376\377`\200\243\016\000\200\245\016\000\200\247\016\000\200\253\016\000\200\255\016\000\200\256\016\000\200\376\377`\200`\000\000\200:\000\000\200#\000\000\200@\000\000\200'\000\000\200=\000\000\200\"\000\000\200\376\377`\200a\000\000\200b\000\000\200c\000\000\200d\000\000\200e\000\000\200f\000\000\200g\000\000\200h\000\000\200i\000\000\200\376\377`\200\376\377`\200\257\016\000\200\260\016\000\200\262\016\000\200\263\016\000\200\376\377`\200j\000\000\200k\000\000\200l\000\000\200m\000\000\200n\000\000\200o\000\000\200p\000\000\200q\000\000\200r\000\000\200\264\016\000\200\265\016\000\200\266\016\000\200\267\016\000\200\270\016\000\200\271\016\000\200\376\377`\200~\000\000\200s\000\000\200t\000\000\200u\000\000\200v\000\000\200w\000\000\200x\000\000\200y\000\000\200z\000\000\200\274\016\000\200\261\016\000\200\273\016\000\200\275\016\000\200\376\377`\200\376\377`\200\320\016\000\200\321\016\000\200\322\016\000\200\323\016\000\200\324\016\000\200\325\016\000\200\326\016\000\200\327\016\000\200\330\016\000\200\331\016\000\200\376\377`\200\300\016\000\200\301\016\000\200\302\016\000\200\303\016\000\200\304\016\000\200{\000\000\200A\000\000\200B\000\000\200C\000\000\200D\000\000\200E\000\000\200F\000\000\200G\000\000\200H\000\000\200I\000\000\200\376\377`\200\310\016\000\200\311\016\000\200\312\016\000\200\313\016\000\200\314\016\000\200}\000\000\200J\000\000\200K\000\000\200L\000\000\200M\000\000\200N\000\000\200O\000\000\200P\000\000\200Q\000\000\200R\000\000\200\315\016\000\200\306\016\000\200\376\377`\200\334\016\000\200\335\016\000\200\376\377`\200\\\000\000\200\376\377`\200S\000\000\200T\000\000\200U\000\000\200V\000\000\200W\000\000\200X\000\000\200Y\000\000\200Z\000\000\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\376\377`\2000\000\000\2001\000\000\2002\000\000\2003\000\000\2004\000\000\2005\000\000\2006\000\000\2007\000\000\2008\000\000\2009\000\000\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\237\000\000\200\200\000@\000@\000\230\000@\000@\000@\000@\000\316\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000\336\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000@\000P\000`\000p\000\200\000\220\000\240\000\260\000\300\000\320\000\340\000\360\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\017\001\037\001/\001?\001O\001_\001o\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000r\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\201\001\221\001\241\001\261\001\301\001\321\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\017\001\017\002\017\003\0177\017-\017.\017/\017\026\017\005\017%\017\013\017\f\017\r\017\016\017\017\017\020\017\021\017\022\017\023\017<\017=\0172\017&\017\030\017\031\017?\017'\017\034\017\035\017\036\017\037\017@\017Z\017\177\017{\017[\017l\017P\017}\017M\017]\017\\\017N\017k\017`\017K\017a\017\360\017\361\017\362\017\363\017\364\017\365\017\366\017\367\017\370\017\371\017z\017^\017L\017~\017n\017o\017|\017\301\017\302\017\303\017\304\017\305\017\306\017\307\017\310\017\311\017\321\017\322\017\323\017\324\017\325\017\326\017\327\017\330\017\331\017\342\017\343\017\344\017\345\017\346\017\347\017\350\017\351\017I\017\340\017Y\017i\017m\017y\017\201\017\202\017\203\017\204\017\205\017\206\017\207\017\210\017\211\017\221\017\222\017\223\017\224\017\225\017\226\017\227\017\230\017\231\017\242\017\243\017\244\017\245\017\246\017\247\017\250\017\251\017\300\017O\017\320\017\241\017\007\017 \017!\017\"\017#\017$\017\025\017\006\017\027\017(\017)\017*\017+\017,\017\t\017\n\017\033\0170\0171\017\032\0173\0174\0175\0176\017\b\0178\0179\017:\017;\017\004\017\024\017>\017\377\017A\017\000\000J\017\000\000\000\000\000\000j\017\000\000\000\000\000\000\000\000\000\000_\017\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000B\017C\017\000\000D\017\000\000\000\000E\017F\017\000\000H\017\000\000\000\000R\017\000\000\000\000\000\000\000\000\000\000\000\000S\017T\017U\017V\017\000\000W\017X\017b\017c\017d\017e\017f\017\000\000g\017h\017r\017\000\000s\017\000\000t\017\000\000\000\000G\017u\017\000\000v\017w\017\214\017\215\017\253\017\216\017\217\017\232\017\233\017\234\017\235\017\236\017\237\017\000\000\254\017\252\017\255\017\000\000\000\000\273\017\274\017\275\017\276\017\277\017\000\000\333\017\000\000\313\017\314\017\315\017\316\017\317\017\332\017\000\000\000\000\260\017\261\017\262\017\263\017\264\017\265\017\266\017\267\017\270\017\271\017\000\000\000\000\335\017\336\017\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000p\017\000\000\000\000Z\b\177\b{\b[\bl\bP\b}\bM\b]\b\\\bN\bk\b`\bK\ba\b\360\b\361\b\362\b\363\b\364\b\365\b\366\b\367\b\370\b\371\bz\b^\bL\b~\bn\bo\b|\b\301\b\302\b\303\b\304\b\305\b\306\b\307\b\310\b\311\b\321\b\322\b\323\b\324\b\325\b\326\b\327\b\330\b\331\b\342\b\343\b\344\b\345\b\346\b\347\b\350\b\351\bI\b\340\bY\bi\bm\by\b\201\b\202\b\203\b\204\b\205\b\206\b\207\b\210\b\211\b\221\b\222\b\223\b\224\b\225\b\226\b\227\b\230\b\231\b\242\b\243\b\244\b\245\b\246\b\247\b\250\b\251\b\300\bO\b\320\b\241\b\000\000\000\000\252\252\252\252\252\252\252\252\252\252\252\252"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _icudt57l_ibm_1132_P100_1998_cnv ## @icudt57l_ibm_1132_P100_1998_cnv
.p2align 3
_icudt57l_ibm_1132_P100_1998_cnv:
.quad 0x0000000000000000 ## double 0
.ascii "\200\000\332'\024\000\000\000\000\000\002\000cnvt\006\002\000\0009\001\000\000 Copyright (C) 2016, International Business Machines Corporation and others. All Rights Reserved. \000\000\000\000\000\000d\000\000\000ibm-1132_P100-1998\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000l\004\000\000\000\002\001\001?\000\000\000\001\000\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004\004\037\000\001\000\000\000\000\000\000\000 \004\000\000 \004\000\000\\\006\000\000\000\000\000\000\304\003\000\000\000\000\000\200\001\000\000\200\002\000\000\200\003\000\000\200\234\000\000\200\t\000\000\200\206\000\000\200\177\000\000\200\227\000\000\200\215\000\000\200\216\000\000\200\013\000\000\200\f\000\000\200\r\000\000\200\016\000\000\200\017\000\000\200\020\000\000\200\021\000\000\200\022\000\000\200\023\000\000\200\235\000\000\200\205\000\000\200\b\000\000\200\207\000\000\200\030\000\000\200\031\000\000\200\222\000\000\200\217\000\000\200\034\000\000\200\035\000\000\200\036\000\000\200\037\000\000\200\200\000\000\200\201\000\000\200\202\000\000\200\203\000\000\200\204\000\000\200\n\000\000\200\027\000\000\200\033\000\000\200\210\000\000\200\211\000\000\200\212\000\000\200\213\000\000\200\214\000\000\200\005\000\000\200\006\000\000\200\007\000\000\200\220\000\000\200\221\000\000\200\026\000\000\200\223\000\000\200\224\000\000\200\225\000\000\200\226\000\000\200\004\000\000\200\230\000\000\200\231\000\000\200\232\000\000\200\233\000\000\200\024\000\000\200\025\000\000\200\236\000\000\200\032\000\000\200 \000\000\200\240\000\000\200\201\016\000\200\202\016\000\200\204\016\000\200\207\016\000\200\210\016\000\200\252\016\000\200\212\016\000\200[\000\000\200\242\000\000\200.\000\000\200<\000\000\200(\000\000\200+\000\000\200|\000\000\200&\000\000\200\376\377`\200\215\016\000\200\224\016\000\200\225\016\000\200\226\016\000\200\227\016\000\200\231\016\000\200\232\016\000\200]\000\000\200!\000\000\200$\000\000\200*\000\000\200)\000\000\200;\000\000\200\254\000\000\200-\000\000\200/\000\000\200\233\016\000\200\234\016\000\200\235\016\000\200\236\016\000\200\237\016\000\200\241\016\000\200\242\016\000\200^\000\000\200\246\000\000\200,\000\000\200%\000\000\200_\000\000\200>\000\000\200?\000\000\200\255 \000\200\376\377`\200\243\016\000\200\245\016\000\200\247\016\000\200\253\016\000\200\255\016\000\200\256\016\000\200\376\377`\200`\000\000\200:\000\000\200#\000\000\200@\000\000\200'\000\000\200=\000\000\200\"\000\000\200\376\377`\200a\000\000\200b\000\000\200c\000\000\200d\000\000\200e\000\000\200f\000\000\200g\000\000\200h\000\000\200i\000\000\200\376\377`\200\376\377`\200\257\016\000\200\260\016\000\200\262\016\000\200\263\016\000\200\376\377`\200j\000\000\200k\000\000\200l\000\000\200m\000\000\200n\000\000\200o\000\000\200p\000\000\200q\000\000\200r\000\000\200\264\016\000\200\265\016\000\200\266\016\000\200\267\016\000\200\270\016\000\200\271\016\000\200\376\377`\200~\000\000\200s\000\000\200t\000\000\200u\000\000\200v\000\000\200w\000\000\200x\000\000\200y\000\000\200z\000\000\200\274\016\000\200\261\016\000\200\273\016\000\200\275\016\000\200\376\377`\200\376\377`\200\320\016\000\200\321\016\000\200\322\016\000\200\323\016\000\200\324\016\000\200\325\016\000\200\326\016\000\200\327\016\000\200\330\016\000\200\331\016\000\200\376\377`\200\300\016\000\200\301\016\000\200\302\016\000\200\303\016\000\200\304\016\000\200{\000\000\200A\000\000\200B\000\000\200C\000\000\200D\000\000\200E\000\000\200F\000\000\200G\000\000\200H\000\000\200I\000\000\200\376\377`\200\310\016\000\200\311\016\000\200\312\016\000\200\313\016\000\200\314\016\000\200}\000\000\200J\000\000\200K\000\000\200L\000\000\200M\000\000\200N\000\000\200O\000\000\200P\000\000\200Q\000\000\200R\000\000\200\315\016\000\200\306\016\000\200\376\377`\200\334\016\000\200\335\016\000\200\376\377`\200\\\000\000\200\376\377`\200S\000\000\200T\000\000\200U\000\000\200V\000\000\200W\000\000\200X\000\000\200Y\000\000\200Z\000\000\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\376\377`\2000\000\000\2001\000\000\2002\000\000\2003\000\000\2004\000\000\2005\000\000\2006\000\000\2007\000\000\2008\000\000\2009\000\000\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\376\377`\200\237\000\000\200\200\000@\000@\000\230\000@\000@\000@\000@\000\316\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000@\000\336\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000@\000P\000`\000p\000\200\000\220\000\240\000\260\000\300\000\320\000\340\000\360\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\017\001\037\001/\001?\001O\001_\001o\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000r\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\201\001\221\001\241\001\261\001\301\001\321\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\017\001\017\002\017\003\0177\017-\017.\017/\017\026\017\005\017%\017\013\017\f\017\r\017\016\017\017\017\020\017\021\017\022\017\023\017<\017=\0172\017&\017\030\017\031\017?\017'\017\034\017\035\017\036\017\037\017@\017Z\017\177\017{\017[\017l\017P\017}\017M\017]\017\\\017N\017k\017`\017K\017a\017\360\017\361\017\362\017\363\017\364\017\365\017\366\017\367\017\370\017\371\017z\017^\017L\017~\017n\017o\017|\017\301\017\302\017\303\017\304\017\305\017\306\017\307\017\310\017\311\017\321\017\322\017\323\017\324\017\325\017\326\017\327\017\330\017\331\017\342\017\343\017\344\017\345\017\346\017\347\017\350\017\351\017I\017\340\017Y\017i\017m\017y\017\201\017\202\017\203\017\204\017\205\017\206\017\207\017\210\017\211\017\221\017\222\017\223\017\224\017\225\017\226\017\227\017\230\017\231\017\242\017\243\017\244\017\245\017\246\017\247\017\250\017\251\017\300\017O\017\320\017\241\017\007\017 \017!\017\"\017#\017$\017\025\017\006\017\027\017(\017)\017*\017+\017,\017\t\017\n\017\033\0170\0171\017\032\0173\0174\0175\0176\017\b\0178\0179\017:\017;\017\004\017\024\017>\017\377\017A\017\000\000J\017\000\000\000\000\000\000j\017\000\000\000\000\000\000\000\000\000\000_\017\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000B\017C\017\000\000D\017\000\000\000\000E\017F\017\000\000H\017\000\000\000\000R\017\000\000\000\000\000\000\000\000\000\000\000\000S\017T\017U\017V\017\000\000W\017X\017b\017c\017d\017e\017f\017\000\000g\017h\017r\017\000\000s\017\000\000t\017\000\000\000\000G\017u\017\000\000v\017w\017\214\017\215\017\253\017\216\017\217\017\232\017\233\017\234\017\235\017\236\017\237\017\000\000\254\017\252\017\255\017\000\000\000\000\273\017\274\017\275\017\276\017\277\017\000\000\333\017\000\000\313\017\314\017\315\017\316\017\317\017\332\017\000\000\000\000\260\017\261\017\262\017\263\017\264\017\265\017\266\017\267\017\270\017\271\017\000\000\000\000\335\017\336\017\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000p\017\000\000\000\000Z\b\177\b{\b[\bl\bP\b}\bM\b]\b\\\bN\bk\b`\bK\ba\b\360\b\361\b\362\b\363\b\364\b\365\b\366\b\367\b\370\b\371\bz\b^\bL\b~\bn\bo\b|\b\301\b\302\b\303\b\304\b\305\b\306\b\307\b\310\b\311\b\321\b\322\b\323\b\324\b\325\b\326\b\327\b\330\b\331\b\342\b\343\b\344\b\345\b\346\b\347\b\350\b\351\bI\b\340\bY\bi\bm\by\b\201\b\202\b\203\b\204\b\205\b\206\b\207\b\210\b\211\b\221\b\222\b\223\b\224\b\225\b\226\b\227\b\230\b\231\b\242\b\243\b\244\b\245\b\246\b\247\b\250\b\251\b\300\bO\b\320\b\241\b\000\000\000\000\252\252\252\252\252\252\252\252\252\252\252\252"
.subsections_via_symbols
|
the_stack_data/97676.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]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #1
cset w8, ne
mov w9, #1
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
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 _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _puts
b LBB0_1
LBB0_5:
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #1
cset w8, ne
mov w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, le
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
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 _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _puts
b LBB0_6
LBB0_10:
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _rettangoli
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _rettangoli ; -- Begin function rettangoli
.p2align 2
_rettangoli: ; @rettangoli
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
str xzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_10 Depth 2
; Child Loop BB1_5 Depth 2
ldr x8, [sp, #16]
ldursw x9, [x29, #-4]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_16
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldur w9, [x29, #-4]
subs w9, w9, #1
subs x8, x8, w9, sxtw
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
str xzr, [sp, #8]
b LBB1_5
LBB1_5: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #8]
ldursw x9, [x29, #-8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=2
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=2
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB1_5
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _puts
b LBB1_14
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x8, #1
str x8, [sp]
b LBB1_10
LBB1_10: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp]
ldur w9, [x29, #-8]
subs w9, w9, #1
subs x8, x8, w9, sxtw
cset w8, hs
tbnz w8, #0, LBB1_13
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=2
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_10 Depth=2
ldr x8, [sp]
add x8, x8, #1
str x8, [sp]
b LBB1_10
LBB1_13: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _puts
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_1 Depth=1
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB1_1
LBB1_16:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%*[^\n]"
l_.str.2: ; @.str.2
.asciz "%*c"
l_.str.3: ; @.str.3
.asciz "h incorretto. Introdurre un intero maggiore di 0."
l_.str.4: ; @.str.4
.asciz "l incorretto. Introdurre un intero maggiore di 0."
l_.str.5: ; @.str.5
.asciz "*"
l_.str.6: ; @.str.6
.space 1
l_.str.7: ; @.str.7
.asciz " "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %ecx
movb $1, %al
cmpl $1, %ecx
movb %al, -13(%rbp) ## 1-byte Spill
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
setle %al
movb %al, -13(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -13(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
callq _puts
jmp LBB0_1
LBB0_5:
jmp LBB0_6
LBB0_6: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl %eax, %ecx
movb $1, %al
cmpl $1, %ecx
movb %al, -14(%rbp) ## 1-byte Spill
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, -8(%rbp)
setle %al
movb %al, -14(%rbp) ## 1-byte Spill
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movb -14(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_9
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
callq _puts
jmp LBB0_6
LBB0_10:
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _rettangoli
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rettangoli ## -- Begin function rettangoli
.p2align 4, 0x90
_rettangoli: ## @rettangoli
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq $0, -16(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_10 Depth 2
## Child Loop BB1_5 Depth 2
movq -16(%rbp), %rax
movslq -4(%rbp), %rcx
cmpq %rcx, %rax
jae LBB1_16
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -16(%rbp)
je LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movl -4(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jne LBB1_9
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq $0, -24(%rbp)
LBB1_5: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movslq -8(%rbp), %rcx
cmpq %rcx, %rax
jae LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB1_5 Depth=2
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB1_5
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.6(%rip), %rdi
callq _puts
jmp LBB1_14
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq $1, -32(%rbp)
LBB1_10: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -32(%rbp), %rax
movl -8(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jae LBB1_13
## %bb.11: ## in Loop: Header=BB1_10 Depth=2
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.12: ## in Loop: Header=BB1_10 Depth=2
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB1_10
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.5(%rip), %rdi
callq _puts
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_15
LBB1_15: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB1_1
LBB1_16:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%*[^\n]"
L_.str.2: ## @.str.2
.asciz "%*c"
L_.str.3: ## @.str.3
.asciz "h incorretto. Introdurre un intero maggiore di 0."
L_.str.4: ## @.str.4
.asciz "l incorretto. Introdurre un intero maggiore di 0."
L_.str.5: ## @.str.5
.asciz "*"
L_.str.6: ## @.str.6
.space 1
L_.str.7: ## @.str.7
.asciz " "
.subsections_via_symbols
|
the_stack_data/65202.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SCALE ; -- Begin function SCALE
.p2align 2
_SCALE: ; @SCALE
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, #44]
str d0, [sp, #32]
str x1, [sp, #24]
str x2, [sp, #16]
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #44]
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 d0, [sp, #32]
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr d1, [x8, x9, lsl #3]
fmul d0, d0, d1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
str d0, [x8, x9, lsl #3]
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, #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 _SCALE ## -- Begin function SCALE
.p2align 4, 0x90
_SCALE: ## @SCALE
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movsd %xmm0, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rax
movslq -36(%rbp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
## %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:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/25137281.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-4]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-4]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_8:
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [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, #1
cset w8, lt
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
mov w8, #1
stur w8, [x29, #-8]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-4]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #1
stur w8, [x29, #-4]
b LBB0_9
LBB0_16:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the no. of rows: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d%d "
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -4(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -8(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -4(%rbp), %esi
movl -8(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_8:
movl -12(%rbp), %eax
subl $1, %eax
movl %eax, -4(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $1, -4(%rbp)
jl LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $1, -8(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl -4(%rbp), %esi
movl -8(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.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,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the no. of rows: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d%d "
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/86074504.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_9
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov w1, #0
bl _open
stur w0, [x29, #-28]
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
bl ___error
ldr w9, [x0]
; 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
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
bl ___error
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _fprintf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
bl ___error
ldr w8, [x0]
stur w8, [x29, #-4]
b LBB0_9
LBB0_4:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _atoi
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
stur x8, [x29, #-40]
ldur x8, [x29, #-40]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x0, [x29, #-40]
bl _malloc
str x0, [sp, #48]
ldur w0, [x29, #-28]
ldr x1, [sp, #48]
ldur x2, [x29, #-40]
bl _read
str x0, [sp, #40]
str xzr, [sp, #32]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
ldr x9, [sp, #40]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #48]
ldr x9, [sp, #32]
ldrsb w10, [x8, x9]
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_7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB0_5
LBB0_8:
stur wzr, [x29, #-4]
b LBB0_9
LBB0_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Incorrect number of arguments"
l_.str.1: ; @.str.1
.asciz "Error code: %d\n"
l_.str.2: ; @.str.2
.asciz "Error"
l_.str.3: ; @.str.3
.asciz "Size: %d\n"
l_.str.4: ; @.str.4
.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 $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
cmpl $3, -8(%rbp)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_9
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %esi, %esi
movb $0, %al
callq _open
movl %eax, -28(%rbp)
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
callq ___error
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
callq ___error
movq -72(%rbp), %rdi ## 8-byte Reload
movl (%rax), %edx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
leaq L_.str.2(%rip), %rdi
callq _perror
callq ___error
movl (%rax), %eax
movl %eax, -4(%rbp)
jmp LBB0_9
LBB0_4:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
cltq
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl %eax, %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -40(%rbp), %rdi
callq _malloc
movq %rax, -48(%rbp)
movl -28(%rbp), %edi
movq -48(%rbp), %rsi
movq -40(%rbp), %rdx
callq _read
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rax
cmpq -56(%rbp), %rax
jae LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -48(%rbp), %rax
movq -64(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
jmp LBB0_5
LBB0_8:
movl $0, -4(%rbp)
LBB0_9:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Incorrect number of arguments"
L_.str.1: ## @.str.1
.asciz "Error code: %d\n"
L_.str.2: ## @.str.2
.asciz "Error"
L_.str.3: ## @.str.3
.asciz "Size: %d\n"
L_.str.4: ## @.str.4
.asciz "%c"
.subsections_via_symbols
|
the_stack_data/75074.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:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/125141720.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x0, #4
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
str wzr, [x8]
ldr x9, [sp, #16]
mov w8, #1
str w8, [x9, #4]
ldr x9, [sp, #16]
mov w8, #29
str w8, [x9, #1268]
ldr x9, [sp, #16]
mov w8, #32
stur w8, [x9, #-4]
ldr x8, [sp, #16]
ldur w9, [x8, #-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
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "A[-1] = %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 $4, %edi
callq _malloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
movl $1, 4(%rax)
movq -16(%rbp), %rax
movl $29, 1268(%rax)
movq -16(%rbp), %rax
movl $32, -4(%rax)
movq -16(%rbp), %rax
movl -4(%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "A[-1] = %d\n"
.subsections_via_symbols
|
the_stack_data/314800.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 x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
mov w0, #3
bl _create_family
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
str w1, [sp, #4] ; 4-byte Folded Spill
bl _print_family
ldr x0, [sp, #8]
bl _free_family
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
.globl _create_family ; -- Begin function create_family
.p2align 2
_create_family: ; @create_family
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
mov x0, #24
bl _malloc
stur x0, [x29, #-16]
ldur w8, [x29, #-4]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur w8, [x29, #-4]
subs w0, w8, #1
bl _create_family
ldur x8, [x29, #-16]
str x0, [x8]
ldur w8, [x29, #-4]
subs w0, w8, #1
bl _create_family
ldur x8, [x29, #-16]
str x0, [x8, #8]
ldur x8, [x29, #-16]
ldr x8, [x8]
add x8, x8, #16
str x8, [sp, #8] ; 8-byte Folded Spill
bl _rand
ldr x8, [sp, #8] ; 8-byte Folded Reload
mov w10, #2
str w10, [sp, #20] ; 4-byte Folded Spill
sdiv w9, w0, w10
mul w9, w9, w10
subs w9, w0, w9
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldur x9, [x29, #-16]
strb w8, [x9, #16]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
add x8, x8, #16
str x8, [sp, #24] ; 8-byte Folded Spill
bl _rand
ldr w10, [sp, #20] ; 4-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
sdiv w9, w0, w10
mul w9, w9, w10
subs w9, w0, w9
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldur x9, [x29, #-16]
strb w8, [x9, #17]
b LBB1_3
LBB1_2:
ldur x8, [x29, #-16]
; kill: def $x9 killed $xzr
str xzr, [x8]
ldur x8, [x29, #-16]
str xzr, [x8, #8]
bl _random_allele
ldur x8, [x29, #-16]
strb w0, [x8, #16]
bl _random_allele
ldur x8, [x29, #-16]
strb w0, [x8, #17]
b LBB1_3
LBB1_3:
ldur x0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _print_family ; -- Begin function print_family
.p2align 2
_print_family: ; @print_family
.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 x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
b LBB2_7
LBB2_2:
stur wzr, [x29, #-16]
b LBB2_3
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-12]
subs w8, w8, w9, lsl #2
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=1
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:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
ldur x9, [x29, #-8]
ldrsb w11, [x9, #16]
ldur x9, [x29, #-8]
ldrsb w10, [x9, #17]
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_family
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_family
b LBB2_7
LBB2_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _free_family ; -- Begin function free_family
.p2align 2
_free_family: ; @free_family
.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, LBB3_2
b LBB3_1
LBB3_1:
b LBB3_3
LBB3_2:
ldr x8, [sp, #8]
ldr x0, [x8]
bl _free_family
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free_family
ldr x0, [sp, #8]
bl _free
b LBB3_3
LBB3_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _random_allele ; -- Begin function random_allele
.p2align 2
_random_allele: ; @random_allele
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _rand
mov w9, #3
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w8, #65
sturb w8, [x29, #-1]
b LBB4_5
LBB4_2:
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
mov w8, #66
sturb w8, [x29, #-1]
b LBB4_5
LBB4_4:
mov w8, #79
sturb w8, [x29, #-1]
b LBB4_5
LBB4_5:
ldursb w0, [x29, #-1]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _GENERATIONS ; @GENERATIONS
.p2align 2
_GENERATIONS:
.long 3 ; 0x3
.globl _INDENT_LENGTH ; @INDENT_LENGTH
.p2align 2
_INDENT_LENGTH:
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " "
l_.str.1: ; @.str.1
.asciz "Generation %i, blood type %c%c\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $3, %edi
callq _create_family
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
callq _print_family
movq -8(%rbp), %rdi
callq _free_family
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _create_family ## -- Begin function create_family
.p2align 4, 0x90
_create_family: ## @create_family
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl $24, %edi
callq _malloc
movq %rax, -16(%rbp)
cmpl $1, -4(%rbp)
jle LBB1_2
## %bb.1:
movl -4(%rbp), %edi
subl $1, %edi
callq _create_family
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, (%rax)
movl -4(%rbp), %edi
subl $1, %edi
callq _create_family
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
callq _rand
movl $2, %ecx
cltd
idivl %ecx
movq -32(%rbp), %rax ## 8-byte Reload
movslq %edx, %rcx
movb 16(%rax,%rcx), %cl
movq -16(%rbp), %rax
movb %cl, 16(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp) ## 8-byte Spill
callq _rand
movl $2, %ecx
cltd
idivl %ecx
movq -24(%rbp), %rax ## 8-byte Reload
movslq %edx, %rcx
movb 16(%rax,%rcx), %cl
movq -16(%rbp), %rax
movb %cl, 17(%rax)
jmp LBB1_3
LBB1_2:
movq -16(%rbp), %rax
movq $0, (%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
callq _random_allele
movb %al, %cl
movq -16(%rbp), %rax
movb %cl, 16(%rax)
callq _random_allele
movb %al, %cl
movq -16(%rbp), %rax
movb %cl, 17(%rax)
LBB1_3:
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_family ## -- Begin function print_family
.p2align 4, 0x90
_print_family: ## @print_family
.cfi_startproc
## %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)
cmpq $0, -8(%rbp)
jne LBB2_2
## %bb.1:
jmp LBB2_7
LBB2_2:
movl $0, -16(%rbp)
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
shll $2, %ecx
cmpl %ecx, %eax
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
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:
movl -12(%rbp), %esi
movq -8(%rbp), %rax
movsbl 16(%rax), %edx
movq -8(%rbp), %rax
movsbl 17(%rax), %ecx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq (%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_family
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_family
LBB2_7:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _free_family ## -- Begin function free_family
.p2align 4, 0x90
_free_family: ## @free_family
.cfi_startproc
## %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 LBB3_2
## %bb.1:
jmp LBB3_3
LBB3_2:
movq -8(%rbp), %rax
movq (%rax), %rdi
callq _free_family
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free_family
movq -8(%rbp), %rdi
callq _free
LBB3_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _random_allele ## -- Begin function random_allele
.p2align 4, 0x90
_random_allele: ## @random_allele
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
callq _rand
movl $3, %ecx
cltd
idivl %ecx
movl %edx, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB4_2
## %bb.1:
movb $65, -1(%rbp)
jmp LBB4_5
LBB4_2:
cmpl $1, -8(%rbp)
jne LBB4_4
## %bb.3:
movb $66, -1(%rbp)
jmp LBB4_5
LBB4_4:
movb $79, -1(%rbp)
LBB4_5:
movsbl -1(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _GENERATIONS ## @GENERATIONS
.p2align 2
_GENERATIONS:
.long 3 ## 0x3
.globl _INDENT_LENGTH ## @INDENT_LENGTH
.p2align 2
_INDENT_LENGTH:
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz "Generation %i, blood type %c%c\n"
.subsections_via_symbols
|
the_stack_data/290.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _copy ; -- Begin function copy
.p2align 2
_copy: ; @copy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str w2, [sp, #12]
ldr w8, [sp, #12]
add w8, w8, #7
mov w10, #8
sdiv w8, w8, w10
str w8, [sp, #8]
ldr w8, [sp, #12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #7
cset w8, hi
tbnz w8, #0, LBB0_13
; %bb.1:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp1:
adr x8, Ltmp1
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_2:
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_4
LBB0_4:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_5
LBB0_5:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_6
LBB0_6:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_7
LBB0_7:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_8
LBB0_8:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_9
LBB0_9:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_10
LBB0_10:
ldr x8, [sp, #16]
add x9, x8, #4
str x9, [sp, #16]
ldr w8, [x8]
ldr x9, [sp, #24]
add x10, x9, #4
str x10, [sp, #24]
str w8, [x9]
b LBB0_11
LBB0_11:
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
subs w8, w8, #0
cset w8, gt
tbnz w8, #0, LBB0_3
b LBB0_12
LBB0_12:
b LBB0_13
LBB0_13:
add sp, sp, #32
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_2-Ltmp1
.long LBB0_10-Ltmp1
.long LBB0_9-Ltmp1
.long LBB0_8-Ltmp1
.long LBB0_7-Ltmp1
.long LBB0_6-Ltmp1
.long LBB0_5-Ltmp1
.long LBB0_4-Ltmp1
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _copy ## -- Begin function copy
.p2align 4, 0x90
_copy: ## @copy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl -20(%rbp), %ecx
movl %ecx, %eax
addl $7, %eax
addl $14, %ecx
testl %eax, %eax
cmovsl %ecx, %eax
sarl $3, %eax
movl %eax, -24(%rbp)
movl -20(%rbp), %eax
movl %eax, %edx
addl $7, %edx
testl %eax, %eax
movl %eax, %ecx
cmovsl %edx, %ecx
andl $-8, %ecx
subl %ecx, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $7, %eax
ja LBB0_12
## %bb.13:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_1:
jmp LBB0_2
LBB0_2:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_3:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_4:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_5:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_6:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_7:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_8:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
LBB0_9:
movq -16(%rbp), %rax
movq %rax, %rcx
addq $4, %rcx
movq %rcx, -16(%rbp)
movl (%rax), %ecx
movq -8(%rbp), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, -8(%rbp)
movl %ecx, (%rax)
## %bb.10:
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
cmpl $0, %eax
jg LBB0_2
## %bb.11:
jmp LBB0_12
LBB0_12:
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
.long L0_0_set_1
.long L0_0_set_9
.long L0_0_set_8
.long L0_0_set_7
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_4
.long L0_0_set_3
.end_data_region
## -- End function
.subsections_via_symbols
|
the_stack_data/748532.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "main_function\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "main_function\n"
.subsections_via_symbols
|
the_stack_data/11074963.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 fahr_to_celsius
lCPI0_0:
.quad 0x3fe1c71c71c71c72 ; double 0.55555555555555558
lCPI0_1:
.quad 0x4040000000000000 ; double 32
.section __TEXT,__text,regular,pure_instructions
.globl _fahr_to_celsius
.p2align 2
_fahr_to_celsius: ; @fahr_to_celsius
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
ldr s0, [sp, #12]
fcvt d0, s0
adrp x8, lCPI0_1@PAGE
ldr d1, [x8, lCPI0_1@PAGEOFF]
fsub d1, d0, d1
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fcvt s0, d0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-16]
mov w8, #300
stur w8, [x29, #-20]
mov w8, #20
str w8, [sp, #24]
ldur s0, [x29, #-16]
scvtf s0, s0
stur s0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur s0, [x29, #-8]
ldur s1, [x29, #-20]
scvtf s1, s1
fcmp s0, s1
cset w8, hi
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur s0, [x29, #-8]
bl _fahr_to_celsius
stur s0, [x29, #-12]
ldur s0, [x29, #-8]
fcvt d1, s0
ldur s0, [x29, #-12]
fcvt d0, s0
mov x8, sp
str d1, [x8]
str d0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur s0, [x29, #-8]
ldr s1, [sp, #24]
scvtf s1, s1
fadd s0, s0, s1
stur s0, [x29, #-8]
b LBB1_1
LBB1_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " F C\n"
l_.str.1: ; @.str.1
.asciz "%3.0f %6.1f\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 fahr_to_celsius
LCPI0_0:
.quad 0x3fe1c71c71c71c72 ## double 0.55555555555555558
LCPI0_1:
.quad 0x4040000000000000 ## double 32
.section __TEXT,__text,regular,pure_instructions
.globl _fahr_to_celsius
.p2align 4, 0x90
_fahr_to_celsius: ## @fahr_to_celsius
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm0, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -16(%rbp)
movl $300, -20(%rbp) ## imm = 0x12C
movl $20, -24(%rbp)
cvtsi2ssl -16(%rbp), %xmm0
movss %xmm0, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB1_1: ## =>This Inner Loop Header: Depth=1
movss -8(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtsi2ssl -20(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jb LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _fahr_to_celsius
movss %xmm0, -12(%rbp)
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
leaq L_.str.1(%rip), %rdi
movb $2, %al
callq _printf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtsi2ssl -24(%rbp), %xmm1
addss %xmm1, %xmm0
movss %xmm0, -8(%rbp)
jmp LBB1_1
LBB1_3:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " F C\n"
L_.str.1: ## @.str.1
.asciz "%3.0f %6.1f\n"
.subsections_via_symbols
|
the_stack_data/190767546.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
mov x1, #0
str x1, [sp] ; 8-byte Folded Spill
bl _setbuf
ldr x1, [sp] ; 8-byte Folded Reload
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _setbuf
ldr x1, [sp] ; 8-byte Folded Reload
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
bl _setbuf
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
add x0, sp, #10
bl _gets
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _flag ; -- Begin function flag
.p2align 2
_flag: ; @flag
.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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _system
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Welcome to csictf! Time to teleport again."
l_.str.1: ; @.str.1
.asciz "Well, that was quick. Here's your flag:"
l_.str.2: ; @.str.2
.asciz "cat flag.txt"
.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)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
leaq L_.str(%rip), %rdi
callq _puts
leaq -48(%rbp), %rdi
callq _gets
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
.globl _flag ## -- Begin function flag
.p2align 4, 0x90
_flag: ## @flag
.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.1(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
callq _system
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Welcome to csictf! Time to teleport again."
L_.str.1: ## @.str.1
.asciz "Well, that was quick. Here's your flag:"
L_.str.2: ## @.str.2
.asciz "cat flag.txt"
.subsections_via_symbols
|
the_stack_data/107953535.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]
movi d0, #0000000000000000
stur s0, [x29, #-20]
fmov s0, #-1.00000000
str s0, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, lt
mov w9, #1
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
mov w9, #9999
subs w8, w8, w9
cset w8, gt
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_1
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldur w8, [x29, #-8]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
stur w8, [x29, #-12]
ldur s0, [x29, #-12]
scvtf s1, s0
ldur s0, [x29, #-20]
fadd s0, s0, s1
stur s0, [x29, #-20]
ldur w8, [x29, #-8]
sdiv w8, w8, w9
stur w8, [x29, #-8]
ldr s0, [sp, #24]
fmov s1, #1.00000000
fadd s0, s0, s1
str s0, [sp, #24]
b LBB0_6
LBB0_8:
ldur s0, [x29, #-20]
ldr s1, [sp, #24]
fdiv s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fmov s1, #7.00000000
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_11
LBB0_10:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_11
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "heavy"
l_.str.2: ; @.str.2
.asciz "light"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0xbf800000 ## float -1
LCPI0_1:
.long 0x40e00000 ## float 7
LCPI0_2:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -20(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movb $1, %al
cmpl $1, -8(%rbp)
movb %al, -25(%rbp) ## 1-byte Spill
jl LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $9999, -8(%rbp) ## imm = 0x270F
setg %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_1
## %bb.5:
jmp LBB0_6
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
cvtsi2ssl -12(%rbp), %xmm0
addss -20(%rbp), %xmm0
movss %xmm0, -20(%rbp)
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -8(%rbp)
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -24(%rbp), %xmm0
movss %xmm0, -24(%rbp)
jmp LBB0_6
LBB0_8:
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -24(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_10
## %bb.9:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_11
LBB0_10:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_11:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "heavy"
L_.str.2: ## @.str.2
.asciz "light"
.subsections_via_symbols
|
the_stack_data/151706609.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-44] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
sub x8, x29, #20
str x8, [sp, #16] ; 8-byte Folded Spill
stur x8, [x29, #-32]
sub x8, x29, #24
str x8, [sp, #24] ; 8-byte Folded Spill
stur x8, [x29, #-40]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #32] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
bl _scanf
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _printf
ldur x8, [x29, #-32]
ldr w8, [x8]
ldur x9, [x29, #-40]
ldr w9, [x9]
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
ldur w0, [x29, #-44] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input the first number :"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "Input the second number :"
l_.str.4: ; @.str.4
.asciz "The sum of the entered numbers is : %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq -20(%rbp), %rax
movq %rax, -32(%rbp)
leaq -24(%rbp), %rax
movq %rax, -40(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -32(%rbp), %rax
movl (%rax), %esi
movq -40(%rbp), %rax
addl (%rax), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Input the first number :"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "Input the second number :"
L_.str.4: ## @.str.4
.asciz "The sum of the entered numbers is : %d\n"
.subsections_via_symbols
|
the_stack_data/8920.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, #100
stur w8, [x29, #-8]
stur wzr, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
ldur w10, [x29, #-12]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w10, [x29, #-8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_9:
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 "Informe o segundo numero: "
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.2: ; @.str.2
.asciz "O numero %i eh multiplo de %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 $32, %rsp
movl $0, -4(%rbp)
movl $100, -8(%rbp)
movl $0, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %edx, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
je LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cmpl -12(%rbp), %eax
jl LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
movl %edx, -20(%rbp)
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cltd
idivl -8(%rbp)
movl %edx, -20(%rbp)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -20(%rbp)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
subl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_9:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Informe o segundo numero: "
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.2: ## @.str.2
.asciz "O numero %i eh multiplo de %i. \n"
.subsections_via_symbols
|
the_stack_data/187642701.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #20
str x8, [x9]
add x8, sp, #24
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #24]
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, #20]
str w8, [sp, #16] ; 4-byte Folded Spill
ldr w0, [sp, #20]
bl _cubeSumOFdigits
ldr w8, [sp, #16] ; 4-byte Folded Reload
subs w8, w8, w0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
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, #20]
add w8, w8, #1
str w8, [sp, #20]
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
.globl _cubeSumOFdigits ; -- Begin function cubeSumOFdigits
.p2align 2
_cubeSumOFdigits: ; @cubeSumOFdigits
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
str w8, [sp, #4]
ldr w8, [sp, #12]
sdiv w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #8]
ldr w9, [sp, #4]
ldr w10, [sp, #4]
mul w9, w9, w10
ldr w10, [sp, #4]
mul w9, w9, w10
add w8, w8, w9
str w8, [sp, #8]
b LBB1_1
LBB1_3:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter tow numbers:"
l_.str.1: ; @.str.1
.asciz "%d%d"
l_.str.2: ; @.str.2
.asciz "%d "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
leaq -24(%rbp), %rdx
movb $0, %al
callq _scanf
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movl -28(%rbp), %edi
callq _cubeSumOFdigits
movl %eax, %ecx
movl -32(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_6:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cubeSumOFdigits ## -- Begin function cubeSumOFdigits
.p2align 4, 0x90
_cubeSumOFdigits: ## @cubeSumOFdigits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
jle LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
movl -8(%rbp), %eax
movl -12(%rbp), %ecx
imull -12(%rbp), %ecx
imull -12(%rbp), %ecx
addl %ecx, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_3:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter tow numbers:"
L_.str.1: ## @.str.1
.asciz "%d%d"
L_.str.2: ## @.str.2
.asciz "%d "
.subsections_via_symbols
|
the_stack_data/151706153.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 x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #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
add x8, sp, #24
str x8, [x9]
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
stur w8, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-4]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
stur w8, [x29, #-16]
stur wzr, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-16]
mov w9, #10
sdiv w10, w8, w9
mul w10, w10, w9
subs w8, w8, w10
stur w8, [x29, #-8]
ldur w8, [x29, #-16]
sdiv w8, w8, w9
stur w8, [x29, #-16]
ldur s1, [x29, #-12]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
str d0, [sp, #8] ; 8-byte Folded Spill
ldur s1, [x29, #-8]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fmov d1, #3.00000000
bl _pow
fmov d1, d0
ldr d0, [sp, #8] ; 8-byte Folded Reload
fadd d0, d0, d1
fcvtzs w8, d0
stur w8, [x29, #-12]
b LBB0_3
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-4]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_9:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@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 "Input starting number of range: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Input ending number of range : "
l_.str.3: ; @.str.3
.asciz "Armstrong numbers in given range are: "
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
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -4(%rbp), %eax
cmpl -24(%rbp), %eax
jg LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
movl %eax, -16(%rbp)
movl $0, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $0, -16(%rbp)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %edx, -8(%rbp)
movl -16(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -16(%rbp)
cvtsi2sdl -12(%rbp), %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
cvtsi2sdl -8(%rbp), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, %xmm1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cmpl -4(%rbp), %eax
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_9:
leaq L_.str.5(%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 "Input starting number of range: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Input ending number of range : "
L_.str.3: ## @.str.3
.asciz "Armstrong numbers in given range are: "
L_.str.4: ## @.str.4
.asciz "%d "
L_.str.5: ## @.str.5
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/107953149.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
sub x8, x29, #20
str x8, [sp, #16] ; 8-byte Folded Spill
mov w8, #-1
stur w8, [x29, #-20]
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
str w8, [sp, #28] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2:
ldr w8, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_6
LBB0_3:
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #32]
b LBB0_7
LBB0_4:
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp, #32]
b LBB0_7
LBB0_5:
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #32]
b LBB0_7
LBB0_6:
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp, #32]
b LBB0_7
LBB0_7:
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\350\257\267\350\276\223\345\205\245\344\275\240\345\226\234\346\254\242\347\232\204\351\242\234\350\211\262\347\232\204\344\273\243\347\240\201: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "red"
l_.str.3: ; @.str.3
.asciz "yellow"
l_.str.4: ; @.str.4
.asciz "green"
l_.str.5: ; @.str.5
.asciz "unknown"
l_.str.6: ; @.str.6
.asciz "\344\275\240\345\226\234\346\254\242\347\232\204\351\242\234\350\211\262: %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 $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $-1, -20(%rbp)
movq $0, -32(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -37(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -37(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
leaq -20(%rbp), %rsi
callq _scanf
movl -20(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_1
jmp LBB0_6
LBB0_6:
movl -36(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_2
jmp LBB0_7
LBB0_7:
movl -36(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_3
jmp LBB0_4
LBB0_1:
leaq L_.str.2(%rip), %rax
movq %rax, -32(%rbp)
jmp LBB0_5
LBB0_2:
leaq L_.str.3(%rip), %rax
movq %rax, -32(%rbp)
jmp LBB0_5
LBB0_3:
leaq L_.str.4(%rip), %rax
movq %rax, -32(%rbp)
jmp LBB0_5
LBB0_4:
leaq L_.str.5(%rip), %rax
movq %rax, -32(%rbp)
LBB0_5:
movq -32(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\350\257\267\350\276\223\345\205\245\344\275\240\345\226\234\346\254\242\347\232\204\351\242\234\350\211\262\347\232\204\344\273\243\347\240\201: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "red"
L_.str.3: ## @.str.3
.asciz "yellow"
L_.str.4: ## @.str.4
.asciz "green"
L_.str.5: ## @.str.5
.asciz "unknown"
L_.str.6: ## @.str.6
.asciz "\344\275\240\345\226\234\346\254\242\347\232\204\351\242\234\350\211\262: %s\n"
.subsections_via_symbols
|
the_stack_data/154828090.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
subs w0, w8, #1
bl _f
b LBB0_2
LBB0_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
mov w8, #0
str w8, [sp, #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
mov w0, #16960
movk w0, #15, lsl #16
bl _f
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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jle LBB0_2
## %bb.1:
movl -4(%rbp), %edi
subl $1, %edi
callq _f
LBB0_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)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl $1000000, %edi ## imm = 0xF4240
callq _f
movl -8(%rbp), %esi
addl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
|
the_stack_data/1226809.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/135720.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _font8x8_basic ; @font8x8_basic
_font8x8_basic:
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.asciz "\030<<\030\030\000\030"
.asciz "66\000\000\000\000\000"
.asciz "66\1776\17766"
.asciz "\f>\003\0360\037\f"
.asciz "\000c3\030\ffc"
.asciz "\0346\034n;3n"
.asciz "\006\006\003\000\000\000\000"
.asciz "\030\f\006\006\006\f\030"
.asciz "\006\f\030\030\030\f\006"
.asciz "\000f<\377<f\000"
.asciz "\000\f\f?\f\f\000"
.ascii "\000\000\000\000\000\f\f\006"
.asciz "\000\000\000?\000\000\000"
.asciz "\000\000\000\000\000\f\f"
.asciz "`0\030\f\006\003\001"
.asciz ">cs{og>"
.asciz "\f\016\f\f\f\f?"
.asciz "\03630\034\0063?"
.asciz "\03630\03403\036"
.asciz "8<63\1770x"
.asciz "?\003\037003\036"
.asciz "\034\006\003\03733\036"
.asciz "?30\030\f\f\f"
.asciz "\03633\03633\036"
.asciz "\03633>0\030\016"
.asciz "\000\f\f\000\000\f\f"
.ascii "\000\f\f\000\000\f\f\006"
.asciz "\030\f\006\003\006\f\030"
.asciz "\000\000?\000\000?\000"
.asciz "\006\f\0300\030\f\006"
.asciz "\03630\030\f\000\f"
.asciz ">c{{{\003\036"
.asciz "\f\03633?33"
.asciz "?ff>ff?"
.asciz "<f\003\003\003f<"
.asciz "\0376fff6\037"
.asciz "\177F\026\036\026F\177"
.asciz "\177F\026\036\026\006\017"
.asciz "<f\003\003sf|"
.asciz "333?333"
.asciz "\036\f\f\f\f\f\036"
.asciz "x00033\036"
.asciz "gf6\0366fg"
.asciz "\017\006\006\006Ff\177"
.asciz "cw\177\177kcc"
.asciz "cgo{scc"
.asciz "\0346ccc6\034"
.asciz "?ff>\006\006\017"
.asciz "\036333;\0368"
.asciz "?ff>6fg"
.asciz "\0363\007\01683\036"
.asciz "?-\f\f\f\f\036"
.asciz "333333?"
.asciz "33333\036\f"
.asciz "ccck\177wc"
.asciz "cc6\034\0346c"
.asciz "333\036\f\f\036"
.asciz "\177c1\030Lf\177"
.asciz "\036\006\006\006\006\006\036"
.asciz "\003\006\f\0300`@"
.asciz "\036\030\030\030\030\030\036"
.asciz "\b\0346c\000\000\000"
.ascii "\000\000\000\000\000\000\000\377"
.asciz "\f\f\030\000\000\000\000"
.asciz "\000\000\0360>3n"
.asciz "\007\006\006>ff;"
.asciz "\000\000\0363\0033\036"
.asciz "800>33n"
.asciz "\000\000\0363?\003\036"
.asciz "\0346\006\017\006\006\017"
.ascii "\000\000n33>0\037"
.asciz "\007\0066nffg"
.asciz "\f\000\016\f\f\f\036"
.ascii "0\00000033\036"
.asciz "\007\006f6\0366g"
.asciz "\016\f\f\f\f\f\036"
.asciz "\000\0003\177\177kc"
.asciz "\000\000\0373333"
.asciz "\000\000\036333\036"
.ascii "\000\000;ff>\006\017"
.ascii "\000\000n33>0x"
.asciz "\000\000;nf\006\017"
.asciz "\000\000>\003\0360\037"
.asciz "\b\f>\f\f,\030"
.asciz "\000\0003333n"
.asciz "\000\000333\036\f"
.asciz "\000\000ck\177\1776"
.asciz "\000\000c6\0346c"
.ascii "\000\000333>0\037"
.asciz "\000\000?\031\f&?"
.asciz "8\f\f\007\f\f8"
.asciz "\030\030\030\000\030\030\030"
.asciz "\007\f\f8\f\f\007"
.asciz "n;\000\000\000\000\000"
.space 8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _font8x8_basic ## @font8x8_basic
.p2align 4
_font8x8_basic:
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.asciz "\030<<\030\030\000\030"
.asciz "66\000\000\000\000\000"
.asciz "66\1776\17766"
.asciz "\f>\003\0360\037\f"
.asciz "\000c3\030\ffc"
.asciz "\0346\034n;3n"
.asciz "\006\006\003\000\000\000\000"
.asciz "\030\f\006\006\006\f\030"
.asciz "\006\f\030\030\030\f\006"
.asciz "\000f<\377<f\000"
.asciz "\000\f\f?\f\f\000"
.ascii "\000\000\000\000\000\f\f\006"
.asciz "\000\000\000?\000\000\000"
.asciz "\000\000\000\000\000\f\f"
.asciz "`0\030\f\006\003\001"
.asciz ">cs{og>"
.asciz "\f\016\f\f\f\f?"
.asciz "\03630\034\0063?"
.asciz "\03630\03403\036"
.asciz "8<63\1770x"
.asciz "?\003\037003\036"
.asciz "\034\006\003\03733\036"
.asciz "?30\030\f\f\f"
.asciz "\03633\03633\036"
.asciz "\03633>0\030\016"
.asciz "\000\f\f\000\000\f\f"
.ascii "\000\f\f\000\000\f\f\006"
.asciz "\030\f\006\003\006\f\030"
.asciz "\000\000?\000\000?\000"
.asciz "\006\f\0300\030\f\006"
.asciz "\03630\030\f\000\f"
.asciz ">c{{{\003\036"
.asciz "\f\03633?33"
.asciz "?ff>ff?"
.asciz "<f\003\003\003f<"
.asciz "\0376fff6\037"
.asciz "\177F\026\036\026F\177"
.asciz "\177F\026\036\026\006\017"
.asciz "<f\003\003sf|"
.asciz "333?333"
.asciz "\036\f\f\f\f\f\036"
.asciz "x00033\036"
.asciz "gf6\0366fg"
.asciz "\017\006\006\006Ff\177"
.asciz "cw\177\177kcc"
.asciz "cgo{scc"
.asciz "\0346ccc6\034"
.asciz "?ff>\006\006\017"
.asciz "\036333;\0368"
.asciz "?ff>6fg"
.asciz "\0363\007\01683\036"
.asciz "?-\f\f\f\f\036"
.asciz "333333?"
.asciz "33333\036\f"
.asciz "ccck\177wc"
.asciz "cc6\034\0346c"
.asciz "333\036\f\f\036"
.asciz "\177c1\030Lf\177"
.asciz "\036\006\006\006\006\006\036"
.asciz "\003\006\f\0300`@"
.asciz "\036\030\030\030\030\030\036"
.asciz "\b\0346c\000\000\000"
.ascii "\000\000\000\000\000\000\000\377"
.asciz "\f\f\030\000\000\000\000"
.asciz "\000\000\0360>3n"
.asciz "\007\006\006>ff;"
.asciz "\000\000\0363\0033\036"
.asciz "800>33n"
.asciz "\000\000\0363?\003\036"
.asciz "\0346\006\017\006\006\017"
.ascii "\000\000n33>0\037"
.asciz "\007\0066nffg"
.asciz "\f\000\016\f\f\f\036"
.ascii "0\00000033\036"
.asciz "\007\006f6\0366g"
.asciz "\016\f\f\f\f\f\036"
.asciz "\000\0003\177\177kc"
.asciz "\000\000\0373333"
.asciz "\000\000\036333\036"
.ascii "\000\000;ff>\006\017"
.ascii "\000\000n33>0x"
.asciz "\000\000;nf\006\017"
.asciz "\000\000>\003\0360\037"
.asciz "\b\f>\f\f,\030"
.asciz "\000\0003333n"
.asciz "\000\000333\036\f"
.asciz "\000\000ck\177\1776"
.asciz "\000\000c6\0346c"
.ascii "\000\000333>0\037"
.asciz "\000\000?\031\f&?"
.asciz "8\f\f\007\f\f8"
.asciz "\030\030\030\000\030\030\030"
.asciz "\007\f\f8\f\f\007"
.asciz "n;\000\000\000\000\000"
.space 8
.subsections_via_symbols
|
the_stack_data/154827141.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convertWord ; -- Begin function convertWord
.p2align 2
_convertWord: ; @convertWord
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_8
LBB0_2:
ldur w8, [x29, #-4]
subs w8, w8, #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 _printf
b LBB0_7
LBB0_4:
ldur w8, [x29, #-4]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
b LBB0_8
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _determineWinner ; -- Begin function determineWinner
.p2align 2
_determineWinner: ; @determineWinner
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
bl _rand
mov w9, #3
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
str w8, [sp, #20]
ldr w0, [sp, #20]
bl _convertWord
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_16
LBB1_2:
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_3
LBB1_3:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
ldr x8, [sp, #24]
ldr w8, [x8]
add w8, w8, #1
ldr x9, [sp, #24]
str w8, [x9]
b LBB1_15
LBB1_5:
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
ldur x8, [x29, #-16]
ldr w8, [x8]
add w8, w8, #1
ldur x9, [x29, #-16]
str w8, [x9]
b LBB1_14
LBB1_8:
ldr w8, [sp, #20]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
ldr x8, [sp, #24]
ldr w8, [x8]
add w8, w8, #1
ldr x9, [sp, #24]
str w8, [x9]
b LBB1_13
LBB1_10:
ldur w8, [x29, #-8]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
ldur x8, [x29, #-16]
ldr w8, [x8]
add w8, w8, #1
ldur x9, [x29, #-16]
str w8, [x9]
b LBB1_12
LBB1_12:
b LBB1_13
LBB1_13:
b LBB1_14
LBB1_14:
b LBB1_15
LBB1_15:
b LBB1_16
LBB1_16:
ldr x8, [sp, #24]
ldr w8, [x8]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-16]
ldr w9, [x8]
; 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 w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _convertChoiceToNum ; -- Begin function convertChoiceToNum
.p2align 2
_convertChoiceToNum: ; @convertChoiceToNum
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #114
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
str wzr, [sp, #12]
b LBB2_8
LBB2_2:
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
mov w8, #1
str w8, [sp, #12]
b LBB2_8
LBB2_4:
ldr x8, [sp]
ldrsb w8, [x8]
subs w8, w8, #112
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
mov w8, #2
str w8, [sp, #12]
b LBB2_8
LBB2_6:
b LBB2_7
LBB2_7:
b LBB2_8
LBB2_8:
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, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-24]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
sub x8, x29, #28
str x8, [sp, #24] ; 8-byte Folded Spill
stur wzr, [x29, #-28]
stur wzr, [x29, #-36]
str wzr, [sp, #40]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
str wzr, [sp, #36]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #18
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _convertChoiceToNum
str w0, [sp, #32]
ldr w0, [sp, #32]
sub x1, x29, #36
add x2, sp, #40
bl _determineWinner
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB3_1
LBB3_4:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
ldr w8, [sp, #40]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-36]
; 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
b LBB3_6
LBB3_6:
ldur w8, [x29, #-36]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB3_12
LBB3_8:
ldur w8, [x29, #-36]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB3_11
LBB3_10:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB3_11
LBB3_11:
b LBB3_12
LBB3_12:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13:
bl ___stack_chk_fail
LBB3_14:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AI chose rock\n"
l_.str.1: ; @.str.1
.asciz "AI chose scissors\n"
l_.str.2: ; @.str.2
.asciz "AI chose paper\n"
l_.str.3: ; @.str.3
.asciz "It is a tie\n"
l_.str.4: ; @.str.4
.asciz "AI score: %d, Player score: %d\n"
l_.str.5: ; @.str.5
.asciz "Welcome to Rock, Paper, Scissors!\nHow many rounds do you want to play?\n"
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "Which do you choose? rock, paper, or scissors? "
l_.str.8: ; @.str.8
.asciz "%s"
l_.str.9: ; @.str.9
.asciz "Player wins!\n"
l_.str.10: ; @.str.10
.asciz "AI wins\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convertWord ## -- Begin function convertWord
.p2align 4, 0x90
_convertWord: ## @convertWord
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_2:
cmpl $1, -4(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_4:
cmpl $2, -4(%rbp)
jne LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
jmp LBB0_7
LBB0_7:
jmp LBB0_8
LBB0_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _determineWinner ## -- Begin function determineWinner
.p2align 4, 0x90
_determineWinner: ## @determineWinner
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
callq _rand
movl $3, %ecx
cltd
idivl %ecx
movl %edx, -28(%rbp)
movl -28(%rbp), %edi
callq _convertWord
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jne LBB1_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_16
LBB1_2:
cmpl $2, -28(%rbp)
jne LBB1_5
## %bb.3:
cmpl $0, -8(%rbp)
jne LBB1_5
## %bb.4:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
jmp LBB1_15
LBB1_5:
cmpl $2, -8(%rbp)
jne LBB1_8
## %bb.6:
cmpl $0, -28(%rbp)
jne LBB1_8
## %bb.7:
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
jmp LBB1_14
LBB1_8:
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_10
## %bb.9:
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
jmp LBB1_13
LBB1_10:
movl -8(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB1_12
## %bb.11:
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
LBB1_12:
jmp LBB1_13
LBB1_13:
jmp LBB1_14
LBB1_14:
jmp LBB1_15
LBB1_15:
jmp LBB1_16
LBB1_16:
movq -24(%rbp), %rax
movl (%rax), %esi
movq -16(%rbp), %rax
movl (%rax), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _convertChoiceToNum ## -- Begin function convertChoiceToNum
.p2align 4, 0x90
_convertChoiceToNum: ## @convertChoiceToNum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $114, %eax
jne LBB2_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB2_8
LBB2_2:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $115, %eax
jne LBB2_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB2_8
LBB2_4:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $112, %eax
jne LBB2_6
## %bb.5:
movl $2, -4(%rbp)
jmp LBB2_8
LBB2_6:
jmp LBB2_7
LBB2_7:
jmp LBB2_8
LBB2_8:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -28(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
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
movl $0, -44(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq -18(%rbp), %rsi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _scanf
leaq -18(%rbp), %rdi
callq _convertChoiceToNum
movl %eax, -48(%rbp)
movl -48(%rbp), %edi
leaq -36(%rbp), %rsi
leaq -40(%rbp), %rdx
callq _determineWinner
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB3_1
LBB3_4:
cmpl $0, -28(%rbp)
jne LBB3_6
## %bb.5:
movl -40(%rbp), %esi
movl -36(%rbp), %edx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB3_6:
movl -36(%rbp), %eax
cmpl -40(%rbp), %eax
jle LBB3_8
## %bb.7:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_12
LBB3_8:
movl -36(%rbp), %eax
cmpl -40(%rbp), %eax
jne LBB3_10
## %bb.9:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_11
LBB3_10:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB3_11:
jmp LBB3_12
LBB3_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_14
## %bb.13:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB3_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AI chose rock\n"
L_.str.1: ## @.str.1
.asciz "AI chose scissors\n"
L_.str.2: ## @.str.2
.asciz "AI chose paper\n"
L_.str.3: ## @.str.3
.asciz "It is a tie\n"
L_.str.4: ## @.str.4
.asciz "AI score: %d, Player score: %d\n"
L_.str.5: ## @.str.5
.asciz "Welcome to Rock, Paper, Scissors!\nHow many rounds do you want to play?\n"
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "Which do you choose? rock, paper, or scissors? "
L_.str.8: ## @.str.8
.asciz "%s"
L_.str.9: ## @.str.9
.asciz "Player wins!\n"
L_.str.10: ## @.str.10
.asciz "AI wins\n"
.subsections_via_symbols
|
the_stack_data/211081768.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]
movi d0, #0000000000000000
str s0, [sp, #40]
str s0, [sp, #32]
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w10, w8, #1
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
ldrsw x9, [sp, #28]
add x8, sp, #48
str x8, [sp, #16] ; 8-byte Folded Spill
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
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr s0, [sp, #40]
ldrsw x9, [sp, #28]
ldr s1, [x8, x9, lsl #2]
fadd s0, s0, s1
str s0, [sp, #40]
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:
ldr s0, [sp, #40]
fmov s1, #10.00000000
fdiv s0, s0, s1
str s0, [sp, #36]
str wzr, [sp, #28]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #48
ldr s0, [x8, x9, lsl #2]
ldr s1, [sp, #36]
fcmp s0, s1
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr s0, [sp, #32]
fmov s1, #1.00000000
fadd s0, s0, s1
str s0, [sp, #32]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_5
LBB0_10:
ldr s0, [sp, #36]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr s0, [sp, #32]
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 x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
bl ___stack_chk_fail
LBB0_12:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite a nota do %d aluno: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "\nM\303\251dia = %.1f"
l_.str.3: ; @.str.3
.asciz "\nTotal de alunos acima da m\303\251dia:%.1f"
.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 0x41200000 ## float 10
LCPI0_1:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -56(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -64(%rbp)
movl $0, -68(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -68(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %esi
addl $1, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movslq -68(%rbp), %rax
leaq -48(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movslq -68(%rbp), %rax
addss -48(%rbp,%rax,4), %xmm0
movss %xmm0, -56(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_1
LBB0_4:
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -60(%rbp)
movl $0, -68(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl $10, -68(%rbp)
jge LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -68(%rbp), %rax
movss -48(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -60(%rbp), %xmm0
jb LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -64(%rbp), %xmm0
movss %xmm0, -64(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_5
LBB0_10:
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite a nota do %d aluno: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "\nM\303\251dia = %.1f"
L_.str.3: ## @.str.3
.asciz "\nTotal de alunos acima da m\303\251dia:%.1f"
.subsections_via_symbols
|
the_stack_data/64199177.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, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur w0, [x29, #-4]
stur x1, [x29, #-16]
bl _initscr
bl _has_colors
ands w8, w0, #0x1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _endwin
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_2:
bl _start_color
mov w1, #1
mov x0, x1
mov w2, #0
bl _init_pair
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
mov w1, #256
str w1, [sp, #4] ; 4-byte Folded Spill
mov x2, #0
str x2, [sp, #8] ; 8-byte Folded Spill
bl _wattr_on
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _LINES@GOTPAGE
ldr x8, [x8, _LINES@GOTPAGEOFF]
ldr w8, [x8]
mov w9, #2
sdiv w1, w8, w9
mov w3, #0
str w3, [sp, #20] ; 4-byte Folded Spill
mov x2, x3
adrp x4, l_.str.1@PAGE
add x4, x4, l_.str.1@PAGEOFF
bl _print_in_middle
ldr w1, [sp, #4] ; 4-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wattr_off
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wgetch
bl _endwin
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _print_in_middle ; -- Begin function print_in_middle
.p2align 2
_print_in_middle: ; @print_in_middle
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur w3, [x29, #-20]
str x4, [sp, #32]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB1_2
LBB1_2:
ldur x0, [x29, #-8]
bl _getcury
str w0, [sp, #20]
ldur x0, [x29, #-8]
bl _getcurx
str w0, [sp, #24]
ldur w8, [x29, #-16]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldur w8, [x29, #-16]
str w8, [sp, #24]
b LBB1_4
LBB1_4:
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
ldur w8, [x29, #-12]
str w8, [sp, #20]
b LBB1_6
LBB1_6:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
mov w8, #80
stur w8, [x29, #-20]
b LBB1_8
LBB1_8:
ldr x0, [sp, #32]
bl _strlen
mov x8, x0
str w8, [sp, #28]
ldur w8, [x29, #-20]
ldr w9, [sp, #28]
subs w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
scvtf s0, w8
str s0, [sp, #16]
ldur w8, [x29, #-16]
ldr s0, [sp, #16]
fcvtzs w9, s0
add w8, w8, w9
str w8, [sp, #24]
ldur x0, [x29, #-8]
ldr w1, [sp, #20]
ldr w2, [sp, #24]
ldr x8, [sp, #32]
mov x9, sp
str x8, [x9]
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl _mvwprintw
adrp x8, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
ldr x0, [x8]
bl _wrefresh
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 "Your terminal does not support color\n"
l_.str.1: ; @.str.1
.asciz "Viola !!! In color ..."
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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
callq _initscr
callq _has_colors
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_2
## %bb.1:
callq _endwin
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_2:
callq _start_color
movl $1, %esi
xorl %edx, %edx
movl %esi, %edi
callq _init_pair
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl $256, %esi ## imm = 0x100
xorl %eax, %eax
movl %eax, %edx
callq _wattr_on
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _LINES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %esi
xorl %ecx, %ecx
leaq L_.str.1(%rip), %r8
movl %ecx, %edx
callq _print_in_middle
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl $256, %esi ## imm = 0x100
xorl %eax, %eax
movl %eax, %edx
callq _wattr_off
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
callq _endwin
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_in_middle ## -- Begin function print_in_middle
.p2align 4, 0x90
_print_in_middle: ## @print_in_middle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movq %r8, -32(%rbp)
cmpq $0, -8(%rbp)
jne LBB1_2
## %bb.1:
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB1_2:
movq -8(%rbp), %rdi
callq _getcury
movl %eax, -44(%rbp)
movq -8(%rbp), %rdi
callq _getcurx
movl %eax, -40(%rbp)
cmpl $0, -16(%rbp)
je LBB1_4
## %bb.3:
movl -16(%rbp), %eax
movl %eax, -40(%rbp)
LBB1_4:
cmpl $0, -12(%rbp)
je LBB1_6
## %bb.5:
movl -12(%rbp), %eax
movl %eax, -44(%rbp)
LBB1_6:
cmpl $0, -20(%rbp)
jne LBB1_8
## %bb.7:
movl $80, -20(%rbp)
LBB1_8:
movq -32(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -36(%rbp)
movl -20(%rbp), %eax
subl -36(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cvtsi2ss %eax, %xmm0
movss %xmm0, -48(%rbp)
movl -16(%rbp), %eax
cvttss2si -48(%rbp), %ecx
addl %ecx, %eax
movl %eax, -40(%rbp)
movq -8(%rbp), %rdi
movl -44(%rbp), %esi
movl -40(%rbp), %edx
movq -32(%rbp), %r8
leaq L_.str.2(%rip), %rcx
movb $0, %al
callq _mvwprintw
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wrefresh
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Your terminal does not support color\n"
L_.str.1: ## @.str.1
.asciz "Viola !!! In color ..."
L_.str.2: ## @.str.2
.asciz "%s"
.subsections_via_symbols
|
the_stack_data/111514.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]
sub x8, x29, #12
str x8, [x9, #8]
sub x8, x29, #16
str x8, [x9, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fmul s0, s0, s1
ldur s1, [x29, #-16]
fmul s0, s0, s1
mov w8, #1120403456
fmov s1, w8
fdiv s0, s0, s1
stur s0, [x29, #-20]
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d0, [x8]
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 "Enter Principal Amount, Rate of interest and Time Respectively\n"
l_.str.1: ; @.str.1
.asciz "%f%f%f"
l_.str.2: ; @.str.2
.asciz "Simple Interest is :%f"
.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 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
leaq -16(%rbp), %rcx
movb $0, %al
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
mulss -16(%rbp), %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter Principal Amount, Rate of interest and Time Respectively\n"
L_.str.1: ## @.str.1
.asciz "%f%f%f"
L_.str.2: ## @.str.2
.asciz "Simple Interest is :%f"
.subsections_via_symbols
|
the_stack_data/76699308.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, #12952
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]
add w8, w8, #2885
strh w8, [sp, #14]
strh wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrh w8, [sp, #12]
; kill: def $x8 killed $w8
subs x8, x8, #1
cset w8, hs
tbnz w8, #0, LBB2_7
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #14]
ldrh w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #14]
ldrh w9, [sp, #12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #12]
mov x9, x8
add x8, sp, #14
ldrh w10, [x8, x9, lsl #1]
ldrh w9, [sp, #12]
; kill: def $x9 killed $w9
add x9, x8, x9, lsl #1
ldrh w8, [x9]
add w8, w8, w10
strh w8, [x9]
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldrh w8, [sp, #12]
; kill: def $x8 killed $w8
add x8, x8, #2
; kill: def $w8 killed $w8 killed $x8
strh w8, [sp, #12]
b LBB2_1
LBB2_7:
ldrh w8, [sp, #14]
mov w9, #37300
mul w8, w8, w9
ldr x9, [sp, #16]
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 $12952, %eax ## imm = 0x3298
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
addl $2885, %eax ## imm = 0xB45
## kill: def $ax killed $ax killed $eax
movw %ax, -18(%rbp)
movw $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movzwl -20(%rbp), %eax
## kill: def $rax killed $eax
cmpq $1, %rax
jae LBB2_7
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movzwl -18(%rbp), %eax
movzwl -20(%rbp), %ecx
cmpl %ecx, %eax
jle LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_4
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movzwl -18(%rbp), %eax
movzwl -20(%rbp), %ecx
cmpl %ecx, %eax
jne LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movzwl -20(%rbp), %eax
## kill: def $rax killed $eax
movzwl -18(%rbp,%rax,2), %edx
movzwl -20(%rbp), %eax
## kill: def $rax killed $eax
movzwl -18(%rbp,%rax,2), %ecx
addl %edx, %ecx
## kill: def $cx killed $cx killed $ecx
movw %cx, -18(%rbp,%rax,2)
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movzwl -20(%rbp), %eax
## kill: def $rax killed $eax
addq $2, %rax
## kill: def $ax killed $ax killed $rax
movw %ax, -20(%rbp)
jmp LBB2_1
LBB2_7:
movzwl -18(%rbp), %eax
imull $37300, %eax, %eax ## imm = 0x91B4
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/25136655.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@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, #3
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, #3
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldrsw x8, [sp, #20]
mov x9, #12
mul x9, x8, x9
sub x8, x29, #44
add x8, x8, x9
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_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
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:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #16]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldrsw x8, [sp, #20]
mov x9, #12
mul x9, x8, x9
add x8, sp, #64
add x8, x8, x9
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_9
LBB0_16:
str wzr, [sp, #20]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #16]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldrsw x8, [sp, #20]
mov x10, #12
mul x9, x8, x10
sub x8, x29, #44
add x8, x8, x9
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldrsw x9, [sp, #20]
mul x11, x9, x10
add x9, sp, #64
add x9, x9, x11
ldrsw x11, [sp, #16]
ldr w9, [x9, x11, lsl #2]
add w8, w8, w9
ldrsw x9, [sp, #20]
mul x10, x9, x10
add x9, sp, #28
add x9, x9, x10
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_17
LBB0_24:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB0_25
LBB0_25: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
str wzr, [sp, #16]
b LBB0_27
LBB0_27: ; Parent Loop BB0_25 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=2
ldrsw x8, [sp, #20]
mov x9, #12
mul x9, x8, x9
add x8, sp, #28
add x8, x8, x9
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_29
LBB0_29: ; in Loop: Header=BB0_27 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_27
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_25 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_25
LBB0_32:
ldr w8, [sp, #24]
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_34
b LBB0_33
LBB0_33:
bl ___stack_chk_fail
LBB0_34:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the elements of the first matrix\n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter the elements of the second matrix\n"
l_.str.3: ; @.str.3
.asciz "The sum of the two matrices is:\n"
l_.str.4: ; @.str.4
.asciz "%d\t"
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 $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -148(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -152(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $3, -152(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -156(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -156(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq -152(%rbp), %rax
leaq -48(%rbp), %rsi
imulq $12, %rax, %rax
addq %rax, %rsi
movslq -156(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%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 -152(%rbp), %eax
addl $1, %eax
movl %eax, -152(%rbp)
jmp LBB0_1
LBB0_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -152(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $3, -152(%rbp)
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -156(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -156(%rbp)
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movslq -152(%rbp), %rax
leaq -96(%rbp), %rsi
imulq $12, %rax, %rax
addq %rax, %rsi
movslq -156(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%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 -152(%rbp), %eax
addl $1, %eax
movl %eax, -152(%rbp)
jmp LBB0_9
LBB0_16:
movl $0, -152(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
cmpl $3, -152(%rbp)
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -156(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -156(%rbp)
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
leaq -48(%rbp), %rax
movslq -152(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -156(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq -96(%rbp), %rax
movslq -152(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -156(%rbp), %rcx
addl (%rax,%rcx,4), %edx
leaq -144(%rbp), %rax
movslq -152(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -156(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
movl -152(%rbp), %eax
addl $1, %eax
movl %eax, -152(%rbp)
jmp LBB0_17
LBB0_24:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -152(%rbp)
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
cmpl $3, -152(%rbp)
jge LBB0_32
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl $0, -156(%rbp)
LBB0_27: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -156(%rbp)
jge LBB0_30
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
leaq -144(%rbp), %rax
movslq -152(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -156(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.29: ## in Loop: Header=BB0_27 Depth=2
movl -156(%rbp), %eax
addl $1, %eax
movl %eax, -156(%rbp)
jmp LBB0_27
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
## %bb.31: ## in Loop: Header=BB0_25 Depth=1
movl -152(%rbp), %eax
addl $1, %eax
movl %eax, -152(%rbp)
jmp LBB0_25
LBB0_32:
movl -148(%rbp), %eax
movl %eax, -160(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_34
## %bb.33:
movl -160(%rbp), %eax ## 4-byte Reload
addq $160, %rsp
popq %rbp
retq
LBB0_34:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the elements of the first matrix\n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter the elements of the second matrix\n"
L_.str.3: ## @.str.3
.asciz "The sum of the two matrices is:\n"
L_.str.4: ## @.str.4
.asciz "%d\t"
L_.str.5: ## @.str.5
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/70450984.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 x9, sp
sub x8, x29, #59
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
ldrsb w8, [x8, x9]
subs w8, w8, #101
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
ldrsb w8, [x8, x9]
subs w8, w8, #105
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
ldrsb w8, [x8, x9]
subs w8, w8, #111
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
ldrsb w8, [x8, x9]
subs w8, w8, #117
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
add x8, sp, #18
add x9, x8, x9
mov w8, #42
strb w8, [x9]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #8]
sub x8, x29, #59
add x8, x8, x9
ldrb w8, [x8]
ldrsw x10, [sp, #8]
add x9, sp, #18
add x9, x9, x10
strb w8, [x9]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_11:
ldrsw x10, [sp, #8]
add x8, sp, #18
mov x9, x8
add x9, x9, x10
strb wzr, [x9]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%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 $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -132(%rbp)
leaq -64(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
movl $0, -136(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -136(%rbp), %rax
movsbl -64(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movsbl -64(%rbp,%rax), %eax
cmpl $97, %eax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movsbl -64(%rbp,%rax), %eax
cmpl $101, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movsbl -64(%rbp,%rax), %eax
cmpl $105, %eax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movsbl -64(%rbp,%rax), %eax
cmpl $111, %eax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movsbl -64(%rbp,%rax), %eax
cmpl $117, %eax
jne LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movb $42, -128(%rbp,%rax)
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movslq -136(%rbp), %rax
movb -64(%rbp,%rax), %cl
movslq -136(%rbp), %rax
movb %cl, -128(%rbp,%rax)
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl -136(%rbp), %eax
addl $1, %eax
movl %eax, -136(%rbp)
jmp LBB0_1
LBB0_11:
movslq -136(%rbp), %rax
movb $0, -128(%rbp,%rax)
leaq -128(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
|
the_stack_data/132522.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
.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
.subsections_via_symbols
|
the_stack_data/357686.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #96]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #28
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #80] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov x9, #4
str x9, [sp, #64] ; 8-byte Folded Spill
add x8, x8, #4
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #8
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #12
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #16
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
str x0, [sp, #88] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _printf
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #48
str x8, [sp, #40] ; 8-byte Folded Spill
str x8, [x9]
bl _scanf
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #4
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #8
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #12
mov x9, sp
str x8, [x9]
bl _scanf
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x8, x8, #16
mov x9, sp
str x8, [x9]
bl _scanf
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-48]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _printf
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _printf
ldur w0, [x29, #-28]
ldur w1, [x29, #-48]
sub x2, x29, #92
str x2, [sp, #48] ; 8-byte Folded Spill
sub x3, x29, #68
str x3, [sp, #56] ; 8-byte Folded Spill
bl _HA
ldur w8, [x29, #-92]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-68]
; implicit-def: $x8
mov x8, 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 x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur w0, [x29, #-24]
ldur w1, [x29, #-44]
ldur w2, [x29, #-68]
add x3, x9, #4
add x4, x8, #4
bl _FA
ldur w8, [x29, #-88]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-64]
; implicit-def: $x8
mov x8, x9
mov x9, sp
mov x10, #1
str x10, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
str x0, [sp, #72] ; 8-byte Folded Spill
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur w0, [x29, #-20]
ldur w1, [x29, #-40]
ldur w2, [x29, #-64]
add x3, x9, #8
add x4, x8, #8
bl _FA
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldur w8, [x29, #-84]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
mov x10, #2
str x10, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur w0, [x29, #-16]
ldur w1, [x29, #-36]
ldur w2, [x29, #-60]
add x3, x9, #12
add x4, x8, #12
bl _FA
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldur w8, [x29, #-80]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-56]
; implicit-def: $x8
mov x8, x9
mov x9, sp
mov x10, #3
str x10, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
bl _printf
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur w0, [x29, #-12]
ldur w1, [x29, #-32]
ldur w2, [x29, #-56]
add x3, x9, #16
add x4, x8, #16
bl _FA
ldr x10, [sp, #64] ; 8-byte Folded Reload
ldr x0, [sp, #72] ; 8-byte Folded Reload
ldur w8, [x29, #-76]
; implicit-def: $x11
mov x11, x8
ldur w9, [x29, #-52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x11, [x9, #8]
str x10, [x9, #16]
str x8, [x9, #24]
bl _printf
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-76]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-80]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-84]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-88]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
ldur w9, [x29, #-92]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #88] ; 8-byte Folded Reload
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, #192] ; 16-byte Folded Reload
add sp, sp, #208
ret
.cfi_endproc
; -- End function
.globl _HA ; -- Begin function HA
.p2align 2
_HA: ; @HA
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
str x3, [sp, #24]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _or
str w0, [sp, #20]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
bl _and
str w0, [sp, #16]
ldr w0, [sp, #16]
bl _not
str w0, [sp, #12]
ldr w0, [sp, #20]
ldr w1, [sp, #12]
bl _and
str w0, [sp, #8]
ldr w8, [sp, #8]
ldur x9, [x29, #-16]
str w8, [x9]
ldr w8, [sp, #16]
ldr x9, [sp, #24]
str w8, [x9]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _FA ; -- Begin function FA
.p2align 2
_FA: ; @FA
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur w2, [x29, #-12]
stur x3, [x29, #-24]
str x4, [sp, #32]
ldur w0, [x29, #-4]
ldur w1, [x29, #-8]
add x2, sp, #28
add x3, sp, #24
bl _HA
ldr w0, [sp, #28]
ldur w1, [x29, #-12]
add x2, sp, #20
add x3, sp, #16
bl _HA
ldr w0, [sp, #24]
ldr w1, [sp, #16]
bl _or
str w0, [sp, #12]
ldr w8, [sp, #20]
ldur x9, [x29, #-24]
str w8, [x9]
ldr w8, [sp, #12]
ldr x9, [sp, #32]
str w8, [x9]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _and ; -- Begin function and
.p2align 2
_and: ; @and
.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]
and w8, w8, w9
str w8, [sp, #4]
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _or ; -- Begin function or
.p2align 2
_or: ; @or
.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]
orr w8, w8, w9
str w8, [sp, #4]
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _not ; -- Begin function not
.p2align 2
_not: ; @not
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w8, #1
str w8, [sp, #12]
b LBB5_3
LBB5_2:
str wzr, [sp, #12]
b LBB5_3
LBB5_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "a[0]="
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "a[1]="
l_.str.3: ; @.str.3
.asciz "a[2]="
l_.str.4: ; @.str.4
.asciz "a[3]="
l_.str.5: ; @.str.5
.asciz "a[4]="
l_.str.6: ; @.str.6
.asciz "\n"
l_.str.7: ; @.str.7
.asciz "A = "
l_.str.8: ; @.str.8
.asciz "b[0]="
l_.str.9: ; @.str.9
.asciz "b[1]="
l_.str.10: ; @.str.10
.asciz "b[2]="
l_.str.11: ; @.str.11
.asciz "b[3]="
l_.str.12: ; @.str.12
.asciz "b[4]="
l_.str.13: ; @.str.13
.asciz "B = "
l_.str.14: ; @.str.14
.asciz "HA : s0 = %d , c0 = %d\n"
l_.str.15: ; @.str.15
.asciz "FA : s%d = %d , c%d = %d\n"
l_.str.16: ; @.str.16
.asciz "\nA+B = "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -132(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
addq $4, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
addq $8, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
addq $12, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rsi
addq $16, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -28(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rsi
addq $4, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rsi
addq $8, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rsi
addq $12, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rsi
addq $16, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movl -48(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -52(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -56(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -60(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -64(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %edi
movl -64(%rbp), %esi
leaq -128(%rbp), %rdx
leaq -96(%rbp), %rcx
callq _HA
movl -128(%rbp), %esi
movl -96(%rbp), %edx
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movl -28(%rbp), %edi
movl -60(%rbp), %esi
movl -96(%rbp), %edx
leaq -128(%rbp), %rcx
addq $4, %rcx
leaq -96(%rbp), %r8
addq $4, %r8
callq _FA
movl -124(%rbp), %edx
movl -92(%rbp), %r8d
leaq L_.str.15(%rip), %rdi
movl $1, %ecx
movl %ecx, %esi
movb $0, %al
callq _printf
movl -24(%rbp), %edi
movl -56(%rbp), %esi
movl -92(%rbp), %edx
leaq -128(%rbp), %rcx
addq $8, %rcx
leaq -96(%rbp), %r8
addq $8, %r8
callq _FA
movl -120(%rbp), %edx
movl -88(%rbp), %r8d
leaq L_.str.15(%rip), %rdi
movl $2, %ecx
movl %ecx, %esi
movb $0, %al
callq _printf
movl -20(%rbp), %edi
movl -52(%rbp), %esi
movl -88(%rbp), %edx
leaq -128(%rbp), %rcx
addq $12, %rcx
leaq -96(%rbp), %r8
addq $12, %r8
callq _FA
movl -116(%rbp), %edx
movl -84(%rbp), %r8d
leaq L_.str.15(%rip), %rdi
movl $3, %ecx
movl %ecx, %esi
movb $0, %al
callq _printf
movl -16(%rbp), %edi
movl -48(%rbp), %esi
movl -84(%rbp), %edx
leaq -128(%rbp), %rcx
addq $16, %rcx
leaq -96(%rbp), %r8
addq $16, %r8
callq _FA
movl -112(%rbp), %edx
movl -80(%rbp), %r8d
leaq L_.str.15(%rip), %rdi
movl $4, %ecx
movl %ecx, %esi
movb $0, %al
callq _printf
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movl -112(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -116(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -120(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -124(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -128(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%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 $144, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _HA ## -- Begin function HA
.p2align 4, 0x90
_HA: ## @HA
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movq %rcx, -24(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _or
movl %eax, -28(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
callq _and
movl %eax, -32(%rbp)
movl -32(%rbp), %edi
callq _not
movl %eax, -36(%rbp)
movl -28(%rbp), %edi
movl -36(%rbp), %esi
callq _and
movl %eax, -40(%rbp)
movl -40(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movl -32(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FA ## -- Begin function FA
.p2align 4, 0x90
_FA: ## @FA
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movq %rcx, -24(%rbp)
movq %r8, -32(%rbp)
movl -4(%rbp), %edi
movl -8(%rbp), %esi
leaq -36(%rbp), %rdx
leaq -40(%rbp), %rcx
callq _HA
movl -36(%rbp), %edi
movl -12(%rbp), %esi
leaq -44(%rbp), %rdx
leaq -48(%rbp), %rcx
callq _HA
movl -40(%rbp), %edi
movl -48(%rbp), %esi
callq _or
movl %eax, -52(%rbp)
movl -44(%rbp), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movl -52(%rbp), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _and ## -- Begin function and
.p2align 4, 0x90
_and: ## @and
.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
andl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _or ## -- Begin function or
.p2align 4, 0x90
_or: ## @or
.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
orl -8(%rbp), %eax
movl %eax, -12(%rbp)
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _not ## -- Begin function not
.p2align 4, 0x90
_not: ## @not
.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)
cmpl $0, -4(%rbp)
jne LBB5_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB5_3
LBB5_2:
movl $0, -4(%rbp)
LBB5_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "a[0]="
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "a[1]="
L_.str.3: ## @.str.3
.asciz "a[2]="
L_.str.4: ## @.str.4
.asciz "a[3]="
L_.str.5: ## @.str.5
.asciz "a[4]="
L_.str.6: ## @.str.6
.asciz "\n"
L_.str.7: ## @.str.7
.asciz "A = "
L_.str.8: ## @.str.8
.asciz "b[0]="
L_.str.9: ## @.str.9
.asciz "b[1]="
L_.str.10: ## @.str.10
.asciz "b[2]="
L_.str.11: ## @.str.11
.asciz "b[3]="
L_.str.12: ## @.str.12
.asciz "b[4]="
L_.str.13: ## @.str.13
.asciz "B = "
L_.str.14: ## @.str.14
.asciz "HA : s0 = %d , c0 = %d\n"
L_.str.15: ## @.str.15
.asciz "FA : s%d = %d , c%d = %d\n"
L_.str.16: ## @.str.16
.asciz "\nA+B = "
.subsections_via_symbols
|
the_stack_data/103296.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #14
stur w8, [x29, #-8]
mov w8, #23
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
and w8, w8, w9
stur w8, [x29, #-16]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
orr w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
eor w8, w8, w9
stur w8, [x29, #-24]
ldur w8, [x29, #-8]
asr w8, w8, #1
stur w8, [x29, #-28]
ldur w8, [x29, #-8]
asr w8, w8, #2
stur w8, [x29, #-32]
ldur w8, [x29, #-8]
asr w8, w8, #3
stur w8, [x29, #-36]
ldur w8, [x29, #-8]
lsl w8, w8, #1
str w8, [sp, #40]
ldur w8, [x29, #-8]
lsl w8, w8, #2
str w8, [sp, #36]
mov w8, #-64
str w8, [sp, #32]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #16] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldur w9, [x29, #-36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
bl _printf
mov w8, #32768
str w8, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ls
tbnz w8, #0, LBB0_7
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
ldur w9, [x29, #-8]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
lsr w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d \n\n"
l_.str.1: ; @.str.1
.asciz "1"
l_.str.2: ; @.str.2
.asciz "0"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl $14, -8(%rbp)
movl $23, -12(%rbp)
movl -8(%rbp), %eax
andl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -8(%rbp), %eax
orl -12(%rbp), %eax
movl %eax, -20(%rbp)
movl -8(%rbp), %eax
xorl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -8(%rbp), %eax
sarl $1, %eax
movl %eax, -28(%rbp)
movl -8(%rbp), %eax
sarl $2, %eax
movl %eax, -32(%rbp)
movl -8(%rbp), %eax
sarl $3, %eax
movl %eax, -36(%rbp)
movl -8(%rbp), %eax
shll $1, %eax
movl %eax, -40(%rbp)
movl -8(%rbp), %eax
shll $2, %eax
movl %eax, -44(%rbp)
movl $-64, -48(%rbp)
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -28(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -32(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -36(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -40(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -44(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -48(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $32768, -52(%rbp) ## imm = 0x8000
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -52(%rbp)
jbe LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
andl -8(%rbp), %eax
cmpl $0, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_6
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
shrl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_1
LBB0_7:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d \n\n"
L_.str.1: ## @.str.1
.asciz "1"
L_.str.2: ## @.str.2
.asciz "0"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
|
the_stack_data/154831898.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
add w0, w8, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #5
str w8, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w0, [sp, #8]
bl _f
add w8, w0, #1
str w8, [sp, #8]
b LBB1_1
LBB1_3:
ldr w0, [sp, #8]
bl _PRINT
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
addl $1, %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 $5, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -8(%rbp)
jge LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %edi
callq _f
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_3:
movl -8(%rbp), %edi
callq _PRINT
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/243892802.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
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #16
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
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #20
str x8, [x9]
bl _scanf
stur wzr, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
mov w0, #42
bl _putchar
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov w0, #10
bl _putchar
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_8:
mov w0, #10
bl _putchar
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 "\350\256\251\346\210\221\344\273\254\346\235\245\347\273\230\345\210\266\344\270\200\344\270\252\351\225\277\346\226\271\345\275\242\357\274\232\n"
l_.str.1: ; @.str.1
.asciz "width :"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "height :"
.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
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -16(%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 $0, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -8(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $42, %edi
callq _putchar
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
## %bb.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 $10, %edi
callq _putchar
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\350\256\251\346\210\221\344\273\254\346\235\245\347\273\230\345\210\266\344\270\200\344\270\252\351\225\277\346\226\271\345\275\242\357\274\232\n"
L_.str.1: ## @.str.1
.asciz "width :"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "height :"
.subsections_via_symbols
|
the_stack_data/97014172.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 w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
scvtf d0, w8
fmov d1, #2.00000000
fdiv d0, d0, d1
fcvt s0, d0
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 "Enter your marks 1 : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter your marks 2 : "
l_.str.3: ; @.str.3
.asciz "Average is %.2f"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
cvtsi2sd %eax, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %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 "Enter your marks 1 : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter your marks 2 : "
L_.str.3: ## @.str.3
.asciz "Average is %.2f"
.subsections_via_symbols
|
the_stack_data/40876.c
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_offsetof_expr ; -- Begin function test_offsetof_expr
.p2align 2
_test_offsetof_expr: ; @test_offsetof_expr
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
; implicit-def: $w8
mov w8, #2
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #4] ; 4-byte Folded Reload
str w8, [sp, #12]
b LBB0_3
LBB0_2:
mov w8, #42
str w8, [sp, #12]
b LBB0_3
LBB0_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_offsetof_expr ## -- Begin function test_offsetof_expr
.p2align 4, 0x90
_test_offsetof_expr: ## @test_offsetof_expr
.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, -8(%rbp)
cmpl $2, -8(%rbp)
jne LBB0_2
## %bb.1:
## implicit-def: $eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $42, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
the_stack_data/170453005.c
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.