// File: /workspace/github_c_makefile_star2_O2/radforddc[P]icpc_siggen/icpc_fieldgen_opt.c
// Function: wp_calc
int wp_calc(MJD_Siggen_Setup *setup, MJD_Siggen_Setup *old_setup) {
  int    i, j, pinched_off = 0;
  float  grid = setup->xtal_grid;
  int    L  = lrint(setup->xtal_length/grid)+3;
  int    R  = lrint(setup->xtal_radius/grid)+3;

  if (!old_setup) {
    printf("\n\n ---- starting WP calculation --- \n");
    for (i = 1; i < L; i++) {
      for (j = 1; j < R; j++) {
        setup->v[0][i][j] = setup->v[1][i][j] = 0.01;
      }
    }
  }
  if (old_setup) interpolate(setup, old_setup);

  /* set boundary voltages */
  for (i = 1; i < L; i++) {
    for (j = 1; j < R; j++) {
      if (setup->point_type[i][j] == HVC)
        setup->v[0][i][j] = setup->v[1][i][j] = 0.0;
      else if (setup->point_type[i][j] == PC)
        setup->v[0][i][j] = setup->v[1][i][j] = 1.0;
      else if (setup->undepleted[j][i] == '*') {
        setup->point_type[i][j] = PC;
        setup->v[0][i][j] = setup->v[1][i][j] = 1.0;
      } else if (setup->undepleted[j][i] == 'B') {
        setup->point_type[i][j] = PINCHOFF;
        pinched_off = 1;
      }
    }
  }

  if (pinched_off) wp_relax_undep(setup);
  else do_relax(setup, 0);

  if (setup->write_WP) write_wp(setup);

  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movss 0x4(%rdi), %xmm0
movss 0x54(%rdi), %xmm1
movss %xmm1, (%rsp)
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r15
addl $0x3, %r15d
movss 0x8(%rbx), %xmm0
divss (%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r12
addl $0x3, %r12d
testq %r14, %r14
je 0x4310
movslq %r12d, %r12
movslq %r15d, %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4f81
pushq $0x1
popq %rax
xorl %ecx, %ecx
movabsq $0x3ff0000000000000, %rdx # imm = 0x3FF0000000000000
pushq $0x1
popq %rsi
cmpq %r15, %rax
jge 0x3be5
xorl %edi, %edi
movq %rdi, %r8
incq %rdi
cmpq %r12, %rdi
jge 0x3bdd
movq 0x430(%rbx), %r9
movq (%r9,%rax,8), %r9
movzbl 0x1(%r9,%r8), %r10d
testl %r10d, %r10d
je 0x3bab
cmpl $0x1, %r10d
jne 0x3b88
movq 0x3e8(%rbx), %r9
movq (%r9,%rax,8), %r9
andq $0x0, 0x8(%r9,%r8,8)
movq 0x3e0(%rbx), %r9
movq (%r9,%rax,8), %r9
andq $0x0, 0x8(%r9,%r8,8)
jmp 0x3b39
movq 0x438(%rbx), %r10
movq 0x8(%r10,%r8,8), %r10
movzbl (%r10,%rax), %r10d
cmpl $0x42, %r10d
je 0x3bd0
cmpl $0x2a, %r10d
jne 0x3b39
movb $0x0, 0x1(%r9,%r8)
movq 0x3e8(%rbx), %r9
movq (%r9,%rax,8), %r9
movq %rdx, 0x8(%r9,%r8,8)
movq 0x3e0(%rbx), %r9
movq (%r9,%rax,8), %r9
movq %rdx, 0x8(%r9,%r8,8)
jmp 0x3b39
movb $0x4, 0x1(%r9,%r8)
movl %esi, %ecx
jmp 0x3b39
incq %rax
jmp 0x3b2e
testl %ecx, %ecx
je 0x436b
movss 0x4(%rbx), %xmm0
movss 0x54(%rbx), %xmm1
movss %xmm1, 0x20(%rsp)
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r15
pushq $0x2
popq %r12
leal (%rax,%r12), %r14d
movss 0x8(%rbx), %xmm0
divss 0x20(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
leal 0x2(%rax), %ecx
movq 0x3f8(%rbx), %rdx
movq %rdx, 0x28(%rsp)
movq 0x400(%rbx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x418(%rbx), %rdx
movq %rdx, (%rsp)
movq 0x420(%rbx), %rdx
movq %rdx, 0x10(%rsp)
movslq %ecx, %rbp
movl %ecx, %edx
imull %r14d, %edx
cvtsi2sd %edx, %xmm0
movsd 0x4438(%rip), %xmm1     # 0x80a8
divsd %xmm0, %xmm1
movsd 0x4434(%rip), %xmm0     # 0x80b0
subsd %xmm1, %xmm0
movsd 0x43e8(%rip), %xmm2     # 0x8070
movapd %xmm2, %xmm3
cmpltsd %xmm1, %xmm3
movapd %xmm3, %xmm1
andnpd %xmm0, %xmm1
andpd %xmm2, %xmm3
orpd %xmm1, %xmm3
movapd %xmm3, 0x90(%rsp)
cvtsi2sd %r15d, %xmm0
movsd %xmm0, 0x70(%rsp)
cvtss2sd 0x20(%rsp), %xmm0
movsd %xmm0, 0x80(%rsp)
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x68(%rsp)
movl %r14d, %eax
cltd
idivl %r12d
cltq
movq %rax, 0x60(%rsp)
movl %ecx, %eax
cltd
idivl %r12d
cltq
movq %rax, 0x58(%rsp)
pushq $0x3
popq %rsi
movl %r14d, %eax
cltd
idivl %esi
cltq
movq %rax, 0x50(%rsp)
movl %ecx, %eax
cltd
idivl %esi
cltq
movq %rax, 0x48(%rsp)
movslq %r14d, %rax
movq %rax, 0x20(%rsp)
xorl %esi, %esi
xorpd %xmm12, %xmm12
xorps %xmm14, %xmm14
movapd 0x443f(%rip), %xmm11    # 0x8160
movl $0x0, 0x18(%rsp)
cmpl 0x78(%rbx), %esi
jge 0x437b
movl %esi, %eax
xorl %edx, %edx
pushq $0x6
popq %rcx
divl %ecx
incl %eax
cvtsi2sd %eax, %xmm1
movsd 0x436f(%rip), %xmm0     # 0x80b8
divsd %xmm1, %xmm0
addsd 0x430b(%rip), %xmm0     # 0x8060
xorpd %xmm1, %xmm1
cmpl $0x2, %esi
jb 0x3d6b
mulsd 0x90(%rsp), %xmm0
movapd %xmm0, %xmm1
movss 0x50(%rbx), %xmm2
ucomiss %xmm14, %xmm2
movl 0x18(%rsp), %eax
jbe 0x3dc9
cvtss2sd %xmm2, %xmm0
pushq $0x1
popq %rcx
cmpq %rbp, %rcx
jge 0x3dc9
movq 0x3e0(%rbx,%rax,8), %rdx
movq 0x8(%rdx), %rdx
movsd (%rdx,%rcx,8), %xmm3
mulsd 0x4339(%rip), %xmm3     # 0x80d8
mulsd 0x42f1(%rip), %xmm3     # 0x8098
mulsd 0x80(%rsp), %xmm3
divsd %xmm0, %xmm3
movq 0x408(%rbx), %rdx
movq 0x8(%rdx), %rdx
movsd %xmm3, (%rdx,%rcx,8)
incq %rcx
jmp 0x3d81
movl %esi, 0xc(%rsp)
pushq $0x1
popq %rcx
subl 0x18(%rsp), %ecx
movl %ecx, 0x34(%rsp)
movl %ecx, %esi
xorpd %xmm3, %xmm3
pushq $0x1
popq %rdx
xorpd %xmm12, %xmm12
xorps %xmm15, %xmm15
xorps %xmm0, %xmm0
cmpq 0x20(%rsp), %rdx
jge 0x4199
ucomiss %xmm14, %xmm2
seta %cl
movq 0x3e0(%rbx,%rax,8), %rdi
movq (%rdi,%rdx,8), %r8
movsd 0x10(%r8), %xmm4
movsd %xmm4, (%r8)
leaq 0x1(%rdx), %r9
cmpq $0x1, %rdx
sete %r10b
andb %cl, %r10b
pushq $0x1
popq %r11
cmpq %rbp, %r11
jge 0x4191
movq 0x430(%rbx), %r13
movq (%r13,%rdx,8), %r12
movzbl (%r12,%r11), %r14d
cmpb $0x2, %r14b
jl 0x4189
movsd (%r8,%r11,8), %xmm4
movq 0x3e0(%rbx,%rsi,8), %rcx
movq (%rcx,%rdx,8), %rcx
subsd (%rcx,%r11,8), %xmm4
cmpb $0x3, %r14b
ja 0x3ec9
movq 0x8(%rdi,%rdx,8), %r14
movq (%rsp), %r15
movsd (%r15,%r11,8), %xmm5
movsd 0x8(%r8,%r11,8), %xmm8
mulsd %xmm5, %xmm8
addsd (%r14,%r11,8), %xmm8
movq -0x8(%rdi,%rdx,8), %r14
addsd (%r14,%r11,8), %xmm8
movq 0x10(%rsp), %r14
movsd (%r14,%r11,8), %xmm7
movsd -0x8(%r8,%r11,8), %xmm6
mulsd %xmm7, %xmm6
addsd %xmm8, %xmm6
cmpq $0x1, %r11
jbe 0x3fc4
movsd 0x4204(%rip), %xmm5     # 0x80c8
jmp 0x4135
cmpl $0x7, %r14d
je 0x3fd1
cmpl $0x4, %r14d
jne 0x4071
movq (%r13,%r9,8), %rcx
cmpb $0x3, (%rcx,%r11)
jg 0x3f0e
movq (%rdi,%r9,8), %rcx
movq 0x38(%rsp), %r14
movq (%r14,%rdx,8), %r14
movsd (%r14,%r11,8), %xmm4
movsd (%rcx,%r11,8), %xmm5
mulsd %xmm4, %xmm5
addsd %xmm5, %xmm0
addsd %xmm4, %xmm3
cmpb $0x3, 0x1(%r12,%r11)
jg 0x3f4a
movq 0x28(%rsp), %rcx
movq (%rcx,%rdx,8), %rcx
movsd (%rcx,%r11,8), %xmm4
movsd 0x8(%r8,%r11,8), %xmm5
mulsd %xmm4, %xmm5
movq (%rsp), %rcx
movsd (%rcx,%r11,8), %xmm6
mulsd %xmm6, %xmm5
addsd %xmm5, %xmm0
mulsd %xmm6, %xmm4
addsd %xmm4, %xmm3
movq -0x8(%r13,%rdx,8), %rcx
cmpb $0x3, (%rcx,%r11)
jg 0x3f7d
movq -0x8(%rdi,%rdx,8), %rcx
movq 0x38(%rsp), %r14
movq -0x8(%r14,%rdx,8), %r14
movsd (%r14,%r11,8), %xmm4
movsd (%rcx,%r11,8), %xmm5
mulsd %xmm4, %xmm5
addsd %xmm5, %xmm0
addsd %xmm4, %xmm3
cmpb $0x3, -0x1(%r12,%r11)
jg 0x4189
movq 0x28(%rsp), %rcx
movq (%rcx,%rdx,8), %rcx
movsd -0x8(%rcx,%r11,8), %xmm4
movsd -0x8(%r8,%r11,8), %xmm5
mulsd %xmm4, %xmm5
movq 0x10(%rsp), %rcx
movsd (%rcx,%r11,8), %xmm6
mulsd %xmm6, %xmm5
addsd %xmm5, %xmm0
mulsd %xmm6, %xmm4
addsd %xmm4, %xmm3
jmp 0x4189
addsd 0x4104(%rip), %xmm5     # 0x80d0
jmp 0x4131
movq -0x8(%rdi,%rdx,8), %r14
movq 0x8(%rdi,%rdx,8), %r12
movq 0x1468(%rbx), %r13
movq (%r13,%rdx,8), %r13
movsd (%r13,%r11,8), %xmm5
movq 0x1450(%rbx), %r13
movq 0x1458(%rbx), %r15
movq (%r15,%rdx,8), %r15
movsd (%r15,%r11,8), %xmm7
movsd 0x8(%r8,%r11,8), %xmm6
mulsd %xmm7, %xmm6
movsd (%r12,%r11,8), %xmm8
mulsd %xmm5, %xmm8
addsd %xmm6, %xmm8
movq 0x1460(%rbx), %r15
movq (%r15,%rdx,8), %r15
movsd (%r15,%r11,8), %xmm9
movsd (%r14,%r11,8), %xmm10
mulsd %xmm9, %xmm10
addsd %xmm8, %xmm10
movq (%r13,%rdx,8), %r14
movsd (%r14,%r11,8), %xmm8
movsd -0x8(%r8,%r11,8), %xmm6
mulsd %xmm8, %xmm6
addsd %xmm10, %xmm6
addsd %xmm7, %xmm5
addsd %xmm9, %xmm5
addsd %xmm8, %xmm5
jmp 0x4135
movq -0x8(%rdi,%rdx,8), %r14
movq 0x8(%rdi,%rdx,8), %r15
movq 0x38(%rsp), %r13
movq -0x8(%r13,%rdx,8), %r12
movq (%r13,%rdx,8), %r13
movsd (%r13,%r11,8), %xmm8
movq 0x28(%rsp), %r13
movq (%r13,%rdx,8), %r13
movsd -0x8(%r13,%r11,8), %xmm5
movsd (%r13,%r11,8), %xmm7
movsd 0x8(%r8,%r11,8), %xmm6
mulsd %xmm7, %xmm6
movq (%rsp), %r13
movsd (%r13,%r11,8), %xmm9
mulsd %xmm9, %xmm6
movsd (%r15,%r11,8), %xmm10
mulsd %xmm8, %xmm10
addsd %xmm6, %xmm10
movsd (%r12,%r11,8), %xmm11
movapd %xmm12, %xmm13
movsd (%r14,%r11,8), %xmm12
mulsd %xmm11, %xmm12
addsd %xmm10, %xmm12
movsd -0x8(%r8,%r11,8), %xmm6
mulsd %xmm5, %xmm6
movq 0x10(%rsp), %r14
movsd (%r14,%r11,8), %xmm10
mulsd %xmm10, %xmm6
addsd %xmm12, %xmm6
movapd %xmm13, %xmm12
mulsd %xmm9, %xmm7
addsd %xmm8, %xmm7
addsd %xmm11, %xmm7
movapd 0x4034(%rip), %xmm11    # 0x8160
mulsd %xmm10, %xmm5
addsd %xmm7, %xmm5
divsd %xmm5, %xmm6
testb %r10b, %r10b
je 0x414f
movq 0x408(%rbx), %r14
movq 0x8(%r14), %r14
addsd (%r14,%r11,8), %xmm6
movsd %xmm6, (%rcx,%r11,8)
movsd (%r8,%r11,8), %xmm5
subsd %xmm6, %xmm5
movapd %xmm5, %xmm7
xorpd %xmm11, %xmm7
maxsd %xmm5, %xmm7
addsd %xmm7, %xmm12
maxsd %xmm15, %xmm7
mulsd %xmm1, %xmm4
addsd %xmm6, %xmm4
movsd %xmm4, (%rcx,%r11,8)
movapd %xmm7, %xmm15
incq %r11
jmp 0x3e29
movq %r9, %rdx
jmp 0x3ded
ucomisd 0x3e87(%rip), %xmm3     # 0x8028
jbe 0x421d
divsd %xmm3, %xmm0
pushq $0x1
popq %rcx
cmpq 0x20(%rsp), %rcx
jge 0x421d
pushq $0x1
popq %rdx
cmpq %rbp, %rdx
jge 0x4218
movq 0x430(%rbx), %rdi
movq (%rdi,%rcx,8), %rdi
cmpb $0x4, (%rdi,%rdx)
jne 0x4209
movq 0x3e0(%rbx,%rsi,8), %rdi
movq (%rdi,%rcx,8), %rdi
movsd %xmm0, (%rdi,%rdx,8)
movq 0x3e0(%rbx,%rax,8), %rdi
movq (%rdi,%rcx,8), %rdi
movsd (%rdi,%rdx,8), %xmm2
subsd %xmm0, %xmm2
movapd %xmm2, %xmm1
xorpd %xmm11, %xmm1
maxsd %xmm2, %xmm1
addsd %xmm1, %xmm12
ucomisd %xmm15, %xmm1
ja 0x420e
movapd %xmm15, %xmm1
incq %rdx
movapd %xmm1, %xmm15
jmp 0x41b4
incq %rcx
jmp 0x41aa
cmpl $0xa, 0xc(%rsp)
jae 0x42a3
movapd %xmm12, %xmm1
divsd 0x70(%rsp), %xmm1
divsd 0x68(%rsp), %xmm1
movq 0x3e0(%rbx,%rsi,8), %rax
movq 0x60(%rsp), %rcx
movq (%rax,%rcx,8), %rcx
movq 0x58(%rsp), %rdx
movsd (%rcx,%rdx,8), %xmm2
movq 0x50(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x48(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm3
leaq 0x4a85(%rip), %rdi      # 0x8cef
movl 0xc(%rsp), %esi
movl 0x18(%rsp), %edx
movl 0x34(%rsp), %ecx
movaps %xmm15, %xmm0
movb $0x4, %al
movsd %xmm12, 0x18(%rsp)
movsd %xmm15, 0x78(%rsp)
callq 0x10f0
movsd 0x78(%rsp), %xmm15
movsd 0x18(%rsp), %xmm12
xorps %xmm14, %xmm14
jmp 0x42e1
movl 0xc(%rsp), %r8d
cmpl $0x258, %r8d            # imm = 0x258
setb %cl
movl %r8d, %eax
xorl %edx, %edx
pushq $0x64
popq %rdi
divl %edi
testl %edx, %edx
sete %dil
movl %r8d, %eax
xorl %edx, %edx
movl $0x3e8, %r8d            # imm = 0x3E8
divl %r8d
testl %edx, %edx
je 0x4224
andb %dil, %cl
jne 0x4224
movsd 0x3dd7(%rip), %xmm0     # 0x80c0
ucomisd %xmm15, %xmm0
ja 0x4377
movl 0xc(%rsp), %esi
incl %esi
movl 0x34(%rsp), %eax
movl %eax, 0x18(%rsp)
movapd 0x3e55(%rip), %xmm11    # 0x8160
jmp 0x3d29
leaq 0x4db7(%rip), %rdi      # 0x90ce
callq 0x1070
movslq %r12d, %r12
movslq %r15d, %r15
pushq $0x1
popq %rax
movabsq $0x3f847ae147ae147b, %rcx # imm = 0x3F847AE147AE147B
movq %rax, %rdx
cmpq %r15, %rdx
jge 0x3b1c
movq %rax, %rsi
cmpq %r12, %rsi
jge 0x4366
movq 0x3e8(%rbx), %rdi
movq (%rdi,%rdx,8), %rdi
movq %rcx, (%rdi,%rsi,8)
movq 0x3e0(%rbx), %rdi
movq (%rdi,%rdx,8), %rdi
movq %rcx, (%rdi,%rsi,8)
incq %rsi
jmp 0x433e
incq %rdx
jmp 0x4332
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5a26
jmp 0x438e
movl 0xc(%rsp), %esi
leaq 0x495f(%rip), %rdi      # 0x8ce1
movapd %xmm12, %xmm0
movb $0x1, %al
callq 0x10f0
cmpl $0x0, 0x80(%rbx)
je 0x4618
movss 0x4(%rbx), %xmm0
movss 0x54(%rbx), %xmm1
movss %xmm1, (%rsp)
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r15
movss 0x8(%rbx), %xmm0
divss (%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r12
leaq 0x288(%rbx), %r13
leaq 0x42c6(%rip), %rsi      # 0x86a4
movq %r13, %rdi
callq 0x11b0
testq %rax, %rax
je 0x4444
movq %rax, %r14
leaq 0x4956(%rip), %rdi      # 0x8d4b
movq %r13, %rsi
xorl %eax, %eax
callq 0x10f0
leaq 0x1480(%rbx), %rsi
movq %r14, %rdi
callq 0x6210
cvtss2sd 0x74(%rbx), %xmm0
leaq 0x495a(%rip), %rsi      # 0x8d74
movq %r14, %rdi
movb $0x1, %al
callq 0x1150
cmpl $0x0, 0x440(%rbx)
je 0x445a
leaq 0x4961(%rip), %rdi      # 0x8d95
pushq $0x1e
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x11d0
jmp 0x4494
leaq 0x48c9(%rip), %rdi      # 0x8d14
movq %r13, %rsi
xorl %eax, %eax
callq 0x10f0
jmp 0x4618
leaq 0x4953(%rip), %rdi      # 0x8db4
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x11d0
movss 0x444(%rbx), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x4494
cvtss2sd %xmm0, %xmm0
leaq 0x494d(%rip), %rsi      # 0x8dd7
movq %r14, %rdi
movb $0x1, %al
callq 0x1150
leal 0x2(%r15), %ebp
leal 0x2(%r12), %eax
movl %eax, 0x10(%rsp)
leaq 0x188(%rbx), %rdi
leaq 0x4950(%rip), %rsi      # 0x8dff
callq 0x11e0
testq %rax, %rax
je 0x4571
leaq 0x493f(%rip), %rdi      # 0x8e03
pushq $0x1f
popq %rsi
pushq $0x1
popq %r13
movq %r13, %rdx
movq %r14, %rcx
callq 0x11d0
incl %r12d
leaq 0x8c(%rsp), %rdi
movl %r12d, (%rdi)
incl %r15d
leaq 0x88(%rsp), %r12
movl %r15d, (%r12)
pushq $0x4
popq %r15
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %rcx
callq 0x11d0
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %rcx
callq 0x11d0
movslq %ebp, %rbp
movslq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r13, %r12
cmpq (%rsp), %r13
jge 0x4610
movq %r14, %r15
movq %r12, %r14
cmpq %rbp, %r14
jge 0x4569
movq 0x3e8(%rbx), %rax
movq (%rax,%r14,8), %rax
cvtsd2ss (%rax,%r13,8), %xmm0
movss %xmm0, 0x44(%rsp)
leaq 0x44(%rsp), %rdi
pushq $0x4
popq %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x11d0
incq %r14
jmp 0x4535
incq %r13
movq %r15, %r14
jmp 0x4525
leaq 0x48ab(%rip), %rdi      # 0x8e23
pushq $0x18
popq %rsi
pushq $0x1
popq %r15
movq %r15, %rdx
movq %r14, %rcx
callq 0x11d0
movslq %ebp, %r13
movslq 0x10(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x489e(%rip), %r12      # 0x8e3c
movq %r15, %rbp
cmpq 0x28(%rsp), %rbp
jge 0x4610
leal -0x1(%rbp), %eax
cvtsi2ss %eax, %xmm0
mulss (%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
pushq $0x1
popq %r15
cmpq %r13, %r15
jge 0x4600
leal -0x1(%r15), %eax
cvtsi2ss %eax, %xmm0
mulss (%rsp), %xmm0
cvtss2sd %xmm0, %xmm1
movq 0x3e8(%rbx), %rax
movq (%rax,%r15,8), %rax
movsd (%rax,%rbp,8), %xmm2
movq %r14, %rdi
movq %r12, %rsi
movsd 0x10(%rsp), %xmm0
movb $0x3, %al
callq 0x1150
incq %r15
jmp 0x45c2
pushq $0xa
popq %rdi
movq %r14, %rsi
callq 0x1120
incq %rbp
jmp 0x45a1
movq %r14, %rdi
callq 0x10c0
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq