// File: /workspace/github_c_makefile_star2_O2/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 $0xa8, %rsp
movl %edx, %ecx
leaq 0xacaa4(%rip), %rax     # 0xcd870
movq (%rax), %rax
movsd 0x30f10(%rax), %xmm2
movsd %xmm2, 0x30(%rsp)
movsd 0x30f18(%rax), %xmm2
movsd %xmm2, 0x70(%rsp)
movsd 0x31250(%rax), %xmm2
movsd %xmm2, 0x38(%rsp)
cvtsi2sd %edx, %xmm2
mulsd 0x76f53(%rip), %xmm2    # 0x97d58
cvttsd2si %xmm2, %ebx
movsd 0x31258(%rax), %xmm3
movsd %xmm3, 0x80(%rsp)
pushq $0x2
popq %r8
movl %ebx, %eax
cltd
idivl %r8d
cvtsi2sd %eax, %xmm3
movapd %xmm0, %xmm4
subsd %xmm3, %xmm4
cvttsd2si %xmm4, %edx
addsd %xmm0, %xmm3
cvttsd2si %xmm3, %r8d
addl %ecx, %ecx
cvtsi2sd %ecx, %xmm0
movq %rsi, 0x68(%rsp)
subsd %xmm0, %xmm1
cvttsd2si %xmm1, %ecx
cvttpd2dq %xmm2, %xmm0
cvtdq2pd %xmm0, %xmm0
movapd %xmm0, 0x90(%rsp)
movq %rdi, %r14
subsd %xmm0, %xmm1
cvttsd2si %xmm1, %r15d
leaq 0x771aa(%rip), %rsi     # 0x9801e
movq %rdx, 0x50(%rsp)
movl %ecx, 0xa4(%rsp)
movl %r8d, 0xa0(%rsp)
movl %r15d, %r9d
xorl %eax, %eax
callq 0x42e0
pushq $0x1
popq %r12
movq %r14, 0x48(%rsp)
movq %r14, %rdi
movl %r12d, %esi
callq 0x2004b
movsd 0x70(%rsp), %xmm0
subsd 0x30(%rsp), %xmm0
movapd 0x90(%rsp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x60(%rsp)
movsd 0x80(%rsp), %xmm0
subsd 0x38(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x90(%rsp)
movq %rbx, 0x78(%rsp)
leal -0x1(%rbx), %r14d
movq %r15, 0x58(%rsp)
leal 0x1(%r15), %r13d
movsd 0x74625(%rip), %xmm0    # 0x95520
cmpl 0x78(%rsp), %r12d
jge 0x2105a
movsd %xmm0, 0x88(%rsp)
mulsd 0x60(%rsp), %xmm0
addsd 0x30(%rsp), %xmm0
leaq 0x389086(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x3890a3(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x74dd4(%rip), %xmm0    # 0x95d18
jb 0x20f4c
sqrtsd %xmm0, %xmm0
jmp 0x20f51
callq 0x4300
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq 0x50(%rsp), %rax
movq %r12, 0x40(%rsp)
leal (%r12,%rax), %ebx
xorl %r12d, %r12d
movsd 0x745a8(%rip), %xmm0    # 0x95520
cmpl %r12d, %r14d
je 0x2103c
movsd %xmm0, 0x10(%rsp)
movapd %xmm0, %xmm1
mulsd 0x90(%rsp), %xmm1
addsd 0x38(%rsp), %xmm1
leaq 0x389007(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm1
leaq 0x389028(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x74d58(%rip), %xmm0    # 0x95d18
jb 0x20fc8
sqrtsd %xmm0, %xmm0
jmp 0x20fd9
movsd %xmm1, 0x28(%rsp)
callq 0x4300
movsd 0x28(%rsp), %xmm1
divsd %xmm0, %xmm1
movq 0x68(%rsp), %rdi
movsd (%rsp), %xmm0
callq 0x1bcb4
callq 0x4dd58
xorl %ebp, %ebp
ucomisd 0x74d25(%rip), %xmm0    # 0x95d20
seta %bpl
testl %r12d, %r12d
je 0x21023
cmpl %ebp, %r15d
je 0x21023
leal (%r12,%r13), %edx
movq 0x48(%rsp), %rdi
movl %ebx, %esi
leaq 0x77787(%rip), %rcx     # 0x987a2
xorl %r8d, %r8d
callq 0x20944
movsd 0x10(%rsp), %xmm0
addsd 0x744ef(%rip), %xmm0    # 0x95520
incl %r12d
movl %ebp, %r15d
jmp 0x20f78
movsd 0x88(%rsp), %xmm0
addsd 0x744d3(%rip), %xmm0    # 0x95520
movq 0x40(%rsp), %r12
incl %r12d
jmp 0x20efb
movq 0x78(%rsp), %rax
movq 0x58(%rsp), %rcx
addl %ecx, %eax
decl %eax
movl %eax, 0x28(%rsp)
movl %r14d, %ebx
testl %ebx, %ebx
jle 0x211b3
cvtsi2sd %ebx, %xmm0
mulsd 0x60(%rsp), %xmm0
addsd 0x30(%rsp), %xmm0
leaq 0x388f1a(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
leaq 0x388f36(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x74c67(%rip), %xmm0    # 0x95d18
jb 0x210b9
sqrtsd %xmm0, %xmm0
jmp 0x210be
callq 0x4300
movsd 0x10(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movq 0x50(%rsp), %rax
movq %rbx, 0x40(%rsp)
addl %eax, %ebx
xorl %r12d, %r12d
movl %r12d, %r13d
leal (%r14,%r13), %eax
testl %eax, %eax
jle 0x211a7
cvtsi2sd %eax, %xmm1
mulsd 0x90(%rsp), %xmm1
addsd 0x38(%rsp), %xmm1
leaq 0x388ea2(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm1
leaq 0x388ec3(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x74bf3(%rip), %xmm0    # 0x95d18
jb 0x2112d
sqrtsd %xmm0, %xmm0
jmp 0x2113c
movsd %xmm1, (%rsp)
callq 0x4300
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movq 0x68(%rsp), %rdi
movsd 0x10(%rsp), %xmm0
callq 0x1bcb4
callq 0x4dd58
xorl %ebp, %ebp
ucomisd 0x74bc1(%rip), %xmm0    # 0x95d20
seta %bpl
cmpl %ebp, %r15d
sete %al
movl %r13d, %r12d
subl $0x1, %r12d
setb %cl
orb %al, %cl
movl %ebp, %r15d
testb $0x1, %cl
jne 0x210dd
addl 0x28(%rsp), %r13d
movq 0x48(%rsp), %rdi
movl %ebx, %esi
movl %r13d, %edx
leaq 0x7760b(%rip), %rcx     # 0x987a2
xorl %r8d, %r8d
callq 0x20944
movl %ebp, %r15d
jmp 0x210dd
movq 0x40(%rsp), %rbx
decl %ebx
jmp 0x2106f
movq 0x50(%rsp), %rax
leal 0x1(%rax), %r13d
pushq $0x1
popq %rbx
movsd 0x74359(%rip), %xmm0    # 0x95520
cmpl 0x78(%rsp), %ebx
jge 0x21322
movsd %xmm0, 0x88(%rsp)
mulsd 0x90(%rsp), %xmm0
addsd 0x38(%rsp), %xmm0
leaq 0x388db8(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x388dd4(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x74b04(%rip), %xmm0    # 0x95d18
jb 0x2121c
sqrtsd %xmm0, %xmm0
jmp 0x21221
callq 0x4300
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq 0x58(%rsp), %rax
movq %rbx, 0x40(%rsp)
addl %eax, %ebx
xorl %r12d, %r12d
movsd 0x742da(%rip), %xmm1    # 0x95520
cmpl %r12d, %r14d
je 0x21305
movsd %xmm1, 0x10(%rsp)
mulsd 0x60(%rsp), %xmm1
addsd 0x30(%rsp), %xmm1
leaq 0x388d40(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd (%rax), %xmm1
leaq 0x388d62(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x74a93(%rip), %xmm0    # 0x95d18
jb 0x2128d
sqrtsd %xmm0, %xmm0
jmp 0x2129e
movsd %xmm1, 0x28(%rsp)
callq 0x4300
movsd 0x28(%rsp), %xmm1
divsd %xmm0, %xmm1
movq 0x68(%rsp), %rdi
movapd %xmm1, %xmm0
movsd (%rsp), %xmm1
callq 0x1bcb4
callq 0x4dd58
xorl %ebp, %ebp
ucomisd 0x74a5c(%rip), %xmm0    # 0x95d20
seta %bpl
testl %r12d, %r12d
je 0x212ec
cmpl %ebp, %r15d
je 0x212ec
leal (%r12,%r13), %esi
movq 0x48(%rsp), %rdi
movl %ebx, %edx
leaq 0x774be(%rip), %rcx     # 0x987a2
xorl %r8d, %r8d
callq 0x20944
movsd 0x10(%rsp), %xmm1
addsd 0x74226(%rip), %xmm1    # 0x95520
incl %r12d
movl %ebp, %r15d
jmp 0x21246
movsd 0x88(%rsp), %xmm0
addsd 0x7420a(%rip), %xmm0    # 0x95520
movq 0x40(%rsp), %rbx
incl %ebx
jmp 0x211c7
movq 0x78(%rsp), %rax
movq 0x50(%rsp), %rcx
addl %ecx, %eax
decl %eax
movl %eax, 0x28(%rsp)
movl %r14d, %ebx
testl %ebx, %ebx
jle 0x2147f
cvtsi2sd %ebx, %xmm0
mulsd 0x90(%rsp), %xmm0
addsd 0x38(%rsp), %xmm0
leaq 0x388c4f(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
leaq 0x388c6a(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x7499a(%rip), %xmm0    # 0x95d18
jb 0x21386
sqrtsd %xmm0, %xmm0
jmp 0x2138b
callq 0x4300
movsd 0x10(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movq 0x58(%rsp), %rax
movq %rbx, 0x40(%rsp)
addl %eax, %ebx
xorl %r12d, %r12d
movl %r12d, %r13d
leal (%r14,%r13), %eax
testl %eax, %eax
jle 0x21473
cvtsi2sd %eax, %xmm1
mulsd 0x60(%rsp), %xmm1
addsd 0x30(%rsp), %xmm1
leaq 0x388bd8(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd (%rax), %xmm1
leaq 0x388bfa(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x7492b(%rip), %xmm0    # 0x95d18
jb 0x213f5
sqrtsd %xmm0, %xmm0
jmp 0x21404
movsd %xmm1, (%rsp)
callq 0x4300
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movq 0x68(%rsp), %rdi
movapd %xmm1, %xmm0
movsd 0x10(%rsp), %xmm1
callq 0x1bcb4
callq 0x4dd58
xorl %ebp, %ebp
ucomisd 0x748f5(%rip), %xmm0    # 0x95d20
seta %bpl
cmpl %ebp, %r15d
sete %al
movl %r13d, %r12d
subl $0x1, %r12d
setb %cl
orb %al, %cl
movl %ebp, %r15d
testb $0x1, %cl
jne 0x213aa
addl 0x28(%rsp), %r13d
movq 0x48(%rsp), %rdi
movl %r13d, %esi
movl %ebx, %edx
leaq 0x7733f(%rip), %rcx     # 0x987a2
xorl %r8d, %r8d
callq 0x20944
movl %ebp, %r15d
jmp 0x213aa
movq 0x40(%rsp), %rbx
decl %ebx
jmp 0x21337
xorl %r14d, %r14d
movq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x2004b
movq 0x68(%rsp), %rax
cmpl $-0x1, 0x30(%rax)
je 0x217ec
movq 0x78(%rsp), %r15
testl %r15d, %r15d
cmovlel %r14d, %r15d
movq 0x50(%rsp), %rax
leal -0x1(%rax), %r13d
xorpd %xmm0, %xmm0
movq 0x58(%rsp), %r12
movl 0xa4(%rsp), %ebp
movapd %xmm4, %xmm3
cmpl %r14d, %r15d
je 0x2164d
movsd %xmm0, 0x28(%rsp)
movapd %xmm0, %xmm4
mulsd 0x60(%rsp), %xmm4
addsd 0x30(%rsp), %xmm4
leaq 0x388abc(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd (%rax), %xmm4
leaq 0x388ade(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x7480f(%rip), %xmm0    # 0x95d18
movapd %xmm3, 0x10(%rsp)
jb 0x21517
sqrtsd %xmm0, %xmm0
jmp 0x21526
movapd %xmm4, (%rsp)
callq 0x4300
movapd (%rsp), %xmm4
divsd %xmm0, %xmm4
movq 0x68(%rsp), %rax
movq 0x40(%rax), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rdx
mulsd (%rdx), %xmm4
addsd (%rcx), %xmm4
xorpd 0x74c86(%rip), %xmm4    # 0x961d0
movq 0x10(%rax), %rax
divsd (%rax), %xmm4
leaq 0x388a7f(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x747af(%rip), %xmm0    # 0x95d18
jb 0x21571
sqrtsd %xmm0, %xmm0
jmp 0x21580
movapd %xmm4, (%rsp)
callq 0x4300
movapd (%rsp), %xmm4
movapd 0x10(%rsp), %xmm1
mulsd %xmm0, %xmm4
leaq 0x388a17(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
addsd 0x8(%rax), %xmm4
testl %r14d, %r14d
je 0x21637
ucomisd 0x38(%rsp), %xmm4
jb 0x21637
movsd 0x80(%rsp), %xmm0
ucomisd %xmm4, %xmm0
jb 0x21637
ucomisd 0x38(%rsp), %xmm1
jb 0x21637
movsd 0x80(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jb 0x21637
movapd %xmm1, %xmm0
movl %r12d, %edi
movl %ebp, %esi
movsd 0x38(%rsp), %xmm1
movapd %xmm4, (%rsp)
movsd 0x80(%rsp), %xmm2
callq 0x2a83b
movl %eax, %ebx
movapd (%rsp), %xmm0
movl %r12d, %edi
movl %ebp, %esi
movsd 0x38(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
callq 0x2a83b
movq 0x50(%rsp), %rcx
addl %r14d, %ecx
leal (%r13,%r14), %esi
movq 0x48(%rsp), %rdi
movl %ebx, %edx
movl %eax, %r8d
callq 0x20866
movapd (%rsp), %xmm4
movsd 0x28(%rsp), %xmm0
addsd 0x73edb(%rip), %xmm0    # 0x95520
incl %r14d
jmp 0x214c2
negl %r15d
xorl %ebp, %ebp
xorpd %xmm0, %xmm0
movl 0xa0(%rsp), %r12d
movq 0x50(%rsp), %r14
cmpl %ebp, %r15d
je 0x217f2
movapd %xmm3, %xmm2
movsd %xmm0, 0x60(%rsp)
movapd %xmm0, %xmm3
mulsd 0x90(%rsp), %xmm3
addsd 0x38(%rsp), %xmm3
leaq 0x388918(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm3
leaq 0x388939(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x74669(%rip), %xmm0    # 0x95d18
movsd %xmm2, (%rsp)
jb 0x216bc
sqrtsd %xmm0, %xmm0
jmp 0x216cd
movapd %xmm3, 0x10(%rsp)
callq 0x4300
movapd 0x10(%rsp), %xmm3
divsd %xmm0, %xmm3
movq 0x68(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x10(%rax), %rcx
mulsd (%rcx), %xmm3
movq (%rax), %rcx
addsd (%rcx), %xmm3
movq 0x8(%rax), %rax
xorpd 0x74adb(%rip), %xmm3    # 0x961d0
divsd (%rax), %xmm3
leaq 0x3888d8(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x74609(%rip), %xmm0    # 0x95d18
jb 0x21717
sqrtsd %xmm0, %xmm0
jmp 0x21728
movapd %xmm3, 0x10(%rsp)
callq 0x4300
movapd 0x10(%rsp), %xmm3
movsd (%rsp), %xmm2
mulsd %xmm0, %xmm3
leaq 0x388870(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
addsd (%rax), %xmm3
subl $0x1, %ebp
jb 0x217cd
ucomisd 0x30(%rsp), %xmm3
jb 0x217cd
movsd 0x70(%rsp), %xmm0
ucomisd %xmm3, %xmm0
jb 0x217cd
ucomisd 0x30(%rsp), %xmm2
jb 0x217cd
movsd 0x70(%rsp), %xmm0
ucomisd %xmm2, %xmm0
jb 0x217cd
movapd %xmm2, %xmm0
movl %r14d, %edi
movl %r12d, %esi
movapd %xmm3, 0x10(%rsp)
movsd 0x30(%rsp), %xmm1
movsd 0x70(%rsp), %xmm2
callq 0x2a83b
movl %eax, %ebx
movapd 0x10(%rsp), %xmm0
movl %r14d, %edi
movl %r12d, %esi
movsd 0x30(%rsp), %xmm1
movsd 0x70(%rsp), %xmm2
callq 0x2a83b
movq 0x58(%rsp), %r8
leal -0x1(%r8), %edx
movq 0x48(%rsp), %rdi
movl %ebx, %esi
movl %eax, %ecx
callq 0x20866
movapd 0x10(%rsp), %xmm3
movsd 0x60(%rsp), %xmm0
addsd 0x73d45(%rip), %xmm0    # 0x95520
movq 0x58(%rsp), %rax
incl %eax
movq %rax, 0x58(%rsp)
jmp 0x21663
cmpl $0x0, 0x60(%rax)
je 0x2180f
movq 0x48(%rsp), %rdi
xorl %esi, %esi
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2004b
xorl %r14d, %r14d
movq 0x78(%rsp), %rax
testl %eax, %eax
movl $0x0, %ecx
cmovgl %eax, %ecx
movl %ecx, 0x70(%rsp)
pushq $0x2
popq %rbx
xorpd %xmm0, %xmm0
movq 0x68(%rsp), %r15
movq 0x48(%rsp), %rbp
cmpl 0x70(%rsp), %r14d
je 0x217f2
movsd %xmm0, 0x88(%rsp)
mulsd 0x60(%rsp), %xmm0
addsd 0x30(%rsp), %xmm0
leaq 0x38874f(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd (%rax), %xmm0
movsd %xmm0, (%rsp)
leaq 0x38876c(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd (%rax), %xmm0
ucomisd 0x7449d(%rip), %xmm0    # 0x95d18
jb 0x21883
sqrtsd %xmm0, %xmm0
jmp 0x21888
callq 0x4300
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq 0x50(%rsp), %rax
movq %r14, 0x40(%rsp)
leal (%r14,%rax), %r13d
xorpd %xmm0, %xmm0
movq 0x58(%rsp), %rax
movl %eax, %r14d
movq 0x78(%rsp), %rax
movl %eax, %r12d
subl $0x1, %r12d
jb 0x21983
movsd %xmm0, 0x10(%rsp)
movapd %xmm0, %xmm1
mulsd 0x90(%rsp), %xmm1
addsd 0x38(%rsp), %xmm1
leaq 0x3886c6(%rip), %rax    # 0x3a9fa8
movq (%rax), %rax
subsd 0x8(%rax), %xmm1
leaq 0x3886e7(%rip), %rax    # 0x3a9fd8
movq (%rax), %rax
movsd 0x8(%rax), %xmm0
ucomisd 0x74417(%rip), %xmm0    # 0x95d18
jb 0x21909
sqrtsd %xmm0, %xmm0
jmp 0x2191a
movsd %xmm1, 0x28(%rsp)
callq 0x4300
movsd 0x28(%rsp), %xmm1
divsd %xmm0, %xmm1
movq %r15, %rdi
movsd (%rsp), %xmm0
callq 0x1bcb4
callq 0x4dd58
movsd 0x73be8(%rip), %xmm1    # 0x95520
subsd %xmm0, %xmm1
movq %rbp, %rdi
leaq 0x7654f(%rip), %rsi     # 0x97e95
movapd %xmm1, %xmm0
movapd %xmm1, %xmm2
movb $0x3, %al
callq 0x42e0
movq %rbp, %rdi
movl %r13d, %esi
movl %r14d, %edx
leaq 0x76e3d(%rip), %rcx     # 0x987a2
movl %ebx, %r8d
callq 0x20944
movsd 0x10(%rsp), %xmm0
addsd 0x73ba5(%rip), %xmm0    # 0x95520
incl %r14d
jmp 0x218b8
movsd 0x88(%rsp), %xmm0
addsd 0x73b8c(%rip), %xmm0    # 0x95520
movq 0x40(%rsp), %r14
incl %r14d
jmp 0x21836