// File: 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
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x8(%rbp)
movl $0x580, %edi            # imm = 0x580
callq 0x9350
movq %rax, -0x120(%rbp)
movb $0x1, -0x6a(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x95c0
movq -0x118(%rbp), %rdx
leaq 0x8faa(%rip), %rsi      # 0x348ec
leaq -0x30(%rbp), %rdi
callq 0x13550
jmp 0x2b94d
leaq -0x69(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x95c0
movq -0x128(%rbp), %rdx
leaq 0x90cf(%rip), %rsi      # 0x34a3a
leaq -0x68(%rbp), %rdi
callq 0x13550
jmp 0x2b976
movq -0x120(%rbp), %rdi
leaq -0x30(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x25390
jmp 0x2b98c
movb $0x0, -0x6a(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x9658
leaq -0x69(%rbp), %rdi
callq 0x93b0
leaq -0x30(%rbp), %rdi
callq 0x9658
leaq -0x31(%rbp), %rdi
callq 0x93b0
movq -0x120(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x95c0
movq -0x130(%rbp), %rdx
leaq 0x8f08(%rip), %rsi      # 0x348f3
leaq -0x90(%rbp), %rdi
callq 0x13550
jmp 0x2b9f9
movq -0x138(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x255c0
jmp 0x2ba0e
leaq -0x90(%rbp), %rdi
callq 0x9658
leaq -0x91(%rbp), %rdi
callq 0x93b0
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
movq -0x8(%rbp), %rax
movq %rax, -0x150(%rbp)
movl $0x58, %edi
callq 0x9350
movq %rax, -0x148(%rbp)
movb $0x1, -0xba(%rbp)
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x95c0
movq -0x140(%rbp), %rdx
leaq 0x8d26(%rip), %rsi      # 0x347a0
leaq -0xb8(%rbp), %rdi
callq 0x13550
jmp 0x2ba88
movq -0x148(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
movl $0x1, %edx
callq 0x26100
jmp 0x2baa2
movq -0x148(%rbp), %rsi
movq -0x150(%rbp), %rdi
movb $0x0, -0xba(%rbp)
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
jmp 0x2bac1
leaq -0xb8(%rbp), %rdi
callq 0x9658
leaq -0xb9(%rbp), %rdi
callq 0x93b0
movq -0x8(%rbp), %rax
movq %rax, -0x168(%rbp)
movl $0x58, %edi
callq 0x9350
movq %rax, -0x160(%rbp)
movb $0x1, -0xe2(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x95c0
movq -0x158(%rbp), %rdx
leaq 0x8c89(%rip), %rsi      # 0x347a6
leaq -0xe0(%rbp), %rdi
callq 0x13550
jmp 0x2bb2b
movq -0x160(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
movl $0x1, %edx
callq 0x26100
jmp 0x2bb45
movq -0x160(%rbp), %rsi
movq -0x168(%rbp), %rdi
movb $0x0, -0xe2(%rbp)
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
jmp 0x2bb64
leaq -0xe0(%rbp), %rdi
callq 0x9658
leaq -0xe1(%rbp), %rdi
callq 0x93b0
movq -0x8(%rbp), %rax
movq %rax, -0x178(%rbp)
movl $0x10, %edi
callq 0x9350
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x170(%rbp)
callq 0x23ef0
jmp 0x2bba5
movq -0x170(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x180(%rbp)
je 0x2bbcd
movq -0x170(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x180(%rbp)
movq -0x178(%rbp), %rdi
movq -0x180(%rbp), %rsi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
movq -0x8(%rbp), %rax
movq %rax, -0x190(%rbp)
movl $0x30, %edi
callq 0x9350
movq %rax, -0x188(%rbp)
movb $0x1, -0x109(%rbp)
leaq 0x19d53(%rip), %rsi     # 0x45960
leaq -0x108(%rbp), %rdi
callq 0x9170
jmp 0x2bc1b
movq -0x188(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x24c00
jmp 0x2bc30
movq -0x188(%rbp), %rcx
movb $0x0, -0x109(%rbp)
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x198(%rbp)
je 0x2bc5f
movq -0x188(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x198(%rbp)
movq -0x190(%rbp), %rdi
movq -0x198(%rbp), %rsi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
jmp 0x2bc77
leaq -0x108(%rbp), %rdi
callq 0x9658
movq -0x8(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movl $0x10, %edi
callq 0x9350
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x1a0(%rbp)
callq 0x230e0
jmp 0x2bcac
movq -0x1a0(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x1b0(%rbp)
je 0x2bcd4
movq -0x1a0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x1b0(%rbp)
movq -0x1a8(%rbp), %rdi
movq -0x1b0(%rbp), %rsi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
movq -0x8(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movl $0x30, %edi
callq 0x9350
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x1b8(%rbp)
callq 0x26000
jmp 0x2bd13
movq -0x1b8(%rbp), %rsi
movq -0x1c0(%rbp), %rdi
movq (%rdi), %rax
callq *(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movl $0x10, %edi
callq 0x9350
movq %rax, %rdi
movq %rdi, -0x1d0(%rbp)
xorl %esi, %esi
movl $0x10, %edx
callq 0x91d0
movq -0x1d0(%rbp), %rdi
callq 0x2d390
movq -0x1d0(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x1c8(%rbp)
je 0x2bd85
movq -0x1d0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x1c8(%rbp)
movq -0x1d8(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
movq (%rdi), %rax
callq *(%rax)
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2bde4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2bdd2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x9658
leaq -0x69(%rbp), %rdi
callq 0x93b0
leaq -0x30(%rbp), %rdi
callq 0x9658
leaq -0x31(%rbp), %rdi
callq 0x93b0
testb $0x1, -0x6a(%rbp)
jne 0x2bdf5
jmp 0x2be06
movq -0x120(%rbp), %rdi
movl $0x580, %esi            # imm = 0x580
callq 0x9360
jmp 0x2bf8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2be31
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x9658
leaq -0x91(%rbp), %rdi
callq 0x93b0
jmp 0x2bf8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2be68
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x9658
leaq -0xb9(%rbp), %rdi
callq 0x93b0
testb $0x1, -0xba(%rbp)
jne 0x2be7f
jmp 0x2be90
movq -0x148(%rbp), %rdi
movl $0x58, %esi
callq 0x9360
jmp 0x2bf8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2bebb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x9658
leaq -0xe1(%rbp), %rdi
callq 0x93b0
testb $0x1, -0xe2(%rbp)
jne 0x2bed2
jmp 0x2bee3
movq -0x160(%rbp), %rdi
movl $0x58, %esi
callq 0x9360
jmp 0x2bf8a
movq -0x170(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x10, %esi
callq 0x9360
jmp 0x2bf8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2bf30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x9658
testb $0x1, -0x109(%rbp)
jne 0x2bf3b
jmp 0x2bf4c
movq -0x188(%rbp), %rdi
movl $0x30, %esi
callq 0x9360
jmp 0x2bf8a
movq -0x1a0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x10, %esi
callq 0x9360
jmp 0x2bf8a
movq -0x1b8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x30, %esi
callq 0x9360
movq -0x40(%rbp), %rdi
callq 0x95b0
nopw %cs:(%rax,%rax)