// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/apps/msh2msh/msh2msh.cpp
// Function: ParseArgs(int, char**)
int ParseArgs(int argc, char **argv)
{
  // Check number of arguments
  if (argc == 1) {
    printf("Usage: mesh2mesh inputname outputname [options]\n");
    exit(0);
  }

  // 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, "-flip")) flip_faces = 1;
      else if (!strcmp(*argv, "-clean")) clean = 1;
      else if (!strcmp(*argv, "-fill_holes")) fill_holes = 1;
      else if (!strcmp(*argv, "-delete_interior_faces")) delete_interior_faces = 1;
      else if (!strcmp(*argv, "-swap_edges")) swap_edges = 1;
      else if (!strcmp(*argv, "-scale_by_area")) scale_by_area = 1;
      else if (!strcmp(*argv, "-scale_by_pca")) scale_by_pca = 1;
      else if (!strcmp(*argv, "-translate_by_centroid")) translate_by_centroid = 1;
      else if (!strcmp(*argv, "-center_at_origin")) translate_by_centroid = 1;
      else if (!strcmp(*argv, "-rotate_by_pca")) rotate_by_pca = 1;
      else if (!strcmp(*argv, "-align_by_pca")) align_by_pca = 1;
      else if (!strcmp(*argv, "-copy_colors")) copy_colors = 1;
      else if (!strcmp(*argv, "-copy_categories")) copy_categories = 1;
      else if (!strcmp(*argv, "-copy_segments")) copy_segments = 1;
      else if (!strcmp(*argv, "-copy_materials")) copy_materials = 1;
      else if (!strcmp(*argv, "-smooth"))  { argv++; argc--; smooth_factor = atof(*argv); }
      else if (!strcmp(*argv, "-scale")) { argv++; argc--; xform = R3identity_affine; xform.Scale(atof(*argv)); xform.Transform(prev_xform); }
      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, "-min_edge_length")) { argv++; argc--; min_edge_length = atof(*argv); }
      else if (!strcmp(*argv, "-max_edge_length")) { argv++; argc--; max_edge_length = atof(*argv); }
      else if (!strcmp(*argv, "-remove_small_components")) { argv++; argc--; min_component_area = atof(*argv); }
      else if (!strcmp(*argv, "-source_mesh")) { argv++; argc--; source_mesh_name = *argv; }
      else if (!strcmp(*argv, "-merge_list")) { argv++; argc--; merge_list_name = *argv; }
      else if (!strcmp(*argv, "-debug_matrix")) { argv++; argc--; output_xform_name = *argv; }
      else if (!strcmp(*argv, "-transform")) {
        R4Matrix m;
        argv++; argc--; m[0][0] = atof(*argv); argv++; argc--; m[0][1] = atof(*argv);
        argv++; argc--; m[0][2] = atof(*argv); argv++; argc--; m[0][3] = atof(*argv);
        argv++; argc--; m[1][0] = atof(*argv); argv++; argc--; m[1][1] = atof(*argv);
        argv++; argc--; m[1][2] = atof(*argv); argv++; argc--; m[1][3] = atof(*argv);
        argv++; argc--; m[2][0] = atof(*argv); argv++; argc--; m[2][1] = atof(*argv);
        argv++; argc--; m[2][2] = atof(*argv); argv++; argc--; m[2][3] = atof(*argv);
        argv++; argc--; m[3][0] = atof(*argv); argv++; argc--; m[3][1] = atof(*argv);
        argv++; argc--; m[3][2] = atof(*argv); argv++; argc--; m[3][3] = atof(*argv);
        xform = R3identity_affine;
        xform.Transform(R3Affine(m));
        xform.Transform(prev_xform);
      }  
      else { RNFail("Invalid program argument: %s", *argv); exit(1); }
      argv++; argc--;
    }
    else {
      if (!input_mesh_name) input_mesh_name = *argv;
      else if (!output_mesh_name) output_mesh_name = *argv;
      else { RNFail("Invalid program argument: %s", *argv); exit(1); }
      argv++; argc--;
    }
  }

  // Check input filename
  if (!input_mesh_name) {
    RNFail("You did not specify an input file name.\n");
    return 0;
  }

  // Check output filename
  if (!output_mesh_name) {
    RNFail("You did not specify an output file name.\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 $0x1, %edi
je 0x10eb9
movq %rsi, %rbx
movl %edi, %r13d
leaq 0x7e695(%rip), %rax     # 0x8eae8
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0xbc7bc(%rip), %r12     # 0xccc20
cmpl $0x2, %r13d
jl 0x10e5d
leaq 0x8(%rbx), %rbp
leal -0x1(%r13), %r15d
movq (%rbp), %rsi
cmpb $0x2d, (%rsi)
jne 0x1092c
leaq 0x98(%rsp), %rdi
movq %r12, %r14
movq %r12, %rsi
callq 0x121c6
movq (%rbp), %r12
cmpb $0x2d, (%r12)
jne 0x104b5
cmpb $0x76, 0x1(%r12)
jne 0x104b5
cmpb $0x0, 0x2(%r12)
je 0x10983
movq %r12, %rdi
leaq 0x7bba1(%rip), %rsi     # 0x8c060
callq 0xe610
testl %eax, %eax
je 0x1095f
movq %r12, %rdi
leaq 0x7bb90(%rip), %rsi     # 0x8c066
callq 0xe610
testl %eax, %eax
je 0x1096b
movq %r12, %rdi
leaq 0x7bb80(%rip), %rsi     # 0x8c06d
callq 0xe610
testl %eax, %eax
je 0x10977
movq %r12, %rdi
leaq 0x7bb75(%rip), %rsi     # 0x8c079
callq 0xe610
testl %eax, %eax
je 0x1098f
movq %r12, %rdi
leaq 0x7bb75(%rip), %rsi     # 0x8c090
callq 0xe610
testl %eax, %eax
je 0x1099b
movq %r12, %rdi
leaq 0x7bb6a(%rip), %rsi     # 0x8c09c
callq 0xe610
testl %eax, %eax
je 0x109a7
movq %r12, %rdi
leaq 0x7bb62(%rip), %rsi     # 0x8c0ab
callq 0xe610
testl %eax, %eax
je 0x109bf
movq %r12, %rdi
leaq 0x7bb59(%rip), %rsi     # 0x8c0b9
callq 0xe610
testl %eax, %eax
je 0x109b3
movq %r12, %rdi
leaq 0x7bb59(%rip), %rsi     # 0x8c0d0
callq 0xe610
testl %eax, %eax
je 0x109b3
movq %r12, %rdi
leaq 0x7bb54(%rip), %rsi     # 0x8c0e2
callq 0xe610
testl %eax, %eax
je 0x109e4
movq %r12, %rdi
leaq 0x7bb4c(%rip), %rsi     # 0x8c0f1
callq 0xe610
testl %eax, %eax
je 0x109f0
movq %r12, %rdi
leaq 0x7bb43(%rip), %rsi     # 0x8c0ff
callq 0xe610
testl %eax, %eax
je 0x109fc
movq %r12, %rdi
leaq 0x7bb39(%rip), %rsi     # 0x8c10c
callq 0xe610
testl %eax, %eax
je 0x10a08
movq %r12, %rdi
leaq 0x7bb33(%rip), %rsi     # 0x8c11d
callq 0xe610
testl %eax, %eax
je 0x10a14
movq %r12, %rdi
leaq 0x7bb2b(%rip), %rsi     # 0x8c12c
callq 0xe610
testl %eax, %eax
je 0x10a20
movq %r12, %rdi
leaq 0x7bb24(%rip), %rsi     # 0x8c13c
callq 0xe610
testl %eax, %eax
je 0x10a2c
movq %r12, %rdi
leaq 0x7bb15(%rip), %rsi     # 0x8c144
callq 0xe610
testl %eax, %eax
je 0x10a4a
movq %r12, %rdi
leaq 0x7bb05(%rip), %rsi     # 0x8c14b
callq 0xe610
testl %eax, %eax
je 0x10a85
movq %r12, %rdi
leaq 0x7baf2(%rip), %rsi     # 0x8c14f
callq 0xe610
testl %eax, %eax
je 0x10ac0
movq %r12, %rdi
leaq 0x7badf(%rip), %rsi     # 0x8c153
callq 0xe610
testl %eax, %eax
je 0x10afb
movq %r12, %rdi
leaq 0x7bacc(%rip), %rsi     # 0x8c157
callq 0xe610
testl %eax, %eax
je 0x10b36
movq %r12, %rdi
leaq 0x7bab9(%rip), %rsi     # 0x8c15b
callq 0xe610
testl %eax, %eax
je 0x10b71
movq %r12, %rdi
leaq 0x7baa6(%rip), %rsi     # 0x8c15f
callq 0xe610
testl %eax, %eax
je 0x10bac
movq %r12, %rdi
leaq 0x7ba93(%rip), %rsi     # 0x8c163
callq 0xe610
testl %eax, %eax
je 0x10be7
movq %r12, %rdi
leaq 0x7ba80(%rip), %rsi     # 0x8c167
callq 0xe610
testl %eax, %eax
je 0x10c30
movq %r12, %rdi
leaq 0x7ba6d(%rip), %rsi     # 0x8c16b
callq 0xe610
testl %eax, %eax
je 0x10c76
movq %r12, %rdi
leaq 0x7ba5a(%rip), %rsi     # 0x8c16f
callq 0xe610
testl %eax, %eax
je 0x10cc6
movq %r12, %rdi
leaq 0x7ba4a(%rip), %rsi     # 0x8c176
callq 0xe610
testl %eax, %eax
je 0x10d47
movq %r12, %rdi
leaq 0x7ba44(%rip), %rsi     # 0x8c187
callq 0xe610
testl %eax, %eax
je 0x10dbf
movq %r12, %rdi
leaq 0x7ba3e(%rip), %rsi     # 0x8c198
callq 0xe610
testl %eax, %eax
je 0x10df7
movq %r12, %rdi
leaq 0x7ba40(%rip), %rsi     # 0x8c1b1
callq 0xe610
testl %eax, %eax
je 0x10e15
movq %r12, %rdi
leaq 0x7ba36(%rip), %rsi     # 0x8c1be
callq 0xe610
testl %eax, %eax
je 0x10e2d
movq %r12, %rdi
leaq 0x7ba2b(%rip), %rsi     # 0x8c1ca
callq 0xe610
testl %eax, %eax
je 0x10e45
movq %r12, %rdi
leaq 0x7ba22(%rip), %rsi     # 0x8c1d8
callq 0xe610
testl %eax, %eax
jne 0x10ecc
leaq 0x18(%rsp), %rdi
callq 0x38266
movq 0x10(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x18(%rsp)
movq 0x18(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x20(%rsp)
movq 0x20(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x28(%rsp)
movq 0x28(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x30(%rsp)
movq 0x30(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x38(%rsp)
movq 0x38(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x40(%rsp)
movq 0x40(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x48(%rsp)
movq 0x48(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x50(%rsp)
movq 0x50(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x58(%rsp)
movq 0x58(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x60(%rsp)
movq 0x60(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x68(%rsp)
movq 0x68(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x70(%rsp)
movq 0x70(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x78(%rsp)
movq 0x78(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x80(%rsp)
movq 0x80(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x88(%rsp)
movq 0x88(%rbx), %rdi
callq 0xe570
movsd %xmm0, 0x90(%rsp)
movq %r14, %rdi
leaq 0xbca0a(%rip), %rsi     # 0xcd2e0
callq 0x12226
leaq 0x1a8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
xorl %edx, %edx
callq 0x362d8
movq %r14, %rdi
leaq 0x1a8(%rsp), %rsi
callq 0x36492
leaq 0x1a8(%rsp), %rdi
callq 0x36326
movq %r14, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
addq $0x88, %rbx
addl $-0x11, %r13d
jmp 0x10a45
cmpq $0x0, 0xbc294(%rip)     # 0xccbc8
je 0x1094d
cmpq $0x0, 0xbc292(%rip)     # 0xccbd0
jne 0x10ea3
movq %rsi, 0xbc285(%rip)     # 0xccbd0
jmp 0x10954
movq %rsi, 0xbc274(%rip)     # 0xccbc8
movl %r15d, %r13d
movq %rbp, %rbx
jmp 0x10464
movl $0x1, 0xbc297(%rip)     # 0xccc00
jmp 0x109c9
movl $0x1, 0xbc28f(%rip)     # 0xccc04
jmp 0x109c9
movl $0x1, 0xbc28b(%rip)     # 0xccc0c
jmp 0x109c9
movl $0x1, 0xbc3d7(%rip)     # 0xccd64
jmp 0x109c9
movl $0x1, 0xbc277(%rip)     # 0xccc10
jmp 0x109c9
movl $0x1, 0xbc263(%rip)     # 0xccc08
jmp 0x109c9
movl $0x1, 0xbc39f(%rip)     # 0xccd50
jmp 0x109c9
movl $0x1, 0xbc3a3(%rip)     # 0xccd60
jmp 0x109c9
movl $0x1, 0xbc38b(%rip)     # 0xccd54
movq %rbp, %rbx
movq %r14, %r12
leaq 0x98(%rsp), %rdi
callq 0x36326
movl %r15d, %r13d
jmp 0x10464
movl $0x1, 0xbc36a(%rip)     # 0xccd58
jmp 0x109c9
movl $0x1, 0xbc362(%rip)     # 0xccd5c
jmp 0x109c9
movl $0x1, 0xbc1ea(%rip)     # 0xccbf0
jmp 0x109c9
movl $0x1, 0xbc1e2(%rip)     # 0xccbf4
jmp 0x109c9
movl $0x1, 0xbc1da(%rip)     # 0xccbf8
jmp 0x109c9
movl $0x1, 0xbc1d2(%rip)     # 0xccbfc
jmp 0x109c9
addl $-0x2, %r13d
movq 0x10(%rbx), %rdi
addq $0x10, %rbx
callq 0xe570
movsd %xmm0, 0xbc1d3(%rip)    # 0xccc18
movl %r13d, %r15d
jmp 0x109cc
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc889(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x12268
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc84e(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x1227e
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc813(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x12294
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc7d8(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x122aa
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc79d(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x122c0
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc762(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x122d6
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc727(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
movq %r12, %rdi
callq 0x122ec
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc6ec(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
mulsd 0x8(%rsp), %xmm0
divsd 0x7b3f5(%rip), %xmm0    # 0x8c008
movq %r12, %rdi
callq 0x12302
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc6a3(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
mulsd 0x8(%rsp), %xmm0
divsd 0x7b3ac(%rip), %xmm0    # 0x8c008
movq %r12, %rdi
callq 0x12318
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10cba
movq %r14, %r12
movq %r14, %rdi
leaq 0xbc65d(%rip), %rsi     # 0xcd2e0
callq 0x12226
addq $0x10, %rbx
movq (%rbx), %rdi
callq 0xe570
mulsd 0x8(%rsp), %xmm0
divsd 0x7b366(%rip), %xmm0    # 0x8c008
movq %r12, %rdi
callq 0x1232e
movq %r12, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
addl $-0x2, %r13d
movl %r13d, %r15d
jmp 0x109cf
leaq 0x18(%rsp), %rdi
callq 0x38266
addq $0x10, %rbx
movq (%rbx), %r15
movq %r15, %rdi
leaq 0x7f9b2(%rip), %rsi     # 0x90693
callq 0xe530
testq %rax, %rax
je 0x10ddd
movq %rax, %r12
leaq 0x18(%rsp), %r15
xorl %eax, %eax
movq %rax, 0x10(%rsp)
cmpq $0x4, %rax
je 0x10d65
xorl %ebp, %ebp
cmpq $0x4, %rbp
je 0x10d39
movq %r12, %rdi
leaq 0x7d684(%rip), %rsi     # 0x8e39a
leaq 0x1a8(%rsp), %rdx
xorl %eax, %eax
callq 0xe810
movsd 0x1a8(%rsp), %xmm0
movsd %xmm0, (%r15,%rbp,8)
incq %rbp
jmp 0x10d06
movq 0x10(%rsp), %rax
incq %rax
addq $0x20, %r15
jmp 0x10cf9
addl $-0x2, %r13d
movq 0x10(%rbx), %rdi
addq $0x10, %rbx
callq 0xe570
movsd %xmm0, 0xbbfd0(%rip)    # 0xccd30
jmp 0x10a45
movq %r12, %rdi
callq 0xe430
movq %r14, %rdi
leaq 0xbc569(%rip), %rsi     # 0xcd2e0
callq 0x12226
leaq 0x1a8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
xorl %edx, %edx
callq 0x362d8
movq %r14, %rdi
leaq 0x1a8(%rsp), %rsi
callq 0x36492
leaq 0x1a8(%rsp), %rdi
callq 0x36326
movq %r14, %rdi
leaq 0x98(%rsp), %rsi
callq 0x36492
jmp 0x10dee
addl $-0x2, %r13d
movq 0x10(%rbx), %rdi
addq $0x10, %rbx
callq 0xe570
movsd %xmm0, 0xbbf60(%rip)    # 0xccd38
jmp 0x10a45
leaq 0x7b46f(%rip), %rdi     # 0x8c253
movq %r15, %rsi
xorl %eax, %eax
callq 0x61506
addl $-0x2, %r13d
jmp 0x10a45
addl $-0x2, %r13d
movq 0x10(%rbx), %rdi
addq $0x10, %rbx
callq 0xe570
movsd %xmm0, 0xbbf30(%rip)    # 0xccd40
jmp 0x10a45
addl $-0x2, %r13d
movq 0x10(%rbx), %rax
addq $0x10, %rbx
movq %rax, 0xbbdb8(%rip)     # 0xccbe0
jmp 0x10a45
addl $-0x2, %r13d
movq 0x10(%rbx), %rax
addq $0x10, %rbx
movq %rax, 0xbbda8(%rip)     # 0xccbe8
jmp 0x10a45
addl $-0x2, %r13d
movq 0x10(%rbx), %rax
addq $0x10, %rbx
movq %rax, 0xbbd80(%rip)     # 0xccbd8
jmp 0x10a45
cmpq $0x0, 0xbbd63(%rip)     # 0xccbc8
je 0x10e76
cmpq $0x0, 0xbbd61(%rip)     # 0xccbd0
je 0x10e7f
pushq $0x1
popq %rbx
jmp 0x10e8f
leaq 0x7b383(%rip), %rdi     # 0x8c200
jmp 0x10e86
leaq 0x7b3a3(%rip), %rdi     # 0x8c229
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x61506
movl %ebx, %eax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7b339(%rip), %rdi     # 0x8c1e3
xorl %eax, %eax
callq 0x61506
pushq $0x1
popq %rdi
callq 0xe550
leaq 0x7b4a7(%rip), %rdi     # 0x8c367
callq 0xe6c0
xorl %edi, %edi
callq 0xe550
leaq 0x7b310(%rip), %rdi     # 0x8c1e3
movq %r12, %rsi
xorl %eax, %eax
callq 0x61506
jmp 0x10eb1
jmp 0x10eff
jmp 0x10eff
jmp 0x10ee9
jmp 0x10eff
jmp 0x10eff
movq %rax, %rbx
leaq 0x1a8(%rsp), %rdi
callq 0x36326
jmp 0x10f02
jmp 0x10eff
jmp 0x10eff
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x36326
movq %rbx, %rdi
callq 0xe7b0