// File: /workspace/github_cpp_makefile_star2_O1/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, %rbx
cmpl $0x3, %edi
jne 0x35ca
xorl %edi, %edi
callq 0x21d0
movl %eax, %edi
callq 0x21e0
movq 0x8(%rbx), %rsi
leaq 0xf8(%rsp), %rdi
movq %rsp, %rdx
callq 0x381a
movq 0xf8(%rsp), %r15
callq 0x2050
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x40(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x22d0
cmpq %r15, (%r12)
je 0x366f
movq %rax, %r13
movslq %r13d, %rax
cmpq %r13, %rax
jne 0x367b
movl (%r14), %eax
cmpl $0x22, %eax
je 0x367b
testl %eax, %eax
jne 0x2fd9
movl %ebp, (%r14)
leaq 0x108(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x2ffb
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x10(%rbx), %rsi
leaq 0xf8(%rsp), %rdi
movq %rsp, %rdx
callq 0x381a
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 0x3687
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%rax), %rcx
cmpq %rdx, %rcx
jb 0x3693
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x3693
testl %ecx, %ecx
jne 0x306c
movl %ebp, (%r14)
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
movq %rax, 0xe0(%rsp)
je 0x3099
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xe0(%rsp), %rax
testl %eax, %eax
jle 0x35c6
movq %r13, 0xf0(%rsp)
leaq 0xd0(%rsp), %r15
movq 0x5f10(%rip), %rax      # 0x8fc8
movq (%rax), %rbp
movq 0x18(%rax), %rax
movq %rax, 0xe8(%rsp)
xorl %r12d, %r12d
xorl %r14d, %r14d
movq 0xf0(%rsp), %rdi
leaq 0x6114(%rip), %rax      # 0x91f0
callq *(%rax,%r14,8)
movq %rax, %rbx
movq %r15, 0xc0(%rsp)
leaq 0xc0(%rsp), %rdi
leaq 0x2f29(%rip), %rsi      # 0x6023
leaq 0x2f26(%rip), %rdx      # 0x6027
callq 0x3902
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 %r14d, %edx
callq 0x3895
movq 0xc0(%rsp), %rcx
movl $0xf, %esi
cmpq %r15, %rcx
je 0x315c
movq 0xd0(%rsp), %rsi
movq 0xc8(%rsp), %r8
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x3199
movl $0xf, %esi
leaq 0x90(%rsp), %rdi
cmpq %rdi, 0x80(%rsp)
je 0x3194
movq 0x90(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x31b0
movq 0x80(%rsp), %rsi
leaq 0xc0(%rsp), %rdi
callq 0x20c0
jmp 0x31c1
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 0x31e6
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x31ec
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 0x2e00(%rip), %rsi      # 0x6028
leaq 0x2dfb(%rip), %rdx      # 0x602a
callq 0x3902
movq 0x20(%rsp), %rcx
movl $0xf, %esi
leaq 0x30(%rsp), %rax
cmpq %rax, %rcx
je 0x324d
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %r8
movq 0xa8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x3287
movl $0xf, %esi
leaq 0xb0(%rsp), %rdi
cmpq %rdi, 0xa0(%rsp)
je 0x3282
movq 0xb0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x329b
movq 0xa0(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x20c0
jmp 0x32ac
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 0x32cf
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x32d5
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, %r15d
cmpl $0xa, %r12d
jb 0x3345
movl $0x4, %r15d
movl %r12d, %eax
movl $0xd1b71759, %edx       # imm = 0xD1B71759
cmpl $0x63, %eax
jbe 0x333c
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3342
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3345
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x330c
addl $-0x3, %r15d
jmp 0x3345
addl $-0x2, %r15d
jmp 0x3345
decl %r15d
movl %r15d, %esi
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x60(%rsp), %rdi
movl $0x2d, %edx
callq 0x2260
movq 0x60(%rsp), %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x3895
movq (%rsp), %rcx
movl $0xf, %esi
leaq 0x10(%rsp), %rax
cmpq %rax, %rcx
je 0x3389
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %r8
movq 0x68(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq 0xd0(%rsp), %r15
jbe 0x33bf
movl $0xf, %esi
leaq 0x70(%rsp), %rdi
cmpq %rdi, 0x60(%rsp)
je 0x33ba
movq 0x70(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x33ce
movq 0x60(%rsp), %rsi
movq %rsp, %rdi
callq 0x20c0
jmp 0x33dc
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq 0x50(%rsp), %rsi
movq %rsi, 0x40(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x3401
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x3407
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
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
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x3457
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3473
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x348e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x34b3
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x34cf
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x34f4
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xc0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3511
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xf8(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x118(%rsp,%rax)
jne 0x3650
movq %rbx, %rdi
leaq 0xf8(%rsp), %r13
movq %r13, %rsi
callq 0x46d7
movb $0xa, 0x40(%rsp)
movl $0x1, %edx
movq %r13, %rdi
leaq 0x40(%rsp), %rsi
callq 0x2250
testq %rbx, %rbx
je 0x356f
movq %rbx, %rdi
callq 0x3d5e
movl $0x38, %esi
movq %rbx, %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
leaq 0x1(%r14), %rax
testq %r14, %r14
movq %rax, %r14
je 0x30cd
incl %r12d
cmpl 0xe0(%rsp), %r12d
jne 0x30ca
xorl %eax, %eax
jmp 0x363e
movq 0x59ff(%rip), %r14      # 0x8fd0
leaq 0x2a2c(%rip), %rsi      # 0x6004
movl $0x7, %edx
movq %r14, %rdi
callq 0x2250
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x3609
movq %rbx, %rdi
callq 0x2100
movq 0x59d4(%rip), %rdi      # 0x8fd0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x2250
jmp 0x3621
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2350
movq 0x59a8(%rip), %rdi      # 0x8fd0
leaq 0x29dd(%rip), %rsi      # 0x600c
movl $0x16, %edx
callq 0x2250
movl $0x1, %eax
addq $0x2f8, %rsp            # imm = 0x2F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x29d4(%rip), %rdi      # 0x602b
leaq 0x29d2(%rip), %rsi      # 0x6030
leaq 0x29dd(%rip), %rcx      # 0x6042
movl $0x5c, %edx
callq 0x2140
leaq 0x29e3(%rip), %rdi      # 0x6059
callq 0x2130
leaq 0x29d7(%rip), %rdi      # 0x6059
callq 0x22e0
leaq 0x29cb(%rip), %rdi      # 0x6059
callq 0x2130
leaq 0x29bf(%rip), %rdi      # 0x6059
callq 0x22e0
jmp 0x371e
jmp 0x371e
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x36af
movl %ebp, (%r14)
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
jne 0x36e2
jmp 0x3811
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x36cd
movl %ebp, (%r14)
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3811
movq 0x108(%rsp), %rsi
jmp 0x37f7
movq %rax, %rbx
jmp 0x37a1
movq %rax, %rbx
jmp 0x37e2
movq %rax, %rbx
jmp 0x3745
movq %rax, %rbx
leaq 0xd0(%rsp), %r15
jmp 0x3761
movq %rax, %rbx
jmp 0x37bd
movq %rax, %rbx
jmp 0x377c
movq %rax, %rbx
jmp 0x3811
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x3745
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3761
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x377c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x37a1
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x37bd
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x37e2
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0xc0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3811
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x3811
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x2300
movq %rbx, %rdi
callq 0x2370
nop