// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/apps/scn2scn/scn2scn.cpp
// Function: main
static int
ParseArgs(int argc, char **argv)
{
  // Parse arguments
  argc--; argv++;
  while (argc > 0) {
    if ((*argv)[0] == '-') {
      R3Affine prev_xform = xform;
      if (!strcmp(*argv, "-v")) print_verbose = 1;
      else if (!strcmp(*argv, "-remove_references")) remove_references = 1;
      else if (!strcmp(*argv, "-remove_hierarchy")) remove_hierarchy = 1;
      else if (!strcmp(*argv, "-remove_transformations")) remove_transformations = 1;
      else if (!strcmp(*argv, "-select_nodes_in_subtree")) {
        argv++; argc--; select_nodes_in_subtree_name = *argv;
      }
      else if (!strcmp(*argv, "-select_nodes_in_grid")) {
        argv++; argc--; select_nodes_in_grid_filename = *argv;
      }
      else if (!strcmp(*argv, "-select_nodes_in_bbox")) {
        argv++; argc--; select_nodes_in_bbox[0][0] = atof(*argv);
        argv++; argc--; select_nodes_in_bbox[0][1] = atof(*argv);
        argv++; argc--; select_nodes_in_bbox[0][2] = atof(*argv);
        argv++; argc--; select_nodes_in_bbox[1][0] = atof(*argv);
        argv++; argc--; select_nodes_in_bbox[1][1] = atof(*argv);
        argv++; argc--; select_nodes_in_bbox[1][2] = atof(*argv);
      }
      else if (!strcmp(*argv, "-scale")) {
        argv++; argc--; xform.Scale(atof(*argv));
      }
      else if (!strcmp(*argv, "-tx")) {
        argv++; argc--; xform = R3identity_affine; xform.XTranslate(atof(*argv)); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-ty")) {
        argv++; argc--; xform = R3identity_affine; xform.YTranslate(atof(*argv)); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-tz")) {
        argv++; argc--; xform = R3identity_affine; xform.ZTranslate(atof(*argv)); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-sx")) {
        argv++; argc--; xform = R3identity_affine; xform.XScale(atof(*argv)); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-sy")) {
        argv++; argc--; xform = R3identity_affine; xform.YScale(atof(*argv)); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-sz")) {
        argv++; argc--; xform = R3identity_affine; xform.ZScale(atof(*argv)); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-rx")) {
        argv++; argc--; xform = R3identity_affine; xform.XRotate(RN_PI*atof(*argv)/180.0); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-ry")) {
        argv++; argc--; xform = R3identity_affine; xform.YRotate(RN_PI*atof(*argv)/180.0); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-rz")) {
        argv++; argc--; xform = R3identity_affine; xform.ZRotate(RN_PI*atof(*argv)/180.0); xform.Transform(prev_xform);
      }
      else if (!strcmp(*argv, "-xform")) {
        argv++; argc--; R4Matrix m;  if (ReadMatrix(m, *argv)) { xform = R3identity_affine; xform.Transform(R3Affine(m)); xform.Transform(prev_xform);}
      } 
      else if (!strcmp(*argv, "-max_edge_length")) {
        argv++; argc--; max_edge_length = atof(*argv);
      }
      else if (!strcmp(*argv, "-categories")) {
        argc--; argv++; input_categories_name = *argv;
      }
      else if (!strcmp(*argv, "-lights")) {
        argv++; argc--; input_lights_name = *argv;
      }
      else {
        RNFail("Invalid program argument: %s", *argv);
        exit(1);
      }
      argv++; argc--;
    }
    else {
      if (!input_name) input_name = *argv;
      else if (!output_name) output_name = *argv;
      else { RNFail("Invalid program argument: %s", *argv); exit(1); }
      argv++; argc--;
    }
  }

  // Check input filename
  if (!input_name || !output_name) {
    RNFail("Usage: scn2scn inputfile outputfile [options]\n");
    return 0;
  }

  // Return OK status 
  return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
cmpl $0x2, %edi
jl 0x26d38
movq %rsi, %r15
movl %edi, %ebx
leaq 0xd8326(%rip), %rax     # 0xfe898
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
leaq 0x139945(%rip), %r12    # 0x15fec8
addq $0x10, %r12
leaq 0x146052(%rip), %rax    # 0x16c5e0
addq $0x8, %rax
movq %rax, (%rsp)
leaq 0x143273(%rip), %rax    # 0x169810
movl $0x88, %ecx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%r15), %rbp
leal -0x1(%rbx), %r13d
movq 0x8(%r15), %rsi
cmpb $0x2d, (%rsi)
jne 0x267fe
movq %r12, 0x18(%rsp)
leaq 0x20(%rsp), %rdi
leaq 0x143248(%rip), %rsi    # 0x169818
callq 0x713ea
leaq 0xa0(%rsp), %rdi
leaq 0x1432b4(%rip), %rsi    # 0x169898
callq 0x713ea
movq 0x143328(%rip), %rax    # 0x169918
movq %rax, 0x120(%rsp)
movq (%rbp), %r14
cmpb $0x2d, (%r14)
jne 0x26614
cmpb $0x76, 0x1(%r14)
jne 0x26614
cmpb $0x0, 0x2(%r14)
je 0x26849
movq %r14, %rdi
leaq 0xcea12(%rip), %rsi     # 0xf5030
callq 0x22ca0
testl %eax, %eax
je 0x2682e
movq %r14, %rdi
leaq 0xcea0e(%rip), %rsi     # 0xf5043
callq 0x22ca0
testl %eax, %eax
je 0x26837
movq %r14, %rdi
leaq 0xcea09(%rip), %rsi     # 0xf5055
callq 0x22ca0
testl %eax, %eax
je 0x26840
movq %r14, %rdi
leaq 0xcea0a(%rip), %rsi     # 0xf506d
callq 0x22ca0
testl %eax, %eax
je 0x26858
movq %r14, %rdi
leaq 0xcea0c(%rip), %rsi     # 0xf5086
callq 0x22ca0
testl %eax, %eax
je 0x2686f
movq %r14, %rdi
leaq 0xcea0b(%rip), %rsi     # 0xf509c
callq 0x22ca0
testl %eax, %eax
je 0x26886
movq %r14, %rdi
leaq 0xcea0a(%rip), %rsi     # 0xf50b2
callq 0x22ca0
testl %eax, %eax
je 0x268f8
movq %r14, %rdi
leaq 0xce9fa(%rip), %rsi     # 0xf50b9
callq 0x22ca0
testl %eax, %eax
leaq 0x143143(%rip), %r13    # 0x169810
je 0x26920
movq %r14, %rdi
leaq 0xce9e0(%rip), %rsi     # 0xf50bd
callq 0x22ca0
testl %eax, %eax
je 0x26990
movq %r14, %rdi
leaq 0xce9cd(%rip), %rsi     # 0xf50c1
callq 0x22ca0
testl %eax, %eax
je 0x26a00
movq %r14, %rdi
leaq 0xce9ba(%rip), %rsi     # 0xf50c5
callq 0x22ca0
testl %eax, %eax
je 0x26a70
movq %r14, %rdi
leaq 0xce9a7(%rip), %rsi     # 0xf50c9
callq 0x22ca0
testl %eax, %eax
je 0x26ae0
movq %r14, %rdi
leaq 0xce994(%rip), %rsi     # 0xf50cd
callq 0x22ca0
testl %eax, %eax
je 0x26b50
movq %r14, %rdi
leaq 0xce981(%rip), %rsi     # 0xf50d1
callq 0x22ca0
testl %eax, %eax
je 0x26b90
movq %r14, %rdi
leaq 0xce96e(%rip), %rsi     # 0xf50d5
callq 0x22ca0
testl %eax, %eax
je 0x26bde
movq %r14, %rdi
leaq 0xce95b(%rip), %rsi     # 0xf50d9
callq 0x22ca0
testl %eax, %eax
je 0x26c2c
movq %r14, %rdi
leaq 0xce948(%rip), %rsi     # 0xf50dd
callq 0x22ca0
testl %eax, %eax
je 0x26c77
movq %r14, %rdi
leaq 0xce938(%rip), %rsi     # 0xf50e4
callq 0x22ca0
testl %eax, %eax
je 0x26d0a
movq %r14, %rdi
leaq 0xce932(%rip), %rsi     # 0xf50f5
callq 0x22ca0
testl %eax, %eax
je 0x26d24
movq %r14, %rdi
leaq 0xce927(%rip), %rsi     # 0xf5101
callq 0x22ca0
testl %eax, %eax
jne 0x273b8
addl $-0x2, %ebx
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x143137(%rip)    # 0x169930
jmp 0x26ce8
cmpq $0x0, 0x14311a(%rip)    # 0x169920
je 0x26822
cmpq $0x0, 0x143150(%rip)    # 0x169960
jne 0x2734e
movq %rsi, 0x143143(%rip)    # 0x169960
jmp 0x26cf8
movq %rsi, 0x1430f7(%rip)    # 0x169920
jmp 0x26cf8
movb $0x1, 0x143113(%rip)    # 0x169948
jmp 0x26850
movb $0x1, 0x14310e(%rip)    # 0x16994c
jmp 0x26850
movb $0x1, 0x143109(%rip)    # 0x169950
jmp 0x26850
movb $0x1, 0x143118(%rip)    # 0x169968
movq %rbp, %r15
jmp 0x26ceb
addl $-0x2, %ebx
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x1430ce(%rip)    # 0x169938
jmp 0x26ce8
addl $-0x2, %ebx
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x1430bf(%rip)    # 0x169940
jmp 0x26ce8
movq 0x10(%r15), %rdi
callq 0x22b30
movsd %xmm0, 0x142f49(%rip)   # 0x1697e0
movq 0x18(%r15), %rdi
callq 0x22b30
movsd %xmm0, 0x142f40(%rip)   # 0x1697e8
movq 0x20(%r15), %rdi
callq 0x22b30
movsd %xmm0, 0x142f37(%rip)   # 0x1697f0
movq 0x28(%r15), %rdi
callq 0x22b30
movsd %xmm0, 0x142f2e(%rip)   # 0x1697f8
movq 0x30(%r15), %rdi
callq 0x22b30
movsd %xmm0, 0x142f25(%rip)   # 0x169800
addl $-0x7, %ebx
movq 0x38(%r15), %rdi
addq $0x38, %r15
callq 0x22b30
movsd %xmm0, 0x142f15(%rip)   # 0x169808
jmp 0x26ce8
movq 0x10(%r15), %rdi
callq 0x22b30
leaq 0x142f10(%rip), %rdi    # 0x169818
callq 0x726d2
addq $0x10, %r15
addl $-0x2, %ebx
andb $-0x3, 0x142ffd(%rip)   # 0x169918
jmp 0x26ce8
leaq 0x142ef1(%rip), %rdi    # 0x169818
movq (%rsp), %rsi
callq 0x72fce
leaq 0x145ca9(%rip), %rax    # 0x16c5e0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x72fce
addq $0x10, %r15
leaq 0x145c8b(%rip), %rax    # 0x16c5e0
movq 0x108(%rax), %rax
movq %rax, 0x142fb5(%rip)    # 0x169918
movq (%r15), %rdi
callq 0x22b30
leaq 0x142ea6(%rip), %rdi    # 0x169818
callq 0x7234e
andb $-0x3, 0x142f9a(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
leaq 0x142e81(%rip), %rdi    # 0x169818
movq (%rsp), %rsi
callq 0x72fce
leaq 0x145c39(%rip), %rax    # 0x16c5e0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x72fce
addq $0x10, %r15
leaq 0x145c1b(%rip), %rax    # 0x16c5e0
movq 0x108(%rax), %rax
movq %rax, 0x142f45(%rip)    # 0x169918
movq (%r15), %rdi
callq 0x22b30
leaq 0x142e36(%rip), %rdi    # 0x169818
callq 0x72384
andb $-0x3, 0x142f2a(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
leaq 0x142e11(%rip), %rdi    # 0x169818
movq (%rsp), %rsi
callq 0x72fce
leaq 0x145bc9(%rip), %rax    # 0x16c5e0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x72fce
addq $0x10, %r15
leaq 0x145bab(%rip), %rax    # 0x16c5e0
movq 0x108(%rax), %rax
movq %rax, 0x142ed5(%rip)    # 0x169918
movq (%r15), %rdi
callq 0x22b30
leaq 0x142dc6(%rip), %rdi    # 0x169818
callq 0x723ba
andb $-0x3, 0x142eba(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
leaq 0x142da1(%rip), %rdi    # 0x169818
movq (%rsp), %rsi
callq 0x72fce
leaq 0x145b59(%rip), %rax    # 0x16c5e0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x72fce
addq $0x10, %r15
leaq 0x145b3b(%rip), %rax    # 0x16c5e0
movq 0x108(%rax), %rax
movq %rax, 0x142e65(%rip)    # 0x169918
movq (%r15), %rdi
callq 0x22b30
leaq 0x142d56(%rip), %rdi    # 0x169818
callq 0x725cc
andb $-0x3, 0x142e4a(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
leaq 0x142d31(%rip), %rdi    # 0x169818
movq (%rsp), %rsi
callq 0x72fce
leaq 0x145ae9(%rip), %rax    # 0x16c5e0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x72fce
addq $0x10, %r15
leaq 0x145acb(%rip), %rax    # 0x16c5e0
movq 0x108(%rax), %rax
movq %rax, 0x142df5(%rip)    # 0x169918
movq (%r15), %rdi
callq 0x22b30
leaq 0x142ce6(%rip), %rdi    # 0x169818
callq 0x725f2
andb $-0x3, 0x142dda(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
movq %r13, %rdi
leaq 0x145a86(%rip), %rsi    # 0x16c5e0
callq 0x279a6
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b30
leaq 0x142ca6(%rip), %rdi    # 0x169818
callq 0x7261a
andb $-0x3, 0x142d9a(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
movq %r13, %rdi
leaq 0x145a46(%rip), %rsi    # 0x16c5e0
callq 0x279a6
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b30
mulsd 0x10(%rsp), %xmm0
divsd 0xce44f(%rip), %xmm0    # 0xf5008
leaq 0x142c58(%rip), %rdi    # 0x169818
callq 0x727aa
andb $-0x3, 0x142d4c(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
movq %r13, %rdi
leaq 0x1459f8(%rip), %rsi    # 0x16c5e0
callq 0x279a6
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b30
mulsd 0x10(%rsp), %xmm0
divsd 0xce401(%rip), %xmm0    # 0xf5008
leaq 0x142c0a(%rip), %rdi    # 0x169818
callq 0x72886
andb $-0x3, 0x142cfe(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
movq %r13, %rdi
leaq 0x1459aa(%rip), %rsi    # 0x16c5e0
callq 0x279a6
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b30
mulsd 0x10(%rsp), %xmm0
divsd 0xce3b3(%rip), %xmm0    # 0xf5008
leaq 0x142bbc(%rip), %rdi    # 0x169818
callq 0x72968
andb $-0x3, 0x142cb0(%rip)   # 0x169918
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
jmp 0x26ce5
leaq 0x128(%rsp), %rdi
callq 0x713e8
addq $0x10, %r15
movq (%r15), %rsi
leaq 0x128(%rsp), %rdi
callq 0x2742a
testl %eax, %eax
je 0x26ce5
movq %r13, %rdi
leaq 0x14593a(%rip), %rsi    # 0x16c5e0
callq 0x279a6
leaq 0x1a8(%rsp), %r14
movq %r14, %rdi
leaq 0x128(%rsp), %rsi
xorl %edx, %edx
callq 0x6f106
movq %r13, %rdi
movq %r14, %rsi
callq 0x6f2c2
movq %r14, %rdi
callq 0x6f154
movq %r13, %rdi
leaq 0x18(%rsp), %rsi
callq 0x6f2c2
addl $-0x2, %ebx
movl %ebx, %r13d
leaq 0x18(%rsp), %rdi
callq 0x6f154
movq %r15, %rbp
movq %rbp, %r15
movl %r13d, %ebx
cmpl $0x1, %r13d
jg 0x265aa
jmp 0x26d38
addl $-0x2, %ebx
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x22b30
movsd %xmm0, 0x142c36(%rip)   # 0x169958
jmp 0x26ce8
addl $-0x2, %ebx
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x142bf2(%rip)    # 0x169928
jmp 0x26ce8
movq 0x142be1(%rip), %r15    # 0x169920
testq %r15, %r15
je 0x27366
cmpq $0x0, 0x142c10(%rip)    # 0x169960
je 0x27366
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xa21b4
movq %r14, %rdi
xorl %esi, %esi
callq 0x22f50
movl $0x160, %edi            # imm = 0x160
callq 0x22870
movq %rax, %rbx
movq %rax, %rdi
callq 0x279f0
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x28ce0
testl %eax, %eax
je 0x27376
cmpb $0x1, 0x142bca(%rip)    # 0x169968
jne 0x26e42
leaq 0xce3ca(%rip), %rdi     # 0xf5175
movq %r15, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa2216
leaq 0xce3c7(%rip), %rdi     # 0xf518d
movb $0x1, %al
callq 0x22080
movl 0x14(%rbx), %esi
leaq 0xce3cd(%rip), %rdi     # 0xf51a4
xorl %eax, %eax
callq 0x22080
movl 0x24(%rbx), %esi
leaq 0xce3cc(%rip), %rdi     # 0xf51b4
xorl %eax, %eax
callq 0x22080
movl 0x34(%rbx), %esi
leaq 0xce3cc(%rip), %rdi     # 0xf51c5
xorl %eax, %eax
callq 0x22080
movl 0x44(%rbx), %esi
leaq 0xce3cf(%rip), %rdi     # 0xf51d9
xorl %eax, %eax
callq 0x22080
movl 0x54(%rbx), %esi
leaq 0xce3ce(%rip), %rdi     # 0xf51e9
xorl %eax, %eax
callq 0x22080
movl 0x64(%rbx), %esi
leaq 0xce3d0(%rip), %rdi     # 0xf51fc
xorl %eax, %eax
callq 0x22080
movq 0x13d0e6(%rip), %rax    # 0x163f20
movq (%rax), %rdi
callq 0x22a40
movq 0x142adf(%rip), %r15    # 0x169928
testq %r15, %r15
je 0x26eb9
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xa21b4
movq %r12, %rdi
xorl %esi, %esi
callq 0x22f50
movq %rbx, %rdi
movq %r15, %rsi
callq 0x35b1a
testl %eax, %eax
je 0x273ae
cmpb $0x1, 0x142ae9(%rip)    # 0x169968
jne 0x26eb9
leaq 0xce390(%rip), %rdi     # 0xf5218
movq %r15, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa2216
leaq 0xce2ea(%rip), %rdi     # 0xf518d
movb $0x1, %al
callq 0x22080
movq 0x13d06f(%rip), %rax    # 0x163f20
movq (%rax), %rdi
callq 0x22a40
movq 0x142a70(%rip), %r15    # 0x169930
testq %r15, %r15
je 0x26f41
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xa21b4
movq %r12, %rdi
xorl %esi, %esi
callq 0x22f50
movq %rbx, %rdi
movq %r15, %rsi
callq 0x35134
testl %eax, %eax
je 0x273ae
cmpb $0x1, 0x142a72(%rip)    # 0x169968
jne 0x26f41
leaq 0xce336(%rip), %rdi     # 0xf5235
movq %r15, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa2216
leaq 0xce273(%rip), %rdi     # 0xf518d
movb $0x1, %al
callq 0x22080
movl 0x24(%rbx), %esi
leaq 0xce289(%rip), %rdi     # 0xf51b4
xorl %eax, %eax
callq 0x22080
movq 0x13cfe7(%rip), %rax    # 0x163f20
movq (%rax), %rdi
callq 0x22a40
movq 0x1429f0(%rip), %rsi    # 0x169938
movq 0x1429f1(%rip), %r13    # 0x169940
movq %rsi, %rax
orq %r13, %rax
je 0x26f79
testq %rsi, %rsi
je 0x26fc3
movq %rbx, %rdi
callq 0x27c30
testq %rax, %rax
je 0x2738d
movq %rax, %r15
movq 0x1429c9(%rip), %r13    # 0x169940
jmp 0x26fc6
movsd 0x14285f(%rip), %xmm0   # 0x1697e0
ucomisd 0x14286f(%rip), %xmm0   # 0x1697f8
ja 0x27179
movsd 0x142851(%rip), %xmm0   # 0x1697e8
ucomisd 0x142861(%rip), %xmm0   # 0x169800
ja 0x27179
movsd 0x142843(%rip), %xmm0   # 0x1697f0
ucomisd 0x142853(%rip), %xmm0   # 0x169808
ja 0x27179
xorl %r15d, %r15d
jmp 0x27141
xorl %r15d, %r15d
testq %r13, %r13
je 0x27141
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xa21b4
movq %r12, %rdi
xorl %esi, %esi
callq 0x22f50
movl $0x250, %edi            # imm = 0x250
callq 0x22870
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x7357c
movq %r12, %rdi
movq %r13, %rsi
callq 0x7ad26
testl %eax, %eax
je 0x2739d
cmpb $0x1, 0x14294d(%rip)    # 0x169968
jne 0x27168
leaq 0xce30a(%rip), %rdi     # 0xf5332
callq 0x22e40
leaq 0x18(%rsp), %rdi
callq 0xa2216
leaq 0xce14f(%rip), %rdi     # 0xf518d
movb $0x1, %al
callq 0x22080
movl 0x238(%r12), %esi
movl 0x23c(%r12), %edx
movl 0x240(%r12), %ecx
leaq 0xce22d(%rip), %rdi     # 0xf5291
xorl %eax, %eax
callq 0x22080
movsd 0x228(%r12), %xmm0
leaq 0xce22e(%rip), %rdi     # 0xf52aa
movb $0x1, %al
callq 0x22080
movq %r12, %rdi
callq 0x741cc
leaq 0xce228(%rip), %rdi     # 0xf52ba
movl %eax, %esi
xorl %eax, %eax
callq 0x22080
movsd 0x228(%r12), %xmm0
movsd %xmm0, (%rsp)
movq %r12, %rdi
callq 0x741cc
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd (%rsp), %xmm1
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
leaq 0xce1fd(%rip), %rdi     # 0xf52ce
movb $0x1, %al
callq 0x22080
leaq 0x1a8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x7410e
movsd (%r13), %xmm0
leaq 0xce1e5(%rip), %rdi     # 0xf52dd
movb $0x1, %al
callq 0x22080
movsd 0x8(%r13), %xmm0
leaq 0xce1e1(%rip), %rdi     # 0xf52ed
movb $0x1, %al
callq 0x22080
movq %r12, %rdi
callq 0x74174
leaq 0xce1db(%rip), %rdi     # 0xf52fd
movb $0x1, %al
callq 0x22080
movq %r12, %rdi
callq 0x7419c
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x27146
sqrtsd %xmm0, %xmm0
jmp 0x2714b
xorl %r12d, %r12d
jmp 0x27168
callq 0x22670
leaq 0xce1ba(%rip), %rdi     # 0xf530c
movb $0x1, %al
callq 0x22080
movq 0x13cdc0(%rip), %rax    # 0x163f20
movq (%rax), %rdi
callq 0x22a40
movq (%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %rcx
callq 0x274c4
leaq 0x142690(%rip), %rdi    # 0x169810
callq 0x6f1c4
testl %eax, %eax
jne 0x27211
movq (%rbx), %r15
leaq 0x138d31(%rip), %rax    # 0x15fec8
addq $0x10, %rax
leaq 0x20(%rsp), %rdi
movq %rax, -0x8(%rdi)
leaq 0x145435(%rip), %r12    # 0x16c5e0
leaq 0x8(%r12), %rsi
callq 0x713ea
movl $0x88, %esi
addq %rsi, %r14
addq 0x13ce1c(%rip), %rsi    # 0x163fe0
movq %r14, %rdi
callq 0x713ea
movq 0x108(%r12), %rax
leaq 0x18(%rsp), %rdi
movq %rax, 0x108(%rdi)
leaq 0x142629(%rip), %rsi    # 0x169810
callq 0x6f2c2
leaq 0x58(%r15), %rsi
leaq 0x18(%rsp), %rdi
callq 0x6f2c2
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x3c316
leaq 0x18(%rsp), %rdi
callq 0x6f154
cmpb $0x1, 0x142730(%rip)    # 0x169948
jne 0x27222
movq %rbx, %rdi
callq 0x281b6
cmpb $0x1, 0x142723(%rip)    # 0x16994c
jne 0x27233
movq %rbx, %rdi
callq 0x282b4
cmpb $0x1, 0x142716(%rip)    # 0x169950
jne 0x27244
movq %rbx, %rdi
callq 0x2840c
movsd 0x14270c(%rip), %xmm0   # 0x169958
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x2725e
movq %rbx, %rdi
callq 0x2853e
movq 0x1426fb(%rip), %r14    # 0x169960
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xa21b4
movq %r15, %rdi
xorl %esi, %esi
callq 0x22f50
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2fb6a
testl %eax, %eax
je 0x2733a
cmpb $0x1, 0x1426d2(%rip)    # 0x169968
jne 0x2733a
leaq 0xce078(%rip), %rdi     # 0xf531b
movq %r14, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa2216
leaq 0xcdecf(%rip), %rdi     # 0xf518d
movb $0x1, %al
callq 0x22080
movl 0x14(%rbx), %esi
leaq 0xcded5(%rip), %rdi     # 0xf51a4
xorl %eax, %eax
callq 0x22080
movl 0x24(%rbx), %esi
leaq 0xcded4(%rip), %rdi     # 0xf51b4
xorl %eax, %eax
callq 0x22080
movl 0x34(%rbx), %esi
leaq 0xcded4(%rip), %rdi     # 0xf51c5
xorl %eax, %eax
callq 0x22080
movl 0x44(%rbx), %esi
leaq 0xcded7(%rip), %rdi     # 0xf51d9
xorl %eax, %eax
callq 0x22080
movl 0x54(%rbx), %esi
leaq 0xcded6(%rip), %rdi     # 0xf51e9
xorl %eax, %eax
callq 0x22080
movl 0x64(%rbx), %esi
leaq 0xcded8(%rip), %rdi     # 0xf51fc
xorl %eax, %eax
callq 0x22080
movq 0x13cbee(%rip), %rax    # 0x163f20
movq (%rax), %rdi
callq 0x22a40
xorl %eax, %eax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcddb4(%rip), %rdi     # 0xf5109
xorl %eax, %eax
callq 0xa52c2
movl $0x1, %edi
callq 0x22aa0
leaq 0xcddb9(%rip), %rdi     # 0xf5126
xorl %eax, %eax
callq 0xa52c2
jmp 0x2735c
movq %rbx, %rdi
callq 0x27bbe
movl $0x160, %esi            # imm = 0x160
movq %rbx, %rdi
callq 0x22890
jmp 0x273ae
movq 0x1425a4(%rip), %rsi    # 0x169938
leaq 0xcdeb3(%rip), %rdi     # 0xf524e
jmp 0x273a7
leaq 0xcded1(%rip), %rdi     # 0xf5275
movq %r13, %rsi
xorl %eax, %eax
callq 0xa52c2
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22aa0
leaq 0xcdd4a(%rip), %rdi     # 0xf5109
movq %r14, %rsi
xorl %eax, %eax
callq 0xa52c2
jmp 0x2735c
jmp 0x27406
movq %rax, %r14
leaq 0x1a8(%rsp), %rdi
callq 0x6f154
jmp 0x27409
jmp 0x27406
jmp 0x27406
movq %rax, %r14
movl $0x250, %esi            # imm = 0x250
movq %r12, %rdi
jmp 0x273fd
jmp 0x27415
movq %rax, %r14
movl $0x160, %esi            # imm = 0x160
movq %rbx, %rdi
callq 0x22890
jmp 0x27422
jmp 0x27406
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x6f154
jmp 0x27422
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x6f7e8
movq %r14, %rdi
callq 0x23050