// File: /workspace/github_c_makefile_star2_O1/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 $0x28, %rsp
movl $0x1, 0x4(%rsp)
movslq 0xcf14(%rip), %rbx      # 0x13a38
movl %ebx, (%rsp)
cmpq $0x0, 0xce61(%rip)      # 0x13990
je 0x6c2a
movq 0xcab4(%rip), %rax      # 0x135f0
testq %rax, %rax
je 0x6b7c
movsd 0x38(%rax), %xmm0
leaq 0xcaa3(%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
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x6b86
sqrtsd %xmm0, %xmm0
jmp 0x6b8b
movsd 0x64b4(%rip), %xmm0     # 0xd038
jmp 0x6b8b
callq 0x22f0
movsd %xmm0, 0x10(%rsp)
movl %ebx, %edi
xorl %esi, %esi
callq 0x3d75
movsd %xmm0, 0x8(%rsp)
leaq 0xca49(%rip), %rax      # 0x135f0
movq (%rax,%rbx,8), %rax
subsd 0x10(%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd 0x6462(%rip), %xmm2     # 0xd020
divsd %xmm2, %xmm0
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x22b0
movsd 0x6451(%rip), %xmm0     # 0xd028
movsd (%r14), %xmm1
mulsd %xmm0, %xmm1
addsd 0x18(%rsp), %xmm1
addsd %xmm1, %xmm0
movsd 0x642e(%rip), %xmm3     # 0xd020
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, 0x8(%rsp)
movzbl 0xc9b7(%rip), %eax      # 0x135e8
leal -0x1(%rax), %ecx
cmpb $0x5, %cl
jae 0x6c5e
leal -0x4(%rax), %ecx
cmpl $0x2, %ecx
jb 0x75d0
addl $-0x2, %eax
cmpl $0x1, %eax
ja 0x797c
movq %rsp, %rdi
callq 0x7995
jmp 0x797c
leaq 0xc97f(%rip), %r13      # 0x135e4
leaq 0x6600(%rip), %rbx      # 0xd26c
leaq 0xc83d(%rip), %r14      # 0x134b0
xorpd %xmm2, %xmm2
leaq 0xcd12(%rip), %rbp      # 0x13990
xorl %r15d, %r15d
movb (%r15,%r13), %al
decb %al
cmpb $0x4, %al
ja 0x7506
cmpl $0x3, %r15d
ja 0x7506
movl %r15d, %eax
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
movzbl 0xc938(%rip), %eax      # 0x135e4
decl %eax
cmpl $0x4, %eax
ja 0x7506
leaq 0x65be(%rip), %rcx      # 0xd27c
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 0x738a
movq 0xccfc(%rip), %rdi      # 0x139f8
leaq 0x9371(%rip), %rsi      # 0x10074
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movb $0x6, 0xc8cb(%rip)      # 0x135e4
jmp 0x7502
movzbl 0xc8c1(%rip), %eax      # 0x135e6
leal -0x3(%rax), %ecx
cmpl $0x3, %ecx
jae 0x6f00
movq 0xcc58(%rip), %rax      # 0x13990
xorl %ecx, %ecx
movsd 0x80(%rax,%rcx,8), %xmm0
ucomisd %xmm2, %xmm0
jne 0x7506
jp 0x7506
incq %rcx
cmpq $0x4, %rcx
jne 0x6d3a
movsd 0x10(%rsp), %xmm0
movsd 0x6396(%rip), %xmm1     # 0xd100
ucomisd %xmm0, %xmm1
jb 0x6d8d
movslq (%rsp), %rax
leaq 0xc875(%rip), %rcx      # 0x135f0
movq (%rcx,%rax,8), %rax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
movsd 0x6373(%rip), %xmm1     # 0xd108
ucomisd %xmm0, %xmm1
jb 0x7506
movq 0xc84a(%rip), %rax      # 0x135f0
movsd 0x62b2(%rip), %xmm0     # 0xd060
ucomisd (%rax), %xmm0
jb 0x7506
movb $0x4, 0xc829(%rip)      # 0x135e8
jmp 0x7506
cmpb $0x2, 0xc81b(%rip)      # 0x135e6
ja 0x7506
cmpb $0x1, 0xc80f(%rip)      # 0x135e7
jne 0x720b
movzbl 0xc7fb(%rip), %eax      # 0x135e0
testq %rax, %rax
je 0x6e09
xorl %ecx, %ecx
movq 0x8(%rbp,%rcx,8), %rdx
testq %rdx, %rdx
je 0x6e01
cmpw $0x64, 0x1a(%rdx)
jg 0x747a
incq %rcx
cmpq %rcx, %rax
jne 0x6dec
movq 0xcb70(%rip), %rax      # 0x13980
cmpq 0xc4b1(%rip), %rax      # 0x132c8
movl $0x32, %r14d
movl $0x5, %eax
cmovel %eax, %r14d
callq 0x22e0
xorpd %xmm2, %xmm2
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
movb $0x1, %r12b
cmpl %r14d, %eax
leaq 0xc656(%rip), %r14      # 0x134b0
jge 0x720e
movq 0xcb21(%rip), %rdx      # 0x13988
movq 0xc75a(%rip), %rcx      # 0x135c8
xorl %r12d, %r12d
movq %r14, %rdi
leaq 0x94e4(%rip), %rsi      # 0x1035f
xorl %eax, %eax
callq 0x21a0
movq 0xcb6f(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xcb56(%rip), %rdi      # 0x139f8
leaq 0x94f0(%rip), %rsi      # 0x10399
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
xorpd %xmm2, %xmm2
movb $0x2, 0xc724(%rip)      # 0x135e7
jmp 0x720e
movzbl 0xc716(%rip), %eax      # 0x135e5
leal -0x3(%rax), %ecx
cmpl $0x3, %ecx
jae 0x7047
movq 0xc70e(%rip), %rax      # 0x135f0
movsd (%rax), %xmm0
ucomisd 0x61f2(%rip), %xmm0     # 0xd0e0
jbe 0x7506
movb $0x6, 0xc6ea(%rip)      # 0x135e5
jmp 0x7506
cmpl $0x2, %eax
je 0x702d
cmpl $0x1, %eax
jne 0x7506
movq 0xca67(%rip), %rax      # 0x13980
movl $0x32, %r12d
cmpq 0xc3a2(%rip), %rax      # 0x132c8
jne 0x6f4b
movq 0xcac9(%rip), %rdi      # 0x139f8
leaq 0x9304(%rip), %rsi      # 0x1023a
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movl $0x5, %r12d
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, %r12d
jle 0x73d5
movslq (%rsp), %rax
leaq 0xc9ae(%rip), %rcx      # 0x13930
movq (%rcx,%rax,8), %rdx
movq %r14, %rdi
leaq 0x92d7(%rip), %rsi      # 0x10267
xorl %eax, %eax
callq 0x21a0
movq 0xca5a(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc9d1(%rip), %rdx      # 0x13988
movq 0xc9c2(%rip), %rcx      # 0x13980
movq %r14, %rdi
leaq 0x92c6(%rip), %rsi      # 0x1028e
xorl %eax, %eax
callq 0x21a0
movq 0xca22(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xca09(%rip), %rdi      # 0x139f8
leaq 0x92d2(%rip), %rsi      # 0x102c8
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc9ec(%rip), %rdi      # 0x139f8
leaq 0x92ee(%rip), %rsi      # 0x10301
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movb $0x2, 0xc5bd(%rip)      # 0x135e6
xorpd %xmm2, %xmm2
movslq (%rsp), %rax
leaq 0xc5b8(%rip), %rcx      # 0x135f0
movq (%rcx,%rax,8), %rax
movw $0x1, 0x48(%rax)
jmp 0x7506
cmpl $0x2, %eax
je 0x71a7
cmpl $0x1, %eax
jne 0x7506
movq 0xc920(%rip), %rax      # 0x13980
xorl %ecx, %ecx
cmpq 0xc25f(%rip), %rax      # 0x132c8
sete %cl
leal 0x4(,%rcx,2), %r12d
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 0xc8e0(%rip), %rdx      # 0x13980
movq %r14, %rdi
cmpl %eax, %r12d
jle 0x73ff
leaq 0x9029(%rip), %rsi      # 0x100dc
xorl %eax, %eax
callq 0x21a0
movq 0xc937(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc91e(%rip), %rdi      # 0x139f8
leaq 0x9030(%rip), %rsi      # 0x10111
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc4d1(%rip), %rdx      # 0x135c8
movq %r14, %rdi
leaq 0x9036(%rip), %rsi      # 0x10137
xorl %eax, %eax
callq 0x21a0
movq 0xc8e9(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc8d0(%rip), %rdi      # 0x139f8
leaq 0x903e(%rip), %rsi      # 0x1016d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc493(%rip), %rdx      # 0x135d8
movq %r14, %rdi
leaq 0x902d(%rip), %rsi      # 0x1017c
xorl %eax, %eax
callq 0x21a0
movq 0xc89b(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc452(%rip), %rdx      # 0x135c8
movq %r14, %rdi
leaq 0x900d(%rip), %rsi      # 0x1018d
xorl %eax, %eax
callq 0x21a0
movq 0xc86a(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movb $0x2, 0xc43e(%rip)      # 0x135e5
movslq (%rsp), %r12
leaq 0xc43e(%rip), %r14      # 0x135f0
movq (%r14,%r12,8), %rax
movw $0xffff, 0x48(%rax)     # imm = 0xFFFF
callq 0x22e0
xorpd %xmm2, %xmm2
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 (%r14,%r12,8), %rax
leaq 0xc2af(%rip), %r14      # 0x134b0
movsd %xmm0, 0x8(%rax)
jmp 0x7506
xorl %r12d, %r12d
cmpb $0x2, 0xc3d2(%rip)      # 0x135e7
jne 0x7253
movslq (%rsp), %rax
movq (%rbp,%rax,8), %rcx
xorpd %xmm0, %xmm0
movupd %xmm0, 0x90(%rcx)
movupd %xmm0, 0x80(%rcx)
leaq 0xc3b5(%rip), %rcx      # 0x135f0
movq (%rcx,%rax,8), %rax
movq $0x0, 0x8(%rax)
movb $0x5, 0xc39a(%rip)      # 0x135e8
jmp 0x7506
testb %r12b, %r12b
je 0x7506
movq 0xc725(%rip), %rdx      # 0x13988
movq 0xc35e(%rip), %rcx      # 0x135c8
movq %r14, %rdi
leaq 0x9154(%rip), %rsi      # 0x103c8
xorl %eax, %eax
callq 0x21a0
movq 0xc776(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc75d(%rip), %rdi      # 0x139f8
leaq 0x915a(%rip), %rsi      # 0x103fc
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
xorpd %xmm2, %xmm2
movb $0x6, 0xc32b(%rip)      # 0x135e7
jmp 0x7506
movslq (%rsp), %r12
leaq 0xc664(%rip), %rax      # 0x13930
movq (%rax,%r12,8), %rdx
movq %r14, %rdi
leaq 0x8dcc(%rip), %rsi      # 0x100a6
xorl %eax, %eax
callq 0x21a0
movq 0xc710(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
leaq 0xc2f4(%rip), %rax      # 0x135f0
movq (%rax,%r12,8), %rax
cmpw $0x0, 0x48(%rax)
movq 0xc6ec(%rip), %rdi      # 0x139f8
leaq 0x8dbb(%rip), %rsi      # 0x100ce
leaq 0x8d9e(%rip), %rax      # 0x100b8
cmovgq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
xorpd %xmm2, %xmm2
movq 0xc2b8(%rip), %rax      # 0x135f0
movsd (%rax), %xmm0
ucomisd 0x5d1c(%rip), %xmm0     # 0xd060
ja 0x737e
movsd 0x5dba(%rip), %xmm0     # 0xd108
ucomisd 0x10(%rsp), %xmm0
ja 0x737e
movq 0xc633(%rip), %rax      # 0x13990
xorl %ecx, %ecx
movsd 0x80(%rax,%rcx,8), %xmm0
ucomisd %xmm2, %xmm0
jne 0x737e
jp 0x737e
incq %rcx
cmpq $0x4, %rcx
jne 0x735f
jmp 0x7506
movb $0x6, 0xc25f(%rip)      # 0x135e4
jmp 0x7506
movb $0x2, 0xc253(%rip)      # 0x135e4
movslq (%rsp), %r12
leaq 0xc254(%rip), %r14      # 0x135f0
movq (%r14,%r12,8), %rax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
callq 0x22e0
movq (%r14,%r12,8), %rcx
testb $0x8, %al
jne 0x73c3
movw $0xffff, 0x48(%rcx)     # imm = 0xFFFF
jmp 0x73c9
movw $0x1, 0x48(%rcx)
leaq 0xc0e0(%rip), %r14      # 0x134b0
jmp 0x7502
callq 0x22e0
testb $0x8, %al
jne 0x7489
movq 0xc597(%rip), %rdx      # 0x13980
movq %r14, %rdi
leaq 0x8f4d(%rip), %rsi      # 0x10340
xorl %eax, %eax
callq 0x21a0
jmp 0x74a8
leaq 0x8da8(%rip), %rsi      # 0x101ae
xorl %eax, %eax
callq 0x21a0
movq 0xc5e4(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc19b(%rip), %rdx      # 0x135c8
movq %r14, %rdi
leaq 0x8d9f(%rip), %rsi      # 0x101d6
xorl %eax, %eax
callq 0x21a0
movq 0xc5b3(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
callq 0x22e0
movq 0xc525(%rip), %rdx      # 0x13988
testb $0x8, %al
jne 0x74ca
movq %r14, %rdi
leaq 0x8d9b(%rip), %rsi      # 0x1020c
xorl %eax, %eax
callq 0x21a0
jmp 0x74e2
movb $0x1, %r12b
leaq 0xc02c(%rip), %r14      # 0x134b0
jmp 0x720e
movq 0xc4f8(%rip), %rdx      # 0x13988
movq 0xc131(%rip), %rcx      # 0x135c8
movq %r14, %rdi
leaq 0x8e7e(%rip), %rsi      # 0x1031f
xorl %eax, %eax
callq 0x21a0
movq 0xc549(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movb $0x6, 0xc11e(%rip)      # 0x135e6
jmp 0x7502
movq 0xc0f7(%rip), %rcx      # 0x135c8
movq %r14, %rdi
leaq 0x8d11(%rip), %rsi      # 0x101ec
xorl %eax, %eax
callq 0x21a0
movq 0xc50f(%rip), %rdi      # 0x139f8
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movb $0x6, 0xc0e3(%rip)      # 0x135e5
xorpd %xmm2, %xmm2
incq %r15
cmpq $0x4, %r15
jne 0x6c81
xorl %eax, %eax
movb (%rax,%r13), %cl
decb %cl
cmpb $0x4, %cl
jbe 0x752e
incq %rax
cmpq $0x4, %rax
jne 0x7515
jmp 0x766a
movzbl 0xbc8b(%rip), %eax      # 0x131c0
testq %rax, %rax
je 0x755a
movq 0xc44f(%rip), %rcx      # 0x13990
xorl %edx, %edx
cmpw $0x63, 0xd2(%rcx,%rdx,2)
jg 0x75f6
incq %rdx
cmpq %rdx, %rax
jne 0x7543
movzbl 0xbc60(%rip), %eax      # 0x131c1
testq %rax, %rax
je 0x7582
movq 0xc423(%rip), %rcx      # 0x13990
xorl %edx, %edx
cmpw $0x64, 0x110(%rcx,%rdx,2)
jge 0x75f6
incq %rdx
cmpq %rdx, %rax
jne 0x756f
movb 0xc05c(%rip), %cl       # 0x135e4
decb %cl
movb $0x1, %al
cmpb $0x5, %cl
jb 0x75b3
xorl %ecx, %ecx
movq %rcx, %rax
cmpq $0x3, %rcx
je 0x75ac
movb 0x1(%rax,%r13), %dl
decb %dl
leaq 0x1(%rax), %rcx
cmpb $0x4, %dl
ja 0x7593
cmpq $0x3, %rax
setb %al
testb %al, %al
jne 0x797c
movb 0xc027(%rip), %al       # 0x135e8
andb $-0x2, %al
cmpb $0x4, %al
jne 0x766a
jmp 0x797c
leaq 0xc019(%rip), %rax      # 0x135f0
movq (%rax,%rbx,8), %rax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rax)
movq $0x0, 0x18(%rax)
jmp 0x797c
movq 0xc38b(%rip), %rdx      # 0x13988
leaq 0xbeac(%rip), %rbx      # 0x134b0
leaq 0x6f8b(%rip), %rsi      # 0xe596
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x21a0
movq 0xc3d9(%rip), %rdi      # 0x139f8
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movq 0xc3c0(%rip), %rdi      # 0x139f8
leaq 0x6f8c(%rip), %rsi      # 0xe5cb
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2210
callq 0x3c58
movb $0x0, 0xbf93(%rip)      # 0x135e8
cmpb $0x0, (%r14,%r13)
je 0x7661
movb $0x6, (%r14,%r13)
incq %r14
cmpq $0x4, %r14
jne 0x7655
movsd 0x10(%rsp), %xmm0
xorl %ecx, %ecx
ucomisd 0x5a96(%rip), %xmm0     # 0xd110
seta %cl
incl %ecx
ucomisd 0x5a91(%rip), %xmm0     # 0xd118
movl $0x3, %eax
cmovbel %ecx, %eax
cmpl $0x1, %eax
je 0x76aa
cmpl $0x3, %eax
jne 0x7757
movq %rsp, %rdi
callq 0xc3f3
jmp 0x797c
movslq (%rsp), %rbx
movq (%rbp,%rbx,8), %r15
movb 0xbb07(%rip), %al       # 0x131c0
xorl %r13d, %r13d
testb %al, %al
je 0x773a
movl 0x4(%rsp), %ebp
decl %ebp
leaq 0x20(%rsp), %r14
xorl %r12d, %r12d
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, %r13d
jle 0x76f5
cmpb $0x1, 0xbeed(%rip)      # 0x135e0
jne 0x7724
cmpw $0x0, 0xd2(%r15,%r12,2)
js 0x7724
leal 0x1(%r12), %edx
movl %ebx, %edi
movl %ebp, %esi
movq %r14, %rcx
callq 0x4b04
cmpl $0xa, %eax
jl 0x7724
addw $0x64, 0xd2(%r15,%r12,2)
incl %r13d
incq %r12
movzbl 0xba92(%rip), %eax      # 0x131c0
cmpq %rax, %r12
jb 0x76ce
testl %r13d, %r13d
setg %r13b
testb %r13b, %r13b
je 0x77fa
movzbl %al, %eax
movl $0x64000a, 0xd2(%r15,%rax,2) # imm = 0x64000A
jmp 0x797c
cmpb $0x3, 0xbe84(%rip)      # 0x135e2
leaq 0xbe8b(%rip), %r15      # 0x135f0
jb 0x77ed
movslq (%rsp), %rbx
movl $0x2, %r14d
xorpd %xmm2, %xmm2
movsd 0x599f(%rip), %xmm3     # 0xd120
movq (%r15,%r14,8), %rax
testq %rax, %rax
je 0x77de
movzwl 0x4a(%rax), %ecx
addl $-0x14, %ecx
cmpw $0x9, %cx
ja 0x77de
movsd 0x38(%rax), %xmm0
movq (%r15,%rbx,8), %rcx
subsd 0x38(%rcx), %xmm0
movsd 0x40(%rcx), %xmm1
subsd 0x40(%rax), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0x77c7
sqrtsd %xmm0, %xmm0
jmp 0x77d8
callq 0x22f0
movsd 0x594c(%rip), %xmm3     # 0xd120
xorpd %xmm2, %xmm2
ucomisd %xmm0, %xmm3
ja 0x7818
incq %r14
movzbl 0xbdfa(%rip), %eax      # 0x135e2
cmpq %rax, %r14
jb 0x7781
movq %rsp, %rdi
callq 0xbe97
jmp 0x797c
movsd 0x8(%rsp), %xmm0
ucomisd 0x58b0(%rip), %xmm0     # 0xd0b8
jbe 0x7825
movsd 0x5846(%rip), %xmm1     # 0xd058
ucomisd %xmm0, %xmm1
jbe 0x7825
movq %rsp, %rdi
callq 0xbb2d
jmp 0x797c
testb %al, %al
leaq 0xbdc2(%rip), %r9       # 0x135f0
je 0x7877
movzbl %al, %eax
movl 0x4(%rsp), %ecx
xorl %edx, %edx
xorl %esi, %esi
movzwl 0xd2(%r15,%rdx,2), %edi
testw %di, %di
sets %r8b
movzwl %di, %edi
cmpl %edi, %ecx
sete %dil
orb %r8b, %dil
jne 0x7867
movw %cx, 0xd2(%r15,%rdx,2)
movl $0x1, %esi
incq %rdx
cmpq %rdx, %rax
jne 0x783b
testl %esi, %esi
jne 0x797c
ucomisd 0x57b1(%rip), %xmm0     # 0xd030
jb 0x78be
movsd 0x589f(%rip), %xmm1     # 0xd128
ucomisd %xmm0, %xmm1
jb 0x78be
cmpb $0x0, 0xc2(%r15)
jne 0x78be
movq (%r9,%rbx,8), %rax
movsd 0x20(%rax), %xmm0
ucomisd 0x575e(%rip), %xmm0     # 0xd008
jbe 0x78be
movsd 0x57ac(%rip), %xmm0     # 0xd060
ucomisd (%rax), %xmm0
jae 0x798b
movq (%r9,%rbx,8), %rax
movsd 0x573e(%rip), %xmm0     # 0xd008
ucomisd 0x20(%rax), %xmm0
jbe 0x7909
movsd 0x5857(%rip), %xmm0     # 0xd130
ucomisd (%r15), %xmm0
jbe 0x7909
movsd 0x5850(%rip), %xmm0     # 0xd138
divsd 0xb8c0(%rip), %xmm0     # 0x131b0
addsd 0x57d0(%rip), %xmm0     # 0xd0c8
ucomisd 0x30(%rax), %xmm0
jbe 0x7909
movq %rsp, %rdi
callq 0xbde4
jmp 0x797c
movswl 0x48(%rax), %edx
movslq 0x4(%rsp), %rcx
cmpl %edx, %ecx
jne 0x793d
movq -0x8(%r9,%rcx,8), %rdx
movsd (%rdx), %xmm0
andpd 0x58e9(%rip), %xmm0     # 0xd210
addsd (%rax), %xmm0
movsd 0x580d(%rip), %xmm1     # 0xd140
ucomisd %xmm0, %xmm1
ja 0x77ed
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rax)
movw %cx, 0x48(%rax)
cmpb $0x0, 0xc3(%r15)
je 0x797c
andpd 0x58b4(%rip), %xmm0     # 0xd210
movsd 0x56fc(%rip), %xmm1     # 0xd060
ucomisd %xmm0, %xmm1
ja 0x77ed
movabsq $-0x401051eb851eb852, %rcx # imm = 0xBFEFAE147AE147AE
movq %rcx, 0x8(%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rsp, %rdi
callq 0xbc1a
jmp 0x797c