// File: /workspace/github_cpp_makefile_star2_O1/martinda3[P]Compiler/src/JVM/JVMgenerateProgram.cpp
// Function: toyc::JVMgenerateProgram::genConstructor(toyc::JVMtargetCode*)
void JVMgenerateProgram::genConstructor(JVMtargetCode *tc) {
    method *m = new method("<init>", "V");
    m->addAccessSpec("public");
    tc->add(m);
    tc->add(new limit("stack",1));  // ATM I think is irrelevent
    tc->add(new limit("locals",1)); // ATM I think is irrelevent
//    tc->add(new line(LINE_COUNTER)); LINE_COUNTER++;    //  Bookmakr
    tc->add(new ALOAD_0());
    tc->add(new INVOKESPECIAL(OBJECT_CONSTRUCTOR));
    tc->add(new RETURN());
    tc->add(new end());
    tc->add(new blankLine());
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc0, %rsp
movq %rdi, %rbx
movl $0x580, %edi            # imm = 0x580
callq 0x8250
movq %rax, %r14
leaq 0x90(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8002(%rip), %rsi      # 0x2b7ca
leaq 0x8001(%rip), %rdx      # 0x2b7d0
leaq 0x80(%rsp), %rdi
callq 0xfc42
leaq 0x70(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x812b(%rip), %rsi      # 0x2b918
leaq 0x8125(%rip), %rdx      # 0x2b919
leaq 0x60(%rsp), %rdi
callq 0xfc42
leaq 0x80(%rsp), %rsi
leaq 0x60(%rsp), %rdx
movq %r14, %rdi
callq 0x1f540
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x2382a
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
movq 0x80(%rsp), %rdi
cmpq %r15, %rdi
je 0x23847
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
leaq 0xb0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7f76(%rip), %rsi      # 0x2b7d1
leaq 0x7f75(%rip), %rdx      # 0x2b7d7
leaq 0xa0(%rsp), %r15
movq %r15, %rdi
callq 0xfc42
movq %r14, %rdi
movq %r15, %rsi
callq 0x1f724
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2389a
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x8260
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl $0x58, %edi
callq 0x8250
movq %rax, %r14
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7e1e(%rip), %rsi      # 0x2b6e0
leaq 0x7e1c(%rip), %rdx      # 0x2b6e5
leaq 0x40(%rsp), %rdi
callq 0xfc42
movb $0x1, %bpl
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
movl $0x1, %edx
callq 0x20250
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x2390c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x58, %edi
callq 0x8250
movq %rax, %r14
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7dbd(%rip), %rsi      # 0x2b6e6
leaq 0x7dbc(%rip), %rdx      # 0x2b6ec
leaq 0x20(%rsp), %rdi
callq 0xfc42
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
movl $0x1, %edx
callq 0x20250
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x23973
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x10, %edi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x1e7c0
addq $0x8, %r14
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl $0x30, %edi
callq 0x8250
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x16ebc(%rip), %rax     # 0x3a870
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 0x239fb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x10, %edi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x1dd54
addq $0x8, %r14
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl $0x30, %edi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x20174
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movl $0x10, %edi
callq 0x8250
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
leaq 0x8(%rax), %rsi
leaq 0x144a6(%rip), %rcx     # 0x37f00
leaq 0x10(%rcx), %rdx
movq %rdx, (%rax)
addq $0x28, %rcx
movq %rcx, 0x8(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
addq $0xc0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x23b3a
jmp 0x23a96
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x23b35
movq %rax, %rbx
movl $0x10, %esi
jmp 0x23b79
jmp 0x23aa5
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x23b6f
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x23b81
movq 0xb0(%rsp), %rsi
incq %rsi
jmp 0x23b7c
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x23af3
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
jmp 0x23af3
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r15, %rdi
je 0x23b15
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
jmp 0x23b15
movq %rax, %rbx
movl $0x580, %esi            # imm = 0x580
jmp 0x23b79
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x23b35
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x23b81
movl $0x30, %esi
jmp 0x23b79
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x23b6f
movq 0x30(%rsp), %rsi
jmp 0x23b67
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x23b6f
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x23b81
movl $0x58, %esi
movq %r14, %rdi
callq 0x8260
movq %rbx, %rdi
callq 0x8420
nop