arm
stringlengths 122
20M
| x86
stringlengths 122
20M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 _calc_pow
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 calc_pow
_calc_pow: ; @calc_pow
.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
sub x8, x29, #8
stur wzr, [x29, #-8]
stur wzr, [x8, #3]
stur wzr, [x29, #-12]
stur xzr, [x29, #-24]
stur wzr, [x29, #-28]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #28
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
adds w8, w0, #1
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
sub x0, x29, #8
sub x1, x29, #12
sub x2, x29, #24
bl _conv_str_to_decimal
ldursw x0, [x29, #-12]
ldur x1, [x29, #-24]
bl _create_big_number_from_long
str x0, [sp, #24]
ldr x0, [sp, #24]
ldursw x1, [x29, #-28]
bl _bn_pow
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _bn_print
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #24]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
b LBB1_1
LBB1_11:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function conv_str_to_decimal
_conv_str_to_decimal: ; @conv_str_to_decimal
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_1
LBB2_1:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3:
b LBB2_16
LBB2_4:
ldur x0, [x29, #-8]
bl _strlen
add x0, x0, #1
bl _malloc
stur x0, [x29, #-32]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
b LBB2_16
LBB2_6:
ldur x8, [x29, #-32]
str x8, [sp, #24] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
add x2, x8, #1
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur x8, [x29, #-8]
str x8, [sp, #40]
ldur x8, [x29, #-32]
str x8, [sp, #32]
b LBB2_7
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _strlen
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x9, x9, x0
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB2_12
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_7 Depth=1
ldr x8, [sp, #40]
ldrsb w8, [x8]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_7 Depth=1
ldur x0, [x29, #-8]
bl _strlen
ldr x8, [sp, #40]
ldur x9, [x29, #-8]
subs x8, x8, x9
subs x8, x0, x8
subs x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
b LBB2_11
LBB2_10: ; in Loop: Header=BB2_7 Depth=1
ldr x8, [sp, #40]
ldrb w8, [x8]
ldr x9, [sp, #32]
add x10, x9, #1
str x10, [sp, #32]
strb w8, [x9]
b LBB2_11
LBB2_11: ; in Loop: Header=BB2_7 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB2_7
LBB2_12:
ldur x0, [x29, #-32]
bl _atoi
ldur x8, [x29, #-16]
str w0, [x8]
b LBB2_13
LBB2_13:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_15
b LBB2_14
LBB2_14:
ldur x0, [x29, #-32]
bl _free
; kill: def $x8 killed $xzr
stur xzr, [x29, #-32]
b LBB2_15
LBB2_15:
b LBB2_16
LBB2_16:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function create_big_number_from_long
_create_big_number_from_long: ; @create_big_number_from_long
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov x0, #1
bl _create_big_number
stur x0, [x29, #-8]
b LBB3_11
LBB3_2:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, lt
mov w9, #1
and w8, w8, w9
sturb w8, [x29, #-25]
ldur x8, [x29, #-16]
mov x0, x8
bl _abs
; implicit-def: $x8
mov x8, x0
sxtw x8, w8
stur x8, [x29, #-16]
ldur d0, [x29, #-16]
scvtf d0, d0
bl _log10
frintm d0, d0
fmov d1, #1.00000000
fadd d0, d0, d1
fcvtzu x8, d0
str x8, [sp, #24]
ldr x0, [sp, #24]
bl _create_big_number
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB3_11
LBB3_4:
ldurb w8, [x29, #-25]
ldr x9, [sp, #16]
and w8, w8, #0x1
strb w8, [x9, #16]
ldur x8, [x29, #-24]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #16]
add x8, x8, #18
str x8, [sp, #8]
ldr x8, [sp, #24]
str x8, [sp]
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB3_10
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [sp, #8]
ldr x9, [sp, #16]
add x9, x9, #18
ldr x10, [sp, #24]
add x9, x9, x10, lsl #1
subs x8, x8, x9
cset w9, hs
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7:
adrp x0, l___func__.create_big_number_from_long@PAGE
add x0, x0, l___func__.create_big_number_from_long@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov w2, #130
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB3_8: ; in Loop: Header=BB3_5 Depth=1
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_5 Depth=1
ldur x8, [x29, #-16]
mov x9, #10
sdiv x10, x8, x9
mul x10, x10, x9
subs x8, x8, x10
ldr x10, [sp, #8]
add x11, x10, #2
str x11, [sp, #8]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x10]
ldur x8, [x29, #-16]
sdiv x8, x8, x9
stur x8, [x29, #-16]
ldr x8, [sp]
subs x8, x8, #1
str x8, [sp]
b LBB3_5
LBB3_10:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB3_11
LBB3_11:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bn_pow
_bn_pow: ; @bn_pow
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB4_24
LBB4_2:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
mov x0, #1
mov x1, #0
bl _create_big_number_from_long
stur x0, [x29, #-8]
b LBB4_24
LBB4_4:
ldur x8, [x29, #-24]
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB4_6
b LBB4_5
LBB4_5:
ldur x0, [x29, #-16]
bl _bn_copy
stur x0, [x29, #-8]
b LBB4_24
LBB4_6:
ldur x0, [x29, #-16]
bl _bn_copy
str x0, [sp, #32]
mov x0, #1
mov x1, #0
bl _create_big_number_from_long
str x0, [sp, #24]
b LBB4_7
LBB4_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_19
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_7 Depth=1
ldur x8, [x29, #-24]
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB4_14
b LBB4_9
LBB4_9: ; in Loop: Header=BB4_7 Depth=1
ldr x0, [sp, #24]
ldr x1, [sp, #32]
bl _bn_mul
str x0, [sp, #16]
b LBB4_10
LBB4_10: ; in Loop: Header=BB4_7 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_12
b LBB4_11
LBB4_11: ; in Loop: Header=BB4_7 Depth=1
ldr x0, [sp, #24]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB4_12
LBB4_12: ; in Loop: Header=BB4_7 Depth=1
b LBB4_13
LBB4_13: ; in Loop: Header=BB4_7 Depth=1
ldr x8, [sp, #16]
str x8, [sp, #24]
b LBB4_14
LBB4_14: ; in Loop: Header=BB4_7 Depth=1
ldr x0, [sp, #32]
ldr x1, [sp, #32]
bl _bn_mul
str x0, [sp, #8]
b LBB4_15
LBB4_15: ; in Loop: Header=BB4_7 Depth=1
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_17
b LBB4_16
LBB4_16: ; in Loop: Header=BB4_7 Depth=1
ldr x0, [sp, #32]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
b LBB4_17
LBB4_17: ; in Loop: Header=BB4_7 Depth=1
b LBB4_18
LBB4_18: ; in Loop: Header=BB4_7 Depth=1
ldr x8, [sp, #8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
mov x9, #2
sdiv x8, x8, x9
stur x8, [x29, #-24]
b LBB4_7
LBB4_19:
b LBB4_20
LBB4_20:
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_22
b LBB4_21
LBB4_21:
ldr x0, [sp, #32]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
b LBB4_22
LBB4_22:
b LBB4_23
LBB4_23:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB4_24
LBB4_24:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bn_print
_bn_print: ; @bn_print
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
b LBB5_32
LBB5_2:
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
ldur x8, [x29, #-8]
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB5_5
LBB5_4:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #24] ; 8-byte Folded Spill
b LBB5_5
LBB5_5:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
subs x9, x9, #0
cset w9, ne
and w10, w9, #0x1
mov w9, #0
ands w10, w10, #0x1
csinc w9, w9, wzr, eq
add x8, x8, w9, sxtw
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
add x0, x8, #1
bl _malloc
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_7
b LBB5_6
LBB5_6:
b LBB5_32
LBB5_7:
ldur x8, [x29, #-8]
ldr x8, [x8]
stur x8, [x29, #-32]
ldur x8, [x29, #-24]
str x8, [sp, #40]
ldur x8, [x29, #-8]
ldr x8, [x8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB5_15
b LBB5_8
LBB5_8:
ldr x9, [sp, #40]
add x8, x9, #1
str x8, [sp, #40]
mov w8, #46
strb w8, [x9]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
ldur x9, [x29, #-8]
ldr x9, [x9]
subs x8, x8, x9
str x8, [sp, #32]
b LBB5_9
LBB5_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
subs x9, x8, #1
str x9, [sp, #32]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB5_11
b LBB5_10
LBB5_10: ; in Loop: Header=BB5_9 Depth=1
ldr x9, [sp, #40]
add x8, x9, #1
str x8, [sp, #40]
mov w8, #48
strb w8, [x9]
b LBB5_9
LBB5_11:
b LBB5_12
LBB5_12: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB5_14
b LBB5_13
LBB5_13: ; in Loop: Header=BB5_12 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #18
ldur x9, [x29, #-32]
subs x9, x9, #1
ldrh w8, [x8, x9, lsl #1]
add w8, w8, #48
ldr x9, [sp, #40]
add x10, x9, #1
str x10, [sp, #40]
strb w8, [x9]
ldur x8, [x29, #-32]
subs x8, x8, #1
stur x8, [x29, #-32]
b LBB5_12
LBB5_14:
b LBB5_21
LBB5_15:
b LBB5_16
LBB5_16: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, ls
tbnz w8, #0, LBB5_20
b LBB5_17
LBB5_17: ; in Loop: Header=BB5_16 Depth=1
ldur x8, [x29, #-8]
add x8, x8, #18
ldur x9, [x29, #-32]
subs x9, x9, #1
ldrh w8, [x8, x9, lsl #1]
add w8, w8, #48
ldr x9, [sp, #40]
add x10, x9, #1
str x10, [sp, #40]
strb w8, [x9]
ldur x8, [x29, #-32]
subs x8, x8, #1
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB5_19
b LBB5_18
LBB5_18: ; in Loop: Header=BB5_16 Depth=1
ldr x9, [sp, #40]
add x8, x9, #1
str x8, [sp, #40]
mov w8, #46
strb w8, [x9]
b LBB5_19
LBB5_19: ; in Loop: Header=BB5_16 Depth=1
b LBB5_16
LBB5_20:
b LBB5_21
LBB5_21:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_28
b LBB5_22
LBB5_22:
b LBB5_23
LBB5_23: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
subs x9, x8, #1
str x9, [sp, #40]
ldursb w8, [x8, #-1]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB5_25
b LBB5_24
LBB5_24: ; in Loop: Header=BB5_23 Depth=1
b LBB5_23
LBB5_25:
ldr x8, [sp, #40]
ldrsb w8, [x8]
subs w8, w8, #46
cset w8, ne
tbnz w8, #0, LBB5_27
b LBB5_26
LBB5_26:
ldr x8, [sp, #40]
subs x8, x8, #1
str x8, [sp, #40]
b LBB5_27
LBB5_27:
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB5_28
LBB5_28:
ldr x8, [sp, #40]
strb wzr, [x8]
ldur x8, [x29, #-8]
ldrb w8, [x8, #16]
and w10, w8, #0x1
adrp x9, l_.str.5@PAGE
add x9, x9, l_.str.5@PAGEOFF
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
ands w10, w10, #0x1
csel x10, x8, x9, ne
ldur x8, [x29, #-24]
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 LBB5_29
LBB5_29:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_31
b LBB5_30
LBB5_30:
ldur x0, [x29, #-24]
bl _free
; kill: def $x8 killed $xzr
stur xzr, [x29, #-24]
b LBB5_31
LBB5_31:
b LBB5_32
LBB5_32:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function create_big_number
_create_big_number: ; @create_big_number
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, hi
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB6_5
LBB6_2:
ldr x8, [sp, #16]
subs x9, x8, #1
mov x8, #2
mul x8, x8, x9
add x0, x8, #24
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB6_5
LBB6_4:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9]
ldr x8, [sp, #8]
str xzr, [x8, #8]
ldr x8, [sp, #8]
strb wzr, [x8, #16]
ldr x8, [sp, #8]
add x0, x8, #18
ldr x9, [sp, #16]
mov x8, #2
mul x2, x8, x9
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB6_5
LBB6_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bn_copy
_bn_copy: ; @bn_copy
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB7_5
LBB7_2:
ldr x8, [sp, #16]
ldr x0, [x8]
bl _create_big_number
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB7_5
LBB7_4:
ldr x8, [sp, #16]
ldrb w8, [x8, #16]
ldr x9, [sp, #8]
and w8, w8, #0x1
strb w8, [x9, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
add x0, x8, #18
ldr x8, [sp, #16]
add x1, x8, #18
ldr x8, [sp, #8]
ldr x9, [x8]
mov x8, #2
mul x2, x8, x9
mov x3, #-1
bl ___memcpy_chk
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB7_5
LBB7_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bn_mul
_bn_mul: ; @bn_mul
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_3
b LBB8_2
LBB8_2:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB8_28
LBB8_3:
ldur x8, [x29, #-16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_5
b LBB8_4
LBB8_4:
ldur x8, [x29, #-24]
ldr x8, [x8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB8_28
LBB8_6:
ldur x0, [x29, #-16]
bl _bn_is_zero
tbnz w0, #0, LBB8_8
b LBB8_7
LBB8_7:
ldur x0, [x29, #-24]
bl _bn_is_zero
tbz w0, #0, LBB8_9
b LBB8_8
LBB8_8:
mov x1, #0
mov x0, x1
bl _create_big_number_from_long
stur x0, [x29, #-8]
b LBB8_28
LBB8_9:
ldur x8, [x29, #-16]
ldr x8, [x8]
ldur x9, [x29, #-24]
ldr x9, [x9]
add x8, x8, x9
stur x8, [x29, #-32]
ldur x0, [x29, #-32]
bl _create_big_number
stur x0, [x29, #-40]
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_11
b LBB8_10
LBB8_10:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB8_28
LBB8_11:
str xzr, [sp, #48]
b LBB8_12
LBB8_12: ; =>This Loop Header: Depth=1
; Child Loop BB8_14 Depth 2
ldr x8, [sp, #48]
ldur x9, [x29, #-16]
ldr x9, [x9]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB8_20
b LBB8_13
LBB8_13: ; in Loop: Header=BB8_12 Depth=1
str xzr, [sp, #40]
ldur x8, [x29, #-16]
add x8, x8, #18
ldr x9, [sp, #48]
ldrh w8, [x8, x9, lsl #1]
; kill: def $x8 killed $w8
str x8, [sp, #32]
ldur x8, [x29, #-40]
add x8, x8, #18
ldr x9, [sp, #48]
add x8, x8, x9, lsl #1
str x8, [sp, #24]
ldur x8, [x29, #-24]
add x8, x8, #18
str x8, [sp, #16]
ldr x8, [sp, #16]
ldur x9, [x29, #-24]
ldr x9, [x9]
add x8, x8, x9, lsl #1
str x8, [sp, #8]
b LBB8_14
LBB8_14: ; Parent Loop BB8_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB8_16
b LBB8_15
LBB8_15: ; in Loop: Header=BB8_14 Depth=2
ldr x8, [sp, #24]
ldrh w8, [x8]
; kill: def $x8 killed $w8
ldr x9, [sp, #16]
add x10, x9, #2
str x10, [sp, #16]
ldrh w9, [x9]
; kill: def $x9 killed $w9
ldr x10, [sp, #32]
mul x9, x9, x10
add x9, x8, x9
ldr x8, [sp, #40]
add x8, x8, x9
str x8, [sp, #40]
ldr x8, [sp, #40]
mov x9, #10
udiv x10, x8, x9
mul x10, x10, x9
subs x8, x8, x10
ldr x10, [sp, #24]
add x11, x10, #2
str x11, [sp, #24]
; kill: def $w8 killed $w8 killed $x8
strh w8, [x10]
ldr x8, [sp, #40]
udiv x8, x8, x9
str x8, [sp, #40]
b LBB8_14
LBB8_16: ; in Loop: Header=BB8_12 Depth=1
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_18
b LBB8_17
LBB8_17: ; in Loop: Header=BB8_12 Depth=1
ldr x8, [sp, #40]
mov x10, x8
ldr x9, [sp, #24]
ldrh w8, [x9]
add w8, w8, w10, uxth
strh w8, [x9]
b LBB8_18
LBB8_18: ; in Loop: Header=BB8_12 Depth=1
b LBB8_19
LBB8_19: ; in Loop: Header=BB8_12 Depth=1
ldr x8, [sp, #48]
add x8, x8, #1
str x8, [sp, #48]
b LBB8_12
LBB8_20:
ldur x8, [x29, #-32]
str x8, [sp, #48]
b LBB8_21
LBB8_21: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, ls
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB8_23
b LBB8_22
LBB8_22: ; in Loop: Header=BB8_21 Depth=1
ldur x8, [x29, #-40]
add x8, x8, #18
ldr x9, [sp, #48]
subs x9, x9, #1
ldrh w8, [x8, x9, lsl #1]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB8_23
LBB8_23: ; in Loop: Header=BB8_21 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB8_25
b LBB8_24
LBB8_24: ; in Loop: Header=BB8_21 Depth=1
ldr x8, [sp, #48]
subs x8, x8, #1
str x8, [sp, #48]
b LBB8_21
LBB8_25:
ldr x8, [sp, #48]
ldur x9, [x29, #-32]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB8_27
b LBB8_26
LBB8_26:
ldr x8, [sp, #48]
ldur x9, [x29, #-40]
str x8, [x9]
b LBB8_27
LBB8_27:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldur x9, [x29, #-24]
ldr x9, [x9, #8]
add x8, x8, x9
ldur x9, [x29, #-40]
str x8, [x9, #8]
ldur x8, [x29, #-40]
stur x8, [x29, #-8]
b LBB8_28
LBB8_28:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bn_is_zero
_bn_is_zero: ; @bn_is_zero
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
mov w8, #0
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB9_5
LBB9_2:
ldr x8, [sp, #16]
ldr x8, [x8]
subs x8, x8, #1
cset w8, ne
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
ldr x8, [sp, #16]
ldrh w8, [x8, #18]
subs w8, w8, #0
cset w8, eq
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB9_4
LBB9_4:
ldr w8, [sp, #12] ; 4-byte Folded Reload
and w8, w8, #0x1
and w8, w8, #0x1
strb w8, [sp, #31]
b LBB9_5
LBB9_5:
ldrb w8, [sp, #31]
and w0, w8, #0x1
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s %d"
l___func__.create_big_number_from_long: ; @__func__.create_big_number_from_long
.asciz "create_big_number_from_long"
l_.str.1: ; @.str.1
.asciz "89174.c"
l_.str.2: ; @.str.2
.asciz "p < (bn->digits + size)"
l_.str.3: ; @.str.3
.asciz "%s%s\n"
l_.str.4: ; @.str.4
.asciz "-"
l_.str.5: ; @.str.5
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
callq _calc_pow
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function calc_pow
_calc_pow: ## @calc_pow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
leaq -7(%rbp), %rdi
xorl %esi, %esi
movl $7, %edx
callq _memset
movl $0, -12(%rbp)
movq $0, -24(%rbp)
movl $0, -28(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
leaq -7(%rbp), %rsi
leaq L_.str(%rip), %rdi
leaq -28(%rbp), %rdx
movb $0, %al
callq _scanf
cmpl $-1, %eax
je LBB1_11
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq -7(%rbp), %rdi
leaq -12(%rbp), %rsi
leaq -24(%rbp), %rdx
callq _conv_str_to_decimal
movslq -12(%rbp), %rdi
movq -24(%rbp), %rsi
callq _create_big_number_from_long
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movslq -28(%rbp), %rsi
callq _bn_pow
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
callq _bn_print
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -40(%rbp)
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movq -40(%rbp), %rdi
callq _free
movq $0, -40(%rbp)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
cmpq $0, -48(%rbp)
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
movq -48(%rbp), %rdi
callq _free
movq $0, -48(%rbp)
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_1
LBB1_11:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function conv_str_to_decimal
_conv_str_to_decimal: ## @conv_str_to_decimal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
cmpq $0, -8(%rbp)
je LBB2_3
## %bb.1:
cmpq $0, -16(%rbp)
je LBB2_3
## %bb.2:
cmpq $0, -24(%rbp)
jne LBB2_4
LBB2_3:
jmp LBB2_16
LBB2_4:
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rdi
addq $1, %rdi
callq _malloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB2_6
## %bb.5:
jmp LBB2_16
LBB2_6:
movq -32(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
addq $1, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
LBB2_7: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _strlen
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rax, %rdx
movq -64(%rbp), %rax ## 8-byte Reload
addq %rdx, %rcx
cmpq %rcx, %rax
jae LBB2_12
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $46, %eax
jne LBB2_10
## %bb.9: ## in Loop: Header=BB2_7 Depth=1
movq -8(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -40(%rbp), %rax
movq -8(%rbp), %rdx
subq %rdx, %rax
subq %rax, %rcx
subq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
jmp LBB2_11
LBB2_10: ## in Loop: Header=BB2_7 Depth=1
movq -40(%rbp), %rax
movb (%rax), %cl
movq -48(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -48(%rbp)
movb %cl, (%rax)
LBB2_11: ## in Loop: Header=BB2_7 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB2_7
LBB2_12:
movq -32(%rbp), %rdi
callq _atoi
movl %eax, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
## %bb.13:
cmpq $0, -32(%rbp)
je LBB2_15
## %bb.14:
movq -32(%rbp), %rdi
callq _free
movq $0, -32(%rbp)
LBB2_15:
jmp LBB2_16
LBB2_16:
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function create_big_number_from_long
LCPI3_0:
.quad 0x3ff0000000000000 ## double 1
LCPI3_1:
.quad 0x43e0000000000000 ## double 9.2233720368547758E+18
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_create_big_number_from_long: ## @create_big_number_from_long
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $0, -16(%rbp)
jne LBB3_2
## %bb.1:
movl $1, %edi
callq _create_big_number
movq %rax, -8(%rbp)
jmp LBB3_11
LBB3_2:
movq -16(%rbp), %rax
shrq $63, %rax
## kill: def $al killed $al killed $rax
movb %al, -25(%rbp)
movl -16(%rbp), %edi
callq _abs
cltq
movq %rax, -16(%rbp)
cvtsi2sdq -16(%rbp), %xmm0
callq _log10
roundsd $9, %xmm0, %xmm0
movsd LCPI3_0(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movaps %xmm0, %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rdx
sarq $63, %rdx
movsd LCPI3_1(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
andq %rdx, %rcx
orq %rcx, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _create_big_number
movq %rax, -48(%rbp)
cmpq $0, -48(%rbp)
jne LBB3_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB3_11
LBB3_4:
movb -25(%rbp), %cl
movq -48(%rbp), %rax
andb $1, %cl
movb %cl, 16(%rax)
movq -24(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 8(%rax)
movq -48(%rbp), %rax
addq $18, %rax
movq %rax, -56(%rbp)
movq -40(%rbp), %rax
movq %rax, -64(%rbp)
LBB3_5: ## =>This Inner Loop Header: Depth=1
cmpq $0, -64(%rbp)
jbe LBB3_10
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movq -56(%rbp), %rax
movq -48(%rbp), %rcx
addq $18, %rcx
movq -40(%rbp), %rdx
shlq $1, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
setb %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB3_8
## %bb.7:
leaq L___func__.create_big_number_from_long(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $130, %edx
callq ___assert_rtn
LBB3_8: ## in Loop: Header=BB3_5 Depth=1
jmp LBB3_9
LBB3_9: ## in Loop: Header=BB3_5 Depth=1
movq -16(%rbp), %rax
movl $10, %ecx
cqto
idivq %rcx
movw %dx, %cx
movq -56(%rbp), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, -56(%rbp)
movw %cx, (%rax)
movq -16(%rbp), %rax
movl $10, %ecx
cqto
idivq %rcx
movq %rax, -16(%rbp)
movq -64(%rbp), %rax
addq $-1, %rax
movq %rax, -64(%rbp)
jmp LBB3_5
LBB3_10:
movq -48(%rbp), %rax
movq %rax, -8(%rbp)
LBB3_11:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bn_pow
_bn_pow: ## @bn_pow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $0, -16(%rbp)
jne LBB4_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB4_24
LBB4_2:
cmpq $0, -24(%rbp)
jne LBB4_4
## %bb.3:
movl $1, %edi
xorl %eax, %eax
movl %eax, %esi
callq _create_big_number_from_long
movq %rax, -8(%rbp)
jmp LBB4_24
LBB4_4:
cmpq $1, -24(%rbp)
jne LBB4_6
## %bb.5:
movq -16(%rbp), %rdi
callq _bn_copy
movq %rax, -8(%rbp)
jmp LBB4_24
LBB4_6:
movq -16(%rbp), %rdi
callq _bn_copy
movq %rax, -32(%rbp)
movl $1, %edi
xorl %eax, %eax
movl %eax, %esi
callq _create_big_number_from_long
movq %rax, -40(%rbp)
LBB4_7: ## =>This Inner Loop Header: Depth=1
cmpq $0, -24(%rbp)
je LBB4_19
## %bb.8: ## in Loop: Header=BB4_7 Depth=1
movq -24(%rbp), %rax
andq $1, %rax
cmpq $0, %rax
je LBB4_14
## %bb.9: ## in Loop: Header=BB4_7 Depth=1
movq -40(%rbp), %rdi
movq -32(%rbp), %rsi
callq _bn_mul
movq %rax, -48(%rbp)
## %bb.10: ## in Loop: Header=BB4_7 Depth=1
cmpq $0, -40(%rbp)
je LBB4_12
## %bb.11: ## in Loop: Header=BB4_7 Depth=1
movq -40(%rbp), %rdi
callq _free
movq $0, -40(%rbp)
LBB4_12: ## in Loop: Header=BB4_7 Depth=1
jmp LBB4_13
LBB4_13: ## in Loop: Header=BB4_7 Depth=1
movq -48(%rbp), %rax
movq %rax, -40(%rbp)
LBB4_14: ## in Loop: Header=BB4_7 Depth=1
movq -32(%rbp), %rdi
movq -32(%rbp), %rsi
callq _bn_mul
movq %rax, -56(%rbp)
## %bb.15: ## in Loop: Header=BB4_7 Depth=1
cmpq $0, -32(%rbp)
je LBB4_17
## %bb.16: ## in Loop: Header=BB4_7 Depth=1
movq -32(%rbp), %rdi
callq _free
movq $0, -32(%rbp)
LBB4_17: ## in Loop: Header=BB4_7 Depth=1
jmp LBB4_18
LBB4_18: ## in Loop: Header=BB4_7 Depth=1
movq -56(%rbp), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movl $2, %ecx
cqto
idivq %rcx
movq %rax, -24(%rbp)
jmp LBB4_7
LBB4_19:
jmp LBB4_20
LBB4_20:
cmpq $0, -32(%rbp)
je LBB4_22
## %bb.21:
movq -32(%rbp), %rdi
callq _free
movq $0, -32(%rbp)
LBB4_22:
jmp LBB4_23
LBB4_23:
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
LBB4_24:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bn_print
_bn_print: ## @bn_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 $64, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
jne LBB5_2
## %bb.1:
jmp LBB5_32
LBB5_2:
movq -8(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq 8(%rcx), %rax
jbe LBB5_4
## %bb.3:
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB5_5
LBB5_4:
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB5_5:
movq -56(%rbp), %rax ## 8-byte Reload
movq -8(%rbp), %rcx
movq 8(%rcx), %rsi
xorl %ecx, %ecx
movl $1, %edx
cmpq $0, %rsi
cmovnel %edx, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
addq $1, %rdi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB5_7
## %bb.6:
jmp LBB5_32
LBB5_7:
movq -8(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq 8(%rcx), %rax
jae LBB5_15
## %bb.8:
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movb $46, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq -8(%rbp), %rcx
subq (%rcx), %rax
movq %rax, -48(%rbp)
LBB5_9: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -48(%rbp)
cmpq $0, %rax
jbe LBB5_11
## %bb.10: ## in Loop: Header=BB5_9 Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movb $48, (%rax)
jmp LBB5_9
LBB5_11:
jmp LBB5_12
LBB5_12: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
jbe LBB5_14
## %bb.13: ## in Loop: Header=BB5_12 Depth=1
movq -8(%rbp), %rax
movq -32(%rbp), %rcx
subq $1, %rcx
movzwl 18(%rax,%rcx,2), %eax
addl $48, %eax
movb %al, %cl
movq -40(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -40(%rbp)
movb %cl, (%rax)
movq -32(%rbp), %rax
addq $-1, %rax
movq %rax, -32(%rbp)
jmp LBB5_12
LBB5_14:
jmp LBB5_21
LBB5_15:
jmp LBB5_16
LBB5_16: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
jbe LBB5_20
## %bb.17: ## in Loop: Header=BB5_16 Depth=1
movq -8(%rbp), %rax
movq -32(%rbp), %rcx
subq $1, %rcx
movzwl 18(%rax,%rcx,2), %eax
addl $48, %eax
movb %al, %cl
movq -40(%rbp), %rax
movq %rax, %rdx
addq $1, %rdx
movq %rdx, -40(%rbp)
movb %cl, (%rax)
movq -32(%rbp), %rax
addq $-1, %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq -8(%rbp), %rcx
cmpq 8(%rcx), %rax
jne LBB5_19
## %bb.18: ## in Loop: Header=BB5_16 Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $1, %rcx
movq %rcx, -40(%rbp)
movb $46, (%rax)
LBB5_19: ## in Loop: Header=BB5_16 Depth=1
jmp LBB5_16
LBB5_20:
jmp LBB5_21
LBB5_21:
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB5_28
## %bb.22:
jmp LBB5_23
LBB5_23: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movq %rax, %rcx
addq $-1, %rcx
movq %rcx, -40(%rbp)
movsbl -1(%rax), %eax
cmpl $48, %eax
jne LBB5_25
## %bb.24: ## in Loop: Header=BB5_23 Depth=1
jmp LBB5_23
LBB5_25:
movq -40(%rbp), %rax
movsbl (%rax), %eax
cmpl $46, %eax
jne LBB5_27
## %bb.26:
movq -40(%rbp), %rax
addq $-1, %rax
movq %rax, -40(%rbp)
LBB5_27:
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
LBB5_28:
movq -40(%rbp), %rax
movb $0, (%rax)
movq -8(%rbp), %rax
movb 16(%rax), %cl
leaq L_.str.5(%rip), %rsi
leaq L_.str.4(%rip), %rax
testb $1, %cl
cmovneq %rax, %rsi
movq -24(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.29:
cmpq $0, -24(%rbp)
je LBB5_31
## %bb.30:
movq -24(%rbp), %rdi
callq _free
movq $0, -24(%rbp)
LBB5_31:
jmp LBB5_32
LBB5_32:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function create_big_number
_create_big_number: ## @create_big_number
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
ja LBB6_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB6_5
LBB6_2:
movq -16(%rbp), %rdi
subq $1, %rdi
shlq $1, %rdi
addq $24, %rdi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB6_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB6_5
LBB6_4:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -24(%rbp), %rax
movb $0, 16(%rax)
movq -24(%rbp), %rdi
addq $18, %rdi
movq -16(%rbp), %rdx
shlq $1, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB6_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bn_copy
_bn_copy: ## @bn_copy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB7_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB7_5
LBB7_2:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _create_big_number
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB7_4
## %bb.3:
movq $0, -8(%rbp)
jmp LBB7_5
LBB7_4:
movq -16(%rbp), %rax
movb 16(%rax), %cl
movq -24(%rbp), %rax
andb $1, %cl
movb %cl, 16(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rdi
addq $18, %rdi
movq -16(%rbp), %rsi
addq $18, %rsi
movq -24(%rbp), %rax
movq (%rax), %rdx
shlq $1, %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB7_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bn_mul
_bn_mul: ## @bn_mul
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
cmpq $0, -16(%rbp)
je LBB8_2
## %bb.1:
cmpq $0, -24(%rbp)
jne LBB8_3
LBB8_2:
movq $0, -8(%rbp)
jmp LBB8_28
LBB8_3:
movq -16(%rbp), %rax
cmpq $0, (%rax)
je LBB8_5
## %bb.4:
movq -24(%rbp), %rax
cmpq $0, (%rax)
jne LBB8_6
LBB8_5:
movq $0, -8(%rbp)
jmp LBB8_28
LBB8_6:
movq -16(%rbp), %rdi
callq _bn_is_zero
testb $1, %al
jne LBB8_8
## %bb.7:
movq -24(%rbp), %rdi
callq _bn_is_zero
testb $1, %al
jne LBB8_8
jmp LBB8_9
LBB8_8:
xorl %eax, %eax
movl %eax, %esi
movq %rsi, %rdi
callq _create_big_number_from_long
movq %rax, -8(%rbp)
jmp LBB8_28
LBB8_9:
movq -16(%rbp), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
addq (%rcx), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
callq _create_big_number
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB8_11
## %bb.10:
movq $0, -8(%rbp)
jmp LBB8_28
LBB8_11:
movq $0, -48(%rbp)
LBB8_12: ## =>This Loop Header: Depth=1
## Child Loop BB8_14 Depth 2
movq -48(%rbp), %rax
movq -16(%rbp), %rcx
cmpq (%rcx), %rax
jae LBB8_20
## %bb.13: ## in Loop: Header=BB8_12 Depth=1
movq $0, -56(%rbp)
movq -16(%rbp), %rax
movq -48(%rbp), %rcx
movzwl 18(%rax,%rcx,2), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp)
movq -40(%rbp), %rax
addq $18, %rax
movq -48(%rbp), %rcx
shlq $1, %rcx
addq %rcx, %rax
movq %rax, -72(%rbp)
movq -24(%rbp), %rax
addq $18, %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rax
movq -24(%rbp), %rcx
movq (%rcx), %rcx
shlq $1, %rcx
addq %rcx, %rax
movq %rax, -88(%rbp)
LBB8_14: ## Parent Loop BB8_12 Depth=1
## => This Inner Loop Header: Depth=2
movq -80(%rbp), %rax
cmpq -88(%rbp), %rax
jae LBB8_16
## %bb.15: ## in Loop: Header=BB8_14 Depth=2
movq -72(%rbp), %rax
movzwl (%rax), %eax
## kill: def $rax killed $eax
movq -80(%rbp), %rcx
movq %rcx, %rdx
addq $2, %rdx
movq %rdx, -80(%rbp)
movzwl (%rcx), %ecx
## kill: def $rcx killed $ecx
imulq -64(%rbp), %rcx
addq %rcx, %rax
addq -56(%rbp), %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movl $10, %ecx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movw %dx, %cx
movq -72(%rbp), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, -72(%rbp)
movw %cx, (%rax)
movq -56(%rbp), %rax
movl $10, %ecx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movq %rax, -56(%rbp)
jmp LBB8_14
LBB8_16: ## in Loop: Header=BB8_12 Depth=1
cmpq $0, -56(%rbp)
je LBB8_18
## %bb.17: ## in Loop: Header=BB8_12 Depth=1
movq -56(%rbp), %rax
## kill: def $ax killed $ax killed $rax
movzwl %ax, %edx
movq -72(%rbp), %rax
movzwl (%rax), %ecx
addl %edx, %ecx
## kill: def $cx killed $cx killed $ecx
movw %cx, (%rax)
LBB8_18: ## in Loop: Header=BB8_12 Depth=1
jmp LBB8_19
LBB8_19: ## in Loop: Header=BB8_12 Depth=1
movq -48(%rbp), %rax
addq $1, %rax
movq %rax, -48(%rbp)
jmp LBB8_12
LBB8_20:
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
LBB8_21: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -48(%rbp)
movb %al, -89(%rbp) ## 1-byte Spill
jbe LBB8_23
## %bb.22: ## in Loop: Header=BB8_21 Depth=1
movq -40(%rbp), %rax
movq -48(%rbp), %rcx
subq $1, %rcx
movzwl 18(%rax,%rcx,2), %eax
cmpl $0, %eax
sete %al
movb %al, -89(%rbp) ## 1-byte Spill
LBB8_23: ## in Loop: Header=BB8_21 Depth=1
movb -89(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB8_24
jmp LBB8_25
LBB8_24: ## in Loop: Header=BB8_21 Depth=1
movq -48(%rbp), %rax
addq $-1, %rax
movq %rax, -48(%rbp)
jmp LBB8_21
LBB8_25:
movq -48(%rbp), %rax
cmpq -32(%rbp), %rax
je LBB8_27
## %bb.26:
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
LBB8_27:
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
addq 8(%rax), %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movq -40(%rbp), %rax
movq %rax, -8(%rbp)
LBB8_28:
movq -8(%rbp), %rax
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bn_is_zero
_bn_is_zero: ## @bn_is_zero
.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)
cmpq $0, -16(%rbp)
jne LBB9_2
## %bb.1:
movb $0, -1(%rbp)
jmp LBB9_5
LBB9_2:
movq -16(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $1, (%rcx)
movb %al, -17(%rbp) ## 1-byte Spill
jne LBB9_4
## %bb.3:
movq -16(%rbp), %rax
movzwl 18(%rax), %eax
cmpl $0, %eax
sete %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB9_4:
movb -17(%rbp), %al ## 1-byte Reload
andb $1, %al
movb %al, -1(%rbp)
LBB9_5:
movb -1(%rbp), %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s %d"
L___func__.create_big_number_from_long: ## @__func__.create_big_number_from_long
.asciz "create_big_number_from_long"
L_.str.1: ## @.str.1
.asciz "89174.c"
L_.str.2: ## @.str.2
.asciz "p < (bn->digits + size)"
L_.str.3: ## @.str.3
.asciz "%s%s\n"
L_.str.4: ## @.str.4
.asciz "-"
L_.str.5: ## @.str.5
.space 1
.subsections_via_symbols
| the_stack_data/89174.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-12]
stur w0, [x29, #-16]
stur x1, [x29, #-24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
sub sp, sp, #16
mov x9, sp
sub x8, x29, #28
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
bl _getchar
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, #-80] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-80] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-72] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-48]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x0, [x29, #-72] ; 8-byte Folded Reload
ldur w1, [x29, #-28]
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
bl _fgets
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x8, [x29, #-72] ; 8-byte Folded Reload
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x0, [x29, #-72] ; 8-byte Folded Reload
add sp, sp, #16
ldur w1, [x29, #-28]
bl _calc_string
stur x0, [x29, #-56]
ldur x8, [x29, #-56]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add sp, sp, #16
ldur x8, [x29, #-56]
ldr w9, [x8, #4]
; 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
add sp, sp, #16
ldur x8, [x29, #-56]
ldr w9, [x8, #8]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #16
ldur x8, [x29, #-56]
ldr w8, [x8, #12]
subs w10, w8, #1
sub sp, sp, #16
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add sp, sp, #16
stur wzr, [x29, #-12]
ldur x8, [x29, #-40]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-60] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldur w0, [x29, #-60] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _calc_string ; -- Begin function calc_string
.p2align 2
_calc_string: ; @calc_string
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str x0, [sp, #32]
str w1, [sp, #28]
str wzr, [sp, #16]
str wzr, [sp, #12]
str wzr, [sp, #8]
adrp x8, l___const.calc_string.numbers@PAGE
add x8, x8, l___const.calc_string.numbers@PAGEOFF
ldr x9, [x8]
stur x9, [x29, #-24]
ldrh w8, [x8, #8]
sturh w8, [x29, #-16]
str wzr, [sp, #24]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
subs w8, w8, #32
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_1
LBB1_6:
str wzr, [sp, #24]
b LBB1_7
LBB1_7: ; =>This Loop Header: Depth=1
; Child Loop BB1_9 Depth 2
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
str wzr, [sp, #20]
b LBB1_9
LBB1_9: ; Parent Loop BB1_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #20]
subs w8, w8, #10
cset w8, ge
tbnz w8, #0, LBB1_14
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=2
ldrsw x9, [sp, #20]
sub x8, x29, #24
ldrsb w8, [x8, x9]
ldr x9, [sp, #32]
ldrsw x10, [sp, #24]
ldrsb w9, [x9, x10]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_9 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_9 Depth=2
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_9 Depth=2
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_9
LBB1_14: ; in Loop: Header=BB1_7 Depth=1
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_7 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_7
LBB1_16:
str wzr, [sp, #24]
b LBB1_17
LBB1_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_23
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_17 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB1_21
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_17 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB1_21
b LBB1_20
LBB1_20: ; in Loop: Header=BB1_17 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_17 Depth=1
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_17 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB1_17
LBB1_23:
ldr w8, [sp, #16]
str w8, [sp, #40]
ldr w8, [sp, #12]
str w8, [sp, #44]
ldr w8, [sp, #8]
str w8, [sp, #48]
ldr w8, [sp, #28]
ldr w9, [sp, #12]
ldr w10, [sp, #8]
add w9, w9, w10
ldr w10, [sp, #16]
add w9, w9, w10
subs w8, w8, w9
str w8, [sp, #52]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24:
bl ___stack_chk_fail
LBB1_25:
add x0, sp, #40
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "please input your string array length:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "please input a string:"
l_.str.3: ; @.str.3
.asciz "******************************************\n"
l_.str.4: ; @.str.4
.asciz "this is your input string:%s\n"
l_.str.5: ; @.str.5
.asciz "the number of the blank space is :%d\n"
l_.str.6: ; @.str.6
.asciz "the number of the numbers is :%d\n"
l_.str.7: ; @.str.7
.asciz "the number of the letter is :%d\n"
l_.str.8: ; @.str.8
.asciz "the number of the other Symbol is\357\274\232%d\n"
.section __TEXT,__const
l___const.calc_string.numbers: ; @__const.calc_string.numbers
.ascii "0123456789"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -12(%rbp)
movl %edi, -16(%rbp)
movq %rsi, -24(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -81(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -81(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
leaq -28(%rbp), %rsi
callq _scanf
callq _getchar
movl -28(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -80(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq -72(%rbp), %rdi ## 8-byte Reload
movl -28(%rbp), %esi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
callq _fgets
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq -72(%rbp), %rsi ## 8-byte Reload
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq -72(%rbp), %rdi ## 8-byte Reload
movl -28(%rbp), %esi
callq _calc_string
movq %rax, -56(%rbp)
movq -56(%rbp), %rax
movl (%rax), %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rax
movl 4(%rax), %esi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rax
movl 8(%rax), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rax
movl 12(%rax), %esi
subl $1, %esi
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -12(%rbp)
movq -40(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
movl -60(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _calc_string ## -- Begin function calc_string
.p2align 4, 0x90
_calc_string: ## @calc_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -56(%rbp)
movl %esi, -60(%rbp)
movl $0, -72(%rbp)
movl $0, -76(%rbp)
movl $0, -80(%rbp)
movq l___const.calc_string.numbers(%rip), %rax
movq %rax, -18(%rbp)
movw l___const.calc_string.numbers+8(%rip), %ax
movw %ax, -10(%rbp)
movl $0, -64(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rax
movslq -64(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $32, %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -72(%rbp), %eax
addl $1, %eax
movl %eax, -72(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_1
LBB1_6:
movl $0, -64(%rbp)
LBB1_7: ## =>This Loop Header: Depth=1
## Child Loop BB1_9 Depth 2
movl -64(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB1_16
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
movl $0, -68(%rbp)
LBB1_9: ## Parent Loop BB1_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $10, -68(%rbp)
jge LBB1_14
## %bb.10: ## in Loop: Header=BB1_9 Depth=2
movslq -68(%rbp), %rax
movsbl -18(%rbp,%rax), %eax
movq -56(%rbp), %rcx
movslq -64(%rbp), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne LBB1_12
## %bb.11: ## in Loop: Header=BB1_9 Depth=2
movl -76(%rbp), %eax
addl $1, %eax
movl %eax, -76(%rbp)
LBB1_12: ## in Loop: Header=BB1_9 Depth=2
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_9 Depth=2
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB1_9
LBB1_14: ## in Loop: Header=BB1_7 Depth=1
jmp LBB1_15
LBB1_15: ## in Loop: Header=BB1_7 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_7
LBB1_16:
movl $0, -64(%rbp)
LBB1_17: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %eax
cmpl -60(%rbp), %eax
jge LBB1_23
## %bb.18: ## in Loop: Header=BB1_17 Depth=1
movq -56(%rbp), %rax
movslq -64(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB1_21
## %bb.19: ## in Loop: Header=BB1_17 Depth=1
movq -56(%rbp), %rax
movslq -64(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB1_21
## %bb.20: ## in Loop: Header=BB1_17 Depth=1
movl -80(%rbp), %eax
addl $1, %eax
movl %eax, -80(%rbp)
LBB1_21: ## in Loop: Header=BB1_17 Depth=1
jmp LBB1_22
LBB1_22: ## in Loop: Header=BB1_17 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB1_17
LBB1_23:
movl -72(%rbp), %eax
movl %eax, -48(%rbp)
movl -76(%rbp), %eax
movl %eax, -44(%rbp)
movl -80(%rbp), %eax
movl %eax, -40(%rbp)
movl -60(%rbp), %eax
movl -76(%rbp), %ecx
addl -80(%rbp), %ecx
addl -72(%rbp), %ecx
subl %ecx, %eax
movl %eax, -36(%rbp)
leaq -48(%rbp), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_25
## %bb.24:
movq -88(%rbp), %rax ## 8-byte Reload
addq $96, %rsp
popq %rbp
retq
LBB1_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "please input your string array length:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "please input a string:"
L_.str.3: ## @.str.3
.asciz "******************************************\n"
L_.str.4: ## @.str.4
.asciz "this is your input string:%s\n"
L_.str.5: ## @.str.5
.asciz "the number of the blank space is :%d\n"
L_.str.6: ## @.str.6
.asciz "the number of the numbers is :%d\n"
L_.str.7: ## @.str.7
.asciz "the number of the letter is :%d\n"
L_.str.8: ## @.str.8
.asciz "the number of the other Symbol is\357\274\232%d\n"
.section __TEXT,__const
l___const.calc_string.numbers: ## @__const.calc_string.numbers
.ascii "0123456789"
.subsections_via_symbols
| the_stack_data/97013189.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
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w0, [x29, #-8]
bl _has_2
ldur w8, [x29, #-12]
add w8, w8, w0
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _has_2 ; -- Begin function has_2
.p2align 2
_has_2: ; @has_2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
mov w10, #10
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
mov w9, #10
sdiv w8, w8, w9
str w8, [sp, #12]
b LBB1_1
LBB1_5:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $0, -12(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %edi
callq _has_2
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _has_2 ## -- Begin function has_2
.p2align 4, 0x90
_has_2: ## @has_2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -4(%rbp)
je LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
cmpl $2, %edx
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -4(%rbp), %eax
movl $10, %ecx
cltd
idivl %ecx
movl %eax, -4(%rbp)
jmp LBB1_1
LBB1_5:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/86454.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_00 ; -- Begin function test_00
.p2align 2
_test_00: ; @test_00
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
ldur w8, [x29, #-4]
add w1, w8, #8
bl _min
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function min
_min: ; @min
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w8, [sp, #12]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_3
LBB1_2:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_3
LBB1_3:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _test_01 ; -- Begin function test_01
.p2align 2
_test_01: ; @test_01
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w1, w8, #8
bl _min
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 _test_00 ## -- Begin function test_00
.p2align 4, 0x90
_test_00: ## @test_00
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
movl -4(%rbp), %esi
addl $8, %esi
callq _min
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function min
_min: ## @min
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB1_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB1_3
LBB1_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
LBB1_3:
movl -12(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test_01 ## -- Begin function test_01
.p2align 4, 0x90
_test_01: ## @test_01
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %edi
movl -4(%rbp), %esi
subl $8, %esi
callq _min
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/26701189.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
str wzr, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #8]
mov w9, #65530
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #4]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #4]
mov w9, #30000
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_1
LBB0_8:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please wait till your notes are analysed\n"
l_.str.1: ; @.str.1
.asciz "pakalu papito\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
movl $0, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $65530, -8(%rbp) ## imm = 0xFFFA
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $30000, -12(%rbp) ## imm = 0x7530
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_8:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please wait till your notes are analysed\n"
L_.str.1: ## @.str.1
.asciz "pakalu papito\n"
.subsections_via_symbols
| the_stack_data/138753.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isdir ; -- Begin function ft_isdir
.p2align 2
_ft_isdir: ; @ft_isdir
.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
stur x0, [x29, #-16]
ldur x0, [x29, #-16]
mov x1, sp
bl _lstat
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
ldrh w8, [sp, #4]
and w8, w8, #0xf000
subs w8, w8, #4, lsl #12 ; =16384
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #1
stur w8, [x29, #-4]
b LBB0_4
LBB0_3:
stur wzr, [x29, #-4]
b LBB0_4
LBB0_4:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isdir ## -- Begin function ft_isdir
.p2align 4, 0x90
_ft_isdir: ## @ft_isdir
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
leaq -160(%rbp), %rsi
callq _lstat$INODE64
cmpl $0, %eax
jne LBB0_3
## %bb.1:
movzwl -156(%rbp), %eax
andl $61440, %eax ## imm = 0xF000
cmpl $16384, %eax ## imm = 0x4000
jne LBB0_3
## %bb.2:
movl $1, -4(%rbp)
jmp LBB0_4
LBB0_3:
movl $0, -4(%rbp)
LBB0_4:
movl -4(%rbp), %eax
addq $160, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/140765611.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _flippingMatrix ; -- Begin function flippingMatrix
.p2align 2
_flippingMatrix: ; @flippingMatrix
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
ldursw x8, [x29, #-4]
lsl x0, x8, #3
bl _malloc
stur x0, [x29, #-24]
stur wzr, [x29, #-28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursw x0, [x29, #-8]
mov x1, #4
bl _calloc
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
str x0, [x8, x9, lsl #3]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_1
LBB0_4:
str wzr, [sp, #32]
ldur w8, [x29, #-4]
subs w8, w8, #1
str w8, [sp, #28]
ldur w8, [x29, #-4]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #24]
str wzr, [sp, #20]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #16]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr w8, [sp, #28]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #28]
ldr w9, [sp, #16]
subs w8, w8, w9
str w8, [sp, #4]
ldur x8, [x29, #-16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_11
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldur x8, [x29, #-24]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldur x8, [x29, #-24]
ldrsw x9, [sp, #20]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #4]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-24]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_7 Depth=2
ldur x8, [x29, #-16]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldur x8, [x29, #-24]
ldrsw x9, [sp, #8]
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #16]
add x9, x8, x9, lsl #2
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_7 Depth=2
ldr w9, [sp, #12]
ldr w8, [sp, #32]
add w8, w8, w9
str w8, [sp, #32]
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_7
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_21:
ldr w0, [sp, #32]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _getenv
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
stur x0, [x29, #-16]
bl _readline
bl _rtrim
bl _ltrim
bl _parse_int
stur w0, [x29, #-20]
stur wzr, [x29, #-24]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
; Child Loop BB1_5 Depth 3
ldur w8, [x29, #-24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
bl _readline
bl _rtrim
bl _ltrim
bl _parse_int
stur w0, [x29, #-28]
ldur w9, [x29, #-28]
mov w8, #2
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x0, x8, #3
bl _malloc
str x0, [sp, #40]
str wzr, [sp, #36]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_5 Depth 3
ldr w8, [sp, #36]
ldur w10, [x29, #-28]
mov w9, #2
mul w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur w9, [x29, #-28]
mov w8, #2
mul w9, w8, w9
; implicit-def: $x8
mov x8, x9
sxtw x8, w8
lsl x0, x8, #2
bl _malloc
ldr x8, [sp, #40]
ldrsw x9, [sp, #36]
str x0, [x8, x9, lsl #3]
bl _readline
bl _rtrim
bl _split_string
str x0, [sp, #24]
str wzr, [sp, #20]
b LBB1_5
LBB1_5: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #20]
ldur w10, [x29, #-28]
mov w9, #2
mul w9, w9, w10
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=3
ldr x8, [sp, #24]
ldrsw x9, [sp, #20]
ldr x0, [x8, x9, lsl #3]
bl _parse_int
str w0, [sp, #16]
ldr w8, [sp, #16]
ldr x9, [sp, #40]
ldrsw x10, [sp, #36]
ldr x9, [x9, x10, lsl #3]
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=3
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_5
LBB1_8: ; in Loop: Header=BB1_3 Depth=2
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
b LBB1_3
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldur w9, [x29, #-28]
mov w8, #2
mul w0, w8, w9
ldur w9, [x29, #-28]
mul w1, w8, w9
ldr x2, [sp, #40]
bl _flippingMatrix
str w0, [sp, #12]
ldur x0, [x29, #-16]
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
b LBB1_1
LBB1_12:
ldur x0, [x29, #-16]
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _parse_int ; -- Begin function parse_int
.p2align 2
_parse_int: ; @parse_int
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
add x1, sp, #16
mov w2, #10
bl _strtol
mov x8, x0
str w8, [sp, #12]
ldr x8, [sp, #16]
ldur x9, [x29, #-8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2:
mov w0, #1
bl _exit
LBB2_3:
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _ltrim ; -- Begin function ltrim
.p2align 2
_ltrim: ; @ltrim
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB3_10
LBB3_2:
ldr x8, [sp, #16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB3_10
LBB3_4:
b LBB3_5
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
ldrsb w8, [x8]
subs w8, w8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_7
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [sp, #16]
ldrsb w0, [x8]
bl _isspace
subs w8, w0, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_5 Depth=1
ldr x8, [sp, #16]
add x8, x8, #1
str x8, [sp, #16]
b LBB3_5
LBB3_9:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB3_10
LBB3_10:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _rtrim ; -- Begin function rtrim
.p2align 2
_rtrim: ; @rtrim
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB4_10
LBB4_2:
ldur x8, [x29, #-16]
ldrb w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_4
b LBB4_3
LBB4_3:
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB4_10
LBB4_4:
ldur x8, [x29, #-16]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x0, [x29, #-16]
bl _strlen
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x8, x8, x0
subs x8, x8, #1
str x8, [sp, #24]
b LBB4_5
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x8, x8, x9
cset w8, lo
mov w9, #0
str w9, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #0, LBB4_7
b LBB4_6
LBB4_6: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #24]
ldrsb w0, [x8]
bl _isspace
subs w8, w0, #0
cset w8, ne
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_5 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbz w8, #0, LBB4_9
b LBB4_8
LBB4_8: ; in Loop: Header=BB4_5 Depth=1
ldr x8, [sp, #24]
subs x8, x8, #1
str x8, [sp, #24]
b LBB4_5
LBB4_9:
ldr x8, [sp, #24]
strb wzr, [x8, #1]
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB4_10
LBB4_10:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _split_string ; -- Begin function split_string
.p2align 2
_split_string: ; @split_string
.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]
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
ldur x0, [x29, #-16]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
str x0, [sp, #16]
str wzr, [sp, #12]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x0, [sp, #24]
ldr w8, [sp, #12]
add w9, w8, #1
str w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #8
mul x1, x8, x9
bl _realloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_4
b LBB5_3
LBB5_3:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB5_6
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #24]
ldr w10, [sp, #12]
subs w10, w10, #1
str x8, [x9, w10, sxtw #3]
mov x0, #0
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
str x0, [sp, #16]
b LBB5_1
LBB5_5:
ldr x8, [sp, #24]
stur x8, [x29, #-8]
b LBB5_6
LBB5_6:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _readline ; -- Begin function readline
.p2align 2
_readline: ; @readline
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #1024
stur x8, [x29, #-8]
stur xzr, [x29, #-16]
ldur x0, [x29, #-8]
bl _malloc
str x0, [sp, #24]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
add x8, x8, x9
str x8, [sp, #16]
ldr x0, [sp, #16]
ldur x8, [x29, #-8]
ldur x9, [x29, #-16]
subs x8, x8, x9
mov x1, x8
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
bl _fgets
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_3
b LBB6_2
LBB6_2:
b LBB6_9
LBB6_3: ; in Loop: Header=BB6_1 Depth=1
ldr x0, [sp, #16]
bl _strlen
ldur x8, [x29, #-16]
add x8, x8, x0
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
ldur x9, [x29, #-8]
subs x9, x9, #1
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
b LBB6_9
LBB6_6: ; in Loop: Header=BB6_1 Depth=1
ldur x8, [x29, #-8]
lsl x8, x8, #1
stur x8, [x29, #-8]
ldr x0, [sp, #24]
ldur x1, [x29, #-8]
bl _realloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_8
b LBB6_7
LBB6_7:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB6_9
LBB6_8: ; in Loop: Header=BB6_1 Depth=1
b LBB6_1
LBB6_9:
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x9, x9, #1
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB6_13
b LBB6_10
LBB6_10:
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
subs x9, x9, #1
add x8, x8, x9
strb wzr, [x8]
ldr x0, [sp, #24]
ldur x1, [x29, #-16]
bl _realloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_12
b LBB6_11
LBB6_11:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB6_12
LBB6_12:
b LBB6_17
LBB6_13:
ldr x0, [sp, #24]
ldur x8, [x29, #-16]
add x1, x8, #1
bl _realloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_15
b LBB6_14
LBB6_14:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB6_16
LBB6_15:
ldr x8, [sp, #24]
ldur x9, [x29, #-16]
add x8, x8, x9
strb wzr, [x8]
b LBB6_16
LBB6_16:
b LBB6_17
LBB6_17:
ldr x0, [sp, #24]
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 "OUTPUT_PATH"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "%d\n"
l_.str.3: ; @.str.3
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _flippingMatrix ## -- Begin function flippingMatrix
.p2align 4, 0x90
_flippingMatrix: ## @flippingMatrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movslq -4(%rbp), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -8(%rbp), %rdi
movl $4, %esi
callq _calloc
movq %rax, %rdx
movq -24(%rbp), %rax
movslq -28(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -32(%rbp)
movl -4(%rbp), %eax
subl $1, %eax
movl %eax, -36(%rbp)
movl -4(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -40(%rbp)
movl $0, -44(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movl -44(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB0_21
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $0, -48(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -40(%rbp), %eax
jge LBB0_19
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -52(%rbp)
movl -36(%rbp), %eax
subl -44(%rbp), %eax
movl %eax, -56(%rbp)
movl -36(%rbp), %eax
subl -48(%rbp), %eax
movl %eax, -60(%rbp)
movq -16(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -52(%rbp), %eax
jle LBB0_11
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_7 Depth=2
movq -16(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -52(%rbp)
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -52(%rbp), %eax
jle LBB0_14
## %bb.12: ## in Loop: Header=BB0_7 Depth=2
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_7 Depth=2
movq -16(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -52(%rbp)
movq -24(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
LBB0_14: ## in Loop: Header=BB0_7 Depth=2
movq -16(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -52(%rbp), %eax
jle LBB0_17
## %bb.15: ## in Loop: Header=BB0_7 Depth=2
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
cmpl $0, (%rax,%rcx,4)
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_7 Depth=2
movq -16(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -52(%rbp)
movq -24(%rbp), %rax
movslq -56(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -48(%rbp), %rcx
movl (%rax,%rcx,4), %edx
addl $1, %edx
movl %edx, (%rax,%rcx,4)
LBB0_17: ## in Loop: Header=BB0_7 Depth=2
movl -52(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -32(%rbp)
## %bb.18: ## in Loop: Header=BB0_7 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_7
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_5
LBB0_21:
movl -32(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
callq _getenv
movq %rax, %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
callq _readline
movq %rax, %rdi
callq _rtrim
movq %rax, %rdi
callq _ltrim
movq %rax, %rdi
callq _parse_int
movl %eax, -20(%rbp)
movl $0, -24(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
## Child Loop BB1_5 Depth 3
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB1_12
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
callq _readline
movq %rax, %rdi
callq _rtrim
movq %rax, %rdi
callq _ltrim
movq %rax, %rdi
callq _parse_int
movl %eax, -28(%rbp)
movl -28(%rbp), %eax
shll $1, %eax
movslq %eax, %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_5 Depth 3
movl -44(%rbp), %eax
movl -28(%rbp), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jge LBB1_10
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movl -28(%rbp), %eax
shll $1, %eax
movslq %eax, %rdi
shlq $2, %rdi
callq _malloc
movq %rax, %rdx
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
callq _readline
movq %rax, %rdi
callq _rtrim
movq %rax, %rdi
callq _split_string
movq %rax, -56(%rbp)
movl $0, -60(%rbp)
LBB1_5: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_3 Depth=2
## => This Inner Loop Header: Depth=3
movl -60(%rbp), %eax
movl -28(%rbp), %ecx
shll $1, %ecx
cmpl %ecx, %eax
jge LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=3
movq -56(%rbp), %rax
movslq -60(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _parse_int
movl %eax, -64(%rbp)
movl -64(%rbp), %edx
movq -40(%rbp), %rax
movslq -44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -60(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB1_5 Depth=3
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB1_5
LBB1_8: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_9
LBB1_9: ## in Loop: Header=BB1_3 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_3
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %edi
shll $1, %edi
movl -28(%rbp), %esi
shll $1, %esi
movq -40(%rbp), %rdx
callq _flippingMatrix
movl %eax, -68(%rbp)
movq -16(%rbp), %rdi
movl -68(%rbp), %edx
leaq L_.str.2(%rip), %rsi
movb $0, %al
callq _fprintf
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB1_1
LBB1_12:
movq -16(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse_int ## -- Begin function parse_int
.p2align 4, 0x90
_parse_int: ## @parse_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
leaq -16(%rbp), %rsi
movl $10, %edx
callq _strtol
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
cmpq -8(%rbp), %rax
je LBB2_2
## %bb.1:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $0, %eax
je LBB2_3
LBB2_2:
movl $1, %edi
callq _exit
LBB2_3:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ltrim ## -- Begin function ltrim
.p2align 4, 0x90
_ltrim: ## @ltrim
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB3_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB3_10
LBB3_2:
movq -16(%rbp), %rax
cmpb $0, (%rax)
jne LBB3_4
## %bb.3:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB3_10
LBB3_4:
jmp LBB3_5
LBB3_5: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -17(%rbp) ## 1-byte Spill
je LBB3_7
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movq -16(%rbp), %rax
movsbl (%rax), %edi
callq _isspace
cmpl $0, %eax
setne %al
movb %al, -17(%rbp) ## 1-byte Spill
LBB3_7: ## in Loop: Header=BB3_5 Depth=1
movb -17(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_8
jmp LBB3_9
LBB3_8: ## in Loop: Header=BB3_5 Depth=1
movq -16(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
jmp LBB3_5
LBB3_9:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB3_10:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rtrim ## -- Begin function rtrim
.p2align 4, 0x90
_rtrim: ## @rtrim
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB4_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB4_10
LBB4_2:
movq -16(%rbp), %rax
cmpb $0, (%rax)
jne LBB4_4
## %bb.3:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB4_10
LBB4_4:
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -16(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -32(%rbp), %rax ## 8-byte Reload
addq %rcx, %rax
addq $-1, %rax
movq %rax, -24(%rbp)
LBB4_5: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -16(%rbp), %rcx
movb %al, -33(%rbp) ## 1-byte Spill
jb LBB4_7
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
movq -24(%rbp), %rax
movsbl (%rax), %edi
callq _isspace
cmpl $0, %eax
setne %al
movb %al, -33(%rbp) ## 1-byte Spill
LBB4_7: ## in Loop: Header=BB4_5 Depth=1
movb -33(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB4_8
jmp LBB4_9
LBB4_8: ## in Loop: Header=BB4_5 Depth=1
movq -24(%rbp), %rax
addq $-1, %rax
movq %rax, -24(%rbp)
jmp LBB4_5
LBB4_9:
movq -24(%rbp), %rax
movb $0, 1(%rax)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB4_10:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _split_string ## -- Begin function split_string
.p2align 4, 0x90
_split_string: ## @split_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq $0, -24(%rbp)
movq -16(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -32(%rbp)
je LBB5_5
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -24(%rbp), %rdi
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
movslq %eax, %rsi
shlq $3, %rsi
callq _realloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB5_4
## %bb.3:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB5_6
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movq -32(%rbp), %rdx
movq -24(%rbp), %rax
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -32(%rbp)
jmp LBB5_1
LBB5_5:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB5_6:
movq -8(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _readline ## -- Begin function readline
.p2align 4, 0x90
_readline: ## @readline
.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 $1024, -8(%rbp) ## imm = 0x400
movq $0, -16(%rbp)
movq -8(%rbp), %rdi
callq _malloc
movq %rax, -24(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
addq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rdi
movq -8(%rbp), %rax
subq -16(%rbp), %rax
movl %eax, %esi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
callq _fgets
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB6_3
## %bb.2:
jmp LBB6_9
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
movq -32(%rbp), %rdi
callq _strlen
addq -16(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
jb LBB6_5
## %bb.4: ## in Loop: Header=BB6_1 Depth=1
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB6_6
LBB6_5:
jmp LBB6_9
LBB6_6: ## in Loop: Header=BB6_1 Depth=1
movq -8(%rbp), %rax
shlq $1, %rax
movq %rax, -8(%rbp)
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
callq _realloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB6_8
## %bb.7:
movq $0, -24(%rbp)
jmp LBB6_9
LBB6_8: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_1
LBB6_9:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
subq $1, %rcx
movsbl (%rax,%rcx), %eax
cmpl $10, %eax
jne LBB6_13
## %bb.10:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
subq $1, %rcx
movb $0, (%rax,%rcx)
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
callq _realloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB6_12
## %bb.11:
movq $0, -24(%rbp)
LBB6_12:
jmp LBB6_17
LBB6_13:
movq -24(%rbp), %rdi
movq -16(%rbp), %rsi
addq $1, %rsi
callq _realloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB6_15
## %bb.14:
movq $0, -24(%rbp)
jmp LBB6_16
LBB6_15:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
movb $0, (%rax,%rcx)
LBB6_16:
jmp LBB6_17
LBB6_17:
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "OUTPUT_PATH"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "%d\n"
L_.str.3: ## @.str.3
.asciz " "
.subsections_via_symbols
| the_stack_data/128819.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]
sub x9, x29, #6
add x8, x9, #1
str x8, [sp]
ldr x8, [sp]
add x9, x9, #1
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #23
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "173436.c"
l_.str.1: ; @.str.1
.asciz "p == (char *)&s + 1"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq -8(%rbp), %rax
addq $1, %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
leaq -8(%rbp), %rcx
addq $1, %rcx
cmpq %rcx, %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $23, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "173436.c"
L_.str.1: ## @.str.1
.asciz "p == (char *)&s + 1"
.subsections_via_symbols
| the_stack_data/173436.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8_178 ; -- Begin function mul8_178
.p2align 2
_mul8_178: ; @mul8_178
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
add x8, sp, #172
strb w0, [sp, #175]
strb w1, [sp, #174]
strh wzr, [x8]
ldrb w9, [sp, #175]
asr w9, w9, #0
and w9, w9, #0x1
strb w9, [sp, #171]
ldrb w9, [sp, #175]
asr w9, w9, #1
and w9, w9, #0x1
strb w9, [sp, #170]
ldrb w9, [sp, #175]
asr w9, w9, #2
and w9, w9, #0x1
strb w9, [sp, #169]
ldrb w9, [sp, #175]
asr w9, w9, #3
and w9, w9, #0x1
strb w9, [sp, #168]
ldrb w9, [sp, #175]
asr w9, w9, #4
and w9, w9, #0x1
strb w9, [sp, #167]
ldrb w9, [sp, #175]
asr w9, w9, #5
and w9, w9, #0x1
strb w9, [sp, #166]
ldrb w9, [sp, #175]
asr w9, w9, #6
and w9, w9, #0x1
strb w9, [sp, #165]
ldrb w9, [sp, #175]
asr w9, w9, #7
and w9, w9, #0x1
strb w9, [sp, #164]
ldrb w9, [sp, #174]
asr w9, w9, #0
and w9, w9, #0x1
strb w9, [sp, #163]
ldrb w9, [sp, #174]
asr w9, w9, #1
and w9, w9, #0x1
strb w9, [sp, #162]
ldrb w9, [sp, #174]
asr w9, w9, #2
and w9, w9, #0x1
strb w9, [sp, #161]
ldrb w9, [sp, #174]
asr w9, w9, #3
and w9, w9, #0x1
strb w9, [sp, #160]
ldrb w9, [sp, #174]
asr w9, w9, #4
and w9, w9, #0x1
strb w9, [sp, #159]
ldrb w9, [sp, #174]
asr w9, w9, #5
and w9, w9, #0x1
strb w9, [sp, #158]
ldrb w9, [sp, #174]
asr w9, w9, #6
and w9, w9, #0x1
strb w9, [sp, #157]
ldrb w9, [sp, #174]
asr w9, w9, #7
and w9, w9, #0x1
strb w9, [sp, #156]
ldrb w9, [sp, #162]
ldrb w10, [sp, #165]
and w9, w9, w10
strb w9, [sp, #155]
ldrb w9, [sp, #164]
ldrb w10, [sp, #163]
and w9, w9, w10
ldrb w10, [sp, #163]
ldrb w11, [sp, #158]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #164]
ldrb w11, [sp, #158]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #154]
ldrb w9, [sp, #162]
ldrb w10, [sp, #169]
and w9, w9, w10
strb w9, [sp, #153]
ldrb w9, [sp, #160]
ldrb w10, [sp, #171]
and w9, w9, w10
strb w9, [sp, #152]
ldrb w9, [sp, #165]
ldrb w10, [sp, #165]
eon w9, w9, w10
strb w9, [sp, #151]
ldrb w9, [sp, #165]
ldrb w10, [sp, #165]
eon w9, w9, w10
strb w9, [sp, #150]
ldrb w9, [sp, #168]
ldrb w10, [sp, #157]
and w9, w9, w10
mvn w9, w9
strb w9, [sp, #149]
ldrb w9, [sp, #158]
ldrb w10, [sp, #167]
and w9, w9, w10
strb w9, [sp, #148]
ldrb w9, [sp, #162]
ldrb w10, [sp, #164]
and w9, w9, w10
ldrb w10, [sp, #155]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #147]
ldrb w9, [sp, #150]
ldrb w10, [sp, #171]
and w9, w9, w10
ldrb w10, [sp, #171]
ldrb w11, [sp, #170]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #150]
ldrb w11, [sp, #170]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #146]
ldrb w9, [sp, #165]
ldrb w10, [sp, #146]
orr w9, w9, w10
ldrb w10, [sp, #156]
and w9, w9, w10
mvn w9, w9
strb w9, [sp, #145]
ldrb w9, [sp, #150]
ldrb w10, [sp, #171]
orr w9, w9, w10
strb w9, [sp, #144]
ldrb w9, [sp, #171]
ldrb w10, [sp, #144]
and w9, w9, w10
ldrb w11, [sp, #171]
ldrb w10, [sp, #170]
bic w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #143]
ldrb w9, [sp, #165]
ldrb w10, [sp, #157]
and w9, w9, w10
ldrb w10, [sp, #164]
and w9, w9, w10
mvn w9, w9
strb w9, [sp, #142]
ldrb w9, [sp, #150]
strb w9, [sp, #141]
ldrb w9, [sp, #141]
strb w9, [sp, #140]
ldrb w9, [sp, #141]
ldrb w10, [sp, #144]
orr w9, w9, w10
ldrb w10, [sp, #140]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #139]
ldrb w9, [sp, #141]
ldrb w10, [sp, #144]
orr w9, w9, w10
ldrb w10, [sp, #140]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #138]
ldrb w9, [sp, #138]
mvn w9, w9
strb w9, [sp, #137]
ldrb w9, [sp, #138]
mvn w9, w9
strb w9, [sp, #136]
ldrb w9, [sp, #141]
ldrb w10, [sp, #148]
orr w9, w9, w10
ldrb w10, [sp, #160]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #135]
ldrb w9, [sp, #143]
ldrb w10, [sp, #137]
and w9, w9, w10
mvn w9, w9
strb w9, [sp, #134]
ldrb w9, [sp, #168]
ldrb w10, [sp, #169]
orr w9, w9, w10
ldrb w10, [sp, #164]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #133]
ldrb w9, [sp, #152]
ldrb w10, [sp, #165]
and w9, w9, w10
ldrb w11, [sp, #152]
ldrb w10, [sp, #145]
bic w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #132]
ldrb w9, [sp, #156]
ldrb w10, [sp, #159]
orr w9, w9, w10
strb w9, [sp, #131]
ldrb w9, [sp, #156]
ldrb w10, [sp, #159]
orr w9, w9, w10
strb w9, [sp, #130]
ldrb w9, [sp, #130]
ldrb w10, [sp, #157]
orr w9, w9, w10
ldrb w10, [sp, #154]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #129]
ldrb w9, [sp, #143]
strb w9, [sp, #128]
ldrb w9, [sp, #132]
mvn w9, w9
strb w9, [sp, #127]
ldrb w9, [sp, #128]
ldrb w10, [sp, #131]
and w9, w9, w10
strb w9, [sp, #126]
ldrb w9, [sp, #136]
ldrb w10, [sp, #161]
and w9, w9, w10
strb w9, [sp, #125]
ldrb w9, [sp, #165]
ldrb w10, [sp, #125]
and w9, w9, w10
strb w9, [sp, #124]
ldrb w9, [sp, #165]
ldrb w10, [sp, #125]
and w9, w9, w10
strb w9, [sp, #123]
ldrb w9, [sp, #153]
ldrb w10, [sp, #124]
orr w9, w9, w10
strb w9, [sp, #122]
ldrb w9, [sp, #145]
ldrb w10, [sp, #133]
and w9, w9, w10
ldrb w10, [sp, #129]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #121]
ldrb w9, [sp, #140]
ldrb w10, [sp, #133]
and w9, w9, w10
mvn w9, w9
strb w9, [sp, #120]
ldrb w9, [sp, #138]
ldrb w10, [sp, #134]
orr w9, w9, w10
ldrb w10, [sp, #156]
and w9, w9, w10
mvn w9, w9
strb w9, [sp, #119]
ldrb w9, [sp, #126]
ldrb w10, [sp, #127]
orr w9, w9, w10
strb w9, [sp, #118]
ldrb w9, [sp, #118]
ldrb w10, [sp, #122]
orr w9, w9, w10
mvn w9, w9
strb w9, [sp, #117]
ldrb w9, [sp, #120]
ldrb w10, [sp, #151]
and w9, w9, w10
ldrb w11, [sp, #120]
ldrb w10, [sp, #170]
bic w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #116]
ldrb w9, [sp, #116]
ldrb w10, [sp, #157]
and w9, w9, w10
strb w9, [sp, #115]
ldrb w9, [sp, #142]
mvn w9, w9
strb w9, [sp, #114]
ldrb w9, [sp, #138]
strb w9, [sp, #113]
ldrb w9, [sp, #160]
ldrb w10, [sp, #161]
orr w9, w9, w10
strb w9, [sp, #112]
ldrb w9, [sp, #113]
ldrb w10, [sp, #149]
orr w9, w9, w10
strb w9, [sp, #111]
ldrb w9, [sp, #117]
mvn w9, w9
strb w9, [sp, #110]
ldrb w9, [sp, #168]
ldrb w10, [sp, #167]
orr w9, w9, w10
strb w9, [sp, #109]
ldrb w9, [sp, #158]
ldrb w10, [sp, #109]
and w9, w9, w10
strb w9, [sp, #108]
ldrb w9, [sp, #166]
ldrb w10, [sp, #112]
and w9, w9, w10
strb w9, [sp, #107]
ldrb w9, [sp, #165]
ldrb w10, [sp, #160]
and w9, w9, w10
strb w9, [sp, #106]
ldrb w9, [sp, #150]
strb w9, [sp, #105]
ldrb w9, [sp, #145]
mvn w9, w9
strb w9, [sp, #104]
ldrb w9, [sp, #147]
mvn w9, w9
strb w9, [sp, #103]
ldrb w9, [sp, #164]
ldrb w10, [sp, #160]
and w9, w9, w10
strb w9, [sp, #102]
ldrb w9, [sp, #111]
mvn w9, w9
strb w9, [sp, #101]
ldrb w9, [sp, #167]
ldrb w10, [sp, #159]
and w9, w9, w10
strb w9, [sp, #100]
ldrb w9, [sp, #166]
ldrb w10, [sp, #159]
and w9, w9, w10
strb w9, [sp, #99]
ldrb w9, [sp, #165]
ldrb w10, [sp, #159]
and w9, w9, w10
strb w9, [sp, #98]
ldrb w9, [sp, #164]
ldrb w10, [sp, #159]
and w9, w9, w10
strb w9, [sp, #97]
ldrb w9, [sp, #167]
ldrb w10, [sp, #112]
and w9, w9, w10
strb w9, [sp, #96]
ldrb w9, [sp, #166]
ldrb w10, [sp, #158]
and w9, w9, w10
strb w9, [sp, #95]
ldrb w9, [sp, #165]
ldrb w10, [sp, #158]
and w9, w9, w10
strb w9, [sp, #94]
ldrb w9, [sp, #164]
ldrb w10, [sp, #158]
and w9, w9, w10
strb w9, [sp, #93]
ldrb w9, [sp, #167]
ldrb w10, [sp, #157]
and w9, w9, w10
strb w9, [sp, #92]
ldrb w9, [sp, #166]
ldrb w10, [sp, #157]
and w9, w9, w10
strb w9, [sp, #91]
ldrb w9, [sp, #166]
ldrb w10, [sp, #157]
and w9, w9, w10
strb w9, [sp, #90]
ldrb w9, [sp, #165]
ldrb w10, [sp, #157]
and w9, w9, w10
strb w9, [sp, #89]
ldrb w9, [sp, #164]
ldrb w10, [sp, #157]
and w9, w9, w10
strb w9, [sp, #88]
ldrb w9, [sp, #98]
strb w9, [sp, #87]
ldrb w9, [sp, #169]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #86]
ldrb w9, [sp, #168]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #85]
ldrb w9, [sp, #167]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #84]
ldrb w9, [sp, #167]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #83]
ldrb w9, [sp, #166]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #82]
ldrb w9, [sp, #165]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #81]
ldrb w9, [sp, #164]
ldrb w10, [sp, #156]
and w9, w9, w10
strb w9, [sp, #80]
ldrb w9, [sp, #123]
strb w9, [sp, #79]
ldrb w9, [sp, #124]
strb w9, [sp, #78]
ldrb w9, [sp, #105]
ldrb w10, [sp, #96]
and w9, w9, w10
strb w9, [sp, #77]
ldrb w9, [sp, #102]
strb w9, [sp, #76]
ldrb w9, [sp, #121]
strb w9, [sp, #75]
ldrb w9, [sp, #121]
strb w9, [sp, #74]
ldrb w9, [sp, #107]
ldrb w10, [sp, #100]
orr w9, w9, w10
strb w9, [sp, #73]
ldrb w9, [sp, #106]
ldrb w10, [sp, #99]
eor w9, w9, w10
strb w9, [sp, #72]
ldrb w9, [sp, #106]
ldrb w10, [sp, #99]
and w9, w9, w10
strb w9, [sp, #71]
ldrb w9, [sp, #76]
ldrb w10, [sp, #87]
eor w9, w9, w10
ldrb w10, [sp, #95]
eor w9, w9, w10
strb w9, [sp, #70]
ldrb w9, [sp, #76]
ldrb w10, [sp, #87]
and w9, w9, w10
ldrb w10, [sp, #87]
ldrb w11, [sp, #95]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #76]
ldrb w11, [sp, #95]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #69]
ldrb w9, [sp, #97]
ldrb w10, [sp, #94]
and w9, w9, w10
strb w9, [sp, #68]
ldrb w9, [sp, #97]
ldrb w10, [sp, #94]
eor w9, w9, w10
strb w9, [sp, #67]
ldrb w9, [sp, #121]
ldrb w10, [sp, #78]
orr w9, w9, w10
strb w9, [sp, #66]
ldrb w9, [sp, #79]
strb w9, [sp, #65]
ldrb w9, [sp, #90]
ldrb w10, [sp, #77]
eor w9, w9, w10
ldrb w10, [sp, #73]
eor w9, w9, w10
strb w9, [sp, #64]
ldrb w9, [sp, #90]
ldrb w10, [sp, #77]
and w9, w9, w10
ldrb w10, [sp, #77]
ldrb w11, [sp, #73]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #90]
ldrb w11, [sp, #73]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #63]
ldrb w9, [sp, #86]
ldrb w10, [sp, #108]
eor w9, w9, w10
ldrb w10, [sp, #72]
eor w9, w9, w10
strb w9, [sp, #62]
ldrb w9, [sp, #86]
ldrb w10, [sp, #108]
and w9, w9, w10
ldrb w10, [sp, #108]
ldrb w11, [sp, #72]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #86]
ldrb w11, [sp, #72]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #61]
ldrb w9, [sp, #71]
ldrb w10, [sp, #92]
eor w9, w9, w10
ldrb w10, [sp, #85]
eor w9, w9, w10
strb w9, [sp, #60]
ldrb w9, [sp, #71]
ldrb w10, [sp, #92]
and w9, w9, w10
ldrb w10, [sp, #92]
ldrb w11, [sp, #85]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #71]
ldrb w11, [sp, #85]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #59]
ldrb w9, [sp, #69]
ldrb w10, [sp, #91]
eor w9, w9, w10
ldrb w10, [sp, #84]
eor w9, w9, w10
strb w9, [sp, #58]
ldrb w9, [sp, #69]
ldrb w10, [sp, #91]
and w9, w9, w10
ldrb w10, [sp, #91]
ldrb w11, [sp, #84]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #69]
ldrb w11, [sp, #84]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #57]
ldrb w9, [sp, #68]
ldrb w10, [sp, #89]
eor w9, w9, w10
ldrb w10, [sp, #82]
eor w9, w9, w10
strb w9, [sp, #56]
ldrb w9, [sp, #68]
ldrb w10, [sp, #89]
and w9, w9, w10
ldrb w10, [sp, #89]
ldrb w11, [sp, #82]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #68]
ldrb w11, [sp, #82]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #55]
ldrb w9, [sp, #114]
ldrb w10, [sp, #104]
and w9, w9, w10
strb w9, [sp, #54]
ldrb w9, [sp, #88]
ldrb w10, [sp, #81]
eor w9, w9, w10
strb w9, [sp, #53]
ldrb w9, [sp, #88]
ldrb w10, [sp, #81]
and w9, w9, w10
strb w9, [sp, #52]
ldrb w9, [sp, #64]
strb w9, [sp, #51]
ldrb w9, [sp, #62]
ldrb w10, [sp, #63]
eor w9, w9, w10
strb w9, [sp, #50]
ldrb w9, [sp, #62]
ldrb w10, [sp, #63]
and w9, w9, w10
strb w9, [sp, #49]
ldrb w9, [sp, #70]
ldrb w10, [sp, #68]
eor w9, w9, w10
ldrb w10, [sp, #60]
eor w9, w9, w10
strb w9, [sp, #48]
ldrb w9, [sp, #70]
ldrb w10, [sp, #68]
and w9, w9, w10
ldrb w10, [sp, #68]
ldrb w11, [sp, #60]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #70]
ldrb w11, [sp, #60]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #47]
ldrb w9, [sp, #67]
ldrb w10, [sp, #58]
and w9, w9, w10
strb w9, [sp, #46]
ldrb w9, [sp, #67]
ldrb w10, [sp, #58]
orr w9, w9, w10
strb w9, [sp, #45]
ldrb w9, [sp, #93]
ldrb w10, [sp, #56]
and w9, w9, w10
strb w9, [sp, #44]
ldrb w9, [sp, #93]
ldrb w10, [sp, #56]
eor w9, w9, w10
strb w9, [sp, #43]
ldrb w9, [sp, #52]
strb w9, [sp, #42]
ldrb w9, [sp, #83]
ldrb w10, [sp, #139]
eor w9, w9, w10
ldrb w10, [sp, #65]
eor w9, w9, w10
strb w9, [sp, #41]
ldrb w9, [sp, #83]
strb w9, [sp, #40]
ldrb w9, [sp, #66]
ldrb w10, [sp, #119]
and w9, w9, w10
ldrb w11, [sp, #66]
ldrb w10, [sp, #59]
bic w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #39]
ldrb w9, [sp, #51]
ldrb w10, [sp, #103]
orr w9, w9, w10
strb w9, [sp, #38]
ldrb w9, [sp, #50]
ldrb w10, [sp, #101]
orr w9, w9, w10
strb w9, [sp, #37]
ldrb w9, [sp, #48]
ldrb w10, [sp, #49]
eor w9, w9, w10
ldrb w10, [sp, #61]
eor w9, w9, w10
strb w9, [sp, #36]
ldrb w9, [sp, #48]
ldrb w10, [sp, #49]
and w9, w9, w10
ldrb w10, [sp, #49]
ldrb w11, [sp, #61]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #48]
ldrb w11, [sp, #61]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #35]
ldrb w9, [sp, #45]
ldrb w10, [sp, #47]
eor w9, w9, w10
ldrb w10, [sp, #59]
eor w9, w9, w10
strb w9, [sp, #34]
ldrb w9, [sp, #45]
ldrb w10, [sp, #47]
and w9, w9, w10
ldrb w10, [sp, #47]
ldrb w11, [sp, #59]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #45]
ldrb w11, [sp, #59]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #33]
ldrb w9, [sp, #43]
ldrb w10, [sp, #46]
eor w9, w9, w10
ldrb w10, [sp, #57]
eor w9, w9, w10
strb w9, [sp, #32]
ldrb w9, [sp, #43]
ldrb w10, [sp, #46]
and w9, w9, w10
ldrb w10, [sp, #46]
ldrb w11, [sp, #57]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #43]
ldrb w11, [sp, #57]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #31]
ldrb w9, [sp, #53]
ldrb w10, [sp, #44]
eor w9, w9, w10
ldrb w10, [sp, #55]
eor w9, w9, w10
strb w9, [sp, #30]
ldrb w9, [sp, #53]
ldrb w10, [sp, #44]
and w9, w9, w10
ldrb w10, [sp, #44]
ldrb w11, [sp, #55]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #53]
ldrb w11, [sp, #55]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #29]
ldrb w9, [sp, #150]
ldrb w10, [sp, #54]
and w9, w9, w10
strb w9, [sp, #28]
ldrb w9, [sp, #80]
ldrb w10, [sp, #42]
eor w9, w9, w10
strb w9, [sp, #27]
ldrb w9, [sp, #41]
ldrb w10, [sp, #110]
orr w9, w9, w10
strb w9, [sp, #26]
ldrb w9, [sp, #39]
strb w9, [sp, #25]
ldrb w9, [sp, #38]
ldrb w10, [sp, #115]
orr w9, w9, w10
strb w9, [sp, #24]
ldrb w9, [sp, #37]
strb w9, [sp, #23]
ldrb w9, [sp, #36]
strb w9, [sp, #22]
ldrb w9, [sp, #34]
ldrb w10, [sp, #35]
eor w9, w9, w10
strb w9, [sp, #21]
ldrb w9, [sp, #34]
ldrb w10, [sp, #35]
and w9, w9, w10
strb w9, [sp, #20]
ldrb w9, [sp, #32]
ldrb w10, [sp, #33]
eor w9, w9, w10
ldrb w10, [sp, #20]
eor w9, w9, w10
strb w9, [sp, #19]
ldrb w9, [sp, #32]
ldrb w10, [sp, #33]
and w9, w9, w10
ldrb w10, [sp, #33]
ldrb w11, [sp, #20]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #32]
ldrb w11, [sp, #20]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #18]
ldrb w9, [sp, #30]
ldrb w10, [sp, #31]
eor w9, w9, w10
ldrb w10, [sp, #18]
eor w9, w9, w10
strb w9, [sp, #17]
ldrb w9, [sp, #30]
ldrb w10, [sp, #31]
and w9, w9, w10
ldrb w10, [sp, #31]
ldrb w11, [sp, #18]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #30]
ldrb w11, [sp, #18]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #16]
ldrb w9, [sp, #27]
ldrb w10, [sp, #29]
eor w9, w9, w10
ldrb w10, [sp, #16]
eor w9, w9, w10
strb w9, [sp, #15]
ldrb w9, [sp, #27]
ldrb w10, [sp, #29]
and w9, w9, w10
ldrb w10, [sp, #29]
ldrb w11, [sp, #16]
and w10, w10, w11
orr w9, w9, w10
ldrb w10, [sp, #27]
ldrb w11, [sp, #16]
and w10, w10, w11
orr w9, w9, w10
strb w9, [sp, #14]
ldrb w9, [sp, #28]
ldrb w10, [sp, #14]
orr w9, w9, w10
strb w9, [sp, #13]
ldrb w9, [sp, #135]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10
strh w9, [x8]
ldrb w9, [sp, #75]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #1
strh w9, [x8]
ldrb w9, [sp, #47]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #2
strh w9, [x8]
ldrb w9, [sp, #40]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #3
strh w9, [x8]
ldrb w9, [sp, #26]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #4
strh w9, [x8]
ldrb w9, [sp, #25]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #5
strh w9, [x8]
ldrb w9, [sp, #74]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #6
strh w9, [x8]
ldrb w9, [sp, #25]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #7
strh w9, [x8]
ldrb w9, [sp, #24]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #8
strh w9, [x8]
ldrb w9, [sp, #23]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #9
strh w9, [x8]
ldrb w9, [sp, #22]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #10
strh w9, [x8]
ldrb w9, [sp, #21]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #11
strh w9, [x8]
ldrb w9, [sp, #19]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #12
strh w9, [x8]
ldrb w9, [sp, #17]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #13
strh w9, [x8]
ldrb w9, [sp, #15]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #14
strh w9, [x8]
ldrb w9, [sp, #13]
and w10, w9, #0x1
ldrh w9, [x8]
orr w9, w9, w10, lsl #15
strh w9, [x8]
ldrh w0, [x8]
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8_178 ## -- Begin function mul8_178
.p2align 4, 0x90
_mul8_178: ## @mul8_178
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $36, %rsp
movb %sil, %al
movb %dil, %cl
movb %cl, -1(%rbp)
movb %al, -2(%rbp)
movw $0, -4(%rbp)
movzbl -1(%rbp), %eax
sarl $0, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -5(%rbp)
movzbl -1(%rbp), %eax
sarl $1, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -6(%rbp)
movzbl -1(%rbp), %eax
sarl $2, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -7(%rbp)
movzbl -1(%rbp), %eax
sarl $3, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -8(%rbp)
movzbl -1(%rbp), %eax
sarl $4, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -9(%rbp)
movzbl -1(%rbp), %eax
sarl $5, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -10(%rbp)
movzbl -1(%rbp), %eax
sarl $6, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -11(%rbp)
movzbl -1(%rbp), %eax
sarl $7, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -12(%rbp)
movzbl -2(%rbp), %eax
sarl $0, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -13(%rbp)
movzbl -2(%rbp), %eax
sarl $1, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -14(%rbp)
movzbl -2(%rbp), %eax
sarl $2, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -15(%rbp)
movzbl -2(%rbp), %eax
sarl $3, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -16(%rbp)
movzbl -2(%rbp), %eax
sarl $4, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -17(%rbp)
movzbl -2(%rbp), %eax
sarl $5, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -18(%rbp)
movzbl -2(%rbp), %eax
sarl $6, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -19(%rbp)
movzbl -2(%rbp), %eax
sarl $7, %eax
andl $1, %eax
## kill: def $al killed $al killed $eax
movb %al, -20(%rbp)
movzbl -14(%rbp), %eax
movzbl -11(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -21(%rbp)
movzbl -12(%rbp), %eax
movzbl -13(%rbp), %ecx
andl %ecx, %eax
movzbl -13(%rbp), %ecx
movzbl -18(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -12(%rbp), %ecx
movzbl -18(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -22(%rbp)
movzbl -14(%rbp), %eax
movzbl -7(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -23(%rbp)
movzbl -16(%rbp), %eax
movzbl -5(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -24(%rbp)
movzbl -11(%rbp), %eax
movzbl -11(%rbp), %ecx
xorl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -25(%rbp)
movzbl -11(%rbp), %eax
movzbl -11(%rbp), %ecx
xorl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -26(%rbp)
movzbl -8(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -27(%rbp)
movzbl -18(%rbp), %eax
movzbl -9(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -28(%rbp)
movzbl -14(%rbp), %eax
movzbl -12(%rbp), %ecx
andl %ecx, %eax
movzbl -21(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -29(%rbp)
movzbl -26(%rbp), %eax
movzbl -5(%rbp), %ecx
andl %ecx, %eax
movzbl -5(%rbp), %ecx
movzbl -6(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -26(%rbp), %ecx
movzbl -6(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -30(%rbp)
movzbl -11(%rbp), %eax
movzbl -30(%rbp), %ecx
orl %ecx, %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -31(%rbp)
movzbl -26(%rbp), %eax
movzbl -5(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -32(%rbp)
movzbl -5(%rbp), %eax
movzbl -32(%rbp), %ecx
andl %ecx, %eax
movzbl -5(%rbp), %ecx
xorl $-1, %ecx
movzbl -6(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp)
movzbl -11(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
movzbl -12(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -34(%rbp)
movb -26(%rbp), %al
movb %al, -35(%rbp)
movb -35(%rbp), %al
movb %al, -36(%rbp)
movzbl -35(%rbp), %eax
movzbl -32(%rbp), %ecx
orl %ecx, %eax
movzbl -36(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -37(%rbp)
movzbl -35(%rbp), %eax
movzbl -32(%rbp), %ecx
orl %ecx, %eax
movzbl -36(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -38(%rbp)
movzbl -38(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -39(%rbp)
movzbl -38(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -40(%rbp)
movzbl -35(%rbp), %eax
movzbl -28(%rbp), %ecx
orl %ecx, %eax
movzbl -16(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -41(%rbp)
movzbl -33(%rbp), %eax
movzbl -39(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -42(%rbp)
movzbl -8(%rbp), %eax
movzbl -7(%rbp), %ecx
orl %ecx, %eax
movzbl -12(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -43(%rbp)
movzbl -24(%rbp), %eax
movzbl -11(%rbp), %ecx
andl %ecx, %eax
movzbl -24(%rbp), %ecx
xorl $-1, %ecx
movzbl -31(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -44(%rbp)
movzbl -20(%rbp), %eax
movzbl -17(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -45(%rbp)
movzbl -20(%rbp), %eax
movzbl -17(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -46(%rbp)
movzbl -46(%rbp), %eax
movzbl -19(%rbp), %ecx
orl %ecx, %eax
movzbl -22(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -47(%rbp)
movb -33(%rbp), %al
movb %al, -48(%rbp)
movzbl -44(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -49(%rbp)
movzbl -48(%rbp), %eax
movzbl -45(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -50(%rbp)
movzbl -40(%rbp), %eax
movzbl -15(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -51(%rbp)
movzbl -11(%rbp), %eax
movzbl -51(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -52(%rbp)
movzbl -11(%rbp), %eax
movzbl -51(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -53(%rbp)
movzbl -23(%rbp), %eax
movzbl -52(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -54(%rbp)
movzbl -31(%rbp), %eax
movzbl -43(%rbp), %ecx
andl %ecx, %eax
movzbl -47(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -55(%rbp)
movzbl -36(%rbp), %eax
movzbl -43(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -56(%rbp)
movzbl -38(%rbp), %eax
movzbl -42(%rbp), %ecx
orl %ecx, %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -57(%rbp)
movzbl -50(%rbp), %eax
movzbl -49(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -58(%rbp)
movzbl -58(%rbp), %eax
movzbl -54(%rbp), %ecx
orl %ecx, %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -59(%rbp)
movzbl -56(%rbp), %eax
movzbl -25(%rbp), %ecx
andl %ecx, %eax
movzbl -56(%rbp), %ecx
xorl $-1, %ecx
movzbl -6(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -60(%rbp)
movzbl -60(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -61(%rbp)
movzbl -34(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -62(%rbp)
movb -38(%rbp), %al
movb %al, -63(%rbp)
movzbl -16(%rbp), %eax
movzbl -15(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -64(%rbp)
movzbl -63(%rbp), %eax
movzbl -27(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -65(%rbp)
movzbl -59(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -66(%rbp)
movzbl -8(%rbp), %eax
movzbl -9(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -67(%rbp)
movzbl -18(%rbp), %eax
movzbl -67(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -68(%rbp)
movzbl -10(%rbp), %eax
movzbl -64(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -69(%rbp)
movzbl -11(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -70(%rbp)
movb -26(%rbp), %al
movb %al, -71(%rbp)
movzbl -31(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -72(%rbp)
movzbl -29(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -73(%rbp)
movzbl -12(%rbp), %eax
movzbl -16(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -74(%rbp)
movzbl -65(%rbp), %eax
xorl $-1, %eax
## kill: def $al killed $al killed $eax
movb %al, -75(%rbp)
movzbl -9(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -76(%rbp)
movzbl -10(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -77(%rbp)
movzbl -11(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -78(%rbp)
movzbl -12(%rbp), %eax
movzbl -17(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -79(%rbp)
movzbl -9(%rbp), %eax
movzbl -64(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -80(%rbp)
movzbl -10(%rbp), %eax
movzbl -18(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -81(%rbp)
movzbl -11(%rbp), %eax
movzbl -18(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -82(%rbp)
movzbl -12(%rbp), %eax
movzbl -18(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -83(%rbp)
movzbl -9(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -84(%rbp)
movzbl -10(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -85(%rbp)
movzbl -10(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -86(%rbp)
movzbl -11(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -87(%rbp)
movzbl -12(%rbp), %eax
movzbl -19(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -88(%rbp)
movb -78(%rbp), %al
movb %al, -89(%rbp)
movzbl -7(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -90(%rbp)
movzbl -8(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -91(%rbp)
movzbl -9(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -92(%rbp)
movzbl -9(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -93(%rbp)
movzbl -10(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -94(%rbp)
movzbl -11(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -95(%rbp)
movzbl -12(%rbp), %eax
movzbl -20(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -96(%rbp)
movb -53(%rbp), %al
movb %al, -97(%rbp)
movb -52(%rbp), %al
movb %al, -98(%rbp)
movzbl -71(%rbp), %eax
movzbl -80(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -99(%rbp)
movb -74(%rbp), %al
movb %al, -100(%rbp)
movb -55(%rbp), %al
movb %al, -101(%rbp)
movb -55(%rbp), %al
movb %al, -102(%rbp)
movzbl -69(%rbp), %eax
movzbl -76(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -103(%rbp)
movzbl -70(%rbp), %eax
movzbl -77(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -104(%rbp)
movzbl -70(%rbp), %eax
movzbl -77(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -105(%rbp)
movzbl -100(%rbp), %eax
movzbl -89(%rbp), %ecx
xorl %ecx, %eax
movzbl -81(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -106(%rbp)
movzbl -100(%rbp), %eax
movzbl -89(%rbp), %ecx
andl %ecx, %eax
movzbl -89(%rbp), %ecx
movzbl -81(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -100(%rbp), %ecx
movzbl -81(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -107(%rbp)
movzbl -79(%rbp), %eax
movzbl -82(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -108(%rbp)
movzbl -79(%rbp), %eax
movzbl -82(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -109(%rbp)
movzbl -55(%rbp), %eax
movzbl -98(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -110(%rbp)
movb -97(%rbp), %al
movb %al, -111(%rbp)
movzbl -86(%rbp), %eax
movzbl -99(%rbp), %ecx
xorl %ecx, %eax
movzbl -103(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -112(%rbp)
movzbl -86(%rbp), %eax
movzbl -99(%rbp), %ecx
andl %ecx, %eax
movzbl -99(%rbp), %ecx
movzbl -103(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -86(%rbp), %ecx
movzbl -103(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -113(%rbp)
movzbl -90(%rbp), %eax
movzbl -68(%rbp), %ecx
xorl %ecx, %eax
movzbl -104(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -114(%rbp)
movzbl -90(%rbp), %eax
movzbl -68(%rbp), %ecx
andl %ecx, %eax
movzbl -68(%rbp), %ecx
movzbl -104(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -90(%rbp), %ecx
movzbl -104(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -115(%rbp)
movzbl -105(%rbp), %eax
movzbl -84(%rbp), %ecx
xorl %ecx, %eax
movzbl -91(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -116(%rbp)
movzbl -105(%rbp), %eax
movzbl -84(%rbp), %ecx
andl %ecx, %eax
movzbl -84(%rbp), %ecx
movzbl -91(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -105(%rbp), %ecx
movzbl -91(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -117(%rbp)
movzbl -107(%rbp), %eax
movzbl -85(%rbp), %ecx
xorl %ecx, %eax
movzbl -92(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -118(%rbp)
movzbl -107(%rbp), %eax
movzbl -85(%rbp), %ecx
andl %ecx, %eax
movzbl -85(%rbp), %ecx
movzbl -92(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -107(%rbp), %ecx
movzbl -92(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -119(%rbp)
movzbl -108(%rbp), %eax
movzbl -87(%rbp), %ecx
xorl %ecx, %eax
movzbl -94(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -120(%rbp)
movzbl -108(%rbp), %eax
movzbl -87(%rbp), %ecx
andl %ecx, %eax
movzbl -87(%rbp), %ecx
movzbl -94(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -108(%rbp), %ecx
movzbl -94(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -121(%rbp)
movzbl -62(%rbp), %eax
movzbl -72(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -122(%rbp)
movzbl -88(%rbp), %eax
movzbl -95(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -123(%rbp)
movzbl -88(%rbp), %eax
movzbl -95(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -124(%rbp)
movb -112(%rbp), %al
movb %al, -125(%rbp)
movzbl -114(%rbp), %eax
movzbl -113(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -126(%rbp)
movzbl -114(%rbp), %eax
movzbl -113(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -127(%rbp)
movzbl -106(%rbp), %eax
movzbl -108(%rbp), %ecx
xorl %ecx, %eax
movzbl -116(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -128(%rbp)
movzbl -106(%rbp), %eax
movzbl -108(%rbp), %ecx
andl %ecx, %eax
movzbl -108(%rbp), %ecx
movzbl -116(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -106(%rbp), %ecx
movzbl -116(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -129(%rbp)
movzbl -109(%rbp), %eax
movzbl -118(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -130(%rbp)
movzbl -109(%rbp), %eax
movzbl -118(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -131(%rbp)
movzbl -83(%rbp), %eax
movzbl -120(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -132(%rbp)
movzbl -83(%rbp), %eax
movzbl -120(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -133(%rbp)
movb -124(%rbp), %al
movb %al, -134(%rbp)
movzbl -93(%rbp), %eax
movzbl -37(%rbp), %ecx
xorl %ecx, %eax
movzbl -111(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -135(%rbp)
movb -93(%rbp), %al
movb %al, -136(%rbp)
movzbl -110(%rbp), %eax
movzbl -57(%rbp), %ecx
andl %ecx, %eax
movzbl -110(%rbp), %ecx
xorl $-1, %ecx
movzbl -117(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -137(%rbp)
movzbl -125(%rbp), %eax
movzbl -73(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -138(%rbp)
movzbl -126(%rbp), %eax
movzbl -75(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -139(%rbp)
movzbl -128(%rbp), %eax
movzbl -127(%rbp), %ecx
xorl %ecx, %eax
movzbl -115(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -140(%rbp)
movzbl -128(%rbp), %eax
movzbl -127(%rbp), %ecx
andl %ecx, %eax
movzbl -127(%rbp), %ecx
movzbl -115(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -128(%rbp), %ecx
movzbl -115(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -141(%rbp)
movzbl -131(%rbp), %eax
movzbl -129(%rbp), %ecx
xorl %ecx, %eax
movzbl -117(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -142(%rbp)
movzbl -131(%rbp), %eax
movzbl -129(%rbp), %ecx
andl %ecx, %eax
movzbl -129(%rbp), %ecx
movzbl -117(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -131(%rbp), %ecx
movzbl -117(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -143(%rbp)
movzbl -133(%rbp), %eax
movzbl -130(%rbp), %ecx
xorl %ecx, %eax
movzbl -119(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -144(%rbp)
movzbl -133(%rbp), %eax
movzbl -130(%rbp), %ecx
andl %ecx, %eax
movzbl -130(%rbp), %ecx
movzbl -119(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -133(%rbp), %ecx
movzbl -119(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -145(%rbp)
movzbl -123(%rbp), %eax
movzbl -132(%rbp), %ecx
xorl %ecx, %eax
movzbl -121(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -146(%rbp)
movzbl -123(%rbp), %eax
movzbl -132(%rbp), %ecx
andl %ecx, %eax
movzbl -132(%rbp), %ecx
movzbl -121(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -123(%rbp), %ecx
movzbl -121(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -147(%rbp)
movzbl -26(%rbp), %eax
movzbl -122(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -148(%rbp)
movzbl -96(%rbp), %eax
movzbl -134(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -149(%rbp)
movzbl -135(%rbp), %eax
movzbl -66(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -150(%rbp)
movb -137(%rbp), %al
movb %al, -151(%rbp)
movzbl -138(%rbp), %eax
movzbl -61(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -152(%rbp)
movb -139(%rbp), %al
movb %al, -153(%rbp)
movb -140(%rbp), %al
movb %al, -154(%rbp)
movzbl -142(%rbp), %eax
movzbl -141(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -155(%rbp)
movzbl -142(%rbp), %eax
movzbl -141(%rbp), %ecx
andl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -156(%rbp)
movzbl -144(%rbp), %eax
movzbl -143(%rbp), %ecx
xorl %ecx, %eax
movzbl -156(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -157(%rbp)
movzbl -144(%rbp), %eax
movzbl -143(%rbp), %ecx
andl %ecx, %eax
movzbl -143(%rbp), %ecx
movzbl -156(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -144(%rbp), %ecx
movzbl -156(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -158(%rbp)
movzbl -146(%rbp), %eax
movzbl -145(%rbp), %ecx
xorl %ecx, %eax
movzbl -158(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -159(%rbp)
movzbl -146(%rbp), %eax
movzbl -145(%rbp), %ecx
andl %ecx, %eax
movzbl -145(%rbp), %ecx
movzbl -158(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -146(%rbp), %ecx
movzbl -158(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -160(%rbp)
movzbl -149(%rbp), %eax
movzbl -147(%rbp), %ecx
xorl %ecx, %eax
movzbl -160(%rbp), %ecx
xorl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -161(%rbp)
movzbl -149(%rbp), %eax
movzbl -147(%rbp), %ecx
andl %ecx, %eax
movzbl -147(%rbp), %ecx
movzbl -160(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
movzbl -149(%rbp), %ecx
movzbl -160(%rbp), %edx
andl %edx, %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -162(%rbp)
movzbl -148(%rbp), %eax
movzbl -162(%rbp), %ecx
orl %ecx, %eax
## kill: def $al killed $al killed $eax
movb %al, -163(%rbp)
movzbl -41(%rbp), %ecx
andl $1, %ecx
shll $0, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -101(%rbp), %ecx
andl $1, %ecx
shll $1, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -129(%rbp), %ecx
andl $1, %ecx
shll $2, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -136(%rbp), %ecx
andl $1, %ecx
shll $3, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -150(%rbp), %ecx
andl $1, %ecx
shll $4, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -151(%rbp), %ecx
andl $1, %ecx
shll $5, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -102(%rbp), %ecx
andl $1, %ecx
shll $6, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -151(%rbp), %ecx
andl $1, %ecx
shll $7, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -152(%rbp), %ecx
andl $1, %ecx
shll $8, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -153(%rbp), %ecx
andl $1, %ecx
shll $9, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -154(%rbp), %ecx
andl $1, %ecx
shll $10, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -155(%rbp), %ecx
andl $1, %ecx
shll $11, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -157(%rbp), %ecx
andl $1, %ecx
shll $12, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -159(%rbp), %ecx
andl $1, %ecx
shll $13, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -161(%rbp), %ecx
andl $1, %ecx
shll $14, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzbl -163(%rbp), %ecx
andl $1, %ecx
shll $15, %ecx
movzwl -4(%rbp), %eax
orl %ecx, %eax
## kill: def $ax killed $ax killed $eax
movw %ax, -4(%rbp)
movzwl -4(%rbp), %eax
addq $36, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/19961.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str wzr, [sp, #8]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #8]
b LBB0_2
LBB0_2:
ldr w8, [sp, #12]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #3
str w8, [sp, #8]
b LBB0_4
LBB0_4:
ldr w8, [sp, #12]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #4
str w8, [sp, #8]
b LBB0_6
LBB0_6:
ldr w0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #3
bl _foo
subs w8, w0, #3
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl _abort
LBB1_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
cmpl $1, -4(%rbp)
jne LBB0_2
## %bb.1:
movl $1, -8(%rbp)
LBB0_2:
cmpl $3, -4(%rbp)
jne LBB0_4
## %bb.3:
movl $3, -8(%rbp)
LBB0_4:
cmpl $4, -4(%rbp)
jne LBB0_6
## %bb.5:
movl $4, -8(%rbp)
LBB0_6:
movl -8(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $3, %edi
callq _foo
cmpl $3, %eax
je LBB1_2
## %bb.1:
callq _abort
LBB1_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/22013721.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #16]
str w0, [sp, #12]
str x1, [sp]
mov x9, #4105
add x8, sp, #20
add x9, x8, x9
mov w8, #65
strb w8, [x9]
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movl %edi, -40(%rbp)
movq %rsi, -48(%rbp)
movb $65, 4073(%rbp)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/200142245.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sigblock ; -- Begin function sigblock
.p2align 2
_sigblock: ; @sigblock
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
mov w0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sigblock ## -- Begin function sigblock
.p2align 4, 0x90
_sigblock: ## @sigblock
.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)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1112747.c |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 0