// File: /workspace/github_cpp_makefile_star2_O3/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 0x15b1b(%rip), %rax     # 0x3a750
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0xabdc
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x1ee40
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 0x24c81
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x10, %edi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x1f558
addq $0x8, %r14
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl $0x50, %edi
callq 0x8250
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x15b6e(%rip), %rax     # 0x3a830
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xabdc
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15b6b(%rip), %rax     # 0x3a850
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0xabdc
movb $0x1, %bpl
movq %rsp, %rsi
leaq 0x40(%rsp), %rdx
movq %r14, %rdi
callq 0x1d114
movq %r14, %rsi
addq $0x8, %rsi
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
callq *(%rax)
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x24d34
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x24d4a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x30, %edi
callq 0x8250
movq %rax, %r14
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x15b69(%rip), %rax     # 0x3a8d0
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0xabdc
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x1f5b0
movq %r14, %rsi
addq $0x8, %rsi
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
callq *(%rax)
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x24db3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8260
leaq 0x157b6(%rip), %rax     # 0x3a570
movq (%rax), %r14
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x56d6(%rip), %rsi      # 0x2a4a7
leaq 0x56d8(%rip), %rdx      # 0x2a4b0
leaq 0x80(%rsp), %r15
movq %r15, %rdi
callq 0xfc2a
movq %r14, %rdi
movq %r15, %rsi
callq 0x28e6e
movq %r14, %rdi
movl %eax, %esi
callq 0x28f44
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 0xabdc
leaq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
callq 0xabdc
movq 0x40(%r14), %rax
leaq 0xa0(%rsp), %rdi
movq %rax, 0x40(%rdi)
movq %rbx, %rsi
callq 0x2169c
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x24e7c
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e99
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x24eb6
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 0x23b3e
jmp 0x24fb3
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x24fb3
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8260
jmp 0x24fb3
jmp 0x24f32
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x24f80
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
jmp 0x24f80
movq %rax, %rbx
jmp 0x24f80
movq %rax, %rbx
movl $0x10, %esi
jmp 0x24fab
movq %rax, %rbx
jmp 0x24fa6
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x24fa1
movq 0x30(%rsp), %rsi
jmp 0x24f99
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x24f65
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x24f7b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x24fd0
movl $0x50, %esi
jmp 0x24fab
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x24fa1
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x24fd0
movl $0x30, %esi
movq %r14, %rdi
jmp 0x24fcb
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
je 0x24fd0
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
movq %rbx, %rdi
callq 0x8420