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 _add12se_5CX ; -- Begin function add12se_5CX .p2align 2 _add12se_5CX: ; @add12se_5CX .cfi_startproc ; %bb.0: sub sp, sp, #384 .cfi_def_cfa_offset 384 stp x28, x27, [sp, #368] ; 16-byte Folded Spill .cfi_offset w27, -8 .cfi_offset w28, -16 str x0, [sp, #360] str x1, [sp, #352] ldr x8, [sp, #352] lsr x8, x8, #7 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #7 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #344] ldr x8, [sp, #352] lsr x8, x8, #7 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #7 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #336] ldr x8, [sp, #352] lsr x8, x8, #8 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #8 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #328] ldr x8, [sp, #352] lsr x8, x8, #8 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #8 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #320] ldr x8, [sp, #352] lsr x8, x8, #9 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #9 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #312] ldr x8, [sp, #352] lsr x8, x8, #9 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #9 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #304] ldr x8, [sp, #352] lsr x8, x8, #10 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #10 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #296] ldr x8, [sp, #352] lsr x8, x8, #10 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #10 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #288] ldr x8, [sp, #352] lsr x8, x8, #11 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #11 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #280] ldr x8, [sp, #352] lsr x8, x8, #11 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #11 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #272] ldr x8, [sp, #352] lsr x8, x8, #11 and x8, x8, #0x1 ldr x9, [sp, #360] lsr x9, x9, #11 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #264] ldr x8, [sp, #320] ldr x9, [sp, #344] and x8, x8, x9 str x8, [sp, #256] ldr x8, [sp, #320] ldr x9, [sp, #336] and x8, x8, x9 str x8, [sp, #248] ldr x8, [sp, #328] ldr x9, [sp, #256] orr x8, x8, x9 str x8, [sp, #240] ldr x8, [sp, #288] ldr x9, [sp, #312] and x8, x8, x9 str x8, [sp, #232] ldr x8, [sp, #288] ldr x9, [sp, #304] and x8, x8, x9 str x8, [sp, #224] ldr x8, [sp, #296] ldr x9, [sp, #232] orr x8, x8, x9 str x8, [sp, #216] ldr x8, [sp, #304] ldr x9, [sp, #240] and x8, x8, x9 str x8, [sp, #208] ldr x8, [sp, #304] ldr x9, [sp, #248] and x8, x8, x9 str x8, [sp, #200] ldr x8, [sp, #312] ldr x9, [sp, #208] orr x8, x8, x9 str x8, [sp, #192] ldr x8, [sp, #224] ldr x9, [sp, #240] and x8, x8, x9 str x8, [sp, #184] ldr x8, [sp, #224] ldr x9, [sp, #248] and x8, x8, x9 str x8, [sp, #176] ldr x8, [sp, #216] ldr x9, [sp, #184] orr x8, x8, x9 str x8, [sp, #168] ldr x8, [sp, #272] ldr x9, [sp, #168] and x8, x8, x9 str x8, [sp, #160] ldr x8, [sp, #272] ldr x9, [sp, #176] and x8, x8, x9 str x8, [sp, #152] ldr x8, [sp, #280] ldr x9, [sp, #160] orr x8, x8, x9 str x8, [sp, #144] ldr x8, [sp, #336] ldr x9, [sp, #360] lsr x9, x9, #6 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #136] ldr x8, [sp, #344] ldr x9, [sp, #136] orr x8, x8, x9 str x8, [sp, #128] ldr x8, [sp, #248] ldr x9, [sp, #360] lsr x9, x9, #6 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #120] ldr x8, [sp, #240] ldr x9, [sp, #120] orr x8, x8, x9 str x8, [sp, #112] ldr x8, [sp, #200] ldr x9, [sp, #360] lsr x9, x9, #6 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #104] ldr x8, [sp, #192] ldr x9, [sp, #104] orr x8, x8, x9 str x8, [sp, #96] ldr x8, [sp, #176] ldr x9, [sp, #360] lsr x9, x9, #6 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #88] ldr x8, [sp, #168] ldr x9, [sp, #88] orr x8, x8, x9 str x8, [sp, #80] ldr x8, [sp, #152] ldr x9, [sp, #360] lsr x9, x9, #6 and x9, x9, #0x1 and x8, x8, x9 str x8, [sp, #72] ldr x8, [sp, #144] ldr x9, [sp, #72] orr x8, x8, x9 str x8, [sp, #64] ldr x8, [sp, #336] ldr x9, [sp, #360] lsr x9, x9, #6 and x9, x9, #0x1 eor x8, x8, x9 str x8, [sp, #56] ldr x8, [sp, #320] ldr x9, [sp, #128] eor x8, x8, x9 str x8, [sp, #48] ldr x8, [sp, #304] ldr x9, [sp, #112] eor x8, x8, x9 str x8, [sp, #40] ldr x8, [sp, #288] ldr x9, [sp, #96] eor x8, x8, x9 str x8, [sp, #32] ldr x8, [sp, #272] ldr x9, [sp, #80] eor x8, x8, x9 str x8, [sp, #24] ldr x8, [sp, #264] ldr x9, [sp, #64] eor x8, x8, x9 str x8, [sp, #16] mov x9, #0 str xzr, [sp, #8] ldr x8, [sp, #24] and x10, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x10 str x8, [sp, #8] ldr x8, [sp, #8] orr x8, x8, x9 str x8, [sp, #8] ldr x8, [sp, #8] orr x8, x8, x9 str x8, [sp, #8] ldr x8, [sp, #352] lsr x8, x8, #4 and x8, x8, #0x1 and x10, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x10, lsl #3 str x8, [sp, #8] ldr x8, [sp, #8] orr x8, x8, x9 str x8, [sp, #8] ldr x8, [sp, #352] lsr x8, x8, #5 and x8, x8, #0x1 and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #5 str x8, [sp, #8] ldr x8, [sp, #352] lsr x8, x8, #6 and x8, x8, #0x1 and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #6 str x8, [sp, #8] ldr x8, [sp, #56] and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #7 str x8, [sp, #8] ldr x8, [sp, #48] and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #8 str x8, [sp, #8] ldr x8, [sp, #40] and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #9 str x8, [sp, #8] ldr x8, [sp, #32] and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #10 str x8, [sp, #8] ldr x8, [sp, #24] and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #11 str x8, [sp, #8] ldr x8, [sp, #16] and x9, x8, #0x1 ldr x8, [sp, #8] orr x8, x8, x9, lsl #12 str x8, [sp, #8] ldr x0, [sp, #8] ldp x28, x27, [sp, #368] ; 16-byte Folded Reload add sp, sp, #384 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add12se_5CX ## -- Begin function add12se_5CX .p2align 4, 0x90 _add12se_5CX: ## @add12se_5CX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $232, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax shrq $7, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $7, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax shrq $7, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $7, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -32(%rbp) movq -16(%rbp), %rax shrq $8, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $8, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -40(%rbp) movq -16(%rbp), %rax shrq $8, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $8, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -48(%rbp) movq -16(%rbp), %rax shrq $9, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $9, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -56(%rbp) movq -16(%rbp), %rax shrq $9, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $9, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -64(%rbp) movq -16(%rbp), %rax shrq $10, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $10, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -72(%rbp) movq -16(%rbp), %rax shrq $10, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $10, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -80(%rbp) movq -16(%rbp), %rax shrq $11, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $11, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -88(%rbp) movq -16(%rbp), %rax shrq $11, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $11, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -96(%rbp) movq -16(%rbp), %rax shrq $11, %rax andq $1, %rax movq -8(%rbp), %rcx shrq $11, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -104(%rbp) movq -48(%rbp), %rax andq -24(%rbp), %rax movq %rax, -112(%rbp) movq -48(%rbp), %rax andq -32(%rbp), %rax movq %rax, -120(%rbp) movq -40(%rbp), %rax orq -112(%rbp), %rax movq %rax, -128(%rbp) movq -80(%rbp), %rax andq -56(%rbp), %rax movq %rax, -136(%rbp) movq -80(%rbp), %rax andq -64(%rbp), %rax movq %rax, -144(%rbp) movq -72(%rbp), %rax orq -136(%rbp), %rax movq %rax, -152(%rbp) movq -64(%rbp), %rax andq -128(%rbp), %rax movq %rax, -160(%rbp) movq -64(%rbp), %rax andq -120(%rbp), %rax movq %rax, -168(%rbp) movq -56(%rbp), %rax orq -160(%rbp), %rax movq %rax, -176(%rbp) movq -144(%rbp), %rax andq -128(%rbp), %rax movq %rax, -184(%rbp) movq -144(%rbp), %rax andq -120(%rbp), %rax movq %rax, -192(%rbp) movq -152(%rbp), %rax orq -184(%rbp), %rax movq %rax, -200(%rbp) movq -96(%rbp), %rax andq -200(%rbp), %rax movq %rax, -208(%rbp) movq -96(%rbp), %rax andq -192(%rbp), %rax movq %rax, -216(%rbp) movq -88(%rbp), %rax orq -208(%rbp), %rax movq %rax, -224(%rbp) movq -32(%rbp), %rax movq -8(%rbp), %rcx shrq $6, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -232(%rbp) movq -24(%rbp), %rax orq -232(%rbp), %rax movq %rax, -240(%rbp) movq -120(%rbp), %rax movq -8(%rbp), %rcx shrq $6, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -248(%rbp) movq -128(%rbp), %rax orq -248(%rbp), %rax movq %rax, -256(%rbp) movq -168(%rbp), %rax movq -8(%rbp), %rcx shrq $6, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -264(%rbp) movq -176(%rbp), %rax orq -264(%rbp), %rax movq %rax, -272(%rbp) movq -192(%rbp), %rax movq -8(%rbp), %rcx shrq $6, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -280(%rbp) movq -200(%rbp), %rax orq -280(%rbp), %rax movq %rax, -288(%rbp) movq -216(%rbp), %rax movq -8(%rbp), %rcx shrq $6, %rcx andq $1, %rcx andq %rcx, %rax movq %rax, -296(%rbp) movq -224(%rbp), %rax orq -296(%rbp), %rax movq %rax, -304(%rbp) movq -32(%rbp), %rax movq -8(%rbp), %rcx shrq $6, %rcx andq $1, %rcx xorq %rcx, %rax movq %rax, -312(%rbp) movq -48(%rbp), %rax xorq -240(%rbp), %rax movq %rax, -320(%rbp) movq -64(%rbp), %rax xorq -256(%rbp), %rax movq %rax, -328(%rbp) movq -80(%rbp), %rax xorq -272(%rbp), %rax movq %rax, -336(%rbp) movq -96(%rbp), %rax xorq -288(%rbp), %rax movq %rax, -344(%rbp) movq -104(%rbp), %rax xorq -304(%rbp), %rax movq %rax, -352(%rbp) movq $0, -360(%rbp) movq -344(%rbp), %rax andq $1, %rax shlq $0, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -360(%rbp), %rax orq $0, %rax movq %rax, -360(%rbp) movq -360(%rbp), %rax orq $0, %rax movq %rax, -360(%rbp) movq -16(%rbp), %rax shrq $4, %rax andq $1, %rax andq $1, %rax shlq $3, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -360(%rbp), %rax orq $0, %rax movq %rax, -360(%rbp) movq -16(%rbp), %rax shrq $5, %rax andq $1, %rax andq $1, %rax shlq $5, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -16(%rbp), %rax shrq $6, %rax andq $1, %rax andq $1, %rax shlq $6, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -312(%rbp), %rax andq $1, %rax shlq $7, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -320(%rbp), %rax andq $1, %rax shlq $8, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -328(%rbp), %rax andq $1, %rax shlq $9, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -336(%rbp), %rax andq $1, %rax shlq $10, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -344(%rbp), %rax andq $1, %rax shlq $11, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -352(%rbp), %rax andq $1, %rax shlq $12, %rax orq -360(%rbp), %rax movq %rax, -360(%rbp) movq -360(%rbp), %rax addq $232, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/31387782.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _crank ; -- Begin function crank .p2align 2 _crank: ; @crank .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, #56] str x1, [sp, #48] str x2, [sp, #40] mov x8, #1 str x8, [sp, #32] ldr x8, [sp, #40] movi d0, #0000000000000000 str s0, [x8] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_11 Depth 2 ldr x8, [sp, #32] ldr x9, [sp, #56] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_16 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #48] ldr x9, [sp, #32] add x9, x9, #1 ldr s0, [x8, x9, lsl #2] ldr x8, [sp, #48] ldr x9, [sp, #32] ldr s1, [x8, x9, lsl #2] fcmp s0, s1 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr d0, [sp, #32] fmov x8, d0 ucvtf s0, x8 ldr x8, [sp, #48] ldr x9, [sp, #32] str s0, [x8, x9, lsl #2] ldr x8, [sp, #32] add x8, x8, #1 str x8, [sp, #32] b LBB0_15 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #32] add x8, x8, #1 str x8, [sp, #16] b LBB0_5 LBB0_5: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #16] ldr x9, [sp, #56] subs x8, x8, x9 cset w8, hi mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=2 ldr x8, [sp, #48] ldr x9, [sp, #16] ldr s0, [x8, x9, lsl #2] ldr x8, [sp, #48] ldr x9, [sp, #32] ldr s1, [x8, x9, lsl #2] fcmp s0, s1 cset w8, eq str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=2 ldr w8, [sp, #4] ; 4-byte Folded Reload tbz w8, #0, LBB0_10 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=2 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=2 ldr x8, [sp, #16] add x8, x8, #1 str x8, [sp, #16] b LBB0_5 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #32] ldr x9, [sp, #16] add x8, x8, x9 subs x8, x8, #1 ucvtf d1, x8 fmov d0, #0.50000000 fmul d0, d0, d1 fcvt s0, d0 str s0, [sp, #8] ldr x8, [sp, #32] str x8, [sp, #24] b LBB0_11 LBB0_11: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #24] ldr x9, [sp, #16] subs x9, x9, #1 subs x8, x8, x9 cset w8, hi tbnz w8, #0, LBB0_14 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_11 Depth=2 ldr s0, [sp, #8] ldr x8, [sp, #48] ldr x9, [sp, #24] str s0, [x8, x9, lsl #2] b LBB0_13 LBB0_13: ; in Loop: Header=BB0_11 Depth=2 ldr x8, [sp, #24] add x8, x8, #1 str x8, [sp, #24] b LBB0_11 LBB0_14: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldr x9, [sp, #32] subs x8, x8, x9 ucvtf s0, x8 str s0, [sp, #12] ldr s0, [sp, #12] ldr s1, [sp, #12] fmul s0, s0, s1 ldr s1, [sp, #12] ldr s2, [sp, #12] fnmsub s1, s0, s1, s2 ldr x8, [sp, #40] ldr s0, [x8] fadd s0, s0, s1 str s0, [x8] ldr x8, [sp, #16] str x8, [sp, #32] b LBB0_15 LBB0_15: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_16: ldr x8, [sp, #32] ldr x9, [sp, #56] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldr d0, [sp, #56] fmov x8, d0 ucvtf s0, x8 ldr x8, [sp, #48] ldr x9, [sp, #56] str s0, [x8, x9, lsl #2] b LBB0_18 LBB0_18: 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 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function crank LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__literal16,16byte_literals .p2align 4 LCPI0_1: .long 1127219200 ## 0x43300000 .long 1160773632 ## 0x45300000 .long 0 ## 0x0 .long 0 ## 0x0 LCPI0_2: .quad 0x4330000000000000 ## double 4503599627370496 .quad 0x4530000000000000 ## double 1.9342813113834067E+25 .section __TEXT,__text,regular,pure_instructions .globl _crank .p2align 4, 0x90 _crank: ## @crank .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq $1, -32(%rbp) movq -24(%rbp), %rax xorps %xmm0, %xmm0 movss %xmm0, (%rax) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_11 Depth 2 movq -32(%rbp), %rax cmpq -8(%rbp), %rax jae LBB0_16 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq -32(%rbp), %rcx movss 4(%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq -16(%rbp), %rax movq -32(%rbp), %rcx ucomiss (%rax,%rcx,4), %xmm0 jne LBB0_3 jp LBB0_3 jmp LBB0_4 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rax movq %rax, %rdx shrq %rdx movl %eax, %ecx andl $1, %ecx ## kill: def $rcx killed $ecx orq %rdx, %rcx cvtsi2ss %rcx, %xmm0 addss %xmm0, %xmm0 cvtsi2ss %rax, %xmm1 movss %xmm1, -64(%rbp) ## 4-byte Spill testq %rax, %rax movss %xmm0, -60(%rbp) ## 4-byte Spill js LBB0_20 ## %bb.19: ## in Loop: Header=BB0_1 Depth=1 movss -64(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -60(%rbp) ## 4-byte Spill LBB0_20: ## in Loop: Header=BB0_1 Depth=1 movss -60(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movq -16(%rbp), %rax movq -32(%rbp), %rcx movss %xmm0, (%rax,%rcx,4) movq -32(%rbp), %rax addq $1, %rax movq %rax, -32(%rbp) jmp LBB0_15 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rax addq $1, %rax movq %rax, -48(%rbp) LBB0_5: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq -48(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq -8(%rbp), %rcx movb %al, -65(%rbp) ## 1-byte Spill ja LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movq -16(%rbp), %rax movq -48(%rbp), %rcx movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq -16(%rbp), %rax movq -32(%rbp), %rcx ucomiss (%rax,%rcx,4), %xmm0 sete %al setnp %cl andb %cl, %al movb %al, -65(%rbp) ## 1-byte Spill LBB0_7: ## in Loop: Header=BB0_5 Depth=2 movb -65(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_8 jmp LBB0_10 LBB0_8: ## in Loop: Header=BB0_5 Depth=2 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_5 Depth=2 movq -48(%rbp), %rax addq $1, %rax movq %rax, -48(%rbp) jmp LBB0_5 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rax movq -48(%rbp), %rcx leaq -1(%rax,%rcx), %rax movq %rax, %xmm1 movaps LCPI0_1(%rip), %xmm0 ## xmm0 = [1127219200,1160773632,0,0] punpckldq %xmm0, %xmm1 ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1] movapd LCPI0_2(%rip), %xmm0 ## xmm0 = [4.503599627370496E+15,1.9342813113834067E+25] subpd %xmm0, %xmm1 movaps %xmm1, %xmm0 unpckhpd %xmm1, %xmm1 ## xmm1 = xmm1[1,1] addsd %xmm0, %xmm1 movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 movss %xmm0, -56(%rbp) movq -32(%rbp), %rax movq %rax, -40(%rbp) LBB0_11: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq -40(%rbp), %rax movq -48(%rbp), %rcx subq $1, %rcx cmpq %rcx, %rax ja LBB0_14 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq -16(%rbp), %rax movq -40(%rbp), %rcx movss %xmm0, (%rax,%rcx,4) ## %bb.13: ## in Loop: Header=BB0_11 Depth=2 movq -40(%rbp), %rax addq $1, %rax movq %rax, -40(%rbp) jmp LBB0_11 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rax movq -32(%rbp), %rcx subq %rcx, %rax movq %rax, %rdx shrq %rdx movl %eax, %ecx andl $1, %ecx ## kill: def $rcx killed $ecx orq %rdx, %rcx cvtsi2ss %rcx, %xmm0 addss %xmm0, %xmm0 cvtsi2ss %rax, %xmm1 movss %xmm1, -76(%rbp) ## 4-byte Spill testq %rax, %rax movss %xmm0, -72(%rbp) ## 4-byte Spill js LBB0_22 ## %bb.21: ## in Loop: Header=BB0_1 Depth=1 movss -76(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -72(%rbp) ## 4-byte Spill LBB0_22: ## in Loop: Header=BB0_1 Depth=1 movss -72(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -52(%rbp) movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss -52(%rbp), %xmm0 movss -52(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movd %xmm1, %eax xorl $2147483648, %eax ## imm = 0x80000000 movd %eax, %xmm1 mulss %xmm2, %xmm0 addss %xmm1, %xmm0 movq -24(%rbp), %rax addss (%rax), %xmm0 movss %xmm0, (%rax) movq -48(%rbp), %rax movq %rax, -32(%rbp) LBB0_15: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_16: movq -32(%rbp), %rax cmpq -8(%rbp), %rax jne LBB0_18 ## %bb.17: movq -8(%rbp), %rax movq %rax, %rdx shrq %rdx movl %eax, %ecx andl $1, %ecx ## kill: def $rcx killed $ecx orq %rdx, %rcx cvtsi2ss %rcx, %xmm0 addss %xmm0, %xmm0 cvtsi2ss %rax, %xmm1 movss %xmm1, -84(%rbp) ## 4-byte Spill testq %rax, %rax movss %xmm0, -80(%rbp) ## 4-byte Spill js LBB0_24 ## %bb.23: movss -84(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -80(%rbp) ## 4-byte Spill LBB0_24: movss -80(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movq -16(%rbp), %rax movq -8(%rbp), %rcx movss %xmm0, (%rax,%rcx,4) LBB0_18: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/190767132.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] str wzr, [sp, #16] str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _getchar stur w0, [x29, #-8] adds w8, w0, #1 cset w8, eq tbnz w8, #0, LBB0_50 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_27 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #47 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 mov w8, #1 str w8, [sp, #12] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #92 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #34 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 mov w8, #3 str w8, [sp, #16] ldur w0, [x29, #-8] bl _putchar b LBB0_26 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #92 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #39 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 mov w8, #4 str w8, [sp, #16] ldur w0, [x29, #-8] bl _putchar b LBB0_25 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #47 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #47 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 mov w8, #1 str w8, [sp, #16] b LBB0_24 LBB0_14: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #47 cset w8, ne tbnz w8, #0, LBB0_17 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #42 cset w8, ne tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_1 Depth=1 mov w8, #2 str w8, [sp, #16] b LBB0_23 LBB0_17: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #47 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #47 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: ; in Loop: Header=BB0_1 Depth=1 mov w8, #1 str w8, [sp, #12] b LBB0_22 LBB0_21: ; in Loop: Header=BB0_1 Depth=1 ldur w0, [x29, #-8] bl _putchar b LBB0_22 LBB0_22: ; in Loop: Header=BB0_1 Depth=1 b LBB0_23 LBB0_23: ; in Loop: Header=BB0_1 Depth=1 b LBB0_24 LBB0_24: ; in Loop: Header=BB0_1 Depth=1 b LBB0_25 LBB0_25: ; in Loop: Header=BB0_1 Depth=1 b LBB0_26 LBB0_26: ; in Loop: Header=BB0_1 Depth=1 b LBB0_40 LBB0_27: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_30 b LBB0_28 LBB0_28: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB0_30 b LBB0_29 LBB0_29: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #16] ldur w0, [x29, #-8] bl _putchar b LBB0_39 LBB0_30: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB0_34 b LBB0_31 LBB0_31: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #42 cset w8, ne tbnz w8, #0, LBB0_34 b LBB0_32 LBB0_32: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #47 cset w8, ne tbnz w8, #0, LBB0_34 b LBB0_33 LBB0_33: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #16] b LBB0_38 LBB0_34: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #1 cset w8, eq tbnz w8, #0, LBB0_37 b LBB0_35 LBB0_35: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB0_37 b LBB0_36 LBB0_36: ; in Loop: Header=BB0_1 Depth=1 ldur w0, [x29, #-8] bl _putchar b LBB0_37 LBB0_37: ; in Loop: Header=BB0_1 Depth=1 b LBB0_38 LBB0_38: ; in Loop: Header=BB0_1 Depth=1 b LBB0_39 LBB0_39: ; in Loop: Header=BB0_1 Depth=1 b LBB0_40 LBB0_40: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #3 cset w8, ne tbnz w8, #0, LBB0_44 b LBB0_41 LBB0_41: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #34 cset w8, ne tbnz w8, #0, LBB0_44 b LBB0_42 LBB0_42: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #92 cset w8, eq tbnz w8, #0, LBB0_44 b LBB0_43 LBB0_43: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #16] b LBB0_49 LBB0_44: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #4 cset w8, ne tbnz w8, #0, LBB0_48 b LBB0_45 LBB0_45: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #39 cset w8, ne tbnz w8, #0, LBB0_48 b LBB0_46 LBB0_46: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #92 cset w8, eq tbnz w8, #0, LBB0_48 b LBB0_47 LBB0_47: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #16] b LBB0_48 LBB0_48: ; in Loop: Header=BB0_1 Depth=1 b LBB0_49 LBB0_49: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] stur w8, [x29, #-12] b LBB0_1 LBB0_50: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl $0, -12(%rbp) movl $0, -16(%rbp) movl $0, -20(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 callq _getchar movl %eax, -8(%rbp) cmpl $-1, %eax je LBB0_50 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -16(%rbp) jne LBB0_27 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -8(%rbp) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl $1, -20(%rbp) LBB0_5: ## in Loop: Header=BB0_1 Depth=1 cmpl $92, -12(%rbp) je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 cmpl $34, -8(%rbp) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movl $3, -16(%rbp) movl -8(%rbp), %edi callq _putchar jmp LBB0_26 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 cmpl $92, -12(%rbp) je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 cmpl $39, -8(%rbp) jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movl $4, -16(%rbp) movl -8(%rbp), %edi callq _putchar jmp LBB0_25 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -12(%rbp) jne LBB0_14 ## %bb.12: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -8(%rbp) jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_1 Depth=1 movl $1, -16(%rbp) jmp LBB0_24 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -12(%rbp) jne LBB0_17 ## %bb.15: ## in Loop: Header=BB0_1 Depth=1 cmpl $42, -8(%rbp) jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_1 Depth=1 movl $2, -16(%rbp) jmp LBB0_23 LBB0_17: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -8(%rbp) jne LBB0_21 ## %bb.18: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -12(%rbp) je LBB0_21 ## %bb.19: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -20(%rbp) je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_1 Depth=1 movl $1, -20(%rbp) jmp LBB0_22 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %edi callq _putchar LBB0_22: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_23 LBB0_23: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_24 LBB0_24: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_25 LBB0_25: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_26 LBB0_26: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_40 LBB0_27: ## in Loop: Header=BB0_1 Depth=1 cmpl $1, -16(%rbp) jne LBB0_30 ## %bb.28: ## in Loop: Header=BB0_1 Depth=1 cmpl $10, -8(%rbp) jne LBB0_30 ## %bb.29: ## in Loop: Header=BB0_1 Depth=1 movl $0, -16(%rbp) movl -8(%rbp), %edi callq _putchar jmp LBB0_39 LBB0_30: ## in Loop: Header=BB0_1 Depth=1 cmpl $2, -16(%rbp) jne LBB0_34 ## %bb.31: ## in Loop: Header=BB0_1 Depth=1 cmpl $42, -12(%rbp) jne LBB0_34 ## %bb.32: ## in Loop: Header=BB0_1 Depth=1 cmpl $47, -8(%rbp) jne LBB0_34 ## %bb.33: ## in Loop: Header=BB0_1 Depth=1 movl $0, -16(%rbp) jmp LBB0_38 LBB0_34: ## in Loop: Header=BB0_1 Depth=1 cmpl $1, -16(%rbp) je LBB0_37 ## %bb.35: ## in Loop: Header=BB0_1 Depth=1 cmpl $2, -16(%rbp) je LBB0_37 ## %bb.36: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %edi callq _putchar LBB0_37: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_38 LBB0_38: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_39 LBB0_39: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_40 LBB0_40: ## in Loop: Header=BB0_1 Depth=1 cmpl $3, -16(%rbp) jne LBB0_44 ## %bb.41: ## in Loop: Header=BB0_1 Depth=1 cmpl $34, -8(%rbp) jne LBB0_44 ## %bb.42: ## in Loop: Header=BB0_1 Depth=1 cmpl $92, -12(%rbp) je LBB0_44 ## %bb.43: ## in Loop: Header=BB0_1 Depth=1 movl $0, -16(%rbp) jmp LBB0_49 LBB0_44: ## in Loop: Header=BB0_1 Depth=1 cmpl $4, -16(%rbp) jne LBB0_48 ## %bb.45: ## in Loop: Header=BB0_1 Depth=1 cmpl $39, -8(%rbp) jne LBB0_48 ## %bb.46: ## in Loop: Header=BB0_1 Depth=1 cmpl $92, -12(%rbp) je LBB0_48 ## %bb.47: ## in Loop: Header=BB0_1 Depth=1 movl $0, -16(%rbp) LBB0_48: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_49 LBB0_49: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_50: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/26578.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur wzr, [x29, #-16] stur wzr, [x29, #-20] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF str x0, [sp, #16] ; 8-byte Folded Spill bl _scanf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldr x0, [sp, #16] ; 8-byte Folded Reload mov x9, sp sub x8, x29, #12 str x8, [x9] bl _scanf b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-20] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] ldur w9, [x29, #-8] ldur w10, [x29, #-20] mul w9, w9, w10 mul w8, w8, w9 stur w8, [x29, #-16] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB0_1 LBB0_4: ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldur w9, [x29, #-16] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Entre com o valor de X: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Entre com o valor de N: " l_.str.3: ; @.str.3 .asciz "\nO valor de X se elevado a N sera de: %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl $0, -16(%rbp) movl $0, -20(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -12(%rbp), %rsi movb $0, %al callq _scanf LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax cmpl -12(%rbp), %eax jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax movl -8(%rbp), %ecx imull -20(%rbp), %ecx imull %ecx, %eax movl %eax, -16(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_1 LBB0_4: movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf movl -16(%rbp), %esi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Entre com o valor de X: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Entre com o valor de N: " L_.str.3: ## @.str.3 .asciz "\nO valor de X se elevado a N sera de: %d" .subsections_via_symbols
the_stack_data/21357.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _frob ; -- Begin function frob .p2align 2 _frob: ; @frob .cfi_startproc ; %bb.0: mov w0, #4 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _frob ## -- Begin function frob .p2align 4, 0x90 _frob: ## @frob .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $4, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/82951210.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _megaInit ; -- Begin function megaInit .p2align 2 _megaInit: ; @megaInit .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _RandomFunc ; -- Begin function RandomFunc .p2align 2 _RandomFunc: ; @RandomFunc .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str x1, [sp, #16] ldr x8, [sp, #24] ldrh w8, [x8] ; kill: def $x8 killed $w8 mov x9, #26986 movk x9, #13958, lsl #16 add x8, x8, x9 mov x9, #11 eor x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 strh w8, [sp, #14] strh wzr, [sp, #12] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldrh w8, [sp, #12] ; kill: def $x8 killed $w8 subs x8, x8, #1 cset w8, hs tbnz w8, #0, LBB1_3 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldrh w8, [sp, #12] mov x9, x8 add x8, sp, #14 ldrh w9, [x8, x9, lsl #1] and w10, w9, #0x1f ldrh w9, [sp, #12] ; kill: def $x9 killed $w9 add x9, x8, x9, lsl #1 ldrh w8, [x9] orr w8, w8, w10, lsl #4 strh w8, [x9] ldrh w8, [sp, #12] add w8, w8, #1 strh w8, [sp, #12] b LBB1_1 LBB1_3: ldrh w9, [sp, #14] ldrh w8, [sp, #14] lsl w8, w8, #15 orr w8, w8, w9, asr #1 ldr x9, [sp, #16] strh w8, [x9] add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] bl _megaInit ldur w8, [x29, #-8] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: mov x9, sp mov x8, #1 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #-1 bl _exit LBB2_2: b LBB2_3 LBB2_3: str wzr, [sp, #24] b LBB2_4 LBB2_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] subs w8, w8, #1 cset w8, ge tbnz w8, #0, LBB2_6 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_4 Depth=1 ldur x8, [x29, #-16] ldr w9, [sp, #24] add w9, w9, #1 ldr x0, [x8, w9, sxtw #3] mov x1, #0 mov w2, #10 bl _strtoul mov x8, x0 strh w8, [sp, #22] ldrh w8, [sp, #22] ldrsw x10, [sp, #24] sub x9, x29, #18 add x9, x9, x10, lsl #1 strh w8, [x9] ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB2_4 LBB2_6: sub x0, x29, #18 sub x1, x29, #20 bl _RandomFunc ldurh w8, [x29, #-20] mov w9, #31026 subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB2_8 b LBB2_7 LBB2_7: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB2_9 LBB2_8: b LBB2_9 LBB2_9: str wzr, [sp, #16] b LBB2_10 LBB2_10: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] subs w8, w8, #1 cset w8, ge tbnz w8, #0, LBB2_12 b LBB2_11 LBB2_11: ; in Loop: Header=BB2_10 Depth=1 ldrsw x9, [sp, #16] sub x8, x29, #20 ldrh w10, [x8, x9, lsl #1] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB2_10 LBB2_12: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Call this program with %i arguments\n" l_.str.1: ; @.str.1 .asciz "You win!\n" l_.str.2: ; @.str.2 .asciz "%u\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _megaInit ## -- Begin function megaInit .p2align 4, 0x90 _megaInit: ## @megaInit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _RandomFunc ## -- Begin function RandomFunc .p2align 4, 0x90 _RandomFunc: ## @RandomFunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movzwl (%rax), %eax ## kill: def $rax killed $eax addq $914778474, %rax ## imm = 0x3686696A xorq $11, %rax ## kill: def $ax killed $ax killed $rax movw %ax, -18(%rbp) movw $0, -20(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movzwl -20(%rbp), %eax ## kill: def $rax killed $eax cmpq $1, %rax jae LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movzwl -20(%rbp), %eax ## kill: def $rax killed $eax movzwl -18(%rbp,%rax,2), %edx andl $31, %edx shll $4, %edx movzwl -20(%rbp), %eax ## kill: def $rax killed $eax movzwl -18(%rbp,%rax,2), %ecx orl %edx, %ecx ## kill: def $cx killed $cx killed $ecx movw %cx, -18(%rbp,%rax,2) movw -20(%rbp), %ax addw $1, %ax movw %ax, -20(%rbp) jmp LBB1_1 LBB1_3: movzwl -18(%rbp), %eax sarl $1, %eax movzwl -18(%rbp), %ecx shll $15, %ecx orl %ecx, %eax movw %ax, %cx movq -16(%rbp), %rax movw %cx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) callq _megaInit cmpl $2, -8(%rbp) je LBB2_2 ## %bb.1: leaq L_.str(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax movl $1, %esi callq _printf movl $-1, %edi callq _exit LBB2_2: jmp LBB2_3 LBB2_3: movl $0, -24(%rbp) LBB2_4: ## =>This Inner Loop Header: Depth=1 cmpl $1, -24(%rbp) jge LBB2_6 ## %bb.5: ## in Loop: Header=BB2_4 Depth=1 movq -16(%rbp), %rax movl -24(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rdi xorl %eax, %eax movl %eax, %esi movl $10, %edx callq _strtoul ## kill: def $ax killed $ax killed $rax movw %ax, -26(%rbp) movw -26(%rbp), %cx movslq -24(%rbp), %rax movw %cx, -18(%rbp,%rax,2) movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB2_4 LBB2_6: leaq -18(%rbp), %rdi leaq -20(%rbp), %rsi callq _RandomFunc movzwl -20(%rbp), %eax cmpl $31026, %eax ## imm = 0x7932 jne LBB2_8 ## %bb.7: leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf jmp LBB2_9 LBB2_8: jmp LBB2_9 LBB2_9: movl $0, -32(%rbp) LBB2_10: ## =>This Inner Loop Header: Depth=1 cmpl $1, -32(%rbp) jge LBB2_12 ## %bb.11: ## in Loop: Header=BB2_10 Depth=1 movslq -32(%rbp), %rax movzwl -20(%rbp,%rax,2), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB2_10 LBB2_12: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Call this program with %i arguments\n" L_.str.1: ## @.str.1 .asciz "You win!\n" L_.str.2: ## @.str.2 .asciz "%u\n" .subsections_via_symbols
the_stack_data/147903.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo2 ; -- Begin function foo2 .p2align 2 _foo2: ; @foo2 .cfi_startproc ; %bb.0: adrp x8, _foo2.arr@PAGE add x8, x8, _foo2.arr@PAGEOFF mov w9, #13 str w9, [x8, #776] add x0, x8, #4 ret .cfi_endproc ; -- End function .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _foo2 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #12] ; 4-byte Folded Spill stur wzr, [x29, #-4] bl _foo str x0, [sp, #16] ldr x8, [sp, #16] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_foo2.arr,4096,2 ; @foo2.arr .zerofill __DATA,__bss,_foo.arr,492,2 ; @foo.arr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo2 ## -- Begin function foo2 .p2align 4, 0x90 _foo2: ## @foo2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $13, _foo2.arr+776(%rip) leaq _foo2.arr(%rip), %rax addq $4, %rax popq %rbp retq .cfi_endproc ## -- End function .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _foo2 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) callq _foo movq %rax, -16(%rbp) movq -16(%rbp), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_foo2.arr,4096,4 ## @foo2.arr .zerofill __DATA,__bss,_foo.arr,492,4 ## @foo.arr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d\n" .subsections_via_symbols
the_stack_data/7951422.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #16] ; 4-byte Folded Spill stur wzr, [x29, #-4] mov w8, #76 stur w8, [x29, #-8] mov w8, #47186 movk w8, #16949, lsl #16 fmov s0, w8 stur s0, [x29, #-12] ldur s0, [x29, #-8] scvtf s0, s0 stur s0, [x29, #-12] ldur s0, [x29, #-12] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldr w0, [sp, #16] ; 4-byte Folded Reload ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%.2f" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x4235b852 ## float 45.4300003 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $76, -8(%rbp) movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -12(%rbp) cvtsi2ssl -8(%rbp), %xmm0 movss %xmm0, -12(%rbp) movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%.2f" .subsections_via_symbols
the_stack_data/165766942.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] mov w9, #34464 movk w9, #1, lsl #16 subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_1 LBB0_4: bl _bar str w0, [sp, #4] stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] ldr w9, [sp, #4] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_8: stur wzr, [x29, #-4] b LBB0_9 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 ldur w8, [x29, #-4] ldr w9, [sp, #4] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_16 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_9 Depth=1 str wzr, [sp, #8] b LBB0_11 LBB0_11: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #8] ldr w9, [sp, #4] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_14 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_11 Depth=2 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_11 Depth=2 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB0_11 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_9 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_9 LBB0_16: stur wzr, [x29, #-4] b LBB0_17 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] mov w9, #10000 subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_20 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_17 Depth=1 bl _bar b LBB0_19 LBB0_19: ; in Loop: Header=BB0_17 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_17 LBB0_20: stur wzr, [x29, #-4] b LBB0_21 LBB0_21: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] ldr w9, [sp, #4] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_22 LBB0_22: ; in Loop: Header=BB0_21 Depth=1 b LBB0_23 LBB0_23: ; in Loop: Header=BB0_21 Depth=1 ldur w8, [x29, #-4] add w8, w8, #2 stur w8, [x29, #-4] b LBB0_21 LBB0_24: 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 subq $16, %rsp movl $0, -4(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $100000, -4(%rbp) ## imm = 0x186A0 jae LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_3 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_1 LBB0_4: callq _bar movl %eax, -12(%rbp) movl $0, -4(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax cmpl -12(%rbp), %eax jae LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_8: movl $0, -4(%rbp) LBB0_9: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 movl -4(%rbp), %eax cmpl -12(%rbp), %eax jae LBB0_16 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movl $0, -8(%rbp) LBB0_11: ## Parent Loop BB0_9 Depth=1 ## => This Inner Loop Header: Depth=2 movl -8(%rbp), %eax cmpl -12(%rbp), %eax jae LBB0_14 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 jmp LBB0_13 LBB0_13: ## in Loop: Header=BB0_11 Depth=2 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_11 LBB0_14: ## in Loop: Header=BB0_9 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_9 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_9 LBB0_16: movl $0, -4(%rbp) LBB0_17: ## =>This Inner Loop Header: Depth=1 cmpl $10000, -4(%rbp) ## imm = 0x2710 jae LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 callq _bar ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_17 LBB0_20: movl $0, -4(%rbp) LBB0_21: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax cmpl -12(%rbp), %eax je LBB0_24 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 jmp LBB0_23 LBB0_23: ## in Loop: Header=BB0_21 Depth=1 movl -4(%rbp), %eax addl $2, %eax movl %eax, -4(%rbp) jmp LBB0_21 LBB0_24: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/467037.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF mov w1, #1 bl _open stur w0, [x29, #-8] stur wzr, [x29, #-12] mov x8, #16960 movk x8, #15, lsl #16 str x8, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, le tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w0, [x29, #-8] sub x1, x29, #12 mov x2, #4 bl _write b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] subs x8, x8, #1 str x8, [sp, #8] b LBB0_1 LBB0_4: ldur w0, [x29, #-8] bl _close mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/dev/null" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi movl $1, %esi movb $0, %al callq _open movl %eax, -8(%rbp) movl $0, -12(%rbp) movq $1000000, -24(%rbp) ## imm = 0xF4240 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, -24(%rbp) jle LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %edi leaq -12(%rbp), %rsi movl $4, %edx callq _write ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax addq $-1, %rax movq %rax, -24(%rbp) jmp LBB0_1 LBB0_4: movl -8(%rbp), %edi callq _close xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/dev/null" .subsections_via_symbols
the_stack_data/111079123.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _swap ; -- Begin function swap .p2align 2 _swap: ; @swap .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str x1, [sp, #16] ldr x8, [sp, #24] ldr w8, [x8] str w8, [sp, #12] ldr x8, [sp, #16] ldr w8, [x8] ldr x9, [sp, #24] str w8, [x9] ldr w8, [sp, #12] ldr x9, [sp, #16] str w8, [x9] add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _selectionSort ; -- Begin function selectionSort .p2align 2 _selectionSort: ; @selectionSort .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] str x1, [sp, #16] str w2, [sp, #12] str wzr, [sp, #8] b LBB1_1 LBB1_1: ; =>This Loop Header: Depth=1 ; Child Loop BB1_3 Depth 2 ldr w8, [sp, #8] ldr w9, [sp, #12] subs w9, w9, #1 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_10 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #8] str w8, [sp] ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #4] b LBB1_3 LBB1_3: ; Parent Loop BB1_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #4] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_8 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=2 ldur x8, [x29, #-8] ldrsw x9, [sp, #4] ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-8] ldrsw x10, [sp] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_6 b LBB1_5 LBB1_5: ; in Loop: Header=BB1_3 Depth=2 ldr w8, [sp, #4] str w8, [sp] b LBB1_6 LBB1_6: ; in Loop: Header=BB1_3 Depth=2 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_3 Depth=2 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB1_3 LBB1_8: ; in Loop: Header=BB1_1 Depth=1 ldur x8, [x29, #-8] ldrsw x9, [sp] add x0, x8, x9, lsl #2 ldur x8, [x29, #-8] ldrsw x9, [sp, #8] add x1, x8, x9, lsl #2 bl _swap ldr x8, [sp, #16] ldrsw x9, [sp] add x0, x8, x9, lsl #2 ldr x8, [sp, #16] ldrsw x9, [sp, #8] add x1, x8, x9, lsl #2 bl _swap b LBB1_9 LBB1_9: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_1 LBB1_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub sp, sp, #976 adrp x8, _process@GOTPAGE ldr x8, [x8, _process@GOTPAGEOFF] str x8, [sp, #160] ; 8-byte Folded Spill adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #324] str wzr, [sp, #316] str wzr, [sp, #312] str wzr, [sp, #308] str wzr, [sp, #300] movi d0, #0000000000000000 str s0, [sp, #292] str s0, [sp, #288] str wzr, [sp, #284] str wzr, [sp, #280] str wzr, [sp, #276] str s0, [sp, #224] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp add x8, sp, #320 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w8, [sp, #320] str w8, [sp, #276] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf str wzr, [sp, #220] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #220] ldr w9, [sp, #320] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_4 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #220] add w10, w8, #1 mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldr x9, [sp, #160] ; 8-byte Folded Reload ldr w8, [sp, #220] add w8, w8, #1 ldrsw x10, [sp, #220] mov x11, #28 str x11, [sp, #152] ; 8-byte Folded Spill mul x10, x10, x11 str w8, [x9, x10] ldr w8, [sp, #220] add w8, w8, #1 ldrsw x10, [sp, #220] sub x9, x29, #184 str w8, [x9, x10, lsl #2] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf ldr x10, [sp, #152] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #220] mul x9, x9, x10 add x8, x8, x9 add x8, x8, #4 mov x9, sp str x8, [x9] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF str x0, [sp, #144] ; 8-byte Folded Spill bl _scanf ldr x10, [sp, #152] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #220] mul x11, x9, x10 mov x9, x8 add x9, x9, x11 ldr s0, [x9, #4] fcvtzs w9, s0 ldrsw x12, [sp, #220] add x11, sp, #728 str w9, [x11, x12, lsl #2] ldrsw x9, [sp, #220] mul x11, x9, x10 mov x9, x8 add x9, x9, x11 strb wzr, [x9, #25] ldrsw x9, [sp, #220] mul x9, x9, x10 add x8, x8, x9 strb wzr, [x8, #24] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldr x10, [sp, #152] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldr x0, [sp, #144] ; 8-byte Folded Reload ldrsw x9, [sp, #220] mul x9, x9, x10 add x8, x8, x9 add x8, x8, #8 mov x9, sp str x8, [x9] bl _scanf ldr x10, [sp, #152] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #220] mul x11, x9, x10 mov x9, x8 add x9, x9, x11 ldr s0, [x9, #8] ldrsw x9, [sp, #220] mul x9, x9, x10 add x8, x8, x9 str s0, [x8, #12] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #220] add w8, w8, #1 str w8, [sp, #220] b LBB2_1 LBB2_4: adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf str wzr, [sp, #216] b LBB2_5 LBB2_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #216] ldr w9, [sp, #320] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_8 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_5 Depth=1 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #216] mov x11, #28 mul x9, x9, x11 ldr w10, [x8, x9] ; implicit-def: $x9 mov x9, x10 ldrsw x10, [sp, #216] mul x12, x10, x11 mov x10, x8 add x10, x10, x12 ldr s0, [x10, #4] fcvt d1, s0 ldrsw x10, [sp, #216] mul x10, x10, x11 add x8, x8, x10 ldr s0, [x8, #8] fcvt d0, s0 mov x8, sp str x9, [x8] str d1, [x8, #8] str d0, [x8, #16] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB2_7 LBB2_7: ; in Loop: Header=BB2_5 Depth=1 ldr w8, [sp, #216] add w8, w8, #1 str w8, [sp, #216] b LBB2_5 LBB2_8: adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf mov w0, #1 str w0, [sp, #140] ; 4-byte Folded Spill bl _sleep adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf ldr w0, [sp, #140] ; 4-byte Folded Reload bl _sleep ldr w2, [sp, #320] add x0, sp, #728 sub x1, x29, #184 bl _selectionSort adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf str wzr, [sp, #212] b LBB2_9 LBB2_9: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #212] ldr w9, [sp, #320] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_12 b LBB2_10 LBB2_10: ; in Loop: Header=BB2_9 Depth=1 ldr x12, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #212] sub x8, x29, #184 ldr w9, [x8, x9, lsl #2] ; implicit-def: $x10 mov x10, x9 ldrsw x11, [sp, #212] add x9, sp, #728 ldr w11, [x9, x11, lsl #2] ; implicit-def: $x9 mov x9, x11 ldrsw x11, [sp, #212] ldr w8, [x8, x11, lsl #2] subs w8, w8, #1 mov w11, #28 smaddl x8, w8, w11, x12 ldr s0, [x8, #8] fcvt d0, s0 mov x8, sp str x10, [x8] str x9, [x8, #8] str d0, [x8, #16] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf b LBB2_11 LBB2_11: ; in Loop: Header=BB2_9 Depth=1 ldr w8, [sp, #212] add w8, w8, #1 str w8, [sp, #212] b LBB2_9 LBB2_12: ldr s0, [sp, #728] scvtf s0, s0 str s0, [sp, #288] str wzr, [sp, #316] b LBB2_13 LBB2_13: ; =>This Loop Header: Depth=1 ; Child Loop BB2_15 Depth 2 ; Child Loop BB2_23 Depth 2 ; Child Loop BB2_30 Depth 2 ; Child Loop BB2_32 Depth 3 ; Child Loop BB2_38 Depth 3 ; Child Loop BB2_47 Depth 4 ; Child Loop BB2_56 Depth 2 ; Child Loop BB2_58 Depth 3 ; Child Loop BB2_64 Depth 3 ; Child Loop BB2_73 Depth 4 ldr w8, [sp, #276] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB2_85 b LBB2_14 LBB2_14: ; in Loop: Header=BB2_13 Depth=1 ldr w8, [sp, #316] str w8, [sp, #208] b LBB2_15 LBB2_15: ; Parent Loop BB2_13 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #208] ldr w9, [sp, #320] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_21 b LBB2_16 LBB2_16: ; in Loop: Header=BB2_15 Depth=2 ldr x10, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #208] sub x8, x29, #184 ldr w8, [x8, x9, lsl #2] subs w8, w8, #1 mov w9, #28 smaddl x8, w8, w9, x10 ldr s0, [x8, #4] ldr s1, [sp, #288] fcmp s0, s1 cset w8, hi tbnz w8, #0, LBB2_19 b LBB2_17 LBB2_17: ; in Loop: Header=BB2_15 Depth=2 ldr x10, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #208] sub x8, x29, #184 ldr w8, [x8, x9, lsl #2] subs w8, w8, #1 mov w9, #28 smaddl x8, w8, w9, x10 ldrb w8, [x8, #24] ands w8, w8, #0x1 cset w8, ne tbnz w8, #0, LBB2_19 b LBB2_18 LBB2_18: ; in Loop: Header=BB2_15 Depth=2 ldr x11, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #208] sub x8, x29, #184 ldr w9, [x8, x9, lsl #2] subs w9, w9, #1 mov x12, x11 mov w10, #28 smaddl x10, w9, w10, x12 mov w9, #1 strb w9, [x10, #24] ldrsw x9, [sp, #208] ldr w9, [x8, x9, lsl #2] subs w9, w9, #1 mov w10, #28 smaddl x9, w9, w10, x11 ldr s1, [x9, #8] ldr s0, [sp, #292] fadd s0, s0, s1 str s0, [sp, #292] ldrsw x9, [sp, #208] ldr w8, [x8, x9, lsl #2] ldrsw x10, [sp, #312] add x9, sp, #648 str w8, [x9, x10, lsl #2] ldr w8, [sp, #312] add w8, w8, #1 str w8, [sp, #312] b LBB2_19 LBB2_19: ; in Loop: Header=BB2_15 Depth=2 b LBB2_20 LBB2_20: ; in Loop: Header=BB2_15 Depth=2 ldr w8, [sp, #208] add w8, w8, #1 str w8, [sp, #208] b LBB2_15 LBB2_21: ; in Loop: Header=BB2_13 Depth=1 ldr w8, [sp, #312] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB2_82 b LBB2_22 LBB2_22: ; in Loop: Header=BB2_13 Depth=1 ldr s0, [sp, #292] ldr s1, [sp, #312] scvtf s1, s1 fdiv s0, s0, s1 str s0, [sp, #268] ldr s0, [sp, #268] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf str wzr, [sp, #204] b LBB2_23 LBB2_23: ; Parent Loop BB2_13 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #204] ldr w9, [sp, #312] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_29 b LBB2_24 LBB2_24: ; in Loop: Header=BB2_23 Depth=2 ldr x10, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #204] add x8, sp, #648 ldr w8, [x8, x9, lsl #2] subs w8, w8, #1 mov w9, #28 smaddl x8, w8, w9, x10 ldr s0, [x8, #8] ldr s1, [sp, #268] fcmp s0, s1 cset w8, hi tbnz w8, #0, LBB2_26 b LBB2_25 LBB2_25: ; in Loop: Header=BB2_23 Depth=2 ldr x11, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #204] add x8, sp, #648 str x8, [sp, #128] ; 8-byte Folded Spill ldr w9, [x8, x9, lsl #2] subs w9, w9, #1 ldrsw x12, [sp, #308] add x10, sp, #568 str w9, [x10, x12, lsl #2] ldrsw x9, [sp, #204] ldr w9, [x8, x9, lsl #2] subs w9, w9, #1 mov w10, #28 smull x9, w9, w10 ldr w10, [x11, x9] ; implicit-def: $x9 mov x9, x10 ldrsw x10, [sp, #204] ldr w8, [x8, x10, lsl #2] subs w8, w8, #1 mov w10, #28 smaddl x8, w8, w10, x11 ldr s0, [x8, #8] fcvt d0, s0 mov x8, sp str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf ldr x9, [sp, #128] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #204] ldr w10, [x9, x10, lsl #2] subs w10, w10, #1 mov x12, x8 mov w11, #28 smaddl x10, w10, w11, x12 ldr s0, [x10, #8] fcvtzs w10, s0 ldrsw x12, [sp, #308] add x11, sp, #408 str w10, [x11, x12, lsl #2] ldrsw x10, [sp, #204] ldr w9, [x9, x10, lsl #2] subs w9, w9, #1 mov w10, #28 smull x9, w9, w10 ldr w9, [x8, x9] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf ldr w8, [sp, #308] add w8, w8, #1 str w8, [sp, #308] ldr w8, [sp, #308] str w8, [sp, #284] b LBB2_27 LBB2_26: ; in Loop: Header=BB2_23 Depth=2 ldr x11, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #204] add x8, sp, #648 str x8, [sp, #120] ; 8-byte Folded Spill ldr w9, [x8, x9, lsl #2] subs w9, w9, #1 ldrsw x12, [sp, #300] add x10, sp, #488 str w9, [x10, x12, lsl #2] ldrsw x9, [sp, #204] ldr w9, [x8, x9, lsl #2] subs w9, w9, #1 mov w10, #28 smull x9, w9, w10 ldr w10, [x11, x9] ; implicit-def: $x9 mov x9, x10 ldrsw x10, [sp, #204] ldr w8, [x8, x10, lsl #2] subs w8, w8, #1 mov w10, #28 smaddl x8, w8, w10, x11 ldr s0, [x8, #8] fcvt d0, s0 mov x8, sp str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf ldr x9, [sp, #120] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #204] ldr w10, [x9, x10, lsl #2] subs w10, w10, #1 mov x12, x8 mov w11, #28 smaddl x10, w10, w11, x12 ldr s0, [x10, #8] fcvtzs w10, s0 ldrsw x12, [sp, #300] add x11, sp, #328 str w10, [x11, x12, lsl #2] ldrsw x10, [sp, #204] ldr w9, [x9, x10, lsl #2] subs w9, w9, #1 mov w10, #28 smull x9, w9, w10 ldr w9, [x8, x9] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf ldr w8, [sp, #300] add w8, w8, #1 str w8, [sp, #300] ldr w8, [sp, #300] str w8, [sp, #280] b LBB2_27 LBB2_27: ; in Loop: Header=BB2_23 Depth=2 b LBB2_28 LBB2_28: ; in Loop: Header=BB2_23 Depth=2 ldr w8, [sp, #204] add w8, w8, #1 str w8, [sp, #204] b LBB2_23 LBB2_29: ; in Loop: Header=BB2_13 Depth=1 ldr w2, [sp, #308] add x0, sp, #408 add x1, sp, #568 bl _selectionSort b LBB2_30 LBB2_30: ; Parent Loop BB2_13 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_32 Depth 3 ; Child Loop BB2_38 Depth 3 ; Child Loop BB2_47 Depth 4 ldr w8, [sp, #308] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB2_55 b LBB2_31 LBB2_31: ; in Loop: Header=BB2_30 Depth=2 str wzr, [sp, #232] str wzr, [sp, #200] b LBB2_32 LBB2_32: ; Parent Loop BB2_13 Depth=1 ; Parent Loop BB2_30 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #200] ldr w9, [sp, #308] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_35 b LBB2_33 LBB2_33: ; in Loop: Header=BB2_32 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #200] add x9, sp, #568 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldr s1, [x8, #12] ldr s0, [sp, #256] fadd s0, s0, s1 str s0, [sp, #256] b LBB2_34 LBB2_34: ; in Loop: Header=BB2_32 Depth=3 ldr w8, [sp, #200] add w8, w8, #1 str w8, [sp, #200] b LBB2_32 LBB2_35: ; in Loop: Header=BB2_30 Depth=2 ldr s0, [sp, #256] ldr s1, [sp, #284] scvtf s1, s1 fdiv s0, s0, s1 str s0, [sp, #264] ldr s0, [sp, #264] fcmp s0, #0.0 cset w8, eq tbnz w8, #0, LBB2_37 b LBB2_36 LBB2_36: ; in Loop: Header=BB2_30 Depth=2 ldr s0, [sp, #264] ldrsw x9, [sp, #236] sub x8, x29, #104 str s0, [x8, x9, lsl #2] ldr w8, [sp, #236] add w8, w8, #1 str w8, [sp, #236] b LBB2_37 LBB2_37: ; in Loop: Header=BB2_30 Depth=2 str wzr, [sp, #196] b LBB2_38 LBB2_38: ; Parent Loop BB2_13 Depth=1 ; Parent Loop BB2_30 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB2_47 Depth 4 ldr w8, [sp, #196] ldr w9, [sp, #308] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_54 b LBB2_39 LBB2_39: ; in Loop: Header=BB2_38 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #196] add x9, sp, #568 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #12] ldr s1, [sp, #264] fsub s0, s0, s1 str s0, [sp, #272] ldr s0, [sp, #272] fcmp s0, #0.0 cset w8, hi tbnz w8, #0, LBB2_42 b LBB2_40 LBB2_40: ; in Loop: Header=BB2_38 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #196] add x9, sp, #568 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldrb w8, [x8, #25] ands w8, w8, #0x1 cset w8, ne tbnz w8, #0, LBB2_42 b LBB2_41 LBB2_41: ; in Loop: Header=BB2_38 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #196] add x9, sp, #568 str x9, [sp, #104] ; 8-byte Folded Spill ldrsw x11, [x9, x10, lsl #2] mov x10, #28 str x10, [sp, #112] ; 8-byte Folded Spill mul x12, x11, x10 mov x11, x8 add x12, x11, x12 mov w11, #1 strb w11, [x12, #25] ldr s0, [sp, #288] ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #12] fadd s0, s0, s1 ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #4] fsub s0, s0, s1 ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 str s0, [x11, #20] ldrsw x11, [sp, #196] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #20] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf ldr x9, [sp, #104] ; 8-byte Folded Reload ldr x10, [sp, #112] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s0, [x11, #20] ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #8] fsub s0, s0, s1 ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 str s0, [x11, #16] ldrsw x11, [sp, #196] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #16] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldr x9, [sp, #104] ; 8-byte Folded Reload ldr x10, [sp, #112] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x11, [sp, #196] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #12] ldr s0, [sp, #288] fadd s0, s0, s1 str s0, [sp, #288] ldrsw x11, [sp, #196] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #12] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf ldr s0, [sp, #288] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.19@PAGE add x0, x0, l_.str.19@PAGEOFF bl _printf ldr x9, [sp, #104] ; 8-byte Folded Reload ldr x10, [sp, #112] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldr s0, [sp, #288] str s0, [sp, #248] ldrsw x11, [sp, #196] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 movi d0, #0000000000000000 str s0, [x8, #12] ldr w8, [sp, #284] subs w8, w8, #1 str w8, [sp, #284] ldr w8, [sp, #316] add w8, w8, #1 str w8, [sp, #316] ldr w8, [sp, #276] subs w8, w8, #1 str w8, [sp, #276] ldr w9, [sp, #276] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.20@PAGE add x0, x0, l_.str.20@PAGEOFF bl _printf b LBB2_46 LBB2_42: ; in Loop: Header=BB2_38 Depth=3 ldr s0, [sp, #272] fcmp s0, #0.0 cset w8, le tbnz w8, #0, LBB2_45 b LBB2_43 LBB2_43: ; in Loop: Header=BB2_38 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #196] add x9, sp, #568 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldrb w8, [x8, #25] ands w8, w8, #0x1 cset w8, ne tbnz w8, #0, LBB2_45 b LBB2_44 LBB2_44: ; in Loop: Header=BB2_38 Depth=3 adrp x0, l_.str.21@PAGE add x0, x0, l_.str.21@PAGEOFF bl _printf ldr x8, [sp, #160] ; 8-byte Folded Reload ldr s0, [sp, #272] ldrsw x9, [sp, #196] add x10, sp, #568 ldrsw x9, [x10, x9, lsl #2] mov x11, #28 mul x12, x9, x11 mov x9, x8 add x9, x9, x12 str s0, [x9, #12] ldrsw x9, [sp, #196] ldrsw x9, [x10, x9, lsl #2] mul x9, x9, x11 ldr w12, [x8, x9] ; implicit-def: $x9 mov x9, x12 ldrsw x12, [sp, #196] ldrsw x10, [x10, x12, lsl #2] mul x10, x10, x11 add x8, x8, x10 ldr s0, [x8, #12] fcvt d0, s0 mov x8, sp str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.22@PAGE add x0, x0, l_.str.22@PAGEOFF bl _printf ldr s1, [sp, #264] ldr s0, [sp, #288] fadd s0, s0, s1 str s0, [sp, #288] ldr s0, [sp, #288] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.23@PAGE add x0, x0, l_.str.23@PAGEOFF bl _printf b LBB2_45 LBB2_45: ; in Loop: Header=BB2_38 Depth=3 b LBB2_46 LBB2_46: ; in Loop: Header=BB2_38 Depth=3 str wzr, [sp, #192] b LBB2_47 LBB2_47: ; Parent Loop BB2_13 Depth=1 ; Parent Loop BB2_30 Depth=2 ; Parent Loop BB2_38 Depth=3 ; => This Inner Loop Header: Depth=4 ldr w8, [sp, #192] ldr w9, [sp, #308] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_50 b LBB2_48 LBB2_48: ; in Loop: Header=BB2_47 Depth=4 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #192] add x9, sp, #568 str x9, [sp, #88] ; 8-byte Folded Spill ldrsw x11, [x9, x10, lsl #2] mov x10, #28 str x10, [sp, #96] ; 8-byte Folded Spill mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #12] ldr s0, [sp, #304] scvtf s0, s0 fadd s0, s0, s1 fcvtzs w11, s0 str w11, [sp, #304] ldrsw x11, [sp, #192] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #12] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.24@PAGE add x0, x0, l_.str.24@PAGEOFF bl _printf ldr x9, [sp, #88] ; 8-byte Folded Reload ldr x10, [sp, #96] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x11, [sp, #192] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 ldr w9, [x8, x9] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.25@PAGE add x0, x0, l_.str.25@PAGEOFF bl _printf b LBB2_49 LBB2_49: ; in Loop: Header=BB2_47 Depth=4 ldr w8, [sp, #192] add w8, w8, #1 str w8, [sp, #192] b LBB2_47 LBB2_50: ; in Loop: Header=BB2_38 Depth=3 ldr w8, [sp, #304] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB2_52 b LBB2_51 LBB2_51: ; in Loop: Header=BB2_38 Depth=3 str wzr, [sp, #308] b LBB2_52 LBB2_52: ; in Loop: Header=BB2_38 Depth=3 movi d0, #0000000000000000 str s0, [sp, #256] str wzr, [sp, #304] b LBB2_53 LBB2_53: ; in Loop: Header=BB2_38 Depth=3 ldr w8, [sp, #196] add w8, w8, #1 str w8, [sp, #196] b LBB2_38 LBB2_54: ; in Loop: Header=BB2_30 Depth=2 b LBB2_30 LBB2_55: ; in Loop: Header=BB2_13 Depth=1 ldr w2, [sp, #300] add x0, sp, #328 add x1, sp, #488 bl _selectionSort b LBB2_56 LBB2_56: ; Parent Loop BB2_13 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_58 Depth 3 ; Child Loop BB2_64 Depth 3 ; Child Loop BB2_73 Depth 4 ldr w8, [sp, #300] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB2_81 b LBB2_57 LBB2_57: ; in Loop: Header=BB2_56 Depth=2 str wzr, [sp, #232] str wzr, [sp, #188] b LBB2_58 LBB2_58: ; Parent Loop BB2_13 Depth=1 ; Parent Loop BB2_56 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #188] ldr w9, [sp, #300] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_61 b LBB2_59 LBB2_59: ; in Loop: Header=BB2_58 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #188] add x9, sp, #488 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldr s1, [x8, #12] ldr s0, [sp, #252] fadd s0, s0, s1 str s0, [sp, #252] b LBB2_60 LBB2_60: ; in Loop: Header=BB2_58 Depth=3 ldr w8, [sp, #188] add w8, w8, #1 str w8, [sp, #188] b LBB2_58 LBB2_61: ; in Loop: Header=BB2_56 Depth=2 ldr s0, [sp, #252] ldr s1, [sp, #280] scvtf s1, s1 fdiv s0, s0, s1 str s0, [sp, #260] ldr s0, [sp, #260] fcmp s0, #0.0 cset w8, eq tbnz w8, #0, LBB2_63 b LBB2_62 LBB2_62: ; in Loop: Header=BB2_56 Depth=2 ldr s0, [sp, #260] ldrsw x9, [sp, #236] sub x8, x29, #104 str s0, [x8, x9, lsl #2] ldr w8, [sp, #236] add w8, w8, #1 str w8, [sp, #236] b LBB2_63 LBB2_63: ; in Loop: Header=BB2_56 Depth=2 str wzr, [sp, #184] b LBB2_64 LBB2_64: ; Parent Loop BB2_13 Depth=1 ; Parent Loop BB2_56 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB2_73 Depth 4 ldr w8, [sp, #184] ldr w9, [sp, #300] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_80 b LBB2_65 LBB2_65: ; in Loop: Header=BB2_64 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #184] add x9, sp, #488 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #12] ldr s1, [sp, #260] fsub s0, s0, s1 str s0, [sp, #272] ldr s0, [sp, #272] fcmp s0, #0.0 cset w8, hi tbnz w8, #0, LBB2_68 b LBB2_66 LBB2_66: ; in Loop: Header=BB2_64 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #184] add x9, sp, #488 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldrb w8, [x8, #25] ands w8, w8, #0x1 cset w8, ne tbnz w8, #0, LBB2_68 b LBB2_67 LBB2_67: ; in Loop: Header=BB2_64 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #184] add x9, sp, #488 str x9, [sp, #64] ; 8-byte Folded Spill ldrsw x11, [x9, x10, lsl #2] mov x10, #28 str x10, [sp, #72] ; 8-byte Folded Spill mul x12, x11, x10 mov x11, x8 add x12, x11, x12 mov w11, #1 strb w11, [x12, #25] ldr s0, [sp, #288] ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #12] fadd s0, s0, s1 ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #4] fsub s0, s0, s1 ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 str s0, [x11, #20] ldrsw x11, [sp, #184] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #20] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x10, [sp, #72] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s0, [x11, #20] ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #8] fsub s0, s0, s1 ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 str s0, [x11, #16] ldrsw x11, [sp, #184] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #16] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x10, [sp, #72] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x11, [sp, #184] ldrsw x11, [x9, x11, lsl #2] mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #12] ldr s0, [sp, #288] fadd s0, s0, s1 str s0, [sp, #288] ldrsw x11, [sp, #184] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #12] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf ldr s0, [sp, #288] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.26@PAGE add x0, x0, l_.str.26@PAGEOFF bl _printf ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x10, [sp, #72] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldr s0, [sp, #288] str s0, [sp, #248] ldrsw x11, [sp, #184] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 movi d0, #0000000000000000 str s0, [x8, #12] ldr w8, [sp, #280] mov w9, #1 str w9, [sp, #84] ; 4-byte Folded Spill subs w8, w8, #1 str w8, [sp, #280] ldr w8, [sp, #316] add w8, w8, #1 str w8, [sp, #316] ldr w8, [sp, #276] subs w8, w8, #1 str w8, [sp, #276] ldr w9, [sp, #276] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.27@PAGE add x0, x0, l_.str.27@PAGEOFF bl _printf ldr w0, [sp, #84] ; 4-byte Folded Reload bl _sleep b LBB2_72 LBB2_68: ; in Loop: Header=BB2_64 Depth=3 ldr s0, [sp, #272] fcmp s0, #0.0 cset w8, le tbnz w8, #0, LBB2_71 b LBB2_69 LBB2_69: ; in Loop: Header=BB2_64 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #184] add x9, sp, #488 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 ldrb w8, [x8, #25] ands w8, w8, #0x1 cset w8, ne tbnz w8, #0, LBB2_71 b LBB2_70 LBB2_70: ; in Loop: Header=BB2_64 Depth=3 ldr x8, [sp, #160] ; 8-byte Folded Reload ldr s0, [sp, #272] ldrsw x10, [sp, #184] add x9, sp, #488 ldrsw x9, [x9, x10, lsl #2] mov x10, #28 mul x9, x9, x10 add x8, x8, x9 str s0, [x8, #12] ldr s1, [sp, #260] ldr s0, [sp, #288] fadd s0, s0, s1 str s0, [sp, #288] ldr s0, [sp, #288] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.28@PAGE add x0, x0, l_.str.28@PAGEOFF bl _printf b LBB2_71 LBB2_71: ; in Loop: Header=BB2_64 Depth=3 b LBB2_72 LBB2_72: ; in Loop: Header=BB2_64 Depth=3 str wzr, [sp, #180] b LBB2_73 LBB2_73: ; Parent Loop BB2_13 Depth=1 ; Parent Loop BB2_56 Depth=2 ; Parent Loop BB2_64 Depth=3 ; => This Inner Loop Header: Depth=4 ldr w8, [sp, #180] ldr w9, [sp, #300] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_76 b LBB2_74 LBB2_74: ; in Loop: Header=BB2_73 Depth=4 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x10, [sp, #180] add x9, sp, #488 str x9, [sp, #48] ; 8-byte Folded Spill ldrsw x11, [x9, x10, lsl #2] mov x10, #28 str x10, [sp, #56] ; 8-byte Folded Spill mul x12, x11, x10 mov x11, x8 add x11, x11, x12 ldr s1, [x11, #12] ldr s0, [sp, #296] scvtf s0, s0 fadd s0, s0, s1 fcvtzs w11, s0 str w11, [sp, #296] ldrsw x11, [sp, #180] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #12] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.24@PAGE add x0, x0, l_.str.24@PAGEOFF bl _printf ldr x9, [sp, #48] ; 8-byte Folded Reload ldr x10, [sp, #56] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x11, [sp, #180] ldrsw x9, [x9, x11, lsl #2] mul x9, x9, x10 ldr w9, [x8, x9] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.25@PAGE add x0, x0, l_.str.25@PAGEOFF bl _printf b LBB2_75 LBB2_75: ; in Loop: Header=BB2_73 Depth=4 ldr w8, [sp, #180] add w8, w8, #1 str w8, [sp, #180] b LBB2_73 LBB2_76: ; in Loop: Header=BB2_64 Depth=3 ldr w8, [sp, #296] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB2_78 b LBB2_77 LBB2_77: ; in Loop: Header=BB2_64 Depth=3 str wzr, [sp, #300] b LBB2_78 LBB2_78: ; in Loop: Header=BB2_64 Depth=3 movi d0, #0000000000000000 str s0, [sp, #252] str wzr, [sp, #296] b LBB2_79 LBB2_79: ; in Loop: Header=BB2_64 Depth=3 ldr w8, [sp, #184] add w8, w8, #1 str w8, [sp, #184] b LBB2_64 LBB2_80: ; in Loop: Header=BB2_56 Depth=2 b LBB2_56 LBB2_81: ; in Loop: Header=BB2_13 Depth=1 b LBB2_82 LBB2_82: ; in Loop: Header=BB2_13 Depth=1 ldr w8, [sp, #232] add w8, w8, #1 str w8, [sp, #232] ldr w8, [sp, #232] subs w8, w8, #3 cset w8, le tbnz w8, #0, LBB2_84 b LBB2_83 LBB2_83: ; in Loop: Header=BB2_13 Depth=1 str wzr, [sp, #276] b LBB2_84 LBB2_84: ; in Loop: Header=BB2_13 Depth=1 ldr s0, [sp, #248] str s0, [sp, #288] str wzr, [sp, #312] movi d0, #0000000000000000 str s0, [sp, #292] b LBB2_13 LBB2_85: str wzr, [sp, #176] b LBB2_86 LBB2_86: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #176] ldr w9, [sp, #320] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_89 b LBB2_87 LBB2_87: ; in Loop: Header=BB2_86 Depth=1 ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #176] mov x10, #28 str x10, [sp, #40] ; 8-byte Folded Spill mul x9, x9, x10 ldr w9, [x8, x9] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.29@PAGE add x0, x0, l_.str.29@PAGEOFF bl _printf ldr x10, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #176] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #16] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.30@PAGE add x0, x0, l_.str.30@PAGEOFF bl _printf ldr x10, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #176] mul x11, x9, x10 mov x9, x8 add x9, x9, x11 ldr s1, [x9, #16] ldr s0, [sp, #240] fadd s0, s0, s1 str s0, [sp, #240] ldrsw x9, [sp, #176] mul x9, x9, x10 add x8, x8, x9 ldr s0, [x8, #20] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.31@PAGE add x0, x0, l_.str.31@PAGEOFF bl _printf ldr x10, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #160] ; 8-byte Folded Reload ldrsw x9, [sp, #176] mul x9, x9, x10 add x8, x8, x9 ldr s1, [x8, #20] ldr s0, [sp, #244] fadd s0, s0, s1 str s0, [sp, #244] b LBB2_88 LBB2_88: ; in Loop: Header=BB2_86 Depth=1 ldr w8, [sp, #176] add w8, w8, #1 str w8, [sp, #176] b LBB2_86 LBB2_89: adrp x0, l_.str.32@PAGE add x0, x0, l_.str.32@PAGEOFF bl _printf str wzr, [sp, #172] b LBB2_90 LBB2_90: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #172] ldr w9, [sp, #236] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_96 b LBB2_91 LBB2_91: ; in Loop: Header=BB2_90 Depth=1 ldr w8, [sp, #172] ldr w9, [sp, #236] subs w9, w9, #1 subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB2_93 b LBB2_92 LBB2_92: ; in Loop: Header=BB2_90 Depth=1 ldrsw x9, [sp, #172] sub x8, x29, #104 ldr s0, [x8, x9, lsl #2] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.33@PAGE add x0, x0, l_.str.33@PAGEOFF bl _printf b LBB2_94 LBB2_93: ; in Loop: Header=BB2_90 Depth=1 ldrsw x9, [sp, #172] sub x8, x29, #104 ldr s0, [x8, x9, lsl #2] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.34@PAGE add x0, x0, l_.str.34@PAGEOFF bl _printf b LBB2_94 LBB2_94: ; in Loop: Header=BB2_90 Depth=1 b LBB2_95 LBB2_95: ; in Loop: Header=BB2_90 Depth=1 ldr w8, [sp, #172] add w8, w8, #1 str w8, [sp, #172] b LBB2_90 LBB2_96: ldr s0, [sp, #240] ldr s1, [sp, #320] scvtf s1, s1 fdiv s0, s0, s1 fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.35@PAGE add x0, x0, l_.str.35@PAGEOFF bl _printf ldr s0, [sp, #244] ldr s1, [sp, #320] scvtf s1, s1 fdiv s0, s0, s1 fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.36@PAGE add x0, x0, l_.str.36@PAGEOFF bl _printf ldr w8, [sp, #324] str w8, [sp, #36] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB2_98 b LBB2_97 LBB2_97: bl ___stack_chk_fail LBB2_98: ldr w0, [sp, #36] ; 4-byte Folded Reload add sp, sp, #976 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter Total Number of Processes: " l_.str.1: ; @.str.1 .asciz "%d:" l_.str.2: ; @.str.2 .asciz "-----------------------------------------------\n" l_.str.3: ; @.str.3 .asciz "Enter Detail of Process [%d]\n" .comm _process,560,2 ; @process l_.str.4: ; @.str.4 .asciz "Arrival Time: " l_.str.5: ; @.str.5 .asciz "%f" l_.str.6: ; @.str.6 .asciz "Burst Time: " l_.str.7: ; @.str.7 .asciz "| Process ID | Arrival Time | Burst Time |\n" l_.str.8: ; @.str.8 .asciz "\t%d\t\t\t\t\t%0.2f\t\t\t\t%0.2f\t\n" l_.str.9: ; @.str.9 .asciz "Processing information...\n" l_.str.10: ; @.str.10 .asciz "Rearranging Processes based on Arrival Time\n" l_.str.11: ; @.str.11 .asciz "\t%d\t\t\t\t\t%d\t\t\t\t\t%f\t\n" l_.str.12: ; @.str.12 .asciz "Current Average Burst Time: %f \n" l_.str.13: ; @.str.13 .asciz "Process %d's Burst Time is %f\n" l_.str.14: ; @.str.14 .asciz "Added Proccess %d to light Queue\n" l_.str.15: ; @.str.15 .asciz "Added Proccess %d to heavy Queue\n" l_.str.16: ; @.str.16 .asciz "Turnabout Time: %f\n" l_.str.17: ; @.str.17 .asciz "Waiting Time: %f\n" l_.str.18: ; @.str.18 .asciz "Just in case %f\n" l_.str.19: ; @.str.19 .asciz "Print Elapsed Time from Lqueue: %f\n" l_.str.20: ; @.str.20 .asciz "Process Left LQueue: %d\n" l_.str.21: ; @.str.21 .asciz "Maybe\n" l_.str.22: ; @.str.22 .asciz "What is this product id : %d and new burst : %f\n" l_.str.23: ; @.str.23 .asciz "Time Elapsed: %f\n" l_.str.24: ; @.str.24 .asciz "Remaining Burst Times: %f\n" l_.str.25: ; @.str.25 .asciz "Remaining process id: %d\n" l_.str.26: ; @.str.26 .asciz "Print Elapsed Time from Hqueue: %f\n" l_.str.27: ; @.str.27 .asciz "Process Left HQueue: %d\n" l_.str.28: ; @.str.28 .asciz "Time Elapsed?: %f\n" l_.str.29: ; @.str.29 .asciz "Process ID: %d\n" l_.str.30: ; @.str.30 .asciz "Waiting Time: %0.2f\n" l_.str.31: ; @.str.31 .asciz "Turnabout Time: %0.2f\n" l_.str.32: ; @.str.32 .asciz "Time Quantum: " l_.str.33: ; @.str.33 .asciz "%0.1f\n" l_.str.34: ; @.str.34 .asciz "%0.1f, " l_.str.35: ; @.str.35 .asciz "Average Waiting Time: %0.2f\n" l_.str.36: ; @.str.36 .asciz "Average Turnabout Time: %0.2f\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _swap ## -- Begin function swap .p2align 4, 0x90 _swap: ## @swap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movl (%rax), %eax movl %eax, -20(%rbp) movq -16(%rbp), %rax movl (%rax), %ecx movq -8(%rbp), %rax movl %ecx, (%rax) movl -20(%rbp), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _selectionSort ## -- Begin function selectionSort .p2align 4, 0x90 _selectionSort: ## @selectionSort .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movl $0, -24(%rbp) LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 movl -24(%rbp), %eax movl -20(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jge LBB1_10 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl -24(%rbp), %eax movl %eax, -32(%rbp) movl -24(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) LBB1_3: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -28(%rbp), %eax cmpl -20(%rbp), %eax jge LBB1_8 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 movq -8(%rbp), %rax movslq -28(%rbp), %rcx movl (%rax,%rcx,4), %eax movq -8(%rbp), %rcx movslq -32(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jge LBB1_6 ## %bb.5: ## in Loop: Header=BB1_3 Depth=2 movl -28(%rbp), %eax movl %eax, -32(%rbp) LBB1_6: ## in Loop: Header=BB1_3 Depth=2 jmp LBB1_7 LBB1_7: ## in Loop: Header=BB1_3 Depth=2 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB1_3 LBB1_8: ## in Loop: Header=BB1_1 Depth=1 movq -8(%rbp), %rdi movslq -32(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq -8(%rbp), %rsi movslq -24(%rbp), %rax shlq $2, %rax addq %rax, %rsi callq _swap movq -16(%rbp), %rdi movslq -32(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq -16(%rbp), %rsi movslq -24(%rbp), %rax shlq $2, %rax addq %rax, %rsi callq _swap ## %bb.9: ## in Loop: Header=BB1_1 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB1_1 LBB1_10: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $816, %rsp ## imm = 0x330 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -660(%rbp) movl $0, -668(%rbp) movl $0, -672(%rbp) movl $0, -676(%rbp) movl $0, -684(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -692(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -696(%rbp) movl $0, -700(%rbp) movl $0, -704(%rbp) movl $0, -708(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -760(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -664(%rbp), %rsi movb $0, %al callq _scanf movl -664(%rbp), %eax movl %eax, -708(%rbp) leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movl $0, -764(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movl -764(%rbp), %eax cmpl -664(%rbp), %eax jge LBB2_4 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl -764(%rbp), %esi addl $1, %esi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movl -764(%rbp), %ecx addl $1, %ecx movslq -764(%rbp), %rdx movq _process@GOTPCREL(%rip), %rax imulq $28, %rdx, %rdx addq %rdx, %rax movl %ecx, (%rax) movl -764(%rbp), %ecx addl $1, %ecx movslq -764(%rbp), %rax movl %ecx, -176(%rbp,%rax,4) leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf movslq -764(%rbp), %rax movq _process@GOTPCREL(%rip), %rsi imulq $28, %rax, %rax addq %rax, %rsi addq $4, %rsi leaq L_.str.5(%rip), %rdi movb $0, %al callq _scanf movslq -764(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax cvttss2si 4(%rax), %ecx movslq -764(%rbp), %rax movl %ecx, -256(%rbp,%rax,4) movslq -764(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb $0, 25(%rax) movslq -764(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb $0, 24(%rax) leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf movslq -764(%rbp), %rax movq _process@GOTPCREL(%rip), %rsi imulq $28, %rax, %rax addq %rax, %rsi addq $8, %rsi leaq L_.str.5(%rip), %rdi movb $0, %al callq _scanf movslq -764(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -764(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 12(%rax) leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movl -764(%rbp), %eax addl $1, %eax movl %eax, -764(%rbp) jmp LBB2_1 LBB2_4: leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf movl $0, -768(%rbp) LBB2_5: ## =>This Inner Loop Header: Depth=1 movl -768(%rbp), %eax cmpl -664(%rbp), %eax jge LBB2_8 ## %bb.6: ## in Loop: Header=BB2_5 Depth=1 movslq -768(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi movslq -768(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 4(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movslq -768(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 leaq L_.str.8(%rip), %rdi movb $2, %al callq _printf ## %bb.7: ## in Loop: Header=BB2_5 Depth=1 movl -768(%rbp), %eax addl $1, %eax movl %eax, -768(%rbp) jmp LBB2_5 LBB2_8: leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf movl $1, %edi callq _sleep leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf movl $1, %edi callq _sleep leaq -256(%rbp), %rdi leaq -176(%rbp), %rsi movl -664(%rbp), %edx callq _selectionSort leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf movl $0, -772(%rbp) LBB2_9: ## =>This Inner Loop Header: Depth=1 movl -772(%rbp), %eax cmpl -664(%rbp), %eax jge LBB2_12 ## %bb.10: ## in Loop: Header=BB2_9 Depth=1 movslq -772(%rbp), %rax movl -176(%rbp,%rax,4), %esi movslq -772(%rbp), %rax movl -256(%rbp,%rax,4), %edx movslq -772(%rbp), %rax movl -176(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.11(%rip), %rdi movb $1, %al callq _printf ## %bb.11: ## in Loop: Header=BB2_9 Depth=1 movl -772(%rbp), %eax addl $1, %eax movl %eax, -772(%rbp) jmp LBB2_9 LBB2_12: cvtsi2ssl -256(%rbp), %xmm0 movss %xmm0, -696(%rbp) movl $0, -668(%rbp) LBB2_13: ## =>This Loop Header: Depth=1 ## Child Loop BB2_15 Depth 2 ## Child Loop BB2_23 Depth 2 ## Child Loop BB2_30 Depth 2 ## Child Loop BB2_32 Depth 3 ## Child Loop BB2_38 Depth 3 ## Child Loop BB2_47 Depth 4 ## Child Loop BB2_56 Depth 2 ## Child Loop BB2_58 Depth 3 ## Child Loop BB2_64 Depth 3 ## Child Loop BB2_73 Depth 4 cmpl $0, -708(%rbp) jle LBB2_85 ## %bb.14: ## in Loop: Header=BB2_13 Depth=1 movl -668(%rbp), %eax movl %eax, -776(%rbp) LBB2_15: ## Parent Loop BB2_13 Depth=1 ## => This Inner Loop Header: Depth=2 movl -776(%rbp), %eax cmpl -664(%rbp), %eax jge LBB2_21 ## %bb.16: ## in Loop: Header=BB2_15 Depth=2 movslq -776(%rbp), %rax movl -176(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 4(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 jb LBB2_19 ## %bb.17: ## in Loop: Header=BB2_15 Depth=2 movslq -776(%rbp), %rax movl -176(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb 24(%rax), %al andb $1, %al movzbl %al, %eax cmpl $0, %eax jne LBB2_19 ## %bb.18: ## in Loop: Header=BB2_15 Depth=2 movslq -776(%rbp), %rax movl -176(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb $1, 24(%rax) movslq -776(%rbp), %rax movl -176(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -692(%rbp), %xmm0 movss %xmm0, -692(%rbp) movslq -776(%rbp), %rax movl -176(%rbp,%rax,4), %ecx movslq -672(%rbp), %rax movl %ecx, -336(%rbp,%rax,4) movl -672(%rbp), %eax addl $1, %eax movl %eax, -672(%rbp) LBB2_19: ## in Loop: Header=BB2_15 Depth=2 jmp LBB2_20 LBB2_20: ## in Loop: Header=BB2_15 Depth=2 movl -776(%rbp), %eax addl $1, %eax movl %eax, -776(%rbp) jmp LBB2_15 LBB2_21: ## in Loop: Header=BB2_13 Depth=1 cmpl $0, -672(%rbp) jle LBB2_82 ## %bb.22: ## in Loop: Header=BB2_13 Depth=1 movss -692(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtsi2ssl -672(%rbp), %xmm1 divss %xmm1, %xmm0 movss %xmm0, -716(%rbp) movss -716(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.12(%rip), %rdi movb $1, %al callq _printf movl $0, -780(%rbp) LBB2_23: ## Parent Loop BB2_13 Depth=1 ## => This Inner Loop Header: Depth=2 movl -780(%rbp), %eax cmpl -672(%rbp), %eax jge LBB2_29 ## %bb.24: ## in Loop: Header=BB2_23 Depth=2 movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -716(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 jb LBB2_26 ## %bb.25: ## in Loop: Header=BB2_23 Depth=2 movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %ecx subl $1, %ecx movslq -676(%rbp), %rax movl %ecx, -416(%rbp,%rax,4) movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.13(%rip), %rdi movb $1, %al callq _printf movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax cvttss2si 8(%rax), %ecx movslq -676(%rbp), %rax movl %ecx, -576(%rbp,%rax,4) movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf movl -676(%rbp), %eax addl $1, %eax movl %eax, -676(%rbp) movl -676(%rbp), %eax movl %eax, -700(%rbp) jmp LBB2_27 LBB2_26: ## in Loop: Header=BB2_23 Depth=2 movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %ecx subl $1, %ecx movslq -684(%rbp), %rax movl %ecx, -496(%rbp,%rax,4) movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 8(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.13(%rip), %rdi movb $1, %al callq _printf movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax cvttss2si 8(%rax), %ecx movslq -684(%rbp), %rax movl %ecx, -656(%rbp,%rax,4) movslq -780(%rbp), %rax movl -336(%rbp,%rax,4), %eax subl $1, %eax movslq %eax, %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf movl -684(%rbp), %eax addl $1, %eax movl %eax, -684(%rbp) movl -684(%rbp), %eax movl %eax, -704(%rbp) LBB2_27: ## in Loop: Header=BB2_23 Depth=2 jmp LBB2_28 LBB2_28: ## in Loop: Header=BB2_23 Depth=2 movl -780(%rbp), %eax addl $1, %eax movl %eax, -780(%rbp) jmp LBB2_23 LBB2_29: ## in Loop: Header=BB2_13 Depth=1 leaq -576(%rbp), %rdi leaq -416(%rbp), %rsi movl -676(%rbp), %edx callq _selectionSort LBB2_30: ## Parent Loop BB2_13 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_32 Depth 3 ## Child Loop BB2_38 Depth 3 ## Child Loop BB2_47 Depth 4 cmpl $0, -676(%rbp) je LBB2_55 ## %bb.31: ## in Loop: Header=BB2_30 Depth=2 movl $0, -752(%rbp) movl $0, -784(%rbp) LBB2_32: ## Parent Loop BB2_13 Depth=1 ## Parent Loop BB2_30 Depth=2 ## => This Inner Loop Header: Depth=3 movl -784(%rbp), %eax cmpl -676(%rbp), %eax jge LBB2_35 ## %bb.33: ## in Loop: Header=BB2_32 Depth=3 movslq -784(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -728(%rbp), %xmm0 movss %xmm0, -728(%rbp) ## %bb.34: ## in Loop: Header=BB2_32 Depth=3 movl -784(%rbp), %eax addl $1, %eax movl %eax, -784(%rbp) jmp LBB2_32 LBB2_35: ## in Loop: Header=BB2_30 Depth=2 movss -728(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtsi2ssl -700(%rbp), %xmm1 divss %xmm1, %xmm0 movss %xmm0, -720(%rbp) movss -720(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jne LBB2_36 jp LBB2_36 jmp LBB2_37 LBB2_36: ## in Loop: Header=BB2_30 Depth=2 movss -720(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -748(%rbp), %rax movss %xmm0, -96(%rbp,%rax,4) movl -748(%rbp), %eax addl $1, %eax movl %eax, -748(%rbp) LBB2_37: ## in Loop: Header=BB2_30 Depth=2 movl $0, -788(%rbp) LBB2_38: ## Parent Loop BB2_13 Depth=1 ## Parent Loop BB2_30 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB2_47 Depth 4 movl -788(%rbp), %eax cmpl -676(%rbp), %eax jge LBB2_54 ## %bb.39: ## in Loop: Header=BB2_38 Depth=3 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero subss -720(%rbp), %xmm0 movss %xmm0, -712(%rbp) xorps %xmm0, %xmm0 ucomiss -712(%rbp), %xmm0 jb LBB2_42 ## %bb.40: ## in Loop: Header=BB2_38 Depth=3 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb 25(%rax), %al andb $1, %al movzbl %al, %eax cmpl $0, %eax jne LBB2_42 ## %bb.41: ## in Loop: Header=BB2_38 Depth=3 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb $1, 25(%rax) movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax addss 12(%rax), %xmm0 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax subss 4(%rax), %xmm0 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 20(%rax) movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.16(%rip), %rdi movb $1, %al callq _printf movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax subss 8(%rax), %xmm0 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 16(%rax) movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.17(%rip), %rdi movb $1, %al callq _printf movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -696(%rbp), %xmm0 movss %xmm0, -696(%rbp) movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.18(%rip), %rdi movb $1, %al callq _printf movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.19(%rip), %rdi movb $1, %al callq _printf movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -736(%rbp) movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax xorps %xmm0, %xmm0 movss %xmm0, 12(%rax) movl -700(%rbp), %eax subl $1, %eax movl %eax, -700(%rbp) movl -668(%rbp), %eax addl $1, %eax movl %eax, -668(%rbp) movl -708(%rbp), %eax subl $1, %eax movl %eax, -708(%rbp) movl -708(%rbp), %esi leaq L_.str.20(%rip), %rdi movb $0, %al callq _printf jmp LBB2_46 LBB2_42: ## in Loop: Header=BB2_38 Depth=3 movss -712(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jbe LBB2_45 ## %bb.43: ## in Loop: Header=BB2_38 Depth=3 movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb 25(%rax), %al andb $1, %al movzbl %al, %eax cmpl $0, %eax jne LBB2_45 ## %bb.44: ## in Loop: Header=BB2_38 Depth=3 leaq L_.str.21(%rip), %rdi movb $0, %al callq _printf movss -712(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 12(%rax) movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi movslq -788(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.22(%rip), %rdi movb $1, %al callq _printf movss -720(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -696(%rbp), %xmm0 movss %xmm0, -696(%rbp) movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.23(%rip), %rdi movb $1, %al callq _printf LBB2_45: ## in Loop: Header=BB2_38 Depth=3 jmp LBB2_46 LBB2_46: ## in Loop: Header=BB2_38 Depth=3 movl $0, -792(%rbp) LBB2_47: ## Parent Loop BB2_13 Depth=1 ## Parent Loop BB2_30 Depth=2 ## Parent Loop BB2_38 Depth=3 ## => This Inner Loop Header: Depth=4 movl -792(%rbp), %eax cmpl -676(%rbp), %eax jge LBB2_50 ## %bb.48: ## in Loop: Header=BB2_47 Depth=4 movslq -792(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtsi2ssl -680(%rbp), %xmm0 addss %xmm1, %xmm0 cvttss2si %xmm0, %eax movl %eax, -680(%rbp) movslq -792(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.24(%rip), %rdi movb $1, %al callq _printf movslq -792(%rbp), %rax movslq -416(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi leaq L_.str.25(%rip), %rdi movb $0, %al callq _printf ## %bb.49: ## in Loop: Header=BB2_47 Depth=4 movl -792(%rbp), %eax addl $1, %eax movl %eax, -792(%rbp) jmp LBB2_47 LBB2_50: ## in Loop: Header=BB2_38 Depth=3 cmpl $0, -680(%rbp) jg LBB2_52 ## %bb.51: ## in Loop: Header=BB2_38 Depth=3 movl $0, -676(%rbp) LBB2_52: ## in Loop: Header=BB2_38 Depth=3 xorps %xmm0, %xmm0 movss %xmm0, -728(%rbp) movl $0, -680(%rbp) ## %bb.53: ## in Loop: Header=BB2_38 Depth=3 movl -788(%rbp), %eax addl $1, %eax movl %eax, -788(%rbp) jmp LBB2_38 LBB2_54: ## in Loop: Header=BB2_30 Depth=2 jmp LBB2_30 LBB2_55: ## in Loop: Header=BB2_13 Depth=1 leaq -656(%rbp), %rdi leaq -496(%rbp), %rsi movl -684(%rbp), %edx callq _selectionSort LBB2_56: ## Parent Loop BB2_13 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_58 Depth 3 ## Child Loop BB2_64 Depth 3 ## Child Loop BB2_73 Depth 4 cmpl $0, -684(%rbp) je LBB2_81 ## %bb.57: ## in Loop: Header=BB2_56 Depth=2 movl $0, -752(%rbp) movl $0, -796(%rbp) LBB2_58: ## Parent Loop BB2_13 Depth=1 ## Parent Loop BB2_56 Depth=2 ## => This Inner Loop Header: Depth=3 movl -796(%rbp), %eax cmpl -684(%rbp), %eax jge LBB2_61 ## %bb.59: ## in Loop: Header=BB2_58 Depth=3 movslq -796(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -732(%rbp), %xmm0 movss %xmm0, -732(%rbp) ## %bb.60: ## in Loop: Header=BB2_58 Depth=3 movl -796(%rbp), %eax addl $1, %eax movl %eax, -796(%rbp) jmp LBB2_58 LBB2_61: ## in Loop: Header=BB2_56 Depth=2 movss -732(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtsi2ssl -704(%rbp), %xmm1 divss %xmm1, %xmm0 movss %xmm0, -724(%rbp) movss -724(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jne LBB2_62 jp LBB2_62 jmp LBB2_63 LBB2_62: ## in Loop: Header=BB2_56 Depth=2 movss -724(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -748(%rbp), %rax movss %xmm0, -96(%rbp,%rax,4) movl -748(%rbp), %eax addl $1, %eax movl %eax, -748(%rbp) LBB2_63: ## in Loop: Header=BB2_56 Depth=2 movl $0, -800(%rbp) LBB2_64: ## Parent Loop BB2_13 Depth=1 ## Parent Loop BB2_56 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB2_73 Depth 4 movl -800(%rbp), %eax cmpl -684(%rbp), %eax jge LBB2_80 ## %bb.65: ## in Loop: Header=BB2_64 Depth=3 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero subss -724(%rbp), %xmm0 movss %xmm0, -712(%rbp) xorps %xmm0, %xmm0 ucomiss -712(%rbp), %xmm0 jb LBB2_68 ## %bb.66: ## in Loop: Header=BB2_64 Depth=3 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb 25(%rax), %al andb $1, %al movzbl %al, %eax cmpl $0, %eax jne LBB2_68 ## %bb.67: ## in Loop: Header=BB2_64 Depth=3 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb $1, 25(%rax) movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax addss 12(%rax), %xmm0 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax subss 4(%rax), %xmm0 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 20(%rax) movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.16(%rip), %rdi movb $1, %al callq _printf movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax subss 8(%rax), %xmm0 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 16(%rax) movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.17(%rip), %rdi movb $1, %al callq _printf movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -696(%rbp), %xmm0 movss %xmm0, -696(%rbp) movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.18(%rip), %rdi movb $1, %al callq _printf movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.26(%rip), %rdi movb $1, %al callq _printf movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -736(%rbp) movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax xorps %xmm0, %xmm0 movss %xmm0, 12(%rax) movl -704(%rbp), %eax subl $1, %eax movl %eax, -704(%rbp) movl -668(%rbp), %eax addl $1, %eax movl %eax, -668(%rbp) movl -708(%rbp), %eax subl $1, %eax movl %eax, -708(%rbp) movl -708(%rbp), %esi leaq L_.str.27(%rip), %rdi movb $0, %al callq _printf movl $1, %edi callq _sleep jmp LBB2_72 LBB2_68: ## in Loop: Header=BB2_64 Depth=3 movss -712(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jbe LBB2_71 ## %bb.69: ## in Loop: Header=BB2_64 Depth=3 movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movb 25(%rax), %al andb $1, %al movzbl %al, %eax cmpl $0, %eax jne LBB2_71 ## %bb.70: ## in Loop: Header=BB2_64 Depth=3 movss -712(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq -800(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss %xmm0, 12(%rax) movss -724(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -696(%rbp), %xmm0 movss %xmm0, -696(%rbp) movss -696(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.28(%rip), %rdi movb $1, %al callq _printf LBB2_71: ## in Loop: Header=BB2_64 Depth=3 jmp LBB2_72 LBB2_72: ## in Loop: Header=BB2_64 Depth=3 movl $0, -804(%rbp) LBB2_73: ## Parent Loop BB2_13 Depth=1 ## Parent Loop BB2_56 Depth=2 ## Parent Loop BB2_64 Depth=3 ## => This Inner Loop Header: Depth=4 movl -804(%rbp), %eax cmpl -684(%rbp), %eax jge LBB2_76 ## %bb.74: ## in Loop: Header=BB2_73 Depth=4 movslq -804(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtsi2ssl -688(%rbp), %xmm0 addss %xmm1, %xmm0 cvttss2si %xmm0, %eax movl %eax, -688(%rbp) movslq -804(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 12(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.24(%rip), %rdi movb $1, %al callq _printf movslq -804(%rbp), %rax movslq -496(%rbp,%rax,4), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi leaq L_.str.25(%rip), %rdi movb $0, %al callq _printf ## %bb.75: ## in Loop: Header=BB2_73 Depth=4 movl -804(%rbp), %eax addl $1, %eax movl %eax, -804(%rbp) jmp LBB2_73 LBB2_76: ## in Loop: Header=BB2_64 Depth=3 cmpl $0, -688(%rbp) jg LBB2_78 ## %bb.77: ## in Loop: Header=BB2_64 Depth=3 movl $0, -684(%rbp) LBB2_78: ## in Loop: Header=BB2_64 Depth=3 xorps %xmm0, %xmm0 movss %xmm0, -732(%rbp) movl $0, -688(%rbp) ## %bb.79: ## in Loop: Header=BB2_64 Depth=3 movl -800(%rbp), %eax addl $1, %eax movl %eax, -800(%rbp) jmp LBB2_64 LBB2_80: ## in Loop: Header=BB2_56 Depth=2 jmp LBB2_56 LBB2_81: ## in Loop: Header=BB2_13 Depth=1 jmp LBB2_82 LBB2_82: ## in Loop: Header=BB2_13 Depth=1 movl -752(%rbp), %eax addl $1, %eax movl %eax, -752(%rbp) cmpl $3, -752(%rbp) jle LBB2_84 ## %bb.83: ## in Loop: Header=BB2_13 Depth=1 movl $0, -708(%rbp) LBB2_84: ## in Loop: Header=BB2_13 Depth=1 movss -736(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -696(%rbp) movl $0, -672(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -692(%rbp) jmp LBB2_13 LBB2_85: movl $0, -808(%rbp) LBB2_86: ## =>This Inner Loop Header: Depth=1 movl -808(%rbp), %eax cmpl -664(%rbp), %eax jge LBB2_89 ## %bb.87: ## in Loop: Header=BB2_86 Depth=1 movslq -808(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movl (%rax), %esi leaq L_.str.29(%rip), %rdi movb $0, %al callq _printf movslq -808(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.30(%rip), %rdi movb $1, %al callq _printf movslq -808(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 16(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -744(%rbp), %xmm0 movss %xmm0, -744(%rbp) movslq -808(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.31(%rip), %rdi movb $1, %al callq _printf movslq -808(%rbp), %rcx movq _process@GOTPCREL(%rip), %rax imulq $28, %rcx, %rcx addq %rcx, %rax movss 20(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -740(%rbp), %xmm0 movss %xmm0, -740(%rbp) ## %bb.88: ## in Loop: Header=BB2_86 Depth=1 movl -808(%rbp), %eax addl $1, %eax movl %eax, -808(%rbp) jmp LBB2_86 LBB2_89: leaq L_.str.32(%rip), %rdi movb $0, %al callq _printf movl $0, -812(%rbp) LBB2_90: ## =>This Inner Loop Header: Depth=1 movl -812(%rbp), %eax cmpl -748(%rbp), %eax jge LBB2_96 ## %bb.91: ## in Loop: Header=BB2_90 Depth=1 movl -812(%rbp), %eax movl -748(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jne LBB2_93 ## %bb.92: ## in Loop: Header=BB2_90 Depth=1 movslq -812(%rbp), %rax movss -96(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.33(%rip), %rdi movb $1, %al callq _printf jmp LBB2_94 LBB2_93: ## in Loop: Header=BB2_90 Depth=1 movslq -812(%rbp), %rax movss -96(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.34(%rip), %rdi movb $1, %al callq _printf LBB2_94: ## in Loop: Header=BB2_90 Depth=1 jmp LBB2_95 LBB2_95: ## in Loop: Header=BB2_90 Depth=1 movl -812(%rbp), %eax addl $1, %eax movl %eax, -812(%rbp) jmp LBB2_90 LBB2_96: movss -744(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtsi2ssl -664(%rbp), %xmm1 divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 leaq L_.str.35(%rip), %rdi movb $1, %al callq _printf movss -740(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtsi2ssl -664(%rbp), %xmm1 divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 leaq L_.str.36(%rip), %rdi movb $1, %al callq _printf movl -660(%rbp), %eax movl %eax, -816(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB2_98 ## %bb.97: movl -816(%rbp), %eax ## 4-byte Reload addq $816, %rsp ## imm = 0x330 popq %rbp retq LBB2_98: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter Total Number of Processes: " L_.str.1: ## @.str.1 .asciz "%d:" L_.str.2: ## @.str.2 .asciz "-----------------------------------------------\n" L_.str.3: ## @.str.3 .asciz "Enter Detail of Process [%d]\n" .comm _process,560,4 ## @process L_.str.4: ## @.str.4 .asciz "Arrival Time: " L_.str.5: ## @.str.5 .asciz "%f" L_.str.6: ## @.str.6 .asciz "Burst Time: " L_.str.7: ## @.str.7 .asciz "| Process ID | Arrival Time | Burst Time |\n" L_.str.8: ## @.str.8 .asciz "\t%d\t\t\t\t\t%0.2f\t\t\t\t%0.2f\t\n" L_.str.9: ## @.str.9 .asciz "Processing information...\n" L_.str.10: ## @.str.10 .asciz "Rearranging Processes based on Arrival Time\n" L_.str.11: ## @.str.11 .asciz "\t%d\t\t\t\t\t%d\t\t\t\t\t%f\t\n" L_.str.12: ## @.str.12 .asciz "Current Average Burst Time: %f \n" L_.str.13: ## @.str.13 .asciz "Process %d's Burst Time is %f\n" L_.str.14: ## @.str.14 .asciz "Added Proccess %d to light Queue\n" L_.str.15: ## @.str.15 .asciz "Added Proccess %d to heavy Queue\n" L_.str.16: ## @.str.16 .asciz "Turnabout Time: %f\n" L_.str.17: ## @.str.17 .asciz "Waiting Time: %f\n" L_.str.18: ## @.str.18 .asciz "Just in case %f\n" L_.str.19: ## @.str.19 .asciz "Print Elapsed Time from Lqueue: %f\n" L_.str.20: ## @.str.20 .asciz "Process Left LQueue: %d\n" L_.str.21: ## @.str.21 .asciz "Maybe\n" L_.str.22: ## @.str.22 .asciz "What is this product id : %d and new burst : %f\n" L_.str.23: ## @.str.23 .asciz "Time Elapsed: %f\n" L_.str.24: ## @.str.24 .asciz "Remaining Burst Times: %f\n" L_.str.25: ## @.str.25 .asciz "Remaining process id: %d\n" L_.str.26: ## @.str.26 .asciz "Print Elapsed Time from Hqueue: %f\n" L_.str.27: ## @.str.27 .asciz "Process Left HQueue: %d\n" L_.str.28: ## @.str.28 .asciz "Time Elapsed?: %f\n" L_.str.29: ## @.str.29 .asciz "Process ID: %d\n" L_.str.30: ## @.str.30 .asciz "Waiting Time: %0.2f\n" L_.str.31: ## @.str.31 .asciz "Turnabout Time: %0.2f\n" L_.str.32: ## @.str.32 .asciz "Time Quantum: " L_.str.33: ## @.str.33 .asciz "%0.1f\n" L_.str.34: ## @.str.34 .asciz "%0.1f, " L_.str.35: ## @.str.35 .asciz "Average Waiting Time: %0.2f\n" L_.str.36: ## @.str.36 .asciz "Average Turnabout Time: %0.2f\n" .subsections_via_symbols
the_stack_data/49915.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur w0, [x29, #-8] str x1, [sp, #16] mov x9, sp add x8, sp, #12 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldr w9, [sp, #12] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] b LBB0_2 LBB0_2: ldr w0, [sp, #12] mov w1, #0 bl _printNumber ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _printNumber ; -- Begin function printNumber .p2align 2 _printNumber: ; @printNumber .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] str w1, [sp, #8] ldur w8, [x29, #-4] mov w9, #10 sdiv w10, w8, w9 mul w10, w10, w9 subs w8, w8, w10 str w8, [sp, #4] ldur w8, [x29, #-4] sdiv w8, w8, w9 str w8, [sp] ldr w8, [sp] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldr w0, [sp] mov w1, #1 bl _printNumber b LBB1_2 LBB1_2: ldr w0, [sp, #4] bl _printOneNumber ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB1_5 LBB1_4: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB1_5 LBB1_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _printOneNumber ; -- Begin function printOneNumber .p2align 2 _printOneNumber: ; @printOneNumber .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] ldur w8, [x29, #-4] subs w8, w8, #0 ; kill: def $x8 killed $w8 str x8, [sp] ; 8-byte Folded Spill subs x8, x8, #9 cset w8, hi tbnz w8, #0, LBB2_12 ; %bb.1: ldr x11, [sp] ; 8-byte Folded Reload adrp x10, lJTI2_0@PAGE add x10, x10, lJTI2_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB2_2: adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB2_13 LBB2_3: adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB2_13 LBB2_4: adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf b LBB2_13 LBB2_5: adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf b LBB2_13 LBB2_6: adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB2_13 LBB2_7: adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf b LBB2_13 LBB2_8: adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf b LBB2_13 LBB2_9: adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf b LBB2_13 LBB2_10: adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf b LBB2_13 LBB2_11: adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf b LBB2_13 LBB2_12: b LBB2_13 LBB2_13: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc .p2align 2 lJTI2_0: .long LBB2_2-Ltmp0 .long LBB2_3-Ltmp0 .long LBB2_4-Ltmp0 .long LBB2_5-Ltmp0 .long LBB2_6-Ltmp0 .long LBB2_7-Ltmp0 .long LBB2_8-Ltmp0 .long LBB2_9-Ltmp0 .long LBB2_10-Ltmp0 .long LBB2_11-Ltmp0 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "fu " l_.str.2: ; @.str.2 .asciz " " l_.str.3: ; @.str.3 .asciz "\n" l_.str.4: ; @.str.4 .asciz "ling" l_.str.5: ; @.str.5 .asciz "yi" l_.str.6: ; @.str.6 .asciz "er" l_.str.7: ; @.str.7 .asciz "san" l_.str.8: ; @.str.8 .asciz "si" l_.str.9: ; @.str.9 .asciz "wu" l_.str.10: ; @.str.10 .asciz "liu" l_.str.11: ; @.str.11 .asciz "qi" l_.str.12: ; @.str.12 .asciz "ba" l_.str.13: ; @.str.13 .asciz "jiu" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) leaq L_.str(%rip), %rdi leaq -20(%rbp), %rsi movb $0, %al callq _scanf cmpl $0, -20(%rbp) jge LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax subl -20(%rbp), %eax movl %eax, -20(%rbp) LBB0_2: movl -20(%rbp), %edi xorl %esi, %esi callq _printNumber movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _printNumber ## -- Begin function printNumber .p2align 4, 0x90 _printNumber: ## @printNumber .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %eax movl $10, %ecx cltd idivl %ecx movl %edx, -12(%rbp) movl -4(%rbp), %eax movl $10, %ecx cltd idivl %ecx movl %eax, -16(%rbp) cmpl $0, -16(%rbp) jle LBB1_2 ## %bb.1: movl -16(%rbp), %edi movl $1, %esi callq _printNumber LBB1_2: movl -12(%rbp), %edi callq _printOneNumber cmpl $0, -8(%rbp) je LBB1_4 ## %bb.3: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf jmp LBB1_5 LBB1_4: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB1_5: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _printOneNumber ## -- Begin function printOneNumber .p2align 4, 0x90 _printOneNumber: ## @printOneNumber .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movl -4(%rbp), %eax ## kill: def $rax killed $eax movq %rax, -16(%rbp) ## 8-byte Spill subq $9, %rax ja LBB2_11 ## %bb.13: movq -16(%rbp), %rax ## 8-byte Reload leaq LJTI2_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB2_1: leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_2: leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_3: leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_4: leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_5: leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_6: leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_7: leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_8: leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_9: leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_10: leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf jmp LBB2_12 LBB2_11: jmp LBB2_12 LBB2_12: addq $16, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L2_0_set_1, LBB2_1-LJTI2_0 .set L2_0_set_2, LBB2_2-LJTI2_0 .set L2_0_set_3, LBB2_3-LJTI2_0 .set L2_0_set_4, LBB2_4-LJTI2_0 .set L2_0_set_5, LBB2_5-LJTI2_0 .set L2_0_set_6, LBB2_6-LJTI2_0 .set L2_0_set_7, LBB2_7-LJTI2_0 .set L2_0_set_8, LBB2_8-LJTI2_0 .set L2_0_set_9, LBB2_9-LJTI2_0 .set L2_0_set_10, LBB2_10-LJTI2_0 LJTI2_0: .long L2_0_set_1 .long L2_0_set_2 .long L2_0_set_3 .long L2_0_set_4 .long L2_0_set_5 .long L2_0_set_6 .long L2_0_set_7 .long L2_0_set_8 .long L2_0_set_9 .long L2_0_set_10 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "fu " L_.str.2: ## @.str.2 .asciz " " L_.str.3: ## @.str.3 .asciz "\n" L_.str.4: ## @.str.4 .asciz "ling" L_.str.5: ## @.str.5 .asciz "yi" L_.str.6: ## @.str.6 .asciz "er" L_.str.7: ## @.str.7 .asciz "san" L_.str.8: ## @.str.8 .asciz "si" L_.str.9: ## @.str.9 .asciz "wu" L_.str.10: ## @.str.10 .asciz "liu" L_.str.11: ## @.str.11 .asciz "qi" L_.str.12: ## @.str.12 .asciz "ba" L_.str.13: ## @.str.13 .asciz "jiu" .subsections_via_symbols
the_stack_data/20450906.c
README.md exists but content is empty.
Downloads last month
2