LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_lcm_ui
void
mpz_lcm_ui (mpz_t r, const mpz_t u, unsigned long v)
{
  if (v == 0 || u->_mp_size == 0)
    {
      r->_mp_size = 0;
      return;
    }

  v /= mpz_gcd_ui (NULL, u, v);
  mpz_mul_ui (r, u, v);

  mpz_abs (r, r);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdx, %rdx
je 0x542f
movq %rsi, %r14
cmpl $0x0, 0x4(%rsi)
je 0x542f
movq %rdx, %r15
xorl %edi, %edi
movq %r14, %rsi
callq 0x46f6
movq %rax, %rcx
movq %r15, %rax
xorl %edx, %edx
divq %rcx
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3441
movl 0x4(%rbx), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %ecx, 0x4(%rbx)
jmp 0x5436
movl $0x0, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_invert
int
mpz_invert (mpz_t r, const mpz_t u, const mpz_t m)
{
  mpz_t g, tr;
  int invertible;

  if (u->_mp_size == 0 || mpz_cmpabs_ui (m, 1) <= 0)
    return 0;

  mpz_init (g);
  mpz_init (tr);

  mpz_gcdext (g, tr, NULL, u, m);
  invertible = (mpz_cmp_ui (g, 1) == 0);

  if (invertible)
    {
      if (tr->_mp_size < 0)
	{
	  if (m->_mp_size >= 0)
	    mpz_add (tr, tr, m);
	  else
	    mpz_sub (tr, tr, m);
	}
      mpz_swap (r, tr);
    }

  mpz_clear (g);
  mpz_clear (tr);
  return invertible;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
xorl %r15d, %r15d
cmpl $0x0, 0x4(%rsi)
je 0x5559
movq %rdx, %r14
movq %rsi, %r12
movl 0x4(%rdx), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
cmpl $0x1, %ecx
jbe 0x54f0
movq %rdi, -0x48(%rbp)
movl $0x1, %r15d
leaq -0x60(%rbp), %r13
movq %r15, (%r13)
movl $0x8, %edi
callq *0xac0f(%rip)           # 0x100a0
movq %rax, 0x8(%r13)
leaq -0x40(%rbp), %rbx
movq %r15, (%rbx)
movl $0x8, %edi
callq *0xabf9(%rip)           # 0x100a0
movq %rax, 0x8(%rbx)
xorl %r15d, %r15d
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %r12, %rcx
movq %r14, %r8
callq 0x4c1f
cmpl $0x1, 0x4(%r13)
movq 0x8(%r13), %rdi
jne 0x5545
cmpq $0x1, (%rdi)
jne 0x5545
cmpl $0x0, -0x3c(%rbp)
jns 0x5511
cmpl $0x0, 0x4(%r14)
js 0x5502
leaq -0x40(%rbp), %rdi
movq %rdi, %rsi
movq %r14, %rdx
callq 0x30c3
jmp 0x5511
jne 0x5559
movq 0x8(%r14), %rax
cmpq $0x2, (%rax)
jae 0x5474
jmp 0x5559
leaq -0x40(%rbp), %rdi
movq %rdi, %rsi
movq %r14, %rdx
callq 0x33cf
movq -0x48(%rbp), %rdx
movl 0x4(%rdx), %eax
movl -0x3c(%rbp), %ecx
movl %ecx, 0x4(%rdx)
movl %eax, -0x3c(%rbp)
movl (%rdx), %eax
movl -0x40(%rbp), %ecx
movl %ecx, (%rdx)
movl %eax, -0x40(%rbp)
movq 0x8(%rdx), %rax
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rdx)
movq %rax, -0x38(%rbp)
movl $0x1, %r15d
movq -0x58(%rbp), %rdi
xorl %esi, %esi
callq *0xab63(%rip)           # 0x100b0
movq -0x38(%rbp), %rdi
xorl %esi, %esi
callq *0xab57(%rip)           # 0x100b0
movl %r15d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_pow_ui
void
mpz_pow_ui (mpz_t r, const mpz_t b, unsigned long e)
{
  unsigned long bit;
  mpz_t tr;
  mpz_init_set_ui (tr, 1);

  bit = GMP_ULONG_HIGHBIT;
  do
    {
      mpz_mul (tr, tr, tr);
      if (e & bit)
	mpz_mul (tr, tr, b);
      bit >>= 1;
    }
  while (bit > 0);

  mpz_swap (r, tr);
  mpz_clear (tr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0x1, %r13d
leaq -0x40(%rbp), %r12
movl %r13d, (%r12)
movl $0x8, %edi
callq *0xab02(%rip)           # 0x100a0
movq %rax, 0x8(%r12)
movq $0x1, (%rax)
movl %r13d, 0x4(%r12)
movabsq $-0x8000000000000000, %r13 # imm = 0x8000000000000000
movq %r12, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0x3512
testq %r14, %r13
je 0x55da
movq %r12, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x3512
movq %r13, %rax
shrq %rax
cmpq $0x1, %r13
movq %rax, %r13
ja 0x55b9
movl -0x3c(%rbp), %eax
movl %eax, 0x4(%rbx)
movl -0x40(%rbp), %eax
movl %eax, (%rbx)
movq 0x8(%rbx), %rdi
movq -0x38(%rbp), %rax
movq %rax, 0x8(%rbx)
movq 0xaaa9(%rip), %rax      # 0x100b0
xorl %esi, %esi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_div_qr_invert
static void
mpn_div_qr_invert (struct gmp_div_inverse *inv,
		   mp_srcptr dp, mp_size_t dn)
{
  assert (dn > 0);

  if (dn == 1)
    mpn_div_qr_1_invert (inv, dp[0]);
  else if (dn == 2)
    mpn_div_qr_2_invert (inv, dp[1], dp[0]);
  else
    {
      unsigned shift;
      mp_limb_t d1, d0;

      d1 = dp[dn-1];
      d0 = dp[dn-2];
      assert (d1 > 0);
      gmp_clz (shift, d1);
      inv->shift = shift;
      if (shift > 0)
	{
	  d1 = (d1 << shift) | (d0 >> (GMP_LIMB_BITS - shift));
	  d0 = (d0 << shift) | (dp[dn-3] >> (GMP_LIMB_BITS - shift));
	}
      inv->d1 = d1;
      inv->d0 = d0;
      inv->di = mpn_invert_3by2 (d1, d0);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testq %rdx, %rdx
jle 0x5b0e
movq %rdi, %rbx
cmpq $0x2, %rdx
je 0x5a30
cmpq $0x1, %rdx
jne 0x5a92
movq (%rsi), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x794f
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x5b2d
xorl %ecx, %ecx
movq %rdi, %rax
shrq $0x38, %rax
movq %rdi, %rax
jne 0x5a73
xorl %ecx, %ecx
movabsq $0x1000000000000, %rdx  # imm = 0x1000000000000
movq %rdi, %r8
movq %rdi, %rax
shlq $0x8, %rax
addl $0x8, %ecx
cmpq %rdx, %r8
movq %rax, %r8
jb 0x5a5d
jmp 0x5a73
addq %rax, %rax
incl %ecx
testq %rax, %rax
jns 0x5a6e
movq (%rsi), %rsi
movl %ecx, (%rbx)
testl %ecx, %ecx
je 0x5a88
shldq %cl, %rsi, %rdi
shlq %cl, %rsi
movq %rdi, 0x8(%rbx)
movq %rsi, 0x10(%rbx)
jmp 0x5afe
movq -0x8(%rsi,%rdx,8), %rdi
testq %rdi, %rdi
je 0x5b4c
xorl %ecx, %ecx
movq %rdi, %rax
shrq $0x38, %rax
movq %rdi, %rax
jne 0x5ad6
xorl %ecx, %ecx
movabsq $0x1000000000000, %r8   # imm = 0x1000000000000
movq %rdi, %r9
movq %rdi, %rax
shlq $0x8, %rax
addl $0x8, %ecx
cmpq %r8, %r9
movq %rax, %r9
jb 0x5ac0
jmp 0x5ad6
addq %rax, %rax
incl %ecx
testq %rax, %rax
jns 0x5ad1
movq -0x10(%rsi,%rdx,8), %rax
movl %ecx, (%rbx)
testl %ecx, %ecx
je 0x5af3
shldq %cl, %rax, %rdi
movq -0x18(%rsi,%rdx,8), %rdx
shldq %cl, %rdx, %rax
movq %rdi, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movq %rax, %rsi
callq 0x1d36
movq %rax, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x56aa(%rip), %rdi      # 0xb1bf
leaq 0x4548(%rip), %rsi      # 0xa064
leaq 0x58a7(%rip), %rcx      # 0xb3ca
movl $0x33e, %edx            # imm = 0x33E
callq 0x1090
leaq 0x58dd(%rip), %rdi      # 0xb411
leaq 0x4529(%rip), %rsi      # 0xa064
leaq 0x58d6(%rip), %rcx      # 0xb418
movl $0x32d, %edx            # imm = 0x32D
callq 0x1090
leaq 0x58be(%rip), %rdi      # 0xb411
leaq 0x450a(%rip), %rsi      # 0xa064
leaq 0x5869(%rip), %rcx      # 0xb3ca
movl $0x34b, %edx            # imm = 0x34B
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_sizeinbase
size_t
mpz_sizeinbase (const mpz_t u, int base)
{
  mp_size_t un;
  mp_srcptr up;
  mp_ptr tp;
  mp_bitcnt_t bits;
  struct gmp_div_inverse bi;
  size_t ndigits;

  assert (base >= 2);
  assert (base <= 36);

  un = GMP_ABS (u->_mp_size);
  if (un == 0)
    return 1;

  up = u->_mp_d;

  bits = (un - 1) * GMP_LIMB_BITS + mpn_limb_size_in_base_2 (up[un-1]);
  switch (base)
    {
    case 2:
      return bits;
    case 4:
      return (bits + 1) / 2;
    case 8:
      return (bits + 2) / 3;
    case 16:
      return (bits + 3) / 4;
    case 32:
      return (bits + 4) / 5;
      /* FIXME: Do something more clever for the common case of base
	 10. */
    }

  tp = gmp_xalloc_limbs (un);
  mpn_copyi (tp, up, un);
  mpn_div_qr_1_invert (&bi, base);

  ndigits = 0;
  do
    {
      ndigits++;
      mpn_div_qr_1_preinv (tp, tp, un, &bi);
      un -= (tp[un-1] == 0);
    }
  while (un > 0);

  gmp_free (tp);
  return ndigits;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x1, %esi
jle 0x6481
cmpl $0x25, %esi
jae 0x64a0
movl 0x4(%rdi), %eax
movl %eax, %r13d
negl %r13d
movl %eax, %r14d
cmovnsl %r13d, %r14d
jae 0x63c0
movl %eax, -0x30(%rbp)
movq 0x8(%rdi), %r15
leaq -0x1(%r14), %r12
shlq $0x6, %r12
movq -0x8(%r15,%r14,8), %rdi
movl %esi, -0x2c(%rbp)
callq 0x78eb
movl -0x2c(%rbp), %ecx
movq %rax, %rbx
addq %r12, %rbx
cmpl $0x7, %ecx
jle 0x63ca
cmpl $0x8, %ecx
je 0x63dd
cmpl $0x10, %ecx
je 0x63f9
cmpl $0x20, %ecx
jne 0x6403
addq $0x4, %rbx
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq %rbx, %rax
mulq %rcx
movq %rdx, %rbx
jmp 0x63fd
movl $0x1, %ebx
jmp 0x646f
cmpl $0x2, %ecx
je 0x646f
cmpl $0x4, %ecx
jne 0x6403
incq %rbx
jmp 0x63f4
addq $0x2, %rbx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
movq %rbx, %rax
mulq %rcx
movq %rdx, %rbx
shrq %rbx
jmp 0x646f
addq $0x3, %rbx
shrq $0x2, %rbx
jmp 0x646f
leaq (,%r14,8), %rdi
callq *0x9c8f(%rip)           # 0x100a0
movq %rax, %r12
movl -0x30(%rbp), %eax
cmpl %r13d, %eax
cmovgl %eax, %r13d
xorl %eax, %eax
movq (%r15,%rax,8), %rcx
movq %rcx, (%r12,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x6420
movl -0x2c(%rbp), %esi
leaq -0x50(%rbp), %r15
movq %r15, %rdi
callq 0x794f
xorl %ebx, %ebx
incq %rbx
movq %r12, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0x79cc
cmpq $0x1, -0x8(%r12,%r14,8)
sbbq $0x0, %r14
testq %r14, %r14
jg 0x6441
movq %r12, %rdi
xorl %esi, %esi
callq *0x9c41(%rip)           # 0x100b0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x433c(%rip), %rdi      # 0xa7c4
leaq 0x3bd5(%rip), %rsi      # 0xa064
leaq 0x4338(%rip), %rcx      # 0xa7ce
movl $0xf95, %edx            # imm = 0xF95
callq 0x1090
leaq 0x4358(%rip), %rdi      # 0xa7ff
leaq 0x3bb6(%rip), %rsi      # 0xa064
leaq 0x4319(%rip), %rcx      # 0xa7ce
movl $0xf96, %edx            # imm = 0xF96
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_root
int
mpz_root (mpz_t x, const mpz_t y, unsigned long z)
{
  int res;
  mpz_t r;

  mpz_init (r);
  mpz_rootrem (x, r, y, z);
  res = r->_mp_size == 0;
  mpz_clear (r);

  return res;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq -0x30(%rbp), %r12
movq $0x1, (%r12)
movl $0x8, %edi
callq *0x9bb2(%rip)           # 0x100a0
movq %rax, 0x8(%r12)
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x5f9c
xorl %ebx, %ebx
cmpl $0x0, 0x4(%r12)
sete %bl
movq 0x8(%r12), %rdi
xorl %esi, %esi
callq *0x9b94(%rip)           # 0x100b0
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_perfect_square_p
int
mpn_perfect_square_p (mp_srcptr p, mp_size_t n)
{
  mpz_t t;

  assert (n > 0);
  assert (p [n-1] != 0);
  return mpz_root (NULL, mpz_roinit_n (t, p, n), 2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
testq %rsi, %rsi
jle 0x65c3
cmpq $0x0, -0x8(%rdi,%rsi,8)
je 0x65e2
movl $0x0, -0x10(%rbp)
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rdi,%rsi,8)
jne 0x65a7
leaq -0x1(%rsi), %rax
cmpq $0x1, %rsi
movq %rax, %rsi
jg 0x6590
xorl %esi, %esi
leaq -0x10(%rbp), %rax
movl %esi, 0x4(%rax)
movl $0x2, %edx
xorl %edi, %edi
movq %rax, %rsi
callq 0x64bf
addq $0x10, %rsp
popq %rbp
retq
leaq 0x4bf6(%rip), %rdi      # 0xb1c0
leaq 0x3a93(%rip), %rsi      # 0xa064
leaq 0x3ff5(%rip), %rcx      # 0xa5cd
movl $0xcda, %edx            # imm = 0xCDA
callq 0x1090
leaq 0x4013(%rip), %rdi      # 0xa5fc
leaq 0x3a74(%rip), %rsi      # 0xa064
leaq 0x3fd6(%rip), %rcx      # 0xa5cd
movl $0xcdb, %edx            # imm = 0xCDB
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_sqrtrem
mp_size_t
mpn_sqrtrem (mp_ptr sp, mp_ptr rp, mp_srcptr p, mp_size_t n)
{
  mpz_t s, r, u;
  mp_size_t res;

  assert (n > 0);
  assert (p [n-1] != 0);

  mpz_init (r);
  mpz_init (s);
  mpz_rootrem (s, r, mpz_roinit_n (u, p, n), 2);

  assert (s->_mp_size == (n+1)/2);
  mpn_copyd (sp, s->_mp_d, s->_mp_size);
  mpz_clear (s);
  res = r->_mp_size;
  if (rp)
    mpn_copyd (rp, r->_mp_d, res);
  mpz_clear (r);
  return res;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
testq %rcx, %rcx
jle 0x6728
movq %rcx, %r15
movq %rdx, %r12
cmpq $0x0, -0x8(%rdx,%rcx,8)
je 0x6747
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %r13d
movq %r13, -0x40(%rbp)
movl $0x8, %edi
callq *0x9a58(%rip)           # 0x100a0
movq %rax, -0x38(%rbp)
movq %r13, -0x50(%rbp)
movl $0x8, %edi
callq *0x9a45(%rip)           # 0x100a0
movq %rax, -0x48(%rbp)
movl $0x0, -0x60(%rbp)
movq %r12, -0x58(%rbp)
movq %r15, %rax
cmpq $0x0, -0x8(%r12,%rax,8)
jne 0x6684
leaq -0x1(%rax), %rcx
cmpq $0x1, %rax
movq %rcx, %rax
jg 0x666d
xorl %eax, %eax
leaq -0x60(%rbp), %rdx
movl %eax, 0x4(%rdx)
leaq -0x50(%rbp), %r12
leaq -0x40(%rbp), %rsi
movl $0x2, %ecx
movq %r12, %rdi
callq 0x5f9c
movslq 0x4(%r12), %rax
incq %r15
shrq %r15
cmpq %rax, %r15
jne 0x6766
movq -0x48(%rbp), %rdi
testl %eax, %eax
je 0x66d2
incq %rax
movq -0x10(%rdi,%rax,8), %rcx
movq %rcx, -0x10(%r14,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0x66bf
xorl %esi, %esi
callq *0x99d6(%rip)           # 0x100b0
movl -0x3c(%rbp), %eax
movslq %eax, %r14
testq %rbx, %rbx
setne %al
movq -0x38(%rbp), %rdi
testl %r14d, %r14d
setg %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x670e
leaq 0x1(%r14), %rax
movq -0x10(%rdi,%rax,8), %rcx
movq %rcx, -0x10(%rbx,%rax,8)
decq %rax
cmpq $0x1, %rax
ja 0x66fb
xorl %esi, %esi
callq *0x999a(%rip)           # 0x100b0
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4a91(%rip), %rdi      # 0xb1c0
leaq 0x392e(%rip), %rsi      # 0xa064
leaq 0x3ecc(%rip), %rcx      # 0xa609
movl $0xce5, %edx            # imm = 0xCE5
callq 0x1090
leaq 0x3eae(%rip), %rdi      # 0xa5fc
leaq 0x390f(%rip), %rsi      # 0xa064
leaq 0x3ead(%rip), %rcx      # 0xa609
movl $0xce6, %edx            # imm = 0xCE6
callq 0x1090
leaq 0x3ed8(%rip), %rdi      # 0xa645
leaq 0x38f0(%rip), %rsi      # 0xa064
leaq 0x3e8e(%rip), %rcx      # 0xa609
movl $0xcec, %edx            # imm = 0xCEC
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_bin_uiui
void
mpz_bin_uiui (mpz_t r, unsigned long n, unsigned long k)
{
  mpz_t t;

  mpz_set_ui (r, k <= n);

  if (k > (n >> 1))
    k = (k <= n) ? n - k : 0;

  mpz_init (t);
  mpz_fac_ui (t, k);

  for (; k > 0; k--)
      mpz_mul_ui (r, r, n--);

  mpz_divexact (r, r, t);
  mpz_clear (t);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
cmpq %rsi, %rdx
ja 0x67f9
movq 0x8(%rbx), %rax
movq $0x1, (%rax)
movl $0x1, %eax
movl %eax, 0x4(%rbx)
movq %r14, %rax
shrq %rax
xorl %r15d, %r15d
movq %r14, %rcx
subq %rdx, %rcx
cmovaeq %rcx, %r15
cmpq %rdx, %rax
cmovaeq %rdx, %r15
leaq -0x30(%rbp), %r12
movq $0x1, (%r12)
movl $0x8, %edi
callq *0x9873(%rip)           # 0x100a0
movq %rax, 0x8(%r12)
movq %r12, %rdi
movq %r15, %rsi
callq 0x6785
testq %r15, %r15
je 0x685c
leaq -0x1(%r14), %r12
movq %rbx, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x3441
movq %r12, %r14
decq %r15
jne 0x6842
leaq -0x30(%rbp), %r14
movq %rbx, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x42a1
movq 0x983b(%rip), %rax      # 0x100b0
movq 0x8(%r14), %rdi
xorl %esi, %esi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_scan1
mp_bitcnt_t
mpz_scan1 (const mpz_t u, mp_bitcnt_t starting_bit)
{
  mp_ptr up;
  mp_size_t us, un, i;
  mp_limb_t limb, ux;

  us = u->_mp_size;
  un = GMP_ABS (us);
  i = starting_bit / GMP_LIMB_BITS;

  /* Past the end there's no 1 bits for u>=0, or an immediate 1 bit
     for u<0. Notice this test picks up any u==0 too. */
  if (i >= un)
    return (us >= 0 ? ~(mp_bitcnt_t) 0 : starting_bit);

  up = u->_mp_d;
  ux = 0;
  limb = up[i];

  if (starting_bit != 0)
    {
      if (us < 0)
	{
	  ux = mpn_zero_p (up, i);
	  limb = ~ limb + ux;
	  ux = - (mp_limb_t) (limb >= ux);
	}

      /* Mask to 0 all bits before starting_bit, thus ignoring them. */
      limb &= (GMP_LIMB_MAX << (starting_bit % GMP_LIMB_BITS));
    }

  return mpn_common_scan (limb, i, up, un, ux);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x4(%rdi), %r8d
movl %r8d, %eax
negl %eax
cmovsl %r8d, %eax
movq %rsi, %rcx
shrq $0x6, %rsi
cmpq %rax, %rsi
jae 0x6c49
movq 0x8(%rdi), %rdx
movq (%rdx,%rsi,8), %rdi
testq %rcx, %rcx
je 0x6c5c
testl %r8d, %r8d
js 0x6c61
xorl %r8d, %r8d
jmp 0x6ca2
testl %r8d, %r8d
movq $-0x1, %rax
cmovnsq %rax, %rcx
movq %rcx, %rax
popq %rbp
retq
xorl %r8d, %r8d
jmp 0x6ca8
movl $0x1, %r9d
cmpq $0x40, %rcx
jb 0x6c92
movq %rsi, %r8
cmpq $0x0, -0x8(%rdx,%r8,8)
jne 0x6c88
leaq -0x1(%r8), %r9
cmpq $0x1, %r8
movq %r9, %r8
jg 0x6c70
xorl %r8d, %r8d
xorl %r9d, %r9d
testq %r8, %r8
sete %r9b
notq %rdi
addq %r9, %rdi
xorl %r8d, %r8d
cmpq %r9, %rdi
adcq $-0x1, %r8
shrq %cl, %rdi
shlq %cl, %rdi
movq %rax, %rcx
popq %rbp
jmp 0x1c38
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_tstbit
int
mpz_tstbit (const mpz_t d, mp_bitcnt_t bit_index)
{
  mp_size_t limb_index;
  unsigned shift;
  mp_size_t ds;
  mp_size_t dn;
  mp_limb_t w;
  int bit;

  ds = d->_mp_size;
  dn = GMP_ABS (ds);
  limb_index = bit_index / GMP_LIMB_BITS;
  if (limb_index >= dn)
    return ds < 0;

  shift = bit_index % GMP_LIMB_BITS;
  w = d->_mp_d[limb_index];
  bit = (w >> shift) & 1;

  if (ds < 0)
    {
      /* d < 0. Check if any of the bits below is set: If so, our bit
	 must be complemented. */
      if (shift > 0 && (w << (GMP_LIMB_BITS - shift)) > 0)
	return bit ^ 1;
      while (--limb_index >= 0)
	if (d->_mp_d[limb_index] > 0)
	  return bit ^ 1;
    }
  return bit;
}

// Assembly:
movl 0x4(%rdi), %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movq %rsi, %rdx
shrq $0x6, %rdx
cmpq %rax, %rdx
jae 0x6d0d
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rdi
movq (%rdi,%rdx,8), %r8
andl $0x3f, %esi
xorl %eax, %eax
btq %rsi, %r8
setb %al
testl %ecx, %ecx
jns 0x6d0b
testq %rsi, %rsi
je 0x6d06
negb %sil
movl %esi, %ecx
shlq %cl, %r8
testq %r8, %r8
je 0x6d06
xorl $0x1, %eax
jmp 0x6d0b
cmpq $0x0, -0x8(%rdi,%rdx,8)
leaq -0x1(%rdx), %rdx
jne 0x6cf5
testq %rdx, %rdx
jg 0x6cfa
popq %rbp
retq
shrl $0x1f, %ecx
movl %ecx, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_abs_add_bit
static void
mpz_abs_add_bit (mpz_t d, mp_bitcnt_t bit_index)
{
  mp_size_t dn, limb_index;
  mp_limb_t bit;
  mp_ptr dp;

  dn = GMP_ABS (d->_mp_size);

  limb_index = bit_index / GMP_LIMB_BITS;
  bit = (mp_limb_t) 1 << (bit_index % GMP_LIMB_BITS);

  if (limb_index >= dn)
    {
      mp_size_t i;
      /* The bit should be set outside of the end of the number.
	 We have to increase the size of the number. */
      dp = MPZ_REALLOC (d, limb_index + 1);

      dp[limb_index] = bit;
      for (i = dn; i < limb_index; i++)
	dp[i] = 0;
      dn = limb_index + 1;
    }
  else
    {
      mp_limb_t cy;

      dp = d->_mp_d;

      cy = mpn_add_1 (dp + limb_index, dp + limb_index, dn - limb_index, bit);
      if (cy > 0)
	{
	  dp = MPZ_REALLOC (d, dn + 1);
	  dp[dn++] = cy;
	}
    }

  d->_mp_size = (d->_mp_size < 0) ? - dn : dn;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rcx
movq %rdi, %rbx
movl 0x4(%rdi), %eax
movl %eax, %r12d
negl %r12d
cmovsl %eax, %r12d
movq %rsi, %r14
shrq $0x6, %r14
movl $0x1, %r15d
shlq %cl, %r15
cmpq %r12, %r14
jae 0x6db7
leaq (,%r14,8), %rdi
addq 0x8(%rbx), %rdi
movq %r12, %rdx
subq %r14, %rdx
movq %rdi, %rsi
movq %r15, %rcx
callq 0x155d
testq %rax, %rax
je 0x6e14
leaq 0x1(%r12), %r13
movq 0x8(%rbx), %rax
cmpl (%rbx), %r12d
jl 0x6dad
leaq (,%r13,8), %rdx
movq %rax, %rdi
xorl %esi, %esi
callq *0x9318(%rip)           # 0x100a8
movq %rax, 0x8(%rbx)
movl %r13d, (%rbx)
movl 0x4(%rbx), %ecx
movl %ecx, %edx
negl %edx
cmovsl %ecx, %edx
cmpq %rdx, %r13
jae 0x6dad
movl $0x0, 0x4(%rbx)
movq $0x1, (%rax,%r12,8)
jmp 0x6e17
leaq 0x1(%r14), %r13
movslq (%rbx), %rcx
movq 0x8(%rbx), %rax
cmpq %rcx, %r14
jl 0x6df7
leaq (,%r13,8), %rdx
movq %rax, %rdi
xorl %esi, %esi
callq *0x92ce(%rip)           # 0x100a8
movq %rax, 0x8(%rbx)
movl %r13d, (%rbx)
movl 0x4(%rbx), %ecx
movl %ecx, %edx
negl %edx
cmovsl %ecx, %edx
cmpq %rdx, %r13
jae 0x6df7
movl $0x0, 0x4(%rbx)
movq %r15, (%rax,%r14,8)
subq %r12, %r14
jbe 0x6e17
leaq (%rax,%r12,8), %rdi
shlq $0x3, %r14
xorl %esi, %esi
movq %r14, %rdx
callq 0x10a0
jmp 0x6e17
movq %r12, %r13
movl %r13d, %eax
negl %eax
cmpl $0x0, 0x4(%rbx)
cmovnsl %r13d, %eax
movl %eax, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_abs_sub_bit
static void
mpz_abs_sub_bit (mpz_t d, mp_bitcnt_t bit_index)
{
  mp_size_t dn, limb_index;
  mp_ptr dp;
  mp_limb_t bit;

  dn = GMP_ABS (d->_mp_size);
  dp = d->_mp_d;

  limb_index = bit_index / GMP_LIMB_BITS;
  bit = (mp_limb_t) 1 << (bit_index % GMP_LIMB_BITS);

  assert (limb_index < dn);

  gmp_assert_nocarry (mpn_sub_1 (dp + limb_index, dp + limb_index,
				 dn - limb_index, bit));
  dn = mpn_normalized_size (dp, dn);
  d->_mp_size = (d->_mp_size < 0) ? - dn : dn;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x4(%rdi), %eax
movl %eax, %r14d
negl %r14d
cmovsl %eax, %r14d
movq %rsi, %rdi
shrq $0x6, %rdi
movq %r14, %rdx
subq %rdi, %rdx
jbe 0x6eb4
movq 0x8(%rbx), %r15
movl $0x1, %eax
movl %esi, %ecx
shlq %cl, %rax
leaq (%r15,%rdi,8), %rdi
movq %rdi, %rsi
movq %rax, %rcx
callq 0x1662
testq %rax, %rax
jne 0x6ed3
cmpq $0x0, -0x8(%r15,%r14,8)
jne 0x6e99
leaq -0x1(%r14), %rax
cmpq $0x1, %r14
movq %rax, %r14
jg 0x6e81
xorl %r14d, %r14d
movl %r14d, %eax
negl %eax
cmpl $0x0, 0x4(%rbx)
cmovnsl %r14d, %eax
movl %eax, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x47cd(%rip), %rdi      # 0xb688
leaq 0x31a2(%rip), %rsi      # 0xa064
leaq 0x47cf(%rip), %rcx      # 0xb698
movl $0xde4, %edx            # imm = 0xDE4
callq 0x1090
leaq 0x355b(%rip), %rdi      # 0xa435
leaq 0x3183(%rip), %rsi      # 0xa064
leaq 0x47b0(%rip), %rcx      # 0xb698
movl $0xde7, %edx            # imm = 0xDE7
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_clrbit
void
mpz_clrbit (mpz_t d, mp_bitcnt_t bit_index)
{
  if (mpz_tstbit (d, bit_index))
    {
      if (d->_mp_size >= 0)
	mpz_abs_sub_bit (d, bit_index);
      else
	mpz_abs_add_bit (d, bit_index);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x6cb1
testl %eax, %eax
je 0x6f1e
cmpl $0x0, 0x4(%r14)
js 0x6f23
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x6e36
popq %rbx
popq %r14
popq %rbp
retq
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x6d13
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_combit
void
mpz_combit (mpz_t d, mp_bitcnt_t bit_index)
{
  if (mpz_tstbit (d, bit_index) ^ (d->_mp_size < 0))
    mpz_abs_sub_bit (d, bit_index);
  else
    mpz_abs_add_bit (d, bit_index);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x6cb1
movl 0x4(%r14), %ecx
shrl $0x1f, %ecx
movq %r14, %rdi
movq %rbx, %rsi
cmpl %ecx, %eax
jne 0x6f5e
popq %rbx
popq %r14
popq %rbp
jmp 0x6d13
popq %rbx
popq %r14
popq %rbp
jmp 0x6e36
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_popcount
mp_bitcnt_t
mpn_popcount (mp_srcptr p, mp_size_t n)
{
  mp_size_t i;
  mp_bitcnt_t c;

  for (c = 0, i = 0; i < n; i++)
    c += gmp_popcount_limb (p[i]);

  return c;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
jle 0x7603
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
xorl %r12d, %r12d
movq (%r15,%r12,8), %rdi
callq 0x7611
movl %eax, %eax
addq %rax, %rbx
incq %r12
cmpq %r12, %r14
jne 0x75eb
jmp 0x7605
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_popcount
mp_bitcnt_t
mpz_popcount (const mpz_t u)
{
  mp_size_t un;

  un = u->_mp_size;

  if (un < 0)
    return ~(mp_bitcnt_t) 0;

  return mpn_popcount (u->_mp_d, un);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movslq 0x4(%rdi), %r14
testq %r14, %r14
js 0x76bb
testl %r14d, %r14d
je 0x76c4
movq 0x8(%rdi), %r15
xorl %ebx, %ebx
xorl %r12d, %r12d
movq (%r15,%r12,8), %rdi
callq 0x7611
movl %eax, %eax
addq %rax, %rbx
incq %r12
cmpq %r12, %r14
jne 0x76a3
jmp 0x76c6
movq $-0x1, %rbx
jmp 0x76c6
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_hamdist
mp_bitcnt_t
mpz_hamdist (const mpz_t u, const mpz_t v)
{
  mp_size_t un, vn, i;
  mp_limb_t uc, vc, ul, vl, comp;
  mp_srcptr up, vp;
  mp_bitcnt_t c;

  un = u->_mp_size;
  vn = v->_mp_size;

  if ( (un ^ vn) < 0)
    return ~(mp_bitcnt_t) 0;

  comp = - (uc = vc = (un < 0));
  if (uc)
    {
      assert (vn < 0);
      un = -un;
      vn = -vn;
    }

  up = u->_mp_d;
  vp = v->_mp_d;

  if (un < vn)
    MPN_SRCPTR_SWAP (up, un, vp, vn);

  for (i = 0, c = 0; i < vn; i++)
    {
      ul = (up[i] ^ comp) + uc;
      uc = ul < uc;

      vl = (vp[i] ^ comp) + vc;
      vc = vl < vc;

      c += gmp_popcount_limb (ul ^ vl);
    }
  assert (vc == 0);

  for (; i < un; i++)
    {
      ul = (up[i] ^ comp) + uc;
      uc = ul < uc;

      c += gmp_popcount_limb (ul ^ comp);
    }

  return c;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movslq 0x4(%rdi), %r14
movslq 0x4(%rsi), %r13
movq %r13, %rax
xorq %r14, %rax
js 0x76fd
testl %r14d, %r14d
js 0x7709
movq %r14, %rax
jmp 0x771b
movq $-0x1, %rbx
jmp 0x77f9
testl %r13d, %r13d
jns 0x782a
movq %r14, %rax
negq %rax
negq %r13
shrl $0x1f, %r14d
movq 0x8(%rdi), %rdi
movq 0x8(%rsi), %rcx
cmpq %r13, %rax
jge 0x7734
movq %rax, %r12
movq %rcx, %rdx
jmp 0x7740
movq %r13, %r12
movq %rdi, %rdx
movq %rcx, %rdi
movq %rax, %r13
movq %r14, %rsi
negq %rsi
testq %r12, %r12
movq %rdx, -0x38(%rbp)
movq %rsi, -0x30(%rbp)
jle 0x77b6
movq %r13, -0x40(%rbp)
xorl %ebx, %ebx
xorl %r13d, %r13d
movq %r14, %r15
movq %r12, -0x48(%rbp)
movq (%rdx,%r13,8), %rax
xorq %rsi, %rax
addq %r14, %rax
setb %cl
xorl %r14d, %r14d
movb %cl, %r14b
movq %rdi, %r12
movq (%rdi,%r13,8), %rdi
xorq %rsi, %rdi
addq %r15, %rdi
setb %cl
xorl %r15d, %r15d
movb %cl, %r15b
xorq %rax, %rdi
callq 0x7611
movq %r12, %rdi
movq -0x48(%rbp), %r12
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl %eax, %eax
addq %rax, %rbx
incq %r13
cmpq %r13, %r12
jne 0x7763
movq -0x40(%rbp), %r13
jmp 0x77be
xorl %r12d, %r12d
movq %r14, %r15
xorl %ebx, %ebx
testq %r15, %r15
jne 0x780b
cmpq %r13, %r12
jge 0x77f9
movq (%rdx,%r12,8), %rdi
xorq %rsi, %rdi
xorl %r15d, %r15d
addq %r14, %rdi
setb %r15b
xorq %rsi, %rdi
callq 0x7611
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl %eax, %eax
addq %rax, %rbx
incq %r12
movq %r15, %r14
cmpq %r12, %r13
jne 0x77c8
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2e84(%rip), %rdi      # 0xa696
leaq 0x284b(%rip), %rsi      # 0xa064
leaq 0x2f60(%rip), %rcx      # 0xa780
movl $0xf3a, %edx            # imm = 0xF3A
callq 0x1090
leaq 0x2f48(%rip), %rdi      # 0xa779
leaq 0x282c(%rip), %rsi      # 0xa064
leaq 0x2f41(%rip), %rcx      # 0xa780
movl $0xf25, %edx            # imm = 0xF25
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_scan0
mp_bitcnt_t
mpz_scan0 (const mpz_t u, mp_bitcnt_t starting_bit)
{
  mp_ptr up;
  mp_size_t us, un, i;
  mp_limb_t limb, ux;

  us = u->_mp_size;
  ux = - (mp_limb_t) (us >= 0);
  un = GMP_ABS (us);
  i = starting_bit / GMP_LIMB_BITS;

  /* When past end, there's an immediate 0 bit for u>=0, or no 0 bits for
     u<0.  Notice this test picks up all cases of u==0 too. */
  if (i >= un)
    return (ux ? starting_bit : ~(mp_bitcnt_t) 0);

  up = u->_mp_d;
  limb = up[i] ^ ux;

  if (ux == 0)
    limb -= mpn_zero_p (up, i); /* limb = ~(~limb + zero_p) */

  /* Mask all bits before starting_bit, thus ignoring them. */
  limb &= (GMP_LIMB_MAX << (starting_bit % GMP_LIMB_BITS));

  return mpn_common_scan (limb, i, up, un, ux);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x4(%rdi), %r8d
movl %r8d, %eax
negl %eax
cmovsl %r8d, %eax
movq %rsi, %rcx
shrq $0x6, %rsi
cmpq %rax, %rsi
jae 0x7894
movq %rdi, %rdx
xorl %edi, %edi
testl %r8d, %r8d
setns %dil
negq %rdi
movq 0x8(%rdx), %rdx
xorq (%rdx,%rsi,8), %rdi
testl %r8d, %r8d
js 0x78a4
shrq %cl, %rdi
shlq %cl, %rdi
movq %rax, %rcx
movq $-0x1, %r8
jmp 0x78e5
testl %r8d, %r8d
movq $-0x1, %rax
cmovnsq %rcx, %rax
popq %rbp
retq
movq $-0x1, %r9
cmpq $0x40, %rcx
jb 0x78d6
movq %rsi, %r8
cmpq $0x0, -0x8(%rdx,%r8,8)
jne 0x78cc
leaq -0x1(%r8), %r9
cmpq $0x1, %r8
movq %r9, %r8
jg 0x78b4
xorl %r8d, %r8d
xorl %r9d, %r9d
cmpq $0x1, %r8
sbbq %r9, %r9
addq %r9, %rdi
shrq %cl, %rdi
shlq %cl, %rdi
movq %rax, %rcx
xorl %r8d, %r8d
popq %rbp
jmp 0x1c38
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_limb_size_in_base_2
static mp_bitcnt_t
mpn_limb_size_in_base_2 (mp_limb_t u)
{
  unsigned shift;

  assert (u > 0);
  gmp_clz (shift, u);
  return GMP_LIMB_BITS - shift;
}

// Assembly:
testq %rdi, %rdi
je 0x792c
xorl %eax, %eax
movq %rdi, %rcx
shrq $0x38, %rcx
jne 0x7912
xorl %eax, %eax
movq %rdi, %rcx
shlq $0x8, %rcx
addl $0x8, %eax
shrq $0x30, %rdi
movq %rcx, %rdi
je 0x7900
jmp 0x791c
movq %rdi, %rcx
jmp 0x791c
addq %rcx, %rcx
incl %eax
testq %rcx, %rcx
jns 0x7917
movl %eax, %ecx
movl $0x40, %eax
subq %rcx, %rax
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x3d93(%rip), %rdi      # 0xb6ca
leaq 0x2726(%rip), %rsi      # 0xa064
leaq 0x3d8b(%rip), %rcx      # 0xb6d0
movl $0x47f, %edx            # imm = 0x47F
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_div_qr_1_invert
static void
mpn_div_qr_1_invert (struct gmp_div_inverse *inv, mp_limb_t d)
{
  unsigned shift;

  assert (d > 0);
  gmp_clz (shift, d);
  inv->shift = shift;
  inv->d1 = d << shift;
  inv->di = mpn_invert_limb (inv->d1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x79ad
movq %rdi, %rbx
xorl %ecx, %ecx
movq %rsi, %rax
shrq $0x38, %rax
movq %rsi, %rax
jne 0x798a
xorl %ecx, %ecx
movq %rsi, %rdx
movq %rsi, %rax
shlq $0x8, %rax
addl $0x8, %ecx
shrq $0x30, %rdx
movq %rax, %rdx
je 0x7973
jmp 0x798a
addq %rax, %rax
incl %ecx
testq %rax, %rax
jns 0x7985
movl %ecx, (%rbx)
shlq %cl, %rsi
movq %rsi, 0x8(%rbx)
movq %rsi, %rdi
xorl %esi, %esi
callq 0x1d36
movq %rax, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x3993(%rip), %rdi      # 0xb347
leaq 0x26a9(%rip), %rsi      # 0xa064
leaq 0x3d3d(%rip), %rcx      # 0xb6ff
movl $0x320, %edx            # imm = 0x320
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_div_qr_1_preinv
static mp_limb_t
mpn_div_qr_1_preinv (mp_ptr qp, mp_srcptr np, mp_size_t nn,
		     const struct gmp_div_inverse *inv)
{
  mp_limb_t d, di;
  mp_limb_t r;
  mp_ptr tp = NULL;

  if (inv->shift > 0)
    {
      tp = gmp_xalloc_limbs (nn);
      r = mpn_lshift (tp, np, nn, inv->shift);
      np = tp;
    }
  else
    r = 0;

  d = inv->d1;
  di = inv->di;
  while (--nn >= 0)
    {
      mp_limb_t q;

      gmp_udiv_qrnnd_preinv (q, r, r, np[nn], d, di);
      if (qp)
	qp[nn] = q;
    }
  if (inv->shift > 0)
    gmp_free (tp);

  return r >> inv->shift;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
cmpl $0x0, (%rcx)
movq %rcx, -0x38(%rbp)
je 0x7a21
movq %rcx, %r13
leaq (,%r14,8), %rdi
callq *0x86a0(%rip)           # 0x100a0
movq %rax, %rbx
movl (%r13), %ecx
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1a5d
movq %rax, %r13
movq %rbx, -0x30(%rbp)
movq %rbx, %r15
jmp 0x7a2c
movq $0x0, -0x30(%rbp)
xorl %r13d, %r13d
testq %r14, %r14
jle 0x7afb
movq -0x38(%rbp), %rbx
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rdx
movl %edx, %ecx
shrq $0x20, %rdx
incq %r14
movabsq $0x100000000, %rsi      # imm = 0x100000000
movq %r13, %r9
shrq $0x20, %r9
movl %r13d, %edi
movq %rdi, %r10
imulq %rcx, %r10
imulq %rdx, %rdi
movq %r9, %r11
imulq %rcx, %r11
imulq %rdx, %r9
movl %r10d, %r8d
shrq $0x20, %r10
addq %r11, %rdi
addq %r10, %rdi
leaq (%r9,%rsi), %r10
cmpq %r11, %rdi
cmovaeq %r9, %r10
movq %rdi, %r11
shrq $0x20, %r11
shlq $0x20, %rdi
orq %rdi, %r8
movq -0x10(%r15,%r14,8), %r9
addq %r9, %r8
leaq 0x1(%r13,%r11), %rdi
adcq %r10, %rdi
movq %rdi, %r10
imulq %rax, %r10
subq %r10, %r9
cmpq %r8, %r9
movl $0x0, %r13d
cmovaq %rax, %r13
addq %r9, %r13
cmpq %rax, %r13
movl $0x0, %r10d
cmovaeq %rax, %r10
testq %r12, %r12
je 0x7ae9
cmpq %r9, %r8
sbbq $0x0, %rdi
cmpq %rax, %r13
sbbq $-0x1, %rdi
movq %rdi, -0x10(%r12,%r14,8)
subq %r10, %r13
decq %r14
cmpq $0x1, %r14
ja 0x7a54
jmp 0x7aff
movq -0x38(%rbp), %rbx
cmpl $0x0, (%rbx)
je 0x7b14
movq -0x30(%rbp), %rdi
xorl %esi, %esi
callq *0x85a0(%rip)           # 0x100b0
movl (%rbx), %ecx
jmp 0x7b16
xorl %ecx, %ecx
shrq %cl, %r13
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpz_out_str
size_t
mpz_out_str (FILE *stream, int base, const mpz_t x)
{
  char *str;
  size_t len;

  str = mpz_get_str (NULL, base, x);
  len = strlen (str);
  len = fwrite (str, 1, len, stream);
  gmp_free (str);
  return len;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %edi, %edi
callq 0x7b2b
movq %rax, %r14
movq %rax, %rdi
callq 0x1070
movl $0x1, %esi
movq %r14, %rdi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x1100
movq %rax, %rbx
movq %r14, %rdi
xorl %esi, %esi
callq *0x8074(%rip)           # 0x100b0
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./bootstrap.c
// Function: isprime
int
isprime (unsigned long int t)
{
  unsigned long int q, r, d;

  if (t < 32)
    return (0xa08a28acUL >> t) & 1;
  if ((t & 1) == 0)
    return 0;

  if (t % 3 == 0)
    return 0;
  if (t % 5 == 0)
    return 0;
  if (t % 7 == 0)
    return 0;

  for (d = 11;;)
    {
      q = t / d;
      r = t - q * d;
      if (q < d)
	return 1;
      if (r == 0)
	break;
      d += 2;
      q = t / d;
      r = t - q * d;
      if (q < d)
	return 1;
      if (r == 0)
	break;
      d += 4;
    }
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpq $0x1f, %rdi
ja 0x84d6
movl $0xa08a28ac, %eax       # imm = 0xA08A28AC
xorl %ecx, %ecx
btq %rdi, %rax
setb %cl
jmp 0x85a0
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
movq %rdi, %rax
mulq %rcx
movq %rdx, %rsi
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq %rdi, %rax
mulq %rcx
movabsq $0x6db6db6db6db6db7, %rax # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdi, %rax
xorl %ecx, %ecx
movabsq $0x2492492492492493, %r8 # imm = 0x2492492492492493
cmpq %r8, %rax
jb 0x85a0
shrq $0x2, %rdx
leaq (%rdx,%rdx,4), %rax
movq %rdi, %rdx
subq %rax, %rdx
je 0x85a0
movl %edi, %eax
andl $0x1, %eax
je 0x85a0
shrq %rsi
leaq (%rsi,%rsi,2), %rax
movq %rdi, %rdx
subq %rax, %rdx
je 0x85a0
movl $0x1, %ecx
cmpq $0x79, %rdi
jb 0x85a0
movabsq $0x2e8ba2e8ba2e8ba3, %rdx # imm = 0x2E8BA2E8BA2E8BA3
movq %rdi, %rax
mulq %rdx
movq %rdx, %rax
shrq %rax
movl $0xb, %esi
imulq %rsi, %rax
cmpq %rdi, %rax
je 0x859e
leaq 0x2(%rsi), %r8
movq %rdi, %rax
xorl %edx, %edx
divq %r8
cmpq %r8, %rax
jb 0x85a0
imulq %r8, %rax
cmpq %rdi, %rax
je 0x859e
addq $0x6, %rsi
movq %rdi, %rax
xorl %edx, %edx
divq %rsi
cmpq %rsi, %rax
jae 0x8568
jmp 0x85a0
xorl %ecx, %ecx
movl %ecx, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./bootstrap.c
// Function: log2_ceil
int
log2_ceil (int n)
{
  int  e;
  assert (n >= 1);
  for (e = 0; ; e++)
    if ((1 << e) >= n)
      break;
  return e;
}

// Assembly:
testl %edi, %edi
jle 0x85bd
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
movl $0x1, %eax
shll %cl, %eax
cmpl %edi, %eax
jl 0x85ad
movl %ecx, %eax
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x1cce(%rip), %rdi      # 0xa296
leaq 0x2435(%rip), %rsi      # 0xaa04
leaq 0x243c(%rip), %rcx      # 0xaa12
movl $0x51, %edx
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./bootstrap.c
// Function: mpz_preinv_invert
void
mpz_preinv_invert (mpz_t inv, mpz_t d, int numb_bits)
{
  mpz_t  t;
  int    norm;
  assert (SIZ(d) > 0);

  norm = numb_bits - mpz_sizeinbase (d, 2);
  assert (norm >= 0);
  mpz_init_set_ui (t, 1L);
  mpz_mul_2exp (t, t, 2*numb_bits - norm);
  mpz_tdiv_q (inv, t, d);
  mpz_set_ui (t, 1L);
  mpz_mul_2exp (t, t, numb_bits);
  mpz_sub (inv, inv, t);

  mpz_clear (t);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movslq 0x4(%rsi), %rax
testq %rax, %rax
jle 0x86d6
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rcx
leaq -0x1(%rax), %r15
shll $0x6, %r15d
movq -0x8(%rcx,%rax,8), %rdi
callq 0x78eb
addl %r15d, %eax
movl %r12d, %r13d
subl %eax, %r13d
js 0x86f5
movslq %r12d, %rax
movq %rax, -0x30(%rbp)
movl $0x1, %eax
leaq -0x40(%rbp), %r15
movl %eax, (%r15)
movl $0x8, %edi
callq *0x7a56(%rip)           # 0x100a0
movq %rax, 0x8(%r15)
movl $0x1, %ecx
movq %rcx, (%rax)
movl $0x1, %eax
movl %eax, 0x4(%r15)
addl %r12d, %r12d
subl %r13d, %r12d
movslq %r12d, %rdx
movq %r15, %rdi
movq %r15, %rsi
callq 0x362c
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
movl $0x2, %r8d
callq 0x3943
movq 0x8(%r15), %rax
movl $0x1, %ecx
movq %rcx, (%rax)
movl $0x1, %eax
movl %eax, 0x4(%r15)
movq %r15, %rdi
movq %r15, %rsi
movq -0x30(%rbp), %rdx
callq 0x362c
movq %rbx, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x33cf
movq 0x8(%r15), %rdi
xorl %esi, %esi
callq *0x79e9(%rip)           # 0x100b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2348(%rip), %rdi      # 0xaa25
leaq 0x2320(%rip), %rsi      # 0xaa04
leaq 0x2345(%rip), %rcx      # 0xaa30
movl $0x5f, %edx
callq 0x1090
leaq 0x2370(%rip), %rdi      # 0xaa6c
leaq 0x2301(%rip), %rsi      # 0xaa04
leaq 0x2326(%rip), %rcx      # 0xaa30
movl $0x62, %edx
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./bootstrap.c
// Function: mpz_invert_2exp
void
mpz_invert_2exp (mpz_t r, mpz_t a, unsigned long n)
{
  unsigned long  i;
  mpz_t  inv, prod;

  assert (mpz_odd_p (a));

  mpz_init_set_ui (inv, 1L);
  mpz_init (prod);

  for (i = 1; i < n; i++)
    {
      mpz_mul (prod, inv, a);
      if (mpz_tstbit (prod, i) != 0)
	mpz_setbit (inv, i);
    }

  mpz_mul (prod, inv, a);
  mpz_tdiv_r_2exp (prod, prod, n);
  assert (mpz_cmp_ui (prod, 1L) == 0);

  mpz_set (r, inv);

  mpz_clear (inv);
  mpz_clear (prod);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, -0x58(%rbp)
cmpl $0x0, 0x4(%rsi)
je 0x8849
movq %rsi, %r15
movq 0x8(%rsi), %rax
movq (%rax), %rax
andl $0x1, %eax
je 0x8849
movq %rdx, %r14
movl $0x1, %ebx
movl %ebx, -0x50(%rbp)
movl $0x8, %edi
callq *0x7944(%rip)           # 0x100a0
movq %rax, -0x48(%rbp)
movl $0x1, %r12d
movq %r12, (%rax)
movl %ebx, -0x4c(%rbp)
movq %r12, -0x40(%rbp)
movl $0x8, %edi
callq *0x7925(%rip)           # 0x100a0
movq %rax, -0x38(%rbp)
cmpq $0x2, %r14
jb 0x87bd
leaq -0x40(%rbp), %r13
leaq -0x50(%rbp), %rbx
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x3512
movq %r13, %rdi
movq %r12, %rsi
callq 0x6cb1
testl %eax, %eax
je 0x87b5
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5305
incq %r12
cmpq %r12, %r14
jne 0x878d
leaq -0x40(%rbp), %rbx
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x3512
movq %rbx, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl $0x2, %ecx
callq 0x3ffe
cmpl $0x1, 0x4(%rbx)
jne 0x882a
movq -0x38(%rbp), %rax
cmpq $0x1, (%rax)
jne 0x882a
leaq -0x50(%rbp), %rbx
movq -0x58(%rbp), %rdi
movq %rbx, %rsi
callq 0x24a2
movq 0x8(%rbx), %rdi
xorl %esi, %esi
callq *0x78a1(%rip)           # 0x100b0
movq -0x38(%rbp), %rdi
xorl %esi, %esi
callq *0x7895(%rip)           # 0x100b0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2297(%rip), %rdi      # 0xaac8
leaq 0x21cc(%rip), %rsi      # 0xaa04
leaq 0x2245(%rip), %rcx      # 0xaa84
movl $0x82, %edx
callq 0x1090
leaq 0x2226(%rip), %rdi      # 0xaa76
leaq 0x21ad(%rip), %rsi      # 0xaa04
leaq 0x2226(%rip), %rcx      # 0xaa84
movl $0x74, %edx
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./bootstrap.c
// Function: mpz_invert_ui_2exp
void
mpz_invert_ui_2exp (mpz_t r, unsigned long a, unsigned long n)
{
  mpz_t  az;
  mpz_init_set_ui (az, a);
  mpz_invert_2exp (r, az, n);
  mpz_clear (az);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
movl $0x1, -0x30(%rbp)
movl $0x8, %edi
callq *0x780e(%rip)           # 0x100a0
movq %rax, %r14
movq %rax, -0x28(%rbp)
testq %r12, %r12
je 0x88a8
movq %r12, (%r14)
movl $0x1, %eax
jmp 0x88aa
xorl %eax, %eax
leaq -0x30(%rbp), %rsi
movl %eax, 0x4(%rsi)
movq %r15, %rdi
movq %rbx, %rdx
callq 0x8714
movq 0x77ed(%rip), %rax      # 0x100b0
movq %r14, %rdi
xorl %esi, %esi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/gen-fac.c
// Function: main
int
main (int argc, char *argv[])
{
  int nail_bits, limb_bits, numb_bits;

  if (argc != 3)
    {
      fprintf (stderr, "Usage: gen-fac limbbits nailbits\n");
      exit (1);
    }
  limb_bits = atoi (argv[1]);
  nail_bits = atoi (argv[2]);
  numb_bits = limb_bits - nail_bits;
  if (limb_bits < 2 || nail_bits < 0 || numb_bits < 1)
    {
      fprintf (stderr, "Invalid limb/nail bits %d,%d\n", limb_bits,
	       nail_bits);
      exit (1);
    }
  gen_consts (numb_bits, nail_bits, limb_bits);
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
cmpl $0x3, %edi
jne 0x9399
movq %rsi, %r14
movq 0x8(%rsi), %rdi
callq 0x10e0
movl %eax, %ebx
movq 0x10(%r14), %rdi
callq 0x10e0
cmpl $0x2, %ebx
jl 0x939e
testl %eax, %eax
js 0x939e
movl %ebx, %edi
subl %eax, %edi
testl %edi, %edi
jle 0x939e
callq 0x8905
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
callq 0x1298
movl %ebx, %edi
movl %eax, %esi
callq 0x12c0
// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/./mini-gmp/mini-gmp.c
// Function: mpn_limb_get_str
static size_t
mpn_limb_get_str (unsigned char *sp, mp_limb_t w,
		  const struct gmp_div_inverse *binv)
{
  mp_size_t i;
  for (i = 0; w > 0; i++)
    {
      mp_limb_t h, l, r;

      h = w >> (GMP_LIMB_BITS - binv->shift);
      l = w << binv->shift;

      gmp_udiv_qrnnd_preinv (w, r, h, l, binv->d1, binv->di);
      assert ( (r << (GMP_LIMB_BITS - binv->shift)) == 0);
      r >>= binv->shift;

      sp[i] = r;
    }
  return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x94a7
xorl %r10d, %r10d
movabsq $0x100000000, %r9       # imm = 0x100000000
movl (%rdx), %eax
movl %eax, %r8d
negb %r8b
movq %rsi, %r11
movl %r8d, %ecx
shrq %cl, %r11
movl %eax, %ecx
shlq %cl, %rsi
movq 0x18(%rdx), %r15
movq %r11, %rbx
shrq $0x20, %rbx
movl %r15d, %r14d
shrq $0x20, %r15
movl %r11d, %ecx
movq %rcx, %r12
imulq %r14, %r12
imulq %r15, %rcx
imulq %rbx, %r14
imulq %rbx, %r15
movl %r12d, %ebx
shrq $0x20, %r12
addq %r14, %rcx
addq %r12, %rcx
leaq (%r15,%r9), %r12
cmpq %r14, %rcx
cmovaeq %r15, %r12
movq %rcx, %r14
shrq $0x20, %r14
shlq $0x20, %rcx
orq %rcx, %rbx
addq %rsi, %rbx
leaq 0x1(%r11,%r14), %r11
adcq %r12, %r11
movq 0x8(%rdx), %r15
movq %r11, %rcx
imulq %r15, %rcx
subq %rcx, %rsi
cmpq %rbx, %rsi
movl $0x0, %r12d
cmovaq %r15, %r12
addq %rsi, %r12
cmpq %r15, %r12
movl $0x0, %ecx
cmovaeq %r15, %rcx
movq %r12, %r14
subq %rcx, %r14
movq %r14, %r13
movl %r8d, %ecx
shlq %cl, %r13
testq %r13, %r13
jne 0x94b8
xorl %r8d, %r8d
cmpq %r15, %r12
setae %r8b
cmpq %rsi, %rbx
sbbq $0x0, %r11
movl %eax, %ecx
shrq %cl, %r14
leaq 0x1(%r10), %rax
movb %r14b, (%rdi,%r10)
movq %rax, %r10
addq %r11, %r8
movq %r8, %rsi
jne 0x93cb
jmp 0x94a9
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b52(%rip), %rdi      # 0xb011
leaq 0xb9e(%rip), %rsi       # 0xa064
leaq 0x1b6e(%rip), %rcx      # 0xb03b
movl $0x4b0, %edx            # imm = 0x4B0
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O3/yinqiwen[P]coroxx/test1.cpp
// Function: main
int main()
{
    CoroOptions opt;
    opt.share_stack_count = 1;
    SchedulerManager::CreateSingleton(opt);
    for (int i = 0; i < 1000; i++)
    {
        StartCoro(testFunc, NULL);
    }

    sleep(100);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
leaq 0x28(%rsp), %rdi
movb $0x1, (%rdi)
movaps 0x3a2d(%rip), %xmm0     # 0x6010
movups %xmm0, 0x4(%rdi)
movq $0x0, 0x20(%rdi)
movabsq $-0xffffffff, %rax      # imm = 0xFFFFFFFF00000001
movq %rax, 0x14(%rdi)
callq 0x4256
movl $0x3e8, %ebp            # imm = 0x3E8
leaq 0x97(%rip), %r14        # 0x26a5
leaq 0x251(%rip), %r15       # 0x2866
leaq 0x252(%rip), %r12       # 0x286e
leaq 0x8(%rsp), %rbx
movq $0x0, 0x10(%rsp)
movq %r14, 0x8(%rsp)
movq %r15, 0x20(%rsp)
movq %r12, 0x18(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x43e7
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x265a
movq %rbx, %rdi
movq %rbx, %rsi
movl $0x3, %edx
callq *%rax
decl %ebp
jne 0x2621
movl $0x64, %edi
callq 0x2170
xorl %eax, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x269d
movq %rax, %rbx
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2695
leaq 0x8(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x2330
movq %rax, %rdi
callq 0x285a