// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../source/primordial.c
// Function: primordial_analytic_spectrum_init
int primordial_analytic_spectrum_init(
                                      struct perturbations   * ppt,
                                      struct primordial * ppm
                                      ) {

  int index_md,index_ic1,index_ic2;
  int index_ic1_ic2,index_ic1_ic1,index_ic2_ic2;
  double one_amplitude=0.;
  double one_tilt=0.;
  double one_running=0.;
  double one_correlation=0.;

  class_alloc(ppm->amplitude,
              ppm->md_size*sizeof(double *),
              ppm->error_message);

  class_alloc(ppm->tilt,
              ppm->md_size*sizeof(double *),
              ppm->error_message);

  class_alloc(ppm->running,
              ppm->md_size*sizeof(double *),
              ppm->error_message);

  for (index_md = 0; index_md < ppm->md_size; index_md++) {

    class_alloc(ppm->amplitude[index_md],
                ppm->ic_ic_size[index_md]*sizeof(double),
                ppm->error_message);

    class_alloc(ppm->tilt[index_md],
                ppm->ic_ic_size[index_md]*sizeof(double),
                ppm->error_message);

    class_alloc(ppm->running[index_md],
                ppm->ic_ic_size[index_md]*sizeof(double),
                ppm->error_message);

  }

  for (index_md = 0; index_md < ppm->md_size; index_md++) {

    /* diagonal coefficients */

    for (index_ic1 = 0; index_ic1 < ppm->ic_size[index_md]; index_ic1++) {

      if (_scalars_) {

        if ((ppt->has_ad == _TRUE_) && (index_ic1 == ppt->index_ic_ad)) {
          one_amplitude = ppm->A_s;
          one_tilt = ppm->n_s;
          one_running = ppm->alpha_s;
        }

        if ((ppt->has_bi == _TRUE_) && (index_ic1 == ppt->index_ic_bi)) {
          one_amplitude = ppm->A_s*ppm->f_bi*ppm->f_bi;
          one_tilt = ppm->n_bi;
          one_running = ppm->alpha_bi;
        }

        if ((ppt->has_cdi == _TRUE_) && (index_ic1 == ppt->index_ic_cdi)) {
          one_amplitude = ppm->A_s*ppm->f_cdi*ppm->f_cdi;
          one_tilt = ppm->n_cdi;
          one_running = ppm->alpha_cdi;
        }

        if ((ppt->has_nid == _TRUE_) && (index_ic1 == ppt->index_ic_nid)) {
          one_amplitude = ppm->A_s*ppm->f_nid*ppm->f_nid;
          one_tilt = ppm->n_nid;
          one_running = ppm->alpha_nid;
        }

        if ((ppt->has_niv == _TRUE_) && (index_ic1 == ppt->index_ic_niv)) {
          one_amplitude = ppm->A_s*ppm->f_niv*ppm->f_niv;
          one_tilt = ppm->n_niv;
          one_running = ppm->alpha_niv;
        }
      }

      if (_tensors_) {

        if (index_ic1 == ppt->index_ic_ten) {
          one_amplitude = ppm->A_s*ppm->r;
          one_tilt = ppm->n_t+1.; /* +1 to match usual definition of n_t (equivalent to n_s-1) */
          one_running = ppm->alpha_t;
        }
      }

      class_test(one_amplitude <= 0.,
                 ppm->error_message,
                 "inconsistent input for primordial amplitude: %g for index_md=%d, index_ic=%d\n",
                 one_amplitude,index_md,index_ic1);

      index_ic1_ic2 = index_symmetric_matrix(index_ic1,index_ic1,ppm->ic_size[index_md]);

      ppm->is_non_zero[index_md][index_ic1_ic2] = _TRUE_;
      ppm->amplitude[index_md][index_ic1_ic2] = one_amplitude;
      ppm->tilt[index_md][index_ic1_ic2] = one_tilt;
      ppm->running[index_md][index_ic1_ic2] = one_running;
    }

    /* non-diagonal coefficients */

    for (index_ic1 = 0; index_ic1 < ppm->ic_size[index_md]; index_ic1++) {
      for (index_ic2 = index_ic1+1; index_ic2 < ppm->ic_size[index_md]; index_ic2++) {

        if (_scalars_) {

          if ((ppt->has_ad == _TRUE_) && (ppt->has_bi == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_ad) && (index_ic2 == ppt->index_ic_bi)) ||
               ((index_ic1 == ppt->index_ic_ad) && (index_ic1 == ppt->index_ic_bi)))) {
            one_correlation = ppm->c_ad_bi;
            one_tilt = ppm->n_ad_bi;
            one_running = ppm->alpha_ad_bi;
          }

          if ((ppt->has_ad == _TRUE_) && (ppt->has_cdi == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_ad) && (index_ic2 == ppt->index_ic_cdi)) ||
               ((index_ic2 == ppt->index_ic_ad) && (index_ic1 == ppt->index_ic_cdi)))) {
            one_correlation = ppm->c_ad_cdi;
            one_tilt = ppm->n_ad_cdi;
            one_running = ppm->alpha_ad_cdi;
          }

          if ((ppt->has_ad == _TRUE_) && (ppt->has_nid == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_ad) && (index_ic2 == ppt->index_ic_nid)) ||
               ((index_ic2 == ppt->index_ic_ad) && (index_ic1 == ppt->index_ic_nid)))) {
            one_correlation = ppm->c_ad_nid;
            one_tilt = ppm->n_ad_nid;
            one_running = ppm->alpha_ad_nid;
          }

          if ((ppt->has_ad == _TRUE_) && (ppt->has_niv == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_ad) && (index_ic2 == ppt->index_ic_niv)) ||
               ((index_ic2 == ppt->index_ic_ad) && (index_ic1 == ppt->index_ic_niv)))) {
            one_correlation = ppm->c_ad_niv;
            one_tilt = ppm->n_ad_niv;
            one_running = ppm->alpha_ad_niv;
          }

          if ((ppt->has_bi == _TRUE_) && (ppt->has_cdi == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_bi) && (index_ic2 == ppt->index_ic_cdi)) ||
               ((index_ic2 == ppt->index_ic_bi) && (index_ic1 == ppt->index_ic_cdi)))) {
            one_correlation = ppm->c_bi_cdi;
            one_tilt = ppm->n_bi_cdi;
            one_running = ppm->alpha_bi_cdi;
          }

          if ((ppt->has_bi == _TRUE_) && (ppt->has_nid == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_bi) && (index_ic2 == ppt->index_ic_nid)) ||
               ((index_ic2 == ppt->index_ic_bi) && (index_ic1 == ppt->index_ic_nid)))) {
            one_correlation = ppm->c_bi_nid;
            one_tilt = ppm->n_bi_nid;
            one_running = ppm->alpha_bi_nid;
          }

          if ((ppt->has_bi == _TRUE_) && (ppt->has_niv == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_bi) && (index_ic2 == ppt->index_ic_niv)) ||
               ((index_ic2 == ppt->index_ic_bi) && (index_ic1 == ppt->index_ic_niv)))) {
            one_correlation = ppm->c_bi_niv;
            one_tilt = ppm->n_bi_niv;
            one_running = ppm->alpha_bi_niv;
          }

          if ((ppt->has_cdi == _TRUE_) && (ppt->has_nid == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_cdi) && (index_ic2 == ppt->index_ic_nid)) ||
               ((index_ic2 == ppt->index_ic_cdi) && (index_ic1 == ppt->index_ic_nid)))) {
            one_correlation = ppm->c_cdi_nid;
            one_tilt = ppm->n_cdi_nid;
            one_running = ppm->alpha_cdi_nid;
          }

          if ((ppt->has_cdi == _TRUE_) && (ppt->has_niv == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_cdi) && (index_ic2 == ppt->index_ic_niv)) ||
               ((index_ic2 == ppt->index_ic_cdi) && (index_ic1 == ppt->index_ic_niv)))) {
            one_correlation = ppm->c_cdi_niv;
            one_tilt = ppm->n_cdi_niv;
            one_running = ppm->alpha_cdi_niv;
          }

          if ((ppt->has_nid == _TRUE_) && (ppt->has_niv == _TRUE_) &&
              (((index_ic1 == ppt->index_ic_nid) && (index_ic2 == ppt->index_ic_niv)) ||
               ((index_ic2 == ppt->index_ic_nid) && (index_ic1 == ppt->index_ic_niv)))) {
            one_correlation = ppm->c_nid_niv;
            one_tilt = ppm->n_nid_niv;
            one_running = ppm->alpha_nid_niv;
          }

        }

        class_test((one_correlation < -1) || (one_correlation > 1),
                   ppm->error_message,
                   "inconsistent input for isocurvature cross-correlation\n");

        index_ic1_ic2 = index_symmetric_matrix(index_ic1,index_ic2,ppm->ic_size[index_md]);
        index_ic1_ic1 = index_symmetric_matrix(index_ic1,index_ic1,ppm->ic_size[index_md]);
        index_ic2_ic2 = index_symmetric_matrix(index_ic2,index_ic2,ppm->ic_size[index_md]);

        if (one_correlation == 0.) {
          ppm->is_non_zero[index_md][index_ic1_ic2] = _FALSE_;
          ppm->amplitude[index_md][index_ic1_ic2] = 0.;
          ppm->tilt[index_md][index_ic1_ic2] = 0.;
          ppm->running[index_md][index_ic1_ic2] = 0.;
        }
        else {
          ppm->is_non_zero[index_md][index_ic1_ic2] = _TRUE_;
          ppm->amplitude[index_md][index_ic1_ic2] =
            sqrt(ppm->amplitude[index_md][index_ic1_ic1]*
                 ppm->amplitude[index_md][index_ic2_ic2])*
            one_correlation;
          ppm->tilt[index_md][index_ic1_ic2] =
            0.5*(ppm->tilt[index_md][index_ic1_ic1]
                 +ppm->tilt[index_md][index_ic2_ic2])
            + one_tilt;
          ppm->running[index_md][index_ic1_ic2] =
            0.5*(ppm->running[index_md][index_ic1_ic1]
                 +ppm->running[index_md][index_ic2_ic2])
            + one_running;
        }
      }
    }
  }

  return _SUCCESS_;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1048, %rsp           # imm = 0x1048
movq %rsi, %rbx
movq %rdi, 0x8(%rsp)
movslq 0x278(%rsi), %r13
movq %r13, %r15
shlq $0x3, %r15
movq %r15, %rdi
callq 0x8490
movq %rax, 0x2b8(%rbx)
testq %rax, %rax
je 0x91601
movq %r15, %rdi
callq 0x8490
movq %rax, 0x2c0(%rbx)
testq %rax, %rax
je 0x91648
movq %r15, %rdi
callq 0x8490
movq %rax, 0x2c8(%rbx)
testq %rax, %rax
je 0x9168f
xorl %r15d, %r15d
testl %r13d, %r13d
movl $0x0, %r12d
cmovgl %r13d, %r12d
shlq $0x2, %r12
cmpq %r15, %r12
je 0x916d6
movq 0x288(%rbx), %rax
movslq (%rax,%r15), %rdi
shlq $0x3, %rdi
callq 0x8490
movq 0x2b8(%rbx), %rcx
movq %rax, (%rcx,%r15,2)
movq 0x288(%rbx), %rax
movq 0x2b8(%rbx), %rcx
cmpq $0x0, (%rcx,%r15,2)
movslq (%rax,%r15), %rcx
je 0x91d8a
shlq $0x3, %rcx
movq %rcx, %rdi
callq 0x8490
movq 0x2c0(%rbx), %rcx
movq %rax, (%rcx,%r15,2)
movq 0x288(%rbx), %rax
movq 0x2c0(%rbx), %rcx
cmpq $0x0, (%rcx,%r15,2)
movslq (%rax,%r15), %rcx
je 0x91dc9
shlq $0x3, %rcx
movq %rcx, %rdi
callq 0x8490
movq 0x2c8(%rbx), %rcx
movq %rax, (%rcx,%r15,2)
movq 0x2c8(%rbx), %rax
leaq 0x4(%r15), %rcx
cmpq $0x0, (%rax,%r15,2)
movq %rcx, %r15
jne 0x9150b
movq 0x288(%rbx), %rax
movl -0x4(%rax,%rcx), %ecx
shll $0x3, %ecx
leaq 0x53a3b(%rip), %rsi     # 0xe5004
leaq 0x7ebbe(%rip), %rdx     # 0x11018e
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x53a47(%rip), %rsi     # 0xe5034
leaq 0x7eb34(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x306, %ecx            # imm = 0x306
jmp 0x91e06
leal (,%r13,8), %ecx
leaq 0x539f4(%rip), %rsi     # 0xe5004
leaq 0x7eb02(%rip), %rdx     # 0x110119
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x53a00(%rip), %rsi     # 0xe5034
leaq 0x7eaed(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x2f0, %ecx            # imm = 0x2F0
jmp 0x91e06
leal (,%r13,8), %ecx
leaq 0x539ad(%rip), %rsi     # 0xe5004
leaq 0x7eaec(%rip), %rdx     # 0x11014a
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x539b9(%rip), %rsi     # 0xe5034
leaq 0x7eaa6(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x2f4, %ecx            # imm = 0x2F4
jmp 0x91e06
leal (,%r13,8), %ecx
leaq 0x53966(%rip), %rsi     # 0xe5004
leaq 0x7eaaf(%rip), %rdx     # 0x110154
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x53972(%rip), %rsi     # 0xe5034
leaq 0x7ea5f(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x2f8, %ecx            # imm = 0x2F8
jmp 0x91e06
xorpd %xmm8, %xmm8
xorpd %xmm2, %xmm2
xorl %esi, %esi
movapd 0x53b57(%rip), %xmm3    # 0xe5240
movsd 0x53b6f(%rip), %xmm4    # 0xe5260
movsd 0x545b7(%rip), %xmm5    # 0xe5cb0
xorl %edx, %edx
xorpd %xmm7, %xmm7
xorpd %xmm6, %xmm6
movslq %r13d, %rcx
cmpq %rcx, %rdx
jge 0x91e13
movq 0x280(%rbx), %r12
movl (%r12,%rdx,4), %esi
xorl %edi, %edi
testl %esi, %esi
movl $0x0, %r8d
cmovgl %esi, %r8d
leal 0x1(%rsi), %r9d
pushq $0x2
popq %r10
xorl %r11d, %r11d
xorl %ecx, %ecx
movq 0x8(%rsp), %r13
cmpl %ecx, %r8d
je 0x918c9
cmpw $0x1, 0xe(%r13)
jne 0x9182b
movl 0x848(%r13), %r14d
cmpq %r14, %rdx
jne 0x9182b
cmpw $0x1, 0x14(%r13)
jne 0x9177b
cmpl 0x858(%r13), %ecx
jne 0x9177b
movsd 0x20(%rbx), %xmm6
movupd 0x28(%rbx), %xmm8
cmpw $0x1, 0x16(%r13)
jne 0x917a4
cmpl 0x860(%r13), %ecx
jne 0x917a4
movsd 0x58(%rbx), %xmm0
movsd 0x20(%rbx), %xmm6
mulsd %xmm0, %xmm6
mulsd %xmm0, %xmm6
movupd 0x60(%rbx), %xmm8
cmpw $0x1, 0x18(%r13)
jne 0x917cd
cmpl 0x85c(%r13), %ecx
jne 0x917cd
movsd 0x70(%rbx), %xmm0
movsd 0x20(%rbx), %xmm6
mulsd %xmm0, %xmm6
mulsd %xmm0, %xmm6
movupd 0x78(%rbx), %xmm8
cmpw $0x1, 0x1a(%r13)
jne 0x917fc
cmpl 0x864(%r13), %ecx
jne 0x917fc
movsd 0x88(%rbx), %xmm0
movsd 0x20(%rbx), %xmm6
mulsd %xmm0, %xmm6
mulsd %xmm0, %xmm6
movupd 0x90(%rbx), %xmm8
cmpw $0x1, 0x1c(%r13)
jne 0x9182b
cmpl 0x868(%r13), %ecx
jne 0x9182b
movsd 0xa0(%rbx), %xmm0
movsd 0x20(%rbx), %xmm6
mulsd %xmm0, %xmm6
mulsd %xmm0, %xmm6
movupd 0xa8(%rbx), %xmm8
cmpw $0x1, 0x12(%r13)
jne 0x91863
movl 0x84c(%r13), %r14d
cmpq %r14, %rdx
jne 0x91863
cmpl 0x86c(%r13), %ecx
jne 0x91863
movsd 0x20(%rbx), %xmm6
mulsd 0x40(%rbx), %xmm6
movsd 0x48(%rbx), %xmm8
addsd %xmm4, %xmm8
movhpd 0x50(%rbx), %xmm8       # xmm8 = xmm8[0],mem[0]
ucomisd %xmm6, %xmm2
jae 0x91e27
movl %edi, %ebp
shrl %ebp
movl %r11d, %r14d
subl %ebp, %r14d
incl %ecx
movq 0x2b0(%rbx), %r15
movq (%r15,%rdx,8), %r15
movslq %r14d, %r14
movw $0x1, (%r15,%r14,2)
movq 0x2b8(%rbx), %r15
movq (%r15,%rdx,8), %r15
movsd %xmm6, (%r15,%r14,8)
movq 0x2c0(%rbx), %r15
movq (%r15,%rdx,8), %r15
movlpd %xmm8, (%r15,%r14,8)
movq (%rax,%rdx,8), %r15
movhpd %xmm8, (%r15,%r14,8)
addl %r9d, %r11d
addl %r10d, %edi
addl $0x2, %r10d
jmp 0x9173a
unpcklpd %xmm8, %xmm7            # xmm7 = xmm7[0],xmm8[0]
unpckhpd %xmm8, %xmm8            # xmm8 = xmm8[1,1]
xorl %r10d, %r10d
movsd %xmm6, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
cmpl %esi, %r10d
jge 0x91d6a
leal 0x1(%r10), %ecx
movl %ecx, %r11d
imull %r10d, %r11d
shrl %r11d
movl %ecx, (%rsp)
movl %r11d, 0x4(%rsp)
cmpl %esi, %ecx
jge 0x91d5f
cmpw $0x1, 0xe(%r13)
jne 0x91bb2
movl 0x848(%r13), %edi
cmpq %rdi, %rdx
jne 0x91bb2
movzwl 0x16(%r13), %r8d
cmpw $0x1, 0x14(%r13)
jne 0x91a28
cmpw $0x1, %r8w
jne 0x9196f
cmpl 0x858(%r13), %r10d
jne 0x9196f
movl 0x860(%r13), %edi
cmpl %edi, %ecx
setne %r9b
cmpl %edi, %r10d
setne %dil
testb %dil, %r9b
jne 0x9196f
movupd 0xb8(%rbx), %xmm7
movsd 0xc8(%rbx), %xmm8
movzwl 0x18(%r13), %edi
cmpw $0x1, %di
jne 0x919ae
movl 0x858(%r13), %r9d
cmpl %r9d, %r10d
jne 0x9198f
cmpl 0x85c(%r13), %ecx
je 0x9199d
cmpl %r9d, %ecx
jne 0x919ae
cmpl 0x85c(%r13), %r10d
jne 0x919ae
movupd 0xd0(%rbx), %xmm7
movsd 0xe0(%rbx), %xmm8
cmpw $0x1, 0x1a(%r13)
jne 0x919ea
movl 0x858(%r13), %r9d
cmpl %r9d, %r10d
jne 0x919cb
cmpl 0x864(%r13), %ecx
je 0x919d9
cmpl %r9d, %ecx
jne 0x919ea
cmpl 0x864(%r13), %r10d
jne 0x919ea
movupd 0xe8(%rbx), %xmm7
movsd 0xf8(%rbx), %xmm8
cmpw $0x1, 0x1c(%r13)
jne 0x91a2d
movl 0x858(%r13), %r9d
cmpl %r9d, %r10d
jne 0x91a07
cmpl 0x868(%r13), %ecx
je 0x91a15
cmpl %r9d, %ecx
jne 0x91a2d
cmpl 0x868(%r13), %r10d
jne 0x91a2d
movupd 0x100(%rbx), %xmm7
movsd 0x110(%rbx), %xmm8
jmp 0x91a2d
movzwl 0x18(%r13), %edi
cmpw $0x1, %r8w
jne 0x91af0
cmpw $0x1, %di
jne 0x91a72
movl 0x860(%r13), %r8d
cmpl %r8d, %r10d
jne 0x91a53
cmpl 0x85c(%r13), %ecx
je 0x91a61
cmpl %r8d, %ecx
jne 0x91a72
cmpl 0x85c(%r13), %r10d
jne 0x91a72
movupd 0x118(%rbx), %xmm7
movsd 0x128(%rbx), %xmm8
movzwl 0x1a(%r13), %r8d
cmpw $0x1, %r8w
jne 0x91ab2
movl 0x860(%r13), %r9d
cmpl %r9d, %r10d
jne 0x91a93
cmpl 0x864(%r13), %ecx
je 0x91aa1
cmpl %r9d, %ecx
jne 0x91ab2
cmpl 0x864(%r13), %r10d
jne 0x91ab2
movupd 0x130(%rbx), %xmm7
movsd 0x140(%rbx), %xmm8
cmpw $0x1, 0x1c(%r13)
jne 0x91af5
movl 0x860(%r13), %r9d
cmpl %r9d, %r10d
jne 0x91acf
cmpl 0x868(%r13), %ecx
je 0x91add
cmpl %r9d, %ecx
jne 0x91af5
cmpl 0x868(%r13), %r10d
jne 0x91af5
movupd 0x148(%rbx), %xmm7
movsd 0x158(%rbx), %xmm8
jmp 0x91af5
movzwl 0x1a(%r13), %r8d
cmpw $0x1, %di
jne 0x91b70
cmpw $0x1, %r8w
jne 0x91b35
movl 0x85c(%r13), %edi
cmpl %edi, %r10d
jne 0x91b17
cmpl 0x864(%r13), %ecx
je 0x91b24
cmpl %edi, %ecx
jne 0x91b35
cmpl 0x864(%r13), %r10d
jne 0x91b35
movupd 0x160(%rbx), %xmm7
movsd 0x170(%rbx), %xmm8
cmpw $0x1, 0x1c(%r13)
jne 0x91b70
movl 0x85c(%r13), %edi
cmpl %edi, %r10d
jne 0x91b52
cmpl 0x868(%r13), %ecx
je 0x91b5f
cmpl %edi, %ecx
jne 0x91b70
cmpl 0x868(%r13), %r10d
jne 0x91b70
movupd 0x178(%rbx), %xmm7
movsd 0x188(%rbx), %xmm8
cmpw $0x1, %r8w
jne 0x91bb2
cmpw $0x1, 0x1c(%r13)
jne 0x91bb2
movl 0x864(%r13), %edi
cmpl %edi, %r10d
jne 0x91b94
cmpl 0x868(%r13), %ecx
je 0x91ba1
cmpl %edi, %ecx
jne 0x91bb2
cmpl 0x868(%r13), %r10d
jne 0x91bb2
movupd 0x190(%rbx), %xmm7
movsd 0x1a0(%rbx), %xmm8
movapd %xmm7, %xmm0
andpd %xmm3, %xmm0
ucomisd %xmm4, %xmm0
ja 0x91e83
cmpl %ecx, %r10d
jbe 0x91be3
movl %esi, %edi
imull %ecx, %edi
addl %r10d, %edi
leal 0x1(%rcx), %ebp
movl %ebp, %r8d
imull %ecx, %r8d
shrl %r8d
subl %r8d, %edi
jmp 0x91bf5
movl %esi, %r8d
imull %r10d, %r8d
movl %ecx, %edi
subl %r11d, %edi
addl %r8d, %edi
leal 0x1(%rcx), %ebp
ucomisd %xmm2, %xmm7
movslq %edi, %r15
jne 0x91c3f
jp 0x91c3f
movq 0x2b0(%rbx), %rcx
movq (%rcx,%rdx,8), %rcx
andw $0x0, (%rcx,%r15,2)
movq 0x2b8(%rbx), %rcx
movq (%rcx,%rdx,8), %rcx
andq $0x0, (%rcx,%r15,8)
movq 0x2c0(%rbx), %rcx
movq (%rcx,%rdx,8), %rcx
andq $0x0, (%rcx,%r15,8)
movq (%rax,%rdx,8), %rcx
andq $0x0, (%rcx,%r15,8)
jmp 0x91d54
incl %esi
movl %esi, %eax
imull %ecx, %eax
imull %ebp, %ecx
shrl %ecx
subl %ecx, %eax
imull %r10d, %esi
subl %r11d, %esi
movq 0x2b0(%rbx), %rcx
movq (%rcx,%rdx,8), %rcx
movw $0x1, (%rcx,%r15,2)
movq 0x2b8(%rbx), %rcx
movq (%rcx,%rdx,8), %rcx
movslq %esi, %r13
movsd (%rcx,%r13,8), %xmm0
movslq %eax, %r14
mulsd (%rcx,%r14,8), %xmm0
ucomisd %xmm2, %xmm0
jb 0x91c8f
sqrtsd %xmm0, %xmm0
jmp 0x91ce0
movapd %xmm7, 0x30(%rsp)
movapd %xmm8, 0x20(%rsp)
movq %r10, %r12
callq 0x82d0
movl 0x4(%rsp), %r11d
movq %r12, %r10
movq 0x10(%rsp), %rdx
movapd 0x20(%rsp), %xmm8
movapd 0x30(%rsp), %xmm7
movsd 0x18(%rsp), %xmm6
movsd 0x53fe4(%rip), %xmm5    # 0xe5cb0
movsd 0x5358c(%rip), %xmm4    # 0xe5260
movapd 0x53564(%rip), %xmm3    # 0xe5240
xorpd %xmm2, %xmm2
mulsd %xmm7, %xmm0
movq 0x2b8(%rbx), %rax
movq (%rax,%rdx,8), %rax
movsd %xmm0, (%rax,%r15,8)
movq 0x2c0(%rbx), %rax
movq (%rax,%rdx,8), %rax
movsd (%rax,%r13,8), %xmm0
addsd (%rax,%r14,8), %xmm0
movapd %xmm7, %xmm1
unpckhpd %xmm7, %xmm1            # xmm1 = xmm1[1],xmm7[1]
mulsd %xmm5, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%r15,8)
movq 0x2c8(%rbx), %rax
movq (%rax,%rdx,8), %rcx
movsd (%rcx,%r13,8), %xmm0
addsd (%rcx,%r14,8), %xmm0
mulsd %xmm5, %xmm0
addsd %xmm8, %xmm0
movsd %xmm0, (%rcx,%r15,8)
movq 0x280(%rbx), %r12
movq 0x8(%rsp), %r13
movl (%r12,%rdx,4), %esi
movl %ebp, %ecx
jmp 0x91900
movl (%rsp), %ecx
movl %ecx, %r10d
jmp 0x918e1
incq %rdx
movl 0x278(%rbx), %r13d
movapd %xmm7, %xmm0
shufpd $0x1, %xmm8, %xmm0      # xmm0 = xmm0[1],xmm8[0]
movapd %xmm0, %xmm8
xorl %esi, %esi
jmp 0x91703
shll $0x3, %ecx
leaq 0x53270(%rip), %rsi     # 0xe5004
leaq 0x7e3c6(%rip), %rdx     # 0x110161
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x5327c(%rip), %rsi     # 0xe5034
leaq 0x7e369(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x2fe, %ecx            # imm = 0x2FE
jmp 0x91e06
shll $0x3, %ecx
leaq 0x53231(%rip), %rsi     # 0xe5004
leaq 0x7e3a0(%rip), %rdx     # 0x11017a
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x5323d(%rip), %rsi     # 0xe5034
leaq 0x7e32a(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x302, %ecx            # imm = 0x302
movq %r14, %r8
xorl %eax, %eax
callq 0x2e014
pushq $0x1
popq %rsi
movl %esi, %eax
addq $0x1048, %rsp           # imm = 0x1048
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7e377(%rip), %rsi     # 0x1101a5
leaq 0x40(%rsp), %r14
movq %r14, %rdi
movapd %xmm6, %xmm0
movb $0x1, %al
callq 0x2e014
leaq 0x5323a(%rip), %rsi     # 0xe5082
leaq 0x7e3a4(%rip), %rdx     # 0x1101f3
leaq 0x840(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x531c2(%rip), %rsi     # 0xe5034
leaq 0x7e2af(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x33d, %ecx            # imm = 0x33D
jmp 0x91ed9
leaq 0x7e37d(%rip), %rsi     # 0x110207
leaq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e014
leaq 0x531e2(%rip), %rsi     # 0xe5082
leaq 0x7e397(%rip), %rdx     # 0x11023e
leaq 0x840(%rsp), %r15
movq %r15, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x2e014
addq $0x32a, %rbx            # imm = 0x32A
leaq 0x5316a(%rip), %rsi     # 0xe5034
leaq 0x7e257(%rip), %rdx     # 0x110128
movq %rbx, %rdi
movl $0x3a2, %ecx            # imm = 0x3A2
movq %r15, %r8
jmp 0x91e09