// File: /workspace/github_c_makefile_star2_O1/olcaytaner[P]Isell/eps.c
// Function: plot_decision_leaf_model
void plot_decision_leaf_model(FILE* outfile, Decisionnodeptr rootnode, Point p, int radius)
{
 Prediction predicted, predictedold;
 double output, input1, input2, prevoutput;
 double min1 = current_dataset->features[0].min.floatvalue, max1 = current_dataset->features[0].max.floatvalue;
 double min2 = current_dataset->features[1].min.floatvalue, max2 = current_dataset->features[1].max.floatvalue; 
 int i, j, posx1, posx2, posy1, posy2, width = (2 * WIDTHFACTOR - 0.5) * radius, height = width, left = p.x - width / 2, right = p.x + width / 2, top = p.y - 2 * radius, bottom = p.y - 2 * radius - height;
 write_rectangle(outfile, left, top, right, bottom, FILL_NONE, BLACK);
 setcolor(outfile, RED);
 for (i = 1; i < width; i++)
  {
   input1 = ((min1 + i * ((max1 - min1) / width)) - mean.values[0].floatvalue) / sqrt(variance.values[0].floatvalue);
   for (j = 1; j < width; j++)
    {
     input2 = ((min2 + j * ((max2 - min2) / width)) - mean.values[1].floatvalue) / sqrt(variance.values[1].floatvalue);      
     output = sigmoid(soft_output_of_subdecisiontree(rootnode, input1, input2));
     if (output > 0.5)
       predicted.classno = 1;
     else
       predicted.classno = 0;
     if (predictedold.classno != predicted.classno && j != 1)
       write_string(outfile, left + i, bottom + j, ".", ALIGN_LEFT);
     predictedold = predicted;
    }
  }
 for (i = width - 1; i > 0; i--)
  {
   input1 = ((min1 + i * ((max1 - min1) / width)) - mean.values[0].floatvalue) / sqrt(variance.values[0].floatvalue);
   for (j = width - 1; j > 0; j--)
    {
     input2 = ((min2 + j * ((max2 - min2) / width)) - mean.values[1].floatvalue) / sqrt(variance.values[1].floatvalue);      
     output = sigmoid(soft_output_of_subdecisiontree(rootnode, input1, input2));
     if (output > 0.5)
       predicted.classno = 1;
     else
       predicted.classno = 0;
     if (predictedold.classno != predicted.classno && j != width - 1)
       write_string(outfile, left + i, bottom + j, ".", ALIGN_LEFT);
     predictedold = predicted;
    }
  }
 for (i = 1; i < width; i++)
  {
   input2 = ((min2 + i * ((max2 - min2) / width)) - mean.values[1].floatvalue) / sqrt(variance.values[1].floatvalue);
   for (j = 1; j < width; j++)
    {
     input1 = ((min1 + j * ((max1 - min1) / width)) - mean.values[0].floatvalue) / sqrt(variance.values[0].floatvalue);      
     output = sigmoid(soft_output_of_subdecisiontree(rootnode, input1, input2));
     if (output > 0.5)
       predicted.classno = 1;
     else
       predicted.classno = 0;
     if (predictedold.classno != predicted.classno && j != 1)
       write_string(outfile, left + j, bottom + i, ".", ALIGN_LEFT);
     predictedold = predicted;
    }
  }
 for (i = width - 1; i > 0; i--)
  {
   input2 = ((min2 + i * ((max2 - min2) / width)) - mean.values[1].floatvalue) / sqrt(variance.values[1].floatvalue);
   for (j = width - 1; j > 0; j--)
    {
     input1 = ((min1 + j * ((max1 - min1) / width)) - mean.values[0].floatvalue) / sqrt(variance.values[0].floatvalue);      
     output = sigmoid(soft_output_of_subdecisiontree(rootnode, input1, input2));
     if (output > 0.5)
       predicted.classno = 1;
     else
       predicted.classno = 0;
     if (predictedold.classno != predicted.classno && j != width - 1)
       write_string(outfile, left + j, bottom + i, ".", ALIGN_LEFT);
     predictedold = predicted;
    }
  }
 setcolor(outfile, BLACK); 
 if (rootnode->featureno != LEAF_NODE)
  {  
   for (i = 0; i < width; i++)
    {
     input1 = ((min1 + i * ((max1 - min1) / width)) - mean.values[0].floatvalue) / sqrt(variance.values[0].floatvalue);
     input2 = -(rootnode->w.values[0][0] + rootnode->w.values[1][0] * input1) / rootnode->w.values[2][0];
     output = input2 * sqrt(variance.values[1].floatvalue) + mean.values[1].floatvalue;
     if (i != 0 && output >= min2 && output <= max2 && prevoutput >= min2 && prevoutput <= max2)
      {
       posy1 = return_pos(prevoutput, bottom, top, min2, max2);
       posy2 = return_pos(output, bottom, top, min2, max2);
       write_line(outfile, left + i - 1, posy1, left + i, posy2);            
      }
     prevoutput = output;
    }
   for (i = 0; i < width; i++)
    {
     input2 = ((min2 + i * ((max2 - min2) / width)) - mean.values[1].floatvalue) / sqrt(variance.values[1].floatvalue);
     input1 = -(rootnode->w.values[0][0] + rootnode->w.values[2][0] * input2) / rootnode->w.values[1][0];
     output = input1 * sqrt(variance.values[0].floatvalue) + mean.values[0].floatvalue;
     if (i != 0 && output >= min1 && output <= max1 && prevoutput >= min1 && prevoutput <= max1)
      {
       posx1 = return_pos(prevoutput, left, right, min1, max1);
       posx2 = return_pos(output, left, right, min1, max1);
       write_line(outfile, posx1, bottom + i - 1, posx2, bottom + i);            
      }
     prevoutput = output;
    }
  }
 else
   if (rootnode->leaftype == CONSTANTLEAF)
    {
     for (i = 0; i < width; i++)
      {
       input1 = ((min1 + i * ((max1 - min1) / width)) - mean.values[0].floatvalue) / sqrt(variance.values[0].floatvalue);
       for (j = 0; j < width; j++)
        {
         input2 = ((min2 + j * ((max2 - min2) / width)) - mean.values[1].floatvalue) / sqrt(variance.values[1].floatvalue);      
         output = sigmoid(soft_output_of_subdecisiontree(rootnode, input1, input2));
         fprintf(outfile, "%.3f %.3f %.3f setrgbcolor\n", 1 - output, 1 - output, 1 - output);
         write_string(outfile, left + i, bottom + j, ".", ALIGN_CENTER);
        }
      }     
    }
 setcolor(outfile, BLACK);     
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %rbp
movq %rdi, %rbx
leaq 0xaf610(%rip), %rax     # 0xd2870
movq (%rax), %rax
cvtsi2sd %edx, %xmm2
mulsd 0x81ae1(%rip), %xmm2    # 0xa4d50
cvttsd2si %xmm2, %r15d
movl %r15d, %ecx
shrl $0x1f, %ecx
addl %r15d, %ecx
sarl %ecx
cvtsi2sd %ecx, %xmm3
movapd %xmm0, %xmm4
subsd %xmm3, %xmm4
cvttsd2si %xmm4, %r10d
movsd 0x30f10(%rax), %xmm4
movsd %xmm4, 0x18(%rsp)
addsd %xmm0, %xmm3
cvttsd2si %xmm3, %r8d
movsd 0x30f18(%rax), %xmm0
movsd %xmm0, 0x50(%rsp)
addl %edx, %edx
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
movsd 0x31250(%rax), %xmm3
movsd %xmm3, 0x20(%rsp)
subsd %xmm0, %xmm1
cvttsd2si %xmm1, %ecx
cvttpd2dq %xmm2, %xmm0
cvtdq2pd %xmm0, %xmm2
movsd 0x31258(%rax), %xmm0
movsd %xmm0, 0x28(%rsp)
movapd %xmm2, 0x90(%rsp)
subsd %xmm2, %xmm1
cvttsd2si %xmm1, %r9d
leaq 0x81d43(%rip), %rsi     # 0xa5046
movq %r10, 0x88(%rsp)
movl %r10d, %edx
movl %ecx, 0xb0(%rsp)
movl %r8d, 0xb4(%rsp)
movq %r9, 0x68(%rsp)
xorl %eax, %eax
callq 0x42e0
movsd 0xae8a7(%rip), %xmm0    # 0xd1bd8
movsd 0xae8a7(%rip), %xmm1    # 0xd1be0
movsd 0xae8a7(%rip), %xmm2    # 0xd1be8
leaq 0x81b75(%rip), %rsi     # 0xa4ebd
movq %rbx, 0x70(%rsp)
movq %rbx, %rdi
movb $0x3, %al
callq 0x42e0
cmpl $0x2, %r15d
movq %r15, 0x60(%rsp)
jl 0x23506
movsd 0x50(%rsp), %xmm1
subsd 0x18(%rsp), %xmm1
movapd 0x90(%rsp), %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x78(%rsp)
movsd 0x28(%rsp), %xmm1
subsd 0x20(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x48(%rsp)
movl $0x1, %ebx
movsd 0x7f178(%rip), %xmm0    # 0xa2520
leaq 0x38bc29(%rip), %r13    # 0x3aefd8
movsd %xmm0, 0x80(%rsp)
mulsd 0x78(%rsp), %xmm0
addsd 0x18(%rsp), %xmm0
leaq 0x38bbdd(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq (%r13), %rax
movsd (%rax), %xmm0
ucomisd 0x7f920(%rip), %xmm0    # 0xa2d08
jb 0x233f0
sqrtsd %xmm0, %xmm0
jmp 0x233f5
callq 0x4300
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x88(%rsp), %rax
movq %rbx, 0x58(%rsp)
addl %eax, %ebx
movl $0x1, %r15d
movsd 0x7f0fe(%rip), %xmm0    # 0xa2520
movl %r12d, %r14d
movsd %xmm0, 0x30(%rsp)
movapd %xmm0, %xmm1
mulsd 0x48(%rsp), %xmm1
addsd 0x20(%rsp), %xmm1
leaq 0x38bb66(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm1
movq (%r13), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7f8ad(%rip), %xmm0    # 0xa2d08
jb 0x23463
sqrtsd %xmm0, %xmm0
jmp 0x23474
movsd %xmm1, 0x10(%rsp)
callq 0x4300
movsd 0x10(%rsp), %xmm1
divsd %xmm0, %xmm1
movq %rbp, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x1dab0
callq 0x54568
xorl %r12d, %r12d
ucomisd 0x7f882(%rip), %xmm0    # 0xa2d18
seta %r12b
cmpl $0x1, %r15d
je 0x234c4
cmpl %r12d, %r14d
je 0x234c4
movq 0x68(%rsp), %rax
leal (%rax,%r15), %edx
movq 0x70(%rsp), %rdi
movl %ebx, %esi
leaq 0x8230e(%rip), %rcx     # 0xa57ca
xorl %r8d, %r8d
callq 0x22d13
movsd 0x30(%rsp), %xmm0
addsd 0x7f04e(%rip), %xmm0    # 0xa2520
incl %r15d
cmpl %r15d, 0x60(%rsp)
jne 0x23422
movsd 0x80(%rsp), %xmm0
addsd 0x7f02f(%rip), %xmm0    # 0xa2520
movq 0x58(%rsp), %rbx
incl %ebx
movq 0x60(%rsp), %r15
cmpl %r15d, %ebx
jne 0x233af
leal -0x1(%r15), %ecx
cmpl $0x2, %r15d
movq %rcx, 0x80(%rsp)
jl 0x236b1
movsd 0x50(%rsp), %xmm1
subsd 0x18(%rsp), %xmm1
movapd 0x90(%rsp), %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
movsd 0x28(%rsp), %xmm1
subsd 0x20(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x68(%rsp), %rax
decl %eax
movl %eax, 0x58(%rsp)
movl %ecx, %ebx
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
mulsd 0xa8(%rsp), %xmm0
addsd 0x18(%rsp), %xmm0
leaq 0x38ba2a(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x38ba46(%rip), %rax    # 0x3aefd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x7f767(%rip), %xmm0    # 0xa2d08
jb 0x235a9
sqrtsd %xmm0, %xmm0
jmp 0x235ae
callq 0x4300
movsd 0x30(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rsp)
movq 0x88(%rsp), %rax
movq %rbx, 0x78(%rsp)
addl %ebx, %eax
movl %eax, 0x10(%rsp)
xorl %ebx, %ebx
movl %r15d, %r13d
leal -0x1(%r13), %r15d
xorps %xmm1, %xmm1
cvtsi2sd %r15d, %xmm1
mulsd 0x8(%rsp), %xmm1
addsd 0x20(%rsp), %xmm1
leaq 0x38b9b3(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm1
leaq 0x38b9d4(%rip), %rax    # 0x3aefd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7f6f4(%rip), %xmm0    # 0xa2d08
jb 0x2361c
sqrtsd %xmm0, %xmm0
jmp 0x2362d
movsd %xmm1, 0x48(%rsp)
callq 0x4300
movsd 0x48(%rsp), %xmm1
movq %rbp, %rdi
divsd %xmm0, %xmm1
movsd 0x30(%rsp), %xmm0
callq 0x1dab0
callq 0x54568
xorl %r14d, %r14d
ucomisd 0x7f6c9(%rip), %xmm0    # 0xa2d18
seta %r14b
cmpl %r14d, %r12d
sete %al
testl %ebx, %ebx
sete %cl
orb %al, %cl
jne 0x23682
addl 0x58(%rsp), %r13d
movq 0x70(%rsp), %rdi
movl 0x10(%rsp), %esi
movl %r13d, %edx
leaq 0x82150(%rip), %rcx     # 0xa57ca
xorl %r8d, %r8d
callq 0x22d13
incl %ebx
movl %r15d, %r13d
movl %r14d, %r12d
cmpl $0x1, %r15d
jg 0x235d6
movq 0x78(%rsp), %rcx
leal -0x1(%rcx), %eax
movl %r14d, %r12d
cmpl $0x1, %ecx
movl %eax, %ebx
movq 0x60(%rsp), %r15
jg 0x23561
jmp 0x236b4
movl %r12d, %r14d
cmpl $0x2, %r15d
jl 0x2385c
movsd 0x28(%rsp), %xmm1
subsd 0x20(%rsp), %xmm1
movapd 0x90(%rsp), %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
movsd 0x50(%rsp), %xmm1
subsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x48(%rsp)
movl $0x1, %ebx
movsd 0x7ee1d(%rip), %xmm0    # 0xa2520
leaq 0x38b8ce(%rip), %r12    # 0x3aefd8
movsd %xmm0, 0x78(%rsp)
mulsd 0xa8(%rsp), %xmm0
addsd 0x20(%rsp), %xmm0
leaq 0x38b882(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq (%r12), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7f5c3(%rip), %xmm0    # 0xa2d08
jb 0x2374d
sqrtsd %xmm0, %xmm0
jmp 0x23752
callq 0x4300
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x68(%rsp), %rax
movq %rbx, 0x58(%rsp)
addl %eax, %ebx
movl $0x1, %r13d
movsd 0x7eda4(%rip), %xmm1    # 0xa2520
movl %r14d, %r15d
movsd %xmm1, 0x30(%rsp)
mulsd 0x48(%rsp), %xmm1
addsd 0x18(%rsp), %xmm1
leaq 0x38b810(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd (%rax), %xmm1
movq (%r12), %rax
movsd (%rax), %xmm0
ucomisd 0x7f559(%rip), %xmm0    # 0xa2d08
jb 0x237b7
sqrtsd %xmm0, %xmm0
jmp 0x237c8
movsd %xmm1, 0x10(%rsp)
callq 0x4300
movsd 0x10(%rsp), %xmm1
movq %rbp, %rdi
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
movsd 0x8(%rsp), %xmm1
callq 0x1dab0
callq 0x54568
xorl %r14d, %r14d
ucomisd 0x7f52a(%rip), %xmm0    # 0xa2d18
seta %r14b
cmpl $0x1, %r13d
je 0x2381f
cmpl %r14d, %r15d
je 0x2381f
movq 0x88(%rsp), %rax
leal (%rax,%r13), %esi
movq 0x70(%rsp), %rdi
movl %ebx, %edx
leaq 0x81fb3(%rip), %rcx     # 0xa57ca
xorl %r8d, %r8d
callq 0x22d13
movsd 0x30(%rsp), %xmm1
addsd 0x7ecf3(%rip), %xmm1    # 0xa2520
incl %r13d
movq 0x60(%rsp), %r15
cmpl %r13d, %r15d
jne 0x2377c
movsd 0x78(%rsp), %xmm0
addsd 0x7ecd4(%rip), %xmm0    # 0xa2520
movq 0x58(%rsp), %rbx
incl %ebx
cmpl %r15d, %ebx
jne 0x2370a
cmpl $0x2, %r15d
movq 0x80(%rsp), %rbx
jl 0x23a04
movsd 0x28(%rsp), %xmm1
subsd 0x20(%rsp), %xmm1
movapd 0x90(%rsp), %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x78(%rsp)
movsd 0x50(%rsp), %xmm1
subsd 0x18(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x88(%rsp), %rax
decl %eax
movl %eax, 0x58(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
mulsd 0x78(%rsp), %xmm0
addsd 0x20(%rsp), %xmm0
leaq 0x38b6dd(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x38b6f8(%rip), %rax    # 0x3aefd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7f418(%rip), %xmm0    # 0xa2d08
jb 0x238f8
sqrtsd %xmm0, %xmm0
jmp 0x238fd
callq 0x4300
movsd 0x30(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rsp)
movq 0x68(%rsp), %rax
movq %rbx, 0x80(%rsp)
addl %ebx, %eax
movl %eax, 0x10(%rsp)
xorl %r12d, %r12d
movl %r15d, %r13d
leal -0x1(%r13), %ebx
xorps %xmm1, %xmm1
cvtsi2sd %ebx, %xmm1
mulsd 0x8(%rsp), %xmm1
addsd 0x18(%rsp), %xmm1
leaq 0x38b664(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd (%rax), %xmm1
leaq 0x38b686(%rip), %rax    # 0x3aefd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x7f3a7(%rip), %xmm0    # 0xa2d08
jb 0x23969
sqrtsd %xmm0, %xmm0
jmp 0x2397a
movsd %xmm1, 0x48(%rsp)
callq 0x4300
movsd 0x48(%rsp), %xmm1
divsd %xmm0, %xmm1
movq %rbp, %rdi
movapd %xmm1, %xmm0
movsd 0x30(%rsp), %xmm1
callq 0x1dab0
callq 0x54568
xorl %r15d, %r15d
ucomisd 0x7f378(%rip), %xmm0    # 0xa2d18
seta %r15b
cmpl %r15d, %r14d
sete %al
testl %r12d, %r12d
sete %cl
orb %al, %cl
jne 0x239d4
addl 0x58(%rsp), %r13d
movq 0x70(%rsp), %rdi
movl %r13d, %esi
movl 0x10(%rsp), %edx
leaq 0x81dfe(%rip), %rcx     # 0xa57ca
xorl %r8d, %r8d
callq 0x22d13
incl %r12d
movl %ebx, %r13d
movl %r15d, %r14d
cmpl $0x1, %ebx
jg 0x23926
movq 0x80(%rsp), %rcx
leal -0x1(%rcx), %eax
movl %r15d, %r14d
cmpl $0x1, %ecx
movl %eax, %ebx
movq 0x60(%rsp), %r15
jg 0x238b1
movsd 0xae1b4(%rip), %xmm0    # 0xd1bc0
movsd 0xae1b4(%rip), %xmm1    # 0xd1bc8
movsd 0xae1b4(%rip), %xmm2    # 0xd1bd0
leaq 0x8149a(%rip), %rsi     # 0xa4ebd
movq 0x70(%rsp), %rdi
movb $0x3, %al
callq 0x42e0
movq %rbp, 0x8(%rsp)
cmpl $-0x1, 0x30(%rbp)
je 0x23c25
testl %r15d, %r15d
jle 0x23de1
movsd 0x50(%rsp), %xmm0
subsd 0x18(%rsp), %xmm0
divsd 0x90(%rsp), %xmm0
movsd %xmm0, 0x58(%rsp)
movl %r15d, %r14d
negl %r14d
leaq 0x38b539(%rip), %r13    # 0x3aefa8
leaq 0x38b562(%rip), %r12    # 0x3aefd8
movq 0x88(%rsp), %r15
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
movq 0x68(%rsp), %rbp
movaps %xmm3, %xmm2
movsd %xmm0, 0x48(%rsp)
movapd %xmm0, %xmm3
mulsd 0x58(%rsp), %xmm3
addsd 0x18(%rsp), %xmm3
movq (%r13), %rax
subsd (%rax), %xmm3
movq (%r12), %rax
movsd (%rax), %xmm0
ucomisd 0x7f24e(%rip), %xmm0    # 0xa2d08
movsd %xmm2, 0x10(%rsp)
jb 0x23ac8
sqrtsd %xmm0, %xmm0
jmp 0x23ad9
movapd %xmm3, 0x30(%rsp)
callq 0x4300
movapd 0x30(%rsp), %xmm3
divsd %xmm0, %xmm3
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rdx
mulsd (%rdx), %xmm3
addsd (%rcx), %xmm3
xorpd 0x7f6d3(%rip), %xmm3    # 0xa31d0
movq 0x10(%rax), %rax
divsd (%rax), %xmm3
movq (%r12), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7f1f2(%rip), %xmm0    # 0xa2d08
jb 0x23b1e
sqrtsd %xmm0, %xmm0
jmp 0x23b2f
movapd %xmm3, 0x30(%rsp)
callq 0x4300
movapd 0x30(%rsp), %xmm3
movsd 0x10(%rsp), %xmm2
mulsd %xmm0, %xmm3
movq (%r13), %rax
addsd 0x8(%rax), %xmm3
subl $0x1, %ebx
jb 0x23c06
ucomisd 0x20(%rsp), %xmm3
jb 0x23c06
movsd 0x28(%rsp), %xmm0
ucomisd %xmm3, %xmm0
jb 0x23c06
ucomisd 0x20(%rsp), %xmm2
jb 0x23c06
movsd 0x28(%rsp), %xmm0
ucomisd %xmm2, %xmm0
jb 0x23c06
movapd %xmm2, %xmm0
movl %ebp, %edi
movl %ebx, 0x10(%rsp)
movq %r12, %rbx
movl 0xb0(%rsp), %r12d
movl %r12d, %esi
movapd %xmm3, 0x30(%rsp)
movsd 0x20(%rsp), %xmm1
movsd 0x28(%rsp), %xmm2
callq 0x2de2d
movl %eax, 0x80(%rsp)
movapd 0x30(%rsp), %xmm0
movl %ebp, %edi
movl %r12d, %esi
movq %rbx, %r12
movl 0x10(%rsp), %ebx
movsd 0x20(%rsp), %xmm1
movsd 0x28(%rsp), %xmm2
callq 0x2de2d
leal -0x1(%r15), %edx
movq 0x70(%rsp), %rdi
leaq 0x81416(%rip), %rsi     # 0xa5002
movl 0x80(%rsp), %ecx
movl %r15d, %r8d
movl %eax, %r9d
xorl %eax, %eax
callq 0x42e0
movapd 0x30(%rsp), %xmm3
movsd 0x48(%rsp), %xmm0
addsd 0x7e90c(%rip), %xmm0    # 0xa2520
incl %r15d
cmpl %ebx, %r14d
jne 0x23a89
jmp 0x23de1
movq 0x8(%rsp), %rax
cmpl $0x0, 0x60(%rax)
setne %al
testl %r15d, %r15d
setle %cl
orb %al, %cl
jne 0x23faf
movsd 0x50(%rsp), %xmm0
subsd 0x18(%rsp), %xmm0
movapd 0x90(%rsp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x50(%rsp)
movsd 0x28(%rsp), %xmm0
subsd 0x20(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x28(%rsp)
xorl %r14d, %r14d
leaq 0x38b35a(%rip), %rbx    # 0x3aefd8
leaq 0x81b45(%rip), %r12     # 0xa57ca
xorpd %xmm0, %xmm0
movsd %xmm0, 0x58(%rsp)
mulsd 0x50(%rsp), %xmm0
addsd 0x18(%rsp), %xmm0
leaq 0x38b306(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq (%rbx), %rax
movsd (%rax), %xmm0
ucomisd 0x7f04a(%rip), %xmm0    # 0xa2d08
jb 0x23cc6
sqrtsd %xmm0, %xmm0
jmp 0x23ccb
callq 0x4300
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x88(%rsp), %rax
movq %r14, 0x10(%rsp)
leal (%r14,%rax), %r13d
xorl %r15d, %r15d
xorpd %xmm0, %xmm0
movsd %xmm0, 0x30(%rsp)
movapd %xmm0, %xmm1
mulsd 0x28(%rsp), %xmm1
addsd 0x20(%rsp), %xmm1
leaq 0x38b298(%rip), %rax    # 0x3aefa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm1
movq (%rbx), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7efe0(%rip), %xmm0    # 0xa2d08
jb 0x23d30
sqrtsd %xmm0, %xmm0
jmp 0x23d41
movsd %xmm1, 0x48(%rsp)
callq 0x4300
movsd 0x48(%rsp), %xmm1
movq %rbp, %rdi
divsd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
callq 0x1dab0
callq 0x54568
movsd 0x7e7c0(%rip), %xmm1    # 0xa2520
subsd %xmm0, %xmm1
movq 0x70(%rsp), %r14
movq %r14, %rdi
leaq 0x8114a(%rip), %rsi     # 0xa4ebd
movapd %xmm1, %xmm0
movapd %xmm1, %xmm2
movb $0x3, %al
callq 0x42e0
movq 0x68(%rsp), %rax
leal (%rax,%r15), %edx
movq %r14, %rdi
movl %r13d, %esi
movq %r12, %rcx
movl $0x2, %r8d
callq 0x22d13
movsd 0x30(%rsp), %xmm0
addsd 0x7e773(%rip), %xmm0    # 0xa2520
incl %r15d
cmpl %r15d, 0x60(%rsp)
jne 0x23cf3
movsd 0x58(%rsp), %xmm0
addsd 0x7e757(%rip), %xmm0    # 0xa2520
movq 0x10(%rsp), %r14
incl %r14d
cmpl 0x60(%rsp), %r14d
jne 0x23c89
jmp 0x23faf
cmpl $0x0, 0x60(%rsp)
jle 0x23faf
movsd 0x28(%rsp), %xmm0
subsd 0x20(%rsp), %xmm0
divsd 0x90(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
movq 0x60(%rsp), %rax
negl %eax
movq %rax, 0x60(%rsp)
leaq 0x38b18e(%rip), %r13    # 0x3aefa8
leaq 0x38b1b7(%rip), %r14    # 0x3aefd8
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
movq 0x88(%rsp), %r15
movl 0xb4(%rsp), %r12d
movapd %xmm3, %xmm2
movsd %xmm0, 0x48(%rsp)
movapd %xmm0, %xmm3
mulsd 0x28(%rsp), %xmm3
addsd 0x20(%rsp), %xmm3
movq (%r13), %rax
subsd 0x8(%rax), %xmm3
movq (%r14), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7ee9e(%rip), %xmm0    # 0xa2d08
movsd %xmm2, 0x10(%rsp)
jb 0x23e78
sqrtsd %xmm0, %xmm0
jmp 0x23e89
movapd %xmm3, 0x30(%rsp)
callq 0x4300
movapd 0x30(%rsp), %xmm3
divsd %xmm0, %xmm3
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x10(%rax), %rcx
mulsd (%rcx), %xmm3
movq (%rax), %rcx
addsd (%rcx), %xmm3
movq 0x8(%rax), %rax
xorpd 0x7f31f(%rip), %xmm3    # 0xa31d0
divsd (%rax), %xmm3
movq (%r14), %rax
movsd (%rax), %xmm0
ucomisd 0x7ee44(%rip), %xmm0    # 0xa2d08
jb 0x23ecc
sqrtsd %xmm0, %xmm0
jmp 0x23edd
movapd %xmm3, 0x30(%rsp)
callq 0x4300
movapd 0x30(%rsp), %xmm3
movsd 0x10(%rsp), %xmm2
mulsd %xmm0, %xmm3
movq (%r13), %rax
addsd (%rax), %xmm3
subl $0x1, %ebx
jb 0x23f8b
ucomisd 0x18(%rsp), %xmm3
jb 0x23f8b
movsd 0x50(%rsp), %xmm0
ucomisd %xmm3, %xmm0
jb 0x23f8b
ucomisd 0x18(%rsp), %xmm2
jb 0x23f8b
movsd 0x50(%rsp), %xmm0
ucomisd %xmm2, %xmm0
jb 0x23f8b
movapd %xmm2, %xmm0
movl %r15d, %edi
movl %r12d, %esi
movapd %xmm3, 0x30(%rsp)
movsd 0x18(%rsp), %xmm1
movsd 0x50(%rsp), %xmm2
callq 0x2de2d
movl %eax, %ebp
movapd 0x30(%rsp), %xmm0
movl %r15d, %edi
movl %r12d, %esi
movsd 0x18(%rsp), %xmm1
movsd 0x50(%rsp), %xmm2
callq 0x2de2d
movq 0x68(%rsp), %r9
leal -0x1(%r9), %ecx
movq 0x70(%rsp), %rdi
leaq 0x81089(%rip), %rsi     # 0xa5002
movl %ebp, %edx
movl %eax, %r8d
xorl %eax, %eax
callq 0x42e0
movapd 0x30(%rsp), %xmm3
movsd 0x48(%rsp), %xmm0
addsd 0x7e587(%rip), %xmm0    # 0xa2520
movq 0x68(%rsp), %rax
incl %eax
movq %rax, 0x68(%rsp)
cmpl %ebx, 0x60(%rsp)
jne 0x23e37
movsd 0xadc09(%rip), %xmm0    # 0xd1bc0
movsd 0xadc09(%rip), %xmm1    # 0xd1bc8
movsd 0xadc09(%rip), %xmm2    # 0xd1bd0
leaq 0x80eef(%rip), %rsi     # 0xa4ebd
movq 0x70(%rsp), %rdi
movb $0x3, %al
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42e0