// File: /workspace/github_cpp_makefile_star2_O1/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 0x26d7b
movq %rsi, %r15
movl %edi, %r14d
leaq 0xdb2d5(%rip), %rax     # 0x101888
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
leaq 0x13c904(%rip), %r13    # 0x162ec8
addq $0x10, %r13
leaq 0x149021(%rip), %rax    # 0x16f5f0
addq $0x8, %rax
movq %rax, (%rsp)
leaq 0x146242(%rip), %rax    # 0x16c820
movl $0x88, %ecx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%r15), %rbx
leal -0x1(%r14), %ebp
movq 0x8(%r15), %rsi
cmpb $0x2d, (%rsi)
jne 0x2683e
movq %r13, 0x18(%rsp)
leaq 0x20(%rsp), %rdi
leaq 0x146217(%rip), %rsi    # 0x16c828
callq 0x72326
leaq 0xa0(%rsp), %rdi
leaq 0x146283(%rip), %rsi    # 0x16c8a8
callq 0x72326
movq 0x1462f7(%rip), %rax    # 0x16c928
movq %rax, 0x120(%rsp)
movq (%rbx), %r12
movq %r12, %rdi
leaq 0xd19ea(%rip), %rsi     # 0xf8030
callq 0x22cb0
testl %eax, %eax
je 0x26868
movq %r12, %rdi
leaq 0xd19d6(%rip), %rsi     # 0xf8033
callq 0x22cb0
testl %eax, %eax
je 0x26871
movq %r12, %rdi
leaq 0xd19d2(%rip), %rsi     # 0xf8046
callq 0x22cb0
testl %eax, %eax
je 0x2687a
movq %r12, %rdi
leaq 0xd19cd(%rip), %rsi     # 0xf8058
callq 0x22cb0
testl %eax, %eax
je 0x26883
movq %r12, %rdi
leaq 0xd19ce(%rip), %rsi     # 0xf8070
callq 0x22cb0
testl %eax, %eax
je 0x268ae
movq %r12, %rdi
leaq 0xd19d0(%rip), %rsi     # 0xf8089
callq 0x22cb0
testl %eax, %eax
je 0x268c6
movq %r12, %rdi
leaq 0xd19cf(%rip), %rsi     # 0xf809f
callq 0x22cb0
testl %eax, %eax
je 0x268de
movq %r12, %rdi
leaq 0xd19ce(%rip), %rsi     # 0xf80b5
callq 0x22cb0
testl %eax, %eax
je 0x26951
movq %r12, %rdi
leaq 0xd19be(%rip), %rsi     # 0xf80bc
callq 0x22cb0
testl %eax, %eax
leaq 0x146114(%rip), %rbx    # 0x16c820
je 0x2697a
movq %r12, %rdi
leaq 0xd19a4(%rip), %rsi     # 0xf80c0
callq 0x22cb0
testl %eax, %eax
je 0x269ea
movq %r12, %rdi
leaq 0xd1991(%rip), %rsi     # 0xf80c4
callq 0x22cb0
testl %eax, %eax
je 0x26a5a
movq %r12, %rdi
leaq 0xd197e(%rip), %rsi     # 0xf80c8
callq 0x22cb0
testl %eax, %eax
je 0x26aca
movq %r12, %rdi
leaq 0xd196b(%rip), %rsi     # 0xf80cc
callq 0x22cb0
testl %eax, %eax
je 0x26b3a
movq %r12, %rdi
leaq 0xd1958(%rip), %rsi     # 0xf80d0
callq 0x22cb0
testl %eax, %eax
je 0x26baa
movq %r12, %rdi
leaq 0xd1945(%rip), %rsi     # 0xf80d4
callq 0x22cb0
testl %eax, %eax
je 0x26bea
movq %r12, %rdi
leaq 0xd1932(%rip), %rsi     # 0xf80d8
callq 0x22cb0
testl %eax, %eax
je 0x26c38
movq %r12, %rdi
leaq 0xd191f(%rip), %rsi     # 0xf80dc
callq 0x22cb0
testl %eax, %eax
je 0x26c86
movq %r12, %rdi
leaq 0xd190c(%rip), %rsi     # 0xf80e0
callq 0x22cb0
testl %eax, %eax
je 0x26cd1
movq %r12, %rdi
leaq 0xd18fc(%rip), %rsi     # 0xf80e7
callq 0x22cb0
testl %eax, %eax
je 0x26d4b
movq %r12, %rdi
leaq 0xd18f6(%rip), %rsi     # 0xf80f8
callq 0x22cb0
testl %eax, %eax
je 0x26d66
movq %r12, %rdi
leaq 0xd18eb(%rip), %rsi     # 0xf8104
callq 0x22cb0
testl %eax, %eax
jne 0x2742b
addl $-0x2, %r14d
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x146107(%rip)    # 0x16c940
jmp 0x26d43
cmpq $0x0, 0x1460ea(%rip)    # 0x16c930
je 0x2685f
cmpq $0x0, 0x146120(%rip)    # 0x16c970
jne 0x273f9
movq %rsi, 0x146113(%rip)    # 0x16c970
jmp 0x2689a
movq %rsi, 0x1460ca(%rip)    # 0x16c930
jmp 0x2689a
movb $0x1, 0x146109(%rip)    # 0x16c978
jmp 0x2688a
movb $0x1, 0x1460e0(%rip)    # 0x16c958
jmp 0x2688a
movb $0x1, 0x1460db(%rip)    # 0x16c95c
jmp 0x2688a
movb $0x1, 0x1460d6(%rip)    # 0x16c960
movq %rbx, %r15
leaq 0x18(%rsp), %rdi
callq 0x6ffe8
movq %r15, %rbx
movq %rbx, %r15
movl %ebp, %r14d
cmpl $0x1, %ebp
jg 0x265eb
jmp 0x26d7b
addl $-0x2, %r14d
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x146087(%rip)    # 0x16c948
jmp 0x26d43
addl $-0x2, %r14d
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x146077(%rip)    # 0x16c950
jmp 0x26d43
movq 0x10(%r15), %rdi
callq 0x22b40
movsd %xmm0, 0x145f01(%rip)   # 0x16c7f0
movq 0x18(%r15), %rdi
callq 0x22b40
movsd %xmm0, 0x145ef8(%rip)   # 0x16c7f8
movq 0x20(%r15), %rdi
callq 0x22b40
movsd %xmm0, 0x145eef(%rip)   # 0x16c800
movq 0x28(%r15), %rdi
callq 0x22b40
movsd %xmm0, 0x145ee6(%rip)   # 0x16c808
movq 0x30(%r15), %rdi
callq 0x22b40
movsd %xmm0, 0x145edd(%rip)   # 0x16c810
addl $-0x7, %r14d
movq 0x38(%r15), %rdi
addq $0x38, %r15
callq 0x22b40
movsd %xmm0, 0x145ecc(%rip)   # 0x16c818
jmp 0x26d43
movq 0x10(%r15), %rdi
callq 0x22b40
leaq 0x145ec7(%rip), %rdi    # 0x16c828
callq 0x7360e
addq $0x10, %r15
addl $-0x2, %r14d
andb $-0x3, 0x145fb3(%rip)   # 0x16c928
jmp 0x26d43
leaq 0x145ea7(%rip), %rdi    # 0x16c828
movq (%rsp), %rsi
callq 0x73f0a
leaq 0x148c5f(%rip), %rax    # 0x16f5f0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x73f0a
addq $0x10, %r15
leaq 0x148c41(%rip), %rax    # 0x16f5f0
movq 0x108(%rax), %rax
movq %rax, 0x145f6b(%rip)    # 0x16c928
movq (%r15), %rdi
callq 0x22b40
leaq 0x145e5c(%rip), %rdi    # 0x16c828
callq 0x7328a
andb $-0x3, 0x145f50(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
leaq 0x145e37(%rip), %rdi    # 0x16c828
movq (%rsp), %rsi
callq 0x73f0a
leaq 0x148bef(%rip), %rax    # 0x16f5f0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x73f0a
addq $0x10, %r15
leaq 0x148bd1(%rip), %rax    # 0x16f5f0
movq 0x108(%rax), %rax
movq %rax, 0x145efb(%rip)    # 0x16c928
movq (%r15), %rdi
callq 0x22b40
leaq 0x145dec(%rip), %rdi    # 0x16c828
callq 0x732c0
andb $-0x3, 0x145ee0(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
leaq 0x145dc7(%rip), %rdi    # 0x16c828
movq (%rsp), %rsi
callq 0x73f0a
leaq 0x148b7f(%rip), %rax    # 0x16f5f0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x73f0a
addq $0x10, %r15
leaq 0x148b61(%rip), %rax    # 0x16f5f0
movq 0x108(%rax), %rax
movq %rax, 0x145e8b(%rip)    # 0x16c928
movq (%r15), %rdi
callq 0x22b40
leaq 0x145d7c(%rip), %rdi    # 0x16c828
callq 0x732f6
andb $-0x3, 0x145e70(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
leaq 0x145d57(%rip), %rdi    # 0x16c828
movq (%rsp), %rsi
callq 0x73f0a
leaq 0x148b0f(%rip), %rax    # 0x16f5f0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x73f0a
addq $0x10, %r15
leaq 0x148af1(%rip), %rax    # 0x16f5f0
movq 0x108(%rax), %rax
movq %rax, 0x145e1b(%rip)    # 0x16c928
movq (%r15), %rdi
callq 0x22b40
leaq 0x145d0c(%rip), %rdi    # 0x16c828
callq 0x73508
andb $-0x3, 0x145e00(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
leaq 0x145ce7(%rip), %rdi    # 0x16c828
movq (%rsp), %rsi
callq 0x73f0a
leaq 0x148a9f(%rip), %rax    # 0x16f5f0
movl $0x88, %ecx
leaq (%rcx,%rax), %rsi
movq 0x8(%rsp), %rdi
callq 0x73f0a
addq $0x10, %r15
leaq 0x148a81(%rip), %rax    # 0x16f5f0
movq 0x108(%rax), %rax
movq %rax, 0x145dab(%rip)    # 0x16c928
movq (%r15), %rdi
callq 0x22b40
leaq 0x145c9c(%rip), %rdi    # 0x16c828
callq 0x7352e
andb $-0x3, 0x145d90(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
movq %rbx, %rdi
leaq 0x148a3c(%rip), %rsi    # 0x16f5f0
callq 0x27a22
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b40
leaq 0x145c5c(%rip), %rdi    # 0x16c828
callq 0x73556
andb $-0x3, 0x145d50(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
movq %rbx, %rdi
leaq 0x1489fc(%rip), %rsi    # 0x16f5f0
callq 0x27a22
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b40
mulsd 0x10(%rsp), %xmm0
divsd 0xd13f5(%rip), %xmm0    # 0xf8008
leaq 0x145c0e(%rip), %rdi    # 0x16c828
callq 0x736e6
andb $-0x3, 0x145d02(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
movq %rbx, %rdi
leaq 0x1489ae(%rip), %rsi    # 0x16f5f0
callq 0x27a22
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b40
mulsd 0x10(%rsp), %xmm0
divsd 0xd13a7(%rip), %xmm0    # 0xf8008
leaq 0x145bc0(%rip), %rdi    # 0x16c828
callq 0x737c2
andb $-0x3, 0x145cb4(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
movq %rbx, %rdi
leaq 0x148960(%rip), %rsi    # 0x16f5f0
callq 0x27a22
addq $0x10, %r15
movq (%r15), %rdi
callq 0x22b40
mulsd 0x10(%rsp), %xmm0
divsd 0xd1359(%rip), %xmm0    # 0xf8008
leaq 0x145b72(%rip), %rdi    # 0x16c828
callq 0x738a4
andb $-0x3, 0x145c66(%rip)   # 0x16c928
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
jmp 0x26d3f
leaq 0x128(%rsp), %rdi
callq 0x72324
leaq 0x1a8(%rsp), %r12
addq $0x10, %r15
movq (%r15), %rsi
leaq 0x128(%rsp), %rdi
callq 0x2749d
testl %eax, %eax
je 0x26d3f
movq %rbx, %rdi
leaq 0x1488e8(%rip), %rsi    # 0x16f5f0
callq 0x27a22
movq %r12, %rdi
leaq 0x128(%rsp), %rsi
xorl %edx, %edx
callq 0x6ff9a
movq %rbx, %rdi
movq %r12, %rsi
callq 0x70156
movq %r12, %rdi
callq 0x6ffe8
movq %rbx, %rdi
leaq 0x18(%rsp), %rsi
callq 0x70156
addl $-0x2, %r14d
movl %r14d, %ebp
jmp 0x2688d
addl $-0x2, %r14d
movq 0x10(%r15), %rdi
addq $0x10, %r15
callq 0x22b40
movsd %xmm0, 0x145c04(%rip)   # 0x16c968
jmp 0x26d43
addl $-0x2, %r14d
movq 0x10(%r15), %rax
addq $0x10, %r15
movq %rax, 0x145bbf(%rip)    # 0x16c938
jmp 0x26d43
cmpq $0x0, 0x145bad(%rip)    # 0x16c930
je 0x2741b
cmpq $0x0, 0x145bdf(%rip)    # 0x16c970
je 0x2741b
movq 0x145b92(%rip), %r15    # 0x16c930
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xa358c
movq %r14, %rdi
xorl %esi, %esi
callq 0x22f60
movl $0x160, %edi            # imm = 0x160
callq 0x22870
movq %rax, %rbx
movq %rax, %rdi
callq 0x27a6c
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x28dfa
testl %eax, %eax
je 0x26e8c
cmpb $0x1, 0x145b92(%rip)    # 0x16c978
jne 0x26ea3
leaq 0xd1385(%rip), %rdi     # 0xf8178
movq %r15, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa35ee
leaq 0xd1382(%rip), %rdi     # 0xf8190
movb $0x1, %al
callq 0x22080
movl 0x14(%rbx), %esi
leaq 0xd1388(%rip), %rdi     # 0xf81a7
xorl %eax, %eax
callq 0x22080
movl 0x24(%rbx), %esi
leaq 0xd1387(%rip), %rdi     # 0xf81b7
xorl %eax, %eax
callq 0x22080
movl 0x34(%rbx), %esi
leaq 0xd1387(%rip), %rdi     # 0xf81c8
xorl %eax, %eax
callq 0x22080
movl 0x44(%rbx), %esi
leaq 0xd138a(%rip), %rdi     # 0xf81dc
xorl %eax, %eax
callq 0x22080
movl 0x54(%rbx), %esi
leaq 0xd1389(%rip), %rdi     # 0xf81ec
xorl %eax, %eax
callq 0x22080
movl 0x64(%rbx), %esi
leaq 0xd138b(%rip), %rdi     # 0xf81ff
xorl %eax, %eax
callq 0x22080
movq 0x14009e(%rip), %rax    # 0x166f20
movq (%rax), %rdi
callq 0x22a50
jmp 0x26ea3
movq %rbx, %rdi
callq 0x27c40
movl $0x160, %esi            # imm = 0x160
movq %rbx, %rdi
callq 0x22890
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x27411
movq 0x145a85(%rip), %r15    # 0x16c938
testq %r15, %r15
je 0x26f2d
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xa358c
movq %r12, %rdi
xorl %esi, %esi
callq 0x22f60
movq %rbx, %rdi
movq %r15, %rsi
callq 0x35f30
testl %eax, %eax
je 0x27411
movl %eax, %ebp
cmpb $0x1, 0x145a8d(%rip)    # 0x16c978
jne 0x26f25
leaq 0xd1327(%rip), %rdi     # 0xf821b
movq %r15, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa35ee
leaq 0xd1281(%rip), %rdi     # 0xf8190
movb $0x1, %al
callq 0x22080
movq 0x140003(%rip), %rax    # 0x166f20
movq (%rax), %rdi
callq 0x22a50
testl %ebp, %ebp
je 0x27411
movq 0x145a0c(%rip), %r15    # 0x16c940
testq %r15, %r15
je 0x26fc3
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xa358c
movq %r12, %rdi
xorl %esi, %esi
callq 0x22f60
movq %rbx, %rdi
movq %r15, %rsi
callq 0x354fc
testl %eax, %eax
je 0x27411
movl %eax, %ebp
cmpb $0x1, 0x145a08(%rip)    # 0x16c978
jne 0x26fbb
leaq 0xd12bf(%rip), %rdi     # 0xf8238
movq %r15, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa35ee
leaq 0xd11fc(%rip), %rdi     # 0xf8190
movb $0x1, %al
callq 0x22080
movl 0x24(%rbx), %esi
leaq 0xd1212(%rip), %rdi     # 0xf81b7
xorl %eax, %eax
callq 0x22080
movq 0x13ff6d(%rip), %rax    # 0x166f20
movq (%rax), %rdi
callq 0x22a50
testl %ebp, %ebp
je 0x27411
movq 0x14597e(%rip), %rsi    # 0x16c948
movq 0x14597f(%rip), %rax    # 0x16c950
orq %rsi, %rax
je 0x27005
testq %rsi, %rsi
je 0x27048
movq %rbx, %rdi
callq 0x27cb2
movq %rax, %r15
testq %rax, %rax
jne 0x2704b
movq 0x145956(%rip), %rsi    # 0x16c948
leaq 0xd1258(%rip), %rdi     # 0xf8251
xorl %eax, %eax
callq 0xa69a6
jmp 0x27411
movsd 0x1457e3(%rip), %xmm0   # 0x16c7f0
ucomisd 0x1457f3(%rip), %xmm0   # 0x16c808
ja 0x27224
movsd 0x1457d5(%rip), %xmm0   # 0x16c7f8
ucomisd 0x1457e5(%rip), %xmm0   # 0x16c810
ja 0x27224
movsd 0x1457c7(%rip), %xmm0   # 0x16c800
ucomisd 0x1457d7(%rip), %xmm0   # 0x16c818
jbe 0x26fd6
jmp 0x27224
xorl %r15d, %r15d
movq 0x1458fe(%rip), %r13    # 0x16c950
testq %r13, %r13
je 0x271cd
leaq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0xa358c
movq %r12, %rdi
xorl %esi, %esi
callq 0x22f60
movl $0x250, %edi            # imm = 0x250
callq 0x22870
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x744b8
movq %r12, %rdi
movq %r13, %rsi
callq 0x7bb60
testl %eax, %eax
je 0x271d2
cmpb $0x1, 0x1458d1(%rip)    # 0x16c978
jne 0x2720a
leaq 0xd1281(%rip), %rdi     # 0xf8335
callq 0x22e50
leaq 0x18(%rsp), %rdi
callq 0xa35ee
leaq 0xd10c6(%rip), %rdi     # 0xf8190
movb $0x1, %al
callq 0x22080
movl 0x238(%r12), %esi
movl 0x23c(%r12), %edx
movl 0x240(%r12), %ecx
leaq 0xd11a4(%rip), %rdi     # 0xf8294
xorl %eax, %eax
callq 0x22080
movsd 0x228(%r12), %xmm0
leaq 0xd11a5(%rip), %rdi     # 0xf82ad
movb $0x1, %al
callq 0x22080
movq %r12, %rdi
callq 0x750f2
leaq 0xd119f(%rip), %rdi     # 0xf82bd
movl %eax, %esi
xorl %eax, %eax
callq 0x22080
movsd 0x228(%r12), %xmm0
movsd %xmm0, (%rsp)
movq %r12, %rdi
callq 0x750f2
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd (%rsp), %xmm1
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
leaq 0xd1174(%rip), %rdi     # 0xf82d1
movb $0x1, %al
callq 0x22080
leaq 0x1a8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x75034
movsd (%r13), %xmm0
leaq 0xd115c(%rip), %rdi     # 0xf82e0
movb $0x1, %al
callq 0x22080
movsd 0x8(%r13), %xmm0
leaq 0xd1158(%rip), %rdi     # 0xf82f0
movb $0x1, %al
callq 0x22080
movq %r12, %rdi
callq 0x7509a
leaq 0xd1152(%rip), %rdi     # 0xf8300
movb $0x1, %al
callq 0x22080
movq %r12, %rdi
callq 0x750c2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x271e8
sqrtsd %xmm0, %xmm0
jmp 0x271ed
xorl %r12d, %r12d
jmp 0x27213
leaq 0xd109f(%rip), %rdi     # 0xf8278
xorl %r12d, %r12d
movq %r13, %rsi
xorl %eax, %eax
callq 0xa69a6
jmp 0x2720a
callq 0x22670
leaq 0xd111b(%rip), %rdi     # 0xf830f
movb $0x1, %al
callq 0x22080
movq 0x13fd1e(%rip), %rax    # 0x166f20
movq (%rax), %rdi
callq 0x22a50
testq %r12, %r12
je 0x27411
movq (%rbx), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %rcx
callq 0x27537
leaq 0x1455f5(%rip), %rdi    # 0x16c820
callq 0x70058
testl %eax, %eax
jne 0x272bc
movq (%rbx), %r15
leaq 0x13bc86(%rip), %rax    # 0x162ec8
addq $0x10, %rax
leaq 0x20(%rsp), %rdi
movq %rax, -0x8(%rdi)
leaq 0x14839a(%rip), %r12    # 0x16f5f0
leaq 0x8(%r12), %rsi
callq 0x72326
movl $0x88, %esi
addq %rsi, %r14
addq 0x13fd71(%rip), %rsi    # 0x166fe0
movq %r14, %rdi
callq 0x72326
movq 0x108(%r12), %rax
leaq 0x18(%rsp), %rdi
movq %rax, 0x108(%rdi)
leaq 0x14558e(%rip), %rsi    # 0x16c820
callq 0x70156
leaq 0x58(%r15), %rsi
leaq 0x18(%rsp), %rdi
callq 0x70156
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x3c838
leaq 0x18(%rsp), %rdi
callq 0x6ffe8
cmpb $0x1, 0x145695(%rip)    # 0x16c958
jne 0x272cd
movq %rbx, %rdi
callq 0x282d4
cmpb $0x1, 0x145688(%rip)    # 0x16c95c
jne 0x272de
movq %rbx, %rdi
callq 0x283d0
cmpb $0x1, 0x14567b(%rip)    # 0x16c960
jne 0x272ef
movq %rbx, %rdi
callq 0x28528
movsd 0x145671(%rip), %xmm0   # 0x16c968
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x27309
movq %rbx, %rdi
callq 0x2865a
movq 0x145660(%rip), %r14    # 0x16c970
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xa358c
movq %r15, %rdi
xorl %esi, %esi
callq 0x22f60
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2fe64
testl %eax, %eax
je 0x273e5
cmpb $0x1, 0x145637(%rip)    # 0x16c978
jne 0x273e5
leaq 0xd0fd0(%rip), %rdi     # 0xf831e
movq %r14, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x18(%rsp), %rdi
callq 0xa35ee
leaq 0xd0e27(%rip), %rdi     # 0xf8190
movb $0x1, %al
callq 0x22080
movl 0x14(%rbx), %esi
leaq 0xd0e2d(%rip), %rdi     # 0xf81a7
xorl %eax, %eax
callq 0x22080
movl 0x24(%rbx), %esi
leaq 0xd0e2c(%rip), %rdi     # 0xf81b7
xorl %eax, %eax
callq 0x22080
movl 0x34(%rbx), %esi
leaq 0xd0e2c(%rip), %rdi     # 0xf81c8
xorl %eax, %eax
callq 0x22080
movl 0x44(%rbx), %esi
leaq 0xd0e2f(%rip), %rdi     # 0xf81dc
xorl %eax, %eax
callq 0x22080
movl 0x54(%rbx), %esi
leaq 0xd0e2e(%rip), %rdi     # 0xf81ec
xorl %eax, %eax
callq 0x22080
movl 0x64(%rbx), %esi
leaq 0xd0e30(%rip), %rdi     # 0xf81ff
xorl %eax, %eax
callq 0x22080
movq 0x13fb43(%rip), %rax    # 0x166f20
movq (%rax), %rdi
callq 0x22a50
xorl %eax, %eax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xd0d0c(%rip), %rdi     # 0xf810c
xorl %eax, %eax
callq 0xa69a6
movl $0x1, %edi
callq 0x22ab0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22ab0
leaq 0xd0d07(%rip), %rdi     # 0xf8129
xorl %eax, %eax
callq 0xa69a6
jmp 0x27407
leaq 0xd0cda(%rip), %rdi     # 0xf810c
movq %r12, %rsi
xorl %eax, %eax
callq 0xa69a6
jmp 0x27407
jmp 0x27479
movq %rax, %r14
leaq 0x1a8(%rsp), %rdi
callq 0x6ffe8
jmp 0x2747c
jmp 0x27479
jmp 0x27479
movq %rax, %r14
movl $0x250, %esi            # imm = 0x250
movq %r12, %rdi
jmp 0x27472
jmp 0x27488
jmp 0x27479
movq %rax, %r14
movl $0x160, %esi            # imm = 0x160
movq %rbx, %rdi
callq 0x22890
jmp 0x27495
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x6ffe8
jmp 0x27495
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x70670
movq %r14, %rdi
callq 0x23060