// File: tomfunkhouser[P]gaps/apps/conf2img/conf2img.cpp
// Function: ParseArgs(int, char**)
static int 
ParseArgs(int argc, char **argv)
{
  // Initialize variables to track whether to assign defaults
  int output = 0;

  // Parse arguments
  argc--; argv++;
  while (argc > 0) {
    if ((*argv)[0] == '-') {
      if (!strcmp(*argv, "-v")) print_verbose = 1;
      else if (!strcmp(*argv, "-debug")) print_debug = 1;
      else if (!strcmp(*argv, "-glut")) { mesa = 0; glut = 1; }
      else if (!strcmp(*argv, "-mesa")) { mesa = 1; glut = 0; }
      else if (!strcmp(*argv, "-skip_removed_faces")) skip_removed_faces = 1;
      else if (!strcmp(*argv, "-mask_by_filled_depth")) mask_by_filled_depth = 1;
      else if (!strcmp(*argv, "-cameras")) { argc--; argv++; input_camera_filename = *argv; }
      else if (!strcmp(*argv, "-mesh")) { argc--; argv++; input_mesh_filename = *argv; }
      else if (!strcmp(*argv, "-width")) { argc--; argv++; width = atoi(*argv); }
      else if (!strcmp(*argv, "-height")) { argc--; argv++; height = atoi(*argv); }
      else if (!strcmp(*argv, "-xfov")) { argc--; argv++; xfov = atof(*argv); }
      else if (!strcmp(*argv, "-png_distance_scale")) { argc--; argv++; png_distance_scale = atof(*argv); }
      else if (!strcmp(*argv, "-load_every_kth_image")) { argc--; argv++; load_every_kth_image = atoi(*argv); }
      else if (!strcmp(*argv, "-create_depth_images")) { output = create_depth_images = 1; }
      else if (!strcmp(*argv, "-create_position_images")) { output = create_position_images = 1; }
      else if (!strcmp(*argv, "-create_normal_images")) { output = create_normal_images = 1; }
      else if (!strcmp(*argv, "-create_boundary_images")) { output = create_boundary_images = 1; }
      else if (!strcmp(*argv, "-create_segmentation_images")) { output = create_segmentation_images = 1; }
      else if (!strcmp(*argv, "-create_mesh_images")) { output = 1;
        create_mesh_face_images = 1; 
        create_mesh_material_images = 1; 
        create_mesh_segment_images = 1; 
        create_mesh_category_images = 1; 
      }
      else if (!strcmp(*argv, "-capture_color_images")) { output = capture_color_images = 1; }
      else if (!strcmp(*argv, "-capture_depth_images")) { output = capture_depth_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_color_images")) { output = capture_mesh_color_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_depth_images")) { output = capture_mesh_depth_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_position_images")) { output = capture_mesh_position_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_wposition_images")) { output = capture_mesh_wposition_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_normal_images")) { output = capture_mesh_normal_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_wnormal_images")) { output = capture_mesh_wnormal_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_ndotv_images")) { output = capture_mesh_ndotv_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_face_images")) { output = capture_mesh_face_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_material_images")) { output = capture_mesh_material_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_segment_images")) { output = capture_mesh_segment_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_category_images")) { output = capture_mesh_category_images = 1; }
      else if (!strcmp(*argv, "-capture_mesh_images")) { output = 1;
        capture_mesh_color_images = 1;
        capture_mesh_depth_images = 1;
        // capture_mesh_position_images = 1;
        // capture_mesh_wposition_images = 1; 
        capture_mesh_normal_images = 1;
        capture_mesh_wnormal_images = 1; 
        capture_mesh_ndotv_images = 1; 
        capture_mesh_face_images = 1; 
        capture_mesh_material_images = 1; 
        capture_mesh_segment_images = 1; 
        capture_mesh_category_images = 1; 
      }
      else if (!strcmp(*argv, "-background")) {
        argc--; argv++; background[0] = atof(*argv);
        argc--; argv++; background[1] = atof(*argv);
        argc--; argv++; background[2] = atof(*argv);
      }
      else {
        RNFail("Invalid program argument: %s", *argv);
        exit(1);
      }
      argv++; argc--;
    }
    else {
      if (!input_configuration_filename) input_configuration_filename = *argv;
      else if (!output_image_directory) output_image_directory = *argv;
      else { RNFail("Invalid program argument: %s", *argv); exit(1); }
      argv++; argc--;
    }
  }

  // Set default capture options
  if (!output) {
    capture_color_images = 1;
    capture_depth_images = 1;
  }
  
  // Check filenames
  if (!input_configuration_filename || !output_image_directory) {
    RNFail("Usage: conf2img inputconfigurationfile outputimagedirectory [options]\n");
    return 0;
  }

  // Return OK status 
  return 1;
}

// Assembly:
subq $0x38, %rsp
movl %edi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movl $0x0, 0x24(%rsp)
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
cmpl $0x0, 0x30(%rsp)
jle 0x29ae5
movq 0x28(%rsp), %rax
movq (%rax), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x29a6f
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5eb4(%rip), %rsi    # 0x1df090
callq 0x24ed0
cmpl $0x0, %eax
jne 0x291f5
movl $0x1, 0x22cb98(%rip)    # 0x255d88
jmp 0x29a54
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5e8f(%rip), %rsi    # 0x1df093
callq 0x24ed0
cmpl $0x0, %eax
jne 0x2921d
movl $0x1, 0x22cb74(%rip)    # 0x255d8c
jmp 0x29a52
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5e6e(%rip), %rsi    # 0x1df09a
callq 0x24ed0
cmpl $0x0, %eax
jne 0x2924f
movl $0x0, 0x22cb50(%rip)    # 0x255d90
movl $0x1, 0x226856(%rip)    # 0x24faa0
jmp 0x29a50
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5e42(%rip), %rsi    # 0x1df0a0
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29281
movl $0x1, 0x22cb1e(%rip)    # 0x255d90
movl $0x0, 0x226824(%rip)    # 0x24faa0
jmp 0x29a4e
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5e16(%rip), %rsi    # 0x1df0a6
callq 0x24ed0
cmpl $0x0, %eax
jne 0x292a9
movl $0x1, 0x22caf0(%rip)    # 0x255d94
jmp 0x29a4c
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5e02(%rip), %rsi    # 0x1df0ba
callq 0x24ed0
cmpl $0x0, %eax
jne 0x292d1
movl $0x1, 0x22cacc(%rip)    # 0x255d98
jmp 0x29a4a
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5df0(%rip), %rsi    # 0x1df0d0
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29317
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x22ca5e(%rip)    # 0x255d70
jmp 0x29a48
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5db3(%rip), %rsi    # 0x1df0d9
callq 0x24ed0
cmpl $0x0, %eax
jne 0x2935d
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x22ca20(%rip)    # 0x255d78
jmp 0x29a46
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5d73(%rip), %rsi    # 0x1df0df
callq 0x24ed0
cmpl $0x0, %eax
jne 0x293a7
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x250a0
movl %eax, 0x22c9fa(%rip)    # 0x255d9c
jmp 0x29a44
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5d30(%rip), %rsi    # 0x1df0e6
callq 0x24ed0
cmpl $0x0, %eax
jne 0x293f1
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x250a0
movl %eax, 0x22c9b4(%rip)    # 0x255da0
jmp 0x29a42
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5cee(%rip), %rsi    # 0x1df0ee
callq 0x24ed0
cmpl $0x0, %eax
jne 0x2943d
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x24d10
movsd %xmm0, 0x22c970(%rip)   # 0x255da8
jmp 0x29a40
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5ca8(%rip), %rsi    # 0x1df0f4
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29489
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x24d10
movsd %xmm0, 0x226624(%rip)   # 0x24faa8
jmp 0x29a3e
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5c70(%rip), %rsi    # 0x1df108
callq 0x24ed0
cmpl $0x0, %eax
jne 0x294d3
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x250a0
movl %eax, 0x2265e2(%rip)    # 0x24fab0
jmp 0x29a3c
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5c3c(%rip), %rsi    # 0x1df11e
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29503
movl $0x1, 0x22c8ba(%rip)    # 0x255db0
movl $0x1, 0x24(%rsp)
jmp 0x29a3a
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5c21(%rip), %rsi    # 0x1df133
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29533
movl $0x1, 0x22c88e(%rip)    # 0x255db4
movl $0x1, 0x24(%rsp)
jmp 0x29a38
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5c09(%rip), %rsi    # 0x1df14b
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29563
movl $0x1, 0x22c862(%rip)    # 0x255db8
movl $0x1, 0x24(%rsp)
jmp 0x29a36
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5bef(%rip), %rsi    # 0x1df161
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29593
movl $0x1, 0x22c836(%rip)    # 0x255dbc
movl $0x1, 0x24(%rsp)
jmp 0x29a34
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5bd7(%rip), %rsi    # 0x1df179
callq 0x24ed0
cmpl $0x0, %eax
jne 0x295c3
movl $0x1, 0x22c80a(%rip)    # 0x255dc0
movl $0x1, 0x24(%rsp)
jmp 0x29a32
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5bc3(%rip), %rsi    # 0x1df195
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29611
movl $0x1, 0x24(%rsp)
movl $0x1, 0x22c7d6(%rip)    # 0x255dc4
movl $0x1, 0x22c7d0(%rip)    # 0x255dc8
movl $0x1, 0x22c7ca(%rip)    # 0x255dcc
movl $0x1, 0x22c7c4(%rip)    # 0x255dd0
jmp 0x29a30
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b89(%rip), %rsi    # 0x1df1a9
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29641
movl $0x1, 0x22c7a0(%rip)    # 0x255dd4
movl $0x1, 0x24(%rsp)
jmp 0x29a2e
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b6f(%rip), %rsi    # 0x1df1bf
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29671
movl $0x1, 0x22c774(%rip)    # 0x255dd8
movl $0x1, 0x24(%rsp)
jmp 0x29a2c
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b55(%rip), %rsi    # 0x1df1d5
callq 0x24ed0
cmpl $0x0, %eax
jne 0x296a1
movl $0x1, 0x22c748(%rip)    # 0x255ddc
movl $0x1, 0x24(%rsp)
jmp 0x29a2a
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b40(%rip), %rsi    # 0x1df1f0
callq 0x24ed0
cmpl $0x0, %eax
jne 0x296d1
movl $0x1, 0x22c71c(%rip)    # 0x255de0
movl $0x1, 0x24(%rsp)
jmp 0x29a28
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b2b(%rip), %rsi    # 0x1df20b
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29701
movl $0x1, 0x22c6f0(%rip)    # 0x255de4
movl $0x1, 0x24(%rsp)
jmp 0x29a26
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b19(%rip), %rsi    # 0x1df229
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29731
movl $0x1, 0x22c6c4(%rip)    # 0x255de8
movl $0x1, 0x24(%rsp)
jmp 0x29a24
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5b08(%rip), %rsi    # 0x1df248
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29761
movl $0x1, 0x22c698(%rip)    # 0x255dec
movl $0x1, 0x24(%rsp)
jmp 0x29a22
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5af4(%rip), %rsi    # 0x1df264
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29791
movl $0x1, 0x22c66c(%rip)    # 0x255df0
movl $0x1, 0x24(%rsp)
jmp 0x29a20
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5ae1(%rip), %rsi    # 0x1df281
callq 0x24ed0
cmpl $0x0, %eax
jne 0x297c1
movl $0x1, 0x22c640(%rip)    # 0x255df4
movl $0x1, 0x24(%rsp)
jmp 0x29a1e
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5acc(%rip), %rsi    # 0x1df29c
callq 0x24ed0
cmpl $0x0, %eax
jne 0x297f1
movl $0x1, 0x22c614(%rip)    # 0x255df8
movl $0x1, 0x24(%rsp)
jmp 0x29a1c
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5ab6(%rip), %rsi    # 0x1df2b6
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29821
movl $0x1, 0x22c5e8(%rip)    # 0x255dfc
movl $0x1, 0x24(%rsp)
jmp 0x29a1a
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5aa4(%rip), %rsi    # 0x1df2d4
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29851
movl $0x1, 0x22c5bc(%rip)    # 0x255e00
movl $0x1, 0x24(%rsp)
jmp 0x29a18
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5a91(%rip), %rsi    # 0x1df2f1
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29881
movl $0x1, 0x22c590(%rip)    # 0x255e04
movl $0x1, 0x24(%rsp)
jmp 0x29a16
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5a7f(%rip), %rsi    # 0x1df30f
callq 0x24ed0
cmpl $0x0, %eax
jne 0x29901
movl $0x1, 0x24(%rsp)
movl $0x1, 0x22c530(%rip)    # 0x255ddc
movl $0x1, 0x22c52a(%rip)    # 0x255de0
movl $0x1, 0x22c52c(%rip)    # 0x255dec
movl $0x1, 0x22c526(%rip)    # 0x255df0
movl $0x1, 0x22c520(%rip)    # 0x255df4
movl $0x1, 0x22c51a(%rip)    # 0x255df8
movl $0x1, 0x22c514(%rip)    # 0x255dfc
movl $0x1, 0x22c50e(%rip)    # 0x255e00
movl $0x1, 0x22c508(%rip)    # 0x255e04
jmp 0x29a14
movq 0x28(%rsp), %rax
movq (%rax), %rdi
leaq 0x1b5a14(%rip), %rsi    # 0x1df324
callq 0x24ed0
cmpl $0x0, %eax
jne 0x299f2
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x24d10
movsd %xmm0, 0x8(%rsp)
leaq 0x22c21f(%rip), %rdi    # 0x255b70
xorl %esi, %esi
callq 0x30470
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x24d10
movsd %xmm0, 0x10(%rsp)
leaq 0x22c1db(%rip), %rdi    # 0x255b70
movl $0x1, %esi
callq 0x30470
movsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rdi
callq 0x24d10
movsd %xmm0, 0x18(%rsp)
leaq 0x22c194(%rip), %rdi    # 0x255b70
movl $0x2, %esi
callq 0x30470
movsd 0x18(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x29a12
movq 0x28(%rsp), %rax
movq (%rax), %rsi
leaq 0x1b592f(%rip), %rdi    # 0x1df330
movb $0x0, %al
callq 0x144e00
movl $0x1, %edi
callq 0x24c70
jmp 0x29a14
jmp 0x29a16
jmp 0x29a18
jmp 0x29a1a
jmp 0x29a1c
jmp 0x29a1e
jmp 0x29a20
jmp 0x29a22
jmp 0x29a24
jmp 0x29a26
jmp 0x29a28
jmp 0x29a2a
jmp 0x29a2c
jmp 0x29a2e
jmp 0x29a30
jmp 0x29a32
jmp 0x29a34
jmp 0x29a36
jmp 0x29a38
jmp 0x29a3a
jmp 0x29a3c
jmp 0x29a3e
jmp 0x29a40
jmp 0x29a42
jmp 0x29a44
jmp 0x29a46
jmp 0x29a48
jmp 0x29a4a
jmp 0x29a4c
jmp 0x29a4e
jmp 0x29a50
jmp 0x29a52
jmp 0x29a54
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
jmp 0x29ae0
cmpq $0x0, 0x22c2f1(%rip)    # 0x255d68
jne 0x29a8a
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x22c2e0(%rip)    # 0x255d68
jmp 0x29ac7
cmpq $0x0, 0x22c2ee(%rip)    # 0x255d80
jne 0x29aa5
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x22c2dd(%rip)    # 0x255d80
jmp 0x29ac5
movq 0x28(%rsp), %rax
movq (%rax), %rsi
leaq 0x1b587c(%rip), %rdi    # 0x1df330
movb $0x0, %al
callq 0x144e00
movl $0x1, %edi
callq 0x24c70
jmp 0x29ac7
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x28(%rsp)
movl 0x30(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x30(%rsp)
jmp 0x291ae
cmpl $0x0, 0x24(%rsp)
jne 0x29b00
movl $0x1, 0x22c2de(%rip)    # 0x255dd4
movl $0x1, 0x22c2d8(%rip)    # 0x255dd8
cmpq $0x0, 0x22c260(%rip)    # 0x255d68
je 0x29b14
cmpq $0x0, 0x22c26e(%rip)    # 0x255d80
jne 0x29b2c
leaq 0x1b5832(%rip), %rdi    # 0x1df34d
movb $0x0, %al
callq 0x144e00
movl $0x0, 0x34(%rsp)
jmp 0x29b34
movl $0x1, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax)