// File: /workspace/github_cpp_makefile_star2_O3/pointwiseproduct[P]untyped_lambda/untyped_lambda.cpp
// Function: launch_interpreter()
void launch_interpreter(){
    while(true){
        internal_data::lines.clear();
        std::string line;
        std::getline(std::cin, line);
        if(line == "exit" || line == "quit"){
            break;
        }

        try{
            std::vector<char> line_raw(line.begin(), line.end());
            auto b = tokenize_phase2::tokenize(tokenize_phase1::tokenize(line_raw));
            if(!parsing_phase::lines(b.begin())){
                throw parsing_failed();
            }
            for(auto &i : internal_data::lines){
                bool mod;
                std::unique_ptr<internal_data::expr> q(i->replace(internal_data::expr::variable_map(), internal_data::assignment_table, mod));
                internal_data::global_variable_replace(q);

                while(true){
                    try{
                        int nest_level = 0;
                        if(internal_data::lo_most_reduction(q)){
                            std::cout << " = " << q->to_str() << "." << std::endl;
                            throw internal_data::step_out();
                        }
                    }catch(internal_data::step_out){
                        std::cout << " = " << q->to_str() << "." << std::endl;
                        if(waiting() == 'c'){
                            break;
                        }
                        continue;
                    }
                    break;
                }
            }
        }catch(app_exception e){
            std::cerr << e.what() << std::endl;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
leaq 0x30(%rsp), %r13
leaq 0x40(%rsp), %rbp
xorl %r12d, %r12d
leaq 0x18(%rsp), %r15
movq 0xa1a0(%rip), %rbx      # 0xf280
movq 0xa1a1(%rip), %r14      # 0xf288
cmpq %rbx, %r14
je 0x511b
movq %rbx, %r13
movq (%r13), %rdi
testq %rdi, %rdi
je 0x50fe
movq (%rdi), %rax
callq *0x38(%rax)
movq $0x0, (%r13)
addq $0x8, %r13
cmpq %r14, %r13
jne 0x50ef
movq %rbx, 0xa172(%rip)      # 0xf288
leaq 0x30(%rsp), %r13
movq %r13, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
movb $0x0, 0x30(%rsp)
movq 0x9ea3(%rip), %rbx      # 0xefd8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
leaq 0x20(%rsp), %r14
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3390
movq %r14, %rdi
leaq 0x4f85(%rip), %rsi      # 0xa0eb
callq 0x30c0
testl %eax, %eax
je 0x53ce
movq %r14, %rdi
leaq 0x4f73(%rip), %rsi      # 0xa0f0
callq 0x30c0
testl %eax, %eax
je 0x53ce
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
movq %rbp, %rcx
callq 0x65b0
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x3935
leaq 0x78(%rsp), %rdi
movq %rbp, %rsi
callq 0x3d3a
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x51d1
callq 0x31f0
movq 0x78(%rsp), %rdi
callq 0x506d
testb %al, %al
je 0x5416
movq 0xa096(%rip), %r13      # 0xf280
movq 0xa097(%rip), %rbx      # 0xf288
cmpq %rbx, %r13
je 0x53d2
movq (%r13), %rdi
movq %r12, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
leaq 0x48(%rsp), %rax
movq %rax, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movq %r12, 0x68(%rsp)
movq (%rdi), %rax
movq %rbp, %rsi
leaq 0xa024(%rip), %rdx      # 0xf250
leaq 0xf(%rsp), %rcx
callq *0x10(%rax)
movq %rax, 0x18(%rsp)
movq %rbp, %rdi
callq 0x687a
movq %r15, %rdi
callq 0x4020
movq %r15, %rdi
callq 0x40c5
testb %al, %al
je 0x53b2
movl $0x3, %edx
movq 0x9d63(%rip), %rdi      # 0xefc8
leaq 0x4e89(%rip), %rsi      # 0xa0f5
callq 0x3260
movq 0x18(%rsp), %rsi
movq (%rsi), %rax
movq %rbp, %rdi
callq *0x20(%rax)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x9d38(%rip), %rdi      # 0xefc8
callq 0x3260
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5010(%rip), %rsi      # 0xa2b7
callq 0x3260
movq %r14, %rdi
callq 0x3120
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x52c8
callq 0x31f0
movl $0x1, %edi
callq 0x3130
movq %rax, %rdi
leaq 0x985c(%rip), %rsi      # 0xeb38
xorl %edx, %edx
callq 0x3350
jmp 0x558c
movq %rax, %r14
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x5310
movq %rdx, 0x10(%rsp)
callq 0x31f0
movq 0x10(%rsp), %rdx
jmp 0x5310
jmp 0x530d
movq %rax, %r14
cmpl $0x2, %edx
jne 0x54e0
movq %r14, %rdi
callq 0x3100
movl $0x3, %edx
movq 0x9c9b(%rip), %rdi      # 0xefc8
leaq 0x4dc1(%rip), %rsi      # 0xa0f5
callq 0x3260
movq 0x18(%rsp), %r14
movq (%r14), %rax
movq %rbp, %rdi
movq %r14, %rsi
callq *0x20(%rax)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x9c6d(%rip), %rdi      # 0xefc8
callq 0x3260
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4f48(%rip), %rsi      # 0xa2b7
movq %rax, 0x10(%rsp)
callq 0x3260
movq 0x10(%rsp), %rdi
callq 0x3120
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x5397
callq 0x31f0
callq 0x32f0
movl %eax, 0x10(%rsp)
callq 0x3340
cmpl $0x63, 0x10(%rsp)
jne 0x5249
jmp 0x53bc
movq 0x18(%rsp), %r14
testq %r14, %r14
je 0x53c5
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
addq $0x8, %r13
jmp 0x51f1
xorl %ebx, %ebx
jmp 0x53fa
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x53e1
callq 0x31f0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
leaq 0x30(%rsp), %r13
je 0x53f8
callq 0x31f0
movb $0x1, %bl
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x5409
callq 0x31f0
testb %bl, %bl
jne 0x50d9
jmp 0x557a
movl $0x10, %edi
callq 0x3130
movq %rax, %r14
movq %rax, %rdi
callq 0x65ea
movq %r14, %rdi
leaq 0x96eb(%rip), %rsi      # 0xeb20
movq 0x9b84(%rip), %rdx      # 0xefc0
callq 0x3350
jmp 0x558c
movq %rdx, %rbx
movq %rax, %r14
jmp 0x5477
movq %rdx, %rbx
movq %rax, %r14
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x5472
callq 0x31f0
jmp 0x5472
jmp 0x546c
movq %rdx, %rbx
movq %rax, %r14
callq 0x3340
movq %rbx, %rdx
jmp 0x54e0
movq %rdx, %rbx
movq %rax, %r14
jmp 0x54d6
movq %rdx, %rbx
movq %r14, %rdi
movq %rax, %r14
callq 0x31a0
jmp 0x54d6
movq %rdx, %rbx
movq %rax, %r14
jmp 0x54f8
movq %rdx, %rbx
movq %rax, %r14
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x54b9
callq 0x31f0
jmp 0x54b9
movq %rdx, %rbx
movq %rax, %r14
leaq 0x30(%rsp), %r13
jmp 0x5507
movq %rdx, %rbx
movq %rax, %r14
jmp 0x5519
movq %rdx, %rbx
movq %rax, %r14
movq %rbp, %rdi
callq 0x687a
leaq 0x30(%rsp), %r13
jmp 0x54f8
movq %rax, %r14
movq %rdx, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
leaq 0x30(%rsp), %r13
je 0x54f8
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x5507
callq 0x31f0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x5519
callq 0x31f0
cmpl $0x1, %ebx
jne 0x55af
movq %r14, %rdi
callq 0x3290
movq %rbp, %rdi
movq %rax, %rsi
callq 0x32c0
leaq 0x9644(%rip), %rax      # 0xeb80
movq %rax, 0x40(%rsp)
movq %r14, %rdi
callq 0x3100
movq %rbp, %rdi
callq 0x32d0
movq 0x9a98(%rip), %rdi      # 0xeff0
movq %rax, %rsi
callq 0x3210
movq %rax, %rdi
callq 0x3120
movq %rbp, %rdi
callq 0x33c8
callq 0x3340
jmp 0x53f8
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x55ac
jmp 0x55a4
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x33c8
callq 0x3340
jmp 0x55af
movq %rax, %rdi
callq 0x606e
movq %rax, %r14
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x55c3
callq 0x31f0
movq %r14, %rdi
callq 0x3360