// File: /workspace/github_cpp_makefile_star2_O3/marxn[P]pupp/3rdparty/gmp/mpn/toom6h_mul.c
// Function: _gmpn_toom6h_mul
void
mpn_toom6h_mul   (mp_ptr pp,
		  mp_srcptr ap, mp_size_t an,
		  mp_srcptr bp, mp_size_t bn, mp_ptr scratch)
{
  mp_size_t n, s, t;
  int p, q, half;
  int sign;

  /***************************** decomposition *******************************/

  ASSERT (an >= bn);
  /* Can not handle too much unbalancement */
  ASSERT (bn >= 42);
  /* Can not handle too much unbalancement */
  ASSERT ((an*3 <  bn * 8) || (bn >= 46 && an * 6 <  bn * 17));

  /* Limit num/den is a rational number between
     (12/11)^(log(4)/log(2*4-1)) and (12/11)^(log(6)/log(2*6-1))             */
#define LIMIT_numerator (18)
#define LIMIT_denominat (17)

  if (LIKELY (an * LIMIT_denominat < LIMIT_numerator * bn)) /* is 6*... < 6*... */
    {
      n = 1 + (an - 1) / (size_t) 6;
      p = q = 5;
      half = 0;

      s = an - 5 * n;
      t = bn - 5 * n;
    }
  else {
    if (an * 5 * LIMIT_numerator < LIMIT_denominat * 7 * bn)
      { p = 7; q = 6; }
    else if (an * 5 * LIMIT_denominat < LIMIT_numerator * 7 * bn)
      { p = 7; q = 5; }
    else if (an * LIMIT_numerator < LIMIT_denominat * 2 * bn)  /* is 4*... < 8*... */
      { p = 8; q = 5; }
    else if (an * LIMIT_denominat < LIMIT_numerator * 2 * bn)  /* is 4*... < 8*... */
      { p = 8; q = 4; }
    else
      { p = 9; q = 4; }

    half = (p ^ q) & 1;
    n = 1 + (q * an >= p * bn ? (an - 1) / (size_t) p : (bn - 1) / (size_t) q);
    p--; q--;

    s = an - p * n;
    t = bn - q * n;

    /* With LIMIT = 16/15, the following recover is needed only if bn<=73*/
    if (half) { /* Recover from badly chosen splitting */
      if (UNLIKELY (s<1)) {p--; s+=n; half=0;}
      else if (UNLIKELY (t<1)) {q--; t+=n; half=0;}
    }
  }
#undef LIMIT_numerator
#undef LIMIT_denominat

  ASSERT (0 < s && s <= n);
  ASSERT (0 < t && t <= n);
  ASSERT (half || s + t > 3);
  ASSERT (n > 2);

#define   r4    (pp + 3 * n)			/* 3n+1 */
#define   r2    (pp + 7 * n)			/* 3n+1 */
#define   r0    (pp +11 * n)			/* s+t <= 2*n */
#define   r5    (scratch)			/* 3n+1 */
#define   r3    (scratch + 3 * n + 1)		/* 3n+1 */
#define   r1    (scratch + 6 * n + 2)		/* 3n+1 */
#define   v0    (pp + 7 * n)			/* n+1 */
#define   v1    (pp + 8 * n+1)			/* n+1 */
#define   v2    (pp + 9 * n+2)			/* n+1 */
#define   v3    (scratch + 9 * n + 3)		/* n+1 */
#define   wsi   (scratch + 9 * n + 3)		/* 3n+1 */
#define   wse   (scratch +10 * n + 4)		/* 2n+1 */

  /* Alloc also 3n+1 limbs for wsi... toom_interpolate_12pts may
     need all of them  */
/*   if (scratch == NULL) */
/*     scratch = TMP_SALLOC_LIMBS(mpn_toom6_sqr_itch(n * 6)); */
  ASSERT (12 * n + 6 <= mpn_toom6h_mul_itch(an,bn));
  ASSERT (12 * n + 6 <= mpn_toom6_sqr_itch(n * 6));

  /********************** evaluation and recursive calls *********************/
  /* $\pm1/2$ */
  sign = mpn_toom_eval_pm2rexp (v2, v0, p, ap, n, s, 1, pp) ^
	 mpn_toom_eval_pm2rexp (v3, v1, q, bp, n, t, 1, pp);
  /* A(-1/2)*B(-1/2)*2^. */ /* A(+1/2)*B(+1/2)*2^. */
  TOOM6H_MUL_N_REC(pp, v0, v1, 2, r5, v2, v3, n + 1, wse);
  mpn_toom_couple_handling (r5, 2 * n + 1, pp, sign, n, 1+half , half);

  /* $\pm1$ */
  sign = mpn_toom_eval_pm1 (v2, v0, p, ap, n, s,    pp);
  if (UNLIKELY (q == 3))
    sign ^= mpn_toom_eval_dgr3_pm1 (v3, v1, bp, n, t,    pp);
  else
    sign ^= mpn_toom_eval_pm1 (v3, v1, q, bp, n, t,    pp);
  /* A(-1)*B(-1) */ /* A(1)*B(1) */
  TOOM6H_MUL_N_REC(pp, v0, v1, 2, r3, v2, v3, n + 1, wse);
  mpn_toom_couple_handling (r3, 2 * n + 1, pp, sign, n, 0, 0);

  /* $\pm4$ */
  sign = mpn_toom_eval_pm2exp (v2, v0, p, ap, n, s, 2, pp) ^
	 mpn_toom_eval_pm2exp (v3, v1, q, bp, n, t, 2, pp);
  /* A(-4)*B(-4) */
  TOOM6H_MUL_N_REC(pp, v0, v1, 2, r1, v2, v3, n + 1, wse); /* A(+4)*B(+4) */
  mpn_toom_couple_handling (r1, 2 * n + 1, pp, sign, n, 2, 4);

  /* $\pm1/4$ */
  sign = mpn_toom_eval_pm2rexp (v2, v0, p, ap, n, s, 2, pp) ^
	 mpn_toom_eval_pm2rexp (v3, v1, q, bp, n, t, 2, pp);
  /* A(-1/4)*B(-1/4)*4^. */ /* A(+1/4)*B(+1/4)*4^. */
  TOOM6H_MUL_N_REC(pp, v0, v1, 2, r4, v2, v3, n + 1, wse);
  mpn_toom_couple_handling (r4, 2 * n + 1, pp, sign, n, 2*(1+half), 2*(half));

  /* $\pm2$ */
  sign = mpn_toom_eval_pm2 (v2, v0, p, ap, n, s, pp) ^
	 mpn_toom_eval_pm2 (v3, v1, q, bp, n, t, pp);
  /* A(-2)*B(-2) */ /* A(+2)*B(+2) */
  TOOM6H_MUL_N_REC(pp, v0, v1, 2, r2, v2, v3, n + 1, wse);
  mpn_toom_couple_handling (r2, 2 * n + 1, pp, sign, n, 1, 2);

#undef v0
#undef v1
#undef v2
#undef v3
#undef wse

  /* A(0)*B(0) */
  TOOM6H_MUL_N_REC(pp, ap, bp, 0, pp, ap, bp, n, wsi);

  /* Infinity */
  if (UNLIKELY (half != 0)) {
    if (s > t) {
      TOOM6H_MUL_REC(r0, ap + p * n, s, bp + q * n, t, wsi);
    } else {
      TOOM6H_MUL_REC(r0, bp + q * n, t, ap + p * n, s, wsi);
    };
  };

  mpn_toom_interpolate_12pts (pp, r1, r3, r5, n, s+t, half, wsi);

#undef r0
#undef r1
#undef r2
#undef r3
#undef r4
#undef r5
#undef wsi
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r9, %rbx
movq %rcx, 0x58(%rsp)
movq %rdx, %r9
movq %rsi, 0x60(%rsp)
movq %rdi, 0x48(%rsp)
movq %rdx, %rax
shlq $0x4, %rax
addq %rdx, %rax
leaq (%r8,%r8), %rdx
leaq (%rdx,%rdx,8), %rcx
cmpq %rcx, %rax
movq %rbx, 0x50(%rsp)
jge 0x24189
leaq -0x1(%r9), %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
movq %rdx, %r13
shrq $0x2, %r13
incq %r13
leaq (,%r13,4), %rax
addq %r13, %rax
subq %rax, %r9
subq %rax, %r8
movq $0x0, 0x90(%rsp)
movb $0x1, %al
movq %rax, 0xa8(%rsp)
movl $0x5, %edx
movl $0x5, %eax
movq %rax, 0x80(%rsp)
movq %r8, 0x70(%rsp)
leaq (,%r13,8), %rax
leaq (%rax,%rax,8), %rbx
movq 0x48(%rsp), %r15
leaq (%r15,%rbx), %rbp
addq $0x10, %rbp
imulq $0x38, %r13, %r14
addq %r15, %r14
movq %r15, 0x8(%rsp)
movl $0x1, %eax
movl %eax, (%rsp)
movq %rbp, %rdi
movq %r14, %rsi
movq %rdx, 0xa0(%rsp)
movq 0x60(%rsp), %rcx
movq %r13, %r8
movq %r9, 0x30(%rsp)
callq 0x27e54
movl %eax, 0x20(%rsp)
movq 0x50(%rsp), %rax
leaq (%rax,%rbx), %r12
addq $0x18, %r12
movq %r13, %rax
shlq $0x6, %rax
leaq (%r15,%rax), %rbx
addq $0x8, %rbx
movq %r15, 0x8(%rsp)
movl $0x1, %eax
movl %eax, (%rsp)
movq %r12, %rdi
movq %rbx, %rsi
movq 0x80(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq 0x70(%rsp), %r9
callq 0x27e54
xorl 0x20(%rsp), %eax
movl %eax, 0x68(%rsp)
leaq 0x1(%r13), %rcx
cmpq $0x4f, %r13
movq %r12, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq %rbp, 0x38(%rsp)
movq %rcx, 0x40(%rsp)
movq %rbx, 0x28(%rsp)
jbe 0x2364f
movq 0x50(%rsp), %r12
cmpq $0xf0, %r13
movq %r13, %rbx
leaq (%r13,%r13,4), %rax
jbe 0x236ac
shlq $0x4, %rax
leaq (%r12,%rax), %rbp
addq $0x20, %rbp
movq %rbx, %r13
cmpq $0x157, %rbx            # imm = 0x157
movq 0x48(%rsp), %r15
movq 0x20(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rcx, %rbx
movq %rcx, %rdx
jbe 0x23701
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x2346c
movq %r12, %rdi
movq %rbx, %rdx
movq 0x38(%rsp), %rbx
movq %rbx, %rsi
movq 0x18(%rsp), %rcx
movq %rdx, %r8
movq %rbp, %r9
callq 0x2346c
jmp 0x2372f
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
movq %rcx, %rbp
movq 0x50(%rsp), %r12
leaq (%r12,%rax), %r9
addq $0x20, %r9
movq %r9, 0x78(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %rcx, %rdx
movq %rbx, %rcx
movq %rbp, %r8
callq 0x203ac
movq %r12, %rdi
movq 0x38(%rsp), %rbx
movq %rbx, %rsi
movq %rbp, %rdx
movq 0x18(%rsp), %rcx
movq %rbp, %r8
movq 0x78(%rsp), %r9
callq 0x203ac
jmp 0x2372f
shlq $0x4, %rax
movq %rcx, %r13
leaq (%r12,%rax), %rbp
addq $0x20, %rbp
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %r14
movq %r14, %rsi
movq %rcx, %rdx
movq 0x28(%rsp), %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x210f0
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %r13, %rdx
movq 0x18(%rsp), %rcx
movq %r13, %r8
movq %rbp, %r9
movq %rbx, %r13
movq %rsi, %rbx
callq 0x210f0
jmp 0x2372f
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x22f0c
movq %r12, %rdi
movq %rbx, %rdx
movq 0x38(%rsp), %rbx
movq %rbx, %rsi
movq 0x18(%rsp), %rcx
movq %rdx, %r8
movq %rbp, %r9
callq 0x22f0c
movq 0x30(%rsp), %rbp
leaq 0x1(,%r13,2), %rsi
movq 0x90(%rsp), %rax
leal 0x1(%rax), %r9d
movl %eax, (%rsp)
movq %r12, %rdi
movq %rsi, 0x78(%rsp)
movq %r15, %rdx
movl 0x68(%rsp), %ecx
movq %r13, %r8
movl %r9d, 0xb4(%rsp)
callq 0x269f8
movq %r15, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq 0xa0(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x277e4
movl %eax, %ebp
movq 0x80(%rsp), %rdx
cmpl $0x3, %edx
je 0x24268
movq %r15, (%rsp)
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq 0x70(%rsp), %r9
callq 0x277e4
xorl %ebp, %eax
leaq (,%r13,2), %r12
addq %r13, %r12
cmpq $0x4f, %r13
movq %r12, 0x68(%rsp)
movl %eax, 0x88(%rsp)
jbe 0x23864
movq 0x50(%rsp), %r14
leaq (%r14,%r12,8), %r12
addq $0x8, %r12
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
cmpq $0xf0, %r13
jbe 0x238cf
addq %rax, %r14
addq $0x20, %r14
cmpq $0x157, %r13            # imm = 0x157
jbe 0x2391e
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0x2346c
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0x2346c
jmp 0x2395e
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
movq 0x50(%rsp), %r14
leaq (%r14,%rax), %rbp
addq $0x20, %rbp
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x203ac
leaq (%r14,%r12,8), %rdi
addq $0x8, %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x203ac
movq 0x30(%rsp), %rbp
jmp 0x2396d
leaq (%r14,%rax), %rbp
addq $0x20, %rbp
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x210f0
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x210f0
movq 0x30(%rsp), %rbp
jmp 0x23968
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0x22f0c
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0x22f0c
movq 0x30(%rsp), %rbp
movq 0x50(%rsp), %r14
movq 0x68(%rsp), %r12
leaq (%r14,%r12,8), %rdi
addq $0x8, %rdi
movl $0x0, (%rsp)
movq %rdi, 0xc0(%rsp)
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x88(%rsp), %ecx
movq %r13, %r8
xorl %r9d, %r9d
callq 0x269f8
movq %r15, 0x8(%rsp)
movl $0x2, %ebx
movl %ebx, (%rsp)
movq 0x38(%rsp), %r12
movq %r12, %rdi
movq 0x20(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x27c54
movl %eax, %ebp
movq %r15, 0x8(%rsp)
movl %ebx, (%rsp)
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq 0x70(%rsp), %r9
callq 0x27c54
xorl %ebp, %eax
movl %eax, 0x9c(%rsp)
cmpq $0x4f, %r13
jbe 0x23aa5
movq %r13, %rax
shlq $0x4, %rax
leaq (%rax,%rax,2), %r12
leaq (%r14,%r12), %rbp
addq $0x10, %rbp
cmpq $0xf0, %r13
jbe 0x23b07
movq %r12, 0x88(%rsp)
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
leaq (%r14,%rax), %r12
addq $0x20, %r12
cmpq $0x157, %r13            # imm = 0x157
movq 0x28(%rsp), %r14
jbe 0x23b72
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq %r14, %rcx
movq %rbx, %r8
movq %r12, %r9
callq 0x2346c
movq %rbp, %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %r12, %r9
callq 0x2346c
jmp 0x23bb0
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
leaq (%r14,%rax), %rbp
addq $0x20, %rbp
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x203ac
movq %r13, %rax
shlq $0x4, %rax
movq %r12, %rsi
leaq (%rax,%rax,2), %r12
leaq (%r14,%r12), %rdi
addq $0x10, %rdi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x203ac
jmp 0x23b6b
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
movq %rbp, 0x88(%rsp)
leaq (%r14,%rax), %rbp
addq $0x20, %rbp
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq 0x28(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x210f0
movq 0x88(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %rbp, %r9
callq 0x210f0
movq 0x30(%rsp), %rbp
jmp 0x23bc2
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq 0x20(%rsp), %rsi
movq 0x40(%rsp), %rbx
movq %rbx, %rdx
movq %r14, %rcx
movq %rbx, %r8
movq %r12, %r9
callq 0x22f0c
movq %rbp, %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movq %r12, %r9
callq 0x22f0c
movq 0x30(%rsp), %rbp
movq 0x50(%rsp), %r14
movq 0x88(%rsp), %r12
leaq (%r14,%r12), %rdi
addq $0x10, %rdi
movl $0x4, (%rsp)
movl $0x2, %ebx
movq %rdi, 0x88(%rsp)
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x9c(%rsp), %ecx
movq %r13, %r8
movl $0x2, %r9d
callq 0x269f8
movq %r15, 0x8(%rsp)
movl %ebx, (%rsp)
movq 0x38(%rsp), %r12
movq %r12, %rdi
movq 0x20(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x27e54
movl %eax, %ebp
movq %r15, 0x8(%rsp)
movl %ebx, (%rsp)
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq 0x70(%rsp), %r9
callq 0x27e54
xorl %ebp, %eax
movl %eax, 0x9c(%rsp)
cmpq $0x4f, %r13
jbe 0x23cff
movq 0x68(%rsp), %rax
leaq (%r15,%rax,8), %r12
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
cmpq $0xf0, %r13
jbe 0x23d62
movq 0x50(%rsp), %rcx
addq %rcx, %rax
addq $0x20, %rax
cmpq $0x157, %r13            # imm = 0x157
movq 0x20(%rsp), %rbx
movq 0x28(%rsp), %r14
movq %rax, 0xb8(%rsp)
jbe 0x23daf
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq 0x40(%rsp), %rbp
movq %rbp, %rdx
movq %r14, %rcx
movq %rbp, %r8
movq %rax, %r9
callq 0x2346c
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %rbp, %rdx
movq 0x18(%rsp), %rcx
movq %rbp, %r8
movq 0xb8(%rsp), %r9
callq 0x2346c
jmp 0x23df0
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
leaq (%r14,%rax), %rbp
addq $0x20, %rbp
movq %r15, %rdi
movq 0x20(%rsp), %rbx
movq %rbx, %rsi
movq 0x40(%rsp), %r14
movq %r14, %rdx
movq 0x28(%rsp), %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x203ac
movq %r12, %rsi
movq 0x68(%rsp), %r12
leaq (%r15,%r12,8), %rdi
movq %r14, %rdx
movq 0x18(%rsp), %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x203ac
movq 0x30(%rsp), %rbp
jmp 0x23dfa
movq 0x50(%rsp), %rcx
leaq (%rcx,%rax), %r14
addq $0x20, %r14
movq %r15, %rdi
movq 0x20(%rsp), %rbx
movq %rbx, %rsi
movq 0x40(%rsp), %rbp
movq %rbp, %rdx
movq 0x28(%rsp), %rcx
movq %rbp, %r8
movq %r14, %r9
callq 0x210f0
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %rbp, %rdx
movq 0x18(%rsp), %rcx
movq %rbp, %r8
movq %r14, %r9
callq 0x210f0
jmp 0x23df0
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq 0x40(%rsp), %rbp
movq %rbp, %rdx
movq %r14, %rcx
movq %rbp, %r8
movq %rax, %r9
callq 0x22f0c
movq %r12, %rdi
movq 0x38(%rsp), %rsi
movq %rbp, %rdx
movq 0x18(%rsp), %rcx
movq %rbp, %r8
movq 0xb8(%rsp), %r9
callq 0x22f0c
movq 0x30(%rsp), %rbp
movq 0x68(%rsp), %r12
leaq (%r15,%r12,8), %rdi
movl 0xb4(%rsp), %r9d
addl %r9d, %r9d
movq 0x90(%rsp), %rax
addl %eax, %eax
movl %eax, (%rsp)
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x9c(%rsp), %ecx
movq %r13, %r8
callq 0x269f8
movq %r15, (%rsp)
movq 0x38(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movq 0xa0(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x279c8
movl %eax, %ebp
movq %r15, (%rsp)
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq 0x70(%rsp), %r9
callq 0x279c8
xorl %ebp, %eax
cmpq $0x4f, %r13
movl %eax, 0x20(%rsp)
jbe 0x23f5a
cmpq $0xf1, %r13
movq 0x50(%rsp), %rcx
leaq (%r13,%r13,4), %rax
jb 0x23ffe
shlq $0x4, %rax
leaq (%rcx,%rax), %rbp
addq $0x20, %rbp
cmpq $0x157, %r13            # imm = 0x157
movq 0x28(%rsp), %rcx
jbe 0x24085
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq 0x40(%rsp), %r14
movq %r14, %rdx
movq %r14, %r8
movq %rbp, %r9
callq 0x2346c
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
movq %r14, %rdx
movq 0x18(%rsp), %r12
movq %r12, %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x2346c
movl $0x2, (%rsp)
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x20(%rsp), %ecx
movq %r13, %r8
movl $0x1, %r9d
callq 0x269f8
cmpq $0x158, %r13            # imm = 0x158
movq 0x30(%rsp), %r14
movq 0x70(%rsp), %rbp
je 0x24115
movq %r15, %rdi
movq 0x60(%rsp), %rsi
movq %r13, %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq %r12, %r9
callq 0x2346c
jmp 0x24130
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x4, %rax
movq 0x50(%rsp), %rcx
leaq (%rcx,%rax), %rbp
addq $0x20, %rbp
movq %r15, %rdi
movq %rbx, %rsi
movq 0x40(%rsp), %r14
movq %r14, %rdx
movq 0x28(%rsp), %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x203ac
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq 0x18(%rsp), %r12
movq %r12, %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x203ac
movl $0x2, (%rsp)
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x20(%rsp), %ecx
movq %r13, %r8
movl $0x1, %r9d
callq 0x269f8
movq 0x30(%rsp), %r14
movq 0x70(%rsp), %rbp
movq %r15, %rdi
movq 0x60(%rsp), %rsi
movq %r13, %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq %r12, %r9
callq 0x203ac
jmp 0x24130
shlq $0x4, %rax
leaq (%rcx,%rax), %rbp
addq $0x20, %rbp
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq 0x40(%rsp), %r14
movq %r14, %rdx
movq 0x28(%rsp), %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x210f0
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
movq %r14, %rdx
movq 0x18(%rsp), %rcx
movq %r14, %r8
movq %rbp, %r9
movq %rcx, %r12
callq 0x210f0
movl $0x2, (%rsp)
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x20(%rsp), %ecx
movq %r13, %r8
movl $0x1, %r9d
callq 0x269f8
cmpq $0x50, %r13
movq 0x30(%rsp), %r14
movq 0x70(%rsp), %rbp
je 0x23fde
jmp 0x240f8
movq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq 0x40(%rsp), %r14
movq %r14, %rdx
movq %r14, %r8
movq %rbp, %r9
callq 0x22f0c
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
movq %r14, %rdx
movq 0x18(%rsp), %r12
movq %r12, %rcx
movq %r14, %r8
movq %rbp, %r9
callq 0x22f0c
movl $0x2, (%rsp)
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movq %r15, %rdx
movl 0x20(%rsp), %ecx
movq %r13, %r8
movl $0x1, %r9d
callq 0x269f8
cmpq $0xf1, %r13
movq 0x30(%rsp), %r14
movq 0x70(%rsp), %rbp
jne 0x24115
movq %r15, %rdi
movq 0x60(%rsp), %rsi
movq %r13, %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq %r12, %r9
callq 0x210f0
jmp 0x24130
movq %r15, %rdi
movq 0x60(%rsp), %rsi
movq %r13, %rdx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq %r12, %r9
callq 0x22f0c
cmpb $0x0, 0xa8(%rsp)
movq 0x50(%rsp), %rbx
je 0x2428c
addq %r14, %rbp
movq %r12, 0x8(%rsp)
movq 0x90(%rsp), %rax
movl %eax, (%rsp)
movq %r15, %rdi
movq 0x88(%rsp), %rsi
movq 0xc0(%rsp), %rdx
movq %rbx, %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x28b60
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
imulq $0x5a, %r9, %rdi
imulq $0x77, %r8, %r10
movl $0x6, %esi
movl $0x7, %ecx
cmpq %r10, %rdi
jl 0x241f1
imulq $0x55, %r9, %rdi
movq %r8, %r10
shlq $0x7, %r10
subq %rdx, %r10
movl $0x5, %esi
cmpq %r10, %rdi
jl 0x241f1
leaq (%r9,%r9), %rcx
leaq (%rcx,%rcx,8), %rdx
movq %r8, %rcx
shlq $0x5, %rcx
leaq (%rcx,%r8,2), %rdi
movl $0x8, %ecx
cmpq %rdi, %rdx
jl 0x241f1
leaq (,%r8,4), %rcx
leaq (%rcx,%rcx,8), %rdx
xorl %ecx, %ecx
cmpq %rdx, %rax
setl %cl
xorl $0x9, %ecx
movl $0x4, %esi
movl %esi, %edi
xorl %ecx, %edi
movl %esi, %edx
movq %rdx, %rax
imulq %r9, %rax
movl %ecx, %r10d
movq %r10, %r11
imulq %r8, %r11
cmpq %r11, %rax
movq %r9, %rax
cmovlq %r8, %rax
cmovlq %rdx, %r10
decq %rax
xorl %edx, %edx
divq %r10
movq %rax, %r13
incq %r13
leal -0x1(%rcx), %eax
leal -0x1(%rsi), %r10d
movq %rax, %rdx
imulq %r13, %rax
subq %rax, %r9
movq %r10, %rax
imulq %r13, %rax
subq %rax, %r8
testb $0x1, %dil
movq %r10, 0x80(%rsp)
jne 0x242c8
movb $0x1, %al
movq %rax, 0xa8(%rsp)
movq $0x0, 0x90(%rsp)
jmp 0x23506
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r13, %rcx
movq 0x70(%rsp), %r8
movq %r15, %r9
callq 0x27544
jmp 0x237bf
imulq $0x58, %r13, %rdi
addq %r15, %rdi
cmpq %rbp, %r14
jle 0x242f6
movl 0xa0(%rsp), %eax
imulq %r13, %rax
movq 0x60(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
movl 0x80(%rsp), %eax
imulq %r13, %rax
movq 0x58(%rsp), %rcx
leaq (%rcx,%rax,8), %rcx
movq %r14, %rdx
movq %rbp, %r8
jmp 0x24324
testq %r9, %r9
jle 0x2432e
movq %r8, %r12
testq %r8, %r8
jle 0x24351
movl $0x1, %eax
movq %rax, 0x90(%rsp)
movq $0x0, 0xa8(%rsp)
movq %r12, %r8
jmp 0x23506
movl 0x80(%rsp), %eax
imulq %r13, %rax
movq 0x58(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
movl 0xa0(%rsp), %eax
imulq %r13, %rax
movq 0x60(%rsp), %rcx
leaq (%rcx,%rax,8), %rcx
movq %rbp, %rdx
movq %r14, %r8
callq 0x1c838
jmp 0x24143
movb $0x1, %al
movq %rax, 0xa8(%rsp)
movq $0x0, 0x90(%rsp)
addl $-0x2, %ecx
addq %r13, %r9
movl %ecx, %edx
jmp 0x23506
movb $0x1, %al
movq %rax, 0xa8(%rsp)
movq $0x0, 0x90(%rsp)
addl $-0x2, %esi
movq %r12, %r8
addq %r13, %r8
movq %rsi, 0x80(%rsp)
jmp 0x23506
nopl (%rax)