// File: /workspace/github_cpp_makefile_star2_O3/canzarlab[P]Trajan/src/generator.cpp
// Function: main
int main(int argc, char** argv)
{
    if (argc != 3)
    {
        cout << "usage: " << argv[0] << " <n-leaves> <n-trees>\n";
        return 1;
    }
    srand(unsigned(time(0)));
    int n_leaves = stoi(argv[1]);
    int n_trees = stoi(argv[2]);
    for (int i = 0; i < n_trees; ++i)
    {
        for (int j = 0; j < 2; ++j)
        {
            newick_node* root = F[j](n_leaves);
            ofstream file(string("data") + to_string(j) + string("/a") + to_string(i));
            assert(file);
            print_tree(root, file);
            file << '\n';
            delete root;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2f8, %rsp            # imm = 0x2F8
movq %rsi, %r15
cmpl $0x3, %edi
jne 0x37b7
xorl %edi, %edi
callq 0x21d0
movl %eax, %edi
callq 0x21e0
movq 0x8(%r15), %rsi
leaq 0xf8(%rsp), %rdi
movq %rsp, %rdx
callq 0x3a08
movq 0xf8(%rsp), %rbx
callq 0x2050
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x40(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x22d0
cmpq %rbx, (%r12)
je 0x385f
movq %rax, %r13
movslq %r13d, %rax
cmpq %r13, %rax
jne 0x386b
movl (%r14), %eax
cmpl $0x22, %eax
je 0x386b
testl %eax, %eax
jne 0x31cd
movl %ebp, (%r14)
leaq 0x108(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x31ef
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x10(%r15), %rsi
leaq 0xf8(%rsp), %rdi
movq %rsp, %rdx
callq 0x3a08
movq 0xf8(%rsp), %rbx
movl (%r14), %ebp
movl $0x0, (%r14)
leaq 0x40(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
movl $0xa, %edx
callq 0x22d0
cmpq %rbx, (%r15)
je 0x3877
movq %rax, %rdx
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rdx), %rcx
cmpq %rax, %rcx
jb 0x3883
movl (%r14), %eax
cmpl $0x22, %eax
je 0x3883
testl %eax, %eax
jne 0x3263
movl %ebp, (%r14)
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3286
movq 0x108(%rsp), %rsi
incq %rsi
movq %rdx, %rbx
callq 0x2210
movq %rbx, %rdx
testl %edx, %edx
jle 0x382c
movq %r13, 0xf0(%rsp)
movq 0x6d2b(%rip), %rax      # 0x9fc8
movq (%rax), %rbp
movq 0x18(%rax), %rax
movq %rax, 0xe8(%rsp)
xorl %r12d, %r12d
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq %rdx, 0xe0(%rsp)
movb $0x1, %r15b
xorl %ebx, %ebx
movq 0xf0(%rsp), %rdi
leaq 0x6f1f(%rip), %rax      # 0xa1f0
callq *(%rax,%rbx,8)
movq %rax, %r14
leaq 0xd0(%rsp), %rax
movq %rax, 0xc0(%rsp)
leaq 0xc0(%rsp), %rdi
leaq 0x3d69(%rip), %rsi      # 0x705f
leaq 0x3d66(%rip), %rdx      # 0x7063
callq 0x3af4
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movl $0x1, %esi
leaq 0x80(%rsp), %rdi
movl $0x2d, %edx
callq 0x2260
movq 0x80(%rsp), %rdi
movl $0x1, %esi
movl %ebx, %edx
callq 0x3a86
movq 0xc0(%rsp), %rcx
movl $0xf, %edi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rcx
je 0x335f
movq 0xd0(%rsp), %rdi
movq 0xc8(%rsp), %r8
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x339f
movl $0xf, %edi
leaq 0x90(%rsp), %r9
cmpq %r9, %rsi
je 0x339a
movq 0x90(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x33ae
leaq 0xc0(%rsp), %rdi
callq 0x20c0
jmp 0x33bf
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x33e4
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x33ea
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0x3c3e(%rip), %rsi      # 0x7064
leaq 0x3c39(%rip), %rdx      # 0x7066
callq 0x3af4
movq 0x20(%rsp), %rcx
movl $0xf, %edi
leaq 0x30(%rsp), %rax
cmpq %rax, %rcx
je 0x344b
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %r8
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x3488
movl $0xf, %edi
leaq 0xb0(%rsp), %r9
cmpq %r9, %rsi
je 0x3483
movq 0xb0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x3494
leaq 0x20(%rsp), %rdi
callq 0x20c0
jmp 0x34a5
leaq 0xa0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x34c8
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x34ce
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movl $0x1, %ebx
cmpl $0xa, %r12d
jb 0x3533
movl $0x4, %ebx
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x352c
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3531
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3533
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x34fe
addl $-0x3, %ebx
jmp 0x3533
addl $-0x2, %ebx
jmp 0x3533
decl %ebx
movl %ebx, %esi
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x60(%rsp), %rdi
movl $0x2d, %edx
callq 0x2260
movq 0x60(%rsp), %rdi
movl %ebx, %esi
movl %r12d, %edx
callq 0x3a86
movq (%rsp), %rcx
movl $0xf, %edi
leaq 0x10(%rsp), %rax
cmpq %rax, %rcx
je 0x3575
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %r8
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x50(%rsp), %rbx
jbe 0x35ab
movl $0xf, %edi
leaq 0x70(%rsp), %r9
cmpq %r9, %rsi
je 0x35a6
movq 0x70(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x35b5
movq %rsp, %rdi
callq 0x20c0
jmp 0x35c3
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
movq %rbx, 0x40(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x35e3
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x35e9
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xf8(%rsp), %rdi
leaq 0x40(%rsp), %rsi
movl $0x10, %edx
callq 0x23a0
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3634
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
leaq 0xf8(%rsp), %rbx
je 0x3658
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x3673
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x3698
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x36b4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x36d9
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x36fe
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xf8(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x118(%rsp,%rax)
jne 0x3840
movq %r14, %rdi
movq %rbx, %rsi
callq 0x48db
movb $0xa, 0x40(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
callq 0x2250
testq %r14, %r14
je 0x3747
movq %r14, %rdi
callq 0x3f54
movl $0x38, %esi
movq %r14, %rdi
callq 0x2210
movq %rbp, 0xf8(%rsp)
movq -0x18(%rbp), %rax
movq 0xe8(%rsp), %rcx
movq %rcx, 0xf8(%rsp,%rax)
leaq 0x100(%rsp), %rdi
callq 0x21b0
leaq 0x1f0(%rsp), %rdi
callq 0x20d0
movl $0x1, %ebx
xorl %eax, %eax
testb $0x1, %r15b
movl $0x0, %r15d
jne 0x32c2
incl %r12d
movq 0xe0(%rsp), %rdx
cmpl %edx, %r12d
jne 0x32bd
jmp 0x382e
movq 0x6812(%rip), %rbx      # 0x9fd0
leaq 0x387b(%rip), %rsi      # 0x7040
movl $0x7, %edx
movq %rbx, %rdi
callq 0x2250
movq (%r15), %r14
testq %r14, %r14
je 0x37f6
movq %r14, %rdi
callq 0x2100
movq 0x67e7(%rip), %rdi      # 0x9fd0
movq %r14, %rsi
movq %rax, %rdx
callq 0x2250
jmp 0x380d
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x2350
movq 0x67bc(%rip), %rdi      # 0x9fd0
leaq 0x382d(%rip), %rsi      # 0x7048
movl $0x16, %edx
callq 0x2250
movl $0x1, %eax
jmp 0x382e
xorl %eax, %eax
addq $0x2f8, %rsp            # imm = 0x2F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3820(%rip), %rdi      # 0x7067
leaq 0x381e(%rip), %rsi      # 0x706c
leaq 0x3829(%rip), %rcx      # 0x707e
movl $0x5c, %edx
callq 0x2140
leaq 0x382f(%rip), %rdi      # 0x7095
callq 0x2130
leaq 0x3823(%rip), %rdi      # 0x7095
callq 0x22e0
leaq 0x3817(%rip), %rdi      # 0x7095
callq 0x2130
leaq 0x380b(%rip), %rdi      # 0x7095
callq 0x22e0
jmp 0x3906
jmp 0x3906
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x389f
movl %ebp, (%r14)
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
jne 0x38d2
jmp 0x39ff
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x38bd
movl %ebp, (%r14)
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39ff
movq 0x108(%rsp), %rsi
jmp 0x39e5
movq %rax, %rbx
jmp 0x3987
movq %rax, %rbx
jmp 0x39c8
movq %rax, %rbx
jmp 0x392b
movq %rax, %rbx
jmp 0x3947
movq %rax, %rbx
jmp 0x39a3
movq %rax, %rbx
jmp 0x3962
movq %rax, %rbx
jmp 0x39ff
movq %rbx, %rcx
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %rcx, %rdi
je 0x392b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3947
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x3962
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x3987
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x39a3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x39c8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x39ff
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x39ff
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x2300
movq %rbx, %rdi
callq 0x2370
nop