// File: lemire[P]backward_multiplication/unit/basictests.cpp
// Function: unittest(bool)
bool unittest(bool smallmultiplier) {
  uint64_t seed = 1;
  std::vector<uint64_t> out1, out2;
  for (size_t t = 0; t < 2000000; t++) {
    if ((t % 10000) == 0) {
      std::cout << ".";
      std::cout.flush();
    }
    std::vector<uint64_t> v = {rng(seed++), rng(seed++), rng(seed++),
                               rng(seed++), rng(seed++), rng(seed++),
                               rng(seed++), rng(seed++), rng(seed++)};
    uint64_t multiplier = rng(seed++);
    if (smallmultiplier) {
      multiplier &= 7;
    }
    out1.resize(v.size() + 1);
    backwardmultiply::multiplication(multiplier, v.data(), v.size(),
                                     out1.data());
    out2.resize(v.size() + 1);
    backwardmultiply::multiplication_backward(multiplier, v.data(), v.size(),
                                              out2.data());
    if (out1 != out2) {
      printf("out1 and out2 differs\n");
      std::cout << "input : ";
      print(v);
      std::cout << std::endl;
      std::cout << multiplier << std::endl;
      printf("out1:");
      print(out1);
      std::cout << std::endl;
      printf("out2:");
      print(out2);
      std::cout << std::endl;
      std::cerr << "bug\n" << std::endl;
      return false;
    }
    ////////////
    /// multiplication_backward_limit
    //////////////
    for (size_t words = 1; words <= v.size(); words++) {
      out2.resize(v.size() + 1);
      std::fill(out2.begin(), out2.end(), 0); // clearing to be sure
      size_t exactwords = backwardmultiply::multiplication_backward_limit(
          multiplier, v.data(), v.size(), out2.data(), words);
      if (exactwords < words) {
        printf("exactwords = %zu words = %zu\n", exactwords, words);
        printf("bug\n");
        abort();
      }

      size_t n = out2.size();

      // check that we are good...
      for (size_t i = n - exactwords; i < n; i++) {
        if (out2[i] != out1[i]) {
          printf("bug in multiplication_backward_limit\n");
          return false;
        }
      }
    }
    ////////////
    /// multiplication_backward_limit_resume
    //////////////
    for (size_t words = 1; words <= v.size(); words++) {
      std::fill(out2.begin(), out2.end(), 0); // clearing to be sure
      size_t index = v.size();
      size_t exactwords =
          backwardmultiply::multiplication_backward_limit_resume(
              multiplier, v.data(), v.size(), out2.data(), words, index);
      if (exactwords < words) {
        printf("exactwords = %zu words = %zu\n", exactwords, words);
        printf("bug\n");
        abort();
      }

      size_t n = out2.size();
      // check that we are good...
      for (size_t i = n - exactwords; i < n; i++) {
        if (out2[i] != out1[i]) {
          printf("out : ");
          print(out2);
          printf("\n");
          printf("true: ");
          print(out1);
          printf("\n");

          printf("bug in multiplication_backward_limit_resume\n");
          return false;
        }
      }
      while (exactwords != n) {
        exactwords = backwardmultiply::multiplication_backward_limit_resume(
            multiplier, v.data(), v.size(), out2.data(), exactwords + 1, index);

        for (size_t i = n - exactwords; i < n; i++) {
          if (out2[i] != out1[i]) {
            printf("out : ");
            print(out2);
            printf("\n");
            printf("true: ");
            print(out1);
            printf("\n");

            printf("**bug in multiplication_backward_limit_resume\n");
            return false;
          }
        }
      }
    }
  }
  std::cout << std::endl;
  return true;
}

// Assembly:
subq $0x308, %rsp            # imm = 0x308
movb %dil, %al
andb $0x1, %al
movb %al, 0x306(%rsp)
movq $0x1, 0x2f8(%rsp)
leaq 0x2e0(%rsp), %rdi
callq 0x2c70
leaq 0x2c8(%rsp), %rdi
callq 0x2c70
movq $0x0, 0x2c0(%rsp)
cmpq $0x1e8480, 0x2c0(%rsp) # imm = 0x1E8480
jae 0x2a0c
movq 0x2c0(%rsp), %rax
movl $0x2710, %ecx           # imm = 0x2710
xorl %edx, %edx
divq %rcx
cmpq $0x0, %rdx
jne 0x1d0d
movq 0x62fa(%rip), %rdi      # 0x7fd0
leaq 0x3327(%rip), %rsi      # 0x5004
callq 0x10f0
jmp 0x1ce4
movq 0x62e5(%rip), %rdi      # 0x7fd0
callq 0x10c0
jmp 0x1cf2
jmp 0x1d0d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b8(%rsp)
movl %eax, 0x2b4(%rsp)
jmp 0x2a5f
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x1a0(%rsp)
jmp 0x1d32
movq 0x1a0(%rsp), %rax
movq %rax, 0x240(%rsp)
leaq 0x248(%rsp), %rax
movq %rax, 0x190(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x198(%rsp)
jmp 0x1d77
movq 0x190(%rsp), %rax
movq 0x198(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x250(%rsp), %rax
movq %rax, 0x180(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x188(%rsp)
jmp 0x1dbf
movq 0x180(%rsp), %rax
movq 0x188(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x258(%rsp), %rax
movq %rax, 0x170(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x178(%rsp)
jmp 0x1e07
movq 0x170(%rsp), %rax
movq 0x178(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x260(%rsp), %rax
movq %rax, 0x160(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x168(%rsp)
jmp 0x1e4f
movq 0x160(%rsp), %rax
movq 0x168(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x268(%rsp), %rax
movq %rax, 0x150(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x158(%rsp)
jmp 0x1e97
movq 0x150(%rsp), %rax
movq 0x158(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x270(%rsp), %rax
movq %rax, 0x140(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x148(%rsp)
jmp 0x1edf
movq 0x140(%rsp), %rax
movq 0x148(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x278(%rsp), %rax
movq %rax, 0x130(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x138(%rsp)
jmp 0x1f27
movq 0x130(%rsp), %rax
movq 0x138(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x280(%rsp), %rax
movq %rax, 0x120(%rsp)
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x128(%rsp)
jmp 0x1f6f
movq 0x120(%rsp), %rax
movq 0x128(%rsp), %rcx
movq %rcx, (%rax)
leaq 0x240(%rsp), %rax
movq %rax, 0x288(%rsp)
movq $0x9, 0x290(%rsp)
leaq 0x23f(%rsp), %rdi
movq %rdi, 0x118(%rsp)
callq 0x2c80
movq 0x118(%rsp), %rcx
movq 0x288(%rsp), %rsi
movq 0x290(%rsp), %rdx
leaq 0x298(%rsp), %rdi
callq 0x2c90
jmp 0x1fda
leaq 0x23f(%rsp), %rdi
callq 0x2d20
movq 0x2f8(%rsp), %rdi
movq %rdi, %rax
incq %rax
movq %rax, 0x2f8(%rsp)
callq 0x2a90
movq %rax, 0x110(%rsp)
jmp 0x200c
movq 0x110(%rsp), %rax
movq %rax, 0x230(%rsp)
testb $0x1, 0x306(%rsp)
je 0x2088
movq 0x230(%rsp), %rax
andq $0x7, %rax
movq %rax, 0x230(%rsp)
jmp 0x2088
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b8(%rsp)
movl %eax, 0x2b4(%rsp)
leaq 0x23f(%rsp), %rdi
callq 0x2d20
jmp 0x2a5f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b8(%rsp)
movl %eax, 0x2b4(%rsp)
leaq 0x298(%rsp), %rdi
callq 0x2ee0
jmp 0x2a5f
leaq 0x298(%rsp), %rdi
callq 0x2bd0
movq %rax, %rsi
incq %rsi
leaq 0x2e0(%rsp), %rdi
callq 0x2d30
jmp 0x20aa
movq 0x230(%rsp), %rax
movq %rax, 0xf8(%rsp)
leaq 0x298(%rsp), %rdi
movq %rdi, 0xf0(%rsp)
callq 0x2dd0
movq 0xf0(%rsp), %rdi
movq %rax, 0x100(%rsp)
callq 0x2bd0
movq %rax, 0x108(%rsp)
leaq 0x2e0(%rsp), %rdi
callq 0x2dd0
movq 0xf8(%rsp), %rdi
movq 0x100(%rsp), %rsi
movq 0x108(%rsp), %rdx
movq %rax, %rcx
callq 0x1320
jmp 0x211b
leaq 0x298(%rsp), %rdi
callq 0x2bd0
movq %rax, %rsi
incq %rsi
leaq 0x2c8(%rsp), %rdi
callq 0x2d30
jmp 0x213d
movq 0x230(%rsp), %rax
movq %rax, 0xd8(%rsp)
leaq 0x298(%rsp), %rdi
movq %rdi, 0xd0(%rsp)
callq 0x2dd0
movq 0xd0(%rsp), %rdi
movq %rax, 0xe0(%rsp)
callq 0x2bd0
movq %rax, 0xe8(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x2dd0
movq 0xd8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq %rax, %rcx
callq 0x1450
jmp 0x21ae
leaq 0x2e0(%rsp), %rdi
leaq 0x2c8(%rsp), %rsi
callq 0x2df0
movb %al, 0xcf(%rsp)
jmp 0x21cc
movb 0xcf(%rsp), %al
testb $0x1, %al
jne 0x21dc
jmp 0x230c
leaq 0x2e23(%rip), %rdi      # 0x5006
xorl %eax, %eax
callq 0x1030
jmp 0x21ec
movq 0x5ddd(%rip), %rdi      # 0x7fd0
leaq 0x2e23(%rip), %rsi      # 0x501d
callq 0x10f0
jmp 0x2201
leaq 0x298(%rsp), %rdi
callq 0x1b80
jmp 0x2210
movq 0x5db9(%rip), %rdi      # 0x7fd0
movq 0x5da2(%rip), %rsi      # 0x7fc0
callq 0x1120
jmp 0x2225
movq 0x230(%rsp), %rsi
movq 0x5d9c(%rip), %rdi      # 0x7fd0
callq 0x1040
movq %rax, 0xc0(%rsp)
jmp 0x2243
movq 0xc0(%rsp), %rdi
movq 0x5d6e(%rip), %rsi      # 0x7fc0
callq 0x1120
jmp 0x2259
leaq 0x2dc6(%rip), %rdi      # 0x5026
xorl %eax, %eax
callq 0x1030
jmp 0x2269
leaq 0x2e0(%rsp), %rdi
callq 0x1b80
jmp 0x2278
movq 0x5d51(%rip), %rdi      # 0x7fd0
movq 0x5d3a(%rip), %rsi      # 0x7fc0
callq 0x1120
jmp 0x228d
leaq 0x2d98(%rip), %rdi      # 0x502c
xorl %eax, %eax
callq 0x1030
jmp 0x229d
leaq 0x2c8(%rsp), %rdi
callq 0x1b80
jmp 0x22ac
movq 0x5d1d(%rip), %rdi      # 0x7fd0
movq 0x5d06(%rip), %rsi      # 0x7fc0
callq 0x1120
jmp 0x22c1
movq 0x5d28(%rip), %rdi      # 0x7ff0
leaq 0x2d63(%rip), %rsi      # 0x5032
callq 0x10f0
movq %rax, 0xb8(%rsp)
jmp 0x22de
movq 0xb8(%rsp), %rdi
movq 0x5cd3(%rip), %rsi      # 0x7fc0
callq 0x1120
jmp 0x22f4
movb $0x0, 0x307(%rsp)
movl $0x1, 0x22c(%rsp)
jmp 0x29d7
movq $0x1, 0x220(%rsp)
movq 0x220(%rsp), %rax
movq %rax, 0xb0(%rsp)
leaq 0x298(%rsp), %rdi
callq 0x2bd0
movq %rax, %rcx
movq 0xb0(%rsp), %rax
cmpq %rcx, %rax
ja 0x257f
leaq 0x298(%rsp), %rdi
callq 0x2bd0
movq %rax, %rsi
incq %rsi
leaq 0x2c8(%rsp), %rdi
callq 0x2d30
jmp 0x236b
leaq 0x2c8(%rsp), %rdi
movq %rdi, 0xa8(%rsp)
callq 0x2e60
movq 0xa8(%rsp), %rdi
movq %rax, 0x218(%rsp)
callq 0x2e90
movq %rax, 0x210(%rsp)
movl $0x0, 0x20c(%rsp)
movq 0x218(%rsp), %rdi
movq 0x210(%rsp), %rsi
leaq 0x20c(%rsp), %rdx
callq 0x2e20
jmp 0x23c7
movq 0x230(%rsp), %rax
movq %rax, 0x88(%rsp)
leaq 0x298(%rsp), %rdi
movq %rdi, 0x80(%rsp)
callq 0x2dd0
movq 0x80(%rsp), %rdi
movq %rax, 0x90(%rsp)
callq 0x2bd0
movq %rax, 0x98(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x2dd0
movq 0x88(%rsp), %rdi
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rdx
movq %rax, %rcx
movq 0x220(%rsp), %r8
callq 0x1610
movq %rax, 0xa0(%rsp)
jmp 0x2448
movq 0xa0(%rsp), %rax
movq %rax, 0x200(%rsp)
movq 0x200(%rsp), %rax
cmpq 0x220(%rsp), %rax
jae 0x249f
movq 0x200(%rsp), %rsi
movq 0x220(%rsp), %rdx
leaq 0x2bb6(%rip), %rdi      # 0x5037
xorl %eax, %eax
callq 0x1030
jmp 0x248a
leaq 0x2ba1(%rip), %rdi      # 0x5032
xorl %eax, %eax
callq 0x1030
jmp 0x249a
callq 0x10b0
leaq 0x2c8(%rsp), %rdi
callq 0x2bd0
movq %rax, 0x1f8(%rsp)
movq 0x1f8(%rsp), %rax
subq 0x200(%rsp), %rax
movq %rax, 0x1f0(%rsp)
movq 0x1f0(%rsp), %rax
cmpq 0x1f8(%rsp), %rax
jae 0x2564
movq 0x1f0(%rsp), %rsi
leaq 0x2c8(%rsp), %rdi
callq 0x2ec0
movq (%rax), %rax
movq %rax, 0x78(%rsp)
movq 0x1f0(%rsp), %rsi
leaq 0x2e0(%rsp), %rdi
callq 0x2ec0
movq %rax, %rcx
movq 0x78(%rsp), %rax
cmpq (%rcx), %rax
je 0x2549
leaq 0x2b2d(%rip), %rdi      # 0x5055
xorl %eax, %eax
callq 0x1030
jmp 0x2531
movb $0x0, 0x307(%rsp)
movl $0x1, 0x22c(%rsp)
jmp 0x29d7
jmp 0x254b
movq 0x1f0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1f0(%rsp)
jmp 0x24cc
jmp 0x2566
movq 0x220(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x220(%rsp)
jmp 0x2318
movq $0x1, 0x1e8(%rsp)
movq 0x1e8(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x298(%rsp), %rdi
callq 0x2bd0
movq %rax, %rcx
movq 0x70(%rsp), %rax
cmpq %rcx, %rax
ja 0x29cc
leaq 0x2c8(%rsp), %rdi
movq %rdi, 0x68(%rsp)
callq 0x2e60
movq 0x68(%rsp), %rdi
movq %rax, 0x1e0(%rsp)
callq 0x2e90
movq %rax, 0x1d8(%rsp)
movl $0x0, 0x1d4(%rsp)
movq 0x1e0(%rsp), %rdi
movq 0x1d8(%rsp), %rsi
leaq 0x1d4(%rsp), %rdx
callq 0x2e20
jmp 0x260c
leaq 0x298(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x2bd0
movq 0x40(%rsp), %rdi
movq %rax, 0x1c8(%rsp)
movq 0x230(%rsp), %rax
movq %rax, 0x48(%rsp)
callq 0x2dd0
movq 0x40(%rsp), %rdi
movq %rax, 0x50(%rsp)
callq 0x2bd0
movq %rax, 0x58(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x2dd0
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rax, %rcx
movq 0x1e8(%rsp), %r8
leaq 0x1c8(%rsp), %r9
callq 0x18a0
movq %rax, 0x60(%rsp)
jmp 0x268c
movq 0x60(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x1c0(%rsp), %rax
cmpq 0x1e8(%rsp), %rax
jae 0x26e0
movq 0x1c0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
leaq 0x2975(%rip), %rdi      # 0x5037
xorl %eax, %eax
callq 0x1030
jmp 0x26cb
leaq 0x2960(%rip), %rdi      # 0x5032
xorl %eax, %eax
callq 0x1030
jmp 0x26db
callq 0x10b0
leaq 0x2c8(%rsp), %rdi
callq 0x2bd0
movq %rax, 0x1b8(%rsp)
movq 0x1b8(%rsp), %rax
subq 0x1c0(%rsp), %rax
movq %rax, 0x1b0(%rsp)
movq 0x1b0(%rsp), %rax
cmpq 0x1b8(%rsp), %rax
jae 0x2807
movq 0x1b0(%rsp), %rsi
leaq 0x2c8(%rsp), %rdi
callq 0x2ec0
movq (%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x1b0(%rsp), %rsi
leaq 0x2e0(%rsp), %rdi
callq 0x2ec0
movq %rax, %rcx
movq 0x38(%rsp), %rax
cmpq (%rcx), %rax
je 0x27ec
leaq 0x290e(%rip), %rdi      # 0x507b
xorl %eax, %eax
callq 0x1030
jmp 0x2776
leaq 0x2c8(%rsp), %rdi
callq 0x1b80
jmp 0x2785
leaq 0x294d(%rip), %rdi      # 0x50d9
xorl %eax, %eax
callq 0x1030
jmp 0x2795
leaq 0x28e6(%rip), %rdi      # 0x5082
xorl %eax, %eax
callq 0x1030
jmp 0x27a5
leaq 0x2e0(%rsp), %rdi
callq 0x1b80
jmp 0x27b4
leaq 0x291e(%rip), %rdi      # 0x50d9
xorl %eax, %eax
callq 0x1030
jmp 0x27c4
leaq 0x28c0(%rip), %rdi      # 0x508b
xorl %eax, %eax
callq 0x1030
jmp 0x27d4
movb $0x0, 0x307(%rsp)
movl $0x1, 0x22c(%rsp)
jmp 0x29d7
jmp 0x27ee
movq 0x1b0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1b0(%rsp)
jmp 0x270d
jmp 0x2809
movq 0x1c0(%rsp), %rax
cmpq 0x1b8(%rsp), %rax
je 0x29b1
movq 0x230(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x298(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2dd0
movq 0x10(%rsp), %rdi
movq %rax, 0x20(%rsp)
callq 0x2bd0
movq %rax, 0x28(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x2dd0
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rax, %rcx
movq 0x1c0(%rsp), %r8
incq %r8
leaq 0x1c8(%rsp), %r9
callq 0x18a0
movq %rax, 0x30(%rsp)
jmp 0x2890
movq 0x30(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x1b8(%rsp), %rax
subq 0x1c0(%rsp), %rax
movq %rax, 0x1a8(%rsp)
movq 0x1a8(%rsp), %rax
cmpq 0x1b8(%rsp), %rax
jae 0x29ac
movq 0x1a8(%rsp), %rsi
leaq 0x2c8(%rsp), %rdi
callq 0x2ec0
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x1a8(%rsp), %rsi
leaq 0x2e0(%rsp), %rdi
callq 0x2ec0
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq (%rcx), %rax
je 0x2991
leaq 0x2766(%rip), %rdi      # 0x507b
xorl %eax, %eax
callq 0x1030
jmp 0x291e
leaq 0x2c8(%rsp), %rdi
callq 0x1b80
jmp 0x292d
leaq 0x27a5(%rip), %rdi      # 0x50d9
xorl %eax, %eax
callq 0x1030
jmp 0x293d
leaq 0x273e(%rip), %rdi      # 0x5082
xorl %eax, %eax
callq 0x1030
jmp 0x294d
leaq 0x2e0(%rsp), %rdi
callq 0x1b80
jmp 0x295c
leaq 0x2776(%rip), %rdi      # 0x50d9
xorl %eax, %eax
callq 0x1030
jmp 0x296c
leaq 0x2716(%rip), %rdi      # 0x5089
xorl %eax, %eax
callq 0x1030
jmp 0x297c
movb $0x0, 0x307(%rsp)
movl $0x1, 0x22c(%rsp)
jmp 0x29d7
jmp 0x2993
movq 0x1a8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1a8(%rsp)
jmp 0x28b5
jmp 0x2809
jmp 0x29b3
movq 0x1e8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x1e8(%rsp)
jmp 0x258b
movl $0x0, 0x22c(%rsp)
leaq 0x298(%rsp), %rdi
callq 0x2ee0
movl 0x22c(%rsp), %eax
testl %eax, %eax
jne 0x2a34
jmp 0x29f1
jmp 0x29f3
movq 0x2c0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x2c0(%rsp)
jmp 0x1ca5
movq 0x55bd(%rip), %rdi      # 0x7fd0
movq 0x55a6(%rip), %rsi      # 0x7fc0
callq 0x1120
jmp 0x2a21
movb $0x1, 0x307(%rsp)
movl $0x1, 0x22c(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x2ee0
leaq 0x2e0(%rsp), %rdi
callq 0x2ee0
movb 0x307(%rsp), %al
andb $0x1, %al
addq $0x308, %rsp            # imm = 0x308
retq
leaq 0x2c8(%rsp), %rdi
callq 0x2ee0
leaq 0x2e0(%rsp), %rdi
callq 0x2ee0
movq 0x2b8(%rsp), %rdi
callq 0x1190
nopw %cs:(%rax,%rax)