// File: /workspace/github_cpp_makefile_star2_O1/martinda3[P]Compiler/src/JVM/JVMgenerateProgram.cpp
// Function: toyc::JVMgenerateProgram::gen_input_stream_store(toyc::JVMtargetCode*)
void JVMgenerateProgram::gen_input_stream_store(JVMtargetCode *tc) {
      tc->add(new NEW(SCANNER));
      tc->add(new DUP());
      tc->add(new GETSTATIC(INPUT_FIELD_SPEC,INPUT_DESCRIPTOR));
      tc->add(new INVOKESPECIAL(SCANNER_CONSTRUCTOR));
      JVMgenUtils::gen_ASTORE(*symTable->getSym(symTable->find("System.in")),tc);
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, %rbx
movl $0x30, %edi
callq 0x8250
movq %rax, %r14
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x16147(%rip), %rax     # 0x3a750
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0xabf6
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x1e820
movq %r14, %rsi
addq $0x8, %rsi
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
callq *(%rax)
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x24655
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x10, %edi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x1ef38
addq $0x8, %r14
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl $0x50, %edi
callq 0x8250
movq %rax, %r14
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1619a(%rip), %rax     # 0x3a830
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0xabf6
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x16195(%rip), %rax     # 0x3a850
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0xabf6
movb $0x1, %bpl
leaq 0x40(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r14, %rdi
callq 0x1caf8
movq %r14, %rsi
addq $0x8, %rsi
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
callq *(%rax)
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x2470c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x24723
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x30, %edi
callq 0x8250
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x16190(%rip), %rax     # 0x3a8d0
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xabf6
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x1ef90
movq %r14, %rsi
addq $0x8, %rsi
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
callq *(%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x24787
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
leaq 0x15de2(%rip), %rax     # 0x3a570
movq (%rax), %r14
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5d02(%rip), %rsi      # 0x2a4a7
leaq 0x5d04(%rip), %rdx      # 0x2a4b0
leaq 0x80(%rsp), %r15
movq %r15, %rdi
callq 0xfc42
movq %r14, %rdi
movq %r15, %rsi
callq 0x28862
movq %r14, %rdi
movl %eax, %esi
callq 0x28934
movq %rax, %r14
leaq 0xb0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0xabf6
leaq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
callq 0xabf6
movq 0x40(%r14), %rax
leaq 0xa0(%rsp), %rdi
movq %rax, 0x40(%rdi)
movq %rbx, %rsi
callq 0x21078
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x24850
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x2486d
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x2488a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x234e4
jmp 0x2497a
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x2497a
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8260
jmp 0x2497a
jmp 0x248f6
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x2492b
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x24942
movq %rax, %rbx
movl $0x10, %esi
jmp 0x24972
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x24968
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x24968
movq 0x10(%rsp), %rsi
jmp 0x24960
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x2492b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x24942
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x24997
movl $0x50, %esi
jmp 0x24972
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x24968
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x24997
movl $0x30, %esi
movq %r14, %rdi
jmp 0x24992
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x24997
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
movq %rbx, %rdi
callq 0x8420
nop