// File: /workspace/github_c_makefile_star2_O3/hyc[P]trek73c/trekx.c
// Function: EStrat
void EStrat()
{
  struct LOC_EStrat V;
  int I;
  boolean Nrm;

  V.Targ = 1;
  V.Sh = TCount;
  if (Ships[0] != NULL) {
    V.Rnge = Range(V.Sh, V.Targ-1);
    V.Bear = Bearing(V.Sh, V.Targ-1);
    V.Bear = RMod(V.Bear - Objects[V.Sh]->Act_Crs);
  }
  if (Win > 0 && Win < 6) {
    switch (Win) {

    case 2:
    case 3:
      Retreat(&V);
      break;

    case 4:
    case 5:
      Desist(&V);
      break;
    }
    return;
  }
  for (I = 0; I < 4; I++) {
    if (Ct[I] > 0 && Ct[I] < 6) {
      switch (I) {

      case 0:
	Ruse(&V);
	break;

      case 1:
	Bluff(&V);
	break;

      case 2:
	Surr(&V);
	break;

      case 3:
	if (Ct[2]<3)
	  ESurr(&V);	/* No contemplation if waiting for your surrender */
	break;
      }
    }
  }
  Nrm = true;
  for (I = 0; I<4; I++)
    if (Ct[I] > 0 && Ct[I] < 6) {
      Nrm = false;
      break;
    }
  if (!Nrm) {	/* Check for unsportsmanlike firing... */
    for (I = 0; I < Phasers; I++)
      if (Ships[0]->Pstat[I] > 99) {
	Nrm = true;
	break;
      }
    if (!Nrm)
      for (I = 0; I < Tubes; I++)
	if (Ships[0]->Tstat[I] > 99) {
	  Nrm = true;
	  break;
	}
    if (Nrm) {
      sprintf(scrstr,"%s:  How dare you fire upon us!  We are resuming our",
	Capt);
      SEndln();
      waddstr(Cmdwin,"   attack!");
      Endln();
      Win = 0;
      for (I = 0; I<4; I++)
	if (Ct[I])
	  Ct[I] = 6;
    } else {
      Nrm = true;
      for (I = 0; I <= 3; I++)
        if (Ct[I] > 0 && Ct[I] < 6) {
          Nrm = false;
	  break;
        }
      if (Win == 4 || Win == 5)
        Nrm = false;
    }
  }
  if (Nrm)
    Normal(&V);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl $0x1, 0x1c(%rsp)
movslq 0xcea2(%rip), %rbx      # 0x13a38
movl %ebx, 0x18(%rsp)
cmpq $0x0, 0xcdee(%rip)      # 0x13990
je 0x6be1
movq 0xca45(%rip), %rax      # 0x135f0
testq %rax, %rax
je 0x6be6
movsd 0x38(%rax), %xmm0
leaq 0xca34(%rip), %rcx      # 0x135f0
movq (%rcx,%rbx,8), %rcx
subsd 0x38(%rcx), %xmm0
movsd 0x40(%rcx), %xmm1
subsd 0x40(%rax), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
sqrtsd %xmm0, %xmm0
jmp 0x6bee
jmp 0x6c8b
movsd 0x657a(%rip), %xmm0     # 0xd168
movsd %xmm0, 0x10(%rsp)
movsd %xmm0, 0x28(%rsp)
movl %ebx, %edi
xorl %esi, %esi
callq 0x3e93
leaq 0xc9e6(%rip), %rax      # 0x135f0
movq (%rax,%rbx,8), %rax
subsd 0x10(%rax), %xmm0
movsd %xmm0, (%rsp)
movsd 0x6530(%rip), %xmm2     # 0xd150
divsd %xmm2, %xmm0
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x22b0
movsd 0x651f(%rip), %xmm0     # 0xd158
movsd (%r14), %xmm1
mulsd %xmm0, %xmm1
addsd (%rsp), %xmm1
addsd %xmm1, %xmm0
movsd 0x64fd(%rip), %xmm3     # 0xd150
movapd %xmm3, %xmm2
cmpnlesd %xmm1, %xmm2
andpd %xmm2, %xmm1
andnpd %xmm0, %xmm2
orpd %xmm1, %xmm2
addsd %xmm2, %xmm3
xorpd %xmm0, %xmm0
movapd %xmm2, %xmm1
cmpltsd %xmm0, %xmm1
andpd %xmm1, %xmm3
andnpd %xmm2, %xmm1
orpd %xmm3, %xmm1
movlpd %xmm1, 0x20(%rsp)
movzbl 0xc956(%rip), %eax      # 0x135e8
leal -0x1(%rax), %ecx
cmpb $0x5, %cl
jae 0x6cc1
leal -0x4(%rax), %ecx
cmpl $0x2, %ecx
jb 0x7618
addl $-0x2, %eax
cmpl $0x1, %eax
ja 0x78ca
leaq 0x18(%rsp), %rdi
callq 0x7a4f
jmp 0x78ca
leaq 0xc91c(%rip), %r14      # 0x135e4
leaq 0x6655(%rip), %r12      # 0xd324
leaq 0xc91a(%rip), %rbp      # 0x135f0
leaq 0xc7d3(%rip), %r15      # 0x134b0
xorpd %xmm2, %xmm2
xorl %r13d, %r13d
movapd %xmm1, (%rsp)
movb (%r13,%r14), %al
decb %al
cmpb $0x4, %al
ja 0x754e
movl %r13d, %eax
movslq (%r12,%rax,4), %rax
addq %r12, %rax
jmpq *%rax
movzbl 0xc8d9(%rip), %eax      # 0x135e4
decl %eax
cmpl $0x4, %eax
ja 0x754e
leaq 0x6617(%rip), %rcx      # 0xd334
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x22e0
sarl $0x3, %eax
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x22, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cmpl $0x3, %eax
jl 0x7319
movq 0xcc9d(%rip), %rdi      # 0x139f8
leaq 0x93ca(%rip), %rsi      # 0x1012c
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x6, 0xc86c(%rip)      # 0x135e4
jmp 0x7545
movzbl 0xc862(%rip), %eax      # 0x135e6
leal -0x3(%rax), %ecx
cmpl $0x3, %ecx
jae 0x6f5e
movq 0xcbf9(%rip), %rax      # 0x13990
xorl %ecx, %ecx
movsd 0x80(%rax,%rcx,8), %xmm0
ucomisd %xmm2, %xmm0
jne 0x754e
jp 0x754e
incq %rcx
cmpq $0x4, %rcx
jne 0x6d99
movsd 0x6475(%rip), %xmm0     # 0xd238
ucomisd 0x10(%rsp), %xmm0
jb 0x6dde
movq (%rbp,%rbx,8), %rax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
movsd 0x645a(%rip), %xmm0     # 0xd240
ucomisd 0x10(%rsp), %xmm0
jb 0x754e
movq 0xc7f7(%rip), %rax      # 0x135f0
movsd 0x6337(%rip), %xmm0     # 0xd138
ucomisd (%rax), %xmm0
jb 0x754e
movb $0x4, 0xc7d6(%rip)      # 0x135e8
jmp 0x754e
cmpb $0x2, 0xc7c8(%rip)      # 0x135e6
ja 0x754e
movzbl 0xc7bc(%rip), %eax      # 0x135e7
cmpl $0x2, %eax
je 0x742a
cmpl $0x1, %eax
jne 0x754e
movzbl 0xc79c(%rip), %eax      # 0x135e0
testq %rax, %rax
je 0x6e6f
xorl %ecx, %ecx
leaq 0xcb3e(%rip), %rdx      # 0x13990
movq 0x8(%rdx,%rcx,8), %rdx
testq %rdx, %rdx
je 0x6e67
cmpw $0x64, 0x1a(%rdx)
jg 0x7462
incq %rcx
cmpq %rcx, %rax
jne 0x6e4b
movq 0xcb0a(%rip), %rax      # 0x13980
cmpq 0xc44b(%rip), %rax      # 0x132c8
movl $0x32, %ebp
movl $0x5, %eax
cmovel %eax, %ebp
callq 0x22e0
sarl $0x3, %eax
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
subl %ecx, %eax
cmpl %ebp, %eax
jge 0x7411
movq 0xcacc(%rip), %rdx      # 0x13988
movq 0xc705(%rip), %rcx      # 0x135c8
movq %r15, %rdi
leaq 0x954a(%rip), %rsi      # 0x10417
xorl %eax, %eax
callq 0x21a0
movq 0xcb1d(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xcb04(%rip), %rdi      # 0x139f8
leaq 0x9556(%rip), %rsi      # 0x10451
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x2, 0xc6d6(%rip)      # 0x135e7
leaq 0xc6d8(%rip), %rbp      # 0x135f0
movapd (%rsp), %xmm1
xorpd %xmm2, %xmm2
jmp 0x742a
movzbl 0xc6b8(%rip), %eax      # 0x135e5
leal -0x3(%rax), %ecx
cmpl $0x3, %ecx
jae 0x70a0
movq 0xc6b0(%rip), %rax      # 0x135f0
movsd (%rax), %xmm0
ucomisd 0x62d4(%rip), %xmm0     # 0xd220
jbe 0x754e
movb $0x6, 0xc68c(%rip)      # 0x135e5
jmp 0x754e
cmpl $0x2, %eax
je 0x7090
cmpl $0x1, %eax
jne 0x754e
movq 0xca09(%rip), %rax      # 0x13980
movl $0x32, %ebp
cmpq 0xc345(%rip), %rax      # 0x132c8
jne 0x6fa7
movq 0xca6c(%rip), %rdi      # 0x139f8
leaq 0x935f(%rip), %rsi      # 0x102f2
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movl $0x5, %ebp
callq 0x22e0
sarl $0x3, %eax
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
subl %ecx, %eax
cmpl %eax, %ebp
jle 0x7357
leaq 0xc957(%rip), %rax      # 0x13930
movq (%rax,%rbx,8), %rdx
movq %r15, %rdi
leaq 0x9338(%rip), %rsi      # 0x1031f
xorl %eax, %eax
callq 0x21a0
movq 0xca03(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc97a(%rip), %rdx      # 0x13988
movq 0xc96b(%rip), %rcx      # 0x13980
movq %r15, %rdi
leaq 0x9327(%rip), %rsi      # 0x10346
xorl %eax, %eax
callq 0x21a0
movq 0xc9cb(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc9b2(%rip), %rdi      # 0x139f8
leaq 0x9333(%rip), %rsi      # 0x10380
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc995(%rip), %rdi      # 0x139f8
leaq 0x934f(%rip), %rsi      # 0x103b9
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x2, 0xc566(%rip)      # 0x135e6
leaq 0xc569(%rip), %rbp      # 0x135f0
movapd (%rsp), %xmm1
xorpd %xmm2, %xmm2
movq (%rbp,%rbx,8), %rax
movw $0x1, 0x48(%rax)
jmp 0x754e
cmpl $0x2, %eax
je 0x7205
cmpl $0x1, %eax
jne 0x7545
movq 0xc8c7(%rip), %rax      # 0x13980
xorl %ecx, %ecx
cmpq 0xc206(%rip), %rax      # 0x132c8
sete %cl
leal 0x4(,%rcx,2), %ebp
callq 0x22e0
sarl $0x3, %eax
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x22, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movq 0xc888(%rip), %rdx      # 0x13980
movq %r15, %rdi
cmpl %eax, %ebp
jle 0x7388
leaq 0x908a(%rip), %rsi      # 0x10194
xorl %eax, %eax
callq 0x21a0
movq 0xc8e0(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc8c7(%rip), %rdi      # 0x139f8
leaq 0x9091(%rip), %rsi      # 0x101c9
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc47a(%rip), %rdx      # 0x135c8
movq %r15, %rdi
leaq 0x9097(%rip), %rsi      # 0x101ef
xorl %eax, %eax
callq 0x21a0
movq 0xc892(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc879(%rip), %rdi      # 0x139f8
leaq 0x909f(%rip), %rsi      # 0x10225
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc43c(%rip), %rdx      # 0x135d8
movq %r15, %rdi
leaq 0x908e(%rip), %rsi      # 0x10234
xorl %eax, %eax
callq 0x21a0
movq 0xc844(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc3fb(%rip), %rdx      # 0x135c8
movq %r15, %rdi
leaq 0x906e(%rip), %rsi      # 0x10245
xorl %eax, %eax
callq 0x21a0
movq 0xc813(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x2, 0xc3e7(%rip)      # 0x135e5
leaq 0xc3eb(%rip), %rbp      # 0x135f0
movq (%rbp,%rbx,8), %rax
movw $0xffff, 0x48(%rax)     # imm = 0xFFFF
callq 0x22e0
sarl $0x3, %eax
cltq
imulq $-0x6db6db6d, %rax, %rcx # imm = 0x92492493
shrq $0x20, %rcx
addl %eax, %ecx
movl %ecx, %edx
shrl $0x1f, %edx
sarl $0x2, %ecx
addl %edx, %ecx
leal (,%rcx,8), %edx
subl %edx, %ecx
addl %ecx, %eax
addl $0x4, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movq (%rbp,%rbx,8), %rax
movsd %xmm0, 0x8(%rax)
jmp 0x7545
leaq 0xc6d4(%rip), %rax      # 0x13930
movq (%rax,%rbx,8), %rdx
movq %r15, %rdi
leaq 0x8ef4(%rip), %rsi      # 0x1015e
xorl %eax, %eax
callq 0x21a0
movq 0xc780(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
movq (%rbp,%rbx,8), %rax
cmpw $0x0, 0x48(%rax)
movq 0xc762(%rip), %rdi      # 0x139f8
leaq 0x8ee9(%rip), %rsi      # 0x10186
leaq 0x8ecc(%rip), %rax      # 0x10170
cmovgq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
xorpd %xmm2, %xmm2
movapd (%rsp), %xmm1
movq 0xc329(%rip), %rax      # 0x135f0
movsd (%rax), %xmm0
ucomisd 0x5e65(%rip), %xmm0     # 0xd138
ja 0x730d
movsd 0x5f63(%rip), %xmm0     # 0xd240
ucomisd 0x10(%rsp), %xmm0
ja 0x730d
movq 0xc6a4(%rip), %rax      # 0x13990
xorl %ecx, %ecx
movsd 0x80(%rax,%rcx,8), %xmm0
ucomisd %xmm2, %xmm0
jne 0x730d
jp 0x730d
incq %rcx
cmpq $0x4, %rcx
jne 0x72ee
jmp 0x754e
movb $0x6, 0xc2d0(%rip)      # 0x135e4
jmp 0x754e
movb $0x2, 0xc2c4(%rip)      # 0x135e4
movq (%rbp,%rbx,8), %rax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
callq 0x22e0
movq (%rbp,%rbx,8), %rcx
testb $0x8, %al
jne 0x734c
movw $0xffff, 0x48(%rcx)     # imm = 0xFFFF
jmp 0x7545
movw $0x1, 0x48(%rcx)
jmp 0x7545
callq 0x22e0
testb $0x8, %al
leaq 0xc28b(%rip), %rbp      # 0x135f0
jne 0x74cc
movq 0xc60e(%rip), %rdx      # 0x13980
movq %r15, %rdi
leaq 0x907c(%rip), %rsi      # 0x103f8
xorl %eax, %eax
callq 0x21a0
jmp 0x74eb
leaq 0x8ed7(%rip), %rsi      # 0x10266
xorl %eax, %eax
callq 0x21a0
movq 0xc65b(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc212(%rip), %rdx      # 0x135c8
movq %r15, %rdi
leaq 0x8ece(%rip), %rsi      # 0x1028e
xorl %eax, %eax
callq 0x21a0
movq 0xc62a(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
callq 0x22e0
movq 0xc59c(%rip), %rdx      # 0x13988
testb $0x8, %al
leaq 0xc1fb(%rip), %rbp      # 0x135f0
jne 0x750d
movq %r15, %rdi
leaq 0x8ebf(%rip), %rsi      # 0x102c4
xorl %eax, %eax
callq 0x21a0
jmp 0x7525
cmpb $0x2, 0xc1cf(%rip)      # 0x135e7
leaq 0xc1d1(%rip), %rbp      # 0x135f0
movapd (%rsp), %xmm1
xorpd %xmm2, %xmm2
jne 0x7462
leaq 0xc55f(%rip), %rax      # 0x13990
movq (%rax,%rbx,8), %rax
xorpd %xmm0, %xmm0
movupd %xmm0, 0x90(%rax)
movupd %xmm0, 0x80(%rax)
movq (%rbp,%rbx,8), %rax
movq $0x0, 0x8(%rax)
movb $0x5, 0xc18b(%rip)      # 0x135e8
jmp 0x754e
movq 0xc51f(%rip), %rdx      # 0x13988
movq 0xc158(%rip), %rcx      # 0x135c8
movq %r15, %rdi
leaq 0x9006(%rip), %rsi      # 0x10480
xorl %eax, %eax
callq 0x21a0
movq 0xc570(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc557(%rip), %rdi      # 0x139f8
leaq 0x900c(%rip), %rsi      # 0x104b4
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
xorpd %xmm2, %xmm2
movapd (%rsp), %xmm1
movb $0x6, 0xc120(%rip)      # 0x135e7
jmp 0x754e
movq 0xc4b5(%rip), %rdx      # 0x13988
movq 0xc0ee(%rip), %rcx      # 0x135c8
movq %r15, %rdi
leaq 0x8ef3(%rip), %rsi      # 0x103d7
xorl %eax, %eax
callq 0x21a0
movq 0xc506(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x6, 0xc0db(%rip)      # 0x135e6
jmp 0x7545
movq 0xc0b4(%rip), %rcx      # 0x135c8
movq %r15, %rdi
leaq 0x8d86(%rip), %rsi      # 0x102a4
xorl %eax, %eax
callq 0x21a0
movq 0xc4cc(%rip), %rdi      # 0x139f8
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x6, 0xc0a0(%rip)      # 0x135e5
movapd (%rsp), %xmm1
xorpd %xmm2, %xmm2
incq %r13
cmpq $0x4, %r13
jne 0x6ce9
xorl %eax, %eax
movb (%rax,%r14), %cl
decb %cl
cmpb $0x4, %cl
jbe 0x7576
incq %rax
cmpq $0x4, %rax
jne 0x755d
jmp 0x7727
movzbl 0xbc43(%rip), %eax      # 0x131c0
testq %rax, %rax
je 0x75a2
movq 0xc407(%rip), %rcx      # 0x13990
xorl %edx, %edx
cmpw $0x63, 0xd2(%rcx,%rdx,2)
jg 0x763e
incq %rdx
cmpq %rdx, %rax
jne 0x758b
movzbl 0xbc18(%rip), %eax      # 0x131c1
testq %rax, %rax
je 0x75ca
movq 0xc3db(%rip), %rcx      # 0x13990
xorl %edx, %edx
cmpw $0x64, 0x110(%rcx,%rdx,2)
jge 0x763e
incq %rdx
cmpq %rdx, %rax
jne 0x75b7
movb 0xc014(%rip), %cl       # 0x135e4
decb %cl
movb $0x1, %al
cmpb $0x5, %cl
jb 0x75fb
xorl %ecx, %ecx
movq %rcx, %rax
cmpq $0x3, %rcx
je 0x75f4
movb 0x1(%rax,%r14), %dl
decb %dl
leaq 0x1(%rax), %rcx
cmpb $0x4, %dl
ja 0x75db
cmpq $0x3, %rax
setb %al
testb %al, %al
jne 0x78ca
movb 0xbfdf(%rip), %al       # 0x135e8
andb $-0x2, %al
cmpb $0x4, %al
jne 0x7727
jmp 0x78ca
leaq 0xbfd1(%rip), %rax      # 0x135f0
movq (%rax,%rbx,8), %rax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
movq $0x0, 0x18(%rax)
jmp 0x78ca
movq 0xc343(%rip), %rdx      # 0x13988
leaq 0xbe64(%rip), %r14      # 0x134b0
leaq 0x6ffb(%rip), %rsi      # 0xe64e
movq %r14, %rdi
xorl %eax, %eax
callq 0x21a0
movq 0xc394(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movq 0xc37b(%rip), %rdi      # 0x139f8
leaq 0x6fff(%rip), %rsi      # 0xe683
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3d76
movb $0x0, 0xbf4e(%rip)      # 0x135e8
movd 0xbf42(%rip), %xmm0     # 0x135e4
xorpd %xmm1, %xmm1
movdqa %xmm0, %xmm2
pcmpeqb %xmm1, %xmm2
movd %xmm2, %eax
notb %al
testb $0x1, %al
je 0x76bf
movb $0x6, 0xbf25(%rip)      # 0x135e4
movdqa %xmm0, %xmm2
pslld $0x8, %xmm2
pcmpeqb %xmm1, %xmm2
pcmpeqd %xmm1, %xmm1
pxor %xmm1, %xmm2
pextrw $0x1, %xmm2, %eax
testb $0x1, %al
je 0x76e4
movb $0x6, 0xbf01(%rip)      # 0x135e5
pshuflw $0x55, %xmm0, %xmm3     # xmm3 = xmm0[1,1,1,1,4,5,6,7]
pxor %xmm2, %xmm2
pcmpeqb %xmm2, %xmm3
pxor %xmm1, %xmm3
pextrw $0x2, %xmm3, %eax
testb $0x1, %al
je 0x7705
movb $0x6, 0xbee1(%rip)      # 0x135e6
psllq $0x18, %xmm0
pcmpeqb %xmm2, %xmm0
pxor %xmm0, %xmm1
pextrw $0x3, %xmm1, %eax
testb $0x1, %al
movapd (%rsp), %xmm1
je 0x7727
movb $0x6, 0xbec0(%rip)      # 0x135e7
xorl %ecx, %ecx
movsd 0x10(%rsp), %xmm0
ucomisd 0x5b11(%rip), %xmm0     # 0xd248
seta %cl
incl %ecx
ucomisd 0x5b0c(%rip), %xmm0     # 0xd250
movl $0x3, %eax
cmovbel %ecx, %eax
cmpl $0x1, %eax
je 0x7769
cmpl $0x3, %eax
jne 0x780c
leaq 0x18(%rsp), %rdi
callq 0xc551
jmp 0x78ca
leaq 0xc220(%rip), %rax      # 0x13990
movq (%rax,%rbx,8), %r15
cmpb $0x0, 0xba45(%rip)      # 0x131c0
je 0x7880
xorl %r12d, %r12d
leaq 0x30(%rsp), %r14
xorl %ebp, %ebp
callq 0x22e0
sarl $0x3, %eax
leal 0x3(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
andl $-0x4, %ecx
negl %ecx
addl %ecx, %eax
incl %eax
cmpl %eax, %ebp
jle 0x77b1
cmpb $0x1, 0xbe31(%rip)      # 0x135e0
jne 0x77df
cmpw $0x0, 0xd2(%r15,%r12,2)
js 0x77df
leal 0x1(%r12), %edx
movl %ebx, %edi
xorl %esi, %esi
movq %r14, %rcx
callq 0x4c05
cmpl $0xa, %eax
jl 0x77df
addw $0x64, 0xd2(%r15,%r12,2)
incl %ebp
movapd (%rsp), %xmm1
incq %r12
movzbl 0xb9d2(%rip), %eax      # 0x131c0
cmpq %rax, %r12
jb 0x778b
testl %ebp, %ebp
jle 0x78a1
movl $0x64000a, 0xd2(%r15,%rax,2) # imm = 0x64000A
jmp 0x78ca
movzbl 0xbdcf(%rip), %eax      # 0x135e2
cmpq $0x3, %rax
jb 0x7874
movl $0x2, %ecx
movsd 0x5a32(%rip), %xmm0     # 0xd258
movq (%rbp,%rcx,8), %rdx
testq %rdx, %rdx
je 0x786c
movzwl 0x4a(%rdx), %esi
addl $-0x14, %esi
cmpw $0x9, %si
ja 0x786c
movsd 0x38(%rdx), %xmm1
movq (%rbp,%rbx,8), %rsi
subsd 0x38(%rsi), %xmm1
movsd 0x40(%rsi), %xmm2
subsd 0x40(%rdx), %xmm2
mulsd %xmm2, %xmm2
mulsd %xmm1, %xmm1
addsd %xmm2, %xmm1
sqrtsd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x78c0
incq %rcx
cmpq %rcx, %rax
jne 0x7826
leaq 0x18(%rsp), %rdi
callq 0xbf9f
jmp 0x78ca
ucomisd 0x5970(%rip), %xmm1     # 0xd1f8
jbe 0x792d
movsd 0x58f2(%rip), %xmm0     # 0xd188
ucomisd %xmm1, %xmm0
ja 0x78c0
jmp 0x792d
ucomisd 0x594f(%rip), %xmm1     # 0xd1f8
leaq 0xbd40(%rip), %rbp      # 0x135f0
jbe 0x78d9
movsd 0x58ce(%rip), %xmm0     # 0xd188
ucomisd %xmm1, %xmm0
jbe 0x78d9
leaq 0x18(%rsp), %rdi
callq 0xbc44
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %rax, %rax
je 0x792d
leaq -0x1(%rax), %rcx
movb $0x1, %dl
xorl %esi, %esi
movzwl 0xd2(%r15,%rsi,2), %edi
testw %di, %di
setns %r8b
cmpw $0x1, %di
setne %dil
testb %dil, %r8b
jne 0x790d
incq %rsi
cmpq %rsi, %rax
jne 0x78e6
jmp 0x7928
movw $0x1, 0xd2(%r15,%rsi,2)
leaq 0x1(%rsi), %rdi
xorl %edx, %edx
cmpq %rsi, %rcx
movq %rdi, %rsi
jne 0x78e6
jmp 0x78ca
testb $0x1, %dl
je 0x78ca
ucomisd 0x582b(%rip), %xmm1     # 0xd160
jb 0x7975
movsd 0x5921(%rip), %xmm0     # 0xd260
ucomisd %xmm1, %xmm0
jb 0x7975
cmpb $0x0, 0xc2(%r15)
jne 0x7975
movq (%rbp,%rbx,8), %rax
movsd 0x20(%rax), %xmm0
ucomisd 0x57cf(%rip), %xmm0     # 0xd130
jbe 0x7975
movsd 0x57cd(%rip), %xmm0     # 0xd138
ucomisd (%rax), %xmm0
jae 0x7a40
movq (%rbp,%rbx,8), %rax
movsd 0x57ae(%rip), %xmm0     # 0xd130
ucomisd 0x20(%rax), %xmm0
jbe 0x79c6
movsd 0x58d7(%rip), %xmm0     # 0xd268
ucomisd (%r15), %xmm0
jbe 0x79c6
movsd 0x58d0(%rip), %xmm0     # 0xd270
divsd 0xb808(%rip), %xmm0     # 0x131b0
addsd 0x5858(%rip), %xmm0     # 0xd208
ucomisd 0x30(%rax), %xmm0
jbe 0x79c6
leaq 0x18(%rsp), %rdi
callq 0xbeec
jmp 0x78ca
cmpw $0x1, 0x48(%rax)
movsd (%rax), %xmm0
jne 0x79fa
movq 0xbc18(%rip), %rcx      # 0x135f0
movsd (%rcx), %xmm1
andpd 0x571c(%rip), %xmm1     # 0xd100
addsd %xmm0, %xmm1
movsd 0x57a0(%rip), %xmm2     # 0xd190
ucomisd %xmm1, %xmm2
ja 0x7874
movsd %xmm0, 0x8(%rax)
movw $0x1, 0x48(%rax)
cmpb $0x0, 0xc3(%r15)
je 0x78ca
andpd 0x56e5(%rip), %xmm0     # 0xd100
movsd 0x5715(%rip), %xmm1     # 0xd138
ucomisd %xmm0, %xmm1
ja 0x7874
movabsq $-0x401051eb851eb852, %rcx # imm = 0xBFEFAE147AE147AE
movq %rcx, 0x8(%rax)
jmp 0x78ca
leaq 0x18(%rsp), %rdi
callq 0xbd28
jmp 0x78ca