LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/shape.cpp
// Function: nda::test_for_all_indices_scalar_body()
TEST(for_all_indices_scalar) {
  shape<> s;
  int count = 0;
  move_only token;
  for_all_indices(s, [&, token = std::move(token)]() {
    count++;
    assert_used(token);
  });
  ASSERT_EQ(count, 1);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
leaq 0xc(%rsp), %rbx
movl $0x0, (%rbx)
leaq 0x30(%rsp), %rdi
movq %rbx, 0x8(%rdi)
movl $0x1, (%rbx)
callq 0x1f92a
movl (%rbx), %ebp
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x38f0f(%rip), %rsi     # 0xbd32d
leaq 0x38f12(%rip), %rdx     # 0xbd337
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xd0b8
xorl %esi, %esi
cmpl $0x1, %ebp
sete %sil
leaq 0x30(%rsp), %rdi
movq %rbx, %rdx
callq 0xbf0a
leaq 0x1d205(%rip), %rsi     # 0xa1654
leaq 0x30(%rsp), %rdi
callq 0x18a16
leaq 0x29bd2(%rip), %rsi     # 0xae032
movq %rax, %rdi
callq 0x2ce10
leaq 0x20ebb(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x84493
movq %rbx, %rdi
addq $0x10, %rdi
movl 0xc(%rsp), %esi
callq 0x22f0
leaq 0x1d1ba(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x244b3(%rip), %rsi     # 0xa895c
movq %rax, %rdi
callq 0x18a16
leaq 0x20e72(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x844dd
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x33e85(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x30(%rsp), %rdi
callq 0xbf62
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x8450d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x84520
movq %rax, %rbx
jmp 0x8452d
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbf62
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x84544
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc036
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/shape.cpp
// Function: nda::test_for_each_index_scalar_body()
TEST(for_each_index_scalar) {
  shape<> s;
  int count = 0;
  move_only token;
  for_each_index(s, [&, token = std::move(token)](std::tuple<>) {
    count++;
    assert_used(token);
  });
  ASSERT_EQ(count, 1);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
leaq 0xc(%rsp), %rbx
movl $0x0, (%rbx)
leaq 0x30(%rsp), %rdi
movq %rbx, 0x8(%rdi)
movl $0x1, (%rbx)
callq 0x1f92a
movl (%rbx), %ebp
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3796b(%rip), %rsi     # 0xbd32d
leaq 0x3796e(%rip), %rdx     # 0xbd337
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xd0b8
xorl %esi, %esi
cmpl $0x1, %ebp
sete %sil
leaq 0x30(%rsp), %rdi
movq %rbx, %rdx
callq 0xbf0a
leaq 0x1bc61(%rip), %rsi     # 0xa1654
leaq 0x30(%rsp), %rdi
callq 0x18a16
leaq 0x2862e(%rip), %rsi     # 0xae032
movq %rax, %rdi
callq 0x2ce10
leaq 0x1f917(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x85a37
movq %rbx, %rdi
addq $0x10, %rdi
movl 0xc(%rsp), %esi
callq 0x22f0
leaq 0x1bc16(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x22f0f(%rip), %rsi     # 0xa895c
movq %rax, %rdi
callq 0x18a16
leaq 0x1f8ce(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x85a81
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x328e1(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x30(%rsp), %rdi
callq 0xbf62
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x85ab1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x85ac4
movq %rax, %rbx
jmp 0x85ad1
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbf62
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x85ae8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc036
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/shape.cpp
// Function: nda::test_dim_is_in_range_body()
TEST(dim_is_in_range) {
  dim<> x(2, 5);

  for (int i = 2; i < 7; i++) {
    ASSERT(x.is_in_range(i));
  }
  ASSERT(!x.is_in_range(1));
  ASSERT(!x.is_in_range(8));

  ASSERT(x.is_in_range(x));
  ASSERT(!x.is_in_range(interval<>(1, 2)));
  ASSERT(!x.is_in_range(interval<>(8, 2)));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x988, %rsp            # imm = 0x988
movl $0x5, %ebp
leaq 0x18(%rsp), %r13
leaq 0x36579(%rip), %rbx     # 0xbd488
leaq 0x36582(%rip), %r14     # 0xbd498
leaq 0x8(%rsp), %r15
leaq 0x7f8(%rsp), %r12
movq %r13, 0x8(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd0b8
movq %r12, %rdi
movl $0x1, %esi
movq %r15, %rdx
callq 0xbf0a
movq %r12, %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x86f65
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
decl %ebp
jne 0x86f23
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x36521(%rip), %rsi     # 0xbd499
leaq 0x3652b(%rip), %rdx     # 0xbd4aa
callq 0xd0b8
leaq 0x668(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x668(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x86fbf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x364dd(%rip), %rsi     # 0xbd4ab
leaq 0x364e7(%rip), %rdx     # 0xbd4bc
callq 0xd0b8
leaq 0x4d8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x4d8(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87015
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x36499(%rip), %rsi     # 0xbd4bd
leaq 0x364a2(%rip), %rdx     # 0xbd4cd
callq 0xd0b8
leaq 0x348(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x348(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x8706b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x36454(%rip), %rsi     # 0xbd4ce
leaq 0x3646d(%rip), %rdx     # 0xbd4ee
callq 0xd0b8
leaq 0x1b8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x1b8(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x870c1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3641f(%rip), %rsi     # 0xbd4ef
leaq 0x36438(%rip), %rdx     # 0xbd50f
callq 0xd0b8
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87111
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x988, %rsp            # imm = 0x988
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x87137
jmp 0x87137
jmp 0x87137
jmp 0x87137
jmp 0x87137
jmp 0x8713c
jmp 0x8713c
jmp 0x8713c
jmp 0x8713c
jmp 0x8713c
movq %rax, %rbx
jmp 0x87156
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87156
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/shape.cpp
// Function: nda::test_shape_is_in_range_1d_body()
TEST(shape_is_in_range_1d) {
  dim<> x(2, 5);
  shape<dim<>> s(x);

  for (int i = 2; i < 7; i++) {
    ASSERT(s.is_in_range(i));
  }
  ASSERT(!s.is_in_range(1));
  ASSERT(!s.is_in_range(8));

  ASSERT(s.is_in_range(x));
  ASSERT(!s.is_in_range(interval<>(0, 2)));
  ASSERT(!s.is_in_range(interval<>(8, 12)));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x988, %rsp            # imm = 0x988
movl $0x5, %ebp
leaq 0x18(%rsp), %r13
leaq 0x363a5(%rip), %rbx     # 0xbd525
leaq 0x363ae(%rip), %r14     # 0xbd535
leaq 0x8(%rsp), %r15
leaq 0x7f8(%rsp), %r12
movq %r13, 0x8(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xd0b8
movq %r12, %rdi
movl $0x1, %esi
movq %r15, %rdx
callq 0xbf0a
movq %r12, %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x871d6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
decl %ebp
jne 0x87194
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3634d(%rip), %rsi     # 0xbd536
leaq 0x36357(%rip), %rdx     # 0xbd547
callq 0xd0b8
leaq 0x668(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x668(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87230
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x36309(%rip), %rsi     # 0xbd548
leaq 0x36313(%rip), %rdx     # 0xbd559
callq 0xd0b8
leaq 0x4d8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x4d8(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87286
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x362c5(%rip), %rsi     # 0xbd55a
leaq 0x362ce(%rip), %rdx     # 0xbd56a
callq 0xd0b8
leaq 0x348(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x348(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x872dc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x36280(%rip), %rsi     # 0xbd56b
leaq 0x36299(%rip), %rdx     # 0xbd58b
callq 0xd0b8
leaq 0x1b8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x1b8(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87332
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3624b(%rip), %rsi     # 0xbd58c
leaq 0x36265(%rip), %rdx     # 0xbd5ad
callq 0xd0b8
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0xbf0a
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x87382
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x988, %rsp            # imm = 0x988
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x873a8
jmp 0x873a8
jmp 0x873a8
jmp 0x873a8
jmp 0x873a8
jmp 0x873ad
jmp 0x873ad
jmp 0x873ad
jmp 0x873ad
jmp 0x873ad
movq %rax, %rbx
jmp 0x873c7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x873c7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/shape.cpp
// Function: nda::test_dim_conversion_body()
TEST(dim_conversion) {
  dense_dim<> x_dense(0, 10);
  dim<> x = x_dense;

  assert_dim_eq(x, dim<>(0, 10, 1));

  dim<> y(5, 15);
  dense_dim<> y_dense(y);
  assert_dim_eq(y_dense, dense_dim<>(5, 15));
  dense_dim<> y_dense2 = y;
  assert_dim_eq(y_dense2, dense_dim<>(5, 15));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
xorl %eax, %eax
leaq 0x48(%rsp), %rdi
movq %rax, (%rdi)
movl $0xa, %ecx
movq %rcx, 0x8(%rdi)
movl $0x1, %edx
movq %rdx, 0x10(%rdi)
leaq 0x18(%rsp), %rbx
movq %rax, (%rbx)
movq %rcx, 0x8(%rbx)
movq %rdx, 0x10(%rbx)
movq %rbx, %rsi
callq 0x4a3a3
movl $0x5, %r14d
movq %r14, (%rbx)
movl $0xf, %r15d
movq %r15, 0x8(%rbx)
movq %rsp, %rbx
movq %r14, (%rbx)
movq %r15, 0x8(%rbx)
leaq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0x4a939
movq %r14, (%rbx)
movq %r15, 0x8(%rbx)
leaq 0x30(%rsp), %rsi
movq %r14, (%rsi)
movq %r15, 0x8(%rsi)
movq %rsp, %rdi
callq 0x4a939
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/shape.cpp
// Function: nda::test_shape_number_theory_body()
TEST(shape_number_theory) {
  test_number_theory(shape_of_rank<2>({1, 10}, {3, 5}));
  test_number_theory(shape_of_rank<2>({-1, 10}, {3, 5, -1}));
  test_number_theory(shape_of_rank<2>({-2, 10, 6}, {3, 5}));
  test_number_theory(shape_of_rank<3>({0, 4, 4}, {0, 4, 2}, {0, 4, 1}));
  // TODO: https://github.com/dsharlet/array/issues/2
  // test_number_theory(shape_of_rank<2>({0, 4, 4}, {0, 4, 4}));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe0, %rsp
movl $0x3, %r14d
leaq 0x68(%rsp), %rdi
movq %r14, (%rdi)
movl $0x5, %r15d
movq %r15, 0x8(%rdi)
movabsq $-0x8000000000000000, %r12 # imm = 0x8000000000000000
movq %r12, 0x10(%rdi)
movl $0x1, %ebx
movq %rbx, 0x18(%rdi)
movl $0xa, %r13d
movq %r13, 0x20(%rdi)
movq %r12, 0x28(%rdi)
callq 0x8a547
leaq 0x38(%rsp), %rdi
movq %r14, (%rdi)
movq %r15, 0x8(%rdi)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x10(%rdi)
movq %r13, 0x20(%rdi)
movq %r12, 0x28(%rdi)
callq 0x8a547
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
movq %r15, 0x8(%rdi)
movq %r12, 0x10(%rdi)
movq $-0x2, 0x18(%rdi)
movq %r13, 0x20(%rdi)
movq $0x6, 0x28(%rdi)
callq 0x8a547
xorl %eax, %eax
leaq 0x98(%rsp), %rdi
movq %rax, (%rdi)
movl $0x4, %ecx
movq %rcx, 0x8(%rdi)
movq %rbx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rcx, 0x20(%rdi)
movq $0x2, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movq %rcx, 0x38(%rdi)
movq %rcx, 0x40(%rdi)
callq 0x8aa30
addq $0xe0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/split.cpp
// Function: nda::test_split_result_size_body()
TEST(split_result_size) {
  for (index_t extent = 1; extent < 100; ++extent) {
    interval<> v(0, extent);
    test_split_result_size(v, 1);
    test_split_result_size(v, 2);
    test_split_result_size(v, 3);
    test_split_result_size(v, 4);
    test_split_result_size(v, 5);
    test_split_result_size<1>(v);
    if (extent >= 2) test_split_result_size<2>(v);
    if (extent >= 3) test_split_result_size<3>(v);
    if (extent >= 4) test_split_result_size<4>(v);
    if (extent >= 5) test_split_result_size<5>(v);
  }
}

// Assembly:
pushq %rbx
movl $0x1, %ebx
movl $0x1, %edx
movq %rbx, %rsi
callq 0x9c2fb
movl $0x2, %edx
movq %rbx, %rsi
callq 0x9c2fb
movl $0x3, %edx
movq %rbx, %rsi
callq 0x9c2fb
movl $0x4, %edx
movq %rbx, %rsi
callq 0x9c2fb
movl $0x5, %edx
movq %rbx, %rsi
callq 0x9c2fb
xorl %edi, %edi
movq %rbx, %rsi
callq 0x9d7a8
cmpq $0x2, %rbx
jb 0x9c50f
xorl %edi, %edi
movq %rbx, %rsi
callq 0x9d91d
cmpq $0x3, %rbx
jb 0x9c51f
xorl %edi, %edi
movq %rbx, %rsi
callq 0x9dab5
cmpq $0x4, %rbx
jb 0x9c52f
xorl %edi, %edi
movq %rbx, %rsi
callq 0x9dc6c
cmpq $0x5, %rbx
jb 0x9c53f
xorl %edi, %edi
movq %rbx, %rsi
callq 0x9de06
incq %rbx
cmpq $0x64, %rbx
jne 0x9c4b4
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/test.h
// Function: std::ostream& nda::operator<<<-9l, -9l>(std::ostream&, nda::interval<-9l, -9l> const&)
std::ostream& operator<<(std::ostream& s, const interval<Min, Extent>& i) {
  s << "dim<";
  if (internal::is_static(Extent)) {
    ostream_comma_separated_list(s, Min, Extent);
  } else if (internal::is_static(Min)) {
    s << Min;
  }
  s << ">(";
  ostream_comma_separated_list(s, i.min(), i.extent());
  s << ")";
  return s;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x7130(%rip), %rsi      # 0xa542d
movl $0x4, %edx
callq 0x2210
leaq 0x7124(%rip), %rsi      # 0xa5432
movl $0x2, %edx
movq %rbx, %rdi
callq 0x2210
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x1e914
leaq 0x4baa(%rip), %rsi      # 0xa2edb
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2210
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/include/array/array.h
// Function: nda::internal::split_iterator<-9l>::operator+=(long)
NDARRAY_HOST_DEVICE split_iterator& operator+=(index_t n) {
    assert(n >= 0);
    if (is_static(InnerExtent)) {
      // When the extent of the inner split is a compile-time constant,
      // we can't shrink the out of bounds interval. Instead, shift the min,
      // assuming the outer dimension is bigger than the inner extent.
      i.set_min(i.min() + InnerExtent * n);
      // Only shift the min when this straddles the end of the buffer,
      // so the iterator can advance to the end (one past the max).
      if (i.min() <= outer_max && i.max() > outer_max) { i.set_min(outer_max - InnerExtent + 1); }
    } else {
      // When the extent of the inner split is not a compile-time constant,
      // we can just modify the extent.
      i.set_min(i.min() + i.extent() * n);
      index_t max = min(i.max(), outer_max);
      i.set_extent(max - i.min() + 1);
    }
    return *this;
  }

// Assembly:
testq %rsi, %rsi
js 0xa059a
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rcx
imulq %rax, %rsi
addq (%rdi), %rsi
movq %rsi, (%rdi)
addq %rsi, %rax
decq %rax
cmpq %rax, %rcx
cmovlq %rcx, %rax
subq %rsi, %rax
incq %rax
movq %rax, 0x8(%rdi)
movq %rdi, %rax
retq
pushq %rax
leaq 0x1ebb9(%rip), %rdi     # 0xbf15b
leaq 0xb44(%rip), %rsi       # 0xa10ed
leaq 0x1ec17(%rip), %rcx     # 0xbf1c7
movl $0x21d, %edx            # imm = 0x21D
callq 0x2100
// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/include/array/array.h
// Function: auto nda::internal::make_array_ref_at<int*, nda::shape<nda::dim<-9l, -9l, 1l>, nda::dim<-9l, -9l, -9l>, nda::dim<-9l, -9l, -9l>>, nda::interval<-9l, 2l>, nda::interval<-9l, -9l>, nda::interval<-9l, 4l>>(int*, nda::shape<nda::dim<-9l, -9l, 1l>, nda::dim<-9l, -9l, -9l>, nda::dim<-9l, -9l, -9l>> const&, std::tuple<nda::interval<-9l, 2l>, nda::interval<-9l, -9l>, nda::interval<-9l, 4l>> const&)
NDARRAY_HOST_DEVICE auto make_array_ref_at(
    T base, const Shape& shape, const std::tuple<Args...>& args) {
  auto new_shape = shape[args];
  auto new_mins = mins_of_intervals(args, shape.dims(), make_index_sequence<sizeof...(Args)>());
  auto old_min_offset = shape[new_mins];
  return make_array_ref_no_resolve(internal::pointer_add(base, old_min_offset), new_shape);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq 0x20(%rcx), %rax
movups 0x10(%rcx), %xmm0
movq 0x10(%rdx), %rcx
movq 0x28(%rdx), %rdx
movq (%r12), %rsi
movq %rsp, %r13
movq %rax, 0x30(%r13)
movups %xmm0, 0x18(%r13)
movq %rdx, 0x28(%r13)
movq %rsi, (%r13)
movq %rcx, 0x10(%r13)
movq %r13, %rdi
callq 0xa0675
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups 0x30(%r13), %xmm3
movups %xmm3, 0x38(%rbx)
movups %xmm2, 0x28(%rbx)
movups %xmm1, 0x18(%rbx)
movups %xmm0, 0x8(%rbx)
movq 0x20(%r12), %rax
movq (%r12), %rcx
movq 0x10(%r12), %rdx
subq 0x30(%r15), %rax
subq 0x18(%r15), %rdx
imulq 0x28(%r15), %rdx
subq (%r15), %rcx
imulq 0x10(%r15), %rcx
testq %r14, %r14
leaq (%r14,%rax,4), %rax
leaq (%rax,%rdx,4), %rax
leaq (%rax,%rcx,4), %rax
cmoveq %r14, %rax
movq %rax, (%rbx)
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/board.h
// Function: Morat::Havannah::Board::size(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool size(std::string s) {
		if (!valid_size(s))
			return false;
		size_r_ = from_str<int>(s);
		size_r_m1_ = size_r_ - 1;
		size_ = size_r_ * 2 - 1;
		neighbor_list_ = gen_neighbor_list();
		num_cells_ = vec_size() - size_r_ * size_r_m1_;
		cells_.resize(vec_size());
		clear();
		return true;
	}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0xafaa
movl %eax, %ebp
addl $-0x3, %ebp
cmpl $0x7, %ebp
ja 0xaf9b
movq %r14, %rdi
callq 0xafaa
movb %al, 0x1(%rbx)
leal -0x1(%rax), %ecx
movb %cl, 0x2(%rbx)
addb %al, %al
decb %al
movb %al, (%rbx)
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21596
vmovaps (%r14), %xmm0
vxorps %xmm1, %xmm1, %xmm1
vmovaps %xmm1, (%r14)
movq 0x90(%rbx), %rdi
vmovups %xmm0, 0x88(%rbx)
testq %rdi, %rdi
je 0xaf62
callq 0xb2ca
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xaf71
callq 0xb2ca
movsbl (%rbx), %esi
imull %esi, %esi
movsbl 0x1(%rbx), %eax
movsbl 0x2(%rbx), %ecx
imull %eax, %ecx
movl %esi, %eax
subl %ecx, %eax
movw %ax, 0x4(%rbx)
leaq 0x10(%rbx), %rdi
callq 0xb02a
movq %rbx, %rdi
callq 0xb05e
cmpl $0x8, %ebp
setb %al
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/board.h
// Function: Morat::Havannah::Board::clear()
void clear() {
		last_move_ = M_NONE;
		num_moves_ = 0;
		to_play_ = Side::P1;
		outcome_ = Outcome::UNKNOWN;
		win_type_ = -1;
		check_rings = true;
		perm_rings = 0;
		hash.clear();

		for(int y = 0; y < size_; y++){
			for(int x = 0; x < size_; x++){
				MoveValid pos = move_valid(x, y);
				Side s = (on_board(x, y) ? Side::NONE : Side::UNDEF);
				cells_[pos.xy] = Cell(s, pos.xy, 1, (1 << iscorner(x, y)), (1 << isedge(x, y)), init_pattern(pos));
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl $0x78fd0000, 0x6(%rdi)  # imm = 0x78FD0000
leaq 0x2e088(%rip), %rax     # 0x39102
movb (%rax), %al
movb %al, 0xa(%rdi)
leaq 0x2e080(%rip), %rax     # 0x39106
movb (%rax), %al
movb %al, 0xb(%rdi)
movb $-0x1, 0xc(%rdi)
movb $0x1, 0x98(%rdi)
movl $0x0, 0x9c(%rdi)
vxorps %xmm0, %xmm0, %xmm0
vmovups %zmm0, 0x28(%rdi)
vmovups %zmm0, 0x48(%rdi)
cmpb $0x0, (%rdi)
jle 0xb227
movq %rdi, %rbx
xorl %r14d, %r14d
movsbl (%rbx), %r12d
testl %r12d, %r12d
jle 0xb218
movsbl %r14b, %eax
movl %eax, 0x10(%rsp)
xorl %ebp, %ebp
cmpl %r12d, %r14d
jge 0xb101
movl %r14d, %eax
subl %ebp, %eax
movsbl 0x1(%rbx), %ecx
cmpl %ecx, %eax
setl %al
movl %ebp, %edx
subl %r14d, %edx
cmpl %ecx, %edx
setl %r13b
andb %al, %r13b
jmp 0xb104
xorl %r13d, %r13d
movl %r12d, %eax
imull 0x10(%rsp), %eax
movsbl %bpl, %r15d
addl %eax, %r15d
leaq 0x2dfe7(%rip), %rax     # 0x39101
movb (%rax), %al
movb %al, 0xf(%rsp)
leaq 0x2dfd9(%rip), %rax     # 0x39100
movb (%rax), %al
movb %al, 0xe(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
vzeroupper
callq 0x216b8
movl %eax, 0x14(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x21762
imull %r14d, %r12d
addl %ebp, %r12d
movswq %r12w, %rcx
leaq (%rcx,%rcx,8), %rsi
movswq %r15w, %rcx
shlq $0x3, %rsi
addq 0x88(%rbx), %rsi
movl $0x3, %edi
xorl %edx, %edx
xorl %r8d, %r8d
cmpl $0xffff0000, (%rsi,%r8) # imm = 0xFFFF0000
movl $0x0, %r9d
cmovaeq %rdi, %r9
orq %r9, %rdx
shlq $0x2, %rdi
addq $0x4, %r8
cmpq $0x48, %r8
jne 0xb176
movzbl 0xf(%rsp), %esi
movzbl 0xe(%rsp), %edi
testb %r13b, %r13b
cmovnel %esi, %edi
movl $0x1, %r8d
movl 0x14(%rsp), %esi
shlxl %esi, %r8d, %esi
shlxl %eax, %r8d, %eax
movq %rdx, %r8
movl $0x3f03f03f, %r9d       # imm = 0x3F03F03F
andq %r9, %r8
shlq $0x6, %r8
shrq $0x6, %rdx
andq %r9, %rdx
orq %r8, %rdx
movq 0x10(%rbx), %r8
movq %rcx, %r9
shlq $0x4, %r9
movb %dil, (%r8,%r9)
movb $0x1, 0x1(%r8,%r9)
movw %cx, 0x2(%r8,%r9)
movb %sil, 0x4(%r8,%r9)
movb %al, 0x5(%r8,%r9)
movw $0x0, 0x6(%r8,%r9)
movq %rdx, 0x8(%r8,%r9)
incl %ebp
movsbl (%rbx), %r12d
cmpl %r12d, %ebp
jl 0xb0de
incl %r14d
movsbl (%rbx), %eax
cmpl %eax, %r14d
jl 0xb0c7
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/lbdist.h
// Function: Morat::Havannah::LBDists::isdraw()
Outcome isdraw() {
		Outcome outcome = Outcome::DRAW;  // assume neither side can win
		for(int y = 0; y < board->lines(); y++) {
			for(int x = board->line_start(y); x < board->line_end(y); x++) {
				MoveValid pos(x, y, board->xy(x, y));

				if(board->encirclable(pos, Side::P1) || get(pos.xy, Side::P1) < maxdist-5)
					outcome |= Outcome::P1; // P1 can win
				if(board->encirclable(pos, Side::P2) || get(pos.xy, Side::P2) < maxdist-5)
					outcome |= Outcome::P2; // P2 can win

				if(outcome == Outcome::DRAW2) // both can win
					return Outcome::UNKNOWN;  // so nothing is known
			}
		}
		return -outcome; // this isn't certainty, so negate
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x20f0e(%rip), %rax     # 0x39109
movb (%rax), %r14b
movq %rdi, 0x8(%rsp)
movq 0xcb28(%rdi), %rax
cmpb $0x0, (%rax)
setg %dl
jle 0x1835e
xorl %esi, %esi
xorl %r8d, %r8d
movb %dl, 0x7(%rsp)
movsbl 0x1(%rax), %edx
movl $0x0, %ecx
cmpl %edx, %r8d
jl 0x18236
movsbl 0x2(%rax), %eax
movl %r8d, %ecx
subl %eax, %ecx
movl %ecx, %ebp
shll $0x8, %ebp
movl %esi, 0x10(%rsp)
addl %esi, %ebp
movl %r8d, 0x14(%rsp)
movl %ecx, %r13d
movq 0x8(%rsp), %rax
movq 0xcb28(%rax), %rdi
movsbl 0x1(%rdi), %ebx
cmpl %ebx, %r8d
jge 0x18263
addl %r8d, %ebx
jmp 0x18266
movsbl (%rdi), %ebx
cmpl %ebx, %r13d
jge 0x18333
movsbl (%rdi), %r15d
imull %r8d, %r15d
addl %r13d, %r15d
leaq 0x20e81(%rip), %rax     # 0x39102
movzbl (%rax), %edx
movl %ebp, %esi
callq 0x18c32
testb %al, %al
jne 0x182ae
movswl %r15w, %esi
leaq 0x20e68(%rip), %rax     # 0x39102
movzbl (%rax), %edx
movq 0x8(%rsp), %rdi
callq 0x18d3c
cmpl $0x3e2, %eax            # imm = 0x3E2
jg 0x182b8
leaq 0x20e55(%rip), %rax     # 0x3910a
orb (%rax), %r14b
movq 0x8(%rsp), %rax
movq 0xcb28(%rax), %rdi
leaq 0x20e38(%rip), %rax     # 0x39103
movzbl (%rax), %edx
movl %ebp, %esi
callq 0x18c32
testb %al, %al
jne 0x182f8
movswl %r15w, %esi
leaq 0x20e1f(%rip), %rax     # 0x39103
movzbl (%rax), %edx
movq 0x8(%rsp), %rdi
callq 0x18d3c
cmpl $0x3e2, %eax            # imm = 0x3E2
jg 0x18302
leaq 0x20e0c(%rip), %rax     # 0x3910b
orb (%rax), %r14b
leal 0x1(%r13), %ecx
addl $0x100, %ebp            # imm = 0x100
leaq 0x20df3(%rip), %rax     # 0x39106
movzbl (%rax), %eax
movzbl %r12b, %r12d
leaq 0x20deb(%rip), %rdx     # 0x3910c
cmpb (%rdx), %r14b
cmovel %eax, %r12d
movl 0x14(%rsp), %r8d
jne 0x18246
cmpl %ebx, %r13d
jl 0x18360
incl %r8d
movq 0x8(%rsp), %rax
movq 0xcb28(%rax), %rax
movsbl (%rax), %ecx
movl 0x10(%rsp), %esi
incl %esi
cmpl %ecx, %r8d
setl %dl
jl 0x1821b
jmp 0x18364
jmp 0x18364
movb 0x7(%rsp), %dl
addb $-0x3, %r14b
movzbl %r12b, %ecx
movzbl %r14b, %eax
testb $0x1, %dl
cmovnel %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/board.h
// Function: Morat::Havannah::Board::test_outcome(Morat::MoveValid const&, Morat::Side) const
Outcome test_outcome(const MoveValid & pos, Side turn) const {
		if(test_local(pos, turn)){
			Cell testcell = cells_[find_group(pos.xy)];
			int numgroups = 0;
			auto it = neighbors_small(pos);
			for (const MoveValid *i = it.begin(), *e = it.end(); i < e; i++) {
				if(i->on_board() && turn == get(i->xy)){
					const Cell * g = & cells_[find_group(i->xy)];
					testcell.corner |= g->corner;
					testcell.edge   |= g->edge;
					testcell.size   += g->size;
					i++; //skip the next one
					numgroups++;
				}
			}

			if(testcell.numcorners() >= 2 || testcell.numedges() >= 3 || (check_rings && numgroups >= 2 && testcell.size >= 6 && checkring_o1(pos, turn)))
				return +turn;
		}

		if(num_moves_+1 == num_cells_)
			return Outcome::DRAW;

		return Outcome::UNKNOWN;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movswl 0x2(%rsi), %esi
callq 0x18ea4
cmpl $0x3, %eax
jne 0x184c3
movswl 0x2(%r15), %ecx
movslq %ecx, %rdx
movq 0x10(%r14), %rax
shlq $0x4, %rcx
movzwl 0x2(%rax,%rcx), %esi
cmpl %edx, %esi
je 0x183e3
leaq 0x2(%rax,%rcx), %rcx
movl %esi, %esi
shlq $0x4, %rsi
movzwl 0x2(%rax,%rsi), %edi
movzwl %di, %esi
movl %esi, %r8d
shll $0x4, %r8d
cmpw 0x2(%rax,%r8), %di
jne 0x183c3
movw %di, (%rcx)
shll $0x4, %esi
movb 0x1(%rax,%rsi), %cl
vmovd 0x4(%rax,%rsi), %xmm0
movq 0x88(%r14), %rsi
leaq (%rdx,%rdx,8), %rdx
leaq 0x2(%rsi,%rdx,8), %rsi
xorl %edx, %edx
xorl %edi, %edi
movswq (%rsi,%rdi), %r9
cmpq $-0x1, %r9
je 0x18471
movq %r9, %r8
shlq $0x4, %r8
cmpb %bl, (%rax,%r8)
jne 0x18471
movl %r9d, %r10d
shlq $0x4, %r10
movzwl 0x2(%rax,%r10), %r8d
cmpl %r9d, %r8d
je 0x18457
leaq 0x2(%rax,%r10), %r9
movl %r8d, %r8d
shlq $0x4, %r8
movzwl 0x2(%rax,%r8), %r10d
movzwl %r10w, %r8d
movl %r8d, %r11d
shll $0x4, %r11d
cmpw 0x2(%rax,%r11), %r10w
jne 0x18433
movw %r10w, (%r9)
shll $0x4, %r8d
vmovd 0x4(%rax,%r8), %xmm1
vpor %xmm0, %xmm1, %xmm0
addb 0x1(%rax,%r8), %cl
addq $0x4, %rdi
incl %edx
leaq 0x4(%rdi), %r8
cmpq $0x14, %rdi
movq %r8, %rdi
jl 0x18404
vpextrb $0x0, %xmm0, %esi
leaq 0x1d5e5(%rip), %rax     # 0x35a70
cmpb $0x1, (%rsi,%rax)
ja 0x184e5
vpextrb $0x1, %xmm0, %esi
cmpb $0x2, (%rsi,%rax)
ja 0x184e5
cmpb $0x1, 0x98(%r14)
jne 0x184c3
cmpl $0x2, %edx
jl 0x184c3
cmpb $0x6, %cl
jb 0x184c3
movzbl %bl, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x21a66
testb %al, %al
jne 0x184e5
movswl 0x6(%r14), %eax
incl %eax
movswl 0x4(%r14), %ecx
cmpl %ecx, %eax
jne 0x184dc
leaq 0x20c2f(%rip), %rax     # 0x39109
jmp 0x184e3
leaq 0x20c23(%rip), %rax     # 0x39106
movb (%rax), %bl
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/lbdist.h
// Function: Morat::Havannah::LBDists::_get(int, Morat::Side)
int _get(int pos, Side player) {
		int list[6];
		for(int i = 0; i < 6; i++)
			list[i] = dist(i, player, pos);
		partialsort(list, 2);
		int corners = list[0] + list[1] - 1;

		for(int i = 6; i < 12; i++)
			list[i-6] = dist(i, player, pos);
		partialsort(list, 3);
		int edges = list[0] + list[1] + list[2] - 2;

		return std::min(corners, edges);
	}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rdi, %rbx
movsbq %dl, %rax
decl %eax
movslq %esi, %rcx
vpbroadcastq %rax, %zmm0
vpmuldq 0x1cba8(%rip){1to8}, %zmm0, %zmm0 # 0x35908
vpbroadcastq %rcx, %zmm1
vpsllq $0x2, %zmm1, %zmm1
vpbroadcastq %rdi, %zmm2
vpaddq %zmm1, %zmm2, %zmm1
vpaddq %zmm0, %zmm1, %zmm0
vmovdqu64 %zmm0, 0x30(%rsp)
vpaddq 0x1cc2c(%rip), %zmm0, %zmm0 # 0x359c0
movb $0x3f, %al
kmovd %eax, %k2
kmovw %k2, 0xe(%rsp)
vpxor %xmm1, %xmm1, %xmm1
kmovq %k2, %k1
vpgatherqd (,%zmm0), %ymm1 {%k1}
leaq 0x10(%rsp), %r14
vmovdqu32 %ymm1, (%r14) {%k2}
movq %r14, %rsi
movl $0x2, %edx
vzeroupper
callq 0x18e42
movl (%r14), %eax
movl 0x4(%r14), %ecx
vmovdqu64 0x30(%rsp), %zmm0
vpaddq 0x1cc15(%rip), %zmm0, %zmm0 # 0x35a00
kmovw 0xe(%rsp), %k2
kmovq %k2, %k1
vpxor %xmm1, %xmm1, %xmm1
vpgatherqd (,%zmm0), %ymm1 {%k1}
vmovdqu32 %ymm1, (%r14) {%k2}
leal -0x1(%rax,%rcx), %ebp
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
vzeroupper
callq 0x18e42
movl (%r14), %eax
movl 0x8(%r14), %ecx
addl 0x4(%r14), %eax
leal -0x2(%rcx,%rax), %eax
cmpl %ebp, %eax
cmovll %eax, %ebp
movl %ebp, %eax
addq $0x70, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/../lib/lbdist.h
// Function: Morat::LBDistsBase<Morat::Havannah::LBDists, Morat::Havannah::Board>::partialsort(int*, int)
void partialsort(int * list, int max){
	//partially sort the list with selection sort
		for(int i = 0; i < max; i++){
			int mini = i;

			for(int j = i+1; j < 6; j++)
				if(list[mini] > list[j])
					mini = j;

			if(mini != i){
				int t = list[i];
				list[i] = list[mini];
				list[mini] = t;
			}
		}
	}

// Assembly:
testl %edx, %edx
jle 0x18ea2
movl %edx, %eax
movl $0x1, %ecx
xorl %edx, %edx
movl %edx, %edi
cmpq $0x4, %rdx
ja 0x18e7c
movq %rcx, %r8
movl %edx, %r9d
movslq %r9d, %rdi
movl (%rsi,%rdi,4), %r10d
movl %r8d, %edi
cmpl (%rsi,%r8,4), %r10d
jg 0x18e70
movl %r9d, %edi
incq %r8
movl %edi, %r9d
cmpq $0x6, %r8
jne 0x18e5d
movl %edi, %r8d
cmpq %r8, %rdx
je 0x18e97
movl (%rsi,%rdx,4), %r8d
movslq %edi, %rdi
movl (%rsi,%rdi,4), %r9d
movl %r9d, (%rsi,%rdx,4)
movl %r8d, (%rsi,%rdi,4)
incq %rdx
incq %rcx
cmpq %rax, %rdx
jne 0x18e4f
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/board.cpp
// Function: Morat::Havannah::Board::isedge(int, int) const
int Board::isedge(int x, int y) const {
	if(!on_board(x,y))
		return -1;

	int m = size_r_m1_, e = size_ - 1;

	if(y   == 0 && x != 0 && x != m) return 0;
	if(x-y == m && x != m && x != e) return 1;
	if(x   == e && y != m && y != e) return 2;
	if(y   == e && x != e && x != m) return 3;
	if(y-x == m && x != m && x != 0) return 4;
	if(x   == 0 && y != m && y != 0) return 5;

	return -1;
}

// Assembly:
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %edx, %ecx
orl %esi, %ecx
js 0x21869
movsbl (%rdi), %ecx
cmpl %esi, %ecx
setle %r8b
cmpl %edx, %ecx
setle %cl
orb %r8b, %cl
jne 0x21869
movl %edx, %ecx
subl %esi, %ecx
movsbl 0x1(%rdi), %r8d
cmpl %r8d, %ecx
setl %r10b
movl %esi, %r9d
subl %edx, %r9d
cmpl %r8d, %r9d
setl %r8b
andb %r10b, %r8b
cmpb $0x1, %r8b
jne 0x21869
movsbl 0x2(%rdi), %r8d
testl %edx, %edx
setne %al
testl %esi, %esi
sete %r10b
cmpl %esi, %r8d
sete %r11b
orb %al, %r10b
orb %r11b, %r10b
xorl %eax, %eax
cmpb $0x1, %r10b
jne 0x21869
movsbl (%rdi), %edi
decl %edi
cmpl %esi, %r8d
sete %al
cmpl %r8d, %r9d
setne %r9b
cmpl %esi, %edi
sete %r10b
orb %al, %r10b
orb %r9b, %r10b
movl $0x1, %eax
cmpb $0x1, %r10b
jne 0x21869
cmpl %edx, %edi
je 0x21816
cmpl %esi, %edi
jne 0x21816
movl $0x2, %eax
cmpl %edx, %r8d
jne 0x21869
cmpl %esi, %edi
sete %al
cmpl %esi, %r8d
sete %r9b
cmpl %edx, %edi
setne %dil
orb %al, %r9b
orb %dil, %r9b
movl $0x3, %eax
cmpb $0x1, %r9b
jne 0x21869
testl %esi, %esi
je 0x2184c
cmpl %esi, %r8d
je 0x2184c
movl $0x4, %eax
cmpl %r8d, %ecx
je 0x21869
testl %esi, %esi
jne 0x21864
cmpl %edx, %r8d
setne %cl
testl %edx, %edx
setne %dl
movl $0x5, %eax
testb %cl, %dl
jne 0x21869
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/board.cpp
// Function: Morat::Havannah::Board::checkring_df(Morat::MoveValid const&, Morat::Side) const
bool Board::checkring_df(const MoveValid & pos, const Side turn) const {
	const Cell * start = cell(pos);
	start->mark = 1;
	bool success = false;
	for(int i = 0; i < 4; i++){ //4 instead of 6 since any ring must have its first endpoint in the first 4
		MoveValid loc = neighbors(pos)[i];

		if(!loc.on_board())
			continue;

		const Cell * g = cell(loc);

		if(turn != g->piece)
			continue;

		g->mark = 1;
		success = followring(loc, i, turn, (perm_rings - g->perm));
		g->mark = 0;

		if(success)
			break;
	}
	start->mark = 0;
	return success;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x3(%rsp), %rax
movb %bl, (%rax)
movswq 0x2(%rsi), %rax
movq 0x10(%rdi), %rcx
shlq $0x4, %rax
leaq 0x6(%rcx,%rax), %rax
movq %rax, 0x10(%rsp)
movb $0x1, (%rax)
leaq 0xc(%rsp), %r13
movl $0x0, (%r13)
xorl %ebp, %ebp
xorl %eax, %eax
movswq 0x2(%r14), %rcx
leaq (%rcx,%rcx,8), %rcx
shlq $0x3, %rcx
addq 0x88(%r15), %rcx
movl (%rcx,%rbp,4), %ecx
movl %ecx, 0x4(%rsp)
movswq 0x6(%rsp), %rdx
movl $0x4, %ecx
cmpq $-0x1, %rdx
je 0x2192d
movq 0x10(%r15), %r12
shlq $0x4, %rdx
cmpb %bl, (%r12,%rdx)
jne 0x2192d
addq %rdx, %r12
movb $0x1, 0x6(%r12)
movl 0x9c(%r15), %eax
movzbl 0x7(%r12), %ecx
subl %ecx, %eax
movl %eax, 0x8(%rsp)
movq %r15, %rdi
leaq 0x4(%rsp), %rsi
movq %r13, %rdx
leaq 0x3(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x2195c
movb $0x0, 0x6(%r12)
movzbl %al, %ecx
addl %ecx, %ecx
testb $0x3, %cl
jne 0x21943
incq %rbp
movl %ebp, 0xc(%rsp)
cmpq $0x4, %rbp
jne 0x218b2
movq 0x10(%rsp), %rcx
movb $0x0, (%rcx)
andb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/board.cpp
// Function: Morat::Havannah::Board::followring(Morat::MoveValid const&, int const&, Morat::Side const&, int const&) const
bool Board::followring(const MoveValid & cur, const int & dir, const Side & turn, const int & permsneeded) const {
	for(int i = 5; i <= 7; i++){
		int nd = (dir + i) % 6;
		MoveValid next = neighbors(cur)[nd];

		if(!next.on_board())
			continue;

		const Cell * g = cell(next);

		if(g->mark)
			return (permsneeded <= 0);

		if(turn != g->piece)
			continue;

		g->mark = 1;
		bool success = followring(next, nd, turn, (permsneeded - g->perm));
		g->mark = 0;

		if(success)
			return true;
	}
	return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %r13
movl $0x5, %r14d
movq %r8, 0x10(%rsp)
movl (%r12), %eax
addl %r14d, %eax
cltq
imulq $0x2aaaaaab, %rax, %rsi # imm = 0x2AAAAAAB
movq %rsi, %rdx
shrq $0x3f, %rdx
shrq $0x20, %rsi
addl %edx, %esi
addl %esi, %esi
leal (%rsi,%rsi,2), %edx
subl %edx, %eax
movl %eax, 0xc(%rsp)
movswq 0x2(%rbp), %rdx
leaq (%rdx,%rdx,8), %rdx
shlq $0x3, %rdx
addq 0x88(%r13), %rdx
cltq
movl (%rdx,%rax,4), %eax
movl %eax, (%rsp)
movswq 0x2(%rsp), %rdx
movl $0x4, %eax
cmpq $-0x1, %rdx
je 0x21a3e
movq 0x10(%r13), %rbx
shlq $0x4, %rdx
cmpb $0x0, 0x6(%rbx,%rdx)
je 0x219f4
cmpl $0x0, (%r8)
setle %dil
movl $0x1, %eax
jmp 0x21a3e
addq %rdx, %rbx
movb (%r15), %dl
cmpb (%rbx), %dl
jne 0x21a3e
movb $0x1, 0x6(%rbx)
movl (%r8), %eax
movzbl 0x7(%rbx), %edx
subl %edx, %eax
movl %eax, 0x8(%rsp)
movl %edi, 0x4(%rsp)
movq %r13, %rdi
movq %rsp, %rsi
leaq 0xc(%rsp), %rdx
movq %r15, %rcx
leaq 0x8(%rsp), %r8
callq 0x2195c
movl 0x4(%rsp), %edi
movq 0x10(%rsp), %r8
movb $0x0, 0x6(%rbx)
movzbl %al, %eax
orb %al, %dil
testb $0x3, %al
jne 0x21a51
incl %r14d
cmpl $0x8, %r14d
jne 0x21981
xorl %edi, %edi
andb $0x1, %dil
movl %edi, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/snaury[P]t-digest-simple/./merging_tdigest.hpp
// Function: MergingTDigest::quantile(double)
double quantile(double q) {
        compress();
        if (summary_.empty())
            return NAN;
        if (summary_.size() == 1)
            return summary_[0].mean;
        double index = q * (count_ - 1);
        double a = summary_[0].mean;
        double aIndex = (summary_[0].count - 1) * 0.5;
        int64_t sum = summary_[0].count;
        double b = summary_[1].mean;
        double bIndex = sum + (summary_[1].count - 1) * 0.5;
        for (size_t i = 2; i < summary_.size(); ++i) {
            if (index <= bIndex) {
                return interpolate(index, aIndex, a, bIndex, b);
            }
            a = b;
            aIndex = bIndex;
            sum += summary_[i-1].count;
            b = summary_[i].mean;
            bIndex = sum + (summary_[i].count - 1) * 0.5;
        }
        // either there are exactly two centroids or index is past the end
        return interpolate(index, aIndex, a, bIndex, b);
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
callq 0x27f4
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpq %rcx, %rax
je 0x2a51
subq %rax, %rcx
cmpq $0x10, %rcx
jne 0x2a5e
movsd (%rax), %xmm1
jmp 0x2b72
movsd 0x15df(%rip), %xmm1     # 0x4038
jmp 0x2b72
sarq $0x4, %rcx
movq 0x30(%rbx), %rdx
decq %rdx
movq %rdx, %xmm1
punpckldq 0x15da(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x15e2(%rip), %xmm1     # 0x4060
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x8(%rsp), %xmm0
movsd (%rax), %xmm3
movq 0x8(%rax), %rdx
leaq -0x1(%rdx), %rsi
cvtsi2sd %rsi, %xmm4
movsd 0x1567(%rip), %xmm1     # 0x4010
mulsd %xmm1, %xmm4
cvtsi2sd %rdx, %xmm5
movq 0x18(%rax), %rsi
decq %rsi
cvtsi2sd %rsi, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm5, %xmm2
movsd 0x10(%rax), %xmm5
cmpq $0x3, %rcx
setae %sil
jb 0x2b6d
ucomisd %xmm0, %xmm2
jae 0x2b3d
addq $0x28, %rax
movl $0x3, %esi
subq %rcx, %rsi
movl $0x2, %edi
movapd %xmm5, %xmm3
addq -0x10(%rax), %rdx
movapd %xmm2, %xmm4
xorps %xmm5, %xmm5
cvtsi2sd %rdx, %xmm5
movq (%rax), %r8
decq %r8
xorps %xmm2, %xmm2
cvtsi2sd %r8, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm5, %xmm2
leaq (%rsi,%rdi), %r8
movsd -0x8(%rax), %xmm5
cmpq $0x2, %r8
je 0x2b6b
addq $0x10, %rax
incq %rdi
ucomisd %xmm0, %xmm2
jb 0x2af0
cmpq %rcx, %rdi
setb %sil
movapd %xmm2, %xmm6
subsd %xmm4, %xmm6
movapd %xmm2, %xmm1
subsd %xmm0, %xmm1
divsd %xmm6, %xmm1
movapd %xmm0, %xmm7
subsd %xmm4, %xmm7
divsd %xmm6, %xmm7
mulsd %xmm5, %xmm7
mulsd %xmm3, %xmm1
addsd %xmm7, %xmm1
jmp 0x2b6d
xorl %esi, %esi
testb %sil, %sil
je 0x2b7c
movapd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
retq
movapd %xmm2, %xmm1
subsd %xmm4, %xmm1
subsd %xmm0, %xmm2
divsd %xmm1, %xmm2
mulsd %xmm3, %xmm2
subsd %xmm4, %xmm0
divsd %xmm1, %xmm0
mulsd %xmm5, %xmm0
addsd %xmm2, %xmm0
jmp 0x2b76
// File: /workspace/github_cpp_makefile_star2_O1/snaury[P]t-digest-simple/./merging_tdigest.hpp
// Function: MergingTDigest::add(MergingTDigest::Centroid const&)
void add(const Centroid& c) {
        if (buffer_size_ >= max_buffer_size_) {
            compress();
        }
        summary_.push_back(c);
        ++buffer_size_;
        ++count_;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x28(%rdi), %rax
cmpq 0x20(%rdi), %rax
jb 0x2c5a
movq %rbx, %rdi
callq 0x27f4
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2c72
movups (%r14), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x8(%rbx)
jmp 0x2c7d
movq %rbx, %rdi
movq %r14, %rdx
callq 0x2c8e
incq 0x28(%rbx)
incq 0x30(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./network.h
// Function: Directory::Directory(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long*, String**)
Directory(size_t sender, size_t target, size_t id, size_t i_clients, size_t* i_ports, String** i_addresses) {
        kind_ = (enum MsgKind)9;
        sender_ = sender;
        target_ = target;
        id_ = id;
        clients = i_clients;
        size_t* tmp_ports = new size_t[i_clients];
        String** tmp_addresses = new String*[i_clients];
        for(int i = 0;  i < i_clients; i++) {
            tmp_ports[i] = i_ports[i];
        }
        ports = tmp_ports;
        for(int i = 0; i < i_clients; i++) {
            tmp_addresses[i] = i_addresses[i]->clone();
        }
        addresses = tmp_addresses; 
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, -0x30(%rbp)
movq %r8, %rbx
movq %rdi, %r14
movq $0x0, 0x8(%rdi)
leaq 0x20441(%rip), %rax     # 0x283f0
movq %rax, (%rdi)
movl $0x9, 0x10(%rdi)
movq %rsi, 0x18(%rdi)
movq %rdx, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
movq %r8, 0x30(%rdi)
movq %r8, %rax
shrq $0x3d, %rax
leaq (,%r8,8), %r13
xorl %r12d, %r12d
negq %rax
sbbq %r12, %r12
orq %r13, %r12
movq %r12, %rdi
callq 0x7030
movq %rax, %r15
movq %r12, %rdi
callq 0x7030
movq %rax, %r12
testq %rbx, %rbx
je 0x800e
movq %r15, %rdi
movq -0x30(%rbp), %rsi
movq %r13, %rdx
callq 0x71a0
movq %r15, 0x38(%r14)
testq %rbx, %rbx
je 0x8034
movq 0x10(%rbp), %r15
xorl %r13d, %r13d
movq (%r15,%r13,8), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, (%r12,%r13,8)
incq %r13
cmpq %r13, %rbx
jne 0x801e
movq %r12, 0x40(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/main.cpp
// Function: main
int main(int argc, char* argv[])
{
	int ret_val = 0;
	
	Arguments* args;

	try
	{
		args = new Arguments(argc, argv);

		if(!args->helpOrVersionDisplayed())
		{
			FindSSRs find_ssrs(args);
			ret_val = find_ssrs.run();
		}
	}
	catch (string error)
	{
		cerr << error << endl;
		return 1;
	}
	catch (const char* error)
	{
		cerr << error << endl;
		return 1;
	}
	
	delete args;

	return ret_val;
	//pthread_exit(NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movl %edi, %ebp
movl $0xf0, %edi
callq 0x32f0
movq %rax, %r14
movq %rax, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0xa25e
movq %r14, %rdi
callq 0xb7a2
xorl %ebx, %ebx
testb %al, %al
jne 0x39a6
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x7350
leaq 0x8(%rsp), %rdi
callq 0x7544
movl %eax, %ebx
leaq 0x8(%rsp), %rdi
callq 0x74a0
movq %r14, %rdi
callq 0xb688
movl $0xf0, %esi
movq %r14, %rdi
callq 0x3300
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x74a0
jmp 0x39f7
jmp 0x39f1
movq %rdx, %r15
movq %rax, %rbx
movl $0xf0, %esi
movq %r14, %rdi
callq 0x3300
jmp 0x39f7
movq %rdx, %r15
movq %rax, %rbx
cmpl $0x2, %r15d
jne 0x3a61
movq %rbx, %rdi
callq 0x33b0
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x3ada
movq %rbx, %rdi
callq 0x3130
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x115b5(%rip), %rdi     # 0x14ff0
callq 0x3360
movq %rax, %rdi
callq 0x3150
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x3a86
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0x3a86
cmpl $0x1, %r15d
jne 0x3abe
movq %rbx, %rdi
callq 0x3130
movq 0x1157a(%rip), %rdi     # 0x14ff0
movq %rax, %rsi
callq 0x32e0
movq %rax, %rdi
callq 0x3150
callq 0x34c0
movl $0x1, %ebx
jmp 0x39bb
movq %rax, %rbx
callq 0x34c0
jmp 0x3abe
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x3ab9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
callq 0x34c0
movq %rbx, %rdi
callq 0x3540
movq %rax, %rdi
callq 0x3ace
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::clear()
void SSRcontainer::clear()
{
	for (unordered_map<string, vector<SSR*>*>::iterator itr = this->ssrs->begin(); itr != this->ssrs->end(); ++itr)
	{
		//delete itr->first;
		
		for (uint32_t i = 0; i < itr->second->size(); ++i)
		{
			delete itr->second->at(i);
		}

		itr->second->clear();

		delete itr->second;
	}

	this->ssrs->clear();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x10(%rax), %r15
testq %r15, %r15
je 0x44a2
movq 0x28(%r15), %r14
movq (%r14), %rdi
movq 0x8(%r14), %rax
cmpq %rdi, %rax
je 0x4473
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%rdi,%rcx,8), %r14
testq %r14, %r14
je 0x4455
movq %r14, %rdi
callq 0x4172
movl $0x28, %esi
movq %r14, %rdi
callq 0x3300
movl %ebp, %ecx
movq 0x28(%r15), %r14
movq (%r14), %rdi
movq 0x8(%r14), %rax
movq %rax, %rdx
subq %rdi, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x4437
cmpq %rdi, %rax
je 0x447c
movq %rdi, 0x8(%r14)
testq %rdi, %rdi
je 0x448d
movq 0x10(%r14), %rsi
subq %rdi, %rsi
callq 0x3300
movl $0x18, %esi
movq %r14, %rdi
callq 0x3300
movq (%r15), %r15
jmp 0x4417
movq (%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4e54
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, SSR*)
void SSRcontainer::add(const string &identifier, SSR* ssr)
{
	if (this->ssrs->count(identifier)) // if the key (and thus the associated vector) already exists in the map
	{
		this->ssrs->at(identifier)->push_back(ssr);
	}
	else // if it doesn't yet exist in the map
	{
		vector<SSR*>* temp_ptr = new vector<SSR*>( { ssr } ); // create the vector
		std::pair<string, vector<SSR*>*> temp_pair(identifier, temp_ptr); // create the pair
		this->ssrs->insert(temp_pair); // add the pair to the map
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, 0x8(%rsp)
movq (%rdi), %rdi
callq 0x4ecc
testq %rax, %rax
je 0x4520
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x4fe4
testq %rax, %rax
je 0x45ab
movq 0x28(%rax), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x4595
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x459f
movl $0x18, %edi
callq 0x32f0
movq %rax, %r15
movq 0x8(%rsp), %rax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x7(%rsp), %rcx
movl $0x1, %edx
movq %r15, %rdi
callq 0x4de8
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x3ada
movq %r15, 0x20(%r14)
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x51e4
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x459f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0x459f
leaq 0x8(%rsp), %rdx
callq 0x501e
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x9b05(%rip), %rdi      # 0xe0b7
callq 0x3420
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x45de
movq 0x20(%rsp), %rsi
incq %rsi
jmp 0x45d9
movq %rax, %rbx
movl $0x18, %esi
movq %r15, %rdi
callq 0x3300
movq %rbx, %rdi
callq 0x3540