// File: /workspace/github_c_makefile_star2_O3/jflatow[P]jfdb/test/trie.c
// Function: main
int main(int argc, char **argv) {
  size_t O = argc > 1 ? atoi(argv[1]) : 0;
  size_t B = argc > 2 ? atoi(argv[2]) : 1;
  JFT_Buffer
    *scratch = JFT_membuf(),
    *outputW = JFT_membuf(),
    *outputX = JFT_membuf(),
    *outputY = JFT_membuf();
  if (scratch == NULL || outputX == NULL || outputY == NULL)
    return ENoMem;

  JFT_Word *b = malloc(B * sizeof(JFT_Word));
  JFT_Leaf v = ((JFT_Leaf) {.size = B, .data = b});
  if (B > 0)
    b[0] = 42;
  const JFT_Stem k[] = {
    JFTK("hello world"),
    JFTK("i1"),
    JFTK("i2"),
    JFTK("index3"),
    JFTK("index3"),
    JFTK("aliens"),
    JFTK("attack!!"),
    JFTK("keyhole")
  };
  JFT *w = JFT_atom(k + 0, &v, k + 1, 7, scratch, outputW);
  JFT *x = JFT_atom(k + 1, &v, k + 1, 7, scratch, outputX);
  JFT *y = JFT_atom(k + 2, &v, k + 2, 6, scratch, outputY);

  JFT_Cursor cursors[] = {
    JFT_cursor(w),
    JFT_cursor(x),
    JFT_cursor(y)
  };
  JFT *z = JFT_cursor_merge_new(cursors, 3, scratch, 0);
  if (z) {
    printf("scratch: %zu\n", scratch->size);
    print_node(z + O);
    print_trie(z + O);

    JFT_Cursor c = JFT_cursor(z + O);
    JFT_Stem q = (JFT_Stem) {.data = malloc(JFT_KEY_LIMIT)};
    JFT_Keys ks = JFT_keys(&c, &q, Reverse);
    uint8_t keyData[JFT_KEY_LIMIT];
    print_stem("", JFT_key(c.node, keyData));
    while (JFT_keys_next(&ks))
      print_stem(" -> ", *ks.stem);
    free(q.data);
  } else {
    printf("Failed to splice atom\n");
  }

  free(b);
  JFT_membuf_free(scratch);
  JFT_membuf_free(outputW);
  JFT_membuf_free(outputX);
  JFT_membuf_free(outputY);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x628, %rsp            # imm = 0x628
movl $0x1, %ebp
cmpl $0x2, %edi
jl 0x133c
movq %rsi, %rbx
movl %edi, %r14d
movq 0x8(%rsi), %rdi
callq 0x11d0
movslq %eax, %r15
cmpl $0x2, %r14d
je 0x133f
movq 0x10(%rbx), %rdi
callq 0x11d0
movl %eax, %ebp
jmp 0x133f
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x59eb
movq %rax, %rbx
xorl %eax, %eax
callq 0x59eb
movq %rax, %r13
xorl %eax, %eax
callq 0x59eb
movq %rax, %r14
xorl %eax, %eax
callq 0x59eb
testq %rbx, %rbx
sete %dl
movq %r14, 0x60(%rsp)
testq %r14, %r14
sete %cl
orb %dl, %cl
movq %rax, 0x58(%rsp)
testq %rax, %rax
sete %al
orb %cl, %al
movl $0x5, %eax
jne 0x1e5a
movq %r15, (%rsp)
movq %rbx, 0x48(%rsp)
movslq %ebp, %rbx
leaq (,%rbx,8), %rdi
callq 0x1160
movq %rax, %rbp
movl %ebx, 0x68(%rsp)
movq %rax, 0x70(%rsp)
testl %ebx, %ebx
je 0x13c0
movq $0x2a, (%rbp)
leaq 0x8969(%rip), %rsi      # 0x9d30
leaq 0x160(%rsp), %r14
movl $0xc0, %edx
movq %r14, %rdi
callq 0x1150
leaq 0x178(%rsp), %r15
leaq 0x68(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl $0x7, %ecx
movq 0x48(%rsp), %rbx
movq %rbx, %r8
movq %r13, 0x40(%rsp)
movq %r13, %r9
callq 0x5068
movq %rax, %r13
movq %r15, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl $0x7, %ecx
movq %rbx, %r8
movq 0x60(%rsp), %r9
callq 0x5068
movq %rax, %r15
leaq 0x190(%rsp), %rdi
movq %r12, %rsi
movq %rdi, %rdx
movl $0x6, %ecx
movq %rbx, %r8
movq 0x58(%rsp), %r9
callq 0x5068
movq %rax, %r12
xorps %xmm0, %xmm0
leaq 0xb0(%rsp), %r14
movups %xmm0, 0x28(%r14)
movups %xmm0, 0x18(%r14)
movups %xmm0, 0x8(%r14)
movq %r13, (%r14)
movq %r14, %rdi
movl $0x1, %esi
movq %r13, %rdx
callq 0x3bac
leaq 0xe8(%rsp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, 0x8(%rdi)
movaps %xmm0, 0x18(%rdi)
movaps %xmm0, 0x28(%rdi)
movq %r15, (%rdi)
movl $0x1, %esi
movq %r15, %rdx
callq 0x3bac
leaq 0x120(%rsp), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movq %r12, (%rdi)
movl $0x1, %esi
movq %r12, %rdx
callq 0x3bac
movl $0x3, %esi
movq %r14, %rdi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x4731
testq %rax, %rax
je 0x151c
movq %rax, %r15
movq %rbp, 0x50(%rsp)
movq 0x8(%rbx), %rsi
leaq 0x5c80(%rip), %rdi      # 0x7175
xorl %r13d, %r13d
xorl %eax, %eax
callq 0x10e0
movq (%rsp), %rax
leaq (%r15,%rax), %rbp
movq (%r15,%rax), %r14
btq $0x3d, %r14
leaq 0x8(%r15,%rax), %rbx
jb 0x1532
movq %rbx, %r12
jmp 0x1542
leaq 0x5e5f(%rip), %rdi      # 0x7382
callq 0x1080
movq 0x40(%rsp), %r15
jmp 0x1e2c
movzbl 0x8(%rbp), %r13d
orq $-0x100, %r13
leaq 0x9(%rbp), %r12
movabsq $0xffffffffff, %r15     # imm = 0xFFFFFFFFFF
shrq $0x30, %r14
andl $0xfff, %r14d           # imm = 0xFFF
leaq 0x5e3a(%rip), %rdi      # 0x7398
callq 0x1080
movq %rbp, (%rsp)
movq (%rbp), %r10
movq %r10, %rax
shrq $0x3e, %rax
leaq 0x5ba7(%rip), %rcx      # 0x7120
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
movq %r10, %rdx
shrq $0x3d, %rdx
andl $0x1, %edx
movq %r10, %rcx
shrq $0x3c, %rcx
andl $0x1, %ecx
movq %r10, %rax
shrq $0x28, %rax
movzbl %al, %r9d
andq %r15, %r10
subq $0x8, %rsp
leaq 0x5bdb(%rip), %rdi      # 0x7188
movl %r14d, %r8d
xorl %eax, %eax
pushq %r10
callq 0x10e0
addq $0x10, %rsp
movq %r13, 0x220(%rsp)
movw %r14w, 0x228(%rsp)
movq %r12, 0x230(%rsp)
leaq 0x5(%r13), %rax
cmpq $0x5, %rax
ja 0x161d
leaq 0x5a29(%rip), %rcx      # 0x7010
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x5d6e(%rip), %rsi      # 0x7365
jmp 0x1625
leaq 0x5d5d(%rip), %rsi      # 0x735d
jmp 0x1625
leaq 0x5d64(%rip), %rsi      # 0x736d
jmp 0x1625
leaq 0x5d4f(%rip), %rsi      # 0x7361
jmp 0x1625
leaq 0x5d3e(%rip), %rsi      # 0x7359
jmp 0x1625
leaq 0x220(%rsp), %rsi
leaq 0x5d49(%rip), %rdi      # 0x7375
xorl %r13d, %r13d
xorl %eax, %eax
callq 0x10e0
cmpq 0x220(%rsp), %r13
sbbq %r13, %r13
movq 0x230(%rsp), %r12
movzwl 0x228(%rsp), %r14d
movzwl %r14w, %ebp
addq %r13, %rbp
je 0x16a5
xorl %r14d, %r14d
xorl %r13d, %r13d
movzbl (%r12,%r13), %esi
leal -0x7f(%rsi), %eax
cmpb $-0x60, %al
ja 0x1680
leaq 0x1(%r14), %r15
testb $0x1, %r14b
jne 0x168c
leaq 0x5c8f(%rip), %rdi      # 0x730d
jmp 0x1693
movl %esi, %edi
callq 0x1040
movq %r14, %r15
jmp 0x169a
leaq 0x5c6e(%rip), %rdi      # 0x7301
xorl %eax, %eax
callq 0x10e0
incq %r13
movq %r15, %r14
cmpq %r13, %rbp
jne 0x1661
movl $0xa, %edi
callq 0x1040
leaq 0x5ce2(%rip), %rdi      # 0x7398
callq 0x1080
movq (%rsp), %rdi
movq (%rdi), %r15
movq %r15, %rax
shrq $0x3e, %rax
leaq 0x5958(%rip), %rcx      # 0x7028
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rdx
movq 0x18(%rdi), %rcx
movl 0x20(%rdi), %r8d
movl 0x24(%rdi), %r9d
movl 0x28(%rdi), %r10d
movzwl 0x2c(%rdi), %r11d
leaq 0x5b4e(%rip), %rdi      # 0x724b
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x10e0
addq $0x10, %rsp
jmp 0x18c9
movq %r15, %rax
shrq $0x28, %rax
movzbl %al, %eax
shrq $0x30, %r15
andl $0xfff, %r15d           # imm = 0xFFF
addq %r15, %rbx
shll $0x4, %eax
leaq 0x593d(%rip), %rcx      # 0x7070
movq (%rax,%rcx), %r13
movq 0x8(%rax,%rcx), %rbp
leaq 0x5c66(%rip), %rdi      # 0x73a9
callq 0x1080
incq %rbp
leaq 0x5bbb(%rip), %r14      # 0x730d
leaq 0x5ba2(%rip), %r15      # 0x72fb
movq (%rbx), %r12
movl $0x20, %edi
callq 0x1040
movzbl %r13b, %esi
leal -0x7f(%r13), %eax
cmpb $-0x60, %al
ja 0x177e
movq %r14, %rdi
xorl %eax, %eax
callq 0x10e0
jmp 0x1785
movl %esi, %edi
callq 0x1040
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x10e0
incq %r13
addq $0x8, %rbx
cmpq %r13, %rbp
jne 0x1759
jmp 0x18c9
movq %r15, %r14
shrq $0x28, %r14
movl $0xff, %eax
andl %eax, %r14d
shrq $0x30, %r15
andl $0xfff, %r15d           # imm = 0xFFF
addq %r15, %rbx
cmpl %eax, %r14d
jne 0x17cc
movl (%rbx), %r14d
addq $0x4, %rbx
leaq 0x5b46(%rip), %rdi      # 0x7319
movl %r14d, %esi
xorl %eax, %eax
callq 0x10e0
leaq 0x5b45(%rip), %rdi      # 0x7329
xorl %eax, %eax
callq 0x10e0
testl %r14d, %r14d
je 0x1834
movl $0x2710, %r12d          # imm = 0x2710
cmpl %r12d, %r14d
cmovbl %r14d, %r12d
leaq 0x5b31(%rip), %r15      # 0x7335
xorl %r13d, %r13d
movq (%rbx,%r13,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x10e0
incq %r13
cmpq %r13, %r12
jne 0x1807
cmpl $0x2710, %r14d          # imm = 0x2710
jbe 0x1834
leaq 0x5b0d(%rip), %rdi      # 0x733a
xorl %eax, %eax
callq 0x10e0
movl $0xa, %edi
callq 0x1040
jmp 0x18c9
movq %r15, %r14
shrq $0x28, %r14
leaq 0x5b4d(%rip), %rdi      # 0x739e
callq 0x1080
testb %r14b, %r14b
je 0x18c9
shrq $0x30, %r15
andl $0xfff, %r15d           # imm = 0xFFF
addq %r15, %rbx
movzbl %r14b, %ebp
leaq (%rbx,%rbp), %r14
negq %rbp
xorl %r15d, %r15d
movzbl (%rbx,%r15), %r13d
movq (%r14,%r15,8), %r12
movl $0x20, %edi
callq 0x1040
leal -0x7f(%r13), %eax
cmpb $-0x60, %al
ja 0x18a5
leaq 0x5a74(%rip), %rdi      # 0x730d
movl %r13d, %esi
xorl %eax, %eax
callq 0x10e0
jmp 0x18ad
movl %r13d, %edi
callq 0x1040
leaq 0x5a47(%rip), %rdi      # 0x72fb
movq %r12, %rsi
xorl %eax, %eax
callq 0x10e0
incq %r15
movq %rbp, %rax
addq %r15, %rax
jne 0x1877
movabsq $0x2000000000000000, %rbx # imm = 0x2000000000000000
leaq 0x5abe(%rip), %rdi      # 0x7398
callq 0x1080
xorps %xmm0, %xmm0
leaq 0x220(%rsp), %r14
movups %xmm0, 0x28(%r14)
movups %xmm0, 0x18(%r14)
movups %xmm0, 0x8(%r14)
movq (%rsp), %rdx
movq %rdx, (%r14)
movq %r14, %rdi
movl $0x1, %esi
callq 0x3bac
leaq 0x250(%rsp), %r13
leaq 0x5a30(%rip), %r12      # 0x734c
xorl %r15d, %r15d
movl %r15d, %ebp
testl %r15d, %r15d
jle 0x1935
movl $0x20, %edi
callq 0x1040
decl %ebp
jne 0x1927
movq 0x250(%rsp), %rax
cmpq $0xff, %rax
jbe 0x1966
movq %r13, %rsi
cmpq $-0x5, %rax
jb 0x195d
leaq 0x57db(%rip), %rcx      # 0x7130
movslq 0x14(%rcx,%rax,4), %rsi
addq %rcx, %rsi
leaq 0x59db(%rip), %rdi      # 0x733f
jmp 0x196c
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x10e0
incl %r15d
je 0x198b
movq %r14, %rdi
movl $0x1, %esi
callq 0x3cc3
cmpq $-0x2, %rax
jb 0x191f
movq %r14, %rdi
movl $0x1, %esi
callq 0x4059
cmpq $-0x2, %rax
jb 0x19b9
subl $0x1, %r15d
jb 0x19c2
movq %r14, %rdi
movl $0x1, %esi
callq 0x3c67
cmpq $-0x4, %rax
jbe 0x198b
jmp 0x19c2
testl %r15d, %r15d
jne 0x191f
xorps %xmm0, %xmm0
leaq 0x78(%rsp), %r14
movups %xmm0, 0x28(%r14)
movups %xmm0, 0x18(%r14)
movups %xmm0, 0x8(%r14)
movq (%rsp), %rdx
movq %rdx, (%r14)
movq %r14, %rdi
movl $0x1, %esi
callq 0x3bac
leaq 0x28(%rsp), %r15
movq $0x0, (%r15)
movw $0x0, 0x8(%r15)
movl $0x400, %edi            # imm = 0x400
callq 0x1160
movq %rax, 0x10(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x40db
movzwl 0x8(%r15), %eax
movw %ax, 0xe(%rsp)
movq 0x8(%r14), %r13
leaq 0x620(%rsp), %r14
movq (%r13), %rax
movq %rax, %rcx
shrq $0x3e, %rcx
jne 0x1a5c
movq $0x0, 0x10(%rsp)
movw $0x0, 0x18(%rsp)
movq %r14, 0x20(%rsp)
xorl %r15d, %r15d
xorl %r12d, %r12d
jmp 0x1b53
movabsq $0x4000000000000000, %rbp # imm = 0x4000000000000000
xorl %r15d, %r15d
testq %rbx, %rax
jne 0x1a77
leaq 0x8(%r13), %rsi
xorl %r12d, %r12d
jmp 0x1a87
movzbl 0x8(%r13), %r12d
orq $-0x100, %r12
leaq 0x9(%r13), %rsi
shrq $0x30, %rax
andl $0xfff, %eax            # imm = 0xFFF
cmpq $0x1, %r12
movl %eax, %ecx
adcw $-0x1, %cx
addl %eax, %r15d
movzwl %cx, %edx
subq %rdx, %r14
movq %r14, %rdi
callq 0x1150
movq (%r13), %rax
movabsq $0xffffffffff, %rcx     # imm = 0xFFFFFFFFFF
andq %rcx, %rax
movq %r13, %rcx
subq %rax, %rcx
negq %rax
movq (%r13,%rax), %rax
movq %rcx, %r13
cmpq %rbp, %rax
jae 0x1a69
movq %r12, 0x10(%rsp)
movw %r15w, 0x18(%rsp)
movq %r14, 0x20(%rsp)
leaq 0x5(%r12), %rax
cmpq $0x5, %rax
ja 0x1b2a
leaq 0x5544(%rip), %rcx      # 0x7038
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x5861(%rip), %rsi      # 0x7365
jmp 0x1b2f
leaq 0x5850(%rip), %rsi      # 0x735d
jmp 0x1b2f
leaq 0x5857(%rip), %rsi      # 0x736d
jmp 0x1b2f
leaq 0x5842(%rip), %rsi      # 0x7361
jmp 0x1b2f
leaq 0x5831(%rip), %rsi      # 0x7359
jmp 0x1b2f
leaq 0x10(%rsp), %rsi
leaq 0x583f(%rip), %rdi      # 0x7375
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x10e0
cmpq 0x10(%rsp), %r12
sbbq %r12, %r12
movq 0x20(%rsp), %r14
movzwl 0x18(%rsp), %r15d
movzwl %r15w, %ebx
addq %r12, %rbx
je 0x1ba8
leaq 0x579e(%rip), %r12      # 0x7301
xorl %ebp, %ebp
xorl %r13d, %r13d
movzbl (%r14,%r13), %esi
leal -0x7f(%rsi), %eax
cmpb $-0x60, %al
ja 0x1b87
leaq 0x1(%rbp), %r15
testb $0x1, %bpl
jne 0x1b93
leaq 0x5788(%rip), %rdi      # 0x730d
jmp 0x1b96
movl %esi, %edi
callq 0x1040
movq %rbp, %r15
jmp 0x1b9d
movq %r12, %rdi
xorl %eax, %eax
callq 0x10e0
incq %r13
movq %r15, %rbp
cmpq %r13, %rbx
jne 0x1b68
movl $0xa, %edi
callq 0x1040
xorl %r12d, %r12d
leaq 0x5a8b(%rip), %r13      # 0x7647
leaq 0x78(%rsp), %r14
movq $0x0, (%rsp)
movq 0x48(%rsp), %rbx
movq 0x40(%rsp), %r15
movq 0x50(%rsp), %rbp
cmpq $0x0, (%rsp)
je 0x1c68
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x4059
movzwl 0x30(%rsp), %ecx
cmpq $-0x2, %rax
jb 0x1c22
subw $0x1, %cx
movw %cx, 0x30(%rsp)
jb 0x1e22
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x3c67
cmpq $-0x4, %rax
jbe 0x1be3
jmp 0x1e22
cmpw 0xe(%rsp), %cx
jbe 0x1e22
movq 0xa8(%rsp), %rax
decl %ecx
je 0x1c4d
cmpq $0x1, 0x28(%rsp)
movq 0x38(%rsp), %rdx
adcq $-0x1, %rdx
movb %al, (%rdx,%rcx)
jmp 0x1c68
cmpq $0x100, %rax            # imm = 0x100
movl $0x0, %ecx
cmovaeq %rax, %rcx
movq %rcx, 0x28(%rsp)
movq 0x38(%rsp), %rcx
movb %al, (%rcx)
incq (%rsp)
movq 0x80(%rsp), %rax
movq (%rax), %rax
shrq $0x3e, %rax
cmpl $0x3, %eax
jb 0x1c95
movzwl 0x90(%rsp), %eax
decq %rax
cmpq %rax, 0xa0(%rsp)
je 0x1d12
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x3cc3
cmpq $-0x2, %rax
jae 0x1cf6
movzwl 0x30(%rsp), %ecx
leal 0x1(%rcx), %eax
movw %ax, 0x30(%rsp)
movq 0xa8(%rsp), %rax
testq %rcx, %rcx
je 0x1cd6
cmpq $0x1, 0x28(%rsp)
movq 0x38(%rsp), %rdx
adcq $-0x1, %rdx
movb %al, (%rdx,%rcx)
jmp 0x1c6c
cmpq $0x100, %rax            # imm = 0x100
movl $0x0, %ecx
cmovaeq %rax, %rcx
movq %rcx, 0x28(%rsp)
movq 0x38(%rsp), %rcx
movb %al, (%rcx)
jmp 0x1c6c
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x3c67
cmpq $-0x4, %rax
jbe 0x1bd8
jmp 0x1e22
movq 0x38(%rsp), %rax
movq %rax, 0x20(%rsp)
movups 0x28(%rsp), %xmm0
movaps %xmm0, 0x10(%rsp)
movq %r13, %rdi
leaq 0x5453(%rip), %rsi      # 0x7183
xorl %eax, %eax
callq 0x10e0
movq 0x10(%rsp), %rax
leaq 0x5(%rax), %rcx
cmpq $0x5, %rcx
ja 0x1d81
leaq 0x5303(%rip), %rdx      # 0x7050
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
leaq 0x55fe(%rip), %rsi      # 0x7359
jmpq *%rcx
leaq 0x5601(%rip), %rsi      # 0x7365
jmp 0x1d86
leaq 0x55f4(%rip), %rsi      # 0x7361
jmp 0x1d86
leaq 0x55f7(%rip), %rsi      # 0x736d
jmp 0x1d86
leaq 0x55de(%rip), %rsi      # 0x735d
jmp 0x1d86
leaq 0x10(%rsp), %rsi
leaq 0x55e8(%rip), %rdi      # 0x7375
xorl %eax, %eax
callq 0x10e0
cmpq 0x10(%rsp), %r12
movl $0x0, %eax
sbbq %rax, %rax
movzwl 0x18(%rsp), %r15d
addq %rax, %r15
je 0x1dfa
movq 0x20(%rsp), %r12
xorl %r13d, %r13d
xorl %ebp, %ebp
movzbl (%r12,%rbp), %esi
leal -0x7f(%rsi), %eax
cmpb $-0x60, %al
ja 0x1dd5
leaq 0x1(%r13), %rbx
testb $0x1, %r13b
jne 0x1de1
leaq 0x553a(%rip), %rdi      # 0x730d
jmp 0x1de8
movl %esi, %edi
callq 0x1040
movq %r13, %rbx
jmp 0x1def
leaq 0x5519(%rip), %rdi      # 0x7301
xorl %eax, %eax
callq 0x10e0
incq %rbp
movq %rbx, %r13
cmpq %rbp, %r15
jne 0x1db6
movl $0xa, %edi
callq 0x1040
movq 0x48(%rsp), %rbx
movq 0x40(%rsp), %r15
movq 0x50(%rsp), %rbp
xorl %r12d, %r12d
leaq 0x582a(%rip), %r13      # 0x7647
jmp 0x1bd8
movq 0x38(%rsp), %rdi
callq 0x1030
movq %rbp, %rdi
callq 0x1030
movq %rbx, %rdi
callq 0x5a13
movq %r15, %rdi
callq 0x5a13
movq 0x60(%rsp), %rdi
callq 0x5a13
movq 0x58(%rsp), %rdi
callq 0x5a13
xorl %eax, %eax
addq $0x628, %rsp            # imm = 0x628
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq