// File: /workspace/github_c_makefile_star2_O3/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 $0xb8, %rsp
movq %rsi, %r12
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, %r14
addl $0x3, %r14d
testq %r12, %r12
je 0x3f91
movq %rbx, %rdi
movq %r12, %rsi
callq 0x57e9
jmp 0x3ff6
leaq 0x61a6(%rip), %rdi      # 0xa13e
callq 0x1070
cmpl $0x2, %r15d
jl 0x48d9
movl %r15d, %eax
movl %r14d, %ecx
movl $0x1, %edx
movabsq $0x3f847ae147ae147b, %rsi # imm = 0x3F847AE147AE147B
cmpl $0x2, %r14d
jl 0x3fee
movq 0x3e0(%rbx), %r8
movq 0x3e8(%rbx), %rdi
movq (%rdi,%rdx,8), %rdi
movq (%r8,%rdx,8), %r8
movl $0x1, %r9d
movq %rsi, (%rdi,%r9,8)
movq %rsi, (%r8,%r9,8)
incq %r9
cmpq %r9, %rcx
jne 0x3fde
incq %rdx
cmpq %rax, %rdx
jne 0x3fbc
cmpl $0x2, %r15d
jl 0x48d9
movl %r15d, %eax
movl %r14d, %ecx
decq %rcx
xorl %edx, %edx
movl $0x1, %esi
movabsq $0x3ff0000000000000, %rdi # imm = 0x3FF0000000000000
xorl %r8d, %r8d
cmpl $0x2, %r14d
jl 0x40c7
xorl %r9d, %r9d
movq 0x430(%rbx), %r10
movq (%r10,%rsi,8), %r10
movzbl 0x1(%r10,%r9), %r11d
testl %r11d, %r11d
je 0x408b
cmpl $0x1, %r11d
jne 0x4068
movq 0x3e8(%rbx), %r10
movq (%r10,%rsi,8), %r10
movq %rdx, 0x8(%r10,%r9,8)
movq 0x3e0(%rbx), %r10
movq (%r10,%rsi,8), %r10
movq %rdx, 0x8(%r10,%r9,8)
jmp 0x40ab
movq 0x438(%rbx), %r11
movq 0x8(%r11,%r9,8), %r11
movzbl (%r11,%rsi), %r11d
cmpl $0x42, %r11d
je 0x40b9
cmpl $0x2a, %r11d
jne 0x40ab
movb $0x0, 0x1(%r10,%r9)
movq 0x3e8(%rbx), %r10
movq (%r10,%rsi,8), %r10
movq %rdi, 0x8(%r10,%r9,8)
movq 0x3e0(%rbx), %r10
movq (%r10,%rsi,8), %r10
movq %rdi, 0x8(%r10,%r9,8)
incq %r9
cmpq %r9, %rcx
jne 0x402a
jmp 0x40c7
movb $0x4, 0x1(%r10,%r9)
movl $0x1, %r8d
jmp 0x40ab
incq %rsi
cmpq %rax, %rsi
jne 0x401d
testl %r8d, %r8d
je 0x48d9
movss 0x4(%rbx), %xmm0
movss 0x54(%rbx), %xmm1
movss %xmm1, 0x8(%rsp)
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r14
movss 0x8(%rbx), %xmm0
divss 0x8(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
cmpl $0x0, 0x78(%rbx)
jle 0x48e5
movq %rax, %r12
movq 0x3f8(%rbx), %rax
movq %rax, (%rsp)
movq 0x400(%rbx), %rax
movq %rax, 0x10(%rsp)
movq 0x418(%rbx), %rbp
movq 0x420(%rbx), %r13
leal 0x2(%r12), %r15d
leal 0x2(%r14), %r9d
movl %r15d, %eax
imull %r9d, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd 0x4f57(%rip), %xmm1     # 0x90b8
divsd %xmm0, %xmm1
movsd 0x4f53(%rip), %xmm0     # 0x90c0
subsd %xmm1, %xmm0
movsd 0x4ebf(%rip), %xmm2     # 0x9038
movapd %xmm2, %xmm3
cmpltsd %xmm1, %xmm3
movapd %xmm3, %xmm1
andnpd %xmm0, %xmm1
andpd %xmm2, %xmm3
orpd %xmm1, %xmm3
movapd %xmm3, 0xa0(%rsp)
cvtss2sd 0x8(%rsp), %xmm14
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd %xmm0, 0x78(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r12d, %xmm0
movsd %xmm0, 0x70(%rsp)
movl %r9d, %eax
shrl $0x1f, %eax
addl %r14d, %eax
addl $0x2, %eax
sarl %eax
cltq
movq %rax, 0x68(%rsp)
movl %r15d, %eax
shrl $0x1f, %eax
addl %r12d, %eax
addl $0x2, %eax
sarl %eax
cltq
movq %rax, 0x60(%rsp)
movslq %r9d, %rax
imulq $0x55555556, %rax, %rax # imm = 0x55555556
movq %rax, %rcx
shrq $0x3f, %rcx
shrq $0x20, %rax
addl %ecx, %eax
cltq
movq %rax, 0x58(%rsp)
movslq %r15d, %rax
imulq $0x55555556, %rax, %rax # imm = 0x55555556
movq %rax, %rcx
shrq $0x3f, %rcx
shrq $0x20, %rax
addl %ecx, %eax
cltq
movq %rax, 0x50(%rsp)
xorl %edx, %edx
movsd 0x4ea2(%rip), %xmm4     # 0x90d0
movsd 0x4e71(%rip), %xmm12    # 0x90a8
movapd 0x4f20(%rip), %xmm13    # 0x9160
xorl %esi, %esi
movq %rbp, 0x8(%rsp)
movq %r13, 0x18(%rsp)
movq %r9, 0x38(%rsp)
movq %r14, 0x88(%rsp)
movq %r12, 0x90(%rsp)
movsd %xmm14, 0x80(%rsp)
movl %esi, %eax
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
imulq %rcx, %rax
shrq $0x22, %rax
incl %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movsd 0x4e3d(%rip), %xmm0     # 0x90c8
divsd %xmm1, %xmm0
addsd 0x4dc1(%rip), %xmm0     # 0x9058
xorpd %xmm1, %xmm1
cmpl $0x2, %esi
jb 0x42ad
mulsd 0xa0(%rsp), %xmm0
movapd %xmm0, %xmm1
movl %esi, 0x24(%rsp)
movss 0x50(%rbx), %xmm3
ucomiss 0x4e7b(%rip), %xmm3     # 0x9138
jbe 0x4311
cmpl $0x7ffffffd, %r12d      # imm = 0x7FFFFFFD
ja 0x4311
movl %edx, %eax
movq 0x3e0(%rbx,%rax,8), %rax
movq 0x8(%rax), %rax
xorps %xmm0, %xmm0
cvtss2sd %xmm3, %xmm0
movq 0x408(%rbx), %rcx
movq 0x8(%rcx), %rcx
movl $0x1, %esi
movsd (%rax,%rsi,8), %xmm2
mulsd %xmm4, %xmm2
mulsd %xmm12, %xmm2
mulsd %xmm14, %xmm2
divsd %xmm0, %xmm2
movsd %xmm2, (%rcx,%rsi,8)
incq %rsi
cmpq %rsi, %r15
jne 0x42ed
movl $0x1, %eax
movl %edx, 0x40(%rsp)
subl %edx, %eax
xorpd %xmm15, %xmm15
movl %eax, 0x30(%rsp)
movl %eax, %eax
xorpd %xmm5, %xmm5
cmpl $0x7ffffffd, %r14d      # imm = 0x7FFFFFFD
ja 0x47c8
movl 0x40(%rsp), %ecx
movq 0x3e0(%rbx,%rcx,8), %rcx
xorpd %xmm0, %xmm0
movl $0x1, %esi
xorpd %xmm2, %xmm2
xorpd %xmm4, %xmm4
movq (%rcx,%rsi,8), %r8
movsd 0x10(%r8), %xmm5
movsd %xmm5, (%r8)
cmpl $0x7ffffffe, %r12d      # imm = 0x7FFFFFFE
jae 0x4712
ucomiss 0x4dc0(%rip), %xmm3     # 0x9138
seta %dil
movq 0x430(%rbx), %r9
movq (%r9,%rsi,8), %r10
leaq 0x1(%rsi), %rdx
movq %rdx, 0x28(%rsp)
cmpq $0x1, %rsi
sete %r11b
andb %dil, %r11b
movl $0x1, %r12d
movzbl (%r10,%r12), %edi
cmpb $0x2, %dil
jl 0x46ef
movsd (%r8,%r12,8), %xmm5
movq 0x3e0(%rbx,%rax,8), %r14
movq (%r14,%rsi,8), %r14
subsd (%r14,%r12,8), %xmm5
cmpb $0x3, %dil
ja 0x4426
movq 0x8(%rcx,%rsi,8), %rdi
movsd (%rbp,%r12,8), %xmm6
movsd 0x8(%r8,%r12,8), %xmm9
mulsd %xmm6, %xmm9
addsd (%rdi,%r12,8), %xmm9
movq -0x8(%rcx,%rsi,8), %rdi
addsd (%rdi,%r12,8), %xmm9
movsd (%r13,%r12,8), %xmm8
movsd -0x8(%r8,%r12,8), %xmm7
mulsd %xmm8, %xmm7
addsd %xmm9, %xmm7
cmpq $0x1, %r12
jbe 0x4517
movsd 0x4cb7(%rip), %xmm6     # 0x90d8
jmp 0x4699
cmpl $0x7, %edi
je 0x4524
cmpl $0x4, %edi
jne 0x45d2
movq 0x8(%r9,%rsi,8), %rdi
cmpb $0x3, (%rdi,%r12)
jg 0x446a
movq 0x8(%rcx,%rsi,8), %rdi
movq 0x10(%rsp), %rdx
movq (%rdx,%rsi,8), %r14
movsd (%r14,%r12,8), %xmm5
movsd (%rdi,%r12,8), %xmm6
mulsd %xmm5, %xmm6
addsd %xmm6, %xmm0
addsd %xmm5, %xmm4
cmpb $0x3, 0x1(%r10,%r12)
jg 0x44a2
movq (%rsp), %rdx
movq (%rdx,%rsi,8), %rdi
movsd (%rdi,%r12,8), %xmm5
movsd 0x8(%r8,%r12,8), %xmm6
mulsd %xmm5, %xmm6
movsd (%rbp,%r12,8), %xmm7
mulsd %xmm7, %xmm6
addsd %xmm6, %xmm0
mulsd %xmm7, %xmm5
addsd %xmm5, %xmm4
movq -0x8(%r9,%rsi,8), %rdi
cmpb $0x3, (%rdi,%r12)
jg 0x44d5
movq -0x8(%rcx,%rsi,8), %rdi
movq 0x10(%rsp), %rdx
movq -0x8(%rdx,%rsi,8), %r14
movsd (%r14,%r12,8), %xmm5
movsd (%rdi,%r12,8), %xmm6
mulsd %xmm5, %xmm6
addsd %xmm6, %xmm0
addsd %xmm5, %xmm4
cmpb $0x3, -0x1(%r10,%r12)
jg 0x46ef
movq (%rsp), %rdx
movq (%rdx,%rsi,8), %rdi
movsd -0x8(%rdi,%r12,8), %xmm5
movsd -0x8(%r8,%r12,8), %xmm6
mulsd %xmm5, %xmm6
movsd (%r13,%r12,8), %xmm7
mulsd %xmm7, %xmm6
addsd %xmm6, %xmm0
mulsd %xmm7, %xmm5
addsd %xmm5, %xmm4
jmp 0x46ef
addsd 0x4bc1(%rip), %xmm6     # 0x90e0
jmp 0x4694
movq -0x8(%rcx,%rsi,8), %rdi
movq 0x8(%rcx,%rsi,8), %rdx
movq 0x1468(%rbx), %r13
movq (%r13,%rsi,8), %r13
movsd (%r13,%r12,8), %xmm6
movq 0x1450(%rbx), %r13
movq 0x1458(%rbx), %rbp
movq (%rbp,%rsi,8), %rbp
movsd (%rbp,%r12,8), %xmm8
movq 0x8(%rsp), %rbp
movsd 0x8(%r8,%r12,8), %xmm7
mulsd %xmm8, %xmm7
movsd (%rdx,%r12,8), %xmm9
mulsd %xmm6, %xmm9
addsd %xmm7, %xmm9
movq 0x1460(%rbx), %rdx
movq (%rdx,%rsi,8), %rdx
movsd (%rdx,%r12,8), %xmm10
movsd (%rdi,%r12,8), %xmm11
mulsd %xmm10, %xmm11
addsd %xmm9, %xmm11
movq (%r13,%rsi,8), %rdx
movq 0x18(%rsp), %r13
movsd (%rdx,%r12,8), %xmm9
movsd -0x8(%r8,%r12,8), %xmm7
mulsd %xmm9, %xmm7
addsd %xmm11, %xmm7
addsd %xmm8, %xmm6
addsd %xmm10, %xmm6
addsd %xmm9, %xmm6
jmp 0x4699
movq -0x8(%rcx,%rsi,8), %rdx
movq 0x8(%rcx,%rsi,8), %rdi
movq 0x10(%rsp), %rbp
movq -0x8(%rbp,%rsi,8), %r13
movq (%rbp,%rsi,8), %rbp
movsd (%rbp,%r12,8), %xmm9
movq (%rsp), %rbp
movq (%rbp,%rsi,8), %rbp
movsd -0x8(%rbp,%r12,8), %xmm6
movsd (%rbp,%r12,8), %xmm8
movq 0x8(%rsp), %rbp
movsd 0x8(%r8,%r12,8), %xmm7
mulsd %xmm8, %xmm7
movsd (%rbp,%r12,8), %xmm10
mulsd %xmm10, %xmm7
movsd (%rdi,%r12,8), %xmm11
mulsd %xmm9, %xmm11
addsd %xmm7, %xmm11
movsd (%r13,%r12,8), %xmm12
movq 0x18(%rsp), %r13
movsd (%rdx,%r12,8), %xmm13
mulsd %xmm12, %xmm13
addsd %xmm11, %xmm13
movsd -0x8(%r8,%r12,8), %xmm7
mulsd %xmm6, %xmm7
movsd (%r13,%r12,8), %xmm11
mulsd %xmm11, %xmm7
addsd %xmm13, %xmm7
movapd 0x4ae9(%rip), %xmm13    # 0x9160
mulsd %xmm10, %xmm8
addsd %xmm9, %xmm8
addsd %xmm12, %xmm8
movsd 0x4a19(%rip), %xmm12    # 0x90a8
mulsd %xmm11, %xmm6
addsd %xmm8, %xmm6
divsd %xmm6, %xmm7
testb %r11b, %r11b
je 0x46b3
movq 0x408(%rbx), %rdx
movq 0x8(%rdx), %rdx
addsd (%rdx,%r12,8), %xmm7
movsd %xmm7, (%r14,%r12,8)
movsd (%r8,%r12,8), %xmm6
subsd %xmm7, %xmm6
movapd %xmm6, %xmm8
xorpd %xmm13, %xmm8
maxsd %xmm6, %xmm8
addsd %xmm8, %xmm15
maxsd %xmm2, %xmm8
mulsd %xmm1, %xmm5
addsd %xmm7, %xmm5
movsd %xmm5, (%r14,%r12,8)
movapd %xmm8, %xmm2
incq %r12
cmpq %r12, %r15
jne 0x43a1
movq 0x28(%rsp), %rdx
movq %rdx, %rsi
movq 0x90(%rsp), %r12
movq 0x38(%rsp), %r9
jmp 0x4718
incq %rsi
movq %rsi, %rdx
cmpq %r9, %rdx
jne 0x4355
ucomisd 0x48ff(%rip), %xmm4     # 0x9028
ja 0x473c
movapd %xmm2, %xmm5
movsd 0x4999(%rip), %xmm4     # 0x90d0
jmp 0x47c8
divsd %xmm4, %xmm0
movl $0x1, %esi
movsd 0x4983(%rip), %xmm4     # 0x90d0
cmpl $0x7ffffffd, %r12d      # imm = 0x7FFFFFFD
ja 0x47b8
movq 0x430(%rbx), %rdx
movq (%rdx,%rsi,8), %rdi
movl $0x1, %r8d
cmpb $0x4, (%rdi,%r8)
jne 0x47a6
movq 0x3e0(%rbx,%rax,8), %rdx
movq (%rdx,%rsi,8), %rdx
movsd %xmm0, (%rdx,%r8,8)
movq (%rcx,%rsi,8), %rdx
movsd (%rdx,%r8,8), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, %xmm5
xorpd %xmm13, %xmm5
maxsd %xmm1, %xmm5
addsd %xmm5, %xmm15
ucomisd %xmm2, %xmm5
ja 0x47aa
movapd %xmm2, %xmm5
incq %r8
movapd %xmm5, %xmm2
cmpq %r8, %r15
jne 0x4767
jmp 0x47bc
movapd %xmm2, %xmm5
incq %rsi
movapd %xmm5, %xmm2
cmpq %r9, %rsi
jne 0x474d
movl 0x24(%rsp), %esi
cmpl $0xa, %esi
movl 0x30(%rsp), %r14d
jae 0x487b
movapd %xmm15, %xmm1
divsd 0x78(%rsp), %xmm1
divsd 0x70(%rsp), %xmm1
movq 0x3e0(%rbx,%rax,8), %rax
movq 0x68(%rsp), %rcx
movq (%rax,%rcx,8), %rcx
movq 0x60(%rsp), %rdx
movsd (%rcx,%rdx,8), %xmm2
movq 0x58(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm3
leaq 0x553f(%rip), %rdi      # 0x9d5f
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movapd %xmm5, %xmm0
movb $0x4, %al
movsd %xmm15, 0x28(%rsp)
movapd %xmm5, 0x40(%rsp)
callq 0x10f0
movapd 0x40(%rsp), %xmm5
movsd 0x28(%rsp), %xmm15
movapd 0x490b(%rip), %xmm13    # 0x9160
movsd 0x484a(%rip), %xmm12    # 0x90a8
movsd 0x486a(%rip), %xmm4     # 0x90d0
movl 0x24(%rsp), %esi
movsd 0x80(%rsp), %xmm14
movq 0x38(%rsp), %r9
jmp 0x48b3
cmpl $0x258, %esi            # imm = 0x258
setb %cl
imull $0xc28f5c29, %esi, %edx # imm = 0xC28F5C29
rorl $0x2, %edx
cmpl $0x28f5c29, %edx        # imm = 0x28F5C29
setb %dl
imull $0x26e978d5, %esi, %edi # imm = 0x26E978D5
rorl $0x3, %edi
cmpl $0x418938, %edi         # imm = 0x418938
jb 0x47da
andb %dl, %cl
jne 0x47da
movsd 0x482d(%rip), %xmm0     # 0x90e8
ucomisd %xmm5, %xmm0
ja 0x48ec
incl %esi
movl %r14d, %edx
cmpl 0x78(%rbx), %esi
movq 0x88(%rsp), %r14
jl 0x426b
jmp 0x48ec
movq %rbx, %rdi
xorl %esi, %esi
callq 0x643d
jmp 0x48ff
xorpd %xmm15, %xmm15
xorl %esi, %esi
leaq 0x545e(%rip), %rdi      # 0x9d51
movapd %xmm15, %xmm0
movb $0x1, %al
callq 0x10f0
cmpl $0x0, 0x80(%rbx)
je 0x4be2
movss 0x4(%rbx), %xmm0
movss 0x54(%rbx), %xmm1
movss %xmm1, (%rsp)
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r14
movss 0x8(%rbx), %xmm0
divss (%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x1100
movq %rax, %r12
leaq 0x288(%rbx), %r13
leaq 0x4dc5(%rip), %rsi      # 0x9714
movq %r13, %rdi
callq 0x11a0
testq %rax, %rax
je 0x49bc
movq %rax, %r15
leaq 0x5455(%rip), %rdi      # 0x9dbb
movq %r13, %rsi
xorl %eax, %eax
callq 0x10f0
leaq 0x1480(%rbx), %rsi
movq %r15, %rdi
callq 0x6d20
xorps %xmm0, %xmm0
cvtss2sd 0x74(%rbx), %xmm0
leaq 0x5456(%rip), %rsi      # 0x9de4
movq %r15, %rdi
movb $0x1, %al
callq 0x1150
cmpl $0x0, 0x440(%rbx)
je 0x49d2
leaq 0x545d(%rip), %rdi      # 0x9e05
movl $0x1e, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x11c0
jmp 0x4a10
leaq 0x53c1(%rip), %rdi      # 0x9d84
movq %r13, %rsi
xorl %eax, %eax
callq 0x10f0
jmp 0x4be2
leaq 0x544b(%rip), %rdi      # 0x9e24
movl $0x22, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x11c0
movss 0x444(%rbx), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x4a10
cvtss2sd %xmm0, %xmm0
leaq 0x5441(%rip), %rsi      # 0x9e47
movq %r15, %rdi
movb $0x1, %al
callq 0x1150
leal 0x2(%r14), %eax
movl %eax, 0x10(%rsp)
leal 0x2(%r12), %eax
movl %eax, 0x18(%rsp)
leaq 0x188(%rbx), %rdi
leaq 0x5440(%rip), %rsi      # 0x9e6f
callq 0x11d0
testq %rax, %rax
movq %r14, 0x8(%rsp)
je 0x4b19
leaq 0x542a(%rip), %rdi      # 0x9e73
movl $0x1, %ebp
movl $0x1f, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x11c0
leal 0x1(%r12), %eax
leaq 0x9c(%rsp), %rdi
movl %eax, (%rdi)
leal 0x1(%r14), %eax
leaq 0x98(%rsp), %r13
movl %eax, (%r13)
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x11c0
movl $0x4, %esi
movl $0x1, %edx
movq %r13, %rdi
movq %r15, %rcx
callq 0x11c0
cmpl $0x7ffffffd, %r12d      # imm = 0x7FFFFFFD
ja 0x4bda
movl 0x18(%rsp), %eax
movq %rax, (%rsp)
movl 0x10(%rsp), %r13d
leaq 0x34(%rsp), %r12
cmpl $0x7ffffffd, 0x8(%rsp)  # imm = 0x7FFFFFFD
ja 0x4b0b
movl $0x1, %r14d
movq 0x3e8(%rbx), %rax
movq (%rax,%r14,8), %rax
xorps %xmm0, %xmm0
cvtsd2ss (%rax,%rbp,8), %xmm0
movss %xmm0, 0x34(%rsp)
movl $0x4, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %r15, %rcx
callq 0x11c0
incq %r14
cmpq %r14, %r13
jne 0x4ad5
incq %rbp
cmpq (%rsp), %rbp
jne 0x4ac5
jmp 0x4bda
leaq 0x5373(%rip), %rdi      # 0x9e93
movl $0x1, %r13d
movl $0x18, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x11c0
cmpl $0x7ffffffd, %r12d      # imm = 0x7FFFFFFD
ja 0x4bda
movl 0x18(%rsp), %eax
movq %rax, 0x18(%rsp)
movl 0x10(%rsp), %r14d
decq %r14
leaq 0x534f(%rip), %r12      # 0x9eac
cmpl $0x7ffffffd, 0x8(%rsp)  # imm = 0x7FFFFFFD
ja 0x4bc3
leal -0x1(%r13), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
mulss (%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
xorl %ebp, %ebp
xorps %xmm0, %xmm0
cvtsi2ss %ebp, %xmm0
mulss (%rsp), %xmm0
xorps %xmm1, %xmm1
cvtss2sd %xmm0, %xmm1
movq 0x3e8(%rbx), %rax
movq 0x8(%rax,%rbp,8), %rax
movsd (%rax,%r13,8), %xmm2
movq %r15, %rdi
movq %r12, %rsi
movsd 0x10(%rsp), %xmm0
movb $0x3, %al
callq 0x1150
incq %rbp
cmpq %rbp, %r14
jne 0x4b83
movl $0xa, %edi
movq %r15, %rsi
callq 0x1120
incq %r13
cmpq 0x18(%rsp), %r13
jne 0x4b5d
movq %r15, %rdi
callq 0x10c0
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq