// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/apps/sfl2pts/sfl2pts.cpp
// Function: main
int main(int argc, char **argv)
{
  // Parse program arguments
  if (!ParseArgs(argc, argv)) exit(-1);

  // Open surfel scene
  R3SurfelScene *surfel_scene = OpenSurfelScene(input_surfel_scene_name, input_surfel_database_name);
  if (!surfel_scene) exit(-1);

  // Create points and write to ply file
  if (max_points > 0) {
    if (max_points < surfel_scene->Tree()->Database()->NSurfels()) {
      RNScalar p = (RNScalar) (2*max_points) / (RNScalar) surfel_scene->Tree()->Database()->NSurfels();
      p *= load_every_kth_image;
      p *= load_every_kth_pixel * load_every_kth_pixel;
      if (p < sample_probability) sample_probability = p;
    }
  }

  // Create points
  RNArray<PlyPoint *> points;
  if (!CreatePoints(surfel_scene, points)) exit(-1);

  // Sample points
  if (!SamplePoints(points, max_points)) exit(-1);

  // Write points file
  if (!WritePoints(points, output_points_name)) exit(-1);

  // Delete points
  for (int i = 0; i < points.NEntries(); i++) delete points[i];

  // Close surfel scene
  if (!CloseSurfelScene(surfel_scene)) exit(-1);

  // Return success 
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rsi, %r15
movl %edi, %ebp
movq 0x11090f(%rip), %r12    # 0x125e68
movq 0x110910(%rip), %rax    # 0x125e70
movq %rax, (%rsp)
movq 0x110915(%rip), %rax    # 0x125e80
movq %rax, 0x20(%rsp)
cmpl $0x2, %ebp
jl 0x157ee
leaq 0x8(%r15), %r13
leal -0x1(%rbp), %ebx
movq (%r13), %r14
cmpb $0x2d, (%r14)
jne 0x156e8
cmpb $0x76, 0x1(%r14)
jne 0x155a0
cmpb $0x0, 0x2(%r14)
je 0x15739
movq %r14, %rdi
leaq 0xb3ac6(%rip), %rsi     # 0xc9070
callq 0x13750
testl %eax, %eax
je 0x1571a
movq %r14, %rdi
leaq 0xb3abd(%rip), %rsi     # 0xc907e
callq 0x13750
testl %eax, %eax
je 0x15730
movq %r14, %rdi
leaq 0xb3ab9(%rip), %rsi     # 0xc9091
callq 0x13750
testl %eax, %eax
je 0x15742
movq %r14, %rdi
leaq 0xb3ab3(%rip), %rsi     # 0xc90a2
callq 0x13750
testl %eax, %eax
je 0x1574b
movq %r14, %rdi
leaq 0xb3ab2(%rip), %rsi     # 0xc90b8
callq 0x13750
testl %eax, %eax
je 0x15754
movq %r14, %rdi
leaq 0xb3ab8(%rip), %rsi     # 0xc90d5
callq 0x13750
testl %eax, %eax
je 0x1575d
movq %r14, %rdi
leaq 0xb3ac3(%rip), %rsi     # 0xc90f7
callq 0x13750
testl %eax, %eax
je 0x15766
movq %r14, %rdi
leaq 0xb3ac2(%rip), %rsi     # 0xc910d
callq 0x13750
testl %eax, %eax
je 0x1576f
movq %r14, %rdi
leaq 0xb3ac6(%rip), %rsi     # 0xc9128
callq 0x13750
testl %eax, %eax
je 0x15780
movq %r14, %rdi
leaq 0xb3ac3(%rip), %rsi     # 0xc913c
callq 0x13750
testl %eax, %eax
je 0x1579d
movq %r14, %rdi
leaq 0xb3ac2(%rip), %rsi     # 0xc9152
callq 0x13750
testl %eax, %eax
je 0x157b8
movq %r14, %rdi
leaq 0xb3ac1(%rip), %rsi     # 0xc9168
callq 0x13750
testl %eax, %eax
je 0x157d3
movq %r14, %rdi
leaq 0xb3ab6(%rip), %rsi     # 0xc9174
callq 0x13750
testl %eax, %eax
jne 0x16632
addl $-0x2, %ebp
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x13660
movsd %xmm0, 0x1107bd(%rip)   # 0x125ea0
jmp 0x15570
testq %r12, %r12
je 0x1570e
cmpq $0x0, (%rsp)
je 0x15723
cmpq $0x0, 0x20(%rsp)
jne 0x16632
movq %r14, 0x110779(%rip)    # 0x125e80
movq %r14, 0x20(%rsp)
jmp 0x15776
movq %r14, 0x110753(%rip)    # 0x125e68
movq %r14, %r12
jmp 0x15776
movb $0x1, 0x11076b(%rip)    # 0x125e8c
jmp 0x15776
movq %r14, 0x110746(%rip)    # 0x125e70
movq %r14, (%rsp)
jmp 0x15776
movb $0x0, 0x110755(%rip)    # 0x125e8c
jmp 0x15776
movb $0x1, 0x110748(%rip)    # 0x125e88
jmp 0x15776
movb $0x1, 0x110747(%rip)    # 0x125e90
jmp 0x15776
movb $0x0, 0x11073e(%rip)    # 0x125e90
jmp 0x15776
movb $0x0, 0x110739(%rip)    # 0x125e94
jmp 0x15776
movb $0x1, 0x110730(%rip)    # 0x125e94
jmp 0x15776
movb $0x1, 0x11072b(%rip)    # 0x125e98
jmp 0x15776
movb $0x0, 0x110722(%rip)    # 0x125e98
movl %ebx, %ebp
movq %r13, %r15
jmp 0x15570
addl $-0x2, %ebp
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x13660
movsd %xmm0, 0x10fda0(%rip)   # 0x125538
jmp 0x15570
addl $-0x2, %ebp
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x13810
movl %eax, 0x10fd7d(%rip)    # 0x125530
jmp 0x15570
addl $-0x2, %ebp
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x13810
movl %eax, 0x10fd66(%rip)    # 0x125534
jmp 0x15570
addl $-0x2, %ebp
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x13810
movl %eax, 0x11068f(%rip)    # 0x125e78
jmp 0x15570
testq %r12, %r12
je 0x16647
cmpq $0x0, (%rsp)
je 0x16647
cmpq $0x0, 0x20(%rsp)
je 0x16647
leaq 0xc0(%rsp), %r14
movq %r14, %rdi
callq 0x9b15e
movq %r14, %rdi
callq 0x166fc
movl $0x1f0, %edi            # imm = 0x1F0
callq 0x134f0
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
callq 0x2214c
movq (%r14), %rax
leaq 0xbef4c(%rip), %rcx     # 0xd4793
movq %r14, 0x18(%rsp)
movq %r14, %rdi
movq %r12, %rsi
movq (%rsp), %rdx
movq %rcx, %r8
callq *0xe8(%rax)
testl %eax, %eax
je 0x16657
cmpb $0x1, 0x11061a(%rip)    # 0x125e88
movq 0x18(%rsp), %rbx
jne 0x15952
leaq 0xb3b16(%rip), %rdi     # 0xc9396
callq 0x13800
leaq 0xc0(%rsp), %rdi
callq 0x9b198
leaq 0xb393f(%rip), %rdi     # 0xc91d8
movb $0x1, %al
callq 0x13070
movl 0x8c(%rbx), %esi
leaq 0xb3942(%rip), %rdi     # 0xc91ef
xorl %eax, %eax
callq 0x13070
movl 0x1c(%rbx), %esi
leaq 0xb3941(%rip), %rdi     # 0xc91ff
xorl %eax, %eax
callq 0x13070
movl 0x2c(%rbx), %esi
leaq 0xb3942(%rip), %rdi     # 0xc9211
xorl %eax, %eax
callq 0x13070
movl 0x7c(%rbx), %esi
leaq 0xb3942(%rip), %rdi     # 0xc9222
xorl %eax, %eax
callq 0x13070
movl 0xac(%rbx), %esi
leaq 0xb3944(%rip), %rdi     # 0xc9238
xorl %eax, %eax
callq 0x13070
movq 0x8(%rbx), %rax
movl 0x24(%rax), %esi
leaq 0xb3942(%rip), %rdi     # 0xc924b
xorl %eax, %eax
callq 0x13070
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
movl 0x4c(%rax), %esi
leaq 0xb3939(%rip), %rdi     # 0xc925b
xorl %eax, %eax
callq 0x13070
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
movq 0x50(%rax), %rsi
leaq 0xb3930(%rip), %rdi     # 0xc926c
xorl %eax, %eax
callq 0x13070
movq 0x10f636(%rip), %rax    # 0x124f80
movq (%rax), %rdi
callq 0x135e0
movslq 0x11051f(%rip), %rax    # 0x125e78
testq %rax, %rax
jle 0x159b1
movq 0x8(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq 0x50(%rcx), %rcx
cmpq %rax, %rcx
jle 0x159b1
addl %eax, %eax
cvtsi2sd %eax, %xmm0
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
cvtsi2sdl 0x10fbaa(%rip), %xmm1 # 0x125530
mulsd %xmm0, %xmm1
movl 0x10fba4(%rip), %eax    # 0x125534
imull %eax, %eax
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
movsd 0x10fb95(%rip), %xmm1   # 0x125538
ucomisd %xmm0, %xmm1
jbe 0x159b1
movsd %xmm0, 0x10fb87(%rip)   # 0x125538
leaq 0x8(%rsp), %rdi
callq 0x9b6a6
leaq 0x98(%rsp), %rdi
callq 0x9b15e
leaq 0x98(%rsp), %rdi
callq 0x166fc
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
je 0x1667e
movq 0x10(%rbx), %r15
testq %r15, %r15
je 0x1667e
xorl %r13d, %r13d
leaq 0x1103ef(%rip), %r12    # 0x125de8
movq %rbx, 0x58(%rsp)
movq %r15, 0x68(%rsp)
movslq 0x24(%rbx), %rax
cmpq %rax, %r13
jge 0x15dc3
movq 0x18(%rbx), %rax
movq (%rax,%r13,8), %rbp
cmpl $0x0, 0x3c(%rbp)
jg 0x15dbb
movq %rbp, %rdi
pushq $0x1
popq %rsi
callq 0x1e0aa
movq %rax, %r14
testq %rax, %rax
setne %al
movl 0x10faf4(%rip), %ecx    # 0x125530
cmpl $0x2, %ecx
setge %dl
andb %al, %dl
cmpb $0x1, %dl
jne 0x15a5a
movl 0x10(%r14), %eax
cltd
idivl %ecx
testl %edx, %edx
jne 0x15dbb
jmp 0x15a5f
testq %r14, %r14
je 0x15abb
cmpl $0x0, 0x90(%r14)
je 0x15abb
cmpl $0x0, 0x94(%r14)
je 0x15abb
leaq 0x28(%r14), %rsi
leaq 0xc0(%rsp), %rdi
callq 0x790c4
movq %r14, %rsi
addq $0x70, %rsi
leaq 0x28(%rsp), %rdi
callq 0x7a1da
movq %r14, %rdi
callq 0x16704
movsd %xmm0, (%rsp)
movq %r14, %rdi
callq 0x16730
ucomisd (%rsp), %xmm0
jbe 0x15ae8
movq %r14, %rdi
callq 0x16704
jmp 0x15af0
leaq 0xc0(%rsp), %rdi
leaq 0x511da6(%rip), %rsi    # 0x527870
callq 0x790c4
leaq 0x28(%rsp), %rdi
leaq 0xbb85d(%rip), %rsi     # 0xd1338
callq 0x79884
xorpd %xmm0, %xmm0
movb $0x1, %bl
jmp 0x15af7
movq %r14, %rdi
callq 0x16730
callq 0x13990
xorl %ebx, %ebx
mulsd %xmm0, %xmm0
movsd %xmm0, 0x60(%rsp)
xorl %ecx, %ecx
movq %r13, 0x78(%rsp)
movq %rbp, 0x70(%rsp)
movslq 0x4c(%rbp), %rax
cmpq %rax, %rcx
jge 0x15db6
movq 0x40(%rbp), %rax
movq %rcx, 0x20(%rsp)
movq (%rax,%rcx,8), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x1675c
xorl %r15d, %r15d
xorl %r14d, %r14d
movslq 0x8(%rbp), %rax
cmpq %rax, %r14
jge 0x15d8f
movq (%rbp), %r13
movsd 0x10f9e7(%rip), %xmm0   # 0x125538
addsd 0xb34bf(%rip), %xmm0    # 0xc9018
movsd (%r12), %xmm1
xorpd 0xb34d9(%rip), %xmm1    # 0xc9040
ucomisd %xmm0, %xmm1
jbe 0x15b80
callq 0x9d1b2
ucomisd 0x10f9be(%rip), %xmm0   # 0x125538
ja 0x15d48
cmpb $0x1, 0x110309(%rip)    # 0x125e90
jne 0x15ba4
movzbl 0x2f(%r13,%r15), %eax
andl $0x30, %eax
cmpl $0x10, %eax
je 0x15d48
cmpl $0x20, %eax
je 0x15d48
leaq 0x80(%rsp), %rdi
movq %rbp, %rsi
movl %r14d, %edx
callq 0x16798
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
movl %r14d, %edx
callq 0x167d0
movss 0xb3491(%rip), %xmm0    # 0xc9060
movss %xmm0, (%rsp)
testb %bl, %bl
je 0x15c73
pushq $0x24
popq %rdi
callq 0x134f0
andl $0x0, 0x20(%rax)
movsd 0x90(%rsp), %xmm0
movhpd 0x40(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
xorpd %xmm1, %xmm1
movapd %xmm1, 0x10(%rax)
cvtpd2ps 0x80(%rsp), %xmm1
cvtpd2ps %xmm0, %xmm0
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movupd %xmm1, (%rax)
movupd 0x48(%rsp), %xmm0
cvtpd2ps %xmm0, %xmm0
movlpd %xmm0, 0x10(%rax)
movb 0x2c(%r13,%r15), %cl
movb %cl, 0x18(%rax)
movb 0x2d(%r13,%r15), %cl
movb %cl, 0x19(%rax)
movb 0x2e(%r13,%r15), %cl
movb %cl, 0x1a(%rax)
movss (%rsp), %xmm0
movss %xmm0, 0x1c(%rax)
movq (%rbp), %rcx
movzwl 0x1c(%rcx,%r15), %ecx
cvtsi2ss %ecx, %xmm0
mulss 0xb3408(%rip), %xmm0    # 0xc9064
movss %xmm0, 0x20(%rax)
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x1689c
jmp 0x15d48
leaq 0xa8(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0x79291
leaq 0xa8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x79aee
movsd (%r12), %xmm1
movsd %xmm0, (%rsp)
ucomisd %xmm0, %xmm1
ja 0x15d48
movsd 0x1101e1(%rip), %xmm0   # 0x125ea0
ucomisd 0xb3361(%rip), %xmm0    # 0xc9028
jbe 0x15cd4
movsd (%rsp), %xmm1
ucomisd %xmm0, %xmm1
ja 0x15d48
leaq 0xa8(%rsp), %rdi
callq 0x79b76
cmpb $0x1, 0x1101a4(%rip)    # 0x125e8c
jne 0x15d0c
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x79aee
mulsd %xmm0, %xmm0
movsd 0x60(%rsp), %xmm1
ucomisd %xmm0, %xmm1
ja 0x15d48
movsd 0xb32f4(%rip), %xmm2    # 0xc9008
movapd %xmm2, %xmm0
movsd (%rsp), %xmm3
cmpltsd %xmm3, %xmm0
mulsd %xmm3, %xmm3
movapd %xmm2, %xmm1
divsd %xmm3, %xmm1
andpd %xmm0, %xmm1
andnpd %xmm2, %xmm0
orpd %xmm1, %xmm0
movsd 0xb32de(%rip), %xmm1    # 0xc9020
ucomisd %xmm0, %xmm1
jbe 0x15d54
incq %r14
addq $0x30, %r15
jmp 0x15b38
cmpb $0x0, 0x110139(%rip)    # 0x125e94
jne 0x15d81
movapd %xmm0, %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
mulpd 0x40(%rsp), %xmm1
movapd %xmm1, 0x40(%rsp)
movsd 0x50(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x50(%rsp)
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rsp)
jmp 0x15bdc
movq 0x68(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x16824
movq 0x20(%rsp), %rcx
incq %rcx
movq 0x78(%rsp), %r13
movq 0x70(%rsp), %rbp
jmp 0x15b0d
movq 0x58(%rsp), %rbx
incq %r13
jmp 0x15a03
cmpb $0x0, 0x1100be(%rip)    # 0x125e88
movq 0x18(%rsp), %r12
je 0x15e2f
leaq 0xb35cf(%rip), %rdi     # 0xc93a7
callq 0x13800
leaq 0x98(%rsp), %rdi
callq 0x9b198
leaq 0xb33e7(%rip), %rdi     # 0xc91d8
movb $0x1, %al
callq 0x13070
movl 0x14(%rsp), %esi
leaq 0xb347d(%rip), %rdi     # 0xc9280
xorl %eax, %eax
callq 0x13070
movsd 0x10f726(%rip), %xmm0   # 0x125538
leaq 0xb3478(%rip), %rdi     # 0xc9291
movb $0x1, %al
callq 0x13070
movq 0x10f159(%rip), %rax    # 0x124f80
movq (%rax), %rdi
callq 0x135e0
movl 0x110043(%rip), %ebp    # 0x125e78
leaq 0xc0(%rsp), %rdi
callq 0x9b15e
leaq 0xc0(%rsp), %rdi
callq 0x166fc
testl %ebp, %ebp
je 0x15ff5
movl 0x14(%rsp), %eax
cmpl %ebp, %eax
jl 0x15ff5
cmpb $0x1, 0x11002e(%rip)    # 0x125e98
jne 0x15e81
leaq 0x86b(%rip), %rsi       # 0x166de
leaq 0x8(%rsp), %rdi
callq 0x9b9aa
movl 0x14(%rsp), %eax
movl %eax, %ebx
subl %ebp, %ebx
xorl %ebp, %ebp
shll $0x3, %eax
cmpl %eax, %ebp
jge 0x15ef1
callq 0x9d1b2
cmpb $0x0, 0x10fffe(%rip)    # 0x125e98
jne 0x15ea2
movapd %xmm0, %xmm1
jmp 0x15eb2
mulsd %xmm0, %xmm0
movsd 0xb315a(%rip), %xmm1    # 0xc9008
subsd %xmm0, %xmm1
movl 0x14(%rsp), %eax
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %ecx
cmpl %ecx, %eax
jg 0x15ec9
leal -0x1(%rax), %ecx
movq 0x8(%rsp), %rdx
movslq %ecx, %rcx
movq (%rdx,%rcx,8), %rcx
movss 0x1c(%rcx), %xmm0
ucomiss 0xb3187(%rip), %xmm0    # 0xc9068
jne 0x15ee5
jnp 0x15eed
andl $0x0, 0x1c(%rcx)
decl %ebx
je 0x15ef1
incl %ebp
jmp 0x15e87
leaq 0x28(%rsp), %rdi
callq 0x9b6a6
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
xorl %r15d, %r15d
pushq $0x24
popq %rbx
leaq 0x28(%rsp), %r14
movslq 0x14(%rsp), %rax
cmpq %rax, %r15
jge 0x15f66
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %rsi
movss 0x1c(%rsi), %xmm0
ucomiss 0xb313a(%rip), %xmm0    # 0xc9068
jne 0x15f3f
jp 0x15f3f
movq %rsi, %rdi
movq %rbx, %rsi
callq 0x13500
jmp 0x15f61
movss %xmm0, 0x20(%rsp)
movq %r14, %rdi
callq 0x1689c
cvtss2sd 0x20(%rsp), %xmm0
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
incq %r15
jmp 0x15f0f
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x9b6ba
cmpb $0x1, 0x10ff0c(%rip)    # 0x125e88
jne 0x15feb
leaq 0xb3435(%rip), %rdi     # 0xc93ba
callq 0x13800
leaq 0xc0(%rsp), %rdi
callq 0x9b198
leaq 0xb323a(%rip), %rdi     # 0xc91d8
movb $0x1, %al
callq 0x13070
movl 0x14(%rsp), %esi
leaq 0xb32d0(%rip), %rdi     # 0xc9280
xorl %eax, %eax
callq 0x13070
cvtsi2sdl 0x14(%rsp), %xmm1
mulsd 0xb304b(%rip), %xmm1    # 0xc9010
movsd (%rsp), %xmm0
divsd %xmm1, %xmm0
leaq 0xb32d7(%rip), %rdi     # 0xc92ac
movb $0x1, %al
callq 0x13070
movq 0x10ef9d(%rip), %rax    # 0x124f80
movq (%rax), %rdi
callq 0x135e0
leaq 0x28(%rsp), %rdi
callq 0x9b714
movq 0x10fe84(%rip), %r14    # 0x125e80
leaq 0x40(%rsp), %rdi
callq 0x9b15e
leaq 0x40(%rsp), %rdi
callq 0x166fc
pushq $0x2e
popq %rsi
movq %r14, %rdi
callq 0x13580
testq %rax, %rax
je 0x16661
movq %rax, %rbx
leaq 0xb32bc(%rip), %rsi     # 0xc92ea
movq %rax, %rdi
callq 0x13750
testl %eax, %eax
je 0x16102
leaq 0xb32c9(%rip), %rsi     # 0xc930e
movq %rbx, %rdi
callq 0x13750
testl %eax, %eax
je 0x16272
leaq 0xb32ec(%rip), %rsi     # 0xc9348
movq %rbx, %rdi
callq 0x13750
testl %eax, %eax
je 0x162d9
leaq 0xb32da(%rip), %rsi     # 0xc934d
movq %rbx, %rdi
callq 0x13750
testl %eax, %eax
je 0x162ff
leaq 0xc0(%rsp), %rdi
callq 0x4eb04
xorl %r13d, %r13d
leaq 0x28(%rsp), %rbx
leaq 0x80(%rsp), %r15
leaq 0xc0(%rsp), %r12
movslq 0x14(%rsp), %rax
cmpq %rax, %r13
jge 0x162a8
movq 0x8(%rsp), %rax
movq (%rax,%r13,8), %rbp
cvtss2sd (%rbp), %xmm0
cvtss2sd 0x4(%rbp), %xmm1
cvtss2sd 0x8(%rbp), %xmm2
movq %rbx, %rdi
callq 0x790b4
cvtss2sd 0xc(%rbp), %xmm0
cvtss2sd 0x10(%rbp), %xmm1
cvtss2sd 0x14(%rbp), %xmm2
movq %r15, %rdi
callq 0x79874
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x518fe
incq %r13
jmp 0x160a8
leaq 0xb31e6(%rip), %rax     # 0xc92ef
leaq 0xc0(%rsp), %rdx
movq %rax, (%rdx)
pushq $0x1
popq %rsi
pushq $0x4
popq %rcx
leaq 0x28(%rsp), %r8
movq %r14, %rdi
callq 0x7a54d
movq %rax, %rbx
testq %rax, %rax
je 0x164ce
movl 0x14(%rsp), %edx
leaq 0xb31b1(%rip), %rsi     # 0xc92ef
movq %rbx, %rdi
callq 0x7a987
leaq 0xb31a2(%rip), %rsi     # 0xc92ef
leaq 0x10f3ec(%rip), %rdx    # 0x125540
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb318c(%rip), %rsi     # 0xc92ef
leaq 0x10f3fe(%rip), %rdx    # 0x125568
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb3176(%rip), %rsi     # 0xc92ef
leaq 0x10f410(%rip), %rdx    # 0x125590
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb3160(%rip), %rsi     # 0xc92ef
leaq 0x10f422(%rip), %rdx    # 0x1255b8
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb314a(%rip), %rsi     # 0xc92ef
leaq 0x10f434(%rip), %rdx    # 0x1255e0
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb3134(%rip), %rsi     # 0xc92ef
leaq 0x10f446(%rip), %rdx    # 0x125608
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb311e(%rip), %rsi     # 0xc92ef
leaq 0x10f458(%rip), %rdx    # 0x125630
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb3108(%rip), %rsi     # 0xc92ef
leaq 0x10f46a(%rip), %rdx    # 0x125658
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb30f2(%rip), %rsi     # 0xc92ef
leaq 0x10f47c(%rip), %rdx    # 0x125680
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb30dc(%rip), %rsi     # 0xc92ef
leaq 0x10f48e(%rip), %rdx    # 0x1256a8
movq %rbx, %rdi
callq 0x7a76b
leaq 0xb30c6(%rip), %rsi     # 0xc92ef
leaq 0x10f4a0(%rip), %rdx    # 0x1256d0
movq %rbx, %rdi
callq 0x7a76b
movq %rbx, %rdi
callq 0x7a9c6
leaq 0xb30a8(%rip), %rsi     # 0xc92ef
movq %rbx, %rdi
callq 0x7abea
xorl %r15d, %r15d
movslq 0x14(%rsp), %rax
cmpq %rax, %r15
jge 0x1629b
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %rsi
movq %rbx, %rdi
callq 0x7ac2d
incq %r15
jmp 0x16252
testq %r14, %r14
je 0x16339
leaq 0xba1e2(%rip), %rsi     # 0xd0464
movq %r14, %rdi
callq 0x135f0
movq %rax, %rbx
testq %rax, %rax
jne 0x16343
jmp 0x16323
movq %rbx, %rdi
callq 0x7c45f
jmp 0x1647b
leaq 0xc0(%rsp), %rdi
movq %r14, %rsi
callq 0x5da30
movl %eax, %ebx
leaq 0xc0(%rsp), %rdi
callq 0x4efec
testl %ebx, %ebx
movq 0x18(%rsp), %r12
jne 0x1647b
jmp 0x1667e
testq %r14, %r14
je 0x1638f
leaq 0xba17b(%rip), %rsi     # 0xd0464
movq %r14, %rdi
callq 0x135f0
movq %rax, %rbx
testq %rax, %rax
jne 0x16399
jmp 0x16323
testq %r14, %r14
je 0x163f1
leaq 0xb3043(%rip), %rsi     # 0xc9352
movq %r14, %rdi
callq 0x135f0
movq %rax, %rbx
testq %rax, %rax
jne 0x163fb
leaq 0xb2fea(%rip), %rdi     # 0xc9314
movq %r14, %rsi
xorl %eax, %eax
callq 0x9dd1e
jmp 0x1667e
movq 0x10ec40(%rip), %rax    # 0x124f80
movq (%rax), %rbx
xorl %r12d, %r12d
leaq 0xb2fe6(%rip), %r15     # 0xc9333
movslq 0x14(%rsp), %rax
cmpq %rax, %r12
jge 0x163d6
movq 0x8(%rsp), %rax
movq (%rax,%r12,8), %rax
cvtss2sd (%rax), %xmm0
cvtss2sd 0x4(%rax), %xmm1
cvtss2sd 0x8(%rax), %xmm2
cvtss2sd 0xc(%rax), %xmm3
cvtss2sd 0x10(%rax), %xmm4
cvtss2sd 0x14(%rax), %xmm5
movq %rbx, %rdi
movq %r15, %rsi
movb $0x6, %al
callq 0x13780
incq %r12
jmp 0x1634d
movq 0x10ebea(%rip), %rax    # 0x124f80
movq (%rax), %rbx
xorl %r12d, %r12d
leaq 0xb2f9b(%rip), %r15     # 0xc933e
movslq 0x14(%rsp), %rax
cmpq %rax, %r12
jge 0x163d6
movq 0x8(%rsp), %rax
movq (%rax,%r12,8), %rax
cvtss2sd (%rax), %xmm0
cvtss2sd 0x4(%rax), %xmm1
cvtss2sd 0x8(%rax), %xmm2
movq %rbx, %rdi
movq %r15, %rsi
movb $0x3, %al
callq 0x13780
incq %r12
jmp 0x163a3
testq %r14, %r14
movq 0x18(%rsp), %r12
je 0x1647b
movq %rbx, %rdi
callq 0x134e0
jmp 0x1647b
movq 0x10eb88(%rip), %rax    # 0x124f80
movq (%rax), %rbx
xorl %ebp, %ebp
leaq 0xc0(%rsp), %r15
pushq $0x4
popq %r12
pushq $0x6
popq %r13
movslq 0x14(%rsp), %rax
cmpq %rax, %rbp
jge 0x16469
movq 0x8(%rsp), %rax
movq (%rax,%rbp,8), %rax
movups (%rax), %xmm0
movaps %xmm0, 0xc0(%rsp)
movsd 0x10(%rax), %xmm0
movsd %xmm0, 0xd0(%rsp)
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x139e0
incq %rbp
cmpq $0x6, %rax
je 0x1640d
leaq 0xb2efb(%rip), %rdi     # 0xc9355
movq %r14, %rsi
xorl %eax, %eax
callq 0x9dd1e
jmp 0x1667e
testq %r14, %r14
je 0x16476
movq %rbx, %rdi
callq 0x134e0
movq 0x18(%rsp), %r12
cmpb $0x1, 0x10fa06(%rip)    # 0x125e88
jne 0x164ce
leaq 0xb2ef3(%rip), %rdi     # 0xc937e
movq %r14, %rsi
xorl %eax, %eax
callq 0x13070
leaq 0x40(%rsp), %rdi
callq 0x9b198
leaq 0xb2d32(%rip), %rdi     # 0xc91d8
movb $0x1, %al
callq 0x13070
movl 0x14(%rsp), %esi
leaq 0xb2dc8(%rip), %rdi     # 0xc9280
xorl %eax, %eax
callq 0x13070
movq 0x10eaba(%rip), %rax    # 0x124f80
movq (%rax), %rdi
callq 0x135e0
xorl %r14d, %r14d
pushq $0x24
popq %rbx
movslq 0x14(%rsp), %rax
cmpq %rax, %r14
jge 0x164f4
movq 0x8(%rsp), %rax
movq (%rax,%r14,8), %rdi
movq %rbx, %rsi
callq 0x13500
incq %r14
jmp 0x164d4
leaq 0xc0(%rsp), %rdi
callq 0x9b15e
leaq 0xc0(%rsp), %rdi
callq 0x166fc
cmpb $0x1, 0x10f973(%rip)    # 0x125e88
jne 0x16601
leaq 0xb2eab(%rip), %rdi     # 0xc93cd
callq 0x13800
leaq 0xc0(%rsp), %rdi
callq 0x9b198
leaq 0xb2c9d(%rip), %rdi     # 0xc91d8
movb $0x1, %al
callq 0x13070
movl 0x8c(%r12), %esi
leaq 0xb2c9e(%rip), %rdi     # 0xc91ef
xorl %eax, %eax
callq 0x13070
movl 0x1c(%r12), %esi
leaq 0xb2c9b(%rip), %rdi     # 0xc91ff
xorl %eax, %eax
callq 0x13070
movl 0x2c(%r12), %esi
leaq 0xb2c9a(%rip), %rdi     # 0xc9211
xorl %eax, %eax
callq 0x13070
movl 0x7c(%r12), %esi
leaq 0xb2c98(%rip), %rdi     # 0xc9222
xorl %eax, %eax
callq 0x13070
movl 0xac(%r12), %esi
leaq 0xb2c98(%rip), %rdi     # 0xc9238
xorl %eax, %eax
callq 0x13070
movq 0x8(%r12), %rax
movl 0x24(%rax), %esi
leaq 0xb2c95(%rip), %rdi     # 0xc924b
xorl %eax, %eax
callq 0x13070
movq 0x8(%r12), %rax
movq 0x10(%rax), %rax
movl 0x4c(%rax), %esi
leaq 0xb2c8b(%rip), %rdi     # 0xc925b
xorl %eax, %eax
callq 0x13070
movq 0x8(%r12), %rax
movq 0x10(%rax), %rax
movq 0x50(%rax), %rsi
leaq 0xb2c81(%rip), %rdi     # 0xc926c
xorl %eax, %eax
callq 0x13070
movq 0x10e987(%rip), %rax    # 0x124f80
movq (%rax), %rdi
callq 0x135e0
movq (%r12), %rax
movq %r12, %rdi
xorl %esi, %esi
callq *0xf8(%rax)
testl %eax, %eax
je 0x16674
leaq 0x8(%rsp), %rdi
callq 0x9b714
xorl %eax, %eax
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb2b46(%rip), %rdi     # 0xc917f
movq %r14, %rsi
xorl %eax, %eax
callq 0x9dd1e
pushq $0x1
jmp 0x16680
leaq 0xb2b4e(%rip), %rdi     # 0xc919c
xorl %eax, %eax
callq 0x9dd1e
jmp 0x1667e
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
jmp 0x1667b
leaq 0xb2c57(%rip), %rdi     # 0xc92bf
movq %r14, %rsi
xorl %eax, %eax
callq 0x13070
jmp 0x1667e
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
pushq $-0x1
popq %rdi
callq 0x13610
jmp 0x166b1
jmp 0x1669c
movq %rax, %rbx
movl $0x1f0, %esi            # imm = 0x1F0
movq %r14, %rdi
callq 0x13500
jmp 0x166d6
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x9b714
jmp 0x166cc
jmp 0x166b1
jmp 0x166c9
jmp 0x166c9
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x4efec
jmp 0x166cc
jmp 0x166c9
jmp 0x166c9
jmp 0x166c9
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x9b714
movq %rbx, %rdi
callq 0x138f0