arm
stringlengths 122
134M
| x86
stringlengths 122
134M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sspevd_ ; -- Begin function sspevd_
.p2align 2
_sspevd_: ; @sspevd_
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x11, [x29, #16]
ldr x10, [x29, #24]
ldr x9, [x29, #32]
ldr x8, [x29, #40]
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
stur x5, [x29, #-56]
stur x6, [x29, #-64]
stur x7, [x29, #-72]
stur x11, [x29, #-80]
stur x10, [x29, #-88]
stur x9, [x29, #-96]
stur x8, [x29, #-104]
ldur x8, [x29, #-40]
subs x8, x8, #4
stur x8, [x29, #-40]
ldur x8, [x29, #-48]
subs x8, x8, #4
stur x8, [x29, #-48]
ldur x8, [x29, #-64]
ldr w8, [x8]
stur w8, [x29, #-108]
ldur w8, [x29, #-108]
mov x9, #0
lsr w8, w8, #0
add w8, w8, #1
str w8, [sp, #112]
ldrsw x10, [sp, #112]
ldur x8, [x29, #-56]
subs x9, x9, x10
add x8, x8, x9, lsl #2
stur x8, [x29, #-56]
ldur x8, [x29, #-72]
subs x8, x8, #4
stur x8, [x29, #-72]
ldur x8, [x29, #-88]
subs x8, x8, #4
stur x8, [x29, #-88]
ldur x0, [x29, #-16]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _lsame_
str w0, [sp, #72]
ldur x8, [x29, #-80]
ldr w8, [x8]
adds w8, w8, #1
cset w8, eq
mov w9, #1
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-96]
ldr w8, [x8]
adds w8, w8, #1
cset w8, eq
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB0_2
LBB0_2:
ldr w8, [sp, #28] ; 4-byte Folded Reload
and w8, w8, #0x1
str w8, [sp, #36]
ldur x8, [x29, #-104]
str wzr, [x8]
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3:
ldur x0, [x29, #-16]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur x9, [x29, #-104]
mov w8, #-1
str w8, [x9]
b LBB0_17
LBB0_5:
ldur x0, [x29, #-24]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6:
ldur x0, [x29, #-24]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _lsame_
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur x9, [x29, #-104]
mov w8, #-2
str w8, [x9]
b LBB0_16
LBB0_8:
ldur x8, [x29, #-32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x9, [x29, #-104]
mov w8, #-3
str w8, [x9]
b LBB0_15
LBB0_10:
ldur x8, [x29, #-64]
ldr w8, [x8]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11:
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12:
ldur x8, [x29, #-64]
ldr w8, [x8]
ldur x9, [x29, #-32]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
ldur x9, [x29, #-104]
mov w8, #-7
str w8, [x9]
b LBB0_14
LBB0_14:
b LBB0_15
LBB0_15:
b LBB0_16
LBB0_16:
b LBB0_17
LBB0_17:
ldur x8, [x29, #-104]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_18
LBB0_18:
ldur x8, [x29, #-32]
ldr w8, [x8]
subs w8, w8, #1
cset w8, gt
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
mov w8, #1
str w8, [sp, #48]
str w8, [sp, #76]
b LBB0_24
LBB0_20:
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
ldur x8, [x29, #-32]
ldr w8, [x8]
mov w9, #5
mul w8, w8, w9
add w8, w8, #3
str w8, [sp, #48]
ldur x8, [x29, #-32]
ldr w8, [x8]
str w8, [sp, #108]
ldur x8, [x29, #-32]
ldr w8, [x8]
mov w9, #6
mul w8, w8, w9
add w8, w8, #1
ldr w9, [sp, #108]
ldr w10, [sp, #108]
mul w9, w9, w10
add w8, w8, w9
str w8, [sp, #76]
b LBB0_23
LBB0_22:
mov w8, #1
str w8, [sp, #48]
ldur x8, [x29, #-32]
ldr w8, [x8]
lsl w8, w8, #1
str w8, [sp, #76]
b LBB0_23
LBB0_23:
b LBB0_24
LBB0_24:
ldr w8, [sp, #48]
ldur x9, [x29, #-88]
str w8, [x9, #4]
ldr s0, [sp, #76]
scvtf s0, s0
ldur x8, [x29, #-72]
str s0, [x8, #4]
ldur x8, [x29, #-80]
ldr w8, [x8]
ldr w9, [sp, #76]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_27
b LBB0_25
LBB0_25:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26:
ldur x9, [x29, #-104]
mov w8, #-9
str w8, [x9]
b LBB0_31
LBB0_27:
ldur x8, [x29, #-96]
ldr w8, [x8]
ldr w9, [sp, #48]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_30
b LBB0_29
LBB0_29:
ldur x9, [x29, #-104]
mov w8, #-11
str w8, [x9]
b LBB0_30
LBB0_30:
b LBB0_31
LBB0_31:
b LBB0_32
LBB0_32:
ldur x8, [x29, #-104]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldur x8, [x29, #-104]
ldr w9, [x8]
mov w8, #0
subs w8, w8, w9
add x1, sp, #108
str w8, [sp, #108]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
mov w2, #6
bl _xerbla_
stur wzr, [x29, #-4]
b LBB0_57
LBB0_34:
ldr w8, [sp, #36]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_36
b LBB0_35
LBB0_35:
stur wzr, [x29, #-4]
b LBB0_57
LBB0_36:
b LBB0_37
LBB0_37:
ldur x8, [x29, #-32]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
stur wzr, [x29, #-4]
b LBB0_57
LBB0_39:
ldur x8, [x29, #-32]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_43
b LBB0_40
LBB0_40:
ldur x8, [x29, #-40]
ldr s0, [x8, #4]
ldur x8, [x29, #-48]
str s0, [x8, #4]
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_42
b LBB0_41
LBB0_41:
ldur x8, [x29, #-56]
ldur w9, [x29, #-108]
add w9, w9, #1
fmov s0, #1.00000000
str s0, [x8, w9, sxtw #2]
b LBB0_42
LBB0_42:
stur wzr, [x29, #-4]
b LBB0_57
LBB0_43:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _slamch_
str s0, [sp, #64]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _slamch_
str s0, [sp, #32]
ldr s0, [sp, #64]
ldr s1, [sp, #32]
fdiv s0, s0, s1
str s0, [sp, #40]
ldr s1, [sp, #40]
fmov s0, #1.00000000
fdiv s0, s0, s1
str s0, [sp, #60]
ldr s0, [sp, #40]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #92]
ldr s0, [sp, #60]
fcvt d0, s0
fsqrt d0, d0
fcvt s0, d0
str s0, [sp, #88]
ldur x1, [x29, #-24]
ldur x2, [x29, #-32]
ldur x8, [x29, #-40]
add x3, x8, #4
ldur x8, [x29, #-72]
add x4, x8, #4
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _slansp_
str s0, [sp, #96]
str wzr, [sp, #68]
ldr s0, [sp, #96]
fcmp s0, #0.0
cset w8, le
tbnz w8, #0, LBB0_46
b LBB0_44
LBB0_44:
ldr s0, [sp, #96]
ldr s1, [sp, #92]
fcmp s0, s1
cset w8, pl
tbnz w8, #0, LBB0_46
b LBB0_45
LBB0_45:
mov w8, #1
str w8, [sp, #68]
ldr s0, [sp, #92]
ldr s1, [sp, #96]
fdiv s0, s0, s1
str s0, [sp, #84]
b LBB0_49
LBB0_46:
ldr s0, [sp, #96]
ldr s1, [sp, #88]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_48
b LBB0_47
LBB0_47:
mov w8, #1
str w8, [sp, #68]
ldr s0, [sp, #88]
ldr s1, [sp, #96]
fdiv s0, s0, s1
str s0, [sp, #84]
b LBB0_48
LBB0_48:
b LBB0_49
LBB0_49:
ldr w8, [sp, #68]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_51
b LBB0_50
LBB0_50:
ldur x8, [x29, #-32]
ldr w8, [x8]
ldur x9, [x29, #-32]
ldr w9, [x9]
add w9, w9, #1
mul w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
add x0, sp, #108
str w8, [sp, #108]
ldur x8, [x29, #-40]
add x2, x8, #4
add x1, sp, #84
adrp x3, _c__1@PAGE
add x3, x3, _c__1@PAGEOFF
bl _sscal_
b LBB0_51
LBB0_51:
mov w8, #1
str w8, [sp, #100]
ldr w8, [sp, #100]
ldur x9, [x29, #-32]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #56]
ldur x0, [x29, #-24]
ldur x1, [x29, #-32]
ldur x8, [x29, #-40]
add x2, x8, #4
ldur x8, [x29, #-48]
add x3, x8, #4
ldur x8, [x29, #-72]
ldrsw x9, [sp, #100]
add x4, x8, x9, lsl #2
ldur x8, [x29, #-72]
ldrsw x9, [sp, #56]
add x5, x8, x9, lsl #2
add x6, sp, #80
bl _ssptrd_
ldr w8, [sp, #72]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_53
b LBB0_52
LBB0_52:
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
add x1, x8, #4
ldur x8, [x29, #-72]
ldrsw x9, [sp, #100]
add x2, x8, x9, lsl #2
ldur x3, [x29, #-104]
bl _ssterf_
b LBB0_54
LBB0_53:
ldr w8, [sp, #56]
ldur x9, [x29, #-32]
ldr w9, [x9]
add w8, w8, w9
str w8, [sp, #52]
ldur x8, [x29, #-80]
ldr w8, [x8]
ldr w9, [sp, #52]
subs w8, w8, w9
add w8, w8, #1
add x7, sp, #44
str w8, [sp, #44]
ldur x1, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #4
ldur x8, [x29, #-72]
ldrsw x9, [sp, #100]
add x3, x8, x9, lsl #2
ldur x8, [x29, #-56]
ldrsw x9, [sp, #112]
add x4, x8, x9, lsl #2
ldur x5, [x29, #-64]
ldur x8, [x29, #-72]
ldrsw x9, [sp, #52]
add x6, x8, x9, lsl #2
ldur x8, [x29, #-88]
add x11, x8, #4
ldur x10, [x29, #-96]
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _sstedc_
ldur x1, [x29, #-24]
ldur x3, [x29, #-32]
ldur x4, [x29, #-32]
ldur x8, [x29, #-40]
add x5, x8, #4
ldur x8, [x29, #-72]
ldrsw x9, [sp, #56]
add x6, x8, x9, lsl #2
ldur x8, [x29, #-56]
ldrsw x9, [sp, #112]
add x7, x8, x9, lsl #2
ldur x10, [x29, #-64]
ldur x8, [x29, #-72]
ldrsw x9, [sp, #52]
add x8, x8, x9, lsl #2
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
add x8, sp, #80
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
bl _sopmtr_
b LBB0_54
LBB0_54:
ldr w8, [sp, #68]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_56
b LBB0_55
LBB0_55:
ldr s1, [sp, #84]
fmov s0, #1.00000000
fdiv s0, s0, s1
add x1, sp, #104
str s0, [sp, #104]
ldur x0, [x29, #-32]
ldur x8, [x29, #-48]
add x2, x8, #4
adrp x3, _c__1@PAGE
add x3, x3, _c__1@PAGEOFF
bl _sscal_
b LBB0_56
LBB0_56:
ldr s0, [sp, #76]
scvtf s0, s0
ldur x8, [x29, #-72]
str s0, [x8, #4]
ldr w8, [sp, #48]
ldur x9, [x29, #-88]
str w8, [x9, #4]
stur wzr, [x29, #-4]
b LBB0_57
LBB0_57:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "V"
l_.str.1: ; @.str.1
.asciz "N"
l_.str.2: ; @.str.2
.asciz "U"
l_.str.3: ; @.str.3
.asciz "L"
l_.str.4: ; @.str.4
.asciz "SSPEVD"
l_.str.5: ; @.str.5
.asciz "Safe minimum"
l_.str.6: ; @.str.6
.asciz "Precision"
l_.str.7: ; @.str.7
.asciz "M"
.section __DATA,__data
.p2align 2 ; @c__1
_c__1:
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.8: ; @.str.8
.asciz "I"
.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 sspevd_
LCPI0_0:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _sspevd_
.p2align 4, 0x90
_sspevd_: ## @sspevd_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $192, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq 56(%rbp), %rax
movq 48(%rbp), %rax
movq 40(%rbp), %rax
movq 32(%rbp), %rax
movq 24(%rbp), %rax
movq 16(%rbp), %rax
movq %rdi, -32(%rbp)
movq %rsi, -40(%rbp)
movq %rdx, -48(%rbp)
movq %rcx, -56(%rbp)
movq %r8, -64(%rbp)
movq %r9, -72(%rbp)
movq -56(%rbp), %rax
addq $-4, %rax
movq %rax, -56(%rbp)
movq -64(%rbp), %rax
addq $-4, %rax
movq %rax, -64(%rbp)
movq 16(%rbp), %rax
movl (%rax), %eax
movl %eax, -76(%rbp)
movl -76(%rbp), %eax
shll $0, %eax
addl $1, %eax
movl %eax, -80(%rbp)
movl -80(%rbp), %ecx
movq -72(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq 24(%rbp), %rax
addq $-4, %rax
movq %rax, 24(%rbp)
movq 40(%rbp), %rax
addq $-4, %rax
movq %rax, 40(%rbp)
movq -32(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _lsame_
movl %eax, -120(%rbp)
movq 32(%rbp), %rcx
movb $1, %al
cmpl $-1, (%rcx)
movb %al, -161(%rbp) ## 1-byte Spill
je LBB0_2
## %bb.1:
movq 48(%rbp), %rax
cmpl $-1, (%rax)
sete %al
movb %al, -161(%rbp) ## 1-byte Spill
LBB0_2:
movb -161(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
movl %eax, -156(%rbp)
movq 56(%rbp), %rax
movl $0, (%rax)
cmpl $0, -120(%rbp)
jne LBB0_5
## %bb.3:
movq -32(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_5
## %bb.4:
movq 56(%rbp), %rax
movl $-1, (%rax)
jmp LBB0_17
LBB0_5:
movq -40(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_8
## %bb.6:
movq -40(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _lsame_
cmpl $0, %eax
jne LBB0_8
## %bb.7:
movq 56(%rbp), %rax
movl $-2, (%rax)
jmp LBB0_16
LBB0_8:
movq -48(%rbp), %rax
cmpl $0, (%rax)
jge LBB0_10
## %bb.9:
movq 56(%rbp), %rax
movl $-3, (%rax)
jmp LBB0_15
LBB0_10:
movq 16(%rbp), %rax
cmpl $1, (%rax)
jl LBB0_13
## %bb.11:
cmpl $0, -120(%rbp)
je LBB0_14
## %bb.12:
movq 16(%rbp), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB0_14
LBB0_13:
movq 56(%rbp), %rax
movl $-7, (%rax)
LBB0_14:
jmp LBB0_15
LBB0_15:
jmp LBB0_16
LBB0_16:
jmp LBB0_17
LBB0_17:
movq 56(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_32
## %bb.18:
movq -48(%rbp), %rax
cmpl $1, (%rax)
jg LBB0_20
## %bb.19:
movl $1, -144(%rbp)
movl $1, -116(%rbp)
jmp LBB0_24
LBB0_20:
cmpl $0, -120(%rbp)
je LBB0_22
## %bb.21:
movq -48(%rbp), %rax
imull $5, (%rax), %eax
addl $3, %eax
movl %eax, -144(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
movl %eax, -84(%rbp)
movq -48(%rbp), %rax
imull $6, (%rax), %eax
addl $1, %eax
movl -84(%rbp), %ecx
imull -84(%rbp), %ecx
addl %ecx, %eax
movl %eax, -116(%rbp)
jmp LBB0_23
LBB0_22:
movl $1, -144(%rbp)
movq -48(%rbp), %rax
movl (%rax), %eax
shll $1, %eax
movl %eax, -116(%rbp)
LBB0_23:
jmp LBB0_24
LBB0_24:
movl -144(%rbp), %ecx
movq 40(%rbp), %rax
movl %ecx, 4(%rax)
cvtsi2ssl -116(%rbp), %xmm0
movq 24(%rbp), %rax
movss %xmm0, 4(%rax)
movq 32(%rbp), %rax
movl (%rax), %eax
cmpl -116(%rbp), %eax
jge LBB0_27
## %bb.25:
cmpl $0, -156(%rbp)
jne LBB0_27
## %bb.26:
movq 56(%rbp), %rax
movl $-9, (%rax)
jmp LBB0_31
LBB0_27:
movq 48(%rbp), %rax
movl (%rax), %eax
cmpl -144(%rbp), %eax
jge LBB0_30
## %bb.28:
cmpl $0, -156(%rbp)
jne LBB0_30
## %bb.29:
movq 56(%rbp), %rax
movl $-11, (%rax)
LBB0_30:
jmp LBB0_31
LBB0_31:
jmp LBB0_32
LBB0_32:
movq 56(%rbp), %rax
cmpl $0, (%rax)
je LBB0_34
## %bb.33:
movq 56(%rbp), %rcx
xorl %eax, %eax
subl (%rcx), %eax
movl %eax, -84(%rbp)
leaq L_.str.4(%rip), %rdi
leaq -84(%rbp), %rsi
movl $6, %edx
callq _xerbla_
movl $0, -20(%rbp)
jmp LBB0_57
LBB0_34:
cmpl $0, -156(%rbp)
je LBB0_36
## %bb.35:
movl $0, -20(%rbp)
jmp LBB0_57
LBB0_36:
jmp LBB0_37
LBB0_37:
movq -48(%rbp), %rax
cmpl $0, (%rax)
jne LBB0_39
## %bb.38:
movl $0, -20(%rbp)
jmp LBB0_57
LBB0_39:
movq -48(%rbp), %rax
cmpl $1, (%rax)
jne LBB0_43
## %bb.40:
movq -56(%rbp), %rax
movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -64(%rbp), %rax
movss %xmm0, 4(%rax)
cmpl $0, -120(%rbp)
je LBB0_42
## %bb.41:
movq -72(%rbp), %rax
movl -76(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rcx,4)
LBB0_42:
movl $0, -20(%rbp)
jmp LBB0_57
LBB0_43:
leaq L_.str.5(%rip), %rdi
callq _slamch_
movss %xmm0, -128(%rbp)
leaq L_.str.6(%rip), %rdi
callq _slamch_
movss %xmm0, -160(%rbp)
movss -128(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -160(%rbp), %xmm0
movss %xmm0, -152(%rbp)
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -152(%rbp), %xmm0
movss %xmm0, -132(%rbp)
movss -152(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -100(%rbp)
movss -132(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
sqrtsd %xmm0, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -104(%rbp)
movq -40(%rbp), %rsi
movq -48(%rbp), %rdx
movq -56(%rbp), %rcx
addq $4, %rcx
movq 24(%rbp), %r8
addq $4, %r8
leaq L_.str.7(%rip), %rdi
callq _slansp_
movss %xmm0, -96(%rbp)
movl $0, -124(%rbp)
movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe LBB0_46
## %bb.44:
movss -96(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_46
## %bb.45:
movl $1, -124(%rbp)
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -96(%rbp), %xmm0
movss %xmm0, -108(%rbp)
jmp LBB0_49
LBB0_46:
movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -104(%rbp), %xmm0
jbe LBB0_48
## %bb.47:
movl $1, -124(%rbp)
movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -96(%rbp), %xmm0
movss %xmm0, -108(%rbp)
LBB0_48:
jmp LBB0_49
LBB0_49:
cmpl $1, -124(%rbp)
jne LBB0_51
## %bb.50:
movq -48(%rbp), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx
movl (%rcx), %ecx
addl $1, %ecx
imull %ecx, %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -84(%rbp)
movq -56(%rbp), %rdx
addq $4, %rdx
leaq -84(%rbp), %rdi
leaq -108(%rbp), %rsi
leaq _c__1(%rip), %rcx
callq _sscal_
LBB0_51:
movl $1, -92(%rbp)
movl -92(%rbp), %eax
movq -48(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -136(%rbp)
movq -40(%rbp), %rdi
movq -48(%rbp), %rsi
movq -56(%rbp), %rdx
addq $4, %rdx
movq -64(%rbp), %rcx
addq $4, %rcx
movq 24(%rbp), %r8
movslq -92(%rbp), %rax
shlq $2, %rax
addq %rax, %r8
movq 24(%rbp), %r9
movslq -136(%rbp), %rax
shlq $2, %rax
addq %rax, %r9
leaq -112(%rbp), %rax
movq %rax, (%rsp)
callq _ssptrd_
cmpl $0, -120(%rbp)
jne LBB0_53
## %bb.52:
movq -48(%rbp), %rdi
movq -64(%rbp), %rsi
addq $4, %rsi
movq 24(%rbp), %rdx
movslq -92(%rbp), %rax
shlq $2, %rax
addq %rax, %rdx
movq 56(%rbp), %rcx
callq _ssterf_
jmp LBB0_54
LBB0_53:
movl -136(%rbp), %eax
movq -48(%rbp), %rcx
addl (%rcx), %eax
movl %eax, -140(%rbp)
movq 32(%rbp), %rax
movl (%rax), %eax
subl -140(%rbp), %eax
addl $1, %eax
movl %eax, -148(%rbp)
movq -48(%rbp), %rsi
movq -64(%rbp), %rdx
addq $4, %rdx
movq 24(%rbp), %rcx
movslq -92(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -72(%rbp), %r8
movslq -80(%rbp), %rax
shlq $2, %rax
addq %rax, %r8
movq 16(%rbp), %r9
movq 24(%rbp), %r14
movslq -140(%rbp), %rax
shlq $2, %rax
addq %rax, %r14
movq 40(%rbp), %r11
addq $4, %r11
movq 48(%rbp), %r10
movq 56(%rbp), %rax
leaq L_.str.8(%rip), %rdi
leaq -148(%rbp), %rbx
movq %r14, (%rsp)
movq %rbx, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _sstedc_
movq -40(%rbp), %rsi
movq -48(%rbp), %rcx
movq -48(%rbp), %r8
movq -56(%rbp), %r9
addq $4, %r9
movq 24(%rbp), %r14
movslq -136(%rbp), %rax
shlq $2, %rax
addq %rax, %r14
movq -72(%rbp), %rbx
movslq -80(%rbp), %rax
shlq $2, %rax
addq %rax, %rbx
movq 16(%rbp), %r11
movq 24(%rbp), %r10
movslq -140(%rbp), %rax
shlq $2, %rax
addq %rax, %r10
leaq L_.str.3(%rip), %rdi
leaq L_.str.1(%rip), %rdx
leaq -112(%rbp), %rax
movq %r14, (%rsp)
movq %rbx, 8(%rsp)
movq %r11, 16(%rsp)
movq %r10, 24(%rsp)
movq %rax, 32(%rsp)
callq _sopmtr_
LBB0_54:
cmpl $1, -124(%rbp)
jne LBB0_56
## %bb.55:
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -108(%rbp), %xmm0
movss %xmm0, -88(%rbp)
movq -48(%rbp), %rdi
movq -64(%rbp), %rdx
addq $4, %rdx
leaq -88(%rbp), %rsi
leaq _c__1(%rip), %rcx
callq _sscal_
LBB0_56:
cvtsi2ssl -116(%rbp), %xmm0
movq 24(%rbp), %rax
movss %xmm0, 4(%rax)
movl -144(%rbp), %ecx
movq 40(%rbp), %rax
movl %ecx, 4(%rax)
movl $0, -20(%rbp)
LBB0_57:
movl -20(%rbp), %eax
addq $192, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "V"
L_.str.1: ## @.str.1
.asciz "N"
L_.str.2: ## @.str.2
.asciz "U"
L_.str.3: ## @.str.3
.asciz "L"
L_.str.4: ## @.str.4
.asciz "SSPEVD"
L_.str.5: ## @.str.5
.asciz "Safe minimum"
L_.str.6: ## @.str.6
.asciz "Precision"
L_.str.7: ## @.str.7
.asciz "M"
.section __DATA,__data
.p2align 2 ## @c__1
_c__1:
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.8: ## @.str.8
.asciz "I"
.subsections_via_symbols
| the_stack_data/150142078.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]
mov w8, #-1
stur w8, [x29, #-20]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-40]
str wzr, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
ldur w8, [x29, #-8]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _usage
mov w0, #-1
bl _exit
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _getopt
str w0, [sp, #28]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #28]
str w8, [sp, #24] ; 4-byte Folded Spill
subs w8, w8, #105
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
subs w8, w8, #110
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _optarg@GOTPAGE
ldr x8, [x8, _optarg@GOTPAGEOFF]
ldr x0, [x8]
bl _atoi
str w0, [sp, #40]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl _usage
mov w0, #-1
bl _exit
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #40]
str w8, [sp, #32]
b LBB0_13
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _optarg@GOTPAGE
ldr x8, [x8, _optarg@GOTPAGEOFF]
ldr x0, [x8]
bl _atoi
str w0, [sp, #40]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _usage
mov w0, #-1
bl _exit
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #40]
str w8, [sp, #36]
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_14:
ldr w8, [sp, #32]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _remove
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15:
bl ___error
ldr w8, [x0]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
bl ___error
ldr w0, [x0]
bl _strerror
mov x8, sp
adrp x9, l_.str.3@PAGE
add x9, x9, l_.str.3@PAGEOFF
str x9, [x8]
str x0, [x8, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_18
LBB0_17:
bl ___error
ldr w9, [x0]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
ldr x9, [sp, #16] ; 8-byte Folded Reload
mov x8, sp
str x9, [x8]
str x0, [x8, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_50
LBB0_18:
b LBB0_20
LBB0_19:
mov x9, sp
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_20
LBB0_20:
mov x9, sp
mov x8, #436
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
mov w1, #1538
bl _open
stur w0, [x29, #-20]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_50
LBB0_22:
ldr w8, [sp, #32]
; kill: def $x8 killed $w8
lsl x0, x8, #2
bl _malloc
mov x8, x0
stur x8, [x29, #-40]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_27
b LBB0_23
LBB0_23:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_26
b LBB0_24
LBB0_24:
ldur w0, [x29, #-20]
bl _close
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_26
LBB0_26:
b LBB0_50
LBB0_27:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #44]
b LBB0_28
LBB0_28: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
; Child Loop BB0_32 Depth 3
ldr w8, [sp, #44]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB0_45
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_28 Depth=1
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
stur wzr, [x29, #-44]
b LBB0_30
LBB0_30: ; Parent Loop BB0_28 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_32 Depth 3
ldur w8, [x29, #-44]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_43
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_30 Depth=2
str wzr, [sp, #48]
b LBB0_32
LBB0_32: ; Parent Loop BB0_28 Depth=1
; Parent Loop BB0_30 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #48]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_35
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_32 Depth=3
ldur w8, [x29, #-44]
ldur x9, [x29, #-40]
ldr w10, [sp, #48]
; kill: def $x10 killed $w10
str w8, [x9, x10, lsl #2]
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_32 Depth=3
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB0_32
LBB0_35: ; in Loop: Header=BB0_30 Depth=2
ldur w0, [x29, #-20]
ldur w8, [x29, #-44]
; kill: def $x8 killed $w8
lsl x1, x8, #2
mov w2, #0
bl _lseek
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_37
b LBB0_36
LBB0_36:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB0_50
LBB0_37: ; in Loop: Header=BB0_30 Depth=2
ldur w0, [x29, #-20]
ldur x1, [x29, #-40]
ldr w8, [sp, #32]
ldur w9, [x29, #-44]
subs w8, w8, w9
; kill: def $x8 killed $w8
lsl x2, x8, #2
bl _write
stur x0, [x29, #-32]
subs x8, x0, #0
cset w8, ge
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB0_50
LBB0_39: ; in Loop: Header=BB0_30 Depth=2
ldur x8, [x29, #-32]
ldr w9, [sp, #32]
ldur w10, [x29, #-44]
subs w9, w9, w10
subs x8, x8, w9, uxtw #2
cset w8, eq
tbnz w8, #0, LBB0_41
b LBB0_40
LBB0_40:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB0_50
LBB0_41: ; in Loop: Header=BB0_30 Depth=2
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_30 Depth=2
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB0_30
LBB0_43: ; in Loop: Header=BB0_28 Depth=1
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_28 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_28
LBB0_45:
ldur w0, [x29, #-20]
bl _close
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_47
b LBB0_46
LBB0_46:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_50
LBB0_47:
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_49
b LBB0_48
LBB0_48:
ldur x0, [x29, #-40]
bl _free
b LBB0_49
LBB0_49:
stur wzr, [x29, #-4]
b LBB0_51
LBB0_50:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_51
LBB0_51:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.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.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "n:i:"
l_.str.1: ; @.str.1
.asciz "Invalid option encountered\n"
l_.str.2: ; @.str.2
.asciz "WRITER: # of integers to write = %u; # of iterations = %d\n"
l_.str.3: ; @.str.3
.asciz "atomic_data"
l_.str.4: ; @.str.4
.asciz "WRITER: remove %s--%s\n"
l_.str.5: ; @.str.5
.asciz "WRITER: error from remove: %d--%s\n"
l_.str.6: ; @.str.6
.asciz "WRITER: %s is removed\n"
l_.str.7: ; @.str.7
.asciz "WRITER: error from open\n"
l_.str.8: ; @.str.8
.asciz "WRITER: error from malloc\n"
l_.str.9: ; @.str.9
.asciz "WRITER: error from close\n"
l_.str.10: ; @.str.10
.asciz "\n"
l_.str.11: ; @.str.11
.asciz "WRITER: *****start iteration %u*****\n"
l_.str.12: ; @.str.12
.asciz "WRITER: error from lseek\n"
l_.str.13: ; @.str.13
.asciz "WRITER: error from write\n"
l_.str.14: ; @.str.14
.asciz "WRITER: error from bytes written\n"
l_.str.15: ; @.str.15
.asciz "WRITER: *****end iteration %u*****\n\n"
l_.str.16: ; @.str.16
.asciz "Usage error!\n"
l_.str.17: ; @.str.17
.asciz "Usage: atomic_writer -n <number of integers to write> -i <number of iterations for writer>\n"
l_.str.18: ; @.str.18
.asciz " Note**The number of integers for option n has to be positive\n"
l_.str.19: ; @.str.19
.asciz " Note**The number of integers for option i has to be positive\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $-1, -20(%rbp)
movq $0, -40(%rbp)
movl $0, -60(%rbp)
movl $0, -64(%rbp)
movl $0, -68(%rbp)
cmpl $5, -8(%rbp)
je LBB0_2
## %bb.1:
callq _usage
movl $-1, %edi
callq _exit
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
leaq L_.str(%rip), %rdx
callq _getopt
movl %eax, -68(%rbp)
cmpl $-1, %eax
je LBB0_13
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -68(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
subl $105, %eax
je LBB0_8
jmp LBB0_51
LBB0_51: ## in Loop: Header=BB0_3 Depth=1
movl -72(%rbp), %eax ## 4-byte Reload
subl $110, %eax
jne LBB0_11
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -56(%rbp)
cmpl $0, %eax
jge LBB0_7
## %bb.6:
callq _usage
movl $-1, %edi
callq _exit
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl -56(%rbp), %eax
movl %eax, -64(%rbp)
jmp LBB0_12
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _atoi
movl %eax, -56(%rbp)
cmpl $0, %eax
jge LBB0_10
## %bb.9:
callq _usage
movl $-1, %edi
callq _exit
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movl -56(%rbp), %eax
movl %eax, -60(%rbp)
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_13:
movl -64(%rbp), %esi
movl -60(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
callq _remove
cmpl $0, %eax
jge LBB0_18
## %bb.14:
callq ___error
cmpl $2, (%rax)
jne LBB0_16
## %bb.15:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rdx
leaq L_.str.4(%rip), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _printf
jmp LBB0_17
LBB0_16:
callq ___error
movl (%rax), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movl -76(%rbp), %esi ## 4-byte Reload
movq %rax, %rdx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_49
LBB0_17:
jmp LBB0_19
LBB0_18:
leaq L_.str.6(%rip), %rdi
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _printf
LBB0_19:
leaq L_.str.3(%rip), %rdi
movl $1538, %esi ## imm = 0x602
movl $436, %edx ## imm = 0x1B4
movb $0, %al
callq _open
movl %eax, -20(%rbp)
cmpl $0, %eax
jge LBB0_21
## %bb.20:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_49
LBB0_21:
movl -64(%rbp), %eax
movl %eax, %edi
shlq $2, %rdi
callq _malloc
movq %rax, -40(%rbp)
cmpq $0, %rax
jne LBB0_26
## %bb.22:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
cmpl $0, -20(%rbp)
jl LBB0_25
## %bb.23:
movl -20(%rbp), %edi
callq _close
cmpl $0, %eax
jge LBB0_25
## %bb.24:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB0_25:
jmp LBB0_49
LBB0_26:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -52(%rbp)
LBB0_27: ## =>This Loop Header: Depth=1
## Child Loop BB0_29 Depth 2
## Child Loop BB0_31 Depth 3
movl -52(%rbp), %eax
cmpl -60(%rbp), %eax
ja LBB0_44
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movl -52(%rbp), %esi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -44(%rbp)
LBB0_29: ## Parent Loop BB0_27 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_31 Depth 3
movl -44(%rbp), %eax
cmpl -64(%rbp), %eax
jae LBB0_42
## %bb.30: ## in Loop: Header=BB0_29 Depth=2
movl $0, -48(%rbp)
LBB0_31: ## Parent Loop BB0_27 Depth=1
## Parent Loop BB0_29 Depth=2
## => This Inner Loop Header: Depth=3
movl -48(%rbp), %eax
cmpl -64(%rbp), %eax
jae LBB0_34
## %bb.32: ## in Loop: Header=BB0_31 Depth=3
movl -44(%rbp), %edx
movq -40(%rbp), %rax
movl -48(%rbp), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
## %bb.33: ## in Loop: Header=BB0_31 Depth=3
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_31
LBB0_34: ## in Loop: Header=BB0_29 Depth=2
movl -20(%rbp), %edi
movl -44(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
xorl %edx, %edx
callq _lseek
cmpq $0, %rax
jge LBB0_36
## %bb.35:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_49
LBB0_36: ## in Loop: Header=BB0_29 Depth=2
movl -20(%rbp), %edi
movq -40(%rbp), %rsi
movl -64(%rbp), %eax
subl -44(%rbp), %eax
movl %eax, %eax
movl %eax, %edx
shlq $2, %rdx
callq _write
movq %rax, -32(%rbp)
cmpq $0, %rax
jge LBB0_38
## %bb.37:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_49
LBB0_38: ## in Loop: Header=BB0_29 Depth=2
movq -32(%rbp), %rax
movl -64(%rbp), %ecx
subl -44(%rbp), %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
shlq $2, %rcx
cmpq %rcx, %rax
je LBB0_40
## %bb.39:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_49
LBB0_40: ## in Loop: Header=BB0_29 Depth=2
jmp LBB0_41
LBB0_41: ## in Loop: Header=BB0_29 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_29
LBB0_42: ## in Loop: Header=BB0_27 Depth=1
movl -52(%rbp), %esi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
## %bb.43: ## in Loop: Header=BB0_27 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB0_27
LBB0_44:
movl -20(%rbp), %edi
callq _close
cmpl $0, %eax
jge LBB0_46
## %bb.45:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_49
LBB0_46:
cmpq $0, -40(%rbp)
je LBB0_48
## %bb.47:
movq -40(%rbp), %rdi
callq _free
LBB0_48:
movl $0, -4(%rbp)
jmp LBB0_50
LBB0_49:
movl $-1, -4(%rbp)
LBB0_50:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n:i:"
L_.str.1: ## @.str.1
.asciz "Invalid option encountered\n"
L_.str.2: ## @.str.2
.asciz "WRITER: # of integers to write = %u; # of iterations = %d\n"
L_.str.3: ## @.str.3
.asciz "atomic_data"
L_.str.4: ## @.str.4
.asciz "WRITER: remove %s--%s\n"
L_.str.5: ## @.str.5
.asciz "WRITER: error from remove: %d--%s\n"
L_.str.6: ## @.str.6
.asciz "WRITER: %s is removed\n"
L_.str.7: ## @.str.7
.asciz "WRITER: error from open\n"
L_.str.8: ## @.str.8
.asciz "WRITER: error from malloc\n"
L_.str.9: ## @.str.9
.asciz "WRITER: error from close\n"
L_.str.10: ## @.str.10
.asciz "\n"
L_.str.11: ## @.str.11
.asciz "WRITER: *****start iteration %u*****\n"
L_.str.12: ## @.str.12
.asciz "WRITER: error from lseek\n"
L_.str.13: ## @.str.13
.asciz "WRITER: error from write\n"
L_.str.14: ## @.str.14
.asciz "WRITER: error from bytes written\n"
L_.str.15: ## @.str.15
.asciz "WRITER: *****end iteration %u*****\n\n"
L_.str.16: ## @.str.16
.asciz "Usage error!\n"
L_.str.17: ## @.str.17
.asciz "Usage: atomic_writer -n <number of integers to write> -i <number of iterations for writer>\n"
L_.str.18: ## @.str.18
.asciz " Note**The number of integers for option n has to be positive\n"
L_.str.19: ## @.str.19
.asciz " Note**The number of integers for option i has to be positive\n"
.subsections_via_symbols
| the_stack_data/40762612.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imf2 ; -- Begin function imf2
.p2align 2
_imf2: ; @imf2
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #48]
str w1, [sp, #44]
add x0, sp, #56
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x1, l___const.imf2.c@PAGE
add x1, x1, l___const.imf2.c@PAGEOFF
mov x2, #48
bl _memcpy
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl __ssdm_SpecConstant
b LBB0_1
LBB0_1:
adrp x8, _imf2.i@PAGE
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldr w8, [sp, #44]
adrp x9, _imf2.in@PAGE
str w8, [x9, _imf2.in@PAGEOFF]
b LBB0_3
LBB0_3:
adrp x8, _imf2.i@PAGE
ldr w9, [x8, _imf2.i@PAGEOFF]
add w9, w9, #1
str w9, [sp, #36]
ldr w8, [x8, _imf2.i@PAGEOFF]
mov x9, x8
add x8, sp, #56
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #16] ; 4-byte Folded Spill
adrp x8, _imf2.in@PAGE
ldr w8, [x8, _imf2.in@PAGEOFF]
str w8, [sp, #20] ; 4-byte Folded Spill
adrp x8, _imf2.init@PAGE
ldr w8, [x8, _imf2.init@PAGEOFF]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
adrp x8, _imf2.i@PAGE
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, _imf2.i@PAGE
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_8
LBB0_7:
ldr w8, [sp, #36]
mov x9, x8
adrp x8, _imf2.shift_reg_p@PAGE
add x8, x8, _imf2.shift_reg_p@PAGEOFF
add x8, x8, x9, lsl #3
adrp x9, _imf2.ch@PAGE
ldr w9, [x9, _imf2.ch@PAGEOFF]
; kill: def $x9 killed $w9
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_8
LBB0_8:
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldr w2, [sp, #12] ; 4-byte Folded Reload
bl _mac2
str w0, [sp, #40]
ldr w9, [sp, #40]
adrp x8, _imf2.i@PAGE
ldr w10, [x8, _imf2.i@PAGEOFF]
mov x11, x10
adrp x10, _imf2.shift_reg_p@PAGE
add x10, x10, _imf2.shift_reg_p@PAGEOFF
add x10, x10, x11, lsl #3
adrp x11, _imf2.ch@PAGE
ldr w11, [x11, _imf2.ch@PAGEOFF]
; kill: def $x11 killed $w11
str w9, [x10, x11, lsl #2]
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_9
LBB0_9:
adrp x8, _imf2.cnt@PAGE
ldr w8, [x8, _imf2.cnt@PAGEOFF]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_10
LBB0_10:
adrp x8, _imf2.ch@PAGE
ldr w8, [x8, _imf2.ch@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x8, _imf2.init@PAGE
str wzr, [x8, _imf2.init@PAGEOFF]
b LBB0_12
LBB0_12:
adrp x9, _imf2.ch@PAGE
ldr w8, [x9, _imf2.ch@PAGEOFF]
subs w8, w8, #0
cset w8, eq
and w8, w8, #0x1
str w8, [x9, _imf2.ch@PAGEOFF]
b LBB0_13
LBB0_13:
adrp x9, _imf2.cnt@PAGE
ldr w8, [x9, _imf2.cnt@PAGEOFF]
add w8, w8, #1
str w8, [x9, _imf2.cnt@PAGEOFF]
b LBB0_14
LBB0_14:
adrp x8, _imf2.i@PAGE
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
adrp x8, _imf2.i@PAGE
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
ldr w8, [sp, #40]
asr w8, w8, #17
ldr x9, [sp, #48]
str w8, [x9]
b LBB0_17
LBB0_17:
adrp x8, _imf2.i@PAGE
ldr w8, [x8, _imf2.i@PAGEOFF]
subs w8, w8, #11
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_20
LBB0_19:
ldr w8, [sp, #36]
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB0_20
LBB0_20:
ldr w8, [sp, #8] ; 4-byte Folded Reload
adrp x9, _imf2.i@PAGE
str w8, [x9, _imf2.i@PAGEOFF]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.imf2.c
l___const.imf2.c:
.long 2054 ; 0x806
.long 4294953119 ; 0xffffc89f
.long 77667 ; 0x12f63
.long 77667 ; 0x12f63
.long 4294953119 ; 0xffffc89f
.long 2054 ; 0x806
.long 0 ; 0x0
.long 0 ; 0x0
.long 131071 ; 0x1ffff
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.zerofill __DATA,__bss,_imf2.shift_reg_p,104,2 ; @imf2.shift_reg_p
.zerofill __DATA,__bss,_imf2.in,4,2 ; @imf2.in
.section __DATA,__data
.p2align 2 ; @imf2.init
_imf2.init:
.long 1 ; 0x1
.zerofill __DATA,__bss,_imf2.cnt,4,2 ; @imf2.cnt
.zerofill __DATA,__bss,_imf2.ch,4,2 ; @imf2.ch
.zerofill __DATA,__bss,_imf2.i,4,2 ; @imf2.i
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imf2 ## -- Begin function imf2
.p2align 4, 0x90
_imf2: ## @imf2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -72(%rbp)
movl %esi, -76(%rbp)
leaq -64(%rbp), %rdi
leaq l___const.imf2.c(%rip), %rsi
movl $48, %edx
callq _memcpy
leaq -64(%rbp), %rdi
movb $0, %al
callq __ssdm_SpecConstant
## %bb.1:
cmpl $0, _imf2.i(%rip)
jne LBB0_3
## %bb.2:
movl -76(%rbp), %eax
movl %eax, _imf2.in(%rip)
LBB0_3:
movl _imf2.i(%rip), %eax
addl $1, %eax
movl %eax, -84(%rbp)
movl _imf2.i(%rip), %eax
## kill: def $rax killed $eax
movl -64(%rbp,%rax,4), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movl _imf2.in(%rip), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
cmpl $0, _imf2.init(%rip)
jne LBB0_6
## %bb.4:
cmpl $5, _imf2.i(%rip)
je LBB0_6
## %bb.5:
cmpl $11, _imf2.i(%rip)
jne LBB0_7
LBB0_6:
xorl %eax, %eax
movl %eax, -96(%rbp) ## 4-byte Spill
jmp LBB0_8
LBB0_7:
movl -84(%rbp), %eax
movl %eax, %ecx
leaq _imf2.shift_reg_p(%rip), %rax
shlq $3, %rcx
addq %rcx, %rax
movl _imf2.ch(%rip), %ecx
## kill: def $rcx killed $ecx
movl (%rax,%rcx,4), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
LBB0_8:
movl -88(%rbp), %esi ## 4-byte Reload
movl -92(%rbp), %edi ## 4-byte Reload
movl -96(%rbp), %edx ## 4-byte Reload
callq _mac2
movl %eax, -80(%rbp)
movl -80(%rbp), %edx
movl _imf2.i(%rip), %eax
movl %eax, %ecx
leaq _imf2.shift_reg_p(%rip), %rax
shlq $3, %rcx
addq %rcx, %rax
movl _imf2.ch(%rip), %ecx
## kill: def $rcx killed $ecx
movl %edx, (%rax,%rcx,4)
cmpl $11, _imf2.i(%rip)
jne LBB0_14
## %bb.9:
cmpl $3, _imf2.cnt(%rip)
jne LBB0_13
## %bb.10:
cmpl $0, _imf2.ch(%rip)
je LBB0_12
## %bb.11:
movl $0, _imf2.init(%rip)
LBB0_12:
cmpl $0, _imf2.ch(%rip)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
movl %eax, _imf2.ch(%rip)
LBB0_13:
movl _imf2.cnt(%rip), %eax
addl $1, %eax
movl %eax, _imf2.cnt(%rip)
LBB0_14:
cmpl $0, _imf2.i(%rip)
je LBB0_16
## %bb.15:
cmpl $6, _imf2.i(%rip)
jne LBB0_17
LBB0_16:
movl -80(%rbp), %ecx
sarl $17, %ecx
movq -72(%rbp), %rax
movl %ecx, (%rax)
LBB0_17:
cmpl $11, _imf2.i(%rip)
jne LBB0_19
## %bb.18:
xorl %eax, %eax
movl %eax, -100(%rbp) ## 4-byte Spill
jmp LBB0_20
LBB0_19:
movl -84(%rbp), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
LBB0_20:
movl -100(%rbp), %eax ## 4-byte Reload
movl %eax, _imf2.i(%rip)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
addq $112, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.imf2.c
l___const.imf2.c:
.long 2054 ## 0x806
.long 4294953119 ## 0xffffc89f
.long 77667 ## 0x12f63
.long 77667 ## 0x12f63
.long 4294953119 ## 0xffffc89f
.long 2054 ## 0x806
.long 0 ## 0x0
.long 0 ## 0x0
.long 131071 ## 0x1ffff
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.zerofill __DATA,__bss,_imf2.shift_reg_p,104,4 ## @imf2.shift_reg_p
.zerofill __DATA,__bss,_imf2.in,4,2 ## @imf2.in
.section __DATA,__data
.p2align 2 ## @imf2.init
_imf2.init:
.long 1 ## 0x1
.zerofill __DATA,__bss,_imf2.cnt,4,2 ## @imf2.cnt
.zerofill __DATA,__bss,_imf2.ch,4,2 ## @imf2.ch
.zerofill __DATA,__bss,_imf2.i,4,2 ## @imf2.i
.subsections_via_symbols
| the_stack_data/76856.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-12]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
mov w9, #10
sdiv w8, w8, w9
stur w8, [x29, #-8]
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_3:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -8(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -8(%rbp)
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_3:
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/154827882.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _color_reset ; -- Begin function color_reset
.p2align 2
_color_reset: ; @color_reset
.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 _pick_color ; -- Begin function pick_color
.p2align 2
_pick_color: ; @pick_color
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _rand
ands w8, w0, #0x1
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_3
LBB1_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_3
LBB1_3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _color_print ; -- Begin function color_print
.p2align 2
_color_print: ; @color_print
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
and w8, w1, #0x1
strb w8, [sp, #7]
bl _pick_color
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #8]
bl _getc
str w0, [sp]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w0, [sp]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
bl _pick_color
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w0, [sp]
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x1, [x8]
bl _putc
ldrb w8, [sp, #7]
tbz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
mov w0, #10000
bl _usleep
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_7:
bl _color_reset
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _cleanup_and_exit ; -- Begin function cleanup_and_exit
.p2align 2
_cleanup_and_exit: ; @cleanup_and_exit
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _color_reset
adrp x8, _failures@PAGE
ldr w0, [x8, _failures@PAGEOFF]
bl __exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
sturb wzr, [x29, #-17]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
adrp x2, l_.str.3@PAGE
add x2, x2, l_.str.3@PAGEOFF
bl _getopt
stur w0, [x29, #-24]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldur w8, [x29, #-24]
subs w8, w8, #115
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
mov w8, #1
sturb w8, [x29, #-17]
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
b LBB4_1
LBB4_5:
mov x0, #0
str x0, [sp, #16] ; 8-byte Folded Spill
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
mov w0, #2
adrp x1, _cleanup_and_exit@PAGE
add x1, x1, _cleanup_and_exit@PAGEOFF
bl _signal
ldr x1, [sp, #16] ; 8-byte Folded Reload
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _setbuf
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB4_13
b LBB4_6
LBB4_6:
adrp x8, _optind@GOTPAGE
ldr x8, [x8, _optind@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-28]
b LBB4_7
LBB4_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_7 Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_10
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_7 Depth=1
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-16]
ldursw x9, [x29, #-28]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
adrp x9, _failures@PAGE
ldr w8, [x9, _failures@PAGEOFF]
add w8, w8, #1
str w8, [x9, _failures@PAGEOFF]
b LBB4_11
LBB4_10: ; in Loop: Header=BB4_7 Depth=1
ldr x0, [sp, #24]
ldurb w8, [x29, #-17]
and w1, w8, #0x1
bl _color_print
ldr x0, [sp, #24]
bl _fclose
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_7 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB4_7
LBB4_12:
b LBB4_14
LBB4_13:
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
ldurb w8, [x29, #-17]
and w1, w8, #0x1
bl _color_print
b LBB4_14
LBB4_14:
adrp x8, _failures@PAGE
ldr w0, [x8, _failures@PAGEOFF]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _failures ; @failures
.zerofill __DATA,__common,_failures,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\033[0m"
l_.str.1: ; @.str.1
.asciz "\033[0;31m"
l_.str.2: ; @.str.2
.asciz "\033[0;32m"
l_.str.3: ; @.str.3
.asciz "s"
l_.str.4: ; @.str.4
.asciz "r"
l_.str.5: ; @.str.5
.asciz "greencat: %s: Could not open file\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _color_reset ## -- Begin function color_reset
.p2align 4, 0x90
_color_reset: ## @color_reset
.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 _pick_color ## -- Begin function pick_color
.p2align 4, 0x90
_pick_color: ## @pick_color
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _rand
andl $1, %eax
cmpl $0, %eax
je LBB1_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_3
LBB1_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB1_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _color_print ## -- Begin function color_print
.p2align 4, 0x90
_color_print: ## @color_print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %sil, %al
movq %rdi, -8(%rbp)
andb $1, %al
movb %al, -9(%rbp)
callq _pick_color
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rdi
callq _getc
movl %eax, -16(%rbp)
cmpl $-1, %eax
je LBB2_7
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %edi
callq _isspace
cmpl $0, %eax
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
callq _pick_color
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _putc
testb $1, -9(%rbp)
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl $10000, %edi ## imm = 0x2710
callq _usleep
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_7:
callq _color_reset
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cleanup_and_exit ## -- Begin function cleanup_and_exit
.p2align 4, 0x90
_cleanup_and_exit: ## @cleanup_and_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _color_reset
movl _failures(%rip), %edi
callq __exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movb $0, -17(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
leaq L_.str.3(%rip), %rdx
callq _getopt
movl %eax, -24(%rbp)
cmpl $-1, %eax
je LBB4_5
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
cmpl $115, -24(%rbp)
jne LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movb $1, -17(%rbp)
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_1
LBB4_5:
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $2, %edi
leaq _cleanup_and_exit(%rip), %rsi
callq _signal
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _setbuf
cmpl $1, -8(%rbp)
jle LBB4_13
## %bb.6:
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
LBB4_7: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB4_12
## %bb.8: ## in Loop: Header=BB4_7 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB4_10
## %bb.9: ## in Loop: Header=BB4_7 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movl _failures(%rip), %eax
addl $1, %eax
movl %eax, _failures(%rip)
jmp LBB4_11
LBB4_10: ## in Loop: Header=BB4_7 Depth=1
movq -40(%rbp), %rdi
movb -17(%rbp), %al
andb $1, %al
movzbl %al, %esi
callq _color_print
movq -40(%rbp), %rdi
callq _fclose
LBB4_11: ## in Loop: Header=BB4_7 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB4_7
LBB4_12:
jmp LBB4_14
LBB4_13:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movb -17(%rbp), %al
andb $1, %al
movzbl %al, %esi
callq _color_print
LBB4_14:
movl _failures(%rip), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _failures ## @failures
.zerofill __DATA,__common,_failures,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\033[0m"
L_.str.1: ## @.str.1
.asciz "\033[0;31m"
L_.str.2: ## @.str.2
.asciz "\033[0;32m"
L_.str.3: ## @.str.3
.asciz "s"
L_.str.4: ## @.str.4
.asciz "r"
L_.str.5: ## @.str.5
.asciz "greencat: %s: Could not open file\n"
.subsections_via_symbols
| the_stack_data/23575158.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createQueue ; -- Begin function createQueue
.p2align 2
_createQueue: ; @createQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, #24
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
str wzr, [x8, #16]
ldr x8, [sp, #8]
str wzr, [x8, #20]
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _isEmpty ; -- Begin function isEmpty
.p2align 2
_isEmpty: ; @isEmpty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #16]
ldr x9, [sp, #8]
ldr w9, [x9, #20]
subs w8, w8, w9
cset w8, eq
and w9, w8, #0x1
mov w8, #0
ands w9, w9, #0x1
csinc w0, w8, wzr, eq
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _isFull ; -- Begin function isFull
.p2align 2
_isFull: ; @isFull
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8, #20]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #8]
ldr w9, [x9, #16]
subs w8, w8, w9
cset w8, eq
and w9, w8, #0x1
mov w8, #0
ands w9, w9, #0x1
csinc w0, w8, wzr, eq
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _enQueue ; -- Begin function enQueue
.p2align 2
_enQueue: ; @enQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x0, [sp, #8]
bl _isFull
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w0, #1
bl _exit
LBB3_2:
ldr x8, [sp, #8]
ldr w8, [x8, #20]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #8]
str w8, [x9, #20]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
ldr x10, [sp, #8]
ldrsw x10, [x10, #20]
str w8, [x9, x10, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _deQueue ; -- Begin function deQueue
.p2align 2
_deQueue: ; @deQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _isEmpty
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
mov w0, #1
bl _exit
LBB4_2:
ldr x8, [sp, #8]
ldr w8, [x8, #16]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #8]
str w8, [x9, #16]
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldrsw x9, [x9, #16]
ldr w0, [x8, x9, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _del ; -- Begin function del
.p2align 2
_del: ; @del
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _isEmpty
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
mov w0, #1
bl _exit
LBB5_2:
ldr x8, [sp, #8]
ldr w8, [x8, #16]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
ldr x9, [sp, #8]
str w8, [x9, #16]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _peek ; -- Begin function peek
.p2align 2
_peek: ; @peek
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _isEmpty
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
mov w0, #1
bl _exit
LBB6_2:
ldr x8, [sp, #8]
ldr x9, [sp, #8]
ldr w9, [x9, #16]
add w9, w9, #1
mov w11, #4
sdiv w10, w9, w11
mul w10, w10, w11
subs w9, w9, w10
ldr w0, [x8, w9, sxtw #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _printQueue ; -- Begin function printQueue
.p2align 2
_printQueue: ; @printQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr w8, [x8, #16]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-12]
ldur x8, [x29, #-8]
ldr w8, [x8, #20]
add w8, w8, #1
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #16]
ldur w8, [x29, #-12]
str w8, [sp, #12]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-8]
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.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w8, [sp, #12]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #12]
b LBB7_1
LBB7_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 _createQueue
stur x0, [x29, #-8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #5
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #4
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
ldur x0, [x29, #-8]
mov w1, #1
str w1, [sp, #20] ; 4-byte Folded Spill
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #6
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
ldur x0, [x29, #-8]
bl _peek
stur w0, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldur x0, [x29, #-8]
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #2
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldur x0, [x29, #-8]
mov w1, #3
bl _enQueue
ldur x0, [x29, #-8]
bl _printQueue
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur x0, [x29, #-8]
bl _deQueue
ldur x0, [x29, #-8]
bl _printQueue
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 "Circular Queue ["
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "]\n"
l_.str.3: ; @.str.3
.asciz "\354\202\275\354\236\205 5 >> "
l_.str.4: ; @.str.4
.asciz "\354\202\275\354\236\205 4 >> "
l_.str.5: ; @.str.5
.asciz "\354\202\275\354\236\205 1 >> "
l_.str.6: ; @.str.6
.asciz "\354\202\255\354\240\234 >> "
l_.str.7: ; @.str.7
.asciz "\354\202\275\354\236\205 6 >> "
l_.str.8: ; @.str.8
.asciz "peek Data --> %d \n"
l_.str.9: ; @.str.9
.asciz "\354\202\275\354\236\205 2 >> "
l_.str.10: ; @.str.10
.asciz "\354\202\275\354\236\205 3 >> "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createQueue ## -- Begin function createQueue
.p2align 4, 0x90
_createQueue: ## @createQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $24, %edi
callq _malloc
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
movl $0, 16(%rax)
movq -8(%rbp), %rax
movl $0, 20(%rax)
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isEmpty ## -- Begin function isEmpty
.p2align 4, 0x90
_isEmpty: ## @isEmpty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl 16(%rax), %edx
movq -8(%rbp), %rax
movl 20(%rax), %esi
xorl %eax, %eax
movl $1, %ecx
cmpl %esi, %edx
cmovel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isFull ## -- Begin function isFull
.p2align 4, 0x90
_isFull: ## @isFull
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl 20(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -8(%rbp), %rax
movl 16(%rax), %esi
xorl %eax, %eax
movl $1, %ecx
cmpl %esi, %edx
cmovel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _enQueue ## -- Begin function enQueue
.p2align 4, 0x90
_enQueue: ## @enQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rdi
callq _isFull
cmpl $0, %eax
je LBB3_2
## %bb.1:
movl $1, %edi
callq _exit
LBB3_2:
movq -8(%rbp), %rax
movl 20(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -8(%rbp), %rax
movl %edx, 20(%rax)
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq 20(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _deQueue ## -- Begin function deQueue
.p2align 4, 0x90
_deQueue: ## @deQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _isEmpty
cmpl $0, %eax
je LBB4_2
## %bb.1:
movl $1, %edi
callq _exit
LBB4_2:
movq -8(%rbp), %rax
movl 16(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -8(%rbp), %rax
movl %edx, 16(%rax)
movq -8(%rbp), %rax
movq -8(%rbp), %rcx
movslq 16(%rcx), %rcx
movl (%rax,%rcx,4), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _del ## -- Begin function del
.p2align 4, 0x90
_del: ## @del
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _isEmpty
cmpl $0, %eax
je LBB5_2
## %bb.1:
movl $1, %edi
callq _exit
LBB5_2:
movq -8(%rbp), %rax
movl 16(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -8(%rbp), %rax
movl %edx, 16(%rax)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _peek ## -- Begin function peek
.p2align 4, 0x90
_peek: ## @peek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _isEmpty
cmpl $0, %eax
je LBB6_2
## %bb.1:
movl $1, %edi
callq _exit
LBB6_2:
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movl 16(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movq -16(%rbp), %rax ## 8-byte Reload
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printQueue ## -- Begin function printQueue
.p2align 4, 0x90
_printQueue: ## @printQueue
.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(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movl 16(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
movq -8(%rbp), %rax
movl 20(%rax), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
movl %eax, -20(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -20(%rbp)
jmp LBB7_1
LBB7_3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
callq _createQueue
movq %rax, -8(%rbp)
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $5, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $4, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $1, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $6, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
movq -8(%rbp), %rdi
callq _peek
movl %eax, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $1, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $2, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
movl $3, %esi
callq _enQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rdi
callq _deQueue
movq -8(%rbp), %rdi
callq _printQueue
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Circular Queue ["
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "]\n"
L_.str.3: ## @.str.3
.asciz "\354\202\275\354\236\205 5 >> "
L_.str.4: ## @.str.4
.asciz "\354\202\275\354\236\205 4 >> "
L_.str.5: ## @.str.5
.asciz "\354\202\275\354\236\205 1 >> "
L_.str.6: ## @.str.6
.asciz "\354\202\255\354\240\234 >> "
L_.str.7: ## @.str.7
.asciz "\354\202\275\354\236\205 6 >> "
L_.str.8: ## @.str.8
.asciz "peek Data --> %d \n"
L_.str.9: ## @.str.9
.asciz "\354\202\275\354\236\205 2 >> "
L_.str.10: ## @.str.10
.asciz "\354\202\275\354\236\205 3 >> "
.subsections_via_symbols
| the_stack_data/944980.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_name_value ; -- Begin function print_name_value
.p2align 2
_print_name_value: ; @print_name_value
.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 x10, [x29, #-8]
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
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, #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 w1, [sp, #12] ; 4-byte Folded Spill
str wzr, [sp, #36]
mov w8, #6
str w8, [sp, #32]
str wzr, [sp, #28]
sub x0, x29, #56
mov x2, #48
str x2, [sp, #16] ; 8-byte Folded Spill
bl _memset
ldr w1, [sp, #12] ; 4-byte Folded Reload
ldr x2, [sp, #16] ; 8-byte Folded Reload
adrp x8, l_.str.1@PAGE
add x8, x8, l_.str.1@PAGEOFF
stur x8, [x29, #-56]
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
stur x8, [x29, #-48]
adrp x8, l_.str.3@PAGE
add x8, x8, l_.str.3@PAGEOFF
stur x8, [x29, #-40]
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
stur x8, [x29, #-32]
adrp x8, l_.str.5@PAGE
add x8, x8, l_.str.5@PAGEOFF
stur x8, [x29, #-24]
adrp x8, l_.str.6@PAGE
add x8, x8, l_.str.6@PAGEOFF
stur x8, [x29, #-16]
add x0, sp, #40
bl _memset
mov x8, #7
str x8, [sp, #40]
mov x8, #8
str x8, [sp, #48]
mov x8, #9
str x8, [sp, #56]
mov x8, #10
str x8, [sp, #64]
mov x8, #11
str x8, [sp, #72]
mov x8, #12
str x8, [sp, #80]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #6
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #28]
sub x8, x29, #56
ldr x0, [x8, x9, lsl #3]
ldrsw x9, [sp, #28]
add x8, sp, #40
ldr x8, [x8, x9, lsl #3]
mov x1, x8
bl _print_name_value
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_1
LBB1_4:
bl _getchar
ldr w8, [sp, #36]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "p is %s and x is %d.\n"
l_.str.1: ; @.str.1
.asciz "foo"
l_.str.2: ; @.str.2
.asciz "bar"
l_.str.3: ; @.str.3
.asciz "Ginka"
l_.str.4: ; @.str.4
.asciz "Penka"
l_.str.5: ; @.str.5
.asciz "Mitsina"
l_.str.6: ; @.str.6
.asciz "Kotsena"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_name_value ## -- Begin function print_name_value
.p2align 4, 0x90
_print_name_value: ## @print_name_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rsi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl $6, -120(%rbp)
movl $0, -124(%rbp)
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $48, %edx
callq _memset
leaq L_.str.1(%rip), %rax
movq %rax, -64(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -56(%rbp)
leaq L_.str.3(%rip), %rax
movq %rax, -48(%rbp)
leaq L_.str.4(%rip), %rax
movq %rax, -40(%rbp)
leaq L_.str.5(%rip), %rax
movq %rax, -32(%rbp)
leaq L_.str.6(%rip), %rax
movq %rax, -24(%rbp)
leaq -112(%rbp), %rdi
xorl %esi, %esi
movl $48, %edx
callq _memset
movl $7, %eax
movq %rax, -112(%rbp)
movl $8, %eax
movq %rax, -104(%rbp)
movl $9, %eax
movq %rax, -96(%rbp)
movl $10, %eax
movq %rax, -88(%rbp)
movl $11, %eax
movq %rax, -80(%rbp)
movl $12, %eax
movq %rax, -72(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $6, -124(%rbp)
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -124(%rbp), %rax
movq -64(%rbp,%rax,8), %rdi
movslq -124(%rbp), %rax
movq -112(%rbp,%rax,8), %rax
movl %eax, %esi
callq _print_name_value
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -124(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp)
jmp LBB1_1
LBB1_4:
callq _getchar
movl -116(%rbp), %eax
movl %eax, -128(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
movl -128(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "p is %s and x is %d.\n"
L_.str.1: ## @.str.1
.asciz "foo"
L_.str.2: ## @.str.2
.asciz "bar"
L_.str.3: ## @.str.3
.asciz "Ginka"
L_.str.4: ## @.str.4
.asciz "Penka"
L_.str.5: ## @.str.5
.asciz "Mitsina"
L_.str.6: ## @.str.6
.asciz "Kotsena"
.subsections_via_symbols
| the_stack_data/27796.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
str wzr, [sp, #12]
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _atoi
str w0, [sp, #12]
b LBB0_2
LBB0_2:
ldr w8, [sp, #12]
and w0, w8, #0xff
bl _table_fetch
and w0, w0, #0xff
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function table_fetch
_table_fetch: ; @table_fetch
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, #15]
ldrb w8, [sp, #15]
and w9, w8, #0xf
adrp x8, _table_fetch.table@PAGE
add x8, x8, _table_fetch.table@PAGEOFF
ldrb w0, [x8, w9, sxtw]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
_table_fetch.table: ; @table_fetch.table
.asciz "\001\001\000\000\000\000\001\001\000\000\001\001\001\001\000"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
cmpl $1, -8(%rbp)
jle LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -20(%rbp)
LBB0_2:
movl -20(%rbp), %eax
## kill: def $al killed $al killed $eax
movzbl %al, %edi
callq _table_fetch
movzbl %al, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function table_fetch
_table_fetch: ## @table_fetch
.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)
movzbl -1(%rbp), %eax
andl $15, %eax
movslq %eax, %rcx
leaq _table_fetch.table(%rip), %rax
movzbl (%rax,%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @table_fetch.table
_table_fetch.table:
.asciz "\001\001\000\000\000\000\001\001\000\000\001\001\001\001\000"
.subsections_via_symbols
| the_stack_data/108561.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rotate ; -- Begin function rotate
.p2align 2
_rotate: ; @rotate
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur w1, [x29, #-20]
stur wzr, [x29, #-28]
stur wzr, [x29, #-32]
stur wzr, [x29, #-24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
ldursw x9, [x29, #-24]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_1
LBB0_4:
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-40]
lsr x9, x8, #0
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, #-48]
stur wzr, [x29, #-24]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-20]
ldur w10, [x29, #-28]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
add w8, w8, w9
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x10, [x29, #-24]
add x8, x8, x10
ldrb w8, [x8]
ldursw x10, [x29, #-32]
add x9, x9, x10
strb w8, [x9]
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-56] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x10, [x29, #-24]
add x8, x8, x10
ldrb w8, [x8]
ldur w10, [x29, #-24]
ldur w11, [x29, #-20]
add w10, w10, w11
add x9, x9, w10, sxtw
strb w8, [x9]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_5
LBB0_13:
stur wzr, [x29, #-24]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldursw x9, [x29, #-24]
ldrsb w10, [x8, x9]
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 LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB0_14
LBB0_17:
ldur x8, [x29, #-40]
stur x8, [x29, #-72] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
bl ___stack_chk_fail
LBB0_19:
ldur x8, [x29, #-72] ; 8-byte Folded Reload
mov sp, x8
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _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, #32]
mov x9, sp
add x8, sp, #36
str x8, [sp, #16] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr w1, [sp, #28]
bl _rotate
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl ___stack_chk_fail
LBB1_2:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c"
l_.str.1: ; @.str.1
.asciz "%s"
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 _rotate ## -- Begin function rotate
.p2align 4, 0x90
_rotate: ## @rotate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_1
LBB0_4:
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -64(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movl $0, -24(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_13
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -20(%rbp), %eax
cltd
idivl -28(%rbp)
movl %edx, -20(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl -24(%rbp), %eax
addl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jl LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
movb (%rcx,%rdx), %dl
movslq -32(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq -16(%rbp), %rcx
movslq -24(%rbp), %rdx
movb (%rcx,%rdx), %dl
movl -24(%rbp), %ecx
addl -20(%rbp), %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_5
LBB0_13:
movl $0, -24(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movslq -24(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_14
LBB0_17:
movq -40(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_19
## %bb.18:
movq %rbp, %rsp
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
leaq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
leaq -120(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -112(%rbp), %rdi
movl -120(%rbp), %esi
callq _rotate
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "%d"
.subsections_via_symbols
| the_stack_data/20450860.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sub ; -- Begin function sub
.p2align 2
_sub: ; @sub
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
str w2, [sp, #4]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
ldr w9, [sp, #4]
subs w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w0, #10
mov w1, #4
mov w2, #2
bl _sub
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 _sub ## -- Begin function sub
.p2align 4, 0x90
_sub: ## @sub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl %edx, -12(%rbp)
movl -4(%rbp), %eax
subl -8(%rbp), %eax
subl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $10, %edi
movl $4, %esi
movl $2, %edx
callq _sub
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/153268616.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
adrp x11, _test.i@PAGE
ldr w9, [x11, _test.i@PAGEOFF]
add w10, w9, #1
str w10, [x11, _test.i@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl _abort
LBB0_2:
ldr x8, [sp, #8]
ldr w8, [x8, #4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_3
LBB0_3:
ldr x8, [sp, #8]
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_4
LBB0_4:
ldr x8, [sp, #8]
ldr w8, [x8, #12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_5
LBB0_5:
ldr x8, [sp, #8]
ldr w8, [x8, #16]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6:
ldr x8, [sp, #8]
ldr w8, [x8, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_7
LBB0_7:
ldr x8, [sp, #8]
ldr w8, [x8, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8:
ldr x8, [sp, #8]
ldr w8, [x8, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_9
LBB0_9:
ldr x8, [sp, #8]
ldr x8, [x8, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldr x8, [sp, #8]
ldr x8, [x8, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x8, [sp, #8]
ldr w8, [x8, #48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
bl _abort
LBB0_13:
adrp x8, _test.i@PAGE
ldr w8, [x8, _test.i@PAGEOFF]
subs w8, w8, #20
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
mov w0, #0
bl _exit
LBB0_15:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #24
str x0, [sp] ; 8-byte Folded Spill
mov w1, #0
mov x2, #56
str x2, [sp, #8] ; 8-byte Folded Spill
bl _memset
ldr x1, [sp] ; 8-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
str w8, [sp, #24]
sub x0, x29, #64
str x0, [sp, #16] ; 8-byte Folded Spill
bl _memcpy
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _test
b LBB1_1
.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]
stur wzr, [x29, #-28]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-16]
stur x8, [x29, #-24]
add x0, sp, #8
str x0, [sp] ; 8-byte Folded Spill
mov w1, #0
mov x2, #56
bl _memset
ldr x8, [sp] ; 8-byte Folded Reload
ldursw x9, [x29, #-28]
mov x10, x9
add w10, w10, #1
stur w10, [x29, #-28]
str x9, [sp, #40]
stur x8, [x29, #-16]
ldur w8, [x29, #-28]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldur x8, [x29, #-16]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldur x8, [x29, #-16]
ldr x8, [x8, #32]
subs x8, x8, #2
cset w8, eq
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
bl _abort
LBB2_6:
mov w0, #10
bl _foo
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @test.i
_test.i:
.long 11 ; 0xb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl _test.i(%rip), %ecx
movl %ecx, %edx
addl $1, %edx
movl %edx, _test.i(%rip)
cmpl %ecx, %eax
je LBB0_2
## %bb.1:
callq _abort
LBB0_2:
movq -8(%rbp), %rax
cmpl $0, 4(%rax)
jne LBB0_12
## %bb.3:
movq -8(%rbp), %rax
cmpl $0, 8(%rax)
jne LBB0_12
## %bb.4:
movq -8(%rbp), %rax
cmpl $0, 12(%rax)
jne LBB0_12
## %bb.5:
movq -8(%rbp), %rax
cmpl $0, 16(%rax)
jne LBB0_12
## %bb.6:
movq -8(%rbp), %rax
cmpl $0, 20(%rax)
jne LBB0_12
## %bb.7:
movq -8(%rbp), %rax
cmpl $0, 24(%rax)
jne LBB0_12
## %bb.8:
movq -8(%rbp), %rax
cmpl $0, 28(%rax)
jne LBB0_12
## %bb.9:
movq -8(%rbp), %rax
cmpq $0, 32(%rax)
jne LBB0_12
## %bb.10:
movq -8(%rbp), %rax
cmpq $0, 40(%rax)
jne LBB0_12
## %bb.11:
movq -8(%rbp), %rax
cmpl $0, 48(%rax)
je LBB0_13
LBB0_12:
callq _abort
LBB0_13:
cmpl $20, _test.i(%rip)
jne LBB0_15
## %bb.14:
xorl %edi, %edi
callq _exit
LBB0_15:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movl %edi, -4(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
leaq -120(%rbp), %rdi
xorl %esi, %esi
movl $56, %edx
callq _memset
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -124(%rbp) ## 4-byte Spill
movl %eax, -4(%rbp)
movl %eax, -120(%rbp)
leaq -64(%rbp), %rdi
leaq -120(%rbp), %rsi
movl $56, %edx
callq _memcpy
leaq -64(%rbp), %rdi
callq _test
jmp LBB1_1
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movl $0, -4(%rbp)
movl $0, -28(%rbp)
movq $0, -16(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
leaq -88(%rbp), %rdi
xorl %esi, %esi
movl $56, %edx
callq _memset
movl -28(%rbp), %eax
movl %eax, %ecx
addl $1, %ecx
movl %ecx, -28(%rbp)
cltq
movq %rax, -56(%rbp)
leaq -88(%rbp), %rax
movq %rax, -16(%rbp)
cmpl $3, -28(%rbp)
jge LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movq -16(%rbp), %rax
cmpq -24(%rbp), %rax
jne LBB2_5
## %bb.4:
movq -16(%rbp), %rax
cmpq $2, 32(%rax)
je LBB2_6
LBB2_5:
callq _abort
LBB2_6:
movl $10, %edi
callq _foo
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 2 ## @test.i
_test.i:
.long 11 ## 0xb
.subsections_via_symbols
| the_stack_data/39552.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #1
cset w8, ls
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
mov x9, #6148914691236517205
movk x9, #21844
subs x8, x8, x9
cset w8, ls
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
mov w8, #1
stur w8, [x29, #-4]
b LBB0_10
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x9, [sp, #16]
mov x8, #3
mul x8, x8, x9
add x8, x8, #1
str x8, [sp, #16]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
mov x9, #2
udiv x8, x8, x9
str x8, [sp, #16]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_1
LBB0_9:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_10
LBB0_10:
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 "n = "
l_.str.1: ; @.str.1
.asciz "%lu"
l_.str.2: ; @.str.2
.asciz "\nOverflow\n"
l_.str.3: ; @.str.3
.asciz " %lu"
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $1, -16(%rbp)
jbe LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
andq $1, %rax
cmpq $0, %rax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movabsq $6148914691236517204, %rax ## imm = 0x5555555555555554
cmpq %rax, -16(%rbp)
jbe LBB0_5
## %bb.4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_10
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
imulq $3, -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
shrq $1, %rax
movq %rax, -16(%rbp)
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_1
LBB0_9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB0_10:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n = "
L_.str.1: ## @.str.1
.asciz "%lu"
L_.str.2: ## @.str.2
.asciz "\nOverflow\n"
L_.str.3: ## @.str.3
.asciz " %lu"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| the_stack_data/25136484.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 0x400921d323fee2ca ; double 3.1415160000000002
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
fmov s0, #5.00000000
stur s0, [x29, #-12]
ldur s0, [x29, #-12]
ldur s1, [x29, #-12]
fmul s0, s0, s1
fcvt d1, s0
adrp x8, lCPI0_0@PAGE
ldr d0, [x8, lCPI0_0@PAGEOFF]
fmul d0, d0, d1
fcvt s0, d0
stur s0, [x29, #-8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur s0, [x29, #-8]
fcvt d0, s0
mov x8, sp
adrp x9, l_.str.2@PAGE
add x9, x9, l_.str.2@PAGEOFF
str x9, [x8]
str d0, [x8, #8]
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 "Area\n"
l_.str.1: ; @.str.1
.asciz "%s%f\n\n"
l_.str.2: ; @.str.2
.asciz "Area de Circulo con radio 5:"
.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 0x400921d323fee2ca ## double 3.1415160000000002
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_1:
.long 0x40a00000 ## float 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 $16, %rsp
movl $0, -4(%rbp)
movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -12(%rbp)
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
cvtss2sd %xmm0, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
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 "Area\n"
L_.str.1: ## @.str.1
.asciz "%s%f\n\n"
L_.str.2: ## @.str.2
.asciz "Area de Circulo con radio 5:"
.subsections_via_symbols
| the_stack_data/147865.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/184517593.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _foo2 ; -- Begin function foo2
.p2align 2
_foo2: ; @foo2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _foo3 ; -- Begin function foo3
.p2align 2
_foo3: ; @foo3
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _foo4 ; -- Begin function foo4
.p2align 2
_foo4: ; @foo4
.cfi_startproc
; %bb.0:
adrp x0, _cv1@GOTPAGE
ldr x0, [x0, _cv1@GOTPAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _foo5 ; -- Begin function foo5
.p2align 2
_foo5: ; @foo5
.cfi_startproc
; %bb.0:
adrp x0, _cv2@GOTPAGE
ldr x0, [x0, _cv2@GOTPAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _foo6 ; -- Begin function foo6
.p2align 2
_foo6: ; @foo6
.cfi_startproc
; %bb.0:
adrp x0, _cv3@GOTPAGE
ldr x0, [x0, _cv3@GOTPAGEOFF]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo2 ## -- Begin function foo2
.p2align 4, 0x90
_foo2: ## @foo2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo3 ## -- Begin function foo3
.p2align 4, 0x90
_foo3: ## @foo3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo4 ## -- Begin function foo4
.p2align 4, 0x90
_foo4: ## @foo4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cv1@GOTPCREL(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo5 ## -- Begin function foo5
.p2align 4, 0x90
_foo5: ## @foo5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cv2@GOTPCREL(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _foo6 ## -- Begin function foo6
.p2align 4, 0x90
_foo6: ## @foo6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cv3@GOTPCREL(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/26700520.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/502392.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
stur w8, [x29, #-28]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
stur wzr, [x29, #-24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #28
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
ldur w8, [x29, #-28]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB0_8
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #32
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
ldur w1, [x29, #-32]
sub x0, x29, #24
str x0, [sp, #24] ; 8-byte Folded Spill
bl _insertSortedLL
stur w0, [x29, #-36]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printList
b LBB0_9
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-32]
; 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.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
sub x0, x29, #24
bl _printList
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
sub x0, x29, #24
bl _removeAllItems
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_7-Ltmp0
.long LBB0_4-Ltmp0
.long LBB0_5-Ltmp0
.long LBB0_6-Ltmp0
; -- End function
.globl _insertSortedLL ; -- Begin function insertSortedLL
.p2align 2
_insertSortedLL: ; @insertSortedLL
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #8]
str wzr, [sp, #12]
str wzr, [sp, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp]
ldur x8, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x0, [x29, #-8]
ldr w1, [sp, #12]
ldur w2, [x29, #-12]
bl _insertNode
b LBB1_13
LBB1_2:
b LBB1_3
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-12]
ldr x9, [sp]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_9
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x29, #-12]
ldr x9, [sp]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
mov w8, #-1
str w8, [sp, #12]
mov w8, #1
str w8, [sp, #8]
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 x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_10:
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
ldur x0, [x29, #-8]
ldr w1, [sp, #12]
ldur w2, [x29, #-12]
bl _insertNode
b LBB1_12
LBB1_12:
b LBB1_13
LBB1_13:
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _printList ; -- Begin function printList
.p2align 2
_printList: ; @printList
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
b LBB2_8
LBB2_2:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB2_4
LBB2_4:
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 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.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB2_5
LBB2_7:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB2_8
LBB2_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _removeAllItems ; -- Begin function removeAllItems
.p2align 2
_removeAllItems: ; @removeAllItems
.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]
ldr x8, [x8, #8]
str x8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x0, [sp, #16]
bl _free
ldr x8, [sp, #8]
str x8, [sp, #16]
b LBB3_1
LBB3_3:
ldur x8, [x29, #-8]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldur x8, [x29, #-8]
str wzr, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insertNode ; -- Begin function insertNode
.p2align 2
_insertNode: ; @insertNode
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
str w2, [sp, #24]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_3
b LBB4_1
LBB4_1:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2:
ldur w8, [x29, #-20]
ldur x9, [x29, #-16]
ldr w9, [x9]
add w9, w9, #1
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
mov w8, #-1
stur w8, [x29, #-4]
b LBB4_10
LBB4_4:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #8]
mov x0, #16
bl _malloc
ldur x8, [x29, #-16]
str x0, [x8, #8]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
str w8, [x9]
ldr x8, [sp, #8]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
str x8, [x9, #8]
ldur x9, [x29, #-16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB4_10
LBB4_7:
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
subs w1, w8, #1
bl _findNode
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB4_9
b LBB4_8
LBB4_8:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #8]
mov x0, #16
bl _malloc
ldr x8, [sp, #16]
str x0, [x8, #8]
ldr w8, [sp, #24]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
str w8, [x9]
ldr x8, [sp, #8]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
str x8, [x9, #8]
ldur x9, [x29, #-16]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB4_10
LBB4_9:
mov w8, #-1
stur w8, [x29, #-4]
b LBB4_10
LBB4_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _findNode ; -- Begin function findNode
.p2align 2
_findNode: ; @findNode
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_3
b LBB5_1
LBB5_1:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB5_13
LBB5_4:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5:
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB5_13
LBB5_7:
b LBB5_8
LBB5_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB5_12
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_8 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB5_13
LBB5_11: ; in Loop: Header=BB5_8 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #12]
b LBB5_8
LBB5_12:
ldr x8, [sp]
str x8, [sp, #24]
b LBB5_13
LBB5_13:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _removeNode ; -- Begin function removeNode
.p2align 2
_removeNode: ; @removeNode
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_1
LBB6_1:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
ldur w8, [x29, #-20]
ldur x9, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
mov w8, #-1
stur w8, [x29, #-4]
b LBB6_11
LBB6_4:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _free
ldr x8, [sp, #8]
ldur x9, [x29, #-16]
str x8, [x9, #8]
ldur x9, [x29, #-16]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB6_11
LBB6_6:
ldur x0, [x29, #-16]
ldur w8, [x29, #-20]
subs w1, w8, #1
bl _findNode
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB6_10
b LBB6_7
LBB6_7:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_9
b LBB6_8
LBB6_8:
mov w8, #-1
stur w8, [x29, #-4]
b LBB6_11
LBB6_9:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x0, [sp, #8]
bl _free
ldur x9, [x29, #-16]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
stur wzr, [x29, #-4]
b LBB6_11
LBB6_10:
mov w8, #-1
stur w8, [x29, #-4]
b LBB6_11
LBB6_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 "1: Insert an integer to the sorted linked list:\n"
l_.str.1: ; @.str.1
.asciz "2: Print the index of the most recent input value:\n"
l_.str.2: ; @.str.2
.asciz "3: Print sorted linked list:\n"
l_.str.3: ; @.str.3
.asciz "0: Quit:"
l_.str.4: ; @.str.4
.asciz "\nPlease input your choice(1/2/3/0): "
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "Input an integer that you want to add to the linked list: "
l_.str.7: ; @.str.7
.asciz "The resulting linked list is: "
l_.str.8: ; @.str.8
.asciz "The value %d was added at index %d\n"
l_.str.9: ; @.str.9
.asciz "The resulting sorted linked list is: "
l_.str.10: ; @.str.10
.asciz "Choice unknown;\n"
l_.str.11: ; @.str.11
.asciz "Empty"
l_.str.12: ; @.str.12
.asciz "%d "
l_.str.13: ; @.str.13
.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 $1, -28(%rbp)
movq $0, -16(%rbp)
movl $0, -24(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -28(%rbp)
je LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -49(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -49(%rbp), %al ## 1-byte Reload
leaq L_.str.5(%rip), %rdi
leaq -28(%rbp), %rsi
callq _scanf
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -48(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB0_7
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -32(%rbp), %rsi
movb $0, %al
callq _scanf
movl -32(%rbp), %esi
leaq -24(%rbp), %rdi
callq _insertSortedLL
movl %eax, -36(%rbp)
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq -24(%rbp), %rdi
callq _printList
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %esi
movl -36(%rbp), %edx
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq -24(%rbp), %rdi
callq _printList
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq -24(%rbp), %rdi
callq _removeAllItems
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_9:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.end_data_region
## -- End function
.globl _insertSortedLL ## -- Begin function insertSortedLL
.p2align 4, 0x90
_insertSortedLL: ## @insertSortedLL
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -24(%rbp)
movl $0, -20(%rbp)
movl $0, -16(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
jne LBB1_2
## %bb.1:
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
movl -12(%rbp), %edx
callq _insertNode
jmp LBB1_13
LBB1_2:
jmp LBB1_3
LBB1_3: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB1_10
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl -12(%rbp), %eax
movq -32(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB1_6
## %bb.5: ## in Loop: Header=BB1_3 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_9
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
movl -12(%rbp), %eax
movq -32(%rbp), %rcx
cmpl (%rcx), %eax
jne LBB1_8
## %bb.7: ## in Loop: Header=BB1_3 Depth=1
movl $-1, -20(%rbp)
movl $1, -24(%rbp)
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_3 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_10:
cmpl $0, -24(%rbp)
jne LBB1_12
## %bb.11:
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
movl -12(%rbp), %edx
callq _insertNode
LBB1_12:
jmp LBB1_13
LBB1_13:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printList ## -- Begin function printList
.p2align 4, 0x90
_printList: ## @printList
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB2_2
## %bb.1:
jmp LBB2_8
LBB2_2:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB2_4
## %bb.3:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB2_4:
jmp LBB2_5
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB2_7
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movq -16(%rbp), %rax
movl (%rax), %esi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB2_5
LBB2_7:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
LBB2_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeAllItems ## -- Begin function removeAllItems
.p2align 4, 0x90
_removeAllItems: ## @removeAllItems
.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 8(%rax), %rax
movq %rax, -16(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -16(%rbp)
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rdi
callq _free
movq -24(%rbp), %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_3:
movq -8(%rbp), %rax
movq $0, 8(%rax)
movq -8(%rbp), %rax
movl $0, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertNode ## -- Begin function insertNode
.p2align 4, 0x90
_insertNode: ## @insertNode
.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)
cmpq $0, -16(%rbp)
je LBB4_3
## %bb.1:
cmpl $0, -20(%rbp)
jl LBB4_3
## %bb.2:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movl (%rcx), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jle LBB4_4
LBB4_3:
movl $-1, -4(%rbp)
jmp LBB4_10
LBB4_4:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB4_6
## %bb.5:
cmpl $0, -20(%rbp)
jne LBB4_7
LBB4_6:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movl $16, %edi
callq _malloc
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movl -24(%rbp), %ecx
movq -16(%rbp), %rax
movq 8(%rax), %rax
movl %ecx, (%rax)
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB4_10
LBB4_7:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
subl $1, %esi
callq _findNode
movq %rax, -32(%rbp)
cmpq $0, %rax
je LBB4_9
## %bb.8:
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movl $16, %edi
callq _malloc
movq %rax, %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movl -24(%rbp), %ecx
movq -32(%rbp), %rax
movq 8(%rax), %rax
movl %ecx, (%rax)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB4_10
LBB4_9:
movl $-1, -4(%rbp)
LBB4_10:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _findNode ## -- Begin function findNode
.p2align 4, 0x90
_findNode: ## @findNode
.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)
cmpq $0, -16(%rbp)
je LBB5_3
## %bb.1:
cmpl $0, -20(%rbp)
jl LBB5_3
## %bb.2:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB5_4
LBB5_3:
movq $0, -8(%rbp)
jmp LBB5_13
LBB5_4:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
je LBB5_6
## %bb.5:
cmpl $0, -20(%rbp)
jge LBB5_7
LBB5_6:
movq $0, -8(%rbp)
jmp LBB5_13
LBB5_7:
jmp LBB5_8
LBB5_8: ## =>This Inner Loop Header: Depth=1
cmpl $0, -20(%rbp)
jle LBB5_12
## %bb.9: ## in Loop: Header=BB5_8 Depth=1
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB5_11
## %bb.10:
movq $0, -8(%rbp)
jmp LBB5_13
LBB5_11: ## in Loop: Header=BB5_8 Depth=1
movl -20(%rbp), %eax
addl $-1, %eax
movl %eax, -20(%rbp)
jmp LBB5_8
LBB5_12:
movq -32(%rbp), %rax
movq %rax, -8(%rbp)
LBB5_13:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _removeNode ## -- Begin function removeNode
.p2align 4, 0x90
_removeNode: ## @removeNode
.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)
cmpq $0, -16(%rbp)
je LBB6_3
## %bb.1:
cmpl $0, -20(%rbp)
jl LBB6_3
## %bb.2:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jl LBB6_4
LBB6_3:
movl $-1, -4(%rbp)
jmp LBB6_11
LBB6_4:
cmpl $0, -20(%rbp)
jne LBB6_6
## %bb.5:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB6_11
LBB6_6:
movq -16(%rbp), %rdi
movl -20(%rbp), %esi
subl $1, %esi
callq _findNode
movq %rax, -32(%rbp)
cmpq $0, %rax
je LBB6_10
## %bb.7:
movq -32(%rbp), %rax
cmpq $0, 8(%rax)
jne LBB6_9
## %bb.8:
movl $-1, -4(%rbp)
jmp LBB6_11
LBB6_9:
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq 8(%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -40(%rbp), %rdi
callq _free
movq -16(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB6_11
LBB6_10:
movl $-1, -4(%rbp)
LBB6_11:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "1: Insert an integer to the sorted linked list:\n"
L_.str.1: ## @.str.1
.asciz "2: Print the index of the most recent input value:\n"
L_.str.2: ## @.str.2
.asciz "3: Print sorted linked list:\n"
L_.str.3: ## @.str.3
.asciz "0: Quit:"
L_.str.4: ## @.str.4
.asciz "\nPlease input your choice(1/2/3/0): "
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "Input an integer that you want to add to the linked list: "
L_.str.7: ## @.str.7
.asciz "The resulting linked list is: "
L_.str.8: ## @.str.8
.asciz "The value %d was added at index %d\n"
L_.str.9: ## @.str.9
.asciz "The resulting sorted linked list is: "
L_.str.10: ## @.str.10
.asciz "Choice unknown;\n"
L_.str.11: ## @.str.11
.asciz "Empty"
L_.str.12: ## @.str.12
.asciz "%d "
L_.str.13: ## @.str.13
.asciz "\n"
.subsections_via_symbols
| the_stack_data/1032692.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_buffer ; -- Begin function print_buffer
.p2align 2
_print_buffer: ; @print_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldrsb w10, [x8, x9]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_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:
ldur w0, [x29, #-12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _transpose_buffer ; -- Begin function transpose_buffer
.p2align 2
_transpose_buffer: ; @transpose_buffer
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #128
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur w2, [x29, #-28]
ldur w8, [x29, #-28]
mov x9, x8
stur x9, [x29, #-96] ; 8-byte Folded Spill
ldur w8, [x29, #-28]
; kill: def $x8 killed $w8
stur x8, [x29, #-112] ; 8-byte Folded Spill
mov x10, sp
stur x10, [x29, #-40]
mul x9, x9, x8
lsr x9, x9, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-104] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x11, [x29, #-104] ; 8-byte Folded Reload
ldur x9, [x29, #-96] ; 8-byte Folded Reload
mov x10, sp
subs x10, x10, x11
mov sp, x10
stur x10, [x29, #-88] ; 8-byte Folded Spill
stur x9, [x29, #-48]
stur x8, [x29, #-56]
stur wzr, [x29, #-60]
stur wzr, [x29, #-64]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-64]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
stur wzr, [x29, #-68]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-68]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur x9, [x29, #-88] ; 8-byte Folded Reload
ldur x11, [x29, #-112] ; 8-byte Folded Reload
ldur x8, [x29, #-24]
ldursw x10, [x29, #-60]
add x8, x8, x10
ldrb w8, [x8]
ldursw x10, [x29, #-68]
mul x10, x10, x11
add x9, x9, x10
ldursw x10, [x29, #-64]
add x9, x9, x10
strb w8, [x9]
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldur w8, [x29, #-68]
add w8, w8, #1
stur w8, [x29, #-68]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-64]
add w8, w8, #1
stur w8, [x29, #-64]
b LBB1_1
LBB1_8:
stur wzr, [x29, #-60]
stur wzr, [x29, #-72]
b LBB1_9
LBB1_9: ; =>This Loop Header: Depth=1
; Child Loop BB1_11 Depth 2
ldur w8, [x29, #-72]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_16
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=1
stur wzr, [x29, #-76]
b LBB1_11
LBB1_11: ; Parent Loop BB1_9 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-76]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB1_14
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_11 Depth=2
ldur x8, [x29, #-88] ; 8-byte Folded Reload
ldur x10, [x29, #-112] ; 8-byte Folded Reload
ldursw x9, [x29, #-72]
mul x9, x9, x10
add x8, x8, x9
ldursw x9, [x29, #-76]
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-16]
ldursw x10, [x29, #-60]
add x9, x9, x10
strb w8, [x9]
ldur w8, [x29, #-60]
add w8, w8, #1
stur w8, [x29, #-60]
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_11 Depth=2
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB1_11
LBB1_14: ; in Loop: Header=BB1_9 Depth=1
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_9 Depth=1
ldur w8, [x29, #-72]
add w8, w8, #1
stur w8, [x29, #-72]
b LBB1_9
LBB1_16:
ldur x8, [x29, #-40]
stur x8, [x29, #-120] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
bl ___stack_chk_fail
LBB1_18:
ldur x8, [x29, #-120] ; 8-byte Folded Reload
mov sp, x8
mov w0, #0
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _dump_buffer ; -- Begin function dump_buffer
.p2align 2
_dump_buffer: ; @dump_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
str x3, [sp, #24]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldrsb w8, [x8, x9]
str w8, [sp, #16]
ldr x0, [sp, #24]
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_4:
ldur x0, [x29, #-8]
ldur w8, [x29, #-12]
mov x2, x8
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur w0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _pad_buffer ; -- Begin function pad_buffer
.p2align 2
_pad_buffer: ; @pad_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
str w2, [sp, #16]
str wzr, [sp, #12]
ldr x8, [sp, #24]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
add x9, x8, x9
mov w8, #88
strb w8, [x9]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
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]
ldr w9, [sp, #16]
; kill: def $x9 killed $w9
add x9, x8, x9
mov w8, #89
strb w8, [x9]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB3_1
LBB3_4:
ldr w0, [sp, #12]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _unpad_buffer ; -- Begin function unpad_buffer
.p2align 2
_unpad_buffer: ; @unpad_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
subs w8, w8, #88
cset w8, ne
tbnz w8, #0, LBB4_1
b LBB4_3
LBB4_3:
ldr w0, [sp, #4]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub sp, sp, #464
mov x19, sp
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-92]
stur w0, [x29, #-96]
stur x1, [x29, #-104]
stur wzr, [x29, #-108]
ldur w8, [x29, #-96]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-92]
b LBB5_49
LBB5_2:
mov w8, #4
stur w8, [x29, #-112]
ldur x8, [x29, #-104]
ldr x0, [x8, #8]
bl _atoi
stur w0, [x29, #-116]
ldur x8, [x29, #-104]
ldr x8, [x8, #16]
stur x8, [x29, #-128]
ldur x8, [x29, #-104]
ldr x8, [x8, #24]
stur x8, [x29, #-136]
ldur x8, [x29, #-104]
ldr x8, [x8, #32]
stur x8, [x29, #-144]
mov w8, #1
stur w8, [x29, #-148]
ldur w8, [x29, #-96]
subs w8, w8, #4
cset w8, le
tbnz w8, #0, LBB5_5
b LBB5_3
LBB5_3:
ldur x8, [x29, #-104]
ldr x0, [x8, #32]
bl _atoi
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
stur wzr, [x29, #-148]
b LBB5_5
LBB5_5:
stur wzr, [x29, #-152]
ldur w8, [x29, #-112]
ldur w9, [x29, #-112]
mul w8, w8, w9
stur w8, [x29, #-156]
ldur w8, [x29, #-156]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-168]
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
str x9, [x19, #40] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldr x10, [x19, #40] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
str x9, [x19, #48] ; 8-byte Folded Spill
stur x8, [x29, #-176]
ldur w8, [x29, #-156]
; kill: def $x8 killed $w8
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
str x9, [x19, #56] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldr x10, [x19, #56] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
str x0, [x19, #64] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-184]
ldur x0, [x29, #-136]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fopen
mov x8, x0
stur x8, [x29, #-192]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6:
ldur x8, [x29, #-136]
str x8, [x19, #32] ; 8-byte Folded Spill
bl ___error
ldr x10, [x19, #32] ; 8-byte Folded Reload
ldr w9, [x0]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #16
mov w8, #1
stur w8, [x29, #-92]
stur w8, [x29, #-196]
b LBB5_48
LBB5_7:
ldur x0, [x29, #-136]
add x1, x19, #128
bl _stat
str w0, [x19, #124]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB5_9
b LBB5_8
LBB5_8:
ldr w9, [x19, #124]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add sp, sp, #16
b LBB5_9
LBB5_9:
ldr x8, [x19, #224]
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-200]
ldur w8, [x29, #-200]
stur w8, [x29, #-204]
ldur x0, [x29, #-128]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fopen
mov x8, x0
str x8, [x19, #112]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10:
ldur x8, [x29, #-128]
str x8, [x19, #24] ; 8-byte Folded Spill
bl ___error
ldr x10, [x19, #24] ; 8-byte Folded Reload
ldr w9, [x0]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
add sp, sp, #16
mov w8, #1
stur w8, [x29, #-92]
stur w8, [x29, #-196]
b LBB5_48
LBB5_11:
ldur x0, [x29, #-144]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fopen
mov x8, x0
str x8, [x19, #104]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB5_13
b LBB5_12
LBB5_12:
ldur x8, [x29, #-144]
str x8, [x19, #16] ; 8-byte Folded Spill
bl ___error
ldr x10, [x19, #16] ; 8-byte Folded Reload
ldr w9, [x0]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
add sp, sp, #16
mov w8, #1
stur w8, [x29, #-92]
stur w8, [x29, #-196]
b LBB5_48
LBB5_13:
str wzr, [x19, #100]
str wzr, [x19, #92]
str wzr, [x19, #88]
str wzr, [x19, #84]
mov w8, #1
strb w8, [x19, #83]
stur wzr, [x29, #-108]
b LBB5_14
LBB5_14: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-108]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_17
b LBB5_15
LBB5_15: ; in Loop: Header=BB5_14 Depth=1
ldr x0, [x19, #112]
bl _fgetc
and w8, w0, #0xff
str w8, [x19, #96]
ldr w8, [x19, #96]
ldursw x10, [x29, #-108]
sub x9, x29, #88
str w8, [x9, x10, lsl #2]
b LBB5_16
LBB5_16: ; in Loop: Header=BB5_14 Depth=1
ldur w8, [x29, #-108]
add w8, w8, #1
stur w8, [x29, #-108]
b LBB5_14
LBB5_17:
ldr x0, [x19, #112]
bl _fclose
b LBB5_18
LBB5_18: ; =>This Loop Header: Depth=1
; Child Loop BB5_19 Depth 2
; Child Loop BB5_31 Depth 2
; Child Loop BB5_26 Depth 2
str wzr, [x19, #84]
b LBB5_19
LBB5_19: ; Parent Loop BB5_18 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x19, #84]
ldur w9, [x29, #-156]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB5_24
b LBB5_20
LBB5_20: ; in Loop: Header=BB5_19 Depth=2
ldur x0, [x29, #-192]
bl _fgetc
str w0, [x19, #96]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB5_22
b LBB5_21
LBB5_21: ; in Loop: Header=BB5_19 Depth=2
ldr x9, [x19, #48] ; 8-byte Folded Reload
ldr w8, [x19, #96]
ldrsw x10, [x19, #92]
strb w8, [x9, x10]
ldr w8, [x19, #92]
add w8, w8, #1
str w8, [x19, #92]
ldur w8, [x29, #-204]
subs w8, w8, #1
stur w8, [x29, #-204]
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_19 Depth=2
b LBB5_23
LBB5_23: ; in Loop: Header=BB5_19 Depth=2
ldr w8, [x19, #84]
add w8, w8, #1
str w8, [x19, #84]
b LBB5_19
LBB5_24: ; in Loop: Header=BB5_18 Depth=1
ldr w8, [x19, #92]
ldur w9, [x29, #-156]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB5_30
b LBB5_25
LBB5_25: ; in Loop: Header=BB5_18 Depth=1
ldr x0, [x19, #48] ; 8-byte Folded Reload
strb wzr, [x19, #83]
ldr w8, [x19, #92]
str w8, [x19, #12] ; 4-byte Folded Spill
ldur w1, [x29, #-156]
ldr w2, [x19, #92]
bl _pad_buffer
ldr w8, [x19, #12] ; 4-byte Folded Reload
add w8, w8, w0
str w8, [x19, #76]
stur wzr, [x29, #-108]
b LBB5_26
LBB5_26: ; Parent Loop BB5_18 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-108]
ldur w9, [x29, #-116]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_29
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_26 Depth=2
ldr x1, [x19, #48] ; 8-byte Folded Reload
sub x0, x29, #88
mov w2, #0
bl _vigenereHelper
ldr x1, [x19, #48] ; 8-byte Folded Reload
ldr x0, [x19, #64] ; 8-byte Folded Reload
ldur w2, [x29, #-112]
bl _transpose_buffer
ldr x1, [x19, #64] ; 8-byte Folded Reload
ldr x0, [x19, #48] ; 8-byte Folded Reload
bl _transferData
b LBB5_28
LBB5_28: ; in Loop: Header=BB5_26 Depth=2
ldur w8, [x29, #-108]
add w8, w8, #1
stur w8, [x29, #-108]
b LBB5_26
LBB5_29: ; in Loop: Header=BB5_18 Depth=1
b LBB5_35
LBB5_30: ; in Loop: Header=BB5_18 Depth=1
stur wzr, [x29, #-108]
b LBB5_31
LBB5_31: ; Parent Loop BB5_18 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-108]
ldur w9, [x29, #-116]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_34
b LBB5_32
LBB5_32: ; in Loop: Header=BB5_31 Depth=2
ldr x1, [x19, #48] ; 8-byte Folded Reload
sub x0, x29, #88
mov w2, #0
bl _vigenereHelper
ldr x1, [x19, #48] ; 8-byte Folded Reload
ldr x0, [x19, #64] ; 8-byte Folded Reload
ldur w2, [x29, #-112]
bl _transpose_buffer
ldr x1, [x19, #64] ; 8-byte Folded Reload
ldr x0, [x19, #48] ; 8-byte Folded Reload
bl _transferData
b LBB5_33
LBB5_33: ; in Loop: Header=BB5_31 Depth=2
ldur w8, [x29, #-108]
add w8, w8, #1
stur w8, [x29, #-108]
b LBB5_31
LBB5_34: ; in Loop: Header=BB5_18 Depth=1
b LBB5_35
LBB5_35: ; in Loop: Header=BB5_18 Depth=1
ldr x0, [x19, #64] ; 8-byte Folded Reload
ldr x3, [x19, #104]
mov w2, #16
mov x1, x2
bl _dump_buffer
str wzr, [x19, #92]
b LBB5_36
LBB5_36: ; in Loop: Header=BB5_18 Depth=1
ldur w8, [x29, #-204]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB5_18
b LBB5_37
LBB5_37:
ldrb w8, [x19, #83]
tbz w8, #0, LBB5_47
b LBB5_38
LBB5_38:
ldr x9, [x19, #48] ; 8-byte Folded Reload
mov w8, #88
strb w8, [x9]
mov w8, #1
str w8, [x19, #72]
b LBB5_39
LBB5_39: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #72]
ldur w9, [x29, #-156]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB5_42
b LBB5_40
LBB5_40: ; in Loop: Header=BB5_39 Depth=1
ldr x8, [x19, #48] ; 8-byte Folded Reload
ldrsw x9, [x19, #72]
add x9, x8, x9
mov w8, #89
strb w8, [x9]
b LBB5_41
LBB5_41: ; in Loop: Header=BB5_39 Depth=1
ldr w8, [x19, #72]
add w8, w8, #1
str w8, [x19, #72]
b LBB5_39
LBB5_42:
stur wzr, [x29, #-108]
b LBB5_43
LBB5_43: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-108]
ldur w9, [x29, #-116]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB5_46
b LBB5_44
LBB5_44: ; in Loop: Header=BB5_43 Depth=1
ldr x1, [x19, #48] ; 8-byte Folded Reload
sub x0, x29, #88
mov w2, #0
bl _vigenereHelper
ldr x1, [x19, #48] ; 8-byte Folded Reload
ldr x0, [x19, #64] ; 8-byte Folded Reload
ldur w2, [x29, #-112]
bl _transpose_buffer
ldr x1, [x19, #64] ; 8-byte Folded Reload
ldr x0, [x19, #48] ; 8-byte Folded Reload
bl _transferData
b LBB5_45
LBB5_45: ; in Loop: Header=BB5_43 Depth=1
ldur w8, [x29, #-108]
add w8, w8, #1
stur w8, [x29, #-108]
b LBB5_43
LBB5_46:
ldr x0, [x19, #64] ; 8-byte Folded Reload
ldur w1, [x29, #-156]
ldur w2, [x29, #-156]
ldr x3, [x19, #104]
bl _dump_buffer
b LBB5_47
LBB5_47:
ldur x0, [x29, #-192]
bl _fclose
ldr x0, [x19, #104]
bl _fclose
stur wzr, [x29, #-92]
mov w8, #1
stur w8, [x29, #-196]
b LBB5_48
LBB5_48:
ldur x8, [x29, #-168]
mov sp, x8
b LBB5_49
LBB5_49:
ldur w8, [x29, #-92]
str w8, [x19, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB5_51
b LBB5_50
LBB5_50:
bl ___stack_chk_fail
LBB5_51:
ldr w0, [x19, #8] ; 4-byte Folded Reload
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _vigenereHelper ; -- Begin function vigenereHelper
.p2align 2
_vigenereHelper: ; @vigenereHelper
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #40]
str x1, [sp, #32]
str w2, [sp, #28]
mov w8, #16
str w8, [sp, #24]
str wzr, [sp, #12]
str wzr, [sp, #8]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_1
LBB6_1:
str wzr, [sp, #12]
b LBB6_2
LBB6_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB6_5
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_2 Depth=1
ldr x8, [sp, #32]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldrb w8, [x8, x9]
str w8, [sp, #20]
ldr w8, [sp, #8]
mov w10, #16
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #20]
ldr x9, [sp, #40]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
mov w10, #256
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
strb w8, [sp, #19]
ldrb w8, [sp, #19]
ldr x9, [sp, #32]
ldr w10, [sp, #12]
; 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 LBB6_4
LBB6_4: ; in Loop: Header=BB6_2 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_2
LBB6_5:
b LBB6_11
LBB6_6:
str wzr, [sp, #12]
b LBB6_7
LBB6_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, hs
tbnz w8, #0, LBB6_10
b LBB6_8
LBB6_8: ; in Loop: Header=BB6_7 Depth=1
ldr x8, [sp, #32]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldrsb w8, [x8, x9]
str w8, [sp, #20]
ldr w8, [sp, #8]
mov w10, #16
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #20]
ldr x9, [sp, #40]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
mov w10, #256
add w8, w8, #256
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
strb w8, [sp, #19]
ldrb w8, [sp, #19]
ldr x9, [sp, #32]
ldr w10, [sp, #12]
; 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 LBB6_9
LBB6_9: ; in Loop: Header=BB6_7 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_7
LBB6_10:
b LBB6_11
LBB6_11:
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _transferData ; -- Begin function transferData
.p2align 2
_transferData: ; @transferData
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
str wzr, [sp, #12]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp, #24]
ldrsw x10, [sp, #12]
add x9, x9, x10
strb w8, [x9]
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB7_1
LBB7_4:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c"
l_.str.1: ; @.str.1
.asciz "Missing arguments!\n\n"
l_.str.2: ; @.str.2
.asciz "Usage: encoder dim infile outfile ['notrans']\n\n"
l_.str.3: ; @.str.3
.asciz "Note: outfile will be overwritten.\n"
l_.str.4: ; @.str.4
.asciz "Optional '1' as last parameter will disable transposition.\n"
l_.str.5: ; @.str.5
.asciz "Warning: Transposition disabled\n"
l_.str.6: ; @.str.6
.asciz "r"
l_.str.7: ; @.str.7
.asciz "Problem opening input file '%s'; errno: %d\n"
l_.str.8: ; @.str.8
.asciz "error statting file! Error: %d\n"
l_.str.9: ; @.str.9
.asciz "Problem truncating output file '%s'; errno: %d\n"
l_.str.10: ; @.str.10
.asciz "w+"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_buffer ## -- Begin function print_buffer
.p2align 4, 0x90
_print_buffer: ## @print_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_4:
movl -12(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _transpose_buffer ## -- Begin function transpose_buffer
.p2align 4, 0x90
_transpose_buffer: ## @transpose_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movq %rax, %rcx
movq %rcx, -96(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
imulq %rax, %rax
callq ____chkstk_darwin
movq -104(%rbp), %rcx ## 8-byte Reload
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -96(%rbp), %rax ## 8-byte Reload
movq %rsp, %rdx
movq %rdx, -88(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp)
movq %rax, -56(%rbp)
movl $0, -60(%rbp)
movl $0, -64(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
movl -64(%rbp), %eax
cmpl -28(%rbp), %eax
jae LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -68(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -68(%rbp), %eax
cmpl -28(%rbp), %eax
jae LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -88(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
movq -24(%rbp), %rcx
movslq -60(%rbp), %rdx
movb (%rcx,%rdx), %dl
movslq -68(%rbp), %rcx
imulq %rsi, %rcx
addq %rcx, %rax
movslq -64(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_1
LBB1_8:
movl $0, -60(%rbp)
movl $0, -72(%rbp)
LBB1_9: ## =>This Loop Header: Depth=1
## Child Loop BB1_11 Depth 2
movl -72(%rbp), %eax
cmpl -28(%rbp), %eax
jae LBB1_16
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
movl $0, -76(%rbp)
LBB1_11: ## Parent Loop BB1_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -76(%rbp), %eax
cmpl -28(%rbp), %eax
jae LBB1_14
## %bb.12: ## in Loop: Header=BB1_11 Depth=2
movq -88(%rbp), %rax ## 8-byte Reload
movq -96(%rbp), %rdx ## 8-byte Reload
movslq -72(%rbp), %rcx
imulq %rdx, %rcx
addq %rcx, %rax
movslq -76(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -16(%rbp), %rax
movslq -60(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
## %bb.13: ## in Loop: Header=BB1_11 Depth=2
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
jmp LBB1_11
LBB1_14: ## in Loop: Header=BB1_9 Depth=1
jmp LBB1_15
LBB1_15: ## in Loop: Header=BB1_9 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
jmp LBB1_9
LBB1_16:
movq -40(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_18
## %bb.17:
xorl %eax, %eax
movq %rbp, %rsp
popq %rbp
retq
LBB1_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _dump_buffer ## -- Begin function dump_buffer
.p2align 4, 0x90
_dump_buffer: ## @dump_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq %rcx, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -16(%rbp), %eax
jae LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -32(%rbp)
movq -24(%rbp), %rdi
movl -32(%rbp), %edx
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_4:
movq -8(%rbp), %rdi
movl -12(%rbp), %eax
movl %eax, %edx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pad_buffer ## -- Begin function pad_buffer
.p2align 4, 0x90
_pad_buffer: ## @pad_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl $0, -20(%rbp)
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movb $88, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jae LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
## kill: def $rcx killed $ecx
movb $89, (%rax,%rcx)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB3_1
LBB3_4:
movl -20(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _unpad_buffer ## -- Begin function unpad_buffer
.p2align 4, 0x90
_unpad_buffer: ## @unpad_buffer
.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)
LBB4_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
cmpl $88, %eax
jne LBB4_1
## %bb.3:
movl -12(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $464, %rsp ## imm = 0x1D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
movl %edi, -88(%rbp)
movq %rsi, -96(%rbp)
movl $0, -100(%rbp)
cmpl $4, -88(%rbp)
jge LBB5_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -84(%rbp)
jmp LBB5_49
LBB5_2:
movl $4, -104(%rbp)
movq -96(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -108(%rbp)
movq -96(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -120(%rbp)
movq -96(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -128(%rbp)
movq -96(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -136(%rbp)
movl $1, -140(%rbp)
cmpl $4, -88(%rbp)
jle LBB5_5
## %bb.3:
movq -96(%rbp), %rax
movq 32(%rax), %rdi
callq _atoi
cmpl $1, %eax
jne LBB5_5
## %bb.4:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -140(%rbp)
LBB5_5:
movl $0, -144(%rbp)
movl -104(%rbp), %eax
imull %eax, %eax
movl %eax, -148(%rbp)
movl -148(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -432(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -160(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -432(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -424(%rbp) ## 8-byte Spill
movq %rax, -168(%rbp)
movl -148(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -416(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -416(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -408(%rbp) ## 8-byte Spill
movq %rax, -176(%rbp)
movq -128(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _fopen
movq %rax, -184(%rbp)
cmpq $0, %rax
jne LBB5_7
## %bb.6:
movq -128(%rbp), %rax
movq %rax, -440(%rbp) ## 8-byte Spill
callq ___error
movq -440(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -84(%rbp)
movl $1, -188(%rbp)
jmp LBB5_48
LBB5_7:
movq -128(%rbp), %rdi
leaq -344(%rbp), %rsi
callq _stat$INODE64
movl %eax, -348(%rbp)
cmpl $0, %eax
jge LBB5_9
## %bb.8:
movl -348(%rbp), %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB5_9:
movq -248(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -192(%rbp)
movl -192(%rbp), %eax
movl %eax, -196(%rbp)
movq -120(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
callq _fopen
movq %rax, -360(%rbp)
cmpq $0, %rax
jne LBB5_11
## %bb.10:
movq -120(%rbp), %rax
movq %rax, -448(%rbp) ## 8-byte Spill
callq ___error
movq -448(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -84(%rbp)
movl $1, -188(%rbp)
jmp LBB5_48
LBB5_11:
movq -136(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _fopen
movq %rax, -368(%rbp)
cmpq $0, %rax
jne LBB5_13
## %bb.12:
movq -136(%rbp), %rax
movq %rax, -456(%rbp) ## 8-byte Spill
callq ___error
movq -456(%rbp), %rsi ## 8-byte Reload
movl (%rax), %edx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -84(%rbp)
movl $1, -188(%rbp)
jmp LBB5_48
LBB5_13:
movl $0, -372(%rbp)
movl $0, -380(%rbp)
movl $0, -384(%rbp)
movl $0, -388(%rbp)
movb $1, -389(%rbp)
movl $0, -100(%rbp)
LBB5_14: ## =>This Inner Loop Header: Depth=1
cmpl $16, -100(%rbp)
jge LBB5_17
## %bb.15: ## in Loop: Header=BB5_14 Depth=1
movq -360(%rbp), %rdi
callq _fgetc
## kill: def $al killed $al killed $eax
movzbl %al, %eax
movl %eax, -376(%rbp)
movl -376(%rbp), %ecx
movslq -100(%rbp), %rax
movl %ecx, -80(%rbp,%rax,4)
## %bb.16: ## in Loop: Header=BB5_14 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB5_14
LBB5_17:
movq -360(%rbp), %rdi
callq _fclose
LBB5_18: ## =>This Loop Header: Depth=1
## Child Loop BB5_19 Depth 2
## Child Loop BB5_26 Depth 2
## Child Loop BB5_31 Depth 2
movl $0, -388(%rbp)
LBB5_19: ## Parent Loop BB5_18 Depth=1
## => This Inner Loop Header: Depth=2
movl -388(%rbp), %eax
cmpl -148(%rbp), %eax
jae LBB5_24
## %bb.20: ## in Loop: Header=BB5_19 Depth=2
movq -184(%rbp), %rdi
callq _fgetc
movl %eax, -376(%rbp)
cmpl $-1, %eax
je LBB5_22
## %bb.21: ## in Loop: Header=BB5_19 Depth=2
movq -424(%rbp), %rax ## 8-byte Reload
movl -376(%rbp), %ecx
movb %cl, %dl
movslq -380(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -380(%rbp), %eax
addl $1, %eax
movl %eax, -380(%rbp)
movl -196(%rbp), %eax
addl $-1, %eax
movl %eax, -196(%rbp)
LBB5_22: ## in Loop: Header=BB5_19 Depth=2
jmp LBB5_23
LBB5_23: ## in Loop: Header=BB5_19 Depth=2
movl -388(%rbp), %eax
addl $1, %eax
movl %eax, -388(%rbp)
jmp LBB5_19
LBB5_24: ## in Loop: Header=BB5_18 Depth=1
movl -380(%rbp), %eax
cmpl -148(%rbp), %eax
jae LBB5_30
## %bb.25: ## in Loop: Header=BB5_18 Depth=1
movq -424(%rbp), %rdi ## 8-byte Reload
movb $0, -389(%rbp)
movl -380(%rbp), %eax
movl %eax, -460(%rbp) ## 4-byte Spill
movl -148(%rbp), %esi
movl -380(%rbp), %edx
callq _pad_buffer
movl %eax, %ecx
movl -460(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -396(%rbp)
movl $0, -100(%rbp)
LBB5_26: ## Parent Loop BB5_18 Depth=1
## => This Inner Loop Header: Depth=2
movl -100(%rbp), %eax
cmpl -108(%rbp), %eax
jge LBB5_29
## %bb.27: ## in Loop: Header=BB5_26 Depth=2
movq -424(%rbp), %rsi ## 8-byte Reload
leaq -80(%rbp), %rdi
xorl %edx, %edx
callq _vigenereHelper
movq -424(%rbp), %rsi ## 8-byte Reload
movq -408(%rbp), %rdi ## 8-byte Reload
movl -104(%rbp), %edx
callq _transpose_buffer
movq -424(%rbp), %rdi ## 8-byte Reload
movq -408(%rbp), %rsi ## 8-byte Reload
callq _transferData
## %bb.28: ## in Loop: Header=BB5_26 Depth=2
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB5_26
LBB5_29: ## in Loop: Header=BB5_18 Depth=1
jmp LBB5_35
LBB5_30: ## in Loop: Header=BB5_18 Depth=1
movl $0, -100(%rbp)
LBB5_31: ## Parent Loop BB5_18 Depth=1
## => This Inner Loop Header: Depth=2
movl -100(%rbp), %eax
cmpl -108(%rbp), %eax
jge LBB5_34
## %bb.32: ## in Loop: Header=BB5_31 Depth=2
movq -424(%rbp), %rsi ## 8-byte Reload
leaq -80(%rbp), %rdi
xorl %edx, %edx
callq _vigenereHelper
movq -424(%rbp), %rsi ## 8-byte Reload
movq -408(%rbp), %rdi ## 8-byte Reload
movl -104(%rbp), %edx
callq _transpose_buffer
movq -424(%rbp), %rdi ## 8-byte Reload
movq -408(%rbp), %rsi ## 8-byte Reload
callq _transferData
## %bb.33: ## in Loop: Header=BB5_31 Depth=2
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB5_31
LBB5_34: ## in Loop: Header=BB5_18 Depth=1
jmp LBB5_35
LBB5_35: ## in Loop: Header=BB5_18 Depth=1
movq -408(%rbp), %rdi ## 8-byte Reload
movq -368(%rbp), %rcx
movl $16, %edx
movl %edx, %esi
callq _dump_buffer
movl $0, -380(%rbp)
## %bb.36: ## in Loop: Header=BB5_18 Depth=1
cmpl $0, -196(%rbp)
jne LBB5_18
## %bb.37:
testb $1, -389(%rbp)
je LBB5_47
## %bb.38:
movq -424(%rbp), %rax ## 8-byte Reload
movb $88, (%rax)
movl $1, -400(%rbp)
LBB5_39: ## =>This Inner Loop Header: Depth=1
movl -400(%rbp), %eax
cmpl -148(%rbp), %eax
jae LBB5_42
## %bb.40: ## in Loop: Header=BB5_39 Depth=1
movq -424(%rbp), %rax ## 8-byte Reload
movslq -400(%rbp), %rcx
movb $89, (%rax,%rcx)
## %bb.41: ## in Loop: Header=BB5_39 Depth=1
movl -400(%rbp), %eax
addl $1, %eax
movl %eax, -400(%rbp)
jmp LBB5_39
LBB5_42:
movl $0, -100(%rbp)
LBB5_43: ## =>This Inner Loop Header: Depth=1
movl -100(%rbp), %eax
cmpl -108(%rbp), %eax
jge LBB5_46
## %bb.44: ## in Loop: Header=BB5_43 Depth=1
movq -424(%rbp), %rsi ## 8-byte Reload
leaq -80(%rbp), %rdi
xorl %edx, %edx
callq _vigenereHelper
movq -424(%rbp), %rsi ## 8-byte Reload
movq -408(%rbp), %rdi ## 8-byte Reload
movl -104(%rbp), %edx
callq _transpose_buffer
movq -424(%rbp), %rdi ## 8-byte Reload
movq -408(%rbp), %rsi ## 8-byte Reload
callq _transferData
## %bb.45: ## in Loop: Header=BB5_43 Depth=1
movl -100(%rbp), %eax
addl $1, %eax
movl %eax, -100(%rbp)
jmp LBB5_43
LBB5_46:
movq -408(%rbp), %rdi ## 8-byte Reload
movl -148(%rbp), %esi
movl -148(%rbp), %edx
movq -368(%rbp), %rcx
callq _dump_buffer
LBB5_47:
movq -184(%rbp), %rdi
callq _fclose
movq -368(%rbp), %rdi
callq _fclose
movl $0, -84(%rbp)
movl $1, -188(%rbp)
LBB5_48:
movq -160(%rbp), %rax
movq %rax, %rsp
LBB5_49:
movl -84(%rbp), %eax
movl %eax, -464(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB5_51
## %bb.50:
movl -464(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB5_51:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _vigenereHelper ## -- Begin function vigenereHelper
.p2align 4, 0x90
_vigenereHelper: ## @vigenereHelper
.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 $16, -24(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
cmpl $0, -20(%rbp)
jne LBB6_6
## %bb.1:
movl $0, -36(%rbp)
LBB6_2: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -24(%rbp), %eax
jae LBB6_5
## %bb.3: ## in Loop: Header=BB6_2 Depth=1
movq -16(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movzbl (%rax,%rcx), %eax
movl %eax, -28(%rbp)
movl -40(%rbp), %eax
movl $16, %ecx
cltd
idivl %ecx
movl %edx, -40(%rbp)
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
movslq -40(%rbp), %rdx
addl (%rcx,%rdx,4), %eax
movl $256, %ecx ## imm = 0x100
cltd
idivl %ecx
movb %dl, %al
movb %al, -29(%rbp)
movb -29(%rbp), %dl
movq -16(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
## %bb.4: ## in Loop: Header=BB6_2 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB6_2
LBB6_5:
jmp LBB6_11
LBB6_6:
movl $0, -36(%rbp)
LBB6_7: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -24(%rbp), %eax
jae LBB6_10
## %bb.8: ## in Loop: Header=BB6_7 Depth=1
movq -16(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movsbl (%rax,%rcx), %eax
movl %eax, -28(%rbp)
movl -40(%rbp), %eax
movl $16, %ecx
cltd
idivl %ecx
movl %edx, -40(%rbp)
movl -28(%rbp), %eax
movq -8(%rbp), %rcx
movslq -40(%rbp), %rdx
subl (%rcx,%rdx,4), %eax
addl $256, %eax ## imm = 0x100
movl $256, %ecx ## imm = 0x100
cltd
idivl %ecx
movb %dl, %al
movb %al, -29(%rbp)
movb -29(%rbp), %dl
movq -16(%rbp), %rax
movl -36(%rbp), %ecx
## kill: def $rcx killed $ecx
movb %dl, (%rax,%rcx)
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
## %bb.9: ## in Loop: Header=BB6_7 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB6_7
LBB6_10:
jmp LBB6_11
LBB6_11:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _transferData ## -- Begin function transferData
.p2align 4, 0x90
_transferData: ## @transferData
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -20(%rbp)
jge LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB7_1
LBB7_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
L_.str.1: ## @.str.1
.asciz "Missing arguments!\n\n"
L_.str.2: ## @.str.2
.asciz "Usage: encoder dim infile outfile ['notrans']\n\n"
L_.str.3: ## @.str.3
.asciz "Note: outfile will be overwritten.\n"
L_.str.4: ## @.str.4
.asciz "Optional '1' as last parameter will disable transposition.\n"
L_.str.5: ## @.str.5
.asciz "Warning: Transposition disabled\n"
L_.str.6: ## @.str.6
.asciz "r"
L_.str.7: ## @.str.7
.asciz "Problem opening input file '%s'; errno: %d\n"
L_.str.8: ## @.str.8
.asciz "error statting file! Error: %d\n"
L_.str.9: ## @.str.9
.asciz "Problem truncating output file '%s'; errno: %d\n"
L_.str.10: ## @.str.10
.asciz "w+"
.subsections_via_symbols
| the_stack_data/117329053.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tst2 ; -- Begin function tst2
.p2align 2
_tst2: ; @tst2
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str w0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #8]
mov w9, #5555
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_1
LBB0_1:
ldr w8, [sp, #4]
mov w9, #6666
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2:
ldr w8, [sp, #8]
mov w9, #5555
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_3
LBB0_3:
ldr w8, [sp, #4]
mov w9, #6666
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
mov w8, #1111
stur w8, [x29, #-4]
b LBB0_10
LBB0_5:
mov w0, #2222
bl _link_error
stur w0, [x29, #-4]
b LBB0_10
LBB0_6:
ldr w8, [sp, #4]
mov w9, #6666
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w0, #3333
bl _link_error
stur w0, [x29, #-4]
b LBB0_10
LBB0_8:
mov w0, #4444
bl _link_error
stur w0, [x29, #-4]
b LBB0_10
LBB0_9:
stur wzr, [x29, #-4]
b LBB0_10
LBB0_10:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 _tst2 ## -- Begin function tst2
.p2align 4, 0x90
_tst2: ## @tst2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
cmpl $5555, -8(%rbp) ## imm = 0x15B3
jle LBB0_9
## %bb.1:
cmpl $6666, -12(%rbp) ## imm = 0x1A0A
jge LBB0_9
## %bb.2:
cmpl $5555, -8(%rbp) ## imm = 0x15B3
jle LBB0_6
## %bb.3:
cmpl $6666, -12(%rbp) ## imm = 0x1A0A
jge LBB0_5
## %bb.4:
movl $1111, -4(%rbp) ## imm = 0x457
jmp LBB0_10
LBB0_5:
movl $2222, %edi ## imm = 0x8AE
callq _link_error
movl %eax, -4(%rbp)
jmp LBB0_10
LBB0_6:
cmpl $6666, -12(%rbp) ## imm = 0x1A0A
jge LBB0_8
## %bb.7:
movl $3333, %edi ## imm = 0xD05
callq _link_error
movl %eax, -4(%rbp)
jmp LBB0_10
LBB0_8:
movl $4444, %edi ## imm = 0x115C
callq _link_error
movl %eax, -4(%rbp)
jmp LBB0_10
LBB0_9:
movl $0, -4(%rbp)
LBB0_10:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/765686.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _direct ; -- Begin function direct
.p2align 2
_direct: ; @direct
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
ldr w9, [sp, #12]
mul w8, w8, w9
scvtf d0, w8
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _broken ; -- Begin function broken
.p2align 2
_broken: ; @broken
.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]
ldr w0, [sp, #4]
blr x8
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]
mov w8, #2
str w8, [sp, #4]
ldr w1, [sp, #4]
adrp x0, _direct@PAGE
add x0, x0, _direct@PAGEOFF
bl _broken
str d0, [sp, #16]
ldr d0, [sp, #16]
ldr w8, [sp, #4]
ldr w9, [sp, #4]
mul w8, w8, w9
scvtf d1, w8
fcmp d0, d1
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
bl _abort
LBB2_2:
mov w0, #0
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 _direct ## -- Begin function direct
.p2align 4, 0x90
_direct: ## @direct
.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
imull %eax, %eax
cvtsi2sd %eax, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _broken ## -- Begin function broken
.p2align 4, 0x90
_broken: ## @broken
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rcx
movl -12(%rbp), %edi
movb $0, %al
callq *%rcx
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $2, -28(%rbp)
movl -28(%rbp), %esi
leaq _direct(%rip), %rdi
callq _broken
movsd %xmm0, -16(%rbp)
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
movl -28(%rbp), %eax
imull -28(%rbp), %eax
cvtsi2sd %eax, %xmm1
ucomisd %xmm1, %xmm0
jne LBB2_1
jp LBB2_1
jmp LBB2_2
LBB2_1:
callq _abort
LBB2_2:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/61076149.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _flip_bit ; -- Begin function flip_bit
.p2align 2
_flip_bit: ; @flip_bit
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
ldr w8, [sp, #12]
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
str w8, [sp, #4]
ldr w9, [sp, #4]
mov w8, #1
lsl w8, w8, w9
strb w8, [sp, #3]
ldrb w10, [sp, #3]
ldrsw x9, [sp, #8]
adrp x8, _zbuf@GOTPAGE
ldr x8, [x8, _zbuf@GOTPAGEOFF]
add x9, x8, x9
ldrb w8, [x9]
eor w8, w8, w10
strb w8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x8, _inbuf@GOTPAGE
ldr x8, [x8, _inbuf@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x8, _nIn@GOTPAGE
ldr x8, [x8, _nIn@GOTPAGEOFF]
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x8, _nZ@GOTPAGE
ldr x8, [x8, _nZ@GOTPAGEOFF]
str x8, [sp, #56] ; 8-byte Folded Spill
adrp x8, _nOut@GOTPAGE
ldr x8, [x8, _nOut@GOTPAGEOFF]
stur x8, [x29, #-48] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_26
LBB1_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_26
LBB1_4:
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldur x3, [x29, #-24]
mov x1, #1
mov x2, #16960
movk x2, #15, lsl #16
bl _fread
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
mov x10, x0
str w10, [x8]
ldr x0, [x9]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x1, [sp, #56] ; 8-byte Folded Reload
ldr x2, [sp, #40] ; 8-byte Folded Reload
mov w9, #16960
movk w9, #15, lsl #16
str w9, [x1]
ldr w3, [x8]
adrp x0, _zbuf@GOTPAGE
ldr x0, [x0, _zbuf@GOTPAGEOFF]
mov w4, #9
mov w5, #0
mov w6, #30
bl _BZ2_bzBuffToBuffCompress
stur w0, [x29, #-28]
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov w2, #89
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___assert_rtn
LBB1_6:
b LBB1_7
LBB1_7:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x9]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
stur wzr, [x29, #-32]
b LBB1_8
LBB1_8: ; =>This Loop Header: Depth=1
; Child Loop BB1_14 Depth 2
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldur w8, [x29, #-32]
ldr w9, [x9]
subs w8, w8, w9, lsl #3
cset w8, ge
tbnz w8, #0, LBB1_25
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w9, [x29, #-32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldur w0, [x29, #-32]
bl _flip_bit
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldur x1, [x29, #-48] ; 8-byte Folded Reload
mov w9, #33920
movk w9, #30, lsl #16
str w9, [x1]
ldr w3, [x8]
adrp x0, _outbuf@GOTPAGE
ldr x0, [x0, _outbuf@GOTPAGEOFF]
adrp x2, _zbuf@GOTPAGE
ldr x2, [x2, _zbuf@GOTPAGEOFF]
mov w5, #0
str w5, [sp, #28] ; 4-byte Folded Spill
mov x4, x5
bl _BZ2_bzBuffToBuffDecompress
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [sp, #28] ; 4-byte Folded Reload
stur w0, [x29, #-28]
ldr x0, [x9]
ldur w9, [x29, #-28]
; implicit-def: $x10
mov x10, x9
ldur w9, [x29, #-28]
subs w9, w8, w9
adrp x8, _bzerrorstrings@PAGE
add x8, x8, _bzerrorstrings@PAGEOFF
ldr x8, [x8, w9, sxtw #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_8 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
b LBB1_23
LBB1_11: ; in Loop: Header=BB1_8 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr w8, [x8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_13
b LBB1_12
LBB1_12:
ldur x8, [x29, #-48] ; 8-byte Folded Reload
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x10]
ldr w9, [x9]
; implicit-def: $x10
mov x10, x9
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_26
LBB1_13: ; in Loop: Header=BB1_8 Depth=1
stur wzr, [x29, #-36]
b LBB1_14
LBB1_14: ; Parent Loop BB1_8 Depth=1
; => This Inner Loop Header: Depth=2
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_19
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_14 Depth=2
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldursw x9, [x29, #-36]
ldrb w8, [x8, x9]
ldursw x10, [x29, #-36]
adrp x9, _outbuf@GOTPAGE
ldr x9, [x9, _outbuf@GOTPAGEOFF]
ldrb w9, [x9, x10]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
ldur w9, [x29, #-36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_26
LBB1_17: ; in Loop: Header=BB1_14 Depth=2
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_14 Depth=2
ldur w8, [x29, #-36]
add w8, w8, #1
stur w8, [x29, #-36]
b LBB1_14
LBB1_19: ; in Loop: Header=BB1_8 Depth=1
ldur x9, [x29, #-48] ; 8-byte Folded Reload
ldur w8, [x29, #-36]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_8 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_8 Depth=1
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_8 Depth=1
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_8 Depth=1
ldur w0, [x29, #-32]
bl _flip_bit
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_8 Depth=1
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB1_8
LBB1_25:
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
stur wzr, [x29, #-4]
b LBB1_26
LBB1_26:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.comm _zbuf,1010600,0 ; @zbuf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "usage: unzcrash filename\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "unzcrash: can't open %s\n"
.comm _inbuf,1000000,0 ; @inbuf
.comm _nIn,4,2 ; @nIn
l_.str.3: ; @.str.3
.asciz "%d bytes read\n"
.comm _nZ,4,2 ; @nZ
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.4: ; @.str.4
.asciz "145536.c"
l_.str.5: ; @.str.5
.asciz "r == BZ_OK"
l_.str.6: ; @.str.6
.asciz "%d after compression\n"
l_.str.7: ; @.str.7
.asciz "bit %d "
.comm _nOut,4,2 ; @nOut
.comm _outbuf,2000000,0 ; @outbuf
l_.str.8: ; @.str.8
.asciz " %d %s "
.section __DATA,__data
.p2align 3 ; @bzerrorstrings
_bzerrorstrings:
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.23
.quad l_.str.23
.quad l_.str.23
.quad l_.str.23
.quad l_.str.23
.section __TEXT,__cstring,cstring_literals
l_.str.9: ; @.str.9
.asciz "\n"
l_.str.10: ; @.str.10
.asciz "nIn/nOut mismatch %d %d\n"
l_.str.11: ; @.str.11
.asciz "mismatch at %d\n"
l_.str.12: ; @.str.12
.asciz "really ok!\n"
l_.str.13: ; @.str.13
.asciz "all ok\n"
l_.str.14: ; @.str.14
.asciz "OK"
l_.str.15: ; @.str.15
.asciz "SEQUENCE_ERROR"
l_.str.16: ; @.str.16
.asciz "PARAM_ERROR"
l_.str.17: ; @.str.17
.asciz "MEM_ERROR"
l_.str.18: ; @.str.18
.asciz "DATA_ERROR"
l_.str.19: ; @.str.19
.asciz "DATA_ERROR_MAGIC"
l_.str.20: ; @.str.20
.asciz "IO_ERROR"
l_.str.21: ; @.str.21
.asciz "UNEXPECTED_EOF"
l_.str.22: ; @.str.22
.asciz "OUTBUFF_FULL"
l_.str.23: ; @.str.23
.asciz "???"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _flip_bit ## -- Begin function flip_bit
.p2align 4, 0x90
_flip_bit: ## @flip_bit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %eax, -8(%rbp)
movl -4(%rbp), %eax
movl $8, %ecx
cltd
idivl %ecx
movl %edx, -12(%rbp)
movl -12(%rbp), %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
## kill: def $al killed $al killed $eax
movb %al, -13(%rbp)
movzbl -13(%rbp), %edx
movslq -8(%rbp), %rcx
movq _zbuf@GOTPCREL(%rip), %rax
movzbl (%rax,%rcx), %eax
xorl %edx, %eax
movb %al, %dl
movq _zbuf@GOTPCREL(%rip), %rax
movb %dl, (%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB1_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 LBB1_26
LBB1_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB1_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq 8(%rax), %rdx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB1_26
LBB1_4:
movq -24(%rbp), %rcx
movq _inbuf@GOTPCREL(%rip), %rdi
movl $1, %esi
movl $1000000, %edx ## imm = 0xF4240
callq _fread
movl %eax, %ecx
movq _nIn@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _nIn@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movq _nZ@GOTPCREL(%rip), %rax
movl $1000000, (%rax) ## imm = 0xF4240
movq _nIn@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _zbuf@GOTPCREL(%rip), %rdi
movq _nZ@GOTPCREL(%rip), %rsi
movq _inbuf@GOTPCREL(%rip), %rdx
movl $9, %r8d
xorl %r9d, %r9d
movl $30, (%rsp)
callq _BZ2_bzBuffToBuffCompress
movl %eax, -28(%rbp)
cmpl $0, -28(%rbp)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_6
## %bb.5:
leaq L___func__.main(%rip), %rdi
leaq L_.str.4(%rip), %rsi
leaq L_.str.5(%rip), %rcx
movl $89, %edx
callq ___assert_rtn
LBB1_6:
jmp LBB1_7
LBB1_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _nZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.6(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -32(%rbp)
LBB1_8: ## =>This Loop Header: Depth=1
## Child Loop BB1_14 Depth 2
movl -32(%rbp), %eax
movq _nZ@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
shll $3, %ecx
cmpl %ecx, %eax
jge LBB1_25
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -32(%rbp), %edx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
movl -32(%rbp), %edi
callq _flip_bit
movq _nOut@GOTPCREL(%rip), %rax
movl $2000000, (%rax) ## imm = 0x1E8480
movq _nZ@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _outbuf@GOTPCREL(%rip), %rdi
movq _nOut@GOTPCREL(%rip), %rsi
movq _zbuf@GOTPCREL(%rip), %rdx
xorl %r9d, %r9d
movl %r9d, %r8d
callq _BZ2_bzBuffToBuffDecompress
movl %eax, -28(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -28(%rbp), %edx
xorl %eax, %eax
subl -28(%rbp), %eax
movslq %eax, %rcx
leaq _bzerrorstrings(%rip), %rax
movq (%rax,%rcx,8), %rcx
leaq L_.str.8(%rip), %rsi
movb $0, %al
callq _fprintf
cmpl $0, -28(%rbp)
je LBB1_11
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
jmp LBB1_23
LBB1_11: ## in Loop: Header=BB1_8 Depth=1
movq _nOut@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _nIn@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB1_13
## %bb.12:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _nIn@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _nOut@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.10(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB1_26
LBB1_13: ## in Loop: Header=BB1_8 Depth=1
movl $0, -36(%rbp)
LBB1_14: ## Parent Loop BB1_8 Depth=1
## => This Inner Loop Header: Depth=2
movl -36(%rbp), %eax
movq _nOut@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB1_19
## %bb.15: ## in Loop: Header=BB1_14 Depth=2
movslq -36(%rbp), %rcx
movq _inbuf@GOTPCREL(%rip), %rax
movzbl (%rax,%rcx), %eax
movslq -36(%rbp), %rdx
movq _outbuf@GOTPCREL(%rip), %rcx
movzbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB1_17
## %bb.16:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -36(%rbp), %edx
leaq L_.str.11(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB1_26
LBB1_17: ## in Loop: Header=BB1_14 Depth=2
jmp LBB1_18
LBB1_18: ## in Loop: Header=BB1_14 Depth=2
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_14
LBB1_19: ## in Loop: Header=BB1_8 Depth=1
movl -36(%rbp), %eax
movq _nOut@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB1_21
## %bb.20: ## in Loop: Header=BB1_8 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _fprintf
LBB1_21: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_22
LBB1_22: ## in Loop: Header=BB1_8 Depth=1
jmp LBB1_23
LBB1_23: ## in Loop: Header=BB1_8 Depth=1
movl -32(%rbp), %edi
callq _flip_bit
## %bb.24: ## in Loop: Header=BB1_8 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB1_8
LBB1_25:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
movl $0, -4(%rbp)
LBB1_26:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _zbuf,1010600,4 ## @zbuf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usage: unzcrash filename\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "unzcrash: can't open %s\n"
.comm _inbuf,1000000,4 ## @inbuf
.comm _nIn,4,2 ## @nIn
L_.str.3: ## @.str.3
.asciz "%d bytes read\n"
.comm _nZ,4,2 ## @nZ
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.4: ## @.str.4
.asciz "145536.c"
L_.str.5: ## @.str.5
.asciz "r == BZ_OK"
L_.str.6: ## @.str.6
.asciz "%d after compression\n"
L_.str.7: ## @.str.7
.asciz "bit %d "
.comm _nOut,4,2 ## @nOut
.comm _outbuf,2000000,4 ## @outbuf
L_.str.8: ## @.str.8
.asciz " %d %s "
.section __DATA,__data
.p2align 4 ## @bzerrorstrings
_bzerrorstrings:
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.23
.quad L_.str.23
.quad L_.str.23
.quad L_.str.23
.quad L_.str.23
.section __TEXT,__cstring,cstring_literals
L_.str.9: ## @.str.9
.asciz "\n"
L_.str.10: ## @.str.10
.asciz "nIn/nOut mismatch %d %d\n"
L_.str.11: ## @.str.11
.asciz "mismatch at %d\n"
L_.str.12: ## @.str.12
.asciz "really ok!\n"
L_.str.13: ## @.str.13
.asciz "all ok\n"
L_.str.14: ## @.str.14
.asciz "OK"
L_.str.15: ## @.str.15
.asciz "SEQUENCE_ERROR"
L_.str.16: ## @.str.16
.asciz "PARAM_ERROR"
L_.str.17: ## @.str.17
.asciz "MEM_ERROR"
L_.str.18: ## @.str.18
.asciz "DATA_ERROR"
L_.str.19: ## @.str.19
.asciz "DATA_ERROR_MAGIC"
L_.str.20: ## @.str.20
.asciz "IO_ERROR"
L_.str.21: ## @.str.21
.asciz "UNEXPECTED_EOF"
L_.str.22: ## @.str.22
.asciz "OUTBUFF_FULL"
L_.str.23: ## @.str.23
.asciz "???"
.subsections_via_symbols
| the_stack_data/145536.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, #24
stur w8, [x29, #-4]
mov w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
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
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, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_6:
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 "%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 $24, -4(%rbp)
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str(%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
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_6:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/53243.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w0, #3
bl _sleep
bl _after_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
.p2align 2 ; -- Begin function after_sleep
_after_sleep: ; @after_sleep
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %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 $3, %edi
callq _sleep
callq _after_sleep
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function after_sleep
_after_sleep: ## @after_sleep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/161080789.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ctermid ; -- Begin function ctermid
.p2align 2
_ctermid: ; @ctermid
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x0, [sp]
adrp x1, _ctermid.def@PAGE
add x1, x1, _ctermid.def@PAGEOFF
mov x2, #9
mov x3, #-1
bl ___memmove_chk
ldr x8, [sp]
str x8, [sp, #8]
b LBB0_3
LBB0_2:
adrp x8, _ctermid.def@PAGE
add x8, x8, _ctermid.def@PAGEOFF
str x8, [sp, #8]
b LBB0_3
LBB0_3:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __DATA,__data
_ctermid.def: ; @ctermid.def
.asciz "/dev/tty"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ctermid ## -- Begin function ctermid
.p2align 4, 0x90
_ctermid: ## @ctermid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
je LBB0_2
## %bb.1:
movq -16(%rbp), %rdi
leaq _ctermid.def(%rip), %rsi
movl $9, %edx
movq $-1, %rcx
callq ___memmove_chk
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB0_3
LBB0_2:
leaq _ctermid.def(%rip), %rax
movq %rax, -8(%rbp)
LBB0_3:
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
_ctermid.def: ## @ctermid.def
.asciz "/dev/tty"
.subsections_via_symbols
| the_stack_data/235293.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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #8]
subs w8, w8, #84
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldr w8, [sp, #8]
subs w8, w8, #101
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_19
LBB0_3:
ldr w8, [sp, #8]
subs w8, w8, #69
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4:
ldr w8, [sp, #8]
subs w8, w8, #85
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_18
LBB0_6:
ldr w8, [sp, #8]
subs w8, w8, #54
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7:
ldr w8, [sp, #8]
subs w8, w8, #70
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_17
LBB0_9:
ldr w8, [sp, #8]
subs w8, w8, #39
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10:
ldr w8, [sp, #8]
subs w8, w8, #55
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_16
LBB0_12:
ldr w8, [sp, #8]
subs w8, w8, #40
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_15
LBB0_14:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_15
LBB0_15:
b LBB0_16
LBB0_16:
b LBB0_17
LBB0_17:
b LBB0_18
LBB0_18:
b LBB0_19
LBB0_19:
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 marks: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Grade A\n"
l_.str.3: ; @.str.3
.asciz "Grade B\n"
l_.str.4: ; @.str.4
.asciz "Grade C\n"
l_.str.5: ; @.str.5
.asciz "Grade D\n"
l_.str.6: ; @.str.6
.asciz "Grade F\n"
l_.str.7: ; @.str.7
.asciz "Invalid Input"
.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
cmpl $84, -8(%rbp)
jle LBB0_3
## %bb.1:
cmpl $101, -8(%rbp)
jge LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_19
LBB0_3:
cmpl $69, -8(%rbp)
jle LBB0_6
## %bb.4:
cmpl $85, -8(%rbp)
jge LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_18
LBB0_6:
cmpl $54, -8(%rbp)
jle LBB0_9
## %bb.7:
cmpl $70, -8(%rbp)
jge LBB0_9
## %bb.8:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_17
LBB0_9:
cmpl $39, -8(%rbp)
jle LBB0_12
## %bb.10:
cmpl $55, -8(%rbp)
jge LBB0_12
## %bb.11:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_16
LBB0_12:
cmpl $40, -8(%rbp)
jge LBB0_14
## %bb.13:
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_15
LBB0_14:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_15:
jmp LBB0_16
LBB0_16:
jmp LBB0_17
LBB0_17:
jmp LBB0_18
LBB0_18:
jmp LBB0_19
LBB0_19:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter marks: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Grade A\n"
L_.str.3: ## @.str.3
.asciz "Grade B\n"
L_.str.4: ## @.str.4
.asciz "Grade C\n"
L_.str.5: ## @.str.5
.asciz "Grade D\n"
L_.str.6: ## @.str.6
.asciz "Grade F\n"
L_.str.7: ## @.str.7
.asciz "Invalid Input"
.subsections_via_symbols
| the_stack_data/179830440.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 x8, x0
mov w0, #0
str wzr, [sp, #12]
str w8, [sp, #8]
str x1, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.tbss _tls$tlv$init, 4, 2 ; @tls
.section __DATA,__thread_vars,thread_local_variables
.globl _tls
_tls:
.quad __tlv_bootstrap
.quad 0
.quad _tls$tlv$init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.tbss _tls$tlv$init, 4, 2 ## @tls
.section __DATA,__thread_vars,thread_local_variables
.globl _tls
_tls:
.quad __tlv_bootstrap
.quad 0
.quad _tls$tlv$init
.subsections_via_symbols
| the_stack_data/94043.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parse_args ; -- Begin function parse_args
.p2align 2
_parse_args: ; @parse_args
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
mov x0, #8
mov x1, #5
bl _calloc
stur x0, [x29, #-16]
ldur x8, [x29, #-8]
str x8, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #24
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _strsep
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
ldrsb x10, [sp, #15]
mov x11, x10
add w11, w11, #1
strb w11, [sp, #15]
str x8, [x9, x10, lsl #3]
b LBB0_1
LBB0_4:
ldur x0, [x29, #-16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur x0, [x29, #-16]
bl _parse_args
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #5
cset w8, ge
mov w9, #0
str w9, [sp, #16] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16] ; 4-byte Folded Reload
tbz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
; implicit-def: $x10
mov x10, x8
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_6:
ldr x8, [sp, #24]
ldr x0, [x8]
ldr x1, [sp, #24]
bl _execvp
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 " "
l_.str.1: ; @.str.1
.asciz "please input your function and its arguments:\n"
l_.str.2: ; @.str.2
.asciz "%[^\n]%*c"
l_.str.3: ; @.str.3
.asciz "Argument number %d: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parse_args ## -- Begin function parse_args
.p2align 4, 0x90
_parse_args: ## @parse_args
.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 $8, %edi
movl $5, %esi
callq _calloc
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq -24(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _strsep
movq %rax, -32(%rbp)
cmpq $0, %rax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rdx
movq -16(%rbp), %rax
movb -33(%rbp), %cl
movb %cl, %sil
addb $1, %sil
movb %sil, -33(%rbp)
movsbq %cl, %rcx
movq %rdx, (%rax,%rcx,8)
jmp LBB0_1
LBB0_4:
movq -16(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
movq -16(%rbp), %rdi
callq _parse_args
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $5, -28(%rbp)
movb %al, -29(%rbp) ## 1-byte Spill
jge LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
setne %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_4
jmp LBB1_6
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %esi
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_6:
movq -24(%rbp), %rax
movq (%rax), %rdi
movq -24(%rbp), %rsi
callq _execvp
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz "please input your function and its arguments:\n"
L_.str.2: ## @.str.2
.asciz "%[^\n]%*c"
L_.str.3: ## @.str.3
.asciz "Argument number %d: %s\n"
.subsections_via_symbols
| the_stack_data/132952901.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _close_sock ; -- Begin function close_sock
.p2align 2
_close_sock: ; @close_sock
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _clients@PAGE
ldr w8, [x8, _clients@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _sleep
b LBB0_1
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
mov w1, #2
bl _shutdown
ldur w0, [x29, #-4]
bl _close
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _thread_close ; -- Begin function thread_close
.p2align 2
_thread_close: ; @thread_close
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
mov w1, #2
bl _shutdown
ldur w0, [x29, #-4]
bl _close
adrp x9, _clients@PAGE
ldr w8, [x9, _clients@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _clients@PAGEOFF]
mov x0, #0
bl _pthread_exit
.cfi_endproc
; -- End function
.globl _thread_request ; -- Begin function thread_request
.p2align 2
_thread_request: ; @thread_request
.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]
sub x3, x29, #8
stur w8, [x29, #-8]
add x0, sp, #16
mov x1, #0
adrp x2, _connection_handler@PAGE
add x2, x2, _connection_handler@PAGEOFF
bl _pthread_create
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB2_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _connection_handler ; -- Begin function connection_handler
.p2align 2
_connection_handler: ; @connection_handler
.cfi_startproc
; %bb.0:
sub sp, sp, #336
.cfi_def_cfa_offset 336
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str x0, [sp, #32]
ldr x8, [sp, #32]
ldr w8, [x8]
str w8, [sp, #28]
adrp x9, _clients@PAGE
ldr w8, [x9, _clients@PAGEOFF]
add w8, w8, #1
str w8, [x9, _clients@PAGEOFF]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #28]
add x1, sp, #40
mov x2, #256
bl _read
mov x8, x0
mov x9, x0
str w9, [sp, #24]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #28]
str w8, [sp, #12] ; 4-byte Folded Spill
add x0, sp, #40
str x0, [sp, #16] ; 8-byte Folded Spill
bl _strlen
ldr x1, [sp, #16] ; 8-byte Folded Reload
mov x2, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
bl _write
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB3_1
LBB3_3:
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_5
b LBB3_4
LBB3_4:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _puts
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
bl _fflush
b LBB3_8
LBB3_5:
ldr w8, [sp, #24]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _perror
b LBB3_7
LBB3_7:
b LBB3_8
LBB3_8:
ldr w0, [sp, #28]
bl _thread_close
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
bl ___stack_chk_fail
LBB3_10:
mov x0, #0
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #336
ret
.cfi_endproc
; -- End function
.globl _thread_control ; -- Begin function thread_control
.p2align 2
_thread_control: ; @thread_control
.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]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
sturb w0, [x29, #-9]
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldursb w8, [x29, #-9]
subs w8, w8, #113
cset w8, ne
tbnz w8, #0, LBB4_1
b LBB4_3
LBB4_3:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x8, _sockfd@GOTPAGE
ldr x8, [x8, _sockfd@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w0, [x8]
mov w1, #2
bl _shutdown
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x8]
bl _close
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, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w2, #0
stur wzr, [x29, #-20]
stur w0, [x29, #-24]
stur x1, [x29, #-32]
mov w0, #2
mov w1, #1
bl _socket
stur w0, [x29, #-36]
ldur w8, [x29, #-36]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
ldur w0, [x29, #-36]
bl _close_sock
mov w0, #1
bl _exit
LBB5_2:
str xzr, [sp, #56]
str xzr, [sp, #64]
mov w8, #5001
sturh w8, [x29, #-50]
mov w8, #2
strb w8, [sp, #57]
str wzr, [sp, #60]
b LBB5_3
LBB5_3:
ldurh w0, [x29, #-50]
bl __OSSwapInt16
and w8, w0, #0xffff
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB5_4
LBB5_4:
ldr w8, [sp, #12] ; 4-byte Folded Reload
add x1, sp, #56
strh w8, [sp, #58]
ldur w0, [x29, #-36]
mov w2, #16
bl _bind
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB5_6:
add x0, sp, #16
mov x3, #0
mov x1, x3
adrp x2, _thread_control@PAGE
add x2, x2, _thread_control@PAGEOFF
bl _pthread_create
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_7
LBB5_7:
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB5_8:
ldur w0, [x29, #-36]
mov w1, #5
bl _listen
mov w8, #16
stur w8, [x29, #-56]
b LBB5_9
LBB5_9: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-36]
add x1, sp, #40
sub x2, x29, #56
bl _accept
stur w0, [x29, #-40]
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _perror
ldur w0, [x29, #-36]
bl _close_sock
mov w0, #1
bl _exit
LBB5_11: ; in Loop: Header=BB5_9 Depth=1
ldur w0, [x29, #-40]
bl _thread_request
b LBB5_9
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function _OSSwapInt16
__OSSwapInt16: ; @_OSSwapInt16
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, #14]
ldrh w9, [sp, #14]
ldrh w8, [sp, #14]
asr w8, w8, #8
orr w8, w8, w9, lsl #8
and w0, w8, #0xffff
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _clients ; @clients
.zerofill __DATA,__common,_clients,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Server is closing\r\n"
l_.str.1: ; @.str.1
.asciz "Closing clients\r\n"
l_.str.2: ; @.str.2
.asciz "Server is closing\n"
l_.str.3: ; @.str.3
.asciz "Thread closing\r\n"
l_.str.4: ; @.str.4
.asciz "Can't create a thread with status: %d\n"
l_.str.5: ; @.str.5
.asciz "Exiting...\n"
.comm _sockfd,4,2 ; @sockfd
l_.str.6: ; @.str.6
.asciz "ERROR opening socket"
l_.str.7: ; @.str.7
.asciz "ERROR on binding"
l_.str.8: ; @.str.8
.asciz "Cant create a control thread. Status: %d\n"
l_.str.9: ; @.str.9
.asciz "ERROR on accept"
l_.str.10: ; @.str.10
.asciz "%s\n"
l_.str.11: ; @.str.11
.asciz "Client disconnected"
l_.str.12: ; @.str.12
.asciz "Fail read"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _close_sock ## -- Begin function close_sock
.p2align 4, 0x90
_close_sock: ## @close_sock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, _clients(%rip)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
jmp LBB0_1
LBB0_3:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %edi
movl $2, %esi
callq _shutdown
movl -4(%rbp), %edi
callq _close
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _thread_close ## -- Begin function thread_close
.p2align 4, 0x90
_thread_close: ## @thread_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
movl %eax, -8(%rbp) ## 4-byte Spill
callq _printf
movl -4(%rbp), %edi
movl $2, %esi
callq _shutdown
movl -4(%rbp), %edi
callq _close
## kill: def $ecx killed $eax
movl -8(%rbp), %eax ## 4-byte Reload
movl _clients(%rip), %ecx
decl %ecx
movl %ecx, _clients(%rip)
movl %eax, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.globl _thread_request ## -- Begin function thread_request
.p2align 4, 0x90
_thread_request: ## @thread_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, -8(%rbp)
leaq -8(%rbp), %rcx
leaq -16(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq _connection_handler(%rip), %rdx
callq _pthread_create
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
je LBB2_2
## %bb.1:
movl -20(%rbp), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB2_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _connection_handler ## -- Begin function connection_handler
.p2align 4, 0x90
_connection_handler: ## @connection_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $304, %rsp ## imm = 0x130
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -280(%rbp)
movq -280(%rbp), %rax
movl (%rax), %eax
movl %eax, -284(%rbp)
movl _clients(%rip), %eax
addl $1, %eax
movl %eax, _clients(%rip)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -284(%rbp), %edi
leaq -272(%rbp), %rsi
movl $256, %edx ## imm = 0x100
callq _read
## kill: def $eax killed $eax killed $rax
movl %eax, -288(%rbp)
cmpl $0, %eax
jle LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl -284(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
leaq -272(%rbp), %rax
movq %rax, -296(%rbp) ## 8-byte Spill
leaq -272(%rbp), %rdi
callq _strlen
movl -300(%rbp), %edi ## 4-byte Reload
movq -296(%rbp), %rsi ## 8-byte Reload
movq %rax, %rdx
callq _write
leaq -272(%rbp), %rsi
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB3_1
LBB3_3:
cmpl $0, -288(%rbp)
jne LBB3_5
## %bb.4:
leaq L_.str.11(%rip), %rdi
callq _puts
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
jmp LBB3_8
LBB3_5:
cmpl $-1, -288(%rbp)
jne LBB3_7
## %bb.6:
leaq L_.str.12(%rip), %rdi
callq _perror
LBB3_7:
jmp LBB3_8
LBB3_8:
movl -284(%rbp), %edi
callq _thread_close
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_10
## %bb.9:
xorl %eax, %eax
## kill: def $rax killed $eax
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB3_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _thread_control ## -- Begin function thread_control
.p2align 4, 0x90
_thread_control: ## @thread_control
.cfi_startproc
## %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)
LBB4_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movsbl -9(%rbp), %eax
cmpl $113, %eax
jne LBB4_1
## %bb.3:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq _sockfd@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $2, %esi
callq _shutdown
movq _sockfd@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _close
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 $368, %rsp ## imm = 0x170
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jge LBB5_2
## %bb.1:
leaq L_.str.6(%rip), %rdi
callq _perror
movl -20(%rbp), %edi
callq _close_sock
movl $1, %edi
callq _exit
LBB5_2:
leaq -320(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movw $5001, -34(%rbp) ## imm = 0x1389
movb $2, -319(%rbp)
movl $0, -316(%rbp)
## %bb.3:
movzwl -34(%rbp), %edi
callq __OSSwapInt16
movzwl %ax, %eax
movl %eax, -364(%rbp) ## 4-byte Spill
## %bb.4:
movl -364(%rbp), %eax ## 4-byte Reload
movw %ax, -318(%rbp)
movl -20(%rbp), %edi
leaq -320(%rbp), %rsi
movl $16, %edx
callq _bind
cmpl $0, %eax
jge LBB5_6
## %bb.5:
leaq L_.str.7(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB5_6:
leaq -360(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _thread_control(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
movl %eax, -348(%rbp)
cmpl $0, -348(%rbp)
je LBB5_8
## %bb.7:
movl -348(%rbp), %esi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB5_8:
movl -20(%rbp), %edi
movl $5, %esi
callq _listen
movl $16, -40(%rbp)
LBB5_9: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %edi
leaq -336(%rbp), %rsi
leaq -40(%rbp), %rdx
callq _accept
movl %eax, -24(%rbp)
cmpl $0, -24(%rbp)
jge LBB5_11
## %bb.10:
leaq L_.str.9(%rip), %rdi
callq _perror
movl -20(%rbp), %edi
callq _close_sock
movl $1, %edi
callq _exit
LBB5_11: ## in Loop: Header=BB5_9 Depth=1
movl -24(%rbp), %edi
callq _thread_request
jmp LBB5_9
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function _OSSwapInt16
__OSSwapInt16: ## @_OSSwapInt16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %di, %ax
movw %ax, -2(%rbp)
movzwl -2(%rbp), %eax
shll $8, %eax
movzwl -2(%rbp), %ecx
sarl $8, %ecx
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _clients ## @clients
.zerofill __DATA,__common,_clients,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Server is closing\r\n"
L_.str.1: ## @.str.1
.asciz "Closing clients\r\n"
L_.str.2: ## @.str.2
.asciz "Server is closing\n"
L_.str.3: ## @.str.3
.asciz "Thread closing\r\n"
L_.str.4: ## @.str.4
.asciz "Can't create a thread with status: %d\n"
L_.str.5: ## @.str.5
.asciz "Exiting...\n"
.comm _sockfd,4,2 ## @sockfd
L_.str.6: ## @.str.6
.asciz "ERROR opening socket"
L_.str.7: ## @.str.7
.asciz "ERROR on binding"
L_.str.8: ## @.str.8
.asciz "Cant create a control thread. Status: %d\n"
L_.str.9: ## @.str.9
.asciz "ERROR on accept"
L_.str.10: ## @.str.10
.asciz "%s\n"
L_.str.11: ## @.str.11
.asciz "Client disconnected"
L_.str.12: ## @.str.12
.asciz "Fail read"
.subsections_via_symbols
| the_stack_data/1125423.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/220454662.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x8, l___const.main.directions@PAGE
add x8, x8, l___const.main.directions@PAGEOFF
ldr w8, [x8]
stur w8, [x29, #-16]
stur wzr, [x29, #-20]
stur wzr, [x29, #-24]
mov w8, #1
stur w8, [x29, #-28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #5
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-5]
subs w8, w8, #70
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldursw x9, [x29, #-28]
sub x8, x29, #16
add x8, x8, x9
ldrb w8, [x8]
sturb w8, [x29, #-5]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldursb w8, [x29, #-5]
subs w8, w8, #69
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
subs x8, x8, #18
cset w8, hi
tbnz w8, #0, LBB0_12
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr x11, [sp, #24] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-24]
subs w8, w8, w9
stur w8, [x29, #-24]
b LBB0_13
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-24]
add w8, w8, w9
stur w8, [x29, #-24]
b LBB0_13
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-20]
add w8, w8, w9
stur w8, [x29, #-20]
b LBB0_13
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-20]
subs w8, w8, w9
stur w8, [x29, #-20]
b LBB0_13
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
mov w10, #4
add w8, w8, #4
ldur w9, [x29, #-12]
mov w11, #90
sdiv w9, w9, w11
subs w8, w8, w9
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-28]
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-12]
mov w10, #90
sdiv w9, w9, w10
add w8, w8, w9
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-28]
b LBB0_13
LBB0_12:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_14:
ldur w0, [x29, #-20]
bl _abs
str w0, [sp, #20] ; 4-byte Folded Spill
ldur w0, [x29, #-24]
bl _abs
mov x8, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
add w8, w0, w8
str w8, [sp, #32]
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_8-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_10-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_7-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_9-Ltmp0
; -- End function
.section __TEXT,__literal4,4byte_literals
l___const.main.directions: ; @__const.main.directions
.ascii "NESW"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c%d\n"
l_.str.1: ; @.str.1
.asciz "something broke!\n"
l_.str.2: ; @.str.2
.asciz "part 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 $64, %rsp
movl $0, -4(%rbp)
movl L___const.main.directions(%rip), %eax
movl %eax, -16(%rbp)
movl $0, -20(%rbp)
movl $0, -24(%rbp)
movl $1, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -5(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $2, %eax
jne LBB0_13
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl -5(%rbp), %eax
cmpl $70, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -28(%rbp), %rax
movb -16(%rbp,%rax), %al
movb %al, -5(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movsbl -5(%rbp), %eax
addl $-69, %eax
movl %eax, %ecx
movq %rcx, -40(%rbp) ## 8-byte Spill
subl $18, %eax
ja LBB0_11
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %ecx
movl -24(%rbp), %eax
subl %ecx, %eax
movl %eax, -24(%rbp)
jmp LBB0_12
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl -24(%rbp), %eax
movl %eax, -24(%rbp)
jmp LBB0_12
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB0_12
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %ecx
movl -20(%rbp), %eax
subl %ecx, %eax
movl %eax, -20(%rbp)
jmp LBB0_12
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $4, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
movl $90, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -44(%rbp), %eax ## 4-byte Reload
subl %ecx, %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -28(%rbp)
jmp LBB0_12
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
movl $90, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -48(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl $4, %ecx
cltd
idivl %ecx
movl %edx, -28(%rbp)
jmp LBB0_12
LBB0_11:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_13:
movl -20(%rbp), %edi
callq _abs
movl %eax, -52(%rbp) ## 4-byte Spill
movl -24(%rbp), %edi
callq _abs
movl %eax, %ecx
movl -52(%rbp), %eax ## 4-byte Reload
addl %ecx, %eax
movl %eax, -32(%rbp)
movl -32(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_9
.long L0_0_set_11
.long L0_0_set_5
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_10
.long L0_0_set_6
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_11
.long L0_0_set_8
.end_data_region
## -- End function
.section __TEXT,__literal4,4byte_literals
L___const.main.directions: ## @__const.main.directions
.ascii "NESW"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c%d\n"
L_.str.1: ## @.str.1
.asciz "something broke!\n"
L_.str.2: ## @.str.2
.asciz "part 1: %d\n"
.subsections_via_symbols
| the_stack_data/218894499.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, #0
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_22
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
stur w8, [x29, #-12] ; 4-byte Folded Spill
subs w8, w8, #561
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
subs w8, w8, #1105
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
subs w8, w8, #1729
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
subs w8, w8, #2465
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
subs w8, w8, #2821
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #6601
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #8911
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #10585
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #15841
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #29341
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #41041
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #46657
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #52633
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #62745
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12] ; 4-byte Folded Reload
mov w9, #63973
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; 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_21
LBB0_20: ; 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.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_22:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u"
l_.str.1: ; @.str.1
.asciz "The number %u is a Carmichael number.\n"
l_.str.2: ; @.str.2
.asciz "%u is normal.\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
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $0, %eax
je LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -8(%rbp)
jne LBB0_4
## %bb.3:
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
subl $561, %eax ## imm = 0x231
je LBB0_5
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $1105, %eax ## imm = 0x451
je LBB0_5
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $1729, %eax ## imm = 0x6C1
je LBB0_5
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $2465, %eax ## imm = 0x9A1
je LBB0_5
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $2821, %eax ## imm = 0xB05
je LBB0_5
jmp LBB0_13
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $6601, %eax ## imm = 0x19C9
je LBB0_5
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $8911, %eax ## imm = 0x22CF
je LBB0_5
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $10585, %eax ## imm = 0x2959
je LBB0_5
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $15841, %eax ## imm = 0x3DE1
je LBB0_5
jmp LBB0_17
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $29341, %eax ## imm = 0x729D
je LBB0_5
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $41041, %eax ## imm = 0xA051
je LBB0_5
jmp LBB0_19
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $46657, %eax ## imm = 0xB641
je LBB0_5
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $52633, %eax ## imm = 0xCD99
je LBB0_5
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $62745, %eax ## imm = 0xF519
je LBB0_5
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax ## 4-byte Reload
subl $63973, %eax ## imm = 0xF9E5
jne LBB0_6
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
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 "%u"
L_.str.1: ## @.str.1
.asciz "The number %u is a Carmichael number.\n"
L_.str.2: ## @.str.2
.asciz "%u is normal.\n"
.subsections_via_symbols
| the_stack_data/161081401.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 xf_matrixbin1_d
lCPI0_0:
.quad 0x7ff0000000000000 ; double +Inf
lCPI0_1:
.quad 0x7ff8000000000000 ; double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _xf_matrixbin1_d
.p2align 2
_xf_matrixbin1_d: ; @xf_matrixbin1_d
.cfi_startproc
; %bb.0:
sub sp, sp, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
stur x0, [x29, #-72]
stur x1, [x29, #-80]
stur x2, [x29, #-88]
stur x3, [x29, #-96]
stur x4, [x29, #-104]
stur x5, [x29, #-112]
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-120]
ldur x8, [x29, #-96]
ldur x9, [x29, #-80]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x0, [x29, #-112]
ldur x11, [x29, #-120]
ldur x10, [x29, #-80]
ldur x8, [x29, #-96]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
mov w8, #1
stur w8, [x29, #-60]
b LBB0_76
LBB0_2:
ldur x8, [x29, #-104]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x0, [x29, #-112]
ldur x11, [x29, #-120]
ldur x10, [x29, #-88]
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___sprintf_chk
mov w8, #1
stur w8, [x29, #-60]
b LBB0_76
LBB0_4:
ldur x8, [x29, #-96]
ldur x9, [x29, #-80]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5:
ldur x8, [x29, #-104]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur x0, [x29, #-112]
ldur x11, [x29, #-120]
ldur x10, [x29, #-88]
ldur x8, [x29, #-104]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___sprintf_chk
stur wzr, [x29, #-60]
b LBB0_76
LBB0_7:
ldur x8, [x29, #-80]
subs x8, x8, #1
str x8, [sp, #96]
ldur x8, [x29, #-88]
subs x8, x8, #1
str x8, [sp, #88]
ldur d0, [x29, #-80]
scvtf d0, d0
ldur d1, [x29, #-96]
scvtf d1, d1
fdiv d0, d0, d1
str d0, [sp, #80]
ldur d0, [x29, #-88]
scvtf d0, d0
ldur d1, [x29, #-104]
scvtf d1, d1
fdiv d0, d0, d1
str d0, [sp, #72]
ldur x8, [x29, #-96]
ldur x9, [x29, #-80]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_37
b LBB0_8
LBB0_8:
str xzr, [sp, #120]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr x8, [sp, #120]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_36
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [sp, #120]
ldur x9, [x29, #-80]
mul x8, x8, x9
str x8, [sp, #144]
stur x8, [x29, #-136]
ldr d0, [sp, #80]
str d0, [sp, #64]
movi d0, #0000000000000000
str d0, [sp, #56]
str xzr, [sp, #104]
str xzr, [sp, #136]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #136]
ldur x9, [x29, #-80]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_31
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr d0, [sp, #136]
scvtf d0, d0
ldr d1, [sp, #64]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=2
ldr d0, [sp, #56]
ldr d1, [sp, #104]
scvtf d1, d1
fdiv d0, d0, d1
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
str d0, [x8, x9, lsl #3]
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
adrp x10, lCPI0_1@PAGE
ldr d0, [x10, lCPI0_1@PAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_11 Depth=2
movi d0, #0000000000000000
str d0, [sp, #56]
str xzr, [sp, #104]
ldr d1, [sp, #80]
ldr d0, [sp, #64]
fadd d0, d0, d1
str d0, [sp, #64]
ldr x8, [sp, #144]
add x8, x8, #1
str x8, [sp, #144]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_11 Depth=2
mov w8, #0
tbz w8, #0, LBB0_21
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr x10, [sp, #136]
add x9, x9, x10
ldr d0, [x8, x9, lsl #3]
fcvt s0, d0
stur s0, [x29, #-52]
ldur s0, [x29, #-52]
ldur s1, [x29, #-52]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #52] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_11 Depth=2
ldur s0, [x29, #-52]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #52] ; 4-byte Folded Spill
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #52] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_29
LBB0_21: ; in Loop: Header=BB0_11 Depth=2
mov w8, #1
tbz w8, #0, LBB0_25
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr x10, [sp, #136]
add x9, x9, x10
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-40]
ldur d0, [x29, #-40]
ldur d1, [x29, #-40]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #48] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_11 Depth=2
ldur d0, [x29, #-40]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #48] ; 4-byte Folded Spill
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #48] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_29
LBB0_25: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr x10, [sp, #136]
add x9, x9, x10
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-24]
ldur d0, [x29, #-24]
ldur d1, [x29, #-24]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #44] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_27
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_11 Depth=2
ldur d0, [x29, #-24]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #44] ; 4-byte Folded Spill
b LBB0_27
LBB0_27: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #44] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_11 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr x10, [sp, #136]
add x9, x9, x10
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #56]
fadd d0, d0, d1
str d0, [sp, #56]
ldr x8, [sp, #104]
add x8, x8, #1
str x8, [sp, #104]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_11 Depth=2
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [sp, #136]
add x8, x8, #1
str x8, [sp, #136]
b LBB0_11
LBB0_31: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_33
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_9 Depth=1
ldr d0, [sp, #56]
ldr d1, [sp, #104]
scvtf d1, d1
fdiv d0, d0, d1
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
str d0, [x8, x9, lsl #3]
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_9 Depth=1
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
adrp x10, lCPI0_1@PAGE
ldr d0, [x10, lCPI0_1@PAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB0_34
LBB0_34: ; in Loop: Header=BB0_9 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [sp, #120]
add x8, x8, #1
str x8, [sp, #120]
b LBB0_9
LBB0_36:
b LBB0_37
LBB0_37:
ldur x8, [x29, #-104]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_67
b LBB0_38
LBB0_38:
str xzr, [sp, #136]
b LBB0_39
LBB0_39: ; =>This Loop Header: Depth=1
; Child Loop BB0_41 Depth 2
ldr x8, [sp, #136]
ldur x9, [x29, #-96]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_66
b LBB0_40
LBB0_40: ; in Loop: Header=BB0_39 Depth=1
ldr x8, [sp, #136]
str x8, [sp, #144]
ldr d0, [sp, #72]
str d0, [sp, #64]
movi d0, #0000000000000000
str d0, [sp, #56]
str xzr, [sp, #104]
str xzr, [sp, #120]
b LBB0_41
LBB0_41: ; Parent Loop BB0_39 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #120]
ldur x9, [x29, #-88]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_61
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_41 Depth=2
ldr x8, [sp, #120]
ldur x9, [x29, #-80]
mul x8, x8, x9
ldr x9, [sp, #136]
add x8, x8, x9
stur x8, [x29, #-136]
ldr d0, [sp, #120]
scvtf d0, d0
ldr d1, [sp, #64]
fcmp d0, d1
cset w8, lt
tbnz w8, #0, LBB0_47
b LBB0_43
LBB0_43: ; in Loop: Header=BB0_41 Depth=2
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44: ; in Loop: Header=BB0_41 Depth=2
ldr d0, [sp, #56]
ldr d1, [sp, #104]
scvtf d1, d1
fdiv d0, d0, d1
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
str d0, [x8, x9, lsl #3]
b LBB0_46
LBB0_45: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
adrp x10, lCPI0_1@PAGE
ldr d0, [x10, lCPI0_1@PAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB0_46
LBB0_46: ; in Loop: Header=BB0_41 Depth=2
movi d0, #0000000000000000
str d0, [sp, #56]
str xzr, [sp, #104]
ldr d1, [sp, #72]
ldr d0, [sp, #64]
fadd d0, d0, d1
str d0, [sp, #64]
ldur x9, [x29, #-80]
ldr x8, [sp, #144]
add x8, x8, x9
str x8, [sp, #144]
b LBB0_47
LBB0_47: ; in Loop: Header=BB0_41 Depth=2
mov w8, #0
tbz w8, #0, LBB0_51
b LBB0_48
LBB0_48: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr d0, [x8, x9, lsl #3]
fcvt s0, d0
stur s0, [x29, #-56]
ldur s0, [x29, #-56]
ldur s1, [x29, #-56]
fcmp s0, s1
cset w8, ne
mov w9, #0
str w9, [sp, #40] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_50
b LBB0_49
LBB0_49: ; in Loop: Header=BB0_41 Depth=2
ldur s0, [x29, #-56]
fabs s0, s0
mov w8, #2139095040
fmov s1, w8
fcmp s0, s1
cset w8, ne
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB0_50
LBB0_50: ; in Loop: Header=BB0_41 Depth=2
ldr w8, [sp, #40] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_58
b LBB0_59
LBB0_51: ; in Loop: Header=BB0_41 Depth=2
mov w8, #1
tbz w8, #0, LBB0_55
b LBB0_52
LBB0_52: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-48]
ldur d0, [x29, #-48]
ldur d1, [x29, #-48]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_54
b LBB0_53
LBB0_53: ; in Loop: Header=BB0_41 Depth=2
ldur d0, [x29, #-48]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB0_54
LBB0_54: ; in Loop: Header=BB0_41 Depth=2
ldr w8, [sp, #36] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, ne
tbnz w8, #0, LBB0_58
b LBB0_59
LBB0_55: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr d0, [x8, x9, lsl #3]
stur d0, [x29, #-32]
ldur d0, [x29, #-32]
ldur d1, [x29, #-32]
fcmp d0, d1
cset w8, ne
mov w9, #0
str w9, [sp, #32] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_57
b LBB0_56
LBB0_56: ; in Loop: Header=BB0_41 Depth=2
ldur d0, [x29, #-32]
fabs d0, d0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, ne
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_57
LBB0_57: ; in Loop: Header=BB0_41 Depth=2
ldr w8, [sp, #32] ; 4-byte Folded Reload
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_59
b LBB0_58
LBB0_58: ; in Loop: Header=BB0_41 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #56]
fadd d0, d0, d1
str d0, [sp, #56]
ldr x8, [sp, #104]
add x8, x8, #1
str x8, [sp, #104]
b LBB0_59
LBB0_59: ; in Loop: Header=BB0_41 Depth=2
b LBB0_60
LBB0_60: ; in Loop: Header=BB0_41 Depth=2
ldr x8, [sp, #120]
add x8, x8, #1
str x8, [sp, #120]
b LBB0_41
LBB0_61: ; in Loop: Header=BB0_39 Depth=1
ldr x8, [sp, #104]
subs x8, x8, #0
cset w8, le
tbnz w8, #0, LBB0_63
b LBB0_62
LBB0_62: ; in Loop: Header=BB0_39 Depth=1
ldr d0, [sp, #56]
ldr d1, [sp, #104]
scvtf d1, d1
fdiv d0, d0, d1
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
str d0, [x8, x9, lsl #3]
b LBB0_64
LBB0_63: ; in Loop: Header=BB0_39 Depth=1
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
adrp x10, lCPI0_1@PAGE
ldr d0, [x10, lCPI0_1@PAGEOFF]
str d0, [x8, x9, lsl #3]
b LBB0_64
LBB0_64: ; in Loop: Header=BB0_39 Depth=1
b LBB0_65
LBB0_65: ; in Loop: Header=BB0_39 Depth=1
ldr x8, [sp, #136]
add x8, x8, #1
str x8, [sp, #136]
b LBB0_39
LBB0_66:
b LBB0_67
LBB0_67:
str xzr, [sp, #144]
str xzr, [sp, #112]
b LBB0_68
LBB0_68: ; =>This Loop Header: Depth=1
; Child Loop BB0_70 Depth 2
ldr x8, [sp, #112]
ldur x9, [x29, #-104]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_75
b LBB0_69
LBB0_69: ; in Loop: Header=BB0_68 Depth=1
ldr x8, [sp, #112]
ldur x9, [x29, #-80]
mul x8, x8, x9
stur x8, [x29, #-136]
str xzr, [sp, #128]
b LBB0_70
LBB0_70: ; Parent Loop BB0_68 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #128]
ldur x9, [x29, #-96]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_73
b LBB0_71
LBB0_71: ; in Loop: Header=BB0_70 Depth=2
ldur x8, [x29, #-72]
ldur x9, [x29, #-136]
ldr x10, [sp, #128]
add x9, x9, x10
ldr d0, [x8, x9, lsl #3]
ldur x8, [x29, #-72]
ldr x9, [sp, #144]
add x10, x9, #1
str x10, [sp, #144]
str d0, [x8, x9, lsl #3]
b LBB0_72
LBB0_72: ; in Loop: Header=BB0_70 Depth=2
ldr x8, [sp, #128]
add x8, x8, #1
str x8, [sp, #128]
b LBB0_70
LBB0_73: ; in Loop: Header=BB0_68 Depth=1
b LBB0_74
LBB0_74: ; in Loop: Header=BB0_68 Depth=1
ldr x8, [sp, #112]
add x8, x8, #1
str x8, [sp, #112]
b LBB0_68
LBB0_75:
stur wzr, [x29, #-60]
b LBB0_76
LBB0_76:
ldur w0, [x29, #-60]
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #304
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
l_.str: ; @.str
.asciz "xf_matrixbin1_d\000"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%s [ERROR]: nx1 (%ld) must be >= nx2 (%ld)"
l_.str.2: ; @.str.2
.asciz "%s [ERROR]: ny1 (%ld) must be >= ny2 (%ld)"
l_.str.3: ; @.str.3
.asciz "%s [Warning]: input and output matrices are the same size (no changes made)"
.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 xf_matrixbin1_d
LCPI0_0:
.quad 0x7ff8000000000000 ## double NaN
LCPI0_2:
.quad 0x7ff0000000000000 ## double +Inf
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_1:
.long 0x7f800000 ## float +Inf
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_3:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
LCPI0_4:
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.long 0x7fffffff ## float NaN
.section __TEXT,__text,regular,pure_instructions
.globl _xf_matrixbin1_d
.p2align 4, 0x90
_xf_matrixbin1_d: ## @xf_matrixbin1_d
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $256, %rsp ## imm = 0x100
movq %rdi, -72(%rbp)
movq %rsi, -80(%rbp)
movq %rdx, -88(%rbp)
movq %rcx, -96(%rbp)
movq %r8, -104(%rbp)
movq %r9, -112(%rbp)
leaq l_.str(%rip), %rax
movq %rax, -120(%rbp)
movq -96(%rbp), %rax
cmpq -80(%rbp), %rax
jle LBB0_2
## %bb.1:
movq -112(%rbp), %rdi
movq -120(%rbp), %r8
movq -80(%rbp), %r9
movq -96(%rbp), %rax
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movq %rax, (%rsp)
movb $0, %al
callq ___sprintf_chk
movl $1, -60(%rbp)
jmp LBB0_76
LBB0_2:
movq -104(%rbp), %rax
cmpq -88(%rbp), %rax
jle LBB0_4
## %bb.3:
movq -112(%rbp), %rdi
movq -120(%rbp), %r8
movq -88(%rbp), %r9
movq -104(%rbp), %rax
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.2(%rip), %rcx
movq %rax, (%rsp)
movb $0, %al
callq ___sprintf_chk
movl $1, -60(%rbp)
jmp LBB0_76
LBB0_4:
movq -96(%rbp), %rax
cmpq -80(%rbp), %rax
jne LBB0_7
## %bb.5:
movq -104(%rbp), %rax
cmpq -88(%rbp), %rax
jne LBB0_7
## %bb.6:
movq -112(%rbp), %rdi
movq -120(%rbp), %r8
movq -88(%rbp), %r9
movq -104(%rbp), %rax
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.3(%rip), %rcx
movq %rax, (%rsp)
movb $0, %al
callq ___sprintf_chk
movl $0, -60(%rbp)
jmp LBB0_76
LBB0_7:
movq -80(%rbp), %rax
subq $1, %rax
movq %rax, -192(%rbp)
movq -88(%rbp), %rax
subq $1, %rax
movq %rax, -200(%rbp)
cvtsi2sdq -80(%rbp), %xmm0
cvtsi2sdq -96(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -208(%rbp)
cvtsi2sdq -88(%rbp), %xmm0
cvtsi2sdq -104(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -216(%rbp)
movq -96(%rbp), %rax
cmpq -80(%rbp), %rax
jge LBB0_37
## %bb.8:
movq $0, -168(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movq -168(%rbp), %rax
cmpq -88(%rbp), %rax
jge LBB0_36
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq -168(%rbp), %rax
imulq -80(%rbp), %rax
movq %rax, -144(%rbp)
movq %rax, -136(%rbp)
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -224(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -232(%rbp)
movq $0, -184(%rbp)
movq $0, -152(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movq -152(%rbp), %rax
cmpq -80(%rbp), %rax
jge LBB0_31
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
cvtsi2sdq -152(%rbp), %xmm0
ucomisd -224(%rbp), %xmm0
jb LBB0_17
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
cmpq $0, -184(%rbp)
jle LBB0_15
## %bb.14: ## in Loop: Header=BB0_11 Depth=2
movsd -232(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdq -184(%rbp), %xmm1
divsd %xmm1, %xmm0
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
LBB0_16: ## in Loop: Header=BB0_11 Depth=2
xorps %xmm0, %xmm0
movsd %xmm0, -232(%rbp)
movq $0, -184(%rbp)
movsd -208(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -224(%rbp), %xmm0
movsd %xmm0, -224(%rbp)
movq -144(%rbp), %rax
addq $1, %rax
movq %rax, -144(%rbp)
LBB0_17: ## in Loop: Header=BB0_11 Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_18
jmp LBB0_21
LBB0_18: ## in Loop: Header=BB0_11 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
addq -152(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -52(%rbp)
movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -52(%rbp), %xmm0
movb %al, -233(%rbp) ## 1-byte Spill
jne LBB0_20
jp LBB0_20
## %bb.19: ## in Loop: Header=BB0_11 Depth=2
movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_4(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -233(%rbp) ## 1-byte Spill
LBB0_20: ## in Loop: Header=BB0_11 Depth=2
movb -233(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_28
jmp LBB0_29
LBB0_21: ## in Loop: Header=BB0_11 Depth=2
movb $1, %al
testb $1, %al
jne LBB0_22
jmp LBB0_25
LBB0_22: ## in Loop: Header=BB0_11 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
addq -152(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp)
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -40(%rbp), %xmm0
movb %al, -234(%rbp) ## 1-byte Spill
jne LBB0_24
jp LBB0_24
## %bb.23: ## in Loop: Header=BB0_11 Depth=2
movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -234(%rbp) ## 1-byte Spill
LBB0_24: ## in Loop: Header=BB0_11 Depth=2
movb -234(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_28
jmp LBB0_29
LBB0_25: ## in Loop: Header=BB0_11 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
movq -152(%rbp), %rdx
addq %rdx, %rcx
fldl (%rax,%rcx,8)
fstpt -16(%rbp)
fldt -16(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -235(%rbp) ## 1-byte Spill
jp LBB0_27
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_11 Depth=2
fldt -16(%rbp)
fabs
flds LCPI0_1(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -235(%rbp) ## 1-byte Spill
LBB0_27: ## in Loop: Header=BB0_11 Depth=2
movb -235(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_29
LBB0_28: ## in Loop: Header=BB0_11 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
addq -152(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -232(%rbp), %xmm0
movsd %xmm0, -232(%rbp)
movq -184(%rbp), %rax
addq $1, %rax
movq %rax, -184(%rbp)
LBB0_29: ## in Loop: Header=BB0_11 Depth=2
jmp LBB0_30
LBB0_30: ## in Loop: Header=BB0_11 Depth=2
movq -152(%rbp), %rax
addq $1, %rax
movq %rax, -152(%rbp)
jmp LBB0_11
LBB0_31: ## in Loop: Header=BB0_9 Depth=1
cmpq $0, -184(%rbp)
jle LBB0_33
## %bb.32: ## in Loop: Header=BB0_9 Depth=1
movsd -232(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdq -184(%rbp), %xmm1
divsd %xmm1, %xmm0
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp LBB0_34
LBB0_33: ## in Loop: Header=BB0_9 Depth=1
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
LBB0_34: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_9 Depth=1
movq -168(%rbp), %rax
addq $1, %rax
movq %rax, -168(%rbp)
jmp LBB0_9
LBB0_36:
jmp LBB0_37
LBB0_37:
movq -104(%rbp), %rax
cmpq -88(%rbp), %rax
jge LBB0_67
## %bb.38:
movq $0, -152(%rbp)
LBB0_39: ## =>This Loop Header: Depth=1
## Child Loop BB0_41 Depth 2
movq -152(%rbp), %rax
cmpq -96(%rbp), %rax
jge LBB0_66
## %bb.40: ## in Loop: Header=BB0_39 Depth=1
movq -152(%rbp), %rax
movq %rax, -144(%rbp)
movsd -216(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -224(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -232(%rbp)
movq $0, -184(%rbp)
movq $0, -168(%rbp)
LBB0_41: ## Parent Loop BB0_39 Depth=1
## => This Inner Loop Header: Depth=2
movq -168(%rbp), %rax
cmpq -88(%rbp), %rax
jge LBB0_61
## %bb.42: ## in Loop: Header=BB0_41 Depth=2
movq -168(%rbp), %rax
imulq -80(%rbp), %rax
addq -152(%rbp), %rax
movq %rax, -136(%rbp)
cvtsi2sdq -168(%rbp), %xmm0
ucomisd -224(%rbp), %xmm0
jb LBB0_47
## %bb.43: ## in Loop: Header=BB0_41 Depth=2
cmpq $0, -184(%rbp)
jle LBB0_45
## %bb.44: ## in Loop: Header=BB0_41 Depth=2
movsd -232(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdq -184(%rbp), %xmm1
divsd %xmm1, %xmm0
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp LBB0_46
LBB0_45: ## in Loop: Header=BB0_41 Depth=2
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
LBB0_46: ## in Loop: Header=BB0_41 Depth=2
xorps %xmm0, %xmm0
movsd %xmm0, -232(%rbp)
movq $0, -184(%rbp)
movsd -216(%rbp), %xmm0 ## xmm0 = mem[0],zero
addsd -224(%rbp), %xmm0
movsd %xmm0, -224(%rbp)
movq -80(%rbp), %rax
addq -144(%rbp), %rax
movq %rax, -144(%rbp)
LBB0_47: ## in Loop: Header=BB0_41 Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
testb $1, %al
jne LBB0_48
jmp LBB0_51
LBB0_48: ## in Loop: Header=BB0_41 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -56(%rbp)
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomiss -56(%rbp), %xmm0
movb %al, -236(%rbp) ## 1-byte Spill
jne LBB0_50
jp LBB0_50
## %bb.49: ## in Loop: Header=BB0_41 Depth=2
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps LCPI0_4(%rip), %xmm1 ## xmm1 = [NaN,NaN,NaN,NaN]
pand %xmm1, %xmm0
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -236(%rbp) ## 1-byte Spill
LBB0_50: ## in Loop: Header=BB0_41 Depth=2
movb -236(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_58
jmp LBB0_59
LBB0_51: ## in Loop: Header=BB0_41 Depth=2
movb $1, %al
testb $1, %al
jne LBB0_52
jmp LBB0_55
LBB0_52: ## in Loop: Header=BB0_41 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -48(%rbp)
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorl %eax, %eax
## kill: def $al killed $al killed $eax
ucomisd -48(%rbp), %xmm0
movb %al, -237(%rbp) ## 1-byte Spill
jne LBB0_54
jp LBB0_54
## %bb.53: ## in Loop: Header=BB0_41 Depth=2
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI0_3(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm1, %xmm0
setne %al
setp %cl
orb %cl, %al
movb %al, -237(%rbp) ## 1-byte Spill
LBB0_54: ## in Loop: Header=BB0_41 Depth=2
movb -237(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB0_58
jmp LBB0_59
LBB0_55: ## in Loop: Header=BB0_41 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
fldl (%rax,%rcx,8)
fstpt -32(%rbp)
fldt -32(%rbp)
xorl %eax, %eax
## kill: def $al killed $al killed $eax
fucompi %st(0), %st
movb %al, -238(%rbp) ## 1-byte Spill
jp LBB0_57
jmp LBB0_56
LBB0_56: ## in Loop: Header=BB0_41 Depth=2
fldt -32(%rbp)
fabs
flds LCPI0_1(%rip)
fxch %st(1)
fucompi %st(1), %st
fstp %st(0)
setb %al
movb %al, -238(%rbp) ## 1-byte Spill
LBB0_57: ## in Loop: Header=BB0_41 Depth=2
movb -238(%rbp), %al ## 1-byte Reload
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_59
LBB0_58: ## in Loop: Header=BB0_41 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -232(%rbp), %xmm0
movsd %xmm0, -232(%rbp)
movq -184(%rbp), %rax
addq $1, %rax
movq %rax, -184(%rbp)
LBB0_59: ## in Loop: Header=BB0_41 Depth=2
jmp LBB0_60
LBB0_60: ## in Loop: Header=BB0_41 Depth=2
movq -168(%rbp), %rax
addq $1, %rax
movq %rax, -168(%rbp)
jmp LBB0_41
LBB0_61: ## in Loop: Header=BB0_39 Depth=1
cmpq $0, -184(%rbp)
jle LBB0_63
## %bb.62: ## in Loop: Header=BB0_39 Depth=1
movsd -232(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsi2sdq -184(%rbp), %xmm1
divsd %xmm1, %xmm0
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp LBB0_64
LBB0_63: ## in Loop: Header=BB0_39 Depth=1
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%rax,%rcx,8)
LBB0_64: ## in Loop: Header=BB0_39 Depth=1
jmp LBB0_65
LBB0_65: ## in Loop: Header=BB0_39 Depth=1
movq -152(%rbp), %rax
addq $1, %rax
movq %rax, -152(%rbp)
jmp LBB0_39
LBB0_66:
jmp LBB0_67
LBB0_67:
movq $0, -144(%rbp)
movq $0, -176(%rbp)
LBB0_68: ## =>This Loop Header: Depth=1
## Child Loop BB0_70 Depth 2
movq -176(%rbp), %rax
cmpq -104(%rbp), %rax
jge LBB0_75
## %bb.69: ## in Loop: Header=BB0_68 Depth=1
movq -176(%rbp), %rax
imulq -80(%rbp), %rax
movq %rax, -136(%rbp)
movq $0, -160(%rbp)
LBB0_70: ## Parent Loop BB0_68 Depth=1
## => This Inner Loop Header: Depth=2
movq -160(%rbp), %rax
cmpq -96(%rbp), %rax
jge LBB0_73
## %bb.71: ## in Loop: Header=BB0_70 Depth=2
movq -72(%rbp), %rax
movq -136(%rbp), %rcx
addq -160(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
movq -72(%rbp), %rax
movq -144(%rbp), %rcx
movq %rcx, %rdx
addq $1, %rdx
movq %rdx, -144(%rbp)
movsd %xmm0, (%rax,%rcx,8)
## %bb.72: ## in Loop: Header=BB0_70 Depth=2
movq -160(%rbp), %rax
addq $1, %rax
movq %rax, -160(%rbp)
jmp LBB0_70
LBB0_73: ## in Loop: Header=BB0_68 Depth=1
jmp LBB0_74
LBB0_74: ## in Loop: Header=BB0_68 Depth=1
movq -176(%rbp), %rax
addq $1, %rax
movq %rax, -176(%rbp)
jmp LBB0_68
LBB0_75:
movl $0, -60(%rbp)
LBB0_76:
movl -60(%rbp), %eax
addq $256, %rsp ## imm = 0x100
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l_.str: ## @.str
.asciz "xf_matrixbin1_d\000"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%s [ERROR]: nx1 (%ld) must be >= nx2 (%ld)"
L_.str.2: ## @.str.2
.asciz "%s [ERROR]: ny1 (%ld) must be >= ny2 (%ld)"
L_.str.3: ## @.str.3
.asciz "%s [Warning]: input and output matrices are the same size (no changes made)"
.subsections_via_symbols
| the_stack_data/72013206.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test357 ; -- Begin function test357
.p2align 2
_test357: ; @test357
.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 _test357 ## -- Begin function test357
.p2align 4, 0x90
_test357: ## @test357
.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/34817.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, _progname@GOTPAGE
ldr x8, [x8, _progname@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-16]
ldr x0, [x8]
mov w1, #47
bl _strrchr
ldr x9, [sp, #16] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [x9]
b LBB0_3
LBB0_2:
ldr x9, [sp, #16] ; 8-byte Folded Reload
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
b LBB0_3
LBB0_3:
mov w8, #2
stur w8, [x29, #-20]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
ldur x1, [x29, #-16]
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _getopt
str w0, [sp, #24]
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #24]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #63
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #109
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #114
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #118
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_13
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
stur wzr, [x29, #-20]
b LBB0_14
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
stur w8, [x29, #-20]
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
adrp x9, _verbose@GOTPAGE
ldr x9, [x9, _verbose@GOTPAGEOFF]
mov w8, #1
str w8, [x9]
b LBB0_14
LBB0_12:
b LBB0_13
LBB0_13:
bl _usage
stur w0, [x29, #-4]
b LBB0_27
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
b LBB0_4
LBB0_15:
adrp x8, _optind@GOTPAGE
ldr x8, [x8, _optind@GOTPAGEOFF]
ldr w10, [x8]
ldur w9, [x29, #-8]
subs w9, w9, w10
stur w9, [x29, #-8]
ldrsw x9, [x8]
ldur x8, [x29, #-16]
add x8, x8, x9, lsl #3
stur x8, [x29, #-16]
bl _parse
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
bl _generate_flags
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_27
LBB0_18:
ldur w8, [x29, #-20]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20:
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_23
b LBB0_24
LBB0_21:
bl _print_api_mask
b LBB0_24
LBB0_22:
bl _print_api_remainder
b LBB0_24
LBB0_23:
bl _print_flag_value
b LBB0_24
LBB0_24:
adrp x8, _verbose@GOTPAGE
ldr x8, [x8, _verbose@GOTPAGEOFF]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
bl _dump_api
bl _dump_flags
b LBB0_26
LBB0_26:
stur wzr, [x29, #-4]
b LBB0_27
LBB0_27:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.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]
ldr x0, [x8]
adrp x8, _progname@GOTPAGE
ldr x8, [x8, _progname@GOTPAGEOFF]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
bl _fprintf
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _parse ; -- Begin function parse
.p2align 2
_parse: ; @parse
.cfi_startproc
; %bb.0:
sub sp, sp, #352
.cfi_def_cfa_offset 352
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x29, x30, [sp, #336] ; 16-byte Folded Spill
add x29, sp, #336
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
mov w8, #1
str w8, [sp, #48]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
add x0, sp, #56
mov w1, #256
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB2_29
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
mov w1, #10
bl _strchr
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #40]
strb wzr, [x8]
b LBB2_5
LBB2_4:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _progname@GOTPAGE
ldr x8, [x8, _progname@GOTPAGEOFF]
ldr x10, [x8]
ldr w9, [sp, #48]
; 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 _fprintf
mov w8, #1
str w8, [sp, #52]
b LBB2_31
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #56]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldrsb w8, [sp, #56]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_28
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldrsb w0, [sp, #56]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_17
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strtok
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #40]
ldrsb w8, [x8]
subs w8, w8, #35
cset w8, ne
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_1 Depth=1
b LBB2_28
LBB2_12: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_14
b LBB2_13
LBB2_13:
b LBB2_30
LBB2_14: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #32]
ldr x1, [sp, #40]
bl _add_entry
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_15
LBB2_15:
mov w8, #1
str w8, [sp, #52]
b LBB2_31
LBB2_16: ; in Loop: Header=BB2_1 Depth=1
b LBB2_24
LBB2_17: ; in Loop: Header=BB2_1 Depth=1
add x0, sp, #56
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strtok
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_19
b LBB2_18
LBB2_18: ; in Loop: Header=BB2_1 Depth=1
b LBB2_28
LBB2_19: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_21
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #32]
bl _free
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [sp, #40]
bl _strdup
mov x8, x0
str x8, [sp, #32]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_23
b LBB2_22
LBB2_22:
bl _syserr
str w0, [sp, #52]
b LBB2_31
LBB2_23: ; in Loop: Header=BB2_1 Depth=1
b LBB2_24
LBB2_24: ; in Loop: Header=BB2_1 Depth=1
mov x0, #0
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strtok
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB2_27
b LBB2_25
LBB2_25: ; in Loop: Header=BB2_1 Depth=1
ldr x8, [sp, #40]
ldrsb w8, [x8]
subs w8, w8, #35
cset w8, eq
tbnz w8, #0, LBB2_27
b LBB2_26
LBB2_26:
b LBB2_30
LBB2_27: ; in Loop: Header=BB2_1 Depth=1
b LBB2_28
LBB2_28: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB2_1
LBB2_29:
str wzr, [sp, #52]
b LBB2_31
LBB2_30:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _progname@GOTPAGE
ldr x8, [x8, _progname@GOTPAGEOFF]
ldr x10, [x8]
ldr w9, [sp, #48]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
mov w8, #1
str w8, [sp, #52]
b LBB2_31
LBB2_31:
ldr w8, [sp, #52]
str w8, [sp, #28] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_33
b LBB2_32
LBB2_32:
bl ___stack_chk_fail
LBB2_33:
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #352
ret
.cfi_endproc
; -- End function
.globl _generate_flags ; -- Begin function generate_flags
.p2align 2
_generate_flags: ; @generate_flags
.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 x9, _flag_list@GOTPAGE
ldr x9, [x9, _flag_list@GOTPAGEOFF]
str x9, [sp, #24] ; 8-byte Folded Spill
ldr x0, [x9]
adrp x8, _flag_end@GOTPAGE
ldr x8, [x8, _flag_end@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
mov x2, #8
sdiv x8, x8, x2
and x1, x8, #0xffffffff
adrp x3, _flag_cmp_api_cnt@PAGE
add x3, x3, _flag_cmp_api_cnt@PAGEOFF
bl _qsort
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
stur x8, [x29, #-16]
b LBB3_1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
; Child Loop BB3_9 Depth 2
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_14
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
mov w8, #-1
stur w8, [x29, #-28]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8, #16]
stur x8, [x29, #-24]
b LBB3_3
LBB3_3: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_6
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_3 Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8]
ldr w9, [x8, #8]
ldur w8, [x29, #-28]
bic w8, w8, w9
stur w8, [x29, #-28]
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_3 Depth=2
ldur x8, [x29, #-24]
add x8, x8, #8
stur x8, [x29, #-24]
b LBB3_3
LBB3_6: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _progname@GOTPAGE
ldr x8, [x8, _progname@GOTPAGEOFF]
ldr x10, [x8]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB3_15
LBB3_8: ; in Loop: Header=BB3_1 Depth=1
ldur w0, [x29, #-28]
bl _ffs
mov w8, #1
subs w9, w0, #1
lsl w8, w8, w9
stur w8, [x29, #-28]
ldur x9, [x29, #-16]
ldr x9, [x9]
str w8, [x9, #32]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8, #16]
stur x8, [x29, #-24]
b LBB3_9
LBB3_9: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_12
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=2
ldur w10, [x29, #-28]
ldur x8, [x29, #-24]
ldr x9, [x8]
ldr w8, [x9, #8]
orr w8, w8, w10
str w8, [x9, #8]
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=2
ldur x8, [x29, #-24]
add x8, x8, #8
stur x8, [x29, #-24]
b LBB3_9
LBB3_12: ; in Loop: Header=BB3_1 Depth=1
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB3_1
LBB3_14:
stur wzr, [x29, #-4]
b LBB3_15
LBB3_15:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _print_api_mask ; -- Begin function print_api_mask
.p2align 2
_print_api_mask: ; @print_api_mask
.cfi_startproc
; %bb.0:
sub sp, sp, #336
.cfi_def_cfa_offset 336
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
adrp x8, _api_list@GOTPAGE
ldr x8, [x8, _api_list@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #32]
b LBB4_1
LBB4_1: ; =>This Loop Header: Depth=1
; Child Loop BB4_3 Depth 2
ldr x8, [sp, #32]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_13
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
add x0, sp, #40
str x0, [sp, #16] ; 8-byte Folded Spill
mov x3, #256
mov x1, x3
mov w2, #0
adrp x4, l_.str.15@PAGE
add x4, x4, l_.str.15@PAGEOFF
bl ___snprintf_chk
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp, #24]
b LBB4_3
LBB4_3: ; Parent Loop BB4_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #24]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB4_11
b LBB4_4
LBB4_4: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #24]
ldrsb w0, [x8]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #24]
ldrsb w0, [x8]
bl _toupper
ldr x8, [sp, #24]
strb w0, [x8]
b LBB4_9
LBB4_6: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #24]
ldrsb w0, [x8]
bl _isalpha
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_8
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_3 Depth=2
ldr x9, [sp, #24]
mov w8, #95
strb w8, [x9]
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_3 Depth=2
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_3 Depth=2
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_3 Depth=2
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB4_3
LBB4_11: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32]
ldr x8, [x8]
ldr w1, [x8, #8]
add x0, sp, #40
bl _define_print
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #8
str x8, [sp, #32]
b LBB4_1
LBB4_13:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_15
b LBB4_14
LBB4_14:
bl ___stack_chk_fail
LBB4_15:
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 _print_api_remainder ; -- Begin function print_api_remainder
.p2align 2
_print_api_remainder: ; @print_api_remainder
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _api_list@GOTPAGE
ldr x8, [x8, _api_list@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB5_1
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_3 Depth 2
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_10
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
stur wzr, [x29, #-12]
str wzr, [sp, #16]
b LBB5_3
LBB5_3: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #32
cset w8, ge
tbnz w8, #0, LBB5_8
b LBB5_4
LBB5_4: ; in Loop: Header=BB5_3 Depth=2
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8, #8]
ldr w10, [sp, #16]
mov w9, #1
lsl w9, w9, w10
ands w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_5
LBB5_5: ; in Loop: Header=BB5_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_3 Depth=2
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB5_3
LBB5_8: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr 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.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
b LBB5_9
LBB5_9: ; in Loop: Header=BB5_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #8
stur x8, [x29, #-8]
b LBB5_1
LBB5_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print_flag_value ; -- Begin function print_flag_value
.p2align 2
_print_flag_value: ; @print_flag_value
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _flag_list@GOTPAGE
ldr x9, [x9, _flag_list@GOTPAGEOFF]
str x9, [sp] ; 8-byte Folded Spill
ldr x0, [x9]
adrp x8, _flag_end@GOTPAGE
ldr x8, [x8, _flag_end@GOTPAGEOFF]
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
mov x2, #8
sdiv x8, x8, x2
and x1, x8, #0xffffffff
adrp x3, _flag_cmp_alpha@PAGE
add x3, x3, _flag_cmp_alpha@PAGEOFF
bl _qsort
ldr x8, [sp] ; 8-byte Folded Reload
ldr x8, [x8]
str x8, [sp, #8]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_4
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x0, [x8]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr w1, [x8, #32]
bl _define_print
b LBB6_3
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #8
str x8, [sp, #8]
b LBB6_1
LBB6_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _dump_api ; -- Begin function dump_api
.p2align 2
_dump_api: ; @dump_api
.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.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
adrp x8, _api_list@GOTPAGE
ldr x8, [x8, _api_list@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x10, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w9, [x8, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #8
stur x8, [x29, #-8]
b LBB7_1
LBB7_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _dump_flags ; -- Begin function dump_flags
.p2align 2
_dump_flags: ; @dump_flags
.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.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
adrp x8, _flag_list@GOTPAGE
ldr x8, [x8, _flag_list@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
b LBB8_1
LBB8_1: ; =>This Loop Header: Depth=1
; Child Loop BB8_3 Depth 2
ldur x8, [x29, #-8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_8
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x11, [x8]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w8, [x8, #32]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr w9, [x8, #8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
str x8, [sp, #24]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldr x8, [x8, #16]
stur x8, [x29, #-16]
b LBB8_3
LBB8_3: ; Parent Loop BB8_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_6
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=2
ldr x10, [sp, #24]
ldur x8, [x29, #-16]
ldr x8, [x8]
ldr x8, [x8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
adrp x8, l_.str.12@PAGE
add x8, x8, l_.str.12@PAGEOFF
str x8, [sp, #24]
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=2
ldur x8, [x29, #-16]
add x8, x8, #8
stur x8, [x29, #-16]
b LBB8_3
LBB8_6: ; in Loop: Header=BB8_1 Depth=1
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_1 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #8
stur x8, [x29, #-8]
b LBB8_1
LBB8_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _add_entry ; -- Begin function add_entry
.p2align 2
_add_entry: ; @add_entry
.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, _api_list@GOTPAGE
ldr x8, [x8, _api_list@GOTPAGEOFF]
str x8, [sp, #40] ; 8-byte Folded Spill
adrp x9, _api_end@GOTPAGE
ldr x9, [x9, _api_end@GOTPAGEOFF]
str x9, [sp, #48] ; 8-byte Folded Spill
adrp x9, _flag_list@GOTPAGE
ldr x9, [x9, _flag_list@GOTPAGEOFF]
str x9, [sp, #56] ; 8-byte Folded Spill
adrp x9, _flag_end@GOTPAGE
ldr x9, [x9, _flag_end@GOTPAGEOFF]
str x9, [sp, #64] ; 8-byte Folded Spill
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldr x8, [x8]
stur x8, [x29, #-48]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-48]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldr x9, [x9]
subs x8, x8, x9
cset w8, lo
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB9_4
LBB9_4: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
tbz w8, #0, LBB9_9
b LBB9_5
LBB9_5: ; in Loop: Header=BB9_1 Depth=1
ldur x0, [x29, #-16]
ldur x8, [x29, #-48]
ldr x8, [x8]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB9_7
b LBB9_6
LBB9_6:
b LBB9_9
LBB9_7: ; in Loop: Header=BB9_1 Depth=1
b LBB9_8
LBB9_8: ; in Loop: Header=BB9_1 Depth=1
ldur x8, [x29, #-48]
add x8, x8, #8
stur x8, [x29, #-48]
b LBB9_1
LBB9_9:
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_11
b LBB9_10
LBB9_10:
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB9_17
b LBB9_11
LBB9_11:
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_13
b LBB9_12
LBB9_12:
mov w8, #100
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB9_14
LBB9_13:
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
mov x9, #8
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
add w8, w8, #100
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB9_14
LBB9_14:
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [sp, #32] ; 4-byte Folded Reload
stur w9, [x29, #-68]
ldr x0, [x8]
ldur w8, [x29, #-68]
mov x9, x8
mov x8, #8
mul x1, x8, x9
bl _realloc
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB9_16
b LBB9_15
LBB9_15:
bl _syserr
stur w0, [x29, #-4]
b LBB9_62
LBB9_16:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x10, [x9]
ldur w11, [x29, #-68]
; kill: def $x11 killed $w11
add x10, x10, x11, lsl #3
str x10, [x8]
ldr x9, [x9]
ldur w10, [x29, #-68]
subs w10, w10, #100
add x9, x9, w10, uxtw #3
stur x9, [x29, #-48]
ldur x0, [x29, #-48]
ldr x8, [x8]
ldur x9, [x29, #-48]
subs x8, x8, x9
mov x9, #8
sdiv x8, x8, x9
and x8, x8, #0xffffffff
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB9_17
LBB9_17:
ldur x8, [x29, #-48]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_21
b LBB9_18
LBB9_18:
mov x0, #16
mov x1, #1
bl _calloc
ldur x9, [x29, #-48]
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB9_20
b LBB9_19
LBB9_19:
ldur x0, [x29, #-16]
bl _strdup
ldur x8, [x29, #-48]
ldr x9, [x8]
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB9_21
b LBB9_20
LBB9_20:
bl _syserr
stur w0, [x29, #-4]
b LBB9_62
LBB9_21:
ldur x8, [x29, #-48]
ldr x8, [x8]
stur x8, [x29, #-56]
ldur x0, [x29, #-24]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #7
bl _strncmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB9_23
b LBB9_22
LBB9_22:
ldur x8, [x29, #-24]
add x0, x8, #7
mov x1, #0
mov w2, #0
bl _strtoul
ldur x9, [x29, #-56]
ldr w8, [x9, #8]
; kill: def $x8 killed $w8
orr x8, x8, x0
; kill: def $w8 killed $w8 killed $x8
str w8, [x9, #8]
stur wzr, [x29, #-4]
b LBB9_62
LBB9_23:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr x8, [x8]
stur x8, [x29, #-32]
b LBB9_24
LBB9_24: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_27
b LBB9_25
LBB9_25: ; in Loop: Header=BB9_24 Depth=1
ldur x8, [x29, #-32]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_27
b LBB9_26
LBB9_26: ; in Loop: Header=BB9_24 Depth=1
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldr x9, [x9]
subs x8, x8, x9
cset w8, lo
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB9_27
LBB9_27: ; in Loop: Header=BB9_24 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB9_32
b LBB9_28
LBB9_28: ; in Loop: Header=BB9_24 Depth=1
ldur x0, [x29, #-24]
ldur x8, [x29, #-32]
ldr x8, [x8]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB9_30
b LBB9_29
LBB9_29:
b LBB9_32
LBB9_30: ; in Loop: Header=BB9_24 Depth=1
b LBB9_31
LBB9_31: ; in Loop: Header=BB9_24 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #8
stur x8, [x29, #-32]
b LBB9_24
LBB9_32:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_34
b LBB9_33
LBB9_33:
ldr x9, [sp, #64] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB9_40
b LBB9_34
LBB9_34:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_36
b LBB9_35
LBB9_35:
mov w8, #100
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB9_37
LBB9_36:
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x9]
subs x8, x8, x9
mov x9, #8
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
add w8, w8, #100
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB9_37
LBB9_37:
ldr x8, [sp, #56] ; 8-byte Folded Reload
ldr w9, [sp, #24] ; 4-byte Folded Reload
stur w9, [x29, #-68]
ldr x0, [x8]
ldur w8, [x29, #-68]
mov x9, x8
mov x8, #8
mul x1, x8, x9
bl _realloc
ldr x9, [sp, #56] ; 8-byte Folded Reload
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB9_39
b LBB9_38
LBB9_38:
bl _syserr
stur w0, [x29, #-4]
b LBB9_62
LBB9_39:
ldr x8, [sp, #64] ; 8-byte Folded Reload
ldr x9, [sp, #56] ; 8-byte Folded Reload
ldr x10, [x9]
ldur w11, [x29, #-68]
; kill: def $x11 killed $w11
add x10, x10, x11, lsl #3
str x10, [x8]
ldr x9, [x9]
ldur w10, [x29, #-68]
subs w10, w10, #100
add x9, x9, w10, uxtw #3
stur x9, [x29, #-32]
ldur x0, [x29, #-32]
ldr x8, [x8]
ldur x9, [x29, #-32]
subs x8, x8, x9
mov x9, #8
sdiv x8, x8, x9
and x8, x8, #0xffffffff
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB9_40
LBB9_40:
ldur x8, [x29, #-32]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_44
b LBB9_41
LBB9_41:
mov x0, #40
mov x1, #1
bl _calloc
ldur x9, [x29, #-32]
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB9_43
b LBB9_42
LBB9_42:
ldur x0, [x29, #-24]
bl _strdup
ldur x8, [x29, #-32]
ldr x9, [x8]
mov x8, x0
str x8, [x9]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB9_44
b LBB9_43
LBB9_43:
bl _syserr
stur w0, [x29, #-4]
b LBB9_62
LBB9_44:
ldur x8, [x29, #-32]
ldr x8, [x8]
stur x8, [x29, #-40]
ldur x9, [x29, #-40]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
ldur x8, [x29, #-40]
ldr x8, [x8, #16]
stur x8, [x29, #-64]
b LBB9_45
LBB9_45: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_48
b LBB9_46
LBB9_46: ; in Loop: Header=BB9_45 Depth=1
ldur x8, [x29, #-64]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_48
b LBB9_47
LBB9_47: ; in Loop: Header=BB9_45 Depth=1
ldur x8, [x29, #-64]
ldur x9, [x29, #-40]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB9_48
LBB9_48: ; in Loop: Header=BB9_45 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB9_53
b LBB9_49
LBB9_49: ; in Loop: Header=BB9_45 Depth=1
ldur x0, [x29, #-16]
ldur x8, [x29, #-64]
ldr x8, [x8]
ldr x1, [x8]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB9_51
b LBB9_50
LBB9_50:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x10, [x29, #-16]
ldur x8, [x29, #-24]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB9_62
LBB9_51: ; in Loop: Header=BB9_45 Depth=1
b LBB9_52
LBB9_52: ; in Loop: Header=BB9_45 Depth=1
ldur x8, [x29, #-64]
add x8, x8, #8
stur x8, [x29, #-64]
b LBB9_45
LBB9_53:
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_55
b LBB9_54
LBB9_54:
ldur x8, [x29, #-64]
ldur x9, [x29, #-40]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB9_61
b LBB9_55
LBB9_55:
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_57
b LBB9_56
LBB9_56:
mov w8, #20
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB9_58
LBB9_57:
ldur x8, [x29, #-40]
ldr x8, [x8, #24]
ldur x9, [x29, #-40]
ldr x9, [x9, #16]
subs x8, x8, x9
mov x9, #8
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
add w8, w8, #20
str w8, [sp, #16] ; 4-byte Folded Spill
b LBB9_58
LBB9_58:
ldr w8, [sp, #16] ; 4-byte Folded Reload
stur w8, [x29, #-68]
ldur x8, [x29, #-40]
ldr x0, [x8, #16]
ldur w8, [x29, #-68]
mov x9, x8
mov x8, #8
mul x1, x8, x9
bl _realloc
ldur x9, [x29, #-40]
mov x8, x0
str x8, [x9, #16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB9_60
b LBB9_59
LBB9_59:
bl _syserr
stur w0, [x29, #-4]
b LBB9_62
LBB9_60:
ldur x8, [x29, #-40]
ldr x8, [x8, #16]
ldur w9, [x29, #-68]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #3
ldur x9, [x29, #-40]
str x8, [x9, #24]
ldur x8, [x29, #-40]
ldr x8, [x8, #16]
ldur w9, [x29, #-68]
subs w9, w9, #20
add x8, x8, w9, uxtw #3
stur x8, [x29, #-64]
ldur x0, [x29, #-64]
ldur x8, [x29, #-40]
ldr x8, [x8, #24]
ldur x9, [x29, #-40]
ldr x9, [x9, #16]
subs x8, x8, x9
mov x9, #8
sdiv x8, x8, x9
and x8, x8, #0xffffffff
lsl x2, x8, #3
mov w1, #0
mov x3, #-1
bl ___memset_chk
b LBB9_61
LBB9_61:
ldur x8, [x29, #-56]
ldur x9, [x29, #-64]
str x8, [x9]
stur wzr, [x29, #-4]
b LBB9_62
LBB9_62:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.globl _syserr ; -- Begin function syserr
.p2align 2
_syserr: ; @syserr
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8] ; 8-byte Folded Spill
adrp x8, _progname@GOTPAGE
ldr x8, [x8, _progname@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
bl ___error
ldr w0, [x0]
bl _strerror
ldr x10, [sp, #16] ; 8-byte Folded Reload
mov x8, x0
ldur x0, [x29, #-8] ; 8-byte Folded Reload
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _flag_cmp_api_cnt ; -- Begin function flag_cmp_api_cnt
.p2align 2
_flag_cmp_api_cnt: ; @flag_cmp_api_cnt
.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]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_4
b LBB11_1
LBB11_1:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_3
b LBB11_2
LBB11_2:
stur wzr, [x29, #-4]
b LBB11_13
LBB11_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB11_13
LBB11_4:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_8
b LBB11_5
LBB11_5:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_7
b LBB11_6
LBB11_6:
stur wzr, [x29, #-4]
b LBB11_13
LBB11_7:
mov w8, #-1
stur w8, [x29, #-4]
b LBB11_13
LBB11_8:
ldr x8, [sp, #16]
ldr w8, [x8, #8]
ldr x9, [sp, #8]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB11_10
b LBB11_9
LBB11_9:
mov w8, #-1
stur w8, [x29, #-4]
b LBB11_13
LBB11_10:
ldr x8, [sp, #16]
ldr w8, [x8, #8]
ldr x9, [sp, #8]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB11_12
b LBB11_11
LBB11_11:
mov w8, #1
stur w8, [x29, #-4]
b LBB11_13
LBB11_12:
ldr x8, [sp, #16]
ldr x0, [x8]
ldr x8, [sp, #8]
ldr x1, [x8]
bl _strcmp
stur w0, [x29, #-4]
b LBB11_13
LBB11_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _flag_cmp_alpha ; -- Begin function flag_cmp_alpha
.p2align 2
_flag_cmp_alpha: ; @flag_cmp_alpha
.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]
ldur x8, [x29, #-16]
ldr x8, [x8]
str x8, [sp, #16]
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_4
b LBB12_1
LBB12_1:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_3
b LBB12_2
LBB12_2:
stur wzr, [x29, #-4]
b LBB12_9
LBB12_3:
mov w8, #1
stur w8, [x29, #-4]
b LBB12_9
LBB12_4:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_8
b LBB12_5
LBB12_5:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_7
b LBB12_6
LBB12_6:
stur wzr, [x29, #-4]
b LBB12_9
LBB12_7:
mov w8, #-1
stur w8, [x29, #-4]
b LBB12_9
LBB12_8:
ldr x8, [sp, #16]
ldr x0, [x8]
ldr x8, [sp, #8]
ldr x1, [x8]
bl _strcmp
stur w0, [x29, #-4]
b LBB12_9
LBB12_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _define_print ; -- Begin function define_print
.p2align 2
_define_print: ; @define_print
.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]
ldur x0, [x29, #-8]
bl _strlen
mov x8, #8
udiv x8, x0, x8
subs x8, x8, #0
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB13_6
; %bb.1:
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI13_0@PAGE
add x10, x10, lJTI13_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB13_2:
adrp x8, l_.str.17@PAGE
add x8, x8, l_.str.17@PAGEOFF
stur x8, [x29, #-24]
b LBB13_7
LBB13_3:
adrp x8, l_.str.18@PAGE
add x8, x8, l_.str.18@PAGEOFF
stur x8, [x29, #-24]
b LBB13_7
LBB13_4:
adrp x8, l_.str.19@PAGE
add x8, x8, l_.str.19@PAGEOFF
stur x8, [x29, #-24]
b LBB13_7
LBB13_5:
adrp x8, l_.str.20@PAGE
add x8, x8, l_.str.20@PAGEOFF
stur x8, [x29, #-24]
b LBB13_7
LBB13_6:
adrp x8, l_.str.21@PAGE
add x8, x8, l_.str.21@PAGEOFF
stur x8, [x29, #-24]
b LBB13_7
LBB13_7:
ldur x11, [x29, #-8]
ldur x10, [x29, #-24]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
ldur x1, [x29, #-8]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB13_9
b LBB13_8
LBB13_8:
ldur x10, [x29, #-24]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
adrp x11, l_.str.24@PAGE
add x11, x11, l_.str.24@PAGEOFF
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
b LBB13_9
LBB13_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
.p2align 2
lJTI13_0:
.long LBB13_2-Ltmp0
.long LBB13_3-Ltmp0
.long LBB13_4-Ltmp0
.long LBB13_5-Ltmp0
; -- End function
.comm _progname,8,3 ; @progname
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mrv"
.comm _verbose,4,2 ; @verbose
l_.str.1: ; @.str.1
.asciz "%s: %d: line too long\n"
l_.str.2: ; @.str.2
.asciz " \t"
l_.str.3: ; @.str.3
.asciz "%s: format error: line %d\n"
.comm _api_list,8,3 ; @api_list
.comm _api_end,8,3 ; @api_end
l_.str.4: ; @.str.4
.asciz "__MASK="
.comm _flag_list,8,3 ; @flag_list
.comm _flag_end,8,3 ; @flag_end
l_.str.5: ; @.str.5
.asciz "duplicate entry: %s / %s\n"
l_.str.6: ; @.str.6
.asciz "=============================\nAPI:\n"
l_.str.7: ; @.str.7
.asciz "%s (%#x)\n"
l_.str.8: ; @.str.8
.asciz "=============================\nFLAGS:\n"
l_.str.9: ; @.str.9
.asciz "%s (%#x, %d): "
l_.str.10: ; @.str.10
.space 1
l_.str.11: ; @.str.11
.asciz "%s%s"
l_.str.12: ; @.str.12
.asciz ", "
l_.str.13: ; @.str.13
.asciz "\n"
l_.str.14: ; @.str.14
.asciz "%s: ran out of bits at flag %s\n"
l_.str.15: ; @.str.15
.asciz "_%s_API_MASK"
l_.str.16: ; @.str.16
.asciz "%s: %d bits unused\n"
l_.str.17: ; @.str.17
.asciz "\t\t\t\t\t"
l_.str.18: ; @.str.18
.asciz "\t\t\t\t"
l_.str.19: ; @.str.19
.asciz "\t\t\t"
l_.str.20: ; @.str.20
.asciz "\t\t"
l_.str.21: ; @.str.21
.asciz "\t"
l_.str.22: ; @.str.22
.asciz "#define\t%s%s%#010x\n"
l_.str.23: ; @.str.23
.asciz "DB_LOG_EXT_FILE"
l_.str.24: ; @.str.24
.asciz "DB_LOG_BLOB"
l_.str.25: ; @.str.25
.asciz "%s: %s\n"
l_.str.26: ; @.str.26
.asciz "usage: %s [-mrv]\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)
movq -16(%rbp), %rax
movq (%rax), %rdi
movl $47, %esi
callq _strrchr
movq _progname@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rcx
movq _progname@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
jmp LBB0_3
LBB0_2:
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rcx
addq $1, %rcx
movq _progname@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB0_3:
movl $2, -20(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
movq -16(%rbp), %rsi
leaq L_.str(%rip), %rdx
callq _getopt
movl %eax, -24(%rbp)
cmpl $-1, %eax
je LBB0_12
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -24(%rbp), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
subl $63, %eax
je LBB0_9
jmp LBB0_25
LBB0_25: ## in Loop: Header=BB0_4 Depth=1
movl -28(%rbp), %eax ## 4-byte Reload
subl $109, %eax
je LBB0_6
jmp LBB0_26
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
movl -28(%rbp), %eax ## 4-byte Reload
subl $114, %eax
je LBB0_7
jmp LBB0_27
LBB0_27: ## in Loop: Header=BB0_4 Depth=1
movl -28(%rbp), %eax ## 4-byte Reload
subl $118, %eax
je LBB0_8
jmp LBB0_10
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movl $0, -20(%rbp)
jmp LBB0_11
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl $1, -20(%rbp)
jmp LBB0_11
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movq _verbose@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB0_11
LBB0_9:
jmp LBB0_10
LBB0_10:
callq _usage
movl %eax, -4(%rbp)
jmp LBB0_22
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_4
LBB0_12:
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -8(%rbp), %eax
subl %ecx, %eax
movl %eax, -8(%rbp)
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movslq %ecx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
callq _parse
cmpl $0, %eax
jne LBB0_14
## %bb.13:
callq _generate_flags
cmpl $0, %eax
je LBB0_15
LBB0_14:
movl $1, -4(%rbp)
jmp LBB0_22
LBB0_15:
movl -20(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_16
jmp LBB0_23
LBB0_23:
movl -32(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB0_17
jmp LBB0_24
LBB0_24:
movl -32(%rbp), %eax ## 4-byte Reload
subl $2, %eax
je LBB0_18
jmp LBB0_19
LBB0_16:
callq _print_api_mask
jmp LBB0_19
LBB0_17:
callq _print_api_remainder
jmp LBB0_19
LBB0_18:
callq _print_flag_value
LBB0_19:
movq _verbose@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_21
## %bb.20:
callq _dump_api
callq _dump_flags
LBB0_21:
movl $0, -4(%rbp)
LBB0_22:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.26(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse ## -- Begin function parse
.p2align 4, 0x90
_parse: ## @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 $304, %rsp ## imm = 0x130
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq $0, -296(%rbp)
movl $1, -280(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
leaq -272(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $256, %esi ## imm = 0x100
callq _fgets
cmpq $0, %rax
je LBB2_29
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
leaq -272(%rbp), %rdi
movl $10, %esi
callq _strchr
movq %rax, -288(%rbp)
cmpq $0, %rax
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -288(%rbp), %rax
movb $0, (%rax)
jmp LBB2_5
LBB2_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl -280(%rbp), %ecx
leaq L_.str.1(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -276(%rbp)
jmp LBB2_31
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movsbl -272(%rbp), %eax
cmpl $0, %eax
je LBB2_7
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
movsbl -272(%rbp), %eax
cmpl $35, %eax
jne LBB2_8
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_28
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movsbl -272(%rbp), %edi
callq _isspace
cmpl $0, %eax
je LBB2_17
## %bb.9: ## in Loop: Header=BB2_1 Depth=1
leaq -272(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strtok
movq %rax, -288(%rbp)
cmpq $0, %rax
je LBB2_11
## %bb.10: ## in Loop: Header=BB2_1 Depth=1
movq -288(%rbp), %rax
movsbl (%rax), %eax
cmpl $35, %eax
jne LBB2_12
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_28
LBB2_12: ## in Loop: Header=BB2_1 Depth=1
cmpq $0, -296(%rbp)
jne LBB2_14
## %bb.13:
jmp LBB2_30
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
movq -296(%rbp), %rdi
movq -288(%rbp), %rsi
callq _add_entry
cmpl $0, %eax
je LBB2_16
## %bb.15:
movl $1, -276(%rbp)
jmp LBB2_31
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_24
LBB2_17: ## in Loop: Header=BB2_1 Depth=1
leaq -272(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strtok
movq %rax, -288(%rbp)
cmpq $0, %rax
jne LBB2_19
## %bb.18: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_28
LBB2_19: ## in Loop: Header=BB2_1 Depth=1
cmpq $0, -296(%rbp)
je LBB2_21
## %bb.20: ## in Loop: Header=BB2_1 Depth=1
movq -296(%rbp), %rdi
callq _free
LBB2_21: ## in Loop: Header=BB2_1 Depth=1
movq -288(%rbp), %rdi
callq _strdup
movq %rax, -296(%rbp)
cmpq $0, %rax
jne LBB2_23
## %bb.22:
callq _syserr
movl %eax, -276(%rbp)
jmp LBB2_31
LBB2_23: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_24
LBB2_24: ## in Loop: Header=BB2_1 Depth=1
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.2(%rip), %rsi
callq _strtok
movq %rax, -288(%rbp)
cmpq $0, %rax
je LBB2_27
## %bb.25: ## in Loop: Header=BB2_1 Depth=1
movq -288(%rbp), %rax
movsbl (%rax), %eax
cmpl $35, %eax
je LBB2_27
## %bb.26:
jmp LBB2_30
LBB2_27: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_28
LBB2_28: ## in Loop: Header=BB2_1 Depth=1
movl -280(%rbp), %eax
addl $1, %eax
movl %eax, -280(%rbp)
jmp LBB2_1
LBB2_29:
movl $0, -276(%rbp)
jmp LBB2_31
LBB2_30:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl -280(%rbp), %ecx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -276(%rbp)
LBB2_31:
movl -276(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_33
## %bb.32:
movl -300(%rbp), %eax ## 4-byte Reload
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB2_33:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _generate_flags ## -- Begin function generate_flags
.p2align 4, 0x90
_generate_flags: ## @generate_flags
.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 _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _flag_end@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _flag_list@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, %eax
movl %eax, %esi
movl $8, %edx
leaq _flag_cmp_api_cnt(%rip), %rcx
callq _qsort
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
## Child Loop BB3_9 Depth 2
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB3_14
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl $-1, -28(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
cmpq $0, (%rax)
je LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
movq -24(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
xorl $-1, %eax
andl -28(%rbp), %eax
movl %eax, -28(%rbp)
## %bb.5: ## in Loop: Header=BB3_3 Depth=2
movq -24(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
jmp LBB3_3
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
cmpl $0, -28(%rbp)
jne LBB3_8
## %bb.7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq -16(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rcx
leaq L_.str.14(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB3_15
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
movl -28(%rbp), %edi
callq _ffs
movl %eax, %ecx
subl $1, %ecx
movl $1, %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, %ecx
movl %ecx, -28(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movl %ecx, 32(%rax)
movq -16(%rbp), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
LBB3_9: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
cmpq $0, (%rax)
je LBB3_12
## %bb.10: ## in Loop: Header=BB3_9 Depth=2
movl -28(%rbp), %ecx
movq -24(%rbp), %rax
movq (%rax), %rax
orl 8(%rax), %ecx
movl %ecx, 8(%rax)
## %bb.11: ## in Loop: Header=BB3_9 Depth=2
movq -24(%rbp), %rax
addq $8, %rax
movq %rax, -24(%rbp)
jmp LBB3_9
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_13
LBB3_13: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
jmp LBB3_1
LBB3_14:
movl $0, -4(%rbp)
LBB3_15:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_api_mask ## -- Begin function print_api_mask
.p2align 4, 0x90
_print_api_mask: ## @print_api_mask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $288, %rsp ## imm = 0x120
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -280(%rbp)
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
movq -280(%rbp), %rax
cmpq $0, (%rax)
je LBB4_13
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
leaq -272(%rbp), %rdi
movq -280(%rbp), %rax
movq (%rax), %rax
movq (%rax), %r9
movl $256, %ecx ## imm = 0x100
xorl %edx, %edx
leaq L_.str.15(%rip), %r8
movq %rcx, %rsi
movb $0, %al
callq ___snprintf_chk
leaq -272(%rbp), %rax
movq %rax, -288(%rbp)
LBB4_3: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -288(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB4_11
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movq -288(%rbp), %rax
movsbl (%rax), %edi
callq _islower
cmpl $0, %eax
je LBB4_6
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
movq -288(%rbp), %rax
movsbl (%rax), %edi
callq _toupper
movb %al, %cl
movq -288(%rbp), %rax
movb %cl, (%rax)
jmp LBB4_9
LBB4_6: ## in Loop: Header=BB4_3 Depth=2
movq -288(%rbp), %rax
movsbl (%rax), %edi
callq _isalpha
cmpl $0, %eax
jne LBB4_8
## %bb.7: ## in Loop: Header=BB4_3 Depth=2
movq -288(%rbp), %rax
movb $95, (%rax)
LBB4_8: ## in Loop: Header=BB4_3 Depth=2
jmp LBB4_9
LBB4_9: ## in Loop: Header=BB4_3 Depth=2
jmp LBB4_10
LBB4_10: ## in Loop: Header=BB4_3 Depth=2
movq -288(%rbp), %rax
addq $1, %rax
movq %rax, -288(%rbp)
jmp LBB4_3
LBB4_11: ## in Loop: Header=BB4_1 Depth=1
leaq -272(%rbp), %rdi
movq -280(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %esi
callq _define_print
## %bb.12: ## in Loop: Header=BB4_1 Depth=1
movq -280(%rbp), %rax
addq $8, %rax
movq %rax, -280(%rbp)
jmp LBB4_1
LBB4_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_15
## %bb.14:
addq $288, %rsp ## imm = 0x120
popq %rbp
retq
LBB4_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _print_api_remainder ## -- Begin function print_api_remainder
.p2align 4, 0x90
_print_api_remainder: ## @print_api_remainder
.cfi_startproc
## %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 _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_3 Depth 2
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB5_10
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB5_3: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $32, -16(%rbp)
jge LBB5_8
## %bb.4: ## in Loop: Header=BB5_3 Depth=2
movq -8(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %eax
movl -16(%rbp), %ecx
movl $1, %edx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
andl %ecx, %eax
cmpl $0, %eax
jne LBB5_6
## %bb.5: ## in Loop: Header=BB5_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
LBB5_6: ## in Loop: Header=BB5_3 Depth=2
jmp LBB5_7
LBB5_7: ## in Loop: Header=BB5_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB5_3
LBB5_8: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
movl -12(%rbp), %edx
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB5_1 Depth=1
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -8(%rbp)
jmp LBB5_1
LBB5_10:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_flag_value ## -- Begin function print_flag_value
.p2align 4, 0x90
_print_flag_value: ## @print_flag_value
.cfi_startproc
## %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 _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _flag_end@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _flag_list@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, %eax
movl %eax, %esi
movl $8, %edx
leaq _flag_cmp_alpha(%rip), %rcx
callq _qsort
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB6_4
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdi
movq -8(%rbp), %rax
movq (%rax), %rax
movl 32(%rax), %esi
callq _define_print
## %bb.3: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -8(%rbp)
jmp LBB6_1
LBB6_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dump_api ## -- Begin function dump_api
.p2align 4, 0x90
_dump_api: ## @dump_api
.cfi_startproc
## %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.6(%rip), %rdi
movb $0, %al
callq _printf
movq _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
movq -8(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %edx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -8(%rbp)
jmp LBB7_1
LBB7_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dump_flags ## -- Begin function dump_flags
.p2align 4, 0x90
_dump_flags: ## @dump_flags
.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.8(%rip), %rdi
movb $0, %al
callq _printf
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
LBB8_1: ## =>This Loop Header: Depth=1
## Child Loop BB8_3 Depth 2
movq -8(%rbp), %rax
cmpq $0, (%rax)
je LBB8_8
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
movq -8(%rbp), %rax
movq (%rax), %rax
movl 32(%rax), %edx
movq -8(%rbp), %rax
movq (%rax), %rax
movl 8(%rax), %ecx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.10(%rip), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
LBB8_3: ## Parent Loop BB8_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB8_6
## %bb.4: ## in Loop: Header=BB8_3 Depth=2
movq -24(%rbp), %rsi
movq -16(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.12(%rip), %rax
movq %rax, -24(%rbp)
## %bb.5: ## in Loop: Header=BB8_3 Depth=2
movq -16(%rbp), %rax
addq $8, %rax
movq %rax, -16(%rbp)
jmp LBB8_3
LBB8_6: ## in Loop: Header=BB8_1 Depth=1
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB8_1 Depth=1
movq -8(%rbp), %rax
addq $8, %rax
movq %rax, -8(%rbp)
jmp LBB8_1
LBB8_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_entry ## -- Begin function add_entry
.p2align 4, 0x90
_add_entry: ## @add_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -48(%rbp)
movb %al, -69(%rbp) ## 1-byte Spill
je LBB9_4
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movq -48(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, (%rcx)
movb %al, -69(%rbp) ## 1-byte Spill
je LBB9_4
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movq -48(%rbp), %rax
movq _api_end@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setb %al
movb %al, -69(%rbp) ## 1-byte Spill
LBB9_4: ## in Loop: Header=BB9_1 Depth=1
movb -69(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB9_5
jmp LBB9_9
LBB9_5: ## in Loop: Header=BB9_1 Depth=1
movq -16(%rbp), %rdi
movq -48(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB9_7
## %bb.6:
jmp LBB9_9
LBB9_7: ## in Loop: Header=BB9_1 Depth=1
jmp LBB9_8
LBB9_8: ## in Loop: Header=BB9_1 Depth=1
movq -48(%rbp), %rax
addq $8, %rax
movq %rax, -48(%rbp)
jmp LBB9_1
LBB9_9:
cmpq $0, -48(%rbp)
je LBB9_11
## %bb.10:
movq -48(%rbp), %rax
movq _api_end@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB9_17
LBB9_11:
cmpq $0, -48(%rbp)
jne LBB9_13
## %bb.12:
movl $100, %eax
movl %eax, -76(%rbp) ## 4-byte Spill
jmp LBB9_14
LBB9_13:
movq _api_end@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _api_list@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
addl $100, %eax
movl %eax, -76(%rbp) ## 4-byte Spill
LBB9_14:
movl -76(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movq _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -68(%rbp), %eax
movl %eax, %esi
shlq $3, %rsi
callq _realloc
movq _api_list@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB9_16
## %bb.15:
callq _syserr
movl %eax, -4(%rbp)
jmp LBB9_62
LBB9_16:
movq _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl -68(%rbp), %eax
## kill: def $rax killed $eax
shlq $3, %rax
addq %rax, %rcx
movq _api_end@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _api_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -68(%rbp), %ecx
subl $100, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
movq _api_end@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -48(%rbp), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, %eax
movl %eax, %edx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
LBB9_17:
movq -48(%rbp), %rax
cmpq $0, (%rax)
jne LBB9_21
## %bb.18:
movl $16, %edi
movl $1, %esi
callq _calloc
movq -48(%rbp), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
je LBB9_20
## %bb.19:
movq -16(%rbp), %rdi
callq _strdup
movq -48(%rbp), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB9_21
LBB9_20:
callq _syserr
movl %eax, -4(%rbp)
jmp LBB9_62
LBB9_21:
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movl $7, %edx
callq _strncmp
cmpl $0, %eax
jne LBB9_23
## %bb.22:
movq -24(%rbp), %rdi
addq $8, %rdi
addq $-1, %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _strtoul
movq %rax, %rdx
movq -56(%rbp), %rax
movl 8(%rax), %ecx
## kill: def $rcx killed $ecx
orq %rdx, %rcx
## kill: def $ecx killed $ecx killed $rcx
movl %ecx, 8(%rax)
movl $0, -4(%rbp)
jmp LBB9_62
LBB9_23:
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
LBB9_24: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -32(%rbp)
movb %al, -77(%rbp) ## 1-byte Spill
je LBB9_27
## %bb.25: ## in Loop: Header=BB9_24 Depth=1
movq -32(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, (%rcx)
movb %al, -77(%rbp) ## 1-byte Spill
je LBB9_27
## %bb.26: ## in Loop: Header=BB9_24 Depth=1
movq -32(%rbp), %rax
movq _flag_end@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
setb %al
movb %al, -77(%rbp) ## 1-byte Spill
LBB9_27: ## in Loop: Header=BB9_24 Depth=1
movb -77(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB9_28
jmp LBB9_32
LBB9_28: ## in Loop: Header=BB9_24 Depth=1
movq -24(%rbp), %rdi
movq -32(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB9_30
## %bb.29:
jmp LBB9_32
LBB9_30: ## in Loop: Header=BB9_24 Depth=1
jmp LBB9_31
LBB9_31: ## in Loop: Header=BB9_24 Depth=1
movq -32(%rbp), %rax
addq $8, %rax
movq %rax, -32(%rbp)
jmp LBB9_24
LBB9_32:
cmpq $0, -32(%rbp)
je LBB9_34
## %bb.33:
movq -32(%rbp), %rax
movq _flag_end@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB9_40
LBB9_34:
cmpq $0, -32(%rbp)
jne LBB9_36
## %bb.35:
movl $100, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB9_37
LBB9_36:
movq _flag_end@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _flag_list@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
addl $100, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
LBB9_37:
movl -84(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -68(%rbp), %eax
movl %eax, %esi
shlq $3, %rsi
callq _realloc
movq _flag_list@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB9_39
## %bb.38:
callq _syserr
movl %eax, -4(%rbp)
jmp LBB9_62
LBB9_39:
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl -68(%rbp), %eax
## kill: def $rax killed $eax
shlq $3, %rax
addq %rax, %rcx
movq _flag_end@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _flag_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -68(%rbp), %ecx
subl $100, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movq _flag_end@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -32(%rbp), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, %eax
movl %eax, %edx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
LBB9_40:
movq -32(%rbp), %rax
cmpq $0, (%rax)
jne LBB9_44
## %bb.41:
movl $40, %edi
movl $1, %esi
callq _calloc
movq -32(%rbp), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
je LBB9_43
## %bb.42:
movq -24(%rbp), %rdi
callq _strdup
movq -32(%rbp), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
cmpq $0, %rax
jne LBB9_44
LBB9_43:
callq _syserr
movl %eax, -4(%rbp)
jmp LBB9_62
LBB9_44:
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl 8(%rax), %ecx
addl $1, %ecx
movl %ecx, 8(%rax)
movq -40(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -64(%rbp)
LBB9_45: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -64(%rbp)
movb %al, -85(%rbp) ## 1-byte Spill
je LBB9_48
## %bb.46: ## in Loop: Header=BB9_45 Depth=1
movq -64(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, (%rcx)
movb %al, -85(%rbp) ## 1-byte Spill
je LBB9_48
## %bb.47: ## in Loop: Header=BB9_45 Depth=1
movq -64(%rbp), %rax
movq -40(%rbp), %rcx
cmpq 24(%rcx), %rax
setb %al
movb %al, -85(%rbp) ## 1-byte Spill
LBB9_48: ## in Loop: Header=BB9_45 Depth=1
movb -85(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB9_49
jmp LBB9_53
LBB9_49: ## in Loop: Header=BB9_45 Depth=1
movq -16(%rbp), %rdi
movq -64(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB9_51
## %bb.50:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -24(%rbp), %rcx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB9_62
LBB9_51: ## in Loop: Header=BB9_45 Depth=1
jmp LBB9_52
LBB9_52: ## in Loop: Header=BB9_45 Depth=1
movq -64(%rbp), %rax
addq $8, %rax
movq %rax, -64(%rbp)
jmp LBB9_45
LBB9_53:
cmpq $0, -64(%rbp)
je LBB9_55
## %bb.54:
movq -64(%rbp), %rax
movq -40(%rbp), %rcx
cmpq 24(%rcx), %rax
jne LBB9_61
LBB9_55:
cmpq $0, -64(%rbp)
jne LBB9_57
## %bb.56:
movl $20, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
jmp LBB9_58
LBB9_57:
movq -40(%rbp), %rax
movq 24(%rax), %rax
movq -40(%rbp), %rcx
movq 16(%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
addl $20, %eax
movl %eax, -92(%rbp) ## 4-byte Spill
LBB9_58:
movl -92(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movq -40(%rbp), %rax
movq 16(%rax), %rdi
movl -68(%rbp), %eax
movl %eax, %esi
shlq $3, %rsi
callq _realloc
movq -40(%rbp), %rcx
movq %rax, 16(%rcx)
cmpq $0, %rax
jne LBB9_60
## %bb.59:
callq _syserr
movl %eax, -4(%rbp)
jmp LBB9_62
LBB9_60:
movq -40(%rbp), %rax
movq 16(%rax), %rcx
movl -68(%rbp), %eax
## kill: def $rax killed $eax
shlq $3, %rax
addq %rax, %rcx
movq -40(%rbp), %rax
movq %rcx, 24(%rax)
movq -40(%rbp), %rax
movq 16(%rax), %rax
movl -68(%rbp), %ecx
subl $20, %ecx
movl %ecx, %ecx
## kill: def $rcx killed $ecx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rdi
movq -40(%rbp), %rax
movq 24(%rax), %rax
movq -40(%rbp), %rcx
movq 16(%rcx), %rcx
subq %rcx, %rax
sarq $3, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, %eax
movl %eax, %edx
shlq $3, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
LBB9_61:
movq -56(%rbp), %rcx
movq -64(%rbp), %rax
movq %rcx, (%rax)
movl $0, -4(%rbp)
LBB9_62:
movl -4(%rbp), %eax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _syserr ## -- Begin function syserr
.p2align 4, 0x90
_syserr: ## @syserr
.cfi_startproc
## %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 ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp) ## 8-byte Spill
callq ___error
movl (%rax), %edi
callq _strerror
movq -16(%rbp), %rdi ## 8-byte Reload
movq -8(%rbp), %rdx ## 8-byte Reload
movq %rax, %rcx
leaq L_.str.25(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _flag_cmp_api_cnt ## -- Begin function flag_cmp_api_cnt
.p2align 4, 0x90
_flag_cmp_api_cnt: ## @flag_cmp_api_cnt
.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 -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpq $0, -32(%rbp)
jne LBB11_4
## %bb.1:
cmpq $0, -40(%rbp)
jne LBB11_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB11_13
LBB11_3:
movl $1, -4(%rbp)
jmp LBB11_13
LBB11_4:
cmpq $0, -40(%rbp)
jne LBB11_8
## %bb.5:
cmpq $0, -32(%rbp)
jne LBB11_7
## %bb.6:
movl $0, -4(%rbp)
jmp LBB11_13
LBB11_7:
movl $-1, -4(%rbp)
jmp LBB11_13
LBB11_8:
movq -32(%rbp), %rax
movl 8(%rax), %eax
movq -40(%rbp), %rcx
cmpl 8(%rcx), %eax
jle LBB11_10
## %bb.9:
movl $-1, -4(%rbp)
jmp LBB11_13
LBB11_10:
movq -32(%rbp), %rax
movl 8(%rax), %eax
movq -40(%rbp), %rcx
cmpl 8(%rcx), %eax
jge LBB11_12
## %bb.11:
movl $1, -4(%rbp)
jmp LBB11_13
LBB11_12:
movq -32(%rbp), %rax
movq (%rax), %rdi
movq -40(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
movl %eax, -4(%rbp)
LBB11_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _flag_cmp_alpha ## -- Begin function flag_cmp_alpha
.p2align 4, 0x90
_flag_cmp_alpha: ## @flag_cmp_alpha
.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 -16(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpq $0, -32(%rbp)
jne LBB12_4
## %bb.1:
cmpq $0, -40(%rbp)
jne LBB12_3
## %bb.2:
movl $0, -4(%rbp)
jmp LBB12_9
LBB12_3:
movl $1, -4(%rbp)
jmp LBB12_9
LBB12_4:
cmpq $0, -40(%rbp)
jne LBB12_8
## %bb.5:
cmpq $0, -32(%rbp)
jne LBB12_7
## %bb.6:
movl $0, -4(%rbp)
jmp LBB12_9
LBB12_7:
movl $-1, -4(%rbp)
jmp LBB12_9
LBB12_8:
movq -32(%rbp), %rax
movq (%rax), %rdi
movq -40(%rbp), %rax
movq (%rax), %rsi
callq _strcmp
movl %eax, -4(%rbp)
LBB12_9:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _define_print ## -- Begin function define_print
.p2align 4, 0x90
_define_print: ## @define_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 $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rdi
callq _strlen
shrq $3, %rax
movq %rax, -32(%rbp) ## 8-byte Spill
subq $3, %rax
ja LBB13_5
## %bb.9:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI13_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB13_1:
leaq L_.str.17(%rip), %rax
movq %rax, -24(%rbp)
jmp LBB13_6
LBB13_2:
leaq L_.str.18(%rip), %rax
movq %rax, -24(%rbp)
jmp LBB13_6
LBB13_3:
leaq L_.str.19(%rip), %rax
movq %rax, -24(%rbp)
jmp LBB13_6
LBB13_4:
leaq L_.str.20(%rip), %rax
movq %rax, -24(%rbp)
jmp LBB13_6
LBB13_5:
leaq L_.str.21(%rip), %rax
movq %rax, -24(%rbp)
LBB13_6:
movq -8(%rbp), %rsi
movq -24(%rbp), %rdx
movl -12(%rbp), %ecx
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rsi
leaq L_.str.23(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB13_8
## %bb.7:
movq -24(%rbp), %rdx
movl -12(%rbp), %ecx
leaq L_.str.22(%rip), %rdi
leaq L_.str.24(%rip), %rsi
movb $0, %al
callq _printf
LBB13_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L13_0_set_1, LBB13_1-LJTI13_0
.set L13_0_set_2, LBB13_2-LJTI13_0
.set L13_0_set_3, LBB13_3-LJTI13_0
.set L13_0_set_4, LBB13_4-LJTI13_0
LJTI13_0:
.long L13_0_set_1
.long L13_0_set_2
.long L13_0_set_3
.long L13_0_set_4
.end_data_region
## -- End function
.comm _progname,8,3 ## @progname
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mrv"
.comm _verbose,4,2 ## @verbose
L_.str.1: ## @.str.1
.asciz "%s: %d: line too long\n"
L_.str.2: ## @.str.2
.asciz " \t"
L_.str.3: ## @.str.3
.asciz "%s: format error: line %d\n"
.comm _api_list,8,3 ## @api_list
.comm _api_end,8,3 ## @api_end
L_.str.4: ## @.str.4
.asciz "__MASK="
.comm _flag_list,8,3 ## @flag_list
.comm _flag_end,8,3 ## @flag_end
L_.str.5: ## @.str.5
.asciz "duplicate entry: %s / %s\n"
L_.str.6: ## @.str.6
.asciz "=============================\nAPI:\n"
L_.str.7: ## @.str.7
.asciz "%s (%#x)\n"
L_.str.8: ## @.str.8
.asciz "=============================\nFLAGS:\n"
L_.str.9: ## @.str.9
.asciz "%s (%#x, %d): "
L_.str.10: ## @.str.10
.space 1
L_.str.11: ## @.str.11
.asciz "%s%s"
L_.str.12: ## @.str.12
.asciz ", "
L_.str.13: ## @.str.13
.asciz "\n"
L_.str.14: ## @.str.14
.asciz "%s: ran out of bits at flag %s\n"
L_.str.15: ## @.str.15
.asciz "_%s_API_MASK"
L_.str.16: ## @.str.16
.asciz "%s: %d bits unused\n"
L_.str.17: ## @.str.17
.asciz "\t\t\t\t\t"
L_.str.18: ## @.str.18
.asciz "\t\t\t\t"
L_.str.19: ## @.str.19
.asciz "\t\t\t"
L_.str.20: ## @.str.20
.asciz "\t\t"
L_.str.21: ## @.str.21
.asciz "\t"
L_.str.22: ## @.str.22
.asciz "#define\t%s%s%#010x\n"
L_.str.23: ## @.str.23
.asciz "DB_LOG_EXT_FILE"
L_.str.24: ## @.str.24
.asciz "DB_LOG_BLOB"
L_.str.25: ## @.str.25
.asciz "%s: %s\n"
L_.str.26: ## @.str.26
.asciz "usage: %s [-mrv]\n"
.subsections_via_symbols
| the_stack_data/68886551.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_no_clause ; -- Begin function test_no_clause
.p2align 2
_test_no_clause: ; @test_no_clause
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
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 w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_branch_protected_scope ; -- Begin function test_branch_protected_scope
.p2align 2
_test_branch_protected_scope: ; @test_branch_protected_scope
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #4]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
str wzr, [sp, #4]
b LBB1_2
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB1_17
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_2 Depth=2
ldr w8, [sp, #4]
subs w8, w8, #5
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_5: ; in Loop: Header=BB1_2 Depth=2
ldr w8, [sp, #4]
subs w8, w8, #6
cset w8, ne
tbnz w8, #0, LBB1_7
b LBB1_6
LBB1_6:
b LBB1_22
LBB1_7: ; in Loop: Header=BB1_2 Depth=2
ldr w8, [sp, #4]
subs w8, w8, #7
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_2 Depth=2
b LBB1_11
LBB1_9: ; in Loop: Header=BB1_2 Depth=2
ldr w8, [sp, #4]
subs w8, w8, #8
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_2 Depth=2
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_2 Depth=2
ldrsw x9, [sp, #4]
add x8, sp, #8
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_2 Depth=2
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_2 Depth=2
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_2 Depth=2
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_2 Depth=2
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_2 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_2
LBB1_17: ; in Loop: Header=BB1_2 Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_2 Depth=2
b LBB1_11
LBB1_19: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_21:
b LBB1_22
LBB1_22:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_24
b LBB1_23
LBB1_23:
bl ___stack_chk_fail
LBB1_24:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.globl _test_invalid_clause ; -- Begin function test_invalid_clause
.p2align 2
_test_invalid_clause: ; @test_invalid_clause
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_4:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_non_identifiers ; -- Begin function test_non_identifiers
.p2align 2
_test_non_identifiers: ; @test_non_identifiers
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
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:
str wzr, [sp, #12]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_8
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_5
LBB3_8:
str wzr, [sp, #12]
b LBB3_9
LBB3_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_12
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=1
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_9
LBB3_12:
str wzr, [sp, #12]
b LBB3_13
LBB3_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB3_16
b LBB3_14
LBB3_14: ; in Loop: Header=BB3_13 Depth=1
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB3_13
LBB3_16:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_safelen ; -- Begin function test_safelen
.p2align 2
_test_safelen: ; @test_safelen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_1
LBB4_4:
str wzr, [sp, #12]
b LBB4_5
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_8
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_5
LBB4_8:
str wzr, [sp, #12]
b LBB4_9
LBB4_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_9 Depth=1
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_9
LBB4_12:
str wzr, [sp, #12]
b LBB4_13
LBB4_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_16
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=1
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_13
LBB4_16:
str wzr, [sp, #12]
b LBB4_17
LBB4_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_20
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_17 Depth=1
b LBB4_19
LBB4_19: ; in Loop: Header=BB4_17 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_17
LBB4_20:
str wzr, [sp, #12]
b LBB4_21
LBB4_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_24
b LBB4_22
LBB4_22: ; in Loop: Header=BB4_21 Depth=1
b LBB4_23
LBB4_23: ; in Loop: Header=BB4_21 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_21
LBB4_24:
str wzr, [sp, #12]
b LBB4_25
LBB4_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_28
b LBB4_26
LBB4_26: ; in Loop: Header=BB4_25 Depth=1
b LBB4_27
LBB4_27: ; in Loop: Header=BB4_25 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_25
LBB4_28:
str wzr, [sp, #12]
b LBB4_29
LBB4_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_32
b LBB4_30
LBB4_30: ; in Loop: Header=BB4_29 Depth=1
b LBB4_31
LBB4_31: ; in Loop: Header=BB4_29 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_29
LBB4_32:
str wzr, [sp, #12]
b LBB4_33
LBB4_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_36
b LBB4_34
LBB4_34: ; in Loop: Header=BB4_33 Depth=1
b LBB4_35
LBB4_35: ; in Loop: Header=BB4_33 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_33
LBB4_36:
str wzr, [sp, #12]
b LBB4_37
LBB4_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_40
b LBB4_38
LBB4_38: ; in Loop: Header=BB4_37 Depth=1
b LBB4_39
LBB4_39: ; in Loop: Header=BB4_37 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_37
LBB4_40:
str wzr, [sp, #12]
b LBB4_41
LBB4_41: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_44
b LBB4_42
LBB4_42: ; in Loop: Header=BB4_41 Depth=1
b LBB4_43
LBB4_43: ; in Loop: Header=BB4_41 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_41
LBB4_44:
str wzr, [sp, #12]
b LBB4_45
LBB4_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_48
b LBB4_46
LBB4_46: ; in Loop: Header=BB4_45 Depth=1
b LBB4_47
LBB4_47: ; in Loop: Header=BB4_45 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_45
LBB4_48:
str wzr, [sp, #12]
b LBB4_49
LBB4_49: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_52
b LBB4_50
LBB4_50: ; in Loop: Header=BB4_49 Depth=1
b LBB4_51
LBB4_51: ; in Loop: Header=BB4_49 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_49
LBB4_52:
str wzr, [sp, #12]
b LBB4_53
LBB4_53: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_56
b LBB4_54
LBB4_54: ; in Loop: Header=BB4_53 Depth=1
b LBB4_55
LBB4_55: ; in Loop: Header=BB4_53 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_53
LBB4_56:
str wzr, [sp, #12]
b LBB4_57
LBB4_57: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_60
b LBB4_58
LBB4_58: ; in Loop: Header=BB4_57 Depth=1
b LBB4_59
LBB4_59: ; in Loop: Header=BB4_57 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_57
LBB4_60:
str wzr, [sp, #12]
b LBB4_61
LBB4_61: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_64
b LBB4_62
LBB4_62: ; in Loop: Header=BB4_61 Depth=1
b LBB4_63
LBB4_63: ; in Loop: Header=BB4_61 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_61
LBB4_64:
str wzr, [sp, #12]
b LBB4_65
LBB4_65: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_68
b LBB4_66
LBB4_66: ; in Loop: Header=BB4_65 Depth=1
b LBB4_67
LBB4_67: ; in Loop: Header=BB4_65 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_65
LBB4_68:
str wzr, [sp, #12]
b LBB4_69
LBB4_69: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_72
b LBB4_70
LBB4_70: ; in Loop: Header=BB4_69 Depth=1
b LBB4_71
LBB4_71: ; in Loop: Header=BB4_69 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_69
LBB4_72:
str wzr, [sp, #12]
b LBB4_73
LBB4_73: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB4_76
b LBB4_74
LBB4_74: ; in Loop: Header=BB4_73 Depth=1
b LBB4_75
LBB4_75: ; in Loop: Header=BB4_73 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB4_73
LBB4_76:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_simdlen ; -- Begin function test_simdlen
.p2align 2
_test_simdlen: ; @test_simdlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_4
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
b LBB5_3
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_1
LBB5_4:
str wzr, [sp, #12]
b LBB5_5
LBB5_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_8
b LBB5_6
LBB5_6: ; in Loop: Header=BB5_5 Depth=1
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_5
LBB5_8:
str wzr, [sp, #12]
b LBB5_9
LBB5_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_12
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_9 Depth=1
b LBB5_11
LBB5_11: ; in Loop: Header=BB5_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_9
LBB5_12:
str wzr, [sp, #12]
b LBB5_13
LBB5_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_16
b LBB5_14
LBB5_14: ; in Loop: Header=BB5_13 Depth=1
b LBB5_15
LBB5_15: ; in Loop: Header=BB5_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_13
LBB5_16:
str wzr, [sp, #12]
b LBB5_17
LBB5_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_20
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_17 Depth=1
b LBB5_19
LBB5_19: ; in Loop: Header=BB5_17 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_17
LBB5_20:
str wzr, [sp, #12]
b LBB5_21
LBB5_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_24
b LBB5_22
LBB5_22: ; in Loop: Header=BB5_21 Depth=1
b LBB5_23
LBB5_23: ; in Loop: Header=BB5_21 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_21
LBB5_24:
str wzr, [sp, #12]
b LBB5_25
LBB5_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_28
b LBB5_26
LBB5_26: ; in Loop: Header=BB5_25 Depth=1
b LBB5_27
LBB5_27: ; in Loop: Header=BB5_25 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_25
LBB5_28:
str wzr, [sp, #12]
b LBB5_29
LBB5_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_32
b LBB5_30
LBB5_30: ; in Loop: Header=BB5_29 Depth=1
b LBB5_31
LBB5_31: ; in Loop: Header=BB5_29 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_29
LBB5_32:
str wzr, [sp, #12]
b LBB5_33
LBB5_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_36
b LBB5_34
LBB5_34: ; in Loop: Header=BB5_33 Depth=1
b LBB5_35
LBB5_35: ; in Loop: Header=BB5_33 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_33
LBB5_36:
str wzr, [sp, #12]
b LBB5_37
LBB5_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_40
b LBB5_38
LBB5_38: ; in Loop: Header=BB5_37 Depth=1
b LBB5_39
LBB5_39: ; in Loop: Header=BB5_37 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_37
LBB5_40:
str wzr, [sp, #12]
b LBB5_41
LBB5_41: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_44
b LBB5_42
LBB5_42: ; in Loop: Header=BB5_41 Depth=1
b LBB5_43
LBB5_43: ; in Loop: Header=BB5_41 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_41
LBB5_44:
str wzr, [sp, #12]
b LBB5_45
LBB5_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_48
b LBB5_46
LBB5_46: ; in Loop: Header=BB5_45 Depth=1
b LBB5_47
LBB5_47: ; in Loop: Header=BB5_45 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_45
LBB5_48:
str wzr, [sp, #12]
b LBB5_49
LBB5_49: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_52
b LBB5_50
LBB5_50: ; in Loop: Header=BB5_49 Depth=1
b LBB5_51
LBB5_51: ; in Loop: Header=BB5_49 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_49
LBB5_52:
str wzr, [sp, #12]
b LBB5_53
LBB5_53: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_56
b LBB5_54
LBB5_54: ; in Loop: Header=BB5_53 Depth=1
b LBB5_55
LBB5_55: ; in Loop: Header=BB5_53 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_53
LBB5_56:
str wzr, [sp, #12]
b LBB5_57
LBB5_57: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_60
b LBB5_58
LBB5_58: ; in Loop: Header=BB5_57 Depth=1
b LBB5_59
LBB5_59: ; in Loop: Header=BB5_57 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_57
LBB5_60:
str wzr, [sp, #12]
b LBB5_61
LBB5_61: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_64
b LBB5_62
LBB5_62: ; in Loop: Header=BB5_61 Depth=1
b LBB5_63
LBB5_63: ; in Loop: Header=BB5_61 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_61
LBB5_64:
str wzr, [sp, #12]
b LBB5_65
LBB5_65: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_68
b LBB5_66
LBB5_66: ; in Loop: Header=BB5_65 Depth=1
b LBB5_67
LBB5_67: ; in Loop: Header=BB5_65 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_65
LBB5_68:
str wzr, [sp, #12]
b LBB5_69
LBB5_69: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_72
b LBB5_70
LBB5_70: ; in Loop: Header=BB5_69 Depth=1
b LBB5_71
LBB5_71: ; in Loop: Header=BB5_69 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_69
LBB5_72:
str wzr, [sp, #12]
b LBB5_73
LBB5_73: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB5_76
b LBB5_74
LBB5_74: ; in Loop: Header=BB5_73 Depth=1
b LBB5_75
LBB5_75: ; in Loop: Header=BB5_73 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB5_73
LBB5_76:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_safelen_simdlen ; -- Begin function test_safelen_simdlen
.p2align 2
_test_safelen_simdlen: ; @test_safelen_simdlen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB6_4
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
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:
str wzr, [sp, #12]
b LBB6_5
LBB6_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB6_8
b LBB6_6
LBB6_6: ; in Loop: Header=BB6_5 Depth=1
b LBB6_7
LBB6_7: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB6_5
LBB6_8:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_collapse ; -- Begin function test_collapse
.p2align 2
_test_collapse: ; @test_collapse
.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 LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_1
LBB7_4:
stur wzr, [x29, #-4]
b LBB7_5
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_8
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_5 Depth=1
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_5 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_5
LBB7_8:
stur wzr, [x29, #-4]
b LBB7_9
LBB7_9: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_12
b LBB7_10
LBB7_10: ; in Loop: Header=BB7_9 Depth=1
b LBB7_11
LBB7_11: ; in Loop: Header=BB7_9 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_9
LBB7_12:
stur wzr, [x29, #-4]
b LBB7_13
LBB7_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_16
b LBB7_14
LBB7_14: ; in Loop: Header=BB7_13 Depth=1
b LBB7_15
LBB7_15: ; in Loop: Header=BB7_13 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_13
LBB7_16:
stur wzr, [x29, #-4]
b LBB7_17
LBB7_17: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_20
b LBB7_18
LBB7_18: ; in Loop: Header=BB7_17 Depth=1
b LBB7_19
LBB7_19: ; in Loop: Header=BB7_17 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_17
LBB7_20:
stur wzr, [x29, #-4]
b LBB7_21
LBB7_21: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_24
b LBB7_22
LBB7_22: ; in Loop: Header=BB7_21 Depth=1
b LBB7_23
LBB7_23: ; in Loop: Header=BB7_21 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_21
LBB7_24:
stur wzr, [x29, #-4]
b LBB7_25
LBB7_25: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_28
b LBB7_26
LBB7_26: ; in Loop: Header=BB7_25 Depth=1
b LBB7_27
LBB7_27: ; in Loop: Header=BB7_25 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_25
LBB7_28:
stur wzr, [x29, #-4]
b LBB7_29
LBB7_29: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_32
b LBB7_30
LBB7_30: ; in Loop: Header=BB7_29 Depth=1
b LBB7_31
LBB7_31: ; in Loop: Header=BB7_29 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_29
LBB7_32:
stur wzr, [x29, #-4]
b LBB7_33
LBB7_33: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_36
b LBB7_34
LBB7_34: ; in Loop: Header=BB7_33 Depth=1
b LBB7_35
LBB7_35: ; in Loop: Header=BB7_33 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_33
LBB7_36:
stur wzr, [x29, #-4]
b LBB7_37
LBB7_37: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_40
b LBB7_38
LBB7_38: ; in Loop: Header=BB7_37 Depth=1
b LBB7_39
LBB7_39: ; in Loop: Header=BB7_37 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_37
LBB7_40:
stur wzr, [x29, #-4]
b LBB7_41
LBB7_41: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_44
b LBB7_42
LBB7_42: ; in Loop: Header=BB7_41 Depth=1
b LBB7_43
LBB7_43: ; in Loop: Header=BB7_41 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_41
LBB7_44:
stur wzr, [x29, #-4]
b LBB7_45
LBB7_45: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_48
b LBB7_46
LBB7_46: ; in Loop: Header=BB7_45 Depth=1
b LBB7_47
LBB7_47: ; in Loop: Header=BB7_45 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_45
LBB7_48:
stur wzr, [x29, #-8]
b LBB7_49
LBB7_49: ; =>This Loop Header: Depth=1
; Child Loop BB7_51 Depth 2
; Child Loop BB7_53 Depth 3
; Child Loop BB7_55 Depth 4
ldur w8, [x29, #-8]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_64
b LBB7_50
LBB7_50: ; in Loop: Header=BB7_49 Depth=1
stur wzr, [x29, #-12]
b LBB7_51
LBB7_51: ; Parent Loop BB7_49 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB7_53 Depth 3
; Child Loop BB7_55 Depth 4
ldur w8, [x29, #-12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_62
b LBB7_52
LBB7_52: ; in Loop: Header=BB7_51 Depth=2
str wzr, [sp, #16]
b LBB7_53
LBB7_53: ; Parent Loop BB7_49 Depth=1
; Parent Loop BB7_51 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB7_55 Depth 4
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_60
b LBB7_54
LBB7_54: ; in Loop: Header=BB7_53 Depth=3
str wzr, [sp, #12]
b LBB7_55
LBB7_55: ; Parent Loop BB7_49 Depth=1
; Parent Loop BB7_51 Depth=2
; Parent Loop BB7_53 Depth=3
; => This Inner Loop Header: Depth=4
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_58
b LBB7_56
LBB7_56: ; in Loop: Header=BB7_55 Depth=4
bl _foo
b LBB7_57
LBB7_57: ; in Loop: Header=BB7_55 Depth=4
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB7_55
LBB7_58: ; in Loop: Header=BB7_53 Depth=3
b LBB7_59
LBB7_59: ; in Loop: Header=BB7_53 Depth=3
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB7_53
LBB7_60: ; in Loop: Header=BB7_51 Depth=2
b LBB7_61
LBB7_61: ; in Loop: Header=BB7_51 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB7_51
LBB7_62: ; in Loop: Header=BB7_49 Depth=1
b LBB7_63
LBB7_63: ; in Loop: Header=BB7_49 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB7_49
LBB7_64:
stur wzr, [x29, #-4]
b LBB7_65
LBB7_65: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_68
b LBB7_66
LBB7_66: ; in Loop: Header=BB7_65 Depth=1
b LBB7_67
LBB7_67: ; in Loop: Header=BB7_65 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_65
LBB7_68:
stur wzr, [x29, #-4]
b LBB7_69
LBB7_69: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_72
b LBB7_70
LBB7_70: ; in Loop: Header=BB7_69 Depth=1
b LBB7_71
LBB7_71: ; in Loop: Header=BB7_69 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_69
LBB7_72:
stur wzr, [x29, #-4]
b LBB7_73
LBB7_73: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_76
b LBB7_74
LBB7_74: ; in Loop: Header=BB7_73 Depth=1
b LBB7_75
LBB7_75: ; in Loop: Header=BB7_73 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_73
LBB7_76:
stur wzr, [x29, #-4]
b LBB7_77
LBB7_77: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_80
b LBB7_78
LBB7_78: ; in Loop: Header=BB7_77 Depth=1
b LBB7_79
LBB7_79: ; in Loop: Header=BB7_77 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_77
LBB7_80:
stur wzr, [x29, #-4]
b LBB7_81
LBB7_81: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_84
b LBB7_82
LBB7_82: ; in Loop: Header=BB7_81 Depth=1
b LBB7_83
LBB7_83: ; in Loop: Header=BB7_81 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_81
LBB7_84:
stur wzr, [x29, #-4]
b LBB7_85
LBB7_85: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_88
b LBB7_86
LBB7_86: ; in Loop: Header=BB7_85 Depth=1
b LBB7_87
LBB7_87: ; in Loop: Header=BB7_85 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_85
LBB7_88:
stur wzr, [x29, #-4]
b LBB7_89
LBB7_89: ; =>This Loop Header: Depth=1
; Child Loop BB7_91 Depth 2
; Child Loop BB7_93 Depth 3
ldur w8, [x29, #-4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_100
b LBB7_90
LBB7_90: ; in Loop: Header=BB7_89 Depth=1
str wzr, [sp, #8]
b LBB7_91
LBB7_91: ; Parent Loop BB7_89 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB7_93 Depth 3
ldr w8, [sp, #8]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_98
b LBB7_92
LBB7_92: ; in Loop: Header=BB7_91 Depth=2
str wzr, [sp, #4]
b LBB7_93
LBB7_93: ; Parent Loop BB7_89 Depth=1
; Parent Loop BB7_91 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #4]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB7_96
b LBB7_94
LBB7_94: ; in Loop: Header=BB7_93 Depth=3
ldr w9, [sp, #8]
ldur w8, [x29, #-4]
add w8, w8, w9
stur w8, [x29, #-4]
b LBB7_95
LBB7_95: ; in Loop: Header=BB7_93 Depth=3
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB7_93
LBB7_96: ; in Loop: Header=BB7_91 Depth=2
b LBB7_97
LBB7_97: ; in Loop: Header=BB7_91 Depth=2
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB7_91
LBB7_98: ; in Loop: Header=BB7_89 Depth=1
b LBB7_99
LBB7_99: ; in Loop: Header=BB7_89 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB7_89
LBB7_100:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _test_linear ; -- Begin function test_linear
.p2align 2
_test_linear: ; @test_linear
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_4
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_1
LBB8_4:
str wzr, [sp, #12]
b LBB8_5
LBB8_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_8
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_5 Depth=1
b LBB8_7
LBB8_7: ; in Loop: Header=BB8_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_5
LBB8_8:
str wzr, [sp, #12]
b LBB8_9
LBB8_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_12
b LBB8_10
LBB8_10: ; in Loop: Header=BB8_9 Depth=1
b LBB8_11
LBB8_11: ; in Loop: Header=BB8_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_9
LBB8_12:
str wzr, [sp, #12]
b LBB8_13
LBB8_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_16
b LBB8_14
LBB8_14: ; in Loop: Header=BB8_13 Depth=1
b LBB8_15
LBB8_15: ; in Loop: Header=BB8_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_13
LBB8_16:
str wzr, [sp, #12]
b LBB8_17
LBB8_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_20
b LBB8_18
LBB8_18: ; in Loop: Header=BB8_17 Depth=1
b LBB8_19
LBB8_19: ; in Loop: Header=BB8_17 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_17
LBB8_20:
str wzr, [sp, #12]
b LBB8_21
LBB8_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_24
b LBB8_22
LBB8_22: ; in Loop: Header=BB8_21 Depth=1
b LBB8_23
LBB8_23: ; in Loop: Header=BB8_21 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_21
LBB8_24:
str wzr, [sp, #12]
b LBB8_25
LBB8_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_28
b LBB8_26
LBB8_26: ; in Loop: Header=BB8_25 Depth=1
b LBB8_27
LBB8_27: ; in Loop: Header=BB8_25 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_25
LBB8_28:
str wzr, [sp, #12]
b LBB8_29
LBB8_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_32
b LBB8_30
LBB8_30: ; in Loop: Header=BB8_29 Depth=1
b LBB8_31
LBB8_31: ; in Loop: Header=BB8_29 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_29
LBB8_32:
str wzr, [sp, #12]
b LBB8_33
LBB8_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_36
b LBB8_34
LBB8_34: ; in Loop: Header=BB8_33 Depth=1
b LBB8_35
LBB8_35: ; in Loop: Header=BB8_33 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_33
LBB8_36:
str wzr, [sp, #12]
b LBB8_37
LBB8_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_40
b LBB8_38
LBB8_38: ; in Loop: Header=BB8_37 Depth=1
b LBB8_39
LBB8_39: ; in Loop: Header=BB8_37 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_37
LBB8_40:
str wzr, [sp, #12]
b LBB8_41
LBB8_41: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_44
b LBB8_42
LBB8_42: ; in Loop: Header=BB8_41 Depth=1
b LBB8_43
LBB8_43: ; in Loop: Header=BB8_41 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_41
LBB8_44:
str wzr, [sp, #12]
b LBB8_45
LBB8_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_48
b LBB8_46
LBB8_46: ; in Loop: Header=BB8_45 Depth=1
b LBB8_47
LBB8_47: ; in Loop: Header=BB8_45 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_45
LBB8_48:
str wzr, [sp, #12]
b LBB8_49
LBB8_49: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_52
b LBB8_50
LBB8_50: ; in Loop: Header=BB8_49 Depth=1
b LBB8_51
LBB8_51: ; in Loop: Header=BB8_49 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_49
LBB8_52:
str wzr, [sp, #12]
b LBB8_53
LBB8_53: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_56
b LBB8_54
LBB8_54: ; in Loop: Header=BB8_53 Depth=1
b LBB8_55
LBB8_55: ; in Loop: Header=BB8_53 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_53
LBB8_56:
str wzr, [sp, #12]
b LBB8_57
LBB8_57: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_60
b LBB8_58
LBB8_58: ; in Loop: Header=BB8_57 Depth=1
b LBB8_59
LBB8_59: ; in Loop: Header=BB8_57 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_57
LBB8_60:
str wzr, [sp, #12]
b LBB8_61
LBB8_61: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_64
b LBB8_62
LBB8_62: ; in Loop: Header=BB8_61 Depth=1
b LBB8_63
LBB8_63: ; in Loop: Header=BB8_61 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_61
LBB8_64:
str wzr, [sp, #12]
b LBB8_65
LBB8_65: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_68
b LBB8_66
LBB8_66: ; in Loop: Header=BB8_65 Depth=1
b LBB8_67
LBB8_67: ; in Loop: Header=BB8_65 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_65
LBB8_68:
str wzr, [sp, #12]
b LBB8_69
LBB8_69: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_72
b LBB8_70
LBB8_70: ; in Loop: Header=BB8_69 Depth=1
b LBB8_71
LBB8_71: ; in Loop: Header=BB8_69 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_69
LBB8_72:
str wzr, [sp, #12]
b LBB8_73
LBB8_73: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_76
b LBB8_74
LBB8_74: ; in Loop: Header=BB8_73 Depth=1
b LBB8_75
LBB8_75: ; in Loop: Header=BB8_73 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_73
LBB8_76:
str wzr, [sp, #12]
b LBB8_77
LBB8_77: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_80
b LBB8_78
LBB8_78: ; in Loop: Header=BB8_77 Depth=1
b LBB8_79
LBB8_79: ; in Loop: Header=BB8_77 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_77
LBB8_80:
str wzr, [sp, #12]
b LBB8_81
LBB8_81: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB8_84
b LBB8_82
LBB8_82: ; in Loop: Header=BB8_81 Depth=1
b LBB8_83
LBB8_83: ; in Loop: Header=BB8_81 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB8_81
LBB8_84:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_aligned ; -- Begin function test_aligned
.p2align 2
_test_aligned: ; @test_aligned
.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, #16]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_1
LBB9_4:
str wzr, [sp, #16]
b LBB9_5
LBB9_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_8
b LBB9_6
LBB9_6: ; in Loop: Header=BB9_5 Depth=1
b LBB9_7
LBB9_7: ; in Loop: Header=BB9_5 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_5
LBB9_8:
str wzr, [sp, #16]
b LBB9_9
LBB9_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_12
b LBB9_10
LBB9_10: ; in Loop: Header=BB9_9 Depth=1
b LBB9_11
LBB9_11: ; in Loop: Header=BB9_9 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_9
LBB9_12:
str wzr, [sp, #16]
b LBB9_13
LBB9_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_16
b LBB9_14
LBB9_14: ; in Loop: Header=BB9_13 Depth=1
b LBB9_15
LBB9_15: ; in Loop: Header=BB9_13 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_13
LBB9_16:
str wzr, [sp, #16]
b LBB9_17
LBB9_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_20
b LBB9_18
LBB9_18: ; in Loop: Header=BB9_17 Depth=1
b LBB9_19
LBB9_19: ; in Loop: Header=BB9_17 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_17
LBB9_20:
str wzr, [sp, #16]
b LBB9_21
LBB9_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_24
b LBB9_22
LBB9_22: ; in Loop: Header=BB9_21 Depth=1
b LBB9_23
LBB9_23: ; in Loop: Header=BB9_21 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_21
LBB9_24:
str wzr, [sp, #16]
b LBB9_25
LBB9_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_28
b LBB9_26
LBB9_26: ; in Loop: Header=BB9_25 Depth=1
b LBB9_27
LBB9_27: ; in Loop: Header=BB9_25 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_25
LBB9_28:
str wzr, [sp, #16]
b LBB9_29
LBB9_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_32
b LBB9_30
LBB9_30: ; in Loop: Header=BB9_29 Depth=1
b LBB9_31
LBB9_31: ; in Loop: Header=BB9_29 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_29
LBB9_32:
str wzr, [sp, #16]
b LBB9_33
LBB9_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_36
b LBB9_34
LBB9_34: ; in Loop: Header=BB9_33 Depth=1
b LBB9_35
LBB9_35: ; in Loop: Header=BB9_33 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_33
LBB9_36:
str wzr, [sp, #16]
b LBB9_37
LBB9_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_40
b LBB9_38
LBB9_38: ; in Loop: Header=BB9_37 Depth=1
b LBB9_39
LBB9_39: ; in Loop: Header=BB9_37 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_37
LBB9_40:
str wzr, [sp, #16]
b LBB9_41
LBB9_41: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_44
b LBB9_42
LBB9_42: ; in Loop: Header=BB9_41 Depth=1
b LBB9_43
LBB9_43: ; in Loop: Header=BB9_41 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_41
LBB9_44:
str wzr, [sp, #16]
b LBB9_45
LBB9_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_48
b LBB9_46
LBB9_46: ; in Loop: Header=BB9_45 Depth=1
b LBB9_47
LBB9_47: ; in Loop: Header=BB9_45 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_45
LBB9_48:
str wzr, [sp, #16]
b LBB9_49
LBB9_49: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_52
b LBB9_50
LBB9_50: ; in Loop: Header=BB9_49 Depth=1
b LBB9_51
LBB9_51: ; in Loop: Header=BB9_49 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_49
LBB9_52:
str wzr, [sp, #16]
b LBB9_53
LBB9_53: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_56
b LBB9_54
LBB9_54: ; in Loop: Header=BB9_53 Depth=1
b LBB9_55
LBB9_55: ; in Loop: Header=BB9_53 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_53
LBB9_56:
str wzr, [sp, #16]
b LBB9_57
LBB9_57: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_60
b LBB9_58
LBB9_58: ; in Loop: Header=BB9_57 Depth=1
b LBB9_59
LBB9_59: ; in Loop: Header=BB9_57 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_57
LBB9_60:
str wzr, [sp, #16]
b LBB9_61
LBB9_61: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_64
b LBB9_62
LBB9_62: ; in Loop: Header=BB9_61 Depth=1
b LBB9_63
LBB9_63: ; in Loop: Header=BB9_61 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_61
LBB9_64:
str wzr, [sp, #16]
b LBB9_65
LBB9_65: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_68
b LBB9_66
LBB9_66: ; in Loop: Header=BB9_65 Depth=1
b LBB9_67
LBB9_67: ; in Loop: Header=BB9_65 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_65
LBB9_68:
str wzr, [sp, #16]
b LBB9_69
LBB9_69: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_72
b LBB9_70
LBB9_70: ; in Loop: Header=BB9_69 Depth=1
b LBB9_71
LBB9_71: ; in Loop: Header=BB9_69 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_69
LBB9_72:
str wzr, [sp, #16]
b LBB9_73
LBB9_73: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_76
b LBB9_74
LBB9_74: ; in Loop: Header=BB9_73 Depth=1
b LBB9_75
LBB9_75: ; in Loop: Header=BB9_73 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_73
LBB9_76:
str wzr, [sp, #16]
b LBB9_77
LBB9_77: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_80
b LBB9_78
LBB9_78: ; in Loop: Header=BB9_77 Depth=1
b LBB9_79
LBB9_79: ; in Loop: Header=BB9_77 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_77
LBB9_80:
str wzr, [sp, #16]
b LBB9_81
LBB9_81: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB9_84
b LBB9_82
LBB9_82: ; in Loop: Header=BB9_81 Depth=1
b LBB9_83
LBB9_83: ; in Loop: Header=BB9_81 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_81
LBB9_84:
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, LBB9_86
b LBB9_85
LBB9_85:
bl ___stack_chk_fail
LBB9_86:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _test_private ; -- Begin function test_private
.p2align 2
_test_private: ; @test_private
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_4
b LBB10_2
LBB10_2: ; in Loop: Header=BB10_1 Depth=1
b LBB10_3
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_1
LBB10_4:
str wzr, [sp, #12]
b LBB10_5
LBB10_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_8
b LBB10_6
LBB10_6: ; in Loop: Header=BB10_5 Depth=1
b LBB10_7
LBB10_7: ; in Loop: Header=BB10_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_5
LBB10_8:
str wzr, [sp, #12]
b LBB10_9
LBB10_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_12
b LBB10_10
LBB10_10: ; in Loop: Header=BB10_9 Depth=1
b LBB10_11
LBB10_11: ; in Loop: Header=BB10_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_9
LBB10_12:
str wzr, [sp, #12]
b LBB10_13
LBB10_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_16
b LBB10_14
LBB10_14: ; in Loop: Header=BB10_13 Depth=1
b LBB10_15
LBB10_15: ; in Loop: Header=BB10_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_13
LBB10_16:
str wzr, [sp, #12]
b LBB10_17
LBB10_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_20
b LBB10_18
LBB10_18: ; in Loop: Header=BB10_17 Depth=1
b LBB10_19
LBB10_19: ; in Loop: Header=BB10_17 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_17
LBB10_20:
str wzr, [sp, #12]
b LBB10_21
LBB10_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_24
b LBB10_22
LBB10_22: ; in Loop: Header=BB10_21 Depth=1
b LBB10_23
LBB10_23: ; in Loop: Header=BB10_21 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_21
LBB10_24:
str wzr, [sp, #12]
b LBB10_25
LBB10_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_28
b LBB10_26
LBB10_26: ; in Loop: Header=BB10_25 Depth=1
b LBB10_27
LBB10_27: ; in Loop: Header=BB10_25 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_25
LBB10_28:
str wzr, [sp, #12]
b LBB10_29
LBB10_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_32
b LBB10_30
LBB10_30: ; in Loop: Header=BB10_29 Depth=1
b LBB10_31
LBB10_31: ; in Loop: Header=BB10_29 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_29
LBB10_32:
str wzr, [sp, #12]
b LBB10_33
LBB10_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB10_36
b LBB10_34
LBB10_34: ; in Loop: Header=BB10_33 Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #12]
mul w8, w8, w9
ldr w9, [sp]
add w8, w8, w9
str w8, [sp, #8]
b LBB10_35
LBB10_35: ; in Loop: Header=BB10_33 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB10_33
LBB10_36:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_lastprivate ; -- Begin function test_lastprivate
.p2align 2
_test_lastprivate: ; @test_lastprivate
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB11_1
LBB11_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_4
b LBB11_2
LBB11_2: ; in Loop: Header=BB11_1 Depth=1
b LBB11_3
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_1
LBB11_4:
str wzr, [sp, #12]
b LBB11_5
LBB11_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_8
b LBB11_6
LBB11_6: ; in Loop: Header=BB11_5 Depth=1
b LBB11_7
LBB11_7: ; in Loop: Header=BB11_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_5
LBB11_8:
str wzr, [sp, #12]
b LBB11_9
LBB11_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_12
b LBB11_10
LBB11_10: ; in Loop: Header=BB11_9 Depth=1
b LBB11_11
LBB11_11: ; in Loop: Header=BB11_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_9
LBB11_12:
str wzr, [sp, #12]
b LBB11_13
LBB11_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_16
b LBB11_14
LBB11_14: ; in Loop: Header=BB11_13 Depth=1
b LBB11_15
LBB11_15: ; in Loop: Header=BB11_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_13
LBB11_16:
str wzr, [sp, #12]
b LBB11_17
LBB11_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_20
b LBB11_18
LBB11_18: ; in Loop: Header=BB11_17 Depth=1
b LBB11_19
LBB11_19: ; in Loop: Header=BB11_17 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_17
LBB11_20:
str wzr, [sp, #12]
b LBB11_21
LBB11_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_24
b LBB11_22
LBB11_22: ; in Loop: Header=BB11_21 Depth=1
b LBB11_23
LBB11_23: ; in Loop: Header=BB11_21 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_21
LBB11_24:
str wzr, [sp, #12]
b LBB11_25
LBB11_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_28
b LBB11_26
LBB11_26: ; in Loop: Header=BB11_25 Depth=1
b LBB11_27
LBB11_27: ; in Loop: Header=BB11_25 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_25
LBB11_28:
str wzr, [sp, #12]
b LBB11_29
LBB11_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_32
b LBB11_30
LBB11_30: ; in Loop: Header=BB11_29 Depth=1
b LBB11_31
LBB11_31: ; in Loop: Header=BB11_29 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_29
LBB11_32:
str wzr, [sp, #12]
b LBB11_33
LBB11_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB11_36
b LBB11_34
LBB11_34: ; in Loop: Header=BB11_33 Depth=1
b LBB11_35
LBB11_35: ; in Loop: Header=BB11_33 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB11_33
LBB11_36:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_firstprivate ; -- Begin function test_firstprivate
.p2align 2
_test_firstprivate: ; @test_firstprivate
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB12_1
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_4
b LBB12_2
LBB12_2: ; in Loop: Header=BB12_1 Depth=1
b LBB12_3
LBB12_3: ; in Loop: Header=BB12_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_1
LBB12_4:
str wzr, [sp, #12]
b LBB12_5
LBB12_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_8
b LBB12_6
LBB12_6: ; in Loop: Header=BB12_5 Depth=1
b LBB12_7
LBB12_7: ; in Loop: Header=BB12_5 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_5
LBB12_8:
str wzr, [sp, #12]
b LBB12_9
LBB12_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_12
b LBB12_10
LBB12_10: ; in Loop: Header=BB12_9 Depth=1
b LBB12_11
LBB12_11: ; in Loop: Header=BB12_9 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_9
LBB12_12:
str wzr, [sp, #12]
b LBB12_13
LBB12_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_16
b LBB12_14
LBB12_14: ; in Loop: Header=BB12_13 Depth=1
b LBB12_15
LBB12_15: ; in Loop: Header=BB12_13 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_13
LBB12_16:
str wzr, [sp, #12]
b LBB12_17
LBB12_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_20
b LBB12_18
LBB12_18: ; in Loop: Header=BB12_17 Depth=1
b LBB12_19
LBB12_19: ; in Loop: Header=BB12_17 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_17
LBB12_20:
str wzr, [sp, #12]
b LBB12_21
LBB12_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_24
b LBB12_22
LBB12_22: ; in Loop: Header=BB12_21 Depth=1
b LBB12_23
LBB12_23: ; in Loop: Header=BB12_21 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_21
LBB12_24:
str wzr, [sp, #12]
b LBB12_25
LBB12_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_28
b LBB12_26
LBB12_26: ; in Loop: Header=BB12_25 Depth=1
b LBB12_27
LBB12_27: ; in Loop: Header=BB12_25 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_25
LBB12_28:
str wzr, [sp, #12]
b LBB12_29
LBB12_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_32
b LBB12_30
LBB12_30: ; in Loop: Header=BB12_29 Depth=1
b LBB12_31
LBB12_31: ; in Loop: Header=BB12_29 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_29
LBB12_32:
str wzr, [sp, #12]
b LBB12_33
LBB12_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB12_36
b LBB12_34
LBB12_34: ; in Loop: Header=BB12_33 Depth=1
b LBB12_35
LBB12_35: ; in Loop: Header=BB12_33 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB12_33
LBB12_36:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_loop_messages ; -- Begin function test_loop_messages
.p2align 2
_test_loop_messages: ; @test_loop_messages
.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, #1232
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
movi d0, #0000000000000000
str s0, [sp, #20]
b LBB13_1
LBB13_1: ; =>This Inner Loop Header: Depth=1
ldr s0, [sp, #20]
fcvt d0, s0
fmov d1, #10.00000000
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB13_4
b LBB13_2
LBB13_2: ; in Loop: Header=BB13_1 Depth=1
ldr s0, [sp, #20]
fcvtzs w9, s0
add x8, sp, #824
ldr s0, [x8, w9, sxtw #2]
ldr s1, [sp, #20]
fcvtzs w9, s1
add x8, sp, #424
ldr s1, [x8, w9, sxtw #2]
fadd s0, s0, s1
ldr s1, [sp, #20]
fcvtzs w9, s1
add x8, sp, #24
str s0, [x8, w9, sxtw #2]
b LBB13_3
LBB13_3: ; in Loop: Header=BB13_1 Depth=1
ldr s0, [sp, #20]
fmov s1, #1.00000000
fadd s0, s0, s1
str s0, [sp, #20]
b LBB13_1
LBB13_4:
movi d0, #0000000000000000
str d0, [sp, #8]
b LBB13_5
LBB13_5: ; =>This Inner Loop Header: Depth=1
ldr d0, [sp, #8]
fmov d1, #10.00000000
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB13_8
b LBB13_6
LBB13_6: ; in Loop: Header=BB13_5 Depth=1
ldr d0, [sp, #8]
fcvtzs w9, d0
add x8, sp, #824
ldr s0, [x8, w9, sxtw #2]
ldr d1, [sp, #8]
fcvtzs w9, d1
add x8, sp, #424
ldr s1, [x8, w9, sxtw #2]
fadd s0, s0, s1
ldr d1, [sp, #8]
fcvtzs w9, d1
add x8, sp, #24
str s0, [x8, w9, sxtw #2]
b LBB13_7
LBB13_7: ; in Loop: Header=BB13_5 Depth=1
ldr d0, [sp, #8]
fmov d1, #1.00000000
fadd d0, d0, d1
str d0, [sp, #8]
b LBB13_5
LBB13_8:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB13_10
b LBB13_9
LBB13_9:
bl ___stack_chk_fail
LBB13_10:
add sp, sp, #1232
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _test_nontemporal ; -- Begin function test_nontemporal
.p2align 2
_test_nontemporal: ; @test_nontemporal
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str wzr, [sp, #28]
b LBB14_1
LBB14_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_4
b LBB14_2
LBB14_2: ; in Loop: Header=BB14_1 Depth=1
b LBB14_3
LBB14_3: ; in Loop: Header=BB14_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_1
LBB14_4:
str wzr, [sp, #28]
b LBB14_5
LBB14_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_8
b LBB14_6
LBB14_6: ; in Loop: Header=BB14_5 Depth=1
b LBB14_7
LBB14_7: ; in Loop: Header=BB14_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_5
LBB14_8:
str wzr, [sp, #28]
b LBB14_9
LBB14_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_12
b LBB14_10
LBB14_10: ; in Loop: Header=BB14_9 Depth=1
b LBB14_11
LBB14_11: ; in Loop: Header=BB14_9 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_9
LBB14_12:
str wzr, [sp, #28]
b LBB14_13
LBB14_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_16
b LBB14_14
LBB14_14: ; in Loop: Header=BB14_13 Depth=1
b LBB14_15
LBB14_15: ; in Loop: Header=BB14_13 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_13
LBB14_16:
str wzr, [sp, #28]
b LBB14_17
LBB14_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_20
b LBB14_18
LBB14_18: ; in Loop: Header=BB14_17 Depth=1
b LBB14_19
LBB14_19: ; in Loop: Header=BB14_17 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_17
LBB14_20:
str wzr, [sp, #28]
b LBB14_21
LBB14_21: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_24
b LBB14_22
LBB14_22: ; in Loop: Header=BB14_21 Depth=1
b LBB14_23
LBB14_23: ; in Loop: Header=BB14_21 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_21
LBB14_24:
str wzr, [sp, #28]
b LBB14_25
LBB14_25: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_28
b LBB14_26
LBB14_26: ; in Loop: Header=BB14_25 Depth=1
b LBB14_27
LBB14_27: ; in Loop: Header=BB14_25 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_25
LBB14_28:
str wzr, [sp, #28]
b LBB14_29
LBB14_29: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_32
b LBB14_30
LBB14_30: ; in Loop: Header=BB14_29 Depth=1
b LBB14_31
LBB14_31: ; in Loop: Header=BB14_29 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_29
LBB14_32:
str wzr, [sp, #28]
b LBB14_33
LBB14_33: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_36
b LBB14_34
LBB14_34: ; in Loop: Header=BB14_33 Depth=1
b LBB14_35
LBB14_35: ; in Loop: Header=BB14_33 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_33
LBB14_36:
str wzr, [sp, #28]
b LBB14_37
LBB14_37: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_40
b LBB14_38
LBB14_38: ; in Loop: Header=BB14_37 Depth=1
b LBB14_39
LBB14_39: ; in Loop: Header=BB14_37 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_37
LBB14_40:
str wzr, [sp, #28]
b LBB14_41
LBB14_41: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_44
b LBB14_42
LBB14_42: ; in Loop: Header=BB14_41 Depth=1
b LBB14_43
LBB14_43: ; in Loop: Header=BB14_41 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_41
LBB14_44:
str wzr, [sp, #28]
b LBB14_45
LBB14_45: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_48
b LBB14_46
LBB14_46: ; in Loop: Header=BB14_45 Depth=1
b LBB14_47
LBB14_47: ; in Loop: Header=BB14_45 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_45
LBB14_48:
str wzr, [sp, #28]
b LBB14_49
LBB14_49: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_52
b LBB14_50
LBB14_50: ; in Loop: Header=BB14_49 Depth=1
b LBB14_51
LBB14_51: ; in Loop: Header=BB14_49 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_49
LBB14_52:
str wzr, [sp, #28]
b LBB14_53
LBB14_53: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_56
b LBB14_54
LBB14_54: ; in Loop: Header=BB14_53 Depth=1
b LBB14_55
LBB14_55: ; in Loop: Header=BB14_53 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_53
LBB14_56:
str wzr, [sp, #28]
b LBB14_57
LBB14_57: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_60
b LBB14_58
LBB14_58: ; in Loop: Header=BB14_57 Depth=1
b LBB14_59
LBB14_59: ; in Loop: Header=BB14_57 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_57
LBB14_60:
str wzr, [sp, #28]
b LBB14_61
LBB14_61: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_64
b LBB14_62
LBB14_62: ; in Loop: Header=BB14_61 Depth=1
b LBB14_63
LBB14_63: ; in Loop: Header=BB14_61 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_61
LBB14_64:
str wzr, [sp, #28]
b LBB14_65
LBB14_65: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB14_68
b LBB14_66
LBB14_66: ; in Loop: Header=BB14_65 Depth=1
b LBB14_67
LBB14_67: ; in Loop: Header=BB14_65 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB14_65
LBB14_68:
str wzr, [sp, #16]
b LBB14_69
LBB14_69: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB14_72
b LBB14_70
LBB14_70: ; in Loop: Header=BB14_69 Depth=1
b LBB14_71
LBB14_71: ; in Loop: Header=BB14_69 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB14_69
LBB14_72:
str wzr, [sp, #12]
b LBB14_73
LBB14_73: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB14_76
b LBB14_74
LBB14_74: ; in Loop: Header=BB14_73 Depth=1
b LBB14_75
LBB14_75: ; in Loop: Header=BB14_73 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB14_73
LBB14_76:
str wzr, [sp, #8]
b LBB14_77
LBB14_77: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB14_80
b LBB14_78
LBB14_78: ; in Loop: Header=BB14_77 Depth=1
b LBB14_79
LBB14_79: ; in Loop: Header=BB14_77 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB14_77
LBB14_80:
str wzr, [sp, #4]
b LBB14_81
LBB14_81: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB14_84
b LBB14_82
LBB14_82: ; in Loop: Header=BB14_81 Depth=1
b LBB14_83
LBB14_83: ; in Loop: Header=BB14_81 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB14_81
LBB14_84:
str wzr, [sp]
b LBB14_85
LBB14_85: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB14_88
b LBB14_86
LBB14_86: ; in Loop: Header=BB14_85 Depth=1
b LBB14_87
LBB14_87: ; in Loop: Header=BB14_85 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB14_85
LBB14_88:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_no_clause ## -- Begin function test_no_clause
.p2align 4, 0x90
_test_no_clause: ## @test_no_clause
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_3
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_branch_protected_scope ## -- Begin function test_branch_protected_scope
.p2align 4, 0x90
_test_branch_protected_scope: ## @test_branch_protected_scope
.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)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
movl $0, -116(%rbp)
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $16, -116(%rbp)
jge LBB1_17
## %bb.3: ## in Loop: Header=BB1_2 Depth=2
cmpl $5, -116(%rbp)
jne LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_5: ## in Loop: Header=BB1_2 Depth=2
cmpl $6, -116(%rbp)
jne LBB1_7
## %bb.6:
jmp LBB1_22
LBB1_7: ## in Loop: Header=BB1_2 Depth=2
cmpl $7, -116(%rbp)
jne LBB1_9
## %bb.8: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_11
LBB1_9: ## in Loop: Header=BB1_2 Depth=2
cmpl $8, -116(%rbp)
jne LBB1_12
## %bb.10: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_11
LBB1_11: ## in Loop: Header=BB1_2 Depth=2
movslq -116(%rbp), %rax
movl -112(%rbp,%rax,4), %ecx
addl $1, %ecx
movl %ecx, -112(%rbp,%rax,4)
LBB1_12: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_14
LBB1_14: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_15
LBB1_15: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_2 Depth=2
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB1_2
LBB1_17: ## in Loop: Header=BB1_2 Depth=2
cmpl $0, -112(%rbp)
jne LBB1_19
## %bb.18: ## in Loop: Header=BB1_2 Depth=2
jmp LBB1_11
LBB1_19: ## in Loop: Header=BB1_1 Depth=1
cmpl $1, -108(%rbp)
jne LBB1_21
## %bb.20: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_21:
jmp LBB1_22
LBB1_22:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_24
## %bb.23:
addq $128, %rsp
popq %rbp
retq
LBB1_24:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _test_invalid_clause ## -- Begin function test_invalid_clause
.p2align 4, 0x90
_test_invalid_clause: ## @test_invalid_clause
.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)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_3
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB2_1
LBB2_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_non_identifiers ## -- Begin function test_non_identifiers
.p2align 4, 0x90
_test_non_identifiers: ## @test_non_identifiers
.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)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_3
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB3_1
LBB3_4:
movl $0, -4(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB3_8
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
jmp LBB3_7
LBB3_7: ## in Loop: Header=BB3_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB3_5
LBB3_8:
movl $0, -4(%rbp)
LBB3_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB3_12
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
jmp LBB3_11
LBB3_11: ## in Loop: Header=BB3_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB3_9
LBB3_12:
movl $0, -4(%rbp)
LBB3_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB3_16
## %bb.14: ## in Loop: Header=BB3_13 Depth=1
jmp LBB3_15
LBB3_15: ## in Loop: Header=BB3_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB3_13
LBB3_16:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_safelen ## -- Begin function test_safelen
.p2align 4, 0x90
_test_safelen: ## @test_safelen
.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)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_3
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_1
LBB4_4:
movl $0, -4(%rbp)
LBB4_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_8
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
jmp LBB4_7
LBB4_7: ## in Loop: Header=BB4_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_5
LBB4_8:
movl $0, -4(%rbp)
LBB4_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_12
## %bb.10: ## in Loop: Header=BB4_9 Depth=1
jmp LBB4_11
LBB4_11: ## in Loop: Header=BB4_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_9
LBB4_12:
movl $0, -4(%rbp)
LBB4_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_16
## %bb.14: ## in Loop: Header=BB4_13 Depth=1
jmp LBB4_15
LBB4_15: ## in Loop: Header=BB4_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_13
LBB4_16:
movl $0, -4(%rbp)
LBB4_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_20
## %bb.18: ## in Loop: Header=BB4_17 Depth=1
jmp LBB4_19
LBB4_19: ## in Loop: Header=BB4_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_17
LBB4_20:
movl $0, -4(%rbp)
LBB4_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_24
## %bb.22: ## in Loop: Header=BB4_21 Depth=1
jmp LBB4_23
LBB4_23: ## in Loop: Header=BB4_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_21
LBB4_24:
movl $0, -4(%rbp)
LBB4_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_28
## %bb.26: ## in Loop: Header=BB4_25 Depth=1
jmp LBB4_27
LBB4_27: ## in Loop: Header=BB4_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_25
LBB4_28:
movl $0, -4(%rbp)
LBB4_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_32
## %bb.30: ## in Loop: Header=BB4_29 Depth=1
jmp LBB4_31
LBB4_31: ## in Loop: Header=BB4_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_29
LBB4_32:
movl $0, -4(%rbp)
LBB4_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_36
## %bb.34: ## in Loop: Header=BB4_33 Depth=1
jmp LBB4_35
LBB4_35: ## in Loop: Header=BB4_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_33
LBB4_36:
movl $0, -4(%rbp)
LBB4_37: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_40
## %bb.38: ## in Loop: Header=BB4_37 Depth=1
jmp LBB4_39
LBB4_39: ## in Loop: Header=BB4_37 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_37
LBB4_40:
movl $0, -4(%rbp)
LBB4_41: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_44
## %bb.42: ## in Loop: Header=BB4_41 Depth=1
jmp LBB4_43
LBB4_43: ## in Loop: Header=BB4_41 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_41
LBB4_44:
movl $0, -4(%rbp)
LBB4_45: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_48
## %bb.46: ## in Loop: Header=BB4_45 Depth=1
jmp LBB4_47
LBB4_47: ## in Loop: Header=BB4_45 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_45
LBB4_48:
movl $0, -4(%rbp)
LBB4_49: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_52
## %bb.50: ## in Loop: Header=BB4_49 Depth=1
jmp LBB4_51
LBB4_51: ## in Loop: Header=BB4_49 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_49
LBB4_52:
movl $0, -4(%rbp)
LBB4_53: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_56
## %bb.54: ## in Loop: Header=BB4_53 Depth=1
jmp LBB4_55
LBB4_55: ## in Loop: Header=BB4_53 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_53
LBB4_56:
movl $0, -4(%rbp)
LBB4_57: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_60
## %bb.58: ## in Loop: Header=BB4_57 Depth=1
jmp LBB4_59
LBB4_59: ## in Loop: Header=BB4_57 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_57
LBB4_60:
movl $0, -4(%rbp)
LBB4_61: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_64
## %bb.62: ## in Loop: Header=BB4_61 Depth=1
jmp LBB4_63
LBB4_63: ## in Loop: Header=BB4_61 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_61
LBB4_64:
movl $0, -4(%rbp)
LBB4_65: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_68
## %bb.66: ## in Loop: Header=BB4_65 Depth=1
jmp LBB4_67
LBB4_67: ## in Loop: Header=BB4_65 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_65
LBB4_68:
movl $0, -4(%rbp)
LBB4_69: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_72
## %bb.70: ## in Loop: Header=BB4_69 Depth=1
jmp LBB4_71
LBB4_71: ## in Loop: Header=BB4_69 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_69
LBB4_72:
movl $0, -4(%rbp)
LBB4_73: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB4_76
## %bb.74: ## in Loop: Header=BB4_73 Depth=1
jmp LBB4_75
LBB4_75: ## in Loop: Header=BB4_73 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB4_73
LBB4_76:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_simdlen ## -- Begin function test_simdlen
.p2align 4, 0x90
_test_simdlen: ## @test_simdlen
.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)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_4
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_3
LBB5_3: ## in Loop: Header=BB5_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_1
LBB5_4:
movl $0, -4(%rbp)
LBB5_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_8
## %bb.6: ## in Loop: Header=BB5_5 Depth=1
jmp LBB5_7
LBB5_7: ## in Loop: Header=BB5_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_5
LBB5_8:
movl $0, -4(%rbp)
LBB5_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_12
## %bb.10: ## in Loop: Header=BB5_9 Depth=1
jmp LBB5_11
LBB5_11: ## in Loop: Header=BB5_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_9
LBB5_12:
movl $0, -4(%rbp)
LBB5_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_16
## %bb.14: ## in Loop: Header=BB5_13 Depth=1
jmp LBB5_15
LBB5_15: ## in Loop: Header=BB5_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_13
LBB5_16:
movl $0, -4(%rbp)
LBB5_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_20
## %bb.18: ## in Loop: Header=BB5_17 Depth=1
jmp LBB5_19
LBB5_19: ## in Loop: Header=BB5_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_17
LBB5_20:
movl $0, -4(%rbp)
LBB5_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_24
## %bb.22: ## in Loop: Header=BB5_21 Depth=1
jmp LBB5_23
LBB5_23: ## in Loop: Header=BB5_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_21
LBB5_24:
movl $0, -4(%rbp)
LBB5_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_28
## %bb.26: ## in Loop: Header=BB5_25 Depth=1
jmp LBB5_27
LBB5_27: ## in Loop: Header=BB5_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_25
LBB5_28:
movl $0, -4(%rbp)
LBB5_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_32
## %bb.30: ## in Loop: Header=BB5_29 Depth=1
jmp LBB5_31
LBB5_31: ## in Loop: Header=BB5_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_29
LBB5_32:
movl $0, -4(%rbp)
LBB5_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_36
## %bb.34: ## in Loop: Header=BB5_33 Depth=1
jmp LBB5_35
LBB5_35: ## in Loop: Header=BB5_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_33
LBB5_36:
movl $0, -4(%rbp)
LBB5_37: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_40
## %bb.38: ## in Loop: Header=BB5_37 Depth=1
jmp LBB5_39
LBB5_39: ## in Loop: Header=BB5_37 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_37
LBB5_40:
movl $0, -4(%rbp)
LBB5_41: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_44
## %bb.42: ## in Loop: Header=BB5_41 Depth=1
jmp LBB5_43
LBB5_43: ## in Loop: Header=BB5_41 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_41
LBB5_44:
movl $0, -4(%rbp)
LBB5_45: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_48
## %bb.46: ## in Loop: Header=BB5_45 Depth=1
jmp LBB5_47
LBB5_47: ## in Loop: Header=BB5_45 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_45
LBB5_48:
movl $0, -4(%rbp)
LBB5_49: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_52
## %bb.50: ## in Loop: Header=BB5_49 Depth=1
jmp LBB5_51
LBB5_51: ## in Loop: Header=BB5_49 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_49
LBB5_52:
movl $0, -4(%rbp)
LBB5_53: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_56
## %bb.54: ## in Loop: Header=BB5_53 Depth=1
jmp LBB5_55
LBB5_55: ## in Loop: Header=BB5_53 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_53
LBB5_56:
movl $0, -4(%rbp)
LBB5_57: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_60
## %bb.58: ## in Loop: Header=BB5_57 Depth=1
jmp LBB5_59
LBB5_59: ## in Loop: Header=BB5_57 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_57
LBB5_60:
movl $0, -4(%rbp)
LBB5_61: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_64
## %bb.62: ## in Loop: Header=BB5_61 Depth=1
jmp LBB5_63
LBB5_63: ## in Loop: Header=BB5_61 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_61
LBB5_64:
movl $0, -4(%rbp)
LBB5_65: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_68
## %bb.66: ## in Loop: Header=BB5_65 Depth=1
jmp LBB5_67
LBB5_67: ## in Loop: Header=BB5_65 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_65
LBB5_68:
movl $0, -4(%rbp)
LBB5_69: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_72
## %bb.70: ## in Loop: Header=BB5_69 Depth=1
jmp LBB5_71
LBB5_71: ## in Loop: Header=BB5_69 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_69
LBB5_72:
movl $0, -4(%rbp)
LBB5_73: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB5_76
## %bb.74: ## in Loop: Header=BB5_73 Depth=1
jmp LBB5_75
LBB5_75: ## in Loop: Header=BB5_73 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB5_73
LBB5_76:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_safelen_simdlen ## -- Begin function test_safelen_simdlen
.p2align 4, 0x90
_test_safelen_simdlen: ## @test_safelen_simdlen
.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)
LBB6_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB6_4
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_3
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB6_1
LBB6_4:
movl $0, -4(%rbp)
LBB6_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB6_8
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
jmp LBB6_7
LBB6_7: ## in Loop: Header=BB6_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB6_5
LBB6_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_collapse ## -- Begin function test_collapse
.p2align 4, 0x90
_test_collapse: ## @test_collapse
.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)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
jmp LBB7_3
LBB7_3: ## in Loop: Header=BB7_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_1
LBB7_4:
movl $0, -4(%rbp)
LBB7_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_8
## %bb.6: ## in Loop: Header=BB7_5 Depth=1
jmp LBB7_7
LBB7_7: ## in Loop: Header=BB7_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_5
LBB7_8:
movl $0, -4(%rbp)
LBB7_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_12
## %bb.10: ## in Loop: Header=BB7_9 Depth=1
jmp LBB7_11
LBB7_11: ## in Loop: Header=BB7_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_9
LBB7_12:
movl $0, -4(%rbp)
LBB7_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_16
## %bb.14: ## in Loop: Header=BB7_13 Depth=1
jmp LBB7_15
LBB7_15: ## in Loop: Header=BB7_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_13
LBB7_16:
movl $0, -4(%rbp)
LBB7_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_20
## %bb.18: ## in Loop: Header=BB7_17 Depth=1
jmp LBB7_19
LBB7_19: ## in Loop: Header=BB7_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_17
LBB7_20:
movl $0, -4(%rbp)
LBB7_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_24
## %bb.22: ## in Loop: Header=BB7_21 Depth=1
jmp LBB7_23
LBB7_23: ## in Loop: Header=BB7_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_21
LBB7_24:
movl $0, -4(%rbp)
LBB7_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_28
## %bb.26: ## in Loop: Header=BB7_25 Depth=1
jmp LBB7_27
LBB7_27: ## in Loop: Header=BB7_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_25
LBB7_28:
movl $0, -4(%rbp)
LBB7_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_32
## %bb.30: ## in Loop: Header=BB7_29 Depth=1
jmp LBB7_31
LBB7_31: ## in Loop: Header=BB7_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_29
LBB7_32:
movl $0, -4(%rbp)
LBB7_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_36
## %bb.34: ## in Loop: Header=BB7_33 Depth=1
jmp LBB7_35
LBB7_35: ## in Loop: Header=BB7_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_33
LBB7_36:
movl $0, -4(%rbp)
LBB7_37: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_40
## %bb.38: ## in Loop: Header=BB7_37 Depth=1
jmp LBB7_39
LBB7_39: ## in Loop: Header=BB7_37 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_37
LBB7_40:
movl $0, -4(%rbp)
LBB7_41: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_44
## %bb.42: ## in Loop: Header=BB7_41 Depth=1
jmp LBB7_43
LBB7_43: ## in Loop: Header=BB7_41 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_41
LBB7_44:
movl $0, -4(%rbp)
LBB7_45: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_48
## %bb.46: ## in Loop: Header=BB7_45 Depth=1
jmp LBB7_47
LBB7_47: ## in Loop: Header=BB7_45 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_45
LBB7_48:
movl $0, -8(%rbp)
LBB7_49: ## =>This Loop Header: Depth=1
## Child Loop BB7_51 Depth 2
## Child Loop BB7_53 Depth 3
## Child Loop BB7_55 Depth 4
cmpl $16, -8(%rbp)
jge LBB7_64
## %bb.50: ## in Loop: Header=BB7_49 Depth=1
movl $0, -12(%rbp)
LBB7_51: ## Parent Loop BB7_49 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB7_53 Depth 3
## Child Loop BB7_55 Depth 4
cmpl $16, -12(%rbp)
jge LBB7_62
## %bb.52: ## in Loop: Header=BB7_51 Depth=2
movl $0, -16(%rbp)
LBB7_53: ## Parent Loop BB7_49 Depth=1
## Parent Loop BB7_51 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB7_55 Depth 4
cmpl $16, -16(%rbp)
jge LBB7_60
## %bb.54: ## in Loop: Header=BB7_53 Depth=3
movl $0, -20(%rbp)
LBB7_55: ## Parent Loop BB7_49 Depth=1
## Parent Loop BB7_51 Depth=2
## Parent Loop BB7_53 Depth=3
## => This Inner Loop Header: Depth=4
cmpl $16, -20(%rbp)
jge LBB7_58
## %bb.56: ## in Loop: Header=BB7_55 Depth=4
movb $0, %al
callq _foo
## %bb.57: ## in Loop: Header=BB7_55 Depth=4
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB7_55
LBB7_58: ## in Loop: Header=BB7_53 Depth=3
jmp LBB7_59
LBB7_59: ## in Loop: Header=BB7_53 Depth=3
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB7_53
LBB7_60: ## in Loop: Header=BB7_51 Depth=2
jmp LBB7_61
LBB7_61: ## in Loop: Header=BB7_51 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB7_51
LBB7_62: ## in Loop: Header=BB7_49 Depth=1
jmp LBB7_63
LBB7_63: ## in Loop: Header=BB7_49 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB7_49
LBB7_64:
movl $0, -4(%rbp)
LBB7_65: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_68
## %bb.66: ## in Loop: Header=BB7_65 Depth=1
jmp LBB7_67
LBB7_67: ## in Loop: Header=BB7_65 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_65
LBB7_68:
movl $0, -4(%rbp)
LBB7_69: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_72
## %bb.70: ## in Loop: Header=BB7_69 Depth=1
jmp LBB7_71
LBB7_71: ## in Loop: Header=BB7_69 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_69
LBB7_72:
movl $0, -4(%rbp)
LBB7_73: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_76
## %bb.74: ## in Loop: Header=BB7_73 Depth=1
jmp LBB7_75
LBB7_75: ## in Loop: Header=BB7_73 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_73
LBB7_76:
movl $0, -4(%rbp)
LBB7_77: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_80
## %bb.78: ## in Loop: Header=BB7_77 Depth=1
jmp LBB7_79
LBB7_79: ## in Loop: Header=BB7_77 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_77
LBB7_80:
movl $0, -4(%rbp)
LBB7_81: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_84
## %bb.82: ## in Loop: Header=BB7_81 Depth=1
jmp LBB7_83
LBB7_83: ## in Loop: Header=BB7_81 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_81
LBB7_84:
movl $0, -4(%rbp)
LBB7_85: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB7_88
## %bb.86: ## in Loop: Header=BB7_85 Depth=1
jmp LBB7_87
LBB7_87: ## in Loop: Header=BB7_85 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_85
LBB7_88:
movl $0, -4(%rbp)
LBB7_89: ## =>This Loop Header: Depth=1
## Child Loop BB7_91 Depth 2
## Child Loop BB7_93 Depth 3
cmpl $16, -4(%rbp)
jge LBB7_100
## %bb.90: ## in Loop: Header=BB7_89 Depth=1
movl $0, -24(%rbp)
LBB7_91: ## Parent Loop BB7_89 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB7_93 Depth 3
cmpl $16, -24(%rbp)
jge LBB7_98
## %bb.92: ## in Loop: Header=BB7_91 Depth=2
movl $0, -28(%rbp)
LBB7_93: ## Parent Loop BB7_89 Depth=1
## Parent Loop BB7_91 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $16, -28(%rbp)
jge LBB7_96
## %bb.94: ## in Loop: Header=BB7_93 Depth=3
movl -24(%rbp), %eax
addl -4(%rbp), %eax
movl %eax, -4(%rbp)
## %bb.95: ## in Loop: Header=BB7_93 Depth=3
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB7_93
LBB7_96: ## in Loop: Header=BB7_91 Depth=2
jmp LBB7_97
LBB7_97: ## in Loop: Header=BB7_91 Depth=2
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB7_91
LBB7_98: ## in Loop: Header=BB7_89 Depth=1
jmp LBB7_99
LBB7_99: ## in Loop: Header=BB7_89 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB7_89
LBB7_100:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_linear ## -- Begin function test_linear
.p2align 4, 0x90
_test_linear: ## @test_linear
.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)
LBB8_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_4
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
jmp LBB8_3
LBB8_3: ## in Loop: Header=BB8_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_1
LBB8_4:
movl $0, -4(%rbp)
LBB8_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_8
## %bb.6: ## in Loop: Header=BB8_5 Depth=1
jmp LBB8_7
LBB8_7: ## in Loop: Header=BB8_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_5
LBB8_8:
movl $0, -4(%rbp)
LBB8_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_12
## %bb.10: ## in Loop: Header=BB8_9 Depth=1
jmp LBB8_11
LBB8_11: ## in Loop: Header=BB8_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_9
LBB8_12:
movl $0, -4(%rbp)
LBB8_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_16
## %bb.14: ## in Loop: Header=BB8_13 Depth=1
jmp LBB8_15
LBB8_15: ## in Loop: Header=BB8_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_13
LBB8_16:
movl $0, -4(%rbp)
LBB8_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_20
## %bb.18: ## in Loop: Header=BB8_17 Depth=1
jmp LBB8_19
LBB8_19: ## in Loop: Header=BB8_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_17
LBB8_20:
movl $0, -4(%rbp)
LBB8_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_24
## %bb.22: ## in Loop: Header=BB8_21 Depth=1
jmp LBB8_23
LBB8_23: ## in Loop: Header=BB8_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_21
LBB8_24:
movl $0, -4(%rbp)
LBB8_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_28
## %bb.26: ## in Loop: Header=BB8_25 Depth=1
jmp LBB8_27
LBB8_27: ## in Loop: Header=BB8_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_25
LBB8_28:
movl $0, -4(%rbp)
LBB8_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_32
## %bb.30: ## in Loop: Header=BB8_29 Depth=1
jmp LBB8_31
LBB8_31: ## in Loop: Header=BB8_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_29
LBB8_32:
movl $0, -4(%rbp)
LBB8_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_36
## %bb.34: ## in Loop: Header=BB8_33 Depth=1
jmp LBB8_35
LBB8_35: ## in Loop: Header=BB8_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_33
LBB8_36:
movl $0, -4(%rbp)
LBB8_37: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_40
## %bb.38: ## in Loop: Header=BB8_37 Depth=1
jmp LBB8_39
LBB8_39: ## in Loop: Header=BB8_37 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_37
LBB8_40:
movl $0, -4(%rbp)
LBB8_41: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_44
## %bb.42: ## in Loop: Header=BB8_41 Depth=1
jmp LBB8_43
LBB8_43: ## in Loop: Header=BB8_41 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_41
LBB8_44:
movl $0, -4(%rbp)
LBB8_45: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_48
## %bb.46: ## in Loop: Header=BB8_45 Depth=1
jmp LBB8_47
LBB8_47: ## in Loop: Header=BB8_45 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_45
LBB8_48:
movl $0, -4(%rbp)
LBB8_49: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_52
## %bb.50: ## in Loop: Header=BB8_49 Depth=1
jmp LBB8_51
LBB8_51: ## in Loop: Header=BB8_49 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_49
LBB8_52:
movl $0, -4(%rbp)
LBB8_53: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_56
## %bb.54: ## in Loop: Header=BB8_53 Depth=1
jmp LBB8_55
LBB8_55: ## in Loop: Header=BB8_53 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_53
LBB8_56:
movl $0, -4(%rbp)
LBB8_57: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_60
## %bb.58: ## in Loop: Header=BB8_57 Depth=1
jmp LBB8_59
LBB8_59: ## in Loop: Header=BB8_57 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_57
LBB8_60:
movl $0, -4(%rbp)
LBB8_61: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_64
## %bb.62: ## in Loop: Header=BB8_61 Depth=1
jmp LBB8_63
LBB8_63: ## in Loop: Header=BB8_61 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_61
LBB8_64:
movl $0, -4(%rbp)
LBB8_65: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_68
## %bb.66: ## in Loop: Header=BB8_65 Depth=1
jmp LBB8_67
LBB8_67: ## in Loop: Header=BB8_65 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_65
LBB8_68:
movl $0, -4(%rbp)
LBB8_69: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_72
## %bb.70: ## in Loop: Header=BB8_69 Depth=1
jmp LBB8_71
LBB8_71: ## in Loop: Header=BB8_69 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_69
LBB8_72:
movl $0, -4(%rbp)
LBB8_73: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_76
## %bb.74: ## in Loop: Header=BB8_73 Depth=1
jmp LBB8_75
LBB8_75: ## in Loop: Header=BB8_73 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_73
LBB8_76:
movl $0, -4(%rbp)
LBB8_77: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_80
## %bb.78: ## in Loop: Header=BB8_77 Depth=1
jmp LBB8_79
LBB8_79: ## in Loop: Header=BB8_77 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_77
LBB8_80:
movl $0, -4(%rbp)
LBB8_81: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB8_84
## %bb.82: ## in Loop: Header=BB8_81 Depth=1
jmp LBB8_83
LBB8_83: ## in Loop: Header=BB8_81 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB8_81
LBB8_84:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_aligned ## -- Begin function test_aligned
.p2align 4, 0x90
_test_aligned: ## @test_aligned
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_4
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
jmp LBB9_3
LBB9_3: ## in Loop: Header=BB9_1 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_1
LBB9_4:
movl $0, -116(%rbp)
LBB9_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_8
## %bb.6: ## in Loop: Header=BB9_5 Depth=1
jmp LBB9_7
LBB9_7: ## in Loop: Header=BB9_5 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_5
LBB9_8:
movl $0, -116(%rbp)
LBB9_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_12
## %bb.10: ## in Loop: Header=BB9_9 Depth=1
jmp LBB9_11
LBB9_11: ## in Loop: Header=BB9_9 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_9
LBB9_12:
movl $0, -116(%rbp)
LBB9_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_16
## %bb.14: ## in Loop: Header=BB9_13 Depth=1
jmp LBB9_15
LBB9_15: ## in Loop: Header=BB9_13 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_13
LBB9_16:
movl $0, -116(%rbp)
LBB9_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_20
## %bb.18: ## in Loop: Header=BB9_17 Depth=1
jmp LBB9_19
LBB9_19: ## in Loop: Header=BB9_17 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_17
LBB9_20:
movl $0, -116(%rbp)
LBB9_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_24
## %bb.22: ## in Loop: Header=BB9_21 Depth=1
jmp LBB9_23
LBB9_23: ## in Loop: Header=BB9_21 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_21
LBB9_24:
movl $0, -116(%rbp)
LBB9_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_28
## %bb.26: ## in Loop: Header=BB9_25 Depth=1
jmp LBB9_27
LBB9_27: ## in Loop: Header=BB9_25 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_25
LBB9_28:
movl $0, -116(%rbp)
LBB9_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_32
## %bb.30: ## in Loop: Header=BB9_29 Depth=1
jmp LBB9_31
LBB9_31: ## in Loop: Header=BB9_29 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_29
LBB9_32:
movl $0, -116(%rbp)
LBB9_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_36
## %bb.34: ## in Loop: Header=BB9_33 Depth=1
jmp LBB9_35
LBB9_35: ## in Loop: Header=BB9_33 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_33
LBB9_36:
movl $0, -116(%rbp)
LBB9_37: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_40
## %bb.38: ## in Loop: Header=BB9_37 Depth=1
jmp LBB9_39
LBB9_39: ## in Loop: Header=BB9_37 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_37
LBB9_40:
movl $0, -116(%rbp)
LBB9_41: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_44
## %bb.42: ## in Loop: Header=BB9_41 Depth=1
jmp LBB9_43
LBB9_43: ## in Loop: Header=BB9_41 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_41
LBB9_44:
movl $0, -116(%rbp)
LBB9_45: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_48
## %bb.46: ## in Loop: Header=BB9_45 Depth=1
jmp LBB9_47
LBB9_47: ## in Loop: Header=BB9_45 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_45
LBB9_48:
movl $0, -116(%rbp)
LBB9_49: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_52
## %bb.50: ## in Loop: Header=BB9_49 Depth=1
jmp LBB9_51
LBB9_51: ## in Loop: Header=BB9_49 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_49
LBB9_52:
movl $0, -116(%rbp)
LBB9_53: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_56
## %bb.54: ## in Loop: Header=BB9_53 Depth=1
jmp LBB9_55
LBB9_55: ## in Loop: Header=BB9_53 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_53
LBB9_56:
movl $0, -116(%rbp)
LBB9_57: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_60
## %bb.58: ## in Loop: Header=BB9_57 Depth=1
jmp LBB9_59
LBB9_59: ## in Loop: Header=BB9_57 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_57
LBB9_60:
movl $0, -116(%rbp)
LBB9_61: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_64
## %bb.62: ## in Loop: Header=BB9_61 Depth=1
jmp LBB9_63
LBB9_63: ## in Loop: Header=BB9_61 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_61
LBB9_64:
movl $0, -116(%rbp)
LBB9_65: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_68
## %bb.66: ## in Loop: Header=BB9_65 Depth=1
jmp LBB9_67
LBB9_67: ## in Loop: Header=BB9_65 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_65
LBB9_68:
movl $0, -116(%rbp)
LBB9_69: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_72
## %bb.70: ## in Loop: Header=BB9_69 Depth=1
jmp LBB9_71
LBB9_71: ## in Loop: Header=BB9_69 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_69
LBB9_72:
movl $0, -116(%rbp)
LBB9_73: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_76
## %bb.74: ## in Loop: Header=BB9_73 Depth=1
jmp LBB9_75
LBB9_75: ## in Loop: Header=BB9_73 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_73
LBB9_76:
movl $0, -116(%rbp)
LBB9_77: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_80
## %bb.78: ## in Loop: Header=BB9_77 Depth=1
jmp LBB9_79
LBB9_79: ## in Loop: Header=BB9_77 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_77
LBB9_80:
movl $0, -116(%rbp)
LBB9_81: ## =>This Inner Loop Header: Depth=1
cmpl $16, -116(%rbp)
jge LBB9_84
## %bb.82: ## in Loop: Header=BB9_81 Depth=1
jmp LBB9_83
LBB9_83: ## in Loop: Header=BB9_81 Depth=1
movl -116(%rbp), %eax
addl $1, %eax
movl %eax, -116(%rbp)
jmp LBB9_81
LBB9_84:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB9_86
## %bb.85:
addq $144, %rsp
popq %rbp
retq
LBB9_86:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _test_private ## -- Begin function test_private
.p2align 4, 0x90
_test_private: ## @test_private
.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)
LBB10_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_4
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_3
LBB10_3: ## in Loop: Header=BB10_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_1
LBB10_4:
movl $0, -4(%rbp)
LBB10_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_8
## %bb.6: ## in Loop: Header=BB10_5 Depth=1
jmp LBB10_7
LBB10_7: ## in Loop: Header=BB10_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_5
LBB10_8:
movl $0, -4(%rbp)
LBB10_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_12
## %bb.10: ## in Loop: Header=BB10_9 Depth=1
jmp LBB10_11
LBB10_11: ## in Loop: Header=BB10_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_9
LBB10_12:
movl $0, -4(%rbp)
LBB10_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_16
## %bb.14: ## in Loop: Header=BB10_13 Depth=1
jmp LBB10_15
LBB10_15: ## in Loop: Header=BB10_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_13
LBB10_16:
movl $0, -4(%rbp)
LBB10_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_20
## %bb.18: ## in Loop: Header=BB10_17 Depth=1
jmp LBB10_19
LBB10_19: ## in Loop: Header=BB10_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_17
LBB10_20:
movl $0, -4(%rbp)
LBB10_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_24
## %bb.22: ## in Loop: Header=BB10_21 Depth=1
jmp LBB10_23
LBB10_23: ## in Loop: Header=BB10_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_21
LBB10_24:
movl $0, -4(%rbp)
LBB10_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_28
## %bb.26: ## in Loop: Header=BB10_25 Depth=1
jmp LBB10_27
LBB10_27: ## in Loop: Header=BB10_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_25
LBB10_28:
movl $0, -4(%rbp)
LBB10_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_32
## %bb.30: ## in Loop: Header=BB10_29 Depth=1
jmp LBB10_31
LBB10_31: ## in Loop: Header=BB10_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_29
LBB10_32:
movl $0, -4(%rbp)
LBB10_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB10_36
## %bb.34: ## in Loop: Header=BB10_33 Depth=1
movl -12(%rbp), %eax
imull -4(%rbp), %eax
addl -16(%rbp), %eax
movl %eax, -8(%rbp)
## %bb.35: ## in Loop: Header=BB10_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB10_33
LBB10_36:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_lastprivate ## -- Begin function test_lastprivate
.p2align 4, 0x90
_test_lastprivate: ## @test_lastprivate
.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)
LBB11_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_4
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
jmp LBB11_3
LBB11_3: ## in Loop: Header=BB11_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_1
LBB11_4:
movl $0, -4(%rbp)
LBB11_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_8
## %bb.6: ## in Loop: Header=BB11_5 Depth=1
jmp LBB11_7
LBB11_7: ## in Loop: Header=BB11_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_5
LBB11_8:
movl $0, -4(%rbp)
LBB11_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_12
## %bb.10: ## in Loop: Header=BB11_9 Depth=1
jmp LBB11_11
LBB11_11: ## in Loop: Header=BB11_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_9
LBB11_12:
movl $0, -4(%rbp)
LBB11_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_16
## %bb.14: ## in Loop: Header=BB11_13 Depth=1
jmp LBB11_15
LBB11_15: ## in Loop: Header=BB11_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_13
LBB11_16:
movl $0, -4(%rbp)
LBB11_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_20
## %bb.18: ## in Loop: Header=BB11_17 Depth=1
jmp LBB11_19
LBB11_19: ## in Loop: Header=BB11_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_17
LBB11_20:
movl $0, -4(%rbp)
LBB11_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_24
## %bb.22: ## in Loop: Header=BB11_21 Depth=1
jmp LBB11_23
LBB11_23: ## in Loop: Header=BB11_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_21
LBB11_24:
movl $0, -4(%rbp)
LBB11_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_28
## %bb.26: ## in Loop: Header=BB11_25 Depth=1
jmp LBB11_27
LBB11_27: ## in Loop: Header=BB11_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_25
LBB11_28:
movl $0, -4(%rbp)
LBB11_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_32
## %bb.30: ## in Loop: Header=BB11_29 Depth=1
jmp LBB11_31
LBB11_31: ## in Loop: Header=BB11_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_29
LBB11_32:
movl $0, -4(%rbp)
LBB11_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB11_36
## %bb.34: ## in Loop: Header=BB11_33 Depth=1
jmp LBB11_35
LBB11_35: ## in Loop: Header=BB11_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB11_33
LBB11_36:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_firstprivate ## -- Begin function test_firstprivate
.p2align 4, 0x90
_test_firstprivate: ## @test_firstprivate
.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)
LBB12_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_4
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
jmp LBB12_3
LBB12_3: ## in Loop: Header=BB12_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_1
LBB12_4:
movl $0, -4(%rbp)
LBB12_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_8
## %bb.6: ## in Loop: Header=BB12_5 Depth=1
jmp LBB12_7
LBB12_7: ## in Loop: Header=BB12_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_5
LBB12_8:
movl $0, -4(%rbp)
LBB12_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_12
## %bb.10: ## in Loop: Header=BB12_9 Depth=1
jmp LBB12_11
LBB12_11: ## in Loop: Header=BB12_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_9
LBB12_12:
movl $0, -4(%rbp)
LBB12_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_16
## %bb.14: ## in Loop: Header=BB12_13 Depth=1
jmp LBB12_15
LBB12_15: ## in Loop: Header=BB12_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_13
LBB12_16:
movl $0, -4(%rbp)
LBB12_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_20
## %bb.18: ## in Loop: Header=BB12_17 Depth=1
jmp LBB12_19
LBB12_19: ## in Loop: Header=BB12_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_17
LBB12_20:
movl $0, -4(%rbp)
LBB12_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_24
## %bb.22: ## in Loop: Header=BB12_21 Depth=1
jmp LBB12_23
LBB12_23: ## in Loop: Header=BB12_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_21
LBB12_24:
movl $0, -4(%rbp)
LBB12_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_28
## %bb.26: ## in Loop: Header=BB12_25 Depth=1
jmp LBB12_27
LBB12_27: ## in Loop: Header=BB12_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_25
LBB12_28:
movl $0, -4(%rbp)
LBB12_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_32
## %bb.30: ## in Loop: Header=BB12_29 Depth=1
jmp LBB12_31
LBB12_31: ## in Loop: Header=BB12_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_29
LBB12_32:
movl $0, -4(%rbp)
LBB12_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB12_36
## %bb.34: ## in Loop: Header=BB12_33 Depth=1
jmp LBB12_35
LBB12_35: ## in Loop: Header=BB12_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB12_33
LBB12_36:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function test_loop_messages
LCPI13_0:
.quad 0x4024000000000000 ## double 10
LCPI13_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI13_2:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _test_loop_messages
.p2align 4, 0x90
_test_loop_messages: ## @test_loop_messages
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $1232, %rsp ## imm = 0x4D0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -1220(%rbp)
LBB13_1: ## =>This Inner Loop Header: Depth=1
movss -1220(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI13_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB13_4
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
cvttss2si -1220(%rbp), %eax
cltq
movss -416(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvttss2si -1220(%rbp), %eax
cltq
addss -816(%rbp,%rax,4), %xmm0
cvttss2si -1220(%rbp), %eax
cltq
movss %xmm0, -1216(%rbp,%rax,4)
## %bb.3: ## in Loop: Header=BB13_1 Depth=1
movss LCPI13_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -1220(%rbp), %xmm0
movss %xmm0, -1220(%rbp)
jmp LBB13_1
LBB13_4:
xorps %xmm0, %xmm0
movsd %xmm0, -1232(%rbp)
LBB13_5: ## =>This Inner Loop Header: Depth=1
movsd LCPI13_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd -1232(%rbp), %xmm0
jbe LBB13_8
## %bb.6: ## in Loop: Header=BB13_5 Depth=1
cvttsd2si -1232(%rbp), %eax
cltq
movss -416(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvttsd2si -1232(%rbp), %eax
cltq
addss -816(%rbp,%rax,4), %xmm0
cvttsd2si -1232(%rbp), %eax
cltq
movss %xmm0, -1216(%rbp,%rax,4)
## %bb.7: ## in Loop: Header=BB13_5 Depth=1
movsd LCPI13_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addsd -1232(%rbp), %xmm0
movsd %xmm0, -1232(%rbp)
jmp LBB13_5
LBB13_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB13_10
## %bb.9:
addq $1232, %rsp ## imm = 0x4D0
popq %rbp
retq
LBB13_10:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _test_nontemporal ## -- Begin function test_nontemporal
.p2align 4, 0x90
_test_nontemporal: ## @test_nontemporal
.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)
LBB14_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_4
## %bb.2: ## in Loop: Header=BB14_1 Depth=1
jmp LBB14_3
LBB14_3: ## in Loop: Header=BB14_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_1
LBB14_4:
movl $0, -4(%rbp)
LBB14_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_8
## %bb.6: ## in Loop: Header=BB14_5 Depth=1
jmp LBB14_7
LBB14_7: ## in Loop: Header=BB14_5 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_5
LBB14_8:
movl $0, -4(%rbp)
LBB14_9: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_12
## %bb.10: ## in Loop: Header=BB14_9 Depth=1
jmp LBB14_11
LBB14_11: ## in Loop: Header=BB14_9 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_9
LBB14_12:
movl $0, -4(%rbp)
LBB14_13: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_16
## %bb.14: ## in Loop: Header=BB14_13 Depth=1
jmp LBB14_15
LBB14_15: ## in Loop: Header=BB14_13 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_13
LBB14_16:
movl $0, -4(%rbp)
LBB14_17: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_20
## %bb.18: ## in Loop: Header=BB14_17 Depth=1
jmp LBB14_19
LBB14_19: ## in Loop: Header=BB14_17 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_17
LBB14_20:
movl $0, -4(%rbp)
LBB14_21: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_24
## %bb.22: ## in Loop: Header=BB14_21 Depth=1
jmp LBB14_23
LBB14_23: ## in Loop: Header=BB14_21 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_21
LBB14_24:
movl $0, -4(%rbp)
LBB14_25: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_28
## %bb.26: ## in Loop: Header=BB14_25 Depth=1
jmp LBB14_27
LBB14_27: ## in Loop: Header=BB14_25 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_25
LBB14_28:
movl $0, -4(%rbp)
LBB14_29: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_32
## %bb.30: ## in Loop: Header=BB14_29 Depth=1
jmp LBB14_31
LBB14_31: ## in Loop: Header=BB14_29 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_29
LBB14_32:
movl $0, -4(%rbp)
LBB14_33: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_36
## %bb.34: ## in Loop: Header=BB14_33 Depth=1
jmp LBB14_35
LBB14_35: ## in Loop: Header=BB14_33 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_33
LBB14_36:
movl $0, -4(%rbp)
LBB14_37: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_40
## %bb.38: ## in Loop: Header=BB14_37 Depth=1
jmp LBB14_39
LBB14_39: ## in Loop: Header=BB14_37 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_37
LBB14_40:
movl $0, -4(%rbp)
LBB14_41: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_44
## %bb.42: ## in Loop: Header=BB14_41 Depth=1
jmp LBB14_43
LBB14_43: ## in Loop: Header=BB14_41 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_41
LBB14_44:
movl $0, -4(%rbp)
LBB14_45: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_48
## %bb.46: ## in Loop: Header=BB14_45 Depth=1
jmp LBB14_47
LBB14_47: ## in Loop: Header=BB14_45 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_45
LBB14_48:
movl $0, -4(%rbp)
LBB14_49: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_52
## %bb.50: ## in Loop: Header=BB14_49 Depth=1
jmp LBB14_51
LBB14_51: ## in Loop: Header=BB14_49 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_49
LBB14_52:
movl $0, -4(%rbp)
LBB14_53: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_56
## %bb.54: ## in Loop: Header=BB14_53 Depth=1
jmp LBB14_55
LBB14_55: ## in Loop: Header=BB14_53 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_53
LBB14_56:
movl $0, -4(%rbp)
LBB14_57: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_60
## %bb.58: ## in Loop: Header=BB14_57 Depth=1
jmp LBB14_59
LBB14_59: ## in Loop: Header=BB14_57 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_57
LBB14_60:
movl $0, -4(%rbp)
LBB14_61: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_64
## %bb.62: ## in Loop: Header=BB14_61 Depth=1
jmp LBB14_63
LBB14_63: ## in Loop: Header=BB14_61 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_61
LBB14_64:
movl $0, -4(%rbp)
LBB14_65: ## =>This Inner Loop Header: Depth=1
cmpl $16, -4(%rbp)
jge LBB14_68
## %bb.66: ## in Loop: Header=BB14_65 Depth=1
jmp LBB14_67
LBB14_67: ## in Loop: Header=BB14_65 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB14_65
LBB14_68:
movl $0, -16(%rbp)
LBB14_69: ## =>This Inner Loop Header: Depth=1
cmpl $10, -16(%rbp)
jge LBB14_72
## %bb.70: ## in Loop: Header=BB14_69 Depth=1
jmp LBB14_71
LBB14_71: ## in Loop: Header=BB14_69 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB14_69
LBB14_72:
movl $0, -20(%rbp)
LBB14_73: ## =>This Inner Loop Header: Depth=1
cmpl $10, -20(%rbp)
jge LBB14_76
## %bb.74: ## in Loop: Header=BB14_73 Depth=1
jmp LBB14_75
LBB14_75: ## in Loop: Header=BB14_73 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB14_73
LBB14_76:
movl $0, -24(%rbp)
LBB14_77: ## =>This Inner Loop Header: Depth=1
cmpl $10, -24(%rbp)
jge LBB14_80
## %bb.78: ## in Loop: Header=BB14_77 Depth=1
jmp LBB14_79
LBB14_79: ## in Loop: Header=BB14_77 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB14_77
LBB14_80:
movl $0, -28(%rbp)
LBB14_81: ## =>This Inner Loop Header: Depth=1
cmpl $10, -28(%rbp)
jge LBB14_84
## %bb.82: ## in Loop: Header=BB14_81 Depth=1
jmp LBB14_83
LBB14_83: ## in Loop: Header=BB14_81 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB14_81
LBB14_84:
movl $0, -32(%rbp)
LBB14_85: ## =>This Inner Loop Header: Depth=1
cmpl $10, -32(%rbp)
jge LBB14_88
## %bb.86: ## in Loop: Header=BB14_85 Depth=1
jmp LBB14_87
LBB14_87: ## in Loop: Header=BB14_85 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB14_85
LBB14_88:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/193894459.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/42091.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atoll ; -- Begin function atoll
.p2align 2
_atoll: ; @atoll
.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 x1, #0
mov w2, #10
bl _strtoll
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 _atoll ## -- Begin function atoll
.p2align 4, 0x90
_atoll: ## @atoll
.cfi_startproc
## %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 %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtoll
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/84119.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
subs w9, w8, #1
stur w9, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
stur wzr, [x29, #-20]
str wzr, [sp, #24]
mov x9, sp
sub x8, x29, #12
str x8, [x9]
sub x8, x29, #16
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
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
fsqrt d0, d0
fcvtzs w8, d0
str w8, [sp, #20]
ldur s1, [x29, #-16]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
fsqrt d0, d0
fcvtzs w8, d0
str w8, [sp, #16]
ldr w8, [sp, #20]
ldr w9, [sp, #20]
mul w8, w8, w9
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #16]
mul w8, w8, w9
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #24]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_21
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #24]
mov w8, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w10, w8, w9
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
b LBB0_20
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
mov w8, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #24]
mov w8, #0
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_19
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
mov w8, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #24]
mov w8, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w10, w8, w9
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
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_22:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -8(%rbp)
cmpl $0, %eax
je LBB0_22
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -20(%rbp)
movl $0, -24(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
movb $0, %al
callq _scanf
cvtsi2sdl -12(%rbp), %xmm0
sqrtsd %xmm0, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -28(%rbp)
cvtsi2sdl -16(%rbp), %xmm0
sqrtsd %xmm0, %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
imull -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
imull -32(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
cmpl -20(%rbp), %eax
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
cmpl -24(%rbp), %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %esi
subl -28(%rbp), %esi
addl $1, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_21
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
cmpl -20(%rbp), %eax
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movl $1, %eax
cmpl -24(%rbp), %eax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %esi
subl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_20
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl $1, %eax
cmpl -20(%rbp), %eax
jne LBB0_15
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
cmpl -24(%rbp), %eax
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %esi
subl -28(%rbp), %esi
addl $1, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_19
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movl $1, %eax
cmpl -20(%rbp), %eax
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
movl $1, %eax
cmpl -24(%rbp), %eax
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %esi
subl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_19
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_22:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/1135579.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _doisVetores ; -- Begin function doisVetores
.p2align 2
_doisVetores: ; @doisVetores
.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, #528
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #36]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrsw x9, [sp, #36]
sub x8, x29, #144
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
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldrsw x9, [sp, #36]
add x8, sp, #280
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
bl _scanf
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB0_1
LBB0_3:
str wzr, [sp, #36]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldrsw x9, [sp, #36]
sub x8, x29, #144
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #28]
add x9, sp, #40
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
ldrsw x10, [sp, #32]
add x8, sp, #280
ldr w8, [x8, x10, lsl #2]
ldrsw x10, [sp, #28]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_4
LBB0_7:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #40
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_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_8
LBB0_11:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
add sp, sp, #528
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,__literal8,8byte_literals
.p2align 3 ; -- Begin function farenheitToCeusius
lCPI1_0:
.quad 0x3ffccccccccccccd ; double 1.8
.section __TEXT,__text,regular,pure_instructions
.globl _farenheitToCeusius
.p2align 2
_farenheitToCeusius: ; @farenheitToCeusius
.cfi_startproc
; %bb.0:
sub sp, sp, #432
.cfi_def_cfa_offset 432
stp x28, x27, [sp, #400] ; 16-byte Folded Spill
stp x29, x30, [sp, #416] ; 16-byte Folded Spill
add x29, sp, #416
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #28]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldrsw x9, [sp, #28]
sub x8, x29, #144
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 w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_1
LBB1_3:
str wzr, [sp, #24]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldrsw x9, [sp, #24]
sub x8, x29, #144
ldr w9, [x8, x9, lsl #2]
ldrsw x11, [sp, #24]
add x10, sp, #152
str w9, [x10, x11, lsl #2]
ldrsw x9, [sp, #24]
ldr w9, [x8, x9, lsl #2]
subs w9, w9, #32
ldrsw x10, [sp, #24]
str w9, [x8, x10, lsl #2]
ldrsw x9, [sp, #24]
ldr s1, [x8, x9, lsl #2]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d0, d0
adrp x9, lCPI1_0@PAGE
ldr d1, [x9, lCPI1_0@PAGEOFF]
fdiv d0, d0, d1
fcvtzs w9, d0
ldrsw x10, [sp, #24]
str w9, [x8, x10, lsl #2]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #24]
add x9, sp, #32
str w8, [x9, x10, lsl #2]
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_4
LBB1_7:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
str wzr, [sp, #20]
b LBB1_8
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_11
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_8 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #152
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 LBB1_10
LBB1_10: ; in Loop: Header=BB1_8 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_8
LBB1_11:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB1_12
LBB1_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_15
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_12 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_12 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_12
LBB1_15:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
bl ___stack_chk_fail
LBB1_17:
ldp x29, x30, [sp, #416] ; 16-byte Folded Reload
ldp x28, x27, [sp, #400] ; 16-byte Folded Reload
add sp, sp, #432
ret
.cfi_endproc
; -- End function
.globl _notasAlunos ; -- Begin function notasAlunos
.p2align 2
_notasAlunos: ; @notasAlunos
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str wzr, [sp, #24]
mov w8, #1
str w8, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldrsw x9, [sp, #24]
add x8, sp, #32
str x8, [sp, #8] ; 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 x9, [sp, #8] ; 8-byte Folded Reload
ldr w8, [sp, #28]
ldrsw x10, [sp, #24]
ldr w9, [x9, x10, lsl #2]
add w8, w8, w9
str w8, [sp, #28]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB2_1
LBB2_3:
ldr w8, [sp, #28]
mov w9, #10
sdiv w8, w8, w9
str w8, [sp, #28]
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
str wzr, [sp, #16]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB2_7
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_4 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB2_4
LBB2_7:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr w8, [sp, #28]
subs w8, w8, #8
cset w8, lt
tbnz w8, #0, LBB2_9
b LBB2_8
LBB2_8:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
b LBB2_16
LBB2_9:
ldr w8, [sp, #28]
subs w8, w8, #6
cset w8, lt
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
b LBB2_15
LBB2_11:
ldr w8, [sp, #28]
subs w8, w8, #4
cset w8, lt
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12:
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
b LBB2_14
LBB2_13:
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
b LBB2_14
LBB2_14:
b LBB2_15
LBB2_15:
b LBB2_16
LBB2_16:
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_18
b LBB2_17
LBB2_17:
bl ___stack_chk_fail
LBB2_18:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.globl _verificaVetores ; -- Begin function verificaVetores
.p2align 2
_verificaVetores: ; @verificaVetores
.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, #656
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #44]
str wzr, [sp, #40]
str wzr, [sp, #36]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #12
cset w8, ge
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldrsw x9, [sp, #44]
sub x8, x29, #144
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 w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB3_1
LBB3_3:
ldrsw x10, [sp, #44]
sub x9, x29, #144
mov w8, #0
str w8, [x9, x10, lsl #2]
str wzr, [sp, #44]
b LBB3_4
LBB3_4: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #44]
sub x8, x29, #144
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_11
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_4 Depth=1
ldrsw x9, [sp, #44]
sub x8, x29, #144
ldr w8, [x8, x9, lsl #2]
mov w10, #3
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_4 Depth=1
ldrsw x9, [sp, #44]
sub x8, x29, #144
ldr w8, [x8, x9, lsl #2]
mov w10, #7
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_4 Depth=1
ldrsw x9, [sp, #44]
sub x8, x29, #144
ldr w9, [x8, x9, lsl #2]
ldrsw x10, [sp, #40]
add x8, sp, #408
str w9, [x8, x10, lsl #2]
ldrsw x9, [sp, #40]
ldr w8, [x8, x9, lsl #2]
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_4 Depth=1
ldrsw x9, [sp, #40]
add x8, sp, #408
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #36]
add x9, sp, #288
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_4 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_4 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB3_4
LBB3_11:
ldrsw x10, [sp, #40]
add x9, sp, #408
mov w8, #0
str w8, [x9, x10, lsl #2]
ldrsw x10, [sp, #36]
add x9, sp, #288
str w8, [x9, x10, lsl #2]
str wzr, [sp, #44]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
b LBB3_12
LBB3_12: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #44]
add x8, sp, #408
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13: ; in Loop: Header=BB3_12 Depth=1
ldrsw x9, [sp, #44]
add x8, sp, #408
str x8, [sp, #24] ; 8-byte Folded Spill
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldrsw x9, [sp, #44]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #44]
add x9, sp, #48
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB3_12
LBB3_14:
str wzr, [sp, #36]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
b LBB3_15
LBB3_15: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #288
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_17
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_15 Depth=1
ldrsw x9, [sp, #36]
add x8, sp, #288
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #36]
ldr w8, [x8, x9, lsl #2]
ldrsw x10, [sp, #44]
add x9, sp, #48
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB3_15
LBB3_17:
ldrsw x10, [sp, #44]
add x9, sp, #48
mov w8, #0
str w8, [x9, x10, lsl #2]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
str wzr, [sp, #44]
b LBB3_18
LBB3_18: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #44]
add x8, sp, #48
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB3_20
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_18 Depth=1
ldrsw x9, [sp, #44]
add x8, sp, #48
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB3_18
LBB3_20:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_22
b LBB3_21
LBB3_21:
bl ___stack_chk_fail
LBB3_22:
add sp, sp, #656
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _corection ; -- Begin function corection
.p2align 2
_corection: ; @corection
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
add x8, sp, #64
str x8, [sp, #24] ; 8-byte Folded Spill
str wzr, [sp, #64]
mov w8, #1
str w8, [sp, #60]
str wzr, [sp, #56]
str wzr, [sp, #52]
str wzr, [sp, #48]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
ldr x8, [sp, #24] ; 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
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
str wzr, [sp, #44]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB4_3
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
ldrsw x9, [sp, #56]
sub x8, x29, #54
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _scanf
ldr w8, [sp, #56]
add w8, w8, #1
str w8, [sp, #56]
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB4_1
LBB4_3:
mov w8, #1
str w8, [sp, #60]
str wzr, [sp, #40]
b LBB4_4
LBB4_4: ; =>This Loop Header: Depth=1
; Child Loop BB4_6 Depth 2
ldr w8, [sp, #40]
ldr w9, [sp, #64]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_12
b LBB4_5
LBB4_5: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #40]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
b LBB4_6
LBB4_6: ; Parent Loop BB4_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #52]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB4_10
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_6 Depth=2
ldr w8, [sp, #52]
add w10, w8, #1
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.25@PAGE
add x0, x0, l_.str.25@PAGEOFF
bl _printf
ldrsw x9, [sp, #52]
sub x8, x29, #84
str x8, [sp, #16] ; 8-byte Folded Spill
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _scanf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #52]
ldrsb w8, [x8, x9]
ldrsw x10, [sp, #52]
sub x9, x29, #54
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB4_9
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_6 Depth=2
ldr w8, [sp, #48]
add w8, w8, #1
str w8, [sp, #48]
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_6 Depth=2
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB4_6
LBB4_10: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #48]
ldrsw x10, [sp, #40]
add x9, sp, #68
str w8, [x9, x10, lsl #2]
str wzr, [sp, #48]
str wzr, [sp, #52]
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_4 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB4_4
LBB4_12:
str wzr, [sp, #36]
b LBB4_13
LBB4_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #36]
ldr w9, [sp, #64]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_16
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_13 Depth=1
ldr w8, [sp, #36]
add w11, w8, #1
ldrsw x9, [sp, #36]
add x8, sp, #68
ldr w9, [x8, x9, lsl #2]
; 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.26@PAGE
add x0, x0, l_.str.26@PAGEOFF
bl _printf
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_13 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB4_13
LBB4_16:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_18
b LBB4_17
LBB4_17:
bl ___stack_chk_fail
LBB4_18:
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
.cfi_endproc
; -- End function
.globl _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 _doisVetores
bl _farenheitToCeusius
bl _notasAlunos
bl _verificaVetores
bl _corection
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 "Insira um caractere para o Vetor A\n"
l_.str.1: ; @.str.1
.asciz " %i"
l_.str.2: ; @.str.2
.asciz "Insira um caractere para o vetor B\n"
l_.str.3: ; @.str.3
.asciz "Vetor C ser\303\241 impresso agora:\n"
l_.str.4: ; @.str.4
.asciz "%i,"
l_.str.5: ; @.str.5
.asciz "\n"
l_.str.6: ; @.str.6
.asciz "Qual a temperatura em Farenheit para armazenar?\n"
l_.str.7: ; @.str.7
.asciz "Temperatura em Farenheit:"
l_.str.8: ; @.str.8
.asciz " Temperatura em Ceusius:"
l_.str.9: ; @.str.9
.asciz "Qual a nota do %i aluno para armazenar?\n"
l_.str.10: ; @.str.10
.asciz "Notas inseridas:"
l_.str.11: ; @.str.11
.asciz "Resultado da Turma:%i\n"
l_.str.12: ; @.str.12
.asciz "M\303\251dia >= 8 \342\236\224 Plenamente Satisfat\303\263rio (PS)\n"
l_.str.13: ; @.str.13
.asciz "8 > M\303\251dia >=6 \342\236\224 Satisfat\303\263rio (S)\n"
l_.str.14: ; @.str.14
.asciz "6 > M\303\251dia >= 4 \342\236\224Regular (R)\n"
l_.str.15: ; @.str.15
.asciz "M\303\251dia < 4 \342\236\224 Insatisfat\303\263rio (I)\n"
l_.str.16: ; @.str.16
.asciz "Insira um valor a ser inserido em um dos Vetores\n"
l_.str.17: ; @.str.17
.asciz "Matrix A:\n"
l_.str.18: ; @.str.18
.asciz "Matrix B:\n"
l_.str.19: ; @.str.19
.asciz "Matrix C:\n"
l_.str.20: ; @.str.20
.asciz "Quantos alunos existem na sala?_\n"
l_.str.21: ; @.str.21
.asciz "Insira agora o gabarito da Prova\n"
l_.str.22: ; @.str.22
.asciz "Quest\303\243o %i\n"
l_.str.23: ; @.str.23
.asciz " %c"
l_.str.24: ; @.str.24
.asciz "Insira as dados do aluno %i\n"
l_.str.25: ; @.str.25
.asciz "Resposta n\302\272:%i\n"
l_.str.26: ; @.str.26
.asciz "Aluno %i, Nota:%i\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _doisVetores ## -- Begin function doisVetores
.p2align 4, 0x90
_doisVetores: ## @doisVetores
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $528, %rsp ## imm = 0x210
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -500(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -500(%rbp)
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movslq -500(%rbp), %rax
leaq -128(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movslq -500(%rbp), %rax
leaq -256(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl -500(%rbp), %eax
addl $1, %eax
movl %eax, -500(%rbp)
jmp LBB0_1
LBB0_3:
movl $0, -500(%rbp)
movl $0, -504(%rbp)
movl $0, -508(%rbp)
movl $0, -512(%rbp)
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $20, -512(%rbp)
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq -500(%rbp), %rax
movl -128(%rbp,%rax,4), %ecx
movslq -508(%rbp), %rax
movl %ecx, -496(%rbp,%rax,4)
movl -508(%rbp), %eax
addl $1, %eax
movl %eax, -508(%rbp)
movslq -504(%rbp), %rax
movl -256(%rbp,%rax,4), %ecx
movslq -508(%rbp), %rax
movl %ecx, -496(%rbp,%rax,4)
movl -508(%rbp), %eax
addl $1, %eax
movl %eax, -508(%rbp)
movl -500(%rbp), %eax
addl $1, %eax
movl %eax, -500(%rbp)
movl -504(%rbp), %eax
addl $1, %eax
movl %eax, -504(%rbp)
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -512(%rbp), %eax
addl $1, %eax
movl %eax, -512(%rbp)
jmp LBB0_4
LBB0_7:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -516(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
cmpl $20, -516(%rbp)
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movslq -516(%rbp), %rax
movl -496(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl -516(%rbp), %eax
addl $1, %eax
movl %eax, -516(%rbp)
jmp LBB0_8
LBB0_11:
leaq L_.str.5(%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:
addq $528, %rsp ## imm = 0x210
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function farenheitToCeusius
LCPI1_0:
.quad 0x3ffccccccccccccd ## double 1.8
.section __TEXT,__text,regular,pure_instructions
.globl _farenheitToCeusius
.p2align 4, 0x90
_farenheitToCeusius: ## @farenheitToCeusius
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $400, %rsp ## imm = 0x190
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -388(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -388(%rbp)
jge LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movslq -388(%rbp), %rax
leaq -128(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl -388(%rbp), %eax
addl $1, %eax
movl %eax, -388(%rbp)
jmp LBB1_1
LBB1_3:
movl $0, -392(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
cmpl $10, -392(%rbp)
jge LBB1_7
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movslq -392(%rbp), %rax
movl -128(%rbp,%rax,4), %ecx
movslq -392(%rbp), %rax
movl %ecx, -256(%rbp,%rax,4)
movslq -392(%rbp), %rax
movl -128(%rbp,%rax,4), %ecx
subl $32, %ecx
movslq -392(%rbp), %rax
movl %ecx, -128(%rbp,%rax,4)
movslq -392(%rbp), %rax
cvtsi2sdl -128(%rbp,%rax,4), %xmm0
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %ecx
movslq -392(%rbp), %rax
movl %ecx, -128(%rbp,%rax,4)
movslq -392(%rbp), %rax
movl -128(%rbp,%rax,4), %ecx
movslq -392(%rbp), %rax
movl %ecx, -384(%rbp,%rax,4)
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
movl -392(%rbp), %eax
addl $1, %eax
movl %eax, -392(%rbp)
jmp LBB1_4
LBB1_7:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -396(%rbp)
LBB1_8: ## =>This Inner Loop Header: Depth=1
cmpl $10, -396(%rbp)
jge LBB1_11
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
movslq -396(%rbp), %rax
movl -256(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
movl -396(%rbp), %eax
addl $1, %eax
movl %eax, -396(%rbp)
jmp LBB1_8
LBB1_11:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -400(%rbp)
LBB1_12: ## =>This Inner Loop Header: Depth=1
cmpl $10, -400(%rbp)
jge LBB1_15
## %bb.13: ## in Loop: Header=BB1_12 Depth=1
movslq -400(%rbp), %rax
movl -384(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.14: ## in Loop: Header=BB1_12 Depth=1
movl -400(%rbp), %eax
addl $1, %eax
movl %eax, -400(%rbp)
jmp LBB1_12
LBB1_15:
leaq L_.str.5(%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_17
## %bb.16:
addq $400, %rsp ## imm = 0x190
popq %rbp
retq
LBB1_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _notasAlunos ## -- Begin function notasAlunos
.p2align 4, 0x90
_notasAlunos: ## @notasAlunos
.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)
movl $0, -136(%rbp)
movl $1, -140(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -136(%rbp)
jge LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -140(%rbp), %esi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movslq -136(%rbp), %rax
leaq -128(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl -132(%rbp), %eax
movslq -136(%rbp), %rcx
addl -128(%rbp,%rcx,4), %eax
movl %eax, -132(%rbp)
movl -140(%rbp), %eax
addl $1, %eax
movl %eax, -140(%rbp)
movl -136(%rbp), %eax
addl $1, %eax
movl %eax, -136(%rbp)
jmp LBB2_1
LBB2_3:
movl -132(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -132(%rbp)
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -144(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
cmpl $10, -144(%rbp)
jge LBB2_7
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movslq -144(%rbp), %rax
movl -128(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.6: ## in Loop: Header=BB2_4 Depth=1
movl -144(%rbp), %eax
addl $1, %eax
movl %eax, -144(%rbp)
jmp LBB2_4
LBB2_7:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -132(%rbp), %esi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
cmpl $8, -132(%rbp)
jl LBB2_9
## %bb.8:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_16
LBB2_9:
cmpl $6, -132(%rbp)
jl LBB2_11
## %bb.10:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_15
LBB2_11:
cmpl $4, -132(%rbp)
jl LBB2_13
## %bb.12:
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_14
LBB2_13:
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
LBB2_14:
jmp LBB2_15
LBB2_15:
jmp LBB2_16
LBB2_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_18
## %bb.17:
addq $144, %rsp
popq %rbp
retq
LBB2_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _verificaVetores ## -- Begin function verificaVetores
.p2align 4, 0x90
_verificaVetores: ## @verificaVetores
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $640, %rsp ## imm = 0x280
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -628(%rbp)
movl $0, -632(%rbp)
movl $0, -636(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $12, -628(%rbp)
jge LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movslq -628(%rbp), %rax
leaq -128(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl -628(%rbp), %eax
addl $1, %eax
movl %eax, -628(%rbp)
jmp LBB3_1
LBB3_3:
movslq -628(%rbp), %rax
movl $0, -128(%rbp,%rax,4)
movl $0, -628(%rbp)
LBB3_4: ## =>This Inner Loop Header: Depth=1
movslq -628(%rbp), %rax
cmpl $0, -128(%rbp,%rax,4)
je LBB3_11
## %bb.5: ## in Loop: Header=BB3_4 Depth=1
movslq -628(%rbp), %rax
movl -128(%rbp,%rax,4), %eax
movl $3, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB3_7
## %bb.6: ## in Loop: Header=BB3_4 Depth=1
movslq -628(%rbp), %rax
movl -128(%rbp,%rax,4), %eax
movl $7, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB3_10
LBB3_7: ## in Loop: Header=BB3_4 Depth=1
movslq -628(%rbp), %rax
movl -128(%rbp,%rax,4), %ecx
movslq -632(%rbp), %rax
movl %ecx, -256(%rbp,%rax,4)
movslq -632(%rbp), %rax
movl -256(%rbp,%rax,4), %eax
movl $5, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB3_9
## %bb.8: ## in Loop: Header=BB3_4 Depth=1
movslq -632(%rbp), %rax
movl -256(%rbp,%rax,4), %ecx
movslq -636(%rbp), %rax
movl %ecx, -384(%rbp,%rax,4)
movl -636(%rbp), %eax
addl $1, %eax
movl %eax, -636(%rbp)
LBB3_9: ## in Loop: Header=BB3_4 Depth=1
movl -632(%rbp), %eax
addl $1, %eax
movl %eax, -632(%rbp)
LBB3_10: ## in Loop: Header=BB3_4 Depth=1
movl -628(%rbp), %eax
addl $1, %eax
movl %eax, -628(%rbp)
jmp LBB3_4
LBB3_11:
movslq -632(%rbp), %rax
movl $0, -256(%rbp,%rax,4)
movslq -636(%rbp), %rax
movl $0, -384(%rbp,%rax,4)
movl $0, -628(%rbp)
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
LBB3_12: ## =>This Inner Loop Header: Depth=1
movslq -628(%rbp), %rax
cmpl $0, -256(%rbp,%rax,4)
je LBB3_14
## %bb.13: ## in Loop: Header=BB3_12 Depth=1
movslq -628(%rbp), %rax
movl -256(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movslq -628(%rbp), %rax
movl -256(%rbp,%rax,4), %ecx
movslq -628(%rbp), %rax
movl %ecx, -624(%rbp,%rax,4)
movl -628(%rbp), %eax
addl $1, %eax
movl %eax, -628(%rbp)
jmp LBB3_12
LBB3_14:
movl $0, -636(%rbp)
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
LBB3_15: ## =>This Inner Loop Header: Depth=1
movslq -636(%rbp), %rax
cmpl $0, -384(%rbp,%rax,4)
je LBB3_17
## %bb.16: ## in Loop: Header=BB3_15 Depth=1
movslq -636(%rbp), %rax
movl -384(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movslq -636(%rbp), %rax
movl -384(%rbp,%rax,4), %ecx
movslq -628(%rbp), %rax
movl %ecx, -624(%rbp,%rax,4)
movl -628(%rbp), %eax
addl $1, %eax
movl %eax, -628(%rbp)
movl -636(%rbp), %eax
addl $1, %eax
movl %eax, -636(%rbp)
jmp LBB3_15
LBB3_17:
movslq -628(%rbp), %rax
movl $0, -624(%rbp,%rax,4)
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -628(%rbp)
LBB3_18: ## =>This Inner Loop Header: Depth=1
movslq -628(%rbp), %rax
cmpl $0, -624(%rbp,%rax,4)
je LBB3_20
## %bb.19: ## in Loop: Header=BB3_18 Depth=1
movslq -628(%rbp), %rax
movl -624(%rbp,%rax,4), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -628(%rbp), %eax
addl $1, %eax
movl %eax, -628(%rbp)
jmp LBB3_18
LBB3_20:
leaq L_.str.5(%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 LBB3_22
## %bb.21:
addq $640, %rsp ## imm = 0x280
popq %rbp
retq
LBB3_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _corection ## -- Begin function corection
.p2align 4, 0x90
_corection: ## @corection
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $240, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -212(%rbp)
movl $1, -216(%rbp)
movl $0, -220(%rbp)
movl $0, -224(%rbp)
movl $0, -228(%rbp)
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -212(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -232(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $10, -232(%rbp)
jge LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl -216(%rbp), %esi
leaq L_.str.22(%rip), %rdi
movb $0, %al
callq _printf
movslq -220(%rbp), %rax
leaq -48(%rbp), %rsi
addq %rax, %rsi
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _scanf
movl -220(%rbp), %eax
addl $1, %eax
movl %eax, -220(%rbp)
movl -216(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
movl -232(%rbp), %eax
addl $1, %eax
movl %eax, -232(%rbp)
jmp LBB4_1
LBB4_3:
movl $1, -216(%rbp)
movl $0, -236(%rbp)
LBB4_4: ## =>This Loop Header: Depth=1
## Child Loop BB4_6 Depth 2
movl -236(%rbp), %eax
cmpl -212(%rbp), %eax
jge LBB4_12
## %bb.5: ## in Loop: Header=BB4_4 Depth=1
movl -236(%rbp), %esi
addl $1, %esi
leaq L_.str.24(%rip), %rdi
movb $0, %al
callq _printf
LBB4_6: ## Parent Loop BB4_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -224(%rbp)
jge LBB4_10
## %bb.7: ## in Loop: Header=BB4_6 Depth=2
movl -224(%rbp), %esi
addl $1, %esi
leaq L_.str.25(%rip), %rdi
movb $0, %al
callq _printf
movslq -224(%rbp), %rax
leaq -80(%rbp), %rsi
addq %rax, %rsi
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _scanf
movslq -224(%rbp), %rax
movsbl -80(%rbp,%rax), %eax
movslq -224(%rbp), %rcx
movsbl -48(%rbp,%rcx), %ecx
cmpl %ecx, %eax
jne LBB4_9
## %bb.8: ## in Loop: Header=BB4_6 Depth=2
movl -228(%rbp), %eax
addl $1, %eax
movl %eax, -228(%rbp)
LBB4_9: ## in Loop: Header=BB4_6 Depth=2
movl -224(%rbp), %eax
addl $1, %eax
movl %eax, -224(%rbp)
jmp LBB4_6
LBB4_10: ## in Loop: Header=BB4_4 Depth=1
movl -228(%rbp), %ecx
movslq -236(%rbp), %rax
movl %ecx, -208(%rbp,%rax,4)
movl $0, -228(%rbp)
movl $0, -224(%rbp)
## %bb.11: ## in Loop: Header=BB4_4 Depth=1
movl -236(%rbp), %eax
addl $1, %eax
movl %eax, -236(%rbp)
jmp LBB4_4
LBB4_12:
movl $0, -240(%rbp)
LBB4_13: ## =>This Inner Loop Header: Depth=1
movl -240(%rbp), %eax
cmpl -212(%rbp), %eax
jge LBB4_16
## %bb.14: ## in Loop: Header=BB4_13 Depth=1
movl -240(%rbp), %esi
addl $1, %esi
movslq -240(%rbp), %rax
movl -208(%rbp,%rax,4), %edx
leaq L_.str.26(%rip), %rdi
movb $0, %al
callq _printf
## %bb.15: ## in Loop: Header=BB4_13 Depth=1
movl -240(%rbp), %eax
addl $1, %eax
movl %eax, -240(%rbp)
jmp LBB4_13
LBB4_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_18
## %bb.17:
addq $240, %rsp
popq %rbp
retq
LBB4_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _doisVetores
callq _farenheitToCeusius
callq _notasAlunos
callq _verificaVetores
callq _corection
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Insira um caractere para o Vetor A\n"
L_.str.1: ## @.str.1
.asciz " %i"
L_.str.2: ## @.str.2
.asciz "Insira um caractere para o vetor B\n"
L_.str.3: ## @.str.3
.asciz "Vetor C ser\303\241 impresso agora:\n"
L_.str.4: ## @.str.4
.asciz "%i,"
L_.str.5: ## @.str.5
.asciz "\n"
L_.str.6: ## @.str.6
.asciz "Qual a temperatura em Farenheit para armazenar?\n"
L_.str.7: ## @.str.7
.asciz "Temperatura em Farenheit:"
L_.str.8: ## @.str.8
.asciz " Temperatura em Ceusius:"
L_.str.9: ## @.str.9
.asciz "Qual a nota do %i aluno para armazenar?\n"
L_.str.10: ## @.str.10
.asciz "Notas inseridas:"
L_.str.11: ## @.str.11
.asciz "Resultado da Turma:%i\n"
L_.str.12: ## @.str.12
.asciz "M\303\251dia >= 8 \342\236\224 Plenamente Satisfat\303\263rio (PS)\n"
L_.str.13: ## @.str.13
.asciz "8 > M\303\251dia >=6 \342\236\224 Satisfat\303\263rio (S)\n"
L_.str.14: ## @.str.14
.asciz "6 > M\303\251dia >= 4 \342\236\224Regular (R)\n"
L_.str.15: ## @.str.15
.asciz "M\303\251dia < 4 \342\236\224 Insatisfat\303\263rio (I)\n"
L_.str.16: ## @.str.16
.asciz "Insira um valor a ser inserido em um dos Vetores\n"
L_.str.17: ## @.str.17
.asciz "Matrix A:\n"
L_.str.18: ## @.str.18
.asciz "Matrix B:\n"
L_.str.19: ## @.str.19
.asciz "Matrix C:\n"
L_.str.20: ## @.str.20
.asciz "Quantos alunos existem na sala?_\n"
L_.str.21: ## @.str.21
.asciz "Insira agora o gabarito da Prova\n"
L_.str.22: ## @.str.22
.asciz "Quest\303\243o %i\n"
L_.str.23: ## @.str.23
.asciz " %c"
L_.str.24: ## @.str.24
.asciz "Insira as dados do aluno %i\n"
L_.str.25: ## @.str.25
.asciz "Resposta n\302\272:%i\n"
L_.str.26: ## @.str.26
.asciz "Aluno %i, Nota:%i\n"
.subsections_via_symbols
| the_stack_data/4352.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #416
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-172]
stur w0, [x29, #-176]
stur x1, [x29, #-184]
stur wzr, [x29, #-204]
stur wzr, [x29, #-208]
sub x0, x29, #32
bl _pipe
sub x0, x29, #40
bl _pipe
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #188
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
stur x0, [x29, #-256] ; 8-byte Folded Spill
bl _scanf
add sp, sp, #16
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
sub x8, x29, #192
str x8, [x9]
bl _scanf
add sp, sp, #16
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x0, [x29, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
sub x8, x29, #196
str x8, [x9]
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-192]
sub x9, x29, #4
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
ldur w8, [x29, #-196]
sub x9, x29, #4
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
sub x8, x29, #4
ldur w8, [x8, #-256] ; 4-byte Folded Reload
sub x9, x29, #8
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur w8, [x29, #-196]
sub x9, x29, #12
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_6
LBB0_5:
ldur w8, [x29, #-192]
sub x9, x29, #12
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_6
LBB0_6:
sub x8, x29, #8
ldur w11, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #12
ldur w10, [x8, #-256] ; 4-byte Folded Reload
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #16
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #200
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-200]
ldur w9, [x29, #-192]
subs w8, w8, w9
cset w8, lt
mov w9, #1
sub x10, x29, #16
stur w9, [x10, #-256] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldur w8, [x29, #-200]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, gt
sub x9, x29, #16
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
sub x8, x29, #16
ldur w8, [x8, #-256] ; 4-byte Folded Reload
tbz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
sub x8, x29, #200
sub x9, x29, #24
stur x8, [x9, #-256] ; 8-byte Folded Spill
ldur w9, [x29, #-200]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
sub x8, x29, #24
ldur x8, [x8, #-256] ; 8-byte Folded Reload
add sp, sp, #16
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
b LBB0_7
LBB0_11:
ldur w8, [x29, #-188]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-216]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
sub x10, x29, #40
stur x9, [x10, #-256] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub x9, x29, #40
ldur x10, [x9, #-256] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
sub x10, x29, #32
stur x9, [x10, #-256] ; 8-byte Folded Spill
stur x8, [x29, #-224]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
stur wzr, [x29, #-228]
b LBB0_12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-228]
ldur w9, [x29, #-188]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
bl _rand
sub x8, x29, #44
stur w0, [x8, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-196]
sub x9, x29, #48
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-192]
sub x9, x29, #48
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_12 Depth=1
sub x8, x29, #44
ldur w8, [x8, #-256] ; 4-byte Folded Reload
sub x9, x29, #48
ldur w10, [x9, #-256] ; 4-byte Folded Reload
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
sub x9, x29, #52
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-192]
ldur w9, [x29, #-196]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-192]
sub x9, x29, #56
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-196]
sub x9, x29, #56
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
sub x8, x29, #32
ldur x9, [x8, #-256] ; 8-byte Folded Reload
sub x8, x29, #52
ldur w8, [x8, #-256] ; 4-byte Folded Reload
sub x10, x29, #56
ldur w10, [x10, #-256] ; 4-byte Folded Reload
add w8, w8, w10
ldursw x10, [x29, #-228]
str w8, [x9, x10, lsl #2]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_12 Depth=1
ldur w8, [x29, #-228]
add w8, w8, #1
stur w8, [x29, #-228]
b LBB0_12
LBB0_21:
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
ldur w1, [x29, #-188]
bl _print_tab
ldur w8, [x29, #-188]
subs w8, w8, #10
cset w8, lt
tbnz w8, #0, LBB0_40
b LBB0_22
LBB0_22:
bl _getpid
sub x8, x29, #60
stur w0, [x8, #-256] ; 4-byte Folded Spill
bl _getpid
bl _getpgid
mov x8, x0
sub x9, x29, #60
ldur w0, [x9, #-256] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB0_24
b LBB0_23
LBB0_23:
bl _fork
stur w0, [x29, #-204]
b LBB0_24
LBB0_24:
bl _getpid
sub x8, x29, #64
stur w0, [x8, #-256] ; 4-byte Folded Spill
bl _getpid
bl _getpgid
mov x8, x0
sub x9, x29, #64
ldur w0, [x9, #-256] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
bl _fork
stur w0, [x29, #-208]
b LBB0_26
LBB0_26:
ldur w8, [x29, #-204]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_31
b LBB0_27
LBB0_27:
mov x0, #65
bl _malloc
stur x0, [x29, #-240]
ldur w0, [x29, #-32]
bl _close
ldur x8, [x29, #-240]
sub x9, x29, #80
stur x8, [x9, #-256] ; 8-byte Folded Spill
ldur w8, [x29, #-200]
sub x9, x29, #68
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-188]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
sub x9, x29, #84
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_30
LBB0_29:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #1
sub x9, x29, #84
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_30
LBB0_30:
sub x8, x29, #68
ldur w1, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub x8, x29, #84
ldur w3, [x8, #-256] ; 4-byte Folded Reload
mov w2, #0
sub x8, x29, #88
stur w2, [x8, #-256] ; 4-byte Folded Spill
bl _count_occ
sub x8, x29, #88
ldur w2, [x8, #-256] ; 4-byte Folded Reload
mov x10, x0
sub x8, x29, #80
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
mov x1, #64
mov x3, #-1
adrp x4, l_.str.1@PAGE
add x4, x4, l_.str.1@PAGEOFF
bl ___snprintf_chk
add sp, sp, #16
ldur w0, [x29, #-28]
ldur x1, [x29, #-240]
mov x2, #65
bl _write
sub x8, x29, #88
ldur w0, [x8, #-256] ; 4-byte Folded Reload
bl _exit
LBB0_31:
ldur w8, [x29, #-208]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_32
LBB0_32:
mov x0, #65
bl _malloc
stur x0, [x29, #-248]
ldur w0, [x29, #-40]
bl _close
ldur x8, [x29, #-248]
sub x9, x29, #104
stur x8, [x9, #-256] ; 8-byte Folded Spill
ldur w8, [x29, #-200]
sub x9, x29, #92
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur w8, [x29, #-188]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_34
b LBB0_33
LBB0_33:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
sub x9, x29, #108
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_35
LBB0_34:
ldur w8, [x29, #-188]
mov w9, #2
sdiv w8, w8, w9
add w8, w8, #1
sub x9, x29, #108
stur w8, [x9, #-256] ; 4-byte Folded Spill
b LBB0_35
LBB0_35:
sub x8, x29, #92
ldur w1, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub x8, x29, #108
ldur w2, [x8, #-256] ; 4-byte Folded Reload
ldur w3, [x29, #-188]
bl _count_occ
mov x10, x0
sub x8, x29, #104
ldur x0, [x8, #-256] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
mov x1, #64
mov w2, #0
sub x8, x29, #112
stur w2, [x8, #-256] ; 4-byte Folded Spill
mov x3, #-1
adrp x4, l_.str.1@PAGE
add x4, x4, l_.str.1@PAGEOFF
bl ___snprintf_chk
add sp, sp, #16
ldur w0, [x29, #-36]
ldur x1, [x29, #-248]
mov x2, #65
bl _write
sub x8, x29, #112
ldur w0, [x8, #-256] ; 4-byte Folded Reload
bl _exit
LBB0_36:
b LBB0_37
LBB0_37:
bl _getpid
sub x8, x29, #116
stur w0, [x8, #-256] ; 4-byte Folded Spill
bl _getpid
bl _getpgid
mov x8, x0
sub x9, x29, #116
ldur w0, [x9, #-256] ; 4-byte Folded Reload
subs w8, w0, w8
cset w8, ne
tbnz w8, #0, LBB0_39
b LBB0_38
LBB0_38:
ldur w0, [x29, #-28]
bl _close
ldur w0, [x29, #-36]
bl _close
ldur w0, [x29, #-32]
sub x1, x29, #104
sub x8, x29, #160
stur x1, [x8, #-256] ; 8-byte Folded Spill
mov x2, #64
sub x8, x29, #168
stur x2, [x8, #-256] ; 8-byte Folded Spill
bl _read
sub x8, x29, #168
ldur x2, [x8, #-256] ; 8-byte Folded Reload
ldur w0, [x29, #-40]
sub x1, x29, #168
sub x8, x29, #152
stur x1, [x8, #-256] ; 8-byte Folded Spill
bl _read
sub x8, x29, #160
ldur x0, [x8, #-256] ; 8-byte Folded Reload
ldur w9, [x29, #-200]
; implicit-def: $x8
mov x8, x9
sub x9, x29, #136
stur x8, [x9, #-256] ; 8-byte Folded Spill
bl _atoi
mov x8, x0
sub x9, x29, #152
ldur x0, [x9, #-256] ; 8-byte Folded Reload
sub x9, x29, #124
stur w8, [x9, #-256] ; 4-byte Folded Spill
bl _atoi
mov x8, x0
sub x9, x29, #160
ldur x0, [x9, #-256] ; 8-byte Folded Reload
sub x9, x29, #120
stur w8, [x9, #-256] ; 4-byte Folded Spill
bl _atoi
mov x8, x0
sub x9, x29, #152
ldur x0, [x9, #-256] ; 8-byte Folded Reload
sub x9, x29, #140
stur w8, [x9, #-256] ; 4-byte Folded Spill
bl _atoi
sub x8, x29, #140
ldur w9, [x8, #-256] ; 4-byte Folded Reload
sub x8, x29, #136
ldur x8, [x8, #-256] ; 8-byte Folded Reload
sub x10, x29, #124
ldur w11, [x10, #-256] ; 4-byte Folded Reload
mov x10, x0
sub x12, x29, #120
ldur w0, [x12, #-256] ; 4-byte Folded Reload
add w10, w9, w10
sub sp, sp, #32
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #16]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #24]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #32
b LBB0_39
LBB0_39:
b LBB0_41
LBB0_40:
sub x8, x29, #32
ldur x0, [x8, #-256] ; 8-byte Folded Reload
ldur w1, [x29, #-200]
ldur w3, [x29, #-188]
mov w2, #0
bl _count_occ
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add sp, sp, #16
b LBB0_41
LBB0_41:
stur wzr, [x29, #-172]
ldur x8, [x29, #-216]
mov sp, x8
ldur w8, [x29, #-172]
sub x9, x29, #172
stur w8, [x9, #-256] ; 4-byte Folded Spill
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_43
b LBB0_42
LBB0_42:
bl ___stack_chk_fail
LBB0_43:
sub x8, x29, #172
ldur w0, [x8, #-256] ; 4-byte Folded Reload
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_tab ; -- Begin function print_tab
.p2align 2
_print_tab: ; @print_tab
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_6:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _count_occ ; -- Begin function count_occ
.p2align 2
_count_occ: ; @count_occ
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur w3, [x29, #-20]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
str w8, [sp, #32] ; 4-byte Folded Spill
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-20]
ldur w9, [x29, #-16]
subs w8, w8, w9
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB2_4
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-16]
ldur w9, [x29, #-20]
subs w8, w8, w9
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
ldr w9, [sp, #28] ; 4-byte Folded Reload
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_9
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
ldur w9, [x29, #-16]
ldur w10, [x29, #-28]
add w9, w9, w10
ldr w8, [x8, w9, sxtw #2]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
ldur w9, [x29, #-28]
ldur w10, [x29, #-16]
add w10, w9, w10
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB2_1
LBB2_9:
ldur w0, [x29, #-24]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a tab size : \n"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter a minimum : \n"
l_.str.3: ; @.str.3
.asciz "Enter a maximum : \n"
l_.str.4: ; @.str.4
.asciz "Tab filled with values in %d...%d interval.\n"
l_.str.5: ; @.str.5
.asciz "Enter an element to find : \n"
l_.str.6: ; @.str.6
.asciz "This value is not allowed : %d \nPlease enter an other value : \n"
l_.str.7: ; @.str.7
.asciz "Occurences of %d : %d + %d = %d\n"
l_.str.8: ; @.str.8
.asciz "Occurences of %d\n"
l_.str.9: ; @.str.9
.asciz "Occ : %d : index %d\n"
l_.str.10: ; @.str.10
.asciz ","
l_.str.11: ; @.str.11
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $368, %rsp ## imm = 0x170
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -164(%rbp)
movl %edi, -168(%rbp)
movq %rsi, -176(%rbp)
movl $0, -196(%rbp)
movl $0, -200(%rbp)
leaq -16(%rbp), %rdi
callq _pipe
leaq -24(%rbp), %rdi
callq _pipe
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -180(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -184(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -188(%rbp), %rsi
movb $0, %al
callq _scanf
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_2
## %bb.1:
movl -184(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl -188(%rbp), %eax
movl %eax, -244(%rbp) ## 4-byte Spill
LBB0_3:
movl -244(%rbp), %eax ## 4-byte Reload
movl %eax, -248(%rbp) ## 4-byte Spill
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_5
## %bb.4:
movl -188(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
jmp LBB0_6
LBB0_5:
movl -184(%rbp), %eax
movl %eax, -252(%rbp) ## 4-byte Spill
LBB0_6:
movl -248(%rbp), %esi ## 4-byte Reload
movl -252(%rbp), %edx ## 4-byte Reload
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -192(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp), %ecx
movb $1, %al
cmpl -184(%rbp), %ecx
movb %al, -253(%rbp) ## 1-byte Spill
jl LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -192(%rbp), %eax
cmpl -188(%rbp), %eax
setg %al
movb %al, -253(%rbp) ## 1-byte Spill
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movb -253(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_10
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movl -192(%rbp), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -192(%rbp), %rsi
movb $0, %al
callq _scanf
jmp LBB0_7
LBB0_11:
movl -180(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -272(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -208(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -272(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -264(%rbp) ## 8-byte Spill
movq %rax, -216(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq _time
movl %eax, %edi
callq _srand
movl $0, -220(%rbp)
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl -220(%rbp), %eax
cmpl -180(%rbp), %eax
jge LBB0_21
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
callq _rand
movl %eax, -276(%rbp) ## 4-byte Spill
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl -188(%rbp), %eax
movl %eax, -280(%rbp) ## 4-byte Spill
jmp LBB0_16
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movl -184(%rbp), %eax
movl %eax, -280(%rbp) ## 4-byte Spill
LBB0_16: ## in Loop: Header=BB0_12 Depth=1
movl -276(%rbp), %eax ## 4-byte Reload
movl -280(%rbp), %ecx ## 4-byte Reload
cltd
idivl %ecx
movl %edx, -284(%rbp) ## 4-byte Spill
movl -184(%rbp), %eax
cmpl -188(%rbp), %eax
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_12 Depth=1
movl -184(%rbp), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
jmp LBB0_19
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
movl -188(%rbp), %eax
movl %eax, -288(%rbp) ## 4-byte Spill
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movq -264(%rbp), %rax ## 8-byte Reload
movl -284(%rbp), %edx ## 4-byte Reload
movl -288(%rbp), %ecx ## 4-byte Reload
addl %ecx, %edx
movslq -220(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.20: ## in Loop: Header=BB0_12 Depth=1
movl -220(%rbp), %eax
addl $1, %eax
movl %eax, -220(%rbp)
jmp LBB0_12
LBB0_21:
movq -264(%rbp), %rdi ## 8-byte Reload
movl -180(%rbp), %esi
callq _print_tab
cmpl $10, -180(%rbp)
jl LBB0_40
## %bb.22:
callq _getpid
movl %eax, -292(%rbp) ## 4-byte Spill
callq _getpid
movl %eax, %edi
callq _getpgid
movl %eax, %ecx
movl -292(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_24
## %bb.23:
callq _fork
movl %eax, -196(%rbp)
LBB0_24:
callq _getpid
movl %eax, -296(%rbp) ## 4-byte Spill
callq _getpid
movl %eax, %edi
callq _getpgid
movl %eax, %ecx
movl -296(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_26
## %bb.25:
callq _fork
movl %eax, -200(%rbp)
LBB0_26:
cmpl $0, -196(%rbp)
jne LBB0_31
## %bb.27:
movl $65, %edi
callq _malloc
movq %rax, -232(%rbp)
movl -16(%rbp), %edi
callq _close
movq -232(%rbp), %rax
movq %rax, -312(%rbp) ## 8-byte Spill
movl -192(%rbp), %eax
movl %eax, -300(%rbp) ## 4-byte Spill
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_29
## %bb.28:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -316(%rbp) ## 4-byte Spill
jmp LBB0_30
LBB0_29:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
addl $1, %eax
movl %eax, -316(%rbp) ## 4-byte Spill
LBB0_30:
movl -300(%rbp), %esi ## 4-byte Reload
movq -264(%rbp), %rdi ## 8-byte Reload
movl -316(%rbp), %ecx ## 4-byte Reload
xorl %edx, %edx
movl %edx, -320(%rbp) ## 4-byte Spill
callq _count_occ
movq -312(%rbp), %rdi ## 8-byte Reload
movl -320(%rbp), %edx ## 4-byte Reload
movl %eax, %r9d
leaq L_.str.1(%rip), %r8
movb %dl, %al
movl $64, %esi
movq $-1, %rcx
callq ___snprintf_chk
movl -12(%rbp), %edi
movq -232(%rbp), %rsi
movl $65, %edx
callq _write
movl -320(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_31:
cmpl $0, -200(%rbp)
jne LBB0_36
## %bb.32:
movl $65, %edi
callq _malloc
movq %rax, -240(%rbp)
movl -24(%rbp), %edi
callq _close
movq -240(%rbp), %rax
movq %rax, -336(%rbp) ## 8-byte Spill
movl -192(%rbp), %eax
movl %eax, -324(%rbp) ## 4-byte Spill
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_34
## %bb.33:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -340(%rbp) ## 4-byte Spill
jmp LBB0_35
LBB0_34:
movl -180(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
addl $1, %eax
movl %eax, -340(%rbp) ## 4-byte Spill
LBB0_35:
movl -324(%rbp), %esi ## 4-byte Reload
movq -264(%rbp), %rdi ## 8-byte Reload
movl -340(%rbp), %edx ## 4-byte Reload
movl -180(%rbp), %ecx
callq _count_occ
movq -336(%rbp), %rdi ## 8-byte Reload
movl %eax, %r9d
leaq L_.str.1(%rip), %r8
xorl %edx, %edx
movl %edx, -344(%rbp) ## 4-byte Spill
movb %dl, %al
movl $64, %esi
movq $-1, %rcx
callq ___snprintf_chk
movl -20(%rbp), %edi
movq -240(%rbp), %rsi
movl $65, %edx
callq _write
movl -344(%rbp), %edi ## 4-byte Reload
callq _exit
LBB0_36:
jmp LBB0_37
LBB0_37:
callq _getpid
movl %eax, -348(%rbp) ## 4-byte Spill
callq _getpid
movl %eax, %edi
callq _getpgid
movl %eax, %ecx
movl -348(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jne LBB0_39
## %bb.38:
movl -12(%rbp), %edi
callq _close
movl -20(%rbp), %edi
callq _close
movl -16(%rbp), %edi
leaq -96(%rbp), %rsi
movl $64, %edx
callq _read
movl -24(%rbp), %edi
leaq -160(%rbp), %rsi
movl $64, %edx
callq _read
movl -192(%rbp), %eax
movl %eax, -360(%rbp) ## 4-byte Spill
leaq -96(%rbp), %rdi
callq _atoi
movl %eax, -356(%rbp) ## 4-byte Spill
leaq -160(%rbp), %rdi
callq _atoi
movl %eax, -352(%rbp) ## 4-byte Spill
leaq -96(%rbp), %rdi
callq _atoi
movl %eax, -364(%rbp) ## 4-byte Spill
leaq -160(%rbp), %rdi
callq _atoi
movl -364(%rbp), %r8d ## 4-byte Reload
movl -360(%rbp), %esi ## 4-byte Reload
movl -356(%rbp), %edx ## 4-byte Reload
movl -352(%rbp), %ecx ## 4-byte Reload
addl %eax, %r8d
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB0_39:
jmp LBB0_41
LBB0_40:
movq -264(%rbp), %rdi ## 8-byte Reload
movl -192(%rbp), %esi
movl -180(%rbp), %ecx
xorl %edx, %edx
callq _count_occ
movl %eax, %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB0_41:
movl $0, -164(%rbp)
movq -208(%rbp), %rax
movq %rax, %rsp
movl -164(%rbp), %eax
movl %eax, -368(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_43
## %bb.42:
movl -368(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_43:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _print_tab ## -- Begin function print_tab
.p2align 4, 0x90
_print_tab: ## @print_tab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %eax
movl -12(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_1
LBB1_6:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_occ ## -- Begin function count_occ
.p2align 4, 0x90
_count_occ: ## @count_occ
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movl %eax, -32(%rbp) ## 4-byte Spill
movl -20(%rbp), %eax
cmpl -16(%rbp), %eax
jle LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
jmp LBB2_4
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movl -16(%rbp), %eax
subl -20(%rbp), %eax
movl %eax, -36(%rbp) ## 4-byte Spill
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl -32(%rbp), %eax ## 4-byte Reload
movl -36(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, %eax
jge LBB2_9
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rax
movl -16(%rbp), %ecx
addl -28(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cmpl -12(%rbp), %eax
jne LBB2_7
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -12(%rbp), %esi
movl -28(%rbp), %edx
addl -16(%rbp), %edx
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_1
LBB2_9:
movl -24(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a tab size : \n"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter a minimum : \n"
L_.str.3: ## @.str.3
.asciz "Enter a maximum : \n"
L_.str.4: ## @.str.4
.asciz "Tab filled with values in %d...%d interval.\n"
L_.str.5: ## @.str.5
.asciz "Enter an element to find : \n"
L_.str.6: ## @.str.6
.asciz "This value is not allowed : %d \nPlease enter an other value : \n"
L_.str.7: ## @.str.7
.asciz "Occurences of %d : %d + %d = %d\n"
L_.str.8: ## @.str.8
.asciz "Occurences of %d\n"
L_.str.9: ## @.str.9
.asciz "Occ : %d : index %d\n"
L_.str.10: ## @.str.10
.asciz ","
L_.str.11: ## @.str.11
.asciz "\n"
.subsections_via_symbols
| the_stack_data/9511625.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:
mov w0, #0
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _x ; @x
.p2align 2
_x:
.long 3 ; 0x3
.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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _x ## @x
.p2align 2
_x:
.long 3 ## 0x3
.subsections_via_symbols
| the_stack_data/105824.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/85291.c |