// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/apps/conf2conf/conf2conf.cpp
// Function: main
int
main(int argc, char **argv)
{
  // Check number of arguments
  if (!ParseArgs(argc, argv)) exit(1);

  // Read configuration
  RGBDConfiguration *configuration = ReadConfigurationFile(input_configuration_filename);
  if (!configuration) exit(-1);

  // Read mesh
  if (input_mesh_filename) {
    if (!ReadMeshFile(configuration, input_mesh_filename)) exit(-1);
  }
  
  // Read oriented boxes
  if (input_obbs_filename) {
    if (!ReadOrientedBoxFile(configuration, input_obbs_filename)) exit(-1);
  }
  
  // Read segmentation
  if (input_segmentation_filename) {
    if (!ReadSegmentationFile(configuration, input_segmentation_filename)) exit(-1);
  }
  
  // Execute commands (this has to mimic the code in ParseArgs)
  argc--; argv++;
  while (argc > 0) {
    if ((*argv)[0] == '-') {
      if (!strcmp(*argv, "-v")) {}
      else if (!strcmp(*argv, "-color_textures")) {}
      else if (!strcmp(*argv, "-semantic_textures")) {}
      else if (!strcmp(*argv, "-input_mesh")) { argc--; argv++; }
      else if (!strcmp(*argv, "-input_depth_directory")) { argc--; argv++; }
      else if (!strcmp(*argv, "-input_color_directory")) { argc--; argv++; }
      else if (!strcmp(*argv, "-input_texture_directory")) { argc--; argv++; }
      else if (!strcmp(*argv, "-output_depth_directory")) { argc--; argv++; }
      else if (!strcmp(*argv, "-output_color_directory")) { argc--; argv++; }
      else if (!strcmp(*argv, "-output_texture_directory")) { argc--; argv++; }
      else if (!strcmp(*argv, "-load_images_starting_at_index")) { argc--; argv++; }
      else if (!strcmp(*argv, "-load_images_ending_at_index")) { argc--; argv++; }
      else if (!strcmp(*argv, "-load_every_kth_image")) { argc--; argv++; }
      else if (!strcmp(*argv, "-write_every_kth_image")) { argc--; argv++; }
      else if (!strcmp(*argv, "-texture_aggregation_method")) { argc--; argv++; }
      else if (!strcmp(*argv, "-texture_aggregation_weighting")) { argc--; argv++; }
      else if (!strcmp(*argv, "-texel_spacing")) { argc--; argv++; }
      else if (!strcmp(*argv, "-viewpoint_bbox")) { argc -= 6; argv += 6; }
      else if (!strcmp(*argv, "-observation_bbox")) { argc -= 6; argv += 6; }
      else if (!strcmp(*argv, "-compute_surface_textures")) {
        if (!ComputeSurfaceTextures(configuration)) exit(-1);
      }
      else if (!strcmp(*argv, "-negate_yz")) {
        if (!NegateYZ(configuration)) exit(-1);
      }
      else if (!strcmp(*argv, "-identity_transformations")) {
        if (!ResetTransformations(configuration)) exit(-1);
      }
      else if (!strcmp(*argv, "-transform")) {
        R4Matrix matrix;
        argv++; argc--; matrix[0][0] = atof(*argv);
        argv++; argc--; matrix[0][1] = atof(*argv);
        argv++; argc--; matrix[0][2] = atof(*argv);
        argv++; argc--; matrix[0][3] = atof(*argv);
        argv++; argc--; matrix[1][0] = atof(*argv);
        argv++; argc--; matrix[1][1] = atof(*argv);
        argv++; argc--; matrix[1][2] = atof(*argv);
        argv++; argc--; matrix[1][3] = atof(*argv);
        argv++; argc--; matrix[2][0] = atof(*argv);
        argv++; argc--; matrix[2][1] = atof(*argv);
        argv++; argc--; matrix[2][2] = atof(*argv);
        argv++; argc--; matrix[2][3] = atof(*argv);
        argv++; argc--; matrix[3][0] = atof(*argv);
        argv++; argc--; matrix[3][1] = atof(*argv);
        argv++; argc--; matrix[3][2] = atof(*argv);
        argv++; argc--; matrix[3][3] = atof(*argv);
        if (!Transform(configuration, matrix)) exit(-1);
      }
      else {
        RNFail("Invalid program argument: %s", *argv);
        exit(1);
      }
      argv++; argc--;
    }
    else {
      static int nfilenames = 0;
      if (nfilenames < 2) nfilenames++;
      else { RNFail("Invalid program argument: %s", *argv); exit(1); }
      argv++; argc--;
    }
  }
  
  // Write configuration
  if (!WriteConfigurationFile(configuration, output_configuration_filename)) exit(-1);
  
  // Return success 
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rsi, %r13
movq 0xf0e41(%rip), %rax     # 0x104dc8
movq 0xf0e52(%rip), %rcx     # 0x104de0
movq %rcx, 0x20(%rsp)
cmpl $0x2, %edi
movq %rdi, 0x28(%rsp)
jl 0x14421
movq %r13, %r14
movl %edi, %ebx
leaq 0x8(%r14), %rbp
leal -0x1(%rbx), %r15d
movq 0x8(%r14), %r12
cmpb $0x2d, (%r12)
jne 0x141fd
cmpb $0x76, 0x1(%r12)
jne 0x13fd1
cmpb $0x0, 0x2(%r12)
je 0x1425c
movq %rax, 0x8(%rsp)
movq %r12, %rdi
leaq 0xa70a3(%rip), %rsi     # 0xbb083
callq 0x11840
testl %eax, %eax
je 0x1422e
movq %r12, %rdi
leaq 0xa7098(%rip), %rsi     # 0xbb08f
callq 0x11840
testl %eax, %eax
je 0x14245
movq %r12, %rdi
leaq 0xa7098(%rip), %rsi     # 0xbb0a6
callq 0x11840
testl %eax, %eax
je 0x14268
movq %r12, %rdi
leaq 0xa7098(%rip), %rsi     # 0xbb0bd
callq 0x11840
testl %eax, %eax
je 0x1427f
movq %r12, %rdi
leaq 0xa709a(%rip), %rsi     # 0xbb0d6
callq 0x11840
testl %eax, %eax
je 0x14296
movq %r12, %rdi
leaq 0xa709b(%rip), %rsi     # 0xbb0ee
callq 0x11840
testl %eax, %eax
je 0x142ad
movq %r12, %rdi
leaq 0xa709c(%rip), %rsi     # 0xbb106
callq 0x11840
testl %eax, %eax
je 0x142c4
movq %r12, %rdi
leaq 0xa709f(%rip), %rsi     # 0xbb120
callq 0x11840
testl %eax, %eax
je 0x142db
movq %r12, %rdi
leaq 0xa70a7(%rip), %rsi     # 0xbb13f
callq 0x11840
testl %eax, %eax
je 0x142f6
movq %r12, %rdi
leaq 0xa70ad(%rip), %rsi     # 0xbb15c
callq 0x11840
testl %eax, %eax
je 0x1430e
movq %r12, %rdi
leaq 0xa70ac(%rip), %rsi     # 0xbb172
callq 0x11840
testl %eax, %eax
je 0x14326
movq %r12, %rdi
leaq 0xa70ac(%rip), %rsi     # 0xbb189
callq 0x11840
testl %eax, %eax
je 0x1433e
movq %r12, %rdi
leaq 0xa70b1(%rip), %rsi     # 0xbb1a5
callq 0x11840
testl %eax, %eax
je 0x14356
movq %r12, %rdi
leaq 0xa70b9(%rip), %rsi     # 0xbb1c4
callq 0x11840
testl %eax, %eax
je 0x1436e
movq %r12, %rdi
leaq 0xa70d3(%rip), %rsi     # 0xbb1f5
callq 0x11840
testl %eax, %eax
je 0x1438c
movq %r12, %rdi
leaq 0xa70d6(%rip), %rsi     # 0xbb20f
callq 0x11840
testl %eax, %eax
je 0x1438c
movq %r12, %rdi
leaq 0xa70e4(%rip), %rsi     # 0xbb234
callq 0x11840
testl %eax, %eax
je 0x143a3
movq %r12, %rdi
leaq 0xa706c(%rip), %rsi     # 0xbb1d3
callq 0x11840
testl %eax, %eax
je 0x143af
movq %r12, %rdi
leaq 0xa7065(%rip), %rsi     # 0xbb1e3
callq 0x11840
testl %eax, %eax
jne 0x14ea7
movq 0x10(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf0bc4(%rip)    # 0x104d60
movq 0x18(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf0bbb(%rip)    # 0x104d68
movq 0x20(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf0bb2(%rip)    # 0x104d70
movq 0x28(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf0ba9(%rip)    # 0x104d78
movq 0x30(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf0ba0(%rip)    # 0x104d80
addl $-0x7, %ebx
movq 0x38(%r14), %rdi
addq $0x38, %r14
callq 0x11770
movsd %xmm0, 0xf0b90(%rip)    # 0x104d88
jmp 0x14386
testq %rax, %rax
je 0x1421f
cmpq $0x0, 0x20(%rsp)
jne 0x14ea7
movq %r12, 0xf0bcb(%rip)     # 0x104de0
movq %r12, 0x20(%rsp)
jmp 0x14391
movq %r12, 0xf0ba2(%rip)     # 0x104dc8
movq %r12, %rax
jmp 0x14391
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b90(%rip)     # 0x104dd0
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b99(%rip)     # 0x104df0
jmp 0x14386
movb $0x1, 0xf0b85(%rip)     # 0x104de8
jmp 0x14391
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b7e(%rip)     # 0x104df8
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b6f(%rip)     # 0x104e00
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b60(%rip)     # 0x104e08
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b51(%rip)     # 0x104e10
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rax
addq $0x10, %r14
movq %rax, 0xf0b42(%rip)     # 0x104e18
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11920
movl %eax, 0xf0b2f(%rip)     # 0x104e20
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11920
movl %eax, 0xf02e4(%rip)     # 0x1045f0
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11920
movl %eax, 0xf02d0(%rip)     # 0x1045f4
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11920
movl %eax, 0xf02bc(%rip)     # 0x1045f8
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11920
movl %eax, 0xf0ad0(%rip)     # 0x104e24
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11920
movl %eax, 0xf0290(%rip)     # 0x1045fc
jmp 0x14386
addl $-0x2, %ebx
movq 0x10(%r14), %rdi
addq $0x10, %r14
callq 0x11770
movsd %xmm0, 0xf0aa2(%rip)    # 0x104e28
movl %ebx, %r15d
movq %r14, %rbp
movq 0x8(%rsp), %rax
movq %rbp, %r14
movl %r15d, %ebx
cmpl $0x1, %r15d
jg 0x13fa6
jmp 0x14421
addl $-0x11, %ebx
addq $0x88, %r14
jmp 0x14386
movq 0x10(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf09d8(%rip)    # 0x104d98
movq 0x18(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf09cf(%rip)    # 0x104da0
movq 0x20(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf09c6(%rip)    # 0x104da8
movq 0x28(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf09bd(%rip)    # 0x104db0
movq 0x30(%r14), %rdi
callq 0x11770
movsd %xmm0, 0xf09b4(%rip)    # 0x104db8
addl $-0x7, %ebx
movq 0x38(%r14), %rdi
addq $0x38, %r14
callq 0x11770
movsd %xmm0, 0xf09a4(%rip)    # 0x104dc0
jmp 0x14386
testq %rax, %rax
je 0x14ec2
cmpq $0x0, 0x20(%rsp)
je 0x14ec2
movq %rax, %rbx
leaq 0x120(%rsp), %r15
movq %r15, %rdi
callq 0x74e34
movq %r15, %rdi
xorl %esi, %esi
callq 0x119a0
cmpb $0x1, 0xf098e(%rip)     # 0x104de8
jne 0x1447c
leaq 0xa6e42(%rip), %rdi     # 0xbb2a5
movq %rbx, %rsi
xorl %eax, %eax
callq 0x11080
movq 0xefaec(%rip), %rax     # 0x103f60
movq (%rax), %rdi
callq 0x116f0
movl $0x98, %edi
callq 0x115b0
movq %rax, %r15
movq %rax, %rdi
callq 0x16454
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq *0x70(%rax)
testl %eax, %eax
je 0x14ed2
movq 0xf093f(%rip), %rsi     # 0x104df0
testq %rsi, %rsi
je 0x144bf
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movq 0xf0932(%rip), %rsi     # 0x104df8
testq %rsi, %rsi
je 0x144d4
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
movq 0xf0925(%rip), %rsi     # 0x104e00
testq %rsi, %rsi
je 0x144e9
movq (%r15), %rax
movq %r15, %rdi
callq *0x60(%rax)
leaq 0x10(%rsp), %rdi
callq 0x753d0
cmpl $0x0, 0x14(%r15)
jle 0x14828
xorl %r12d, %r12d
leaq 0x30(%rsp), %r14
movq %r14, %rbx
movq 0x8(%r15), %rax
movq (%rax,%r12,8), %rbp
movslq 0xf0908(%rip), %rax     # 0x104e20
cmpq %rax, %r12
jl 0x1453f
movslq 0xf00cc(%rip), %rax     # 0x1045f0
cmpq %rax, %r12
jg 0x1453f
movl 0xf00c5(%rip), %ecx     # 0x1045f4
cmpl $0x2, %ecx
jl 0x14564
movl %r12d, %eax
xorl %edx, %edx
divl %ecx
testl %edx, %edx
je 0x14564
movl 0x1c(%rsp), %edx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x75466
movq %rbx, %r14
incq %r12
movslq 0x14(%r15), %rax
cmpq %rax, %r12
jl 0x14509
jmp 0x14828
movsd 0xf082c(%rip), %xmm0    # 0x104d98
ucomisd 0xf083c(%rip), %xmm0    # 0x104db0
ja 0x145c4
movsd 0xf0822(%rip), %xmm0    # 0x104da0
ucomisd 0xf0832(%rip), %xmm0    # 0x104db8
ja 0x145c4
movsd 0xf0818(%rip), %xmm0    # 0x104da8
ucomisd 0xf0828(%rip), %xmm0    # 0x104dc0
ja 0x145c4
leaq 0x38(%rbp), %rsi
movq %r14, %rdi
leaq 0xf15f8(%rip), %rdx     # 0x105ba0
callq 0x49ffa
leaq 0xf07dc(%rip), %rdi     # 0x104d90
movq %r14, %rsi
callq 0x24d98
testl %eax, %eax
je 0x1453f
movsd 0xf0794(%rip), %xmm0    # 0x104d60
ucomisd 0xf07a4(%rip), %xmm0    # 0x104d78
ja 0x14553
movsd 0xf0786(%rip), %xmm0    # 0x104d68
ucomisd 0xf0796(%rip), %xmm0    # 0x104d80
ja 0x14553
movsd 0xf0778(%rip), %xmm0    # 0x104d70
ucomisd 0xf0788(%rip), %xmm0    # 0x104d88
ja 0x14553
leaq 0x38(%rbp), %rsi
movq %r14, %rdi
leaq 0xf158c(%rip), %rdx     # 0x105ba0
callq 0x49ffa
leaq 0xf0738(%rip), %rdi     # 0x104d58
movq %r14, %rsi
callq 0x24d98
testl %eax, %eax
jne 0x14553
movq %r14, %rdi
movq %rbp, %rsi
callq 0x1d25a
movq %r14, %rdi
callq 0x43704
ucomisd 0xa69c5(%rip), %xmm0    # 0xbb010
jne 0x14665
jp 0x14665
movl 0x1c(%rsp), %edx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x75466
jmp 0x1474b
leaq 0xe8(%rsp), %r14
movq %r14, %rdi
leaq 0xf06e1(%rip), %rsi     # 0x104d58
callq 0x42f14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x43b0e
movsd 0xf0(%rsp), %xmm0
ucomisd 0x108(%rsp), %xmm0
ja 0x1472d
movsd 0xf8(%rsp), %xmm0
ucomisd 0x110(%rsp), %xmm0
ja 0x1472d
movsd 0x100(%rsp), %xmm0
ucomisd 0x118(%rsp), %xmm0
ja 0x1472d
movq (%rbp), %rax
movq %rbp, %rdi
callq *0x1c0(%rax)
movq (%rbp), %rax
movq %rbp, %rdi
callq *0x108(%rax)
leaq 0x130(%rsp), %rdi
movq %rbp, %rsi
callq 0x1d25a
movq (%rbp), %rax
movq %rbp, %rdi
callq *0x158(%rax)
leaq 0x130(%rsp), %rdi
callq 0x43704
ucomisd 0xa68fd(%rip), %xmm0    # 0xbb010
jne 0x1475b
jp 0x1475b
movl 0x1c(%rsp), %edx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x75466
jmp 0x14816
movl 0x1c(%rsp), %edx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x75466
leaq 0xe8(%rsp), %rdi
callq 0x43d34
movq %rbx, %r14
movq %rbx, %rdi
callq 0x43d34
jmp 0x14553
movsd %xmm0, 0x8(%rsp)
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
leaq 0xf05e5(%rip), %rsi     # 0x104d58
callq 0x42f14
movq %r14, %rdi
leaq 0x130(%rsp), %rsi
callq 0x43b0e
movsd 0xb8(%rsp), %xmm0
ucomisd 0xd0(%rsp), %xmm0
ja 0x147f8
movsd 0xc0(%rsp), %xmm0
ucomisd 0xd8(%rsp), %xmm0
ja 0x147f8
movsd 0xc8(%rsp), %xmm0
ucomisd 0xe0(%rsp), %xmm0
ja 0x147f8
leaq 0xb0(%rsp), %rdi
callq 0x43704
divsd 0x8(%rsp), %xmm0
movsd 0xa6829(%rip), %xmm1    # 0xbb008
ucomisd %xmm0, %xmm1
jbe 0x14809
movl 0x1c(%rsp), %edx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x75466
jmp 0x14809
movl 0x1c(%rsp), %edx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x75466
leaq 0xb0(%rsp), %rdi
callq 0x43d34
leaq 0x130(%rsp), %rdi
callq 0x43d34
jmp 0x1473e
movl 0x1c(%rsp), %eax
testl %eax, %eax
jle 0x14855
xorl %ebx, %ebx
movq 0x10(%rsp), %rcx
movq (%rcx,%rbx,8), %rdi
testq %rdi, %rdi
je 0x1484a
movq (%rdi), %rax
callq *0x8(%rax)
movl 0x1c(%rsp), %eax
incq %rbx
movslq %eax, %rcx
cmpq %rcx, %rbx
jl 0x14832
leaq 0x10(%rsp), %rdi
callq 0x7543a
cmpb $0x1, 0xf0582(%rip)     # 0x104de8
jne 0x148b6
leaq 0x120(%rsp), %rdi
callq 0x74e96
leaq 0xa6a72(%rip), %rdi     # 0xbb2ee
movb $0x1, %al
callq 0x11080
movl 0x14(%r15), %esi
leaq 0xa6a77(%rip), %rdi     # 0xbb305
xorl %eax, %eax
callq 0x11080
movl 0x24(%r15), %esi
leaq 0xa6a76(%rip), %rdi     # 0xbb316
xorl %eax, %eax
callq 0x11080
movq 0xef6b2(%rip), %rax     # 0x103f60
movq (%rax), %rdi
callq 0x116f0
movq 0xf0513(%rip), %r14     # 0x104dd0
testq %r14, %r14
je 0x149cb
leaq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x74e34
movq %r12, %rdi
xorl %esi, %esi
callq 0x119a0
movl $0x138, %edi            # imm = 0x138
callq 0x115b0
movq %rax, %r12
movq %rax, %rdi
callq 0x2b364
movq (%r12), %rax
movq %r12, %rdi
movq %r14, %rsi
callq *0x180(%rax)
testl %eax, %eax
je 0x14ee5
movl $0xa0, %edi
callq 0x115b0
movq %rax, %rbp
movsd 0xf0509(%rip), %xmm0    # 0x104e28
leaq 0xa6a03(%rip), %rsi     # 0xbb329
movq %rax, %rdi
movq %r12, %rdx
callq 0x1ab3e
movq 0xf0498(%rip), %rsi     # 0x104dd0
movq (%rbp), %rax
movq %rbp, %rdi
callq *0xc8(%rax)
movq (%r15), %rax
movq %r15, %rdi
movq %rbp, %rsi
callq *0x20(%rax)
cmpb $0x1, 0xf0490(%rip)     # 0x104de8
jne 0x149cb
leaq 0xa69ca(%rip), %rdi     # 0xbb32b
movq %r14, %rsi
xorl %eax, %eax
callq 0x11080
leaq 0x30(%rsp), %rdi
callq 0x74e96
leaq 0xa6972(%rip), %rdi     # 0xbb2ee
movb $0x1, %al
callq 0x11080
movl 0x34(%r12), %esi
leaq 0xa69b3(%rip), %rdi     # 0xbb342
xorl %eax, %eax
callq 0x11080
movl 0x24(%r12), %esi
leaq 0xa69b0(%rip), %rdi     # 0xbb352
xorl %eax, %eax
callq 0x11080
movl 0x14(%r12), %esi
leaq 0xa69ad(%rip), %rdi     # 0xbb362
xorl %eax, %eax
callq 0x11080
movq 0xef59d(%rip), %rax     # 0x103f60
movq (%rax), %rdi
callq 0x116f0
movq 0x28(%rsp), %r12
cmpl $0x2, %r12d
jl 0x14d90
leal -0x1(%r12), %r14d
leaq 0x8(%r13), %rbx
movq 0x8(%r13), %rbp
cmpb $0x2d, (%rbp)
jne 0x14d28
cmpb $0x76, 0x1(%rbp)
jne 0x14a01
cmpb $0x0, 0x2(%rbp)
je 0x14d4f
movq %rbp, %rdi
leaq 0xa6655(%rip), %rsi     # 0xbb060
callq 0x11840
testl %eax, %eax
je 0x14d4f
movq %rbp, %rdi
leaq 0xa664e(%rip), %rsi     # 0xbb070
callq 0x11840
testl %eax, %eax
je 0x14d4f
movq %rbp, %rdi
leaq 0xa664a(%rip), %rsi     # 0xbb083
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa663f(%rip), %rsi     # 0xbb08f
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa663f(%rip), %rsi     # 0xbb0a6
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa663f(%rip), %rsi     # 0xbb0bd
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6641(%rip), %rsi     # 0xbb0d6
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6642(%rip), %rsi     # 0xbb0ee
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6643(%rip), %rsi     # 0xbb106
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6646(%rip), %rsi     # 0xbb120
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa664e(%rip), %rsi     # 0xbb13f
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6654(%rip), %rsi     # 0xbb15c
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6653(%rip), %rsi     # 0xbb172
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6653(%rip), %rsi     # 0xbb189
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6658(%rip), %rsi     # 0xbb1a5
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6660(%rip), %rsi     # 0xbb1c4
callq 0x11840
testl %eax, %eax
je 0x14d41
movq %rbp, %rdi
leaq 0xa6658(%rip), %rsi     # 0xbb1d3
callq 0x11840
testl %eax, %eax
je 0x14d61
movq %rbp, %rdi
leaq 0xa6651(%rip), %rsi     # 0xbb1e3
callq 0x11840
testl %eax, %eax
je 0x14d61
movq %rbp, %rdi
leaq 0xa664c(%rip), %rsi     # 0xbb1f5
callq 0x11840
testl %eax, %eax
je 0x14d6b
movq %rbp, %rdi
leaq 0xa664f(%rip), %rsi     # 0xbb20f
callq 0x11840
testl %eax, %eax
je 0x14d7c
movq %rbp, %rdi
leaq 0xa6643(%rip), %rsi     # 0xbb21a
callq 0x11840
testl %eax, %eax
je 0x14d86
movq %rbp, %rdi
leaq 0xa6646(%rip), %rsi     # 0xbb234
callq 0x11840
testl %eax, %eax
jne 0x14e9b
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x47efc
movq 0x10(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x30(%rsp)
movq 0x18(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x38(%rsp)
movq 0x20(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x40(%rsp)
movq 0x28(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x48(%rsp)
movq 0x30(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x50(%rsp)
movq 0x38(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x58(%rsp)
movq 0x40(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x60(%rsp)
movq 0x48(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x68(%rsp)
movq 0x50(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x70(%rsp)
movq 0x58(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x78(%rsp)
movq 0x60(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x80(%rsp)
movq 0x68(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x88(%rsp)
movq 0x70(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x90(%rsp)
movq 0x78(%r13), %rdi
callq 0x11770
movsd %xmm0, 0x98(%rsp)
movq 0x80(%r13), %rdi
callq 0x11770
movsd %xmm0, 0xa0(%rsp)
movq 0x88(%r13), %rdi
addq $0x88, %r13
callq 0x11770
movsd %xmm0, 0xa8(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x15d77
addl $-0x11, %r12d
jmp 0x14d49
movl 0xf00aa(%rip), %eax     # 0x104dd8
cmpl $0x1, %eax
jg 0x14e9b
incl %eax
movl %eax, 0xf0099(%rip)     # 0x104dd8
jmp 0x14d4f
addl $-0x2, %r12d
addq $0x10, %r13
movq %r13, %rbx
movl %r12d, %r14d
movl %r14d, %r12d
movq %rbx, %r13
cmpl $0x1, %r14d
jg 0x149da
jmp 0x14d90
addl $-0x7, %r12d
addq $0x38, %r13
jmp 0x14d49
movq %r15, %rdi
callq 0x14f8f
testl %eax, %eax
jne 0x14d4f
jmp 0x14eef
movq %r15, %rdi
callq 0x15b4b
jmp 0x14d4f
movq %r15, %rdi
callq 0x15cbc
jmp 0x14d4f
movq 0xf0049(%rip), %rbx     # 0x104de0
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x74e34
movq %r14, %rdi
xorl %esi, %esi
callq 0x119a0
cmpb $0x1, 0xf0033(%rip)     # 0x104de8
jne 0x14dd7
leaq 0xa665d(%rip), %rdi     # 0xbb41b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x11080
movq 0xef191(%rip), %rax     # 0x103f60
movq (%rax), %rdi
callq 0x116f0
movq 0xf002a(%rip), %rsi     # 0x104e08
testq %rsi, %rsi
je 0x14dec
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movq 0xf001d(%rip), %rsi     # 0x104e10
testq %rsi, %rsi
je 0x14e01
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
movq 0xf0010(%rip), %rsi     # 0x104e18
testq %rsi, %rsi
je 0x14e16
movq (%r15), %rax
movq %r15, %rdi
callq *0x60(%rax)
movl 0xef7dc(%rip), %edx     # 0x1045f8
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x98(%rax)
testl %eax, %eax
je 0x14eef
cmpb $0x1, 0xeffae(%rip)     # 0x104de8
jne 0x14e87
leaq 0x30(%rsp), %rdi
callq 0x74e96
leaq 0xa64a1(%rip), %rdi     # 0xbb2ee
movb $0x1, %al
callq 0x11080
movl 0x14(%r15), %esi
leaq 0xa64a6(%rip), %rdi     # 0xbb305
xorl %eax, %eax
callq 0x11080
movl 0x24(%r15), %esi
leaq 0xa64a5(%rip), %rdi     # 0xbb316
xorl %eax, %eax
callq 0x11080
movq 0xef0e1(%rip), %rax     # 0x103f60
movq (%rax), %rdi
callq 0x116f0
xorl %eax, %eax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa639d(%rip), %rdi     # 0xbb23f
movq %rbp, %rsi
jmp 0x14eb1
leaq 0xa6391(%rip), %rdi     # 0xbb23f
movq %r12, %rsi
xorl %eax, %eax
callq 0x77f42
movl $0x1, %edi
callq 0x11720
leaq 0xa6393(%rip), %rdi     # 0xbb25c
xorl %eax, %eax
callq 0x77f42
jmp 0x14eb8
leaq 0xa63ef(%rip), %rdi     # 0xbb2c8
movq %rbx, %rsi
xorl %eax, %eax
callq 0x77f42
jmp 0x14eef
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x11720
jmp 0x14efd
jmp 0x14f13
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x43d34
jmp 0x14f16
jmp 0x14f13
jmp 0x14f27
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x43d34
jmp 0x14f2a
jmp 0x14f3b
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x43d34
jmp 0x14f3e
jmp 0x14f7a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x43d34
jmp 0x14f7d
movq %rax, %rbx
movl $0xa0, %esi
movq %rbp, %rdi
jmp 0x14f6f
movq %rax, %rbx
movl $0x138, %esi            # imm = 0x138
movq %r12, %rdi
jmp 0x14f6f
movq %rax, %rbx
movl $0x98, %esi
movq %r15, %rdi
callq 0x115c0
jmp 0x14f87
jmp 0x14f7a
jmp 0x14f7a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7543a
movq %rbx, %rdi
callq 0x11a60