// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/apps/scn2cam/scn2cam.cpp
// Function: main
int main(int argc, char **argv)
{
  // Parse program arguments
  if (!ParseArgs(argc, argv)) exit(-1);

  // Read scene
  if (!ReadScene(input_scene_filename)) exit(-1);

  // Read cameras
  if (input_cameras_filename) {
    if (!ReadCameras(input_cameras_filename)) exit(-1);
  }

  // Read categories
  if (input_categories_filename) {
    if (!ReadCategories(input_categories_filename)) exit(-1);
  }

  // Read points
  if (input_points_filename) {
    if (!ReadPoints(input_points_filename)) exit(-1);
  }

  // Create and write new cameras 
  if (mesa) CreateAndWriteCamerasWithMesa();
  else if (glut) CreateAndWriteCamerasWithGlut();
  else CreateAndWriteCameras();

  // Return success 
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
xorl %edx, %edx
movl $0x0, %eax
cmpl $0x2, %edi
jl 0x26da4
movq %rsi, %rbp
movl %edi, %r13d
movq 0x13b336(%rip), %rax    # 0x1618e0
movq %rax, 0x18(%rsp)
movq 0x13b29a(%rip), %r14    # 0x161850
leaq 0xd031b(%rip), %rax     # 0xf68d8
movsd (%rax), %xmm0
movsd 0xcba3f(%rip), %xmm1    # 0xf2008
mulsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
divsd 0xcba35(%rip), %xmm0    # 0xf2010
movsd %xmm0, 0x28(%rsp)
movl $0x0, 0x8(%rsp)
movl $0x0, 0x10(%rsp)
leaq 0x8(%rbp), %rbx
leal -0x1(%r13), %r15d
movq 0x8(%rbp), %r12
cmpb $0x2d, (%r12)
jne 0x269f6
cmpb $0x76, 0x1(%r12)
jne 0x2661c
cmpb $0x0, 0x2(%r12)
je 0x26a4e
movq %r12, %rdi
leaq 0xcbaee(%rip), %rsi     # 0xf2114
callq 0x22cd0
testl %eax, %eax
je 0x26a2f
movq %r12, %rdi
leaq 0xcbade(%rip), %rsi     # 0xf211b
callq 0x22cd0
testl %eax, %eax
je 0x26a3b
movq %r12, %rdi
leaq 0xcbacd(%rip), %rsi     # 0xf2121
callq 0x22cd0
testl %eax, %eax
je 0x26a5a
movq %r12, %rdi
leaq 0xcbabc(%rip), %rsi     # 0xf2127
callq 0x22cd0
testl %eax, %eax
je 0x26a6d
movq %r12, %rdi
leaq 0xcbaae(%rip), %rsi     # 0xf2130
callq 0x22cd0
testl %eax, %eax
je 0x26a80
movq %r12, %rdi
leaq 0xcba9c(%rip), %rsi     # 0xf2135
callq 0x22cd0
testl %eax, %eax
je 0x26a8f
movq %r12, %rdi
leaq 0xcba8a(%rip), %rsi     # 0xf213a
callq 0x22cd0
testl %eax, %eax
je 0x26a9e
movq %r12, %rdi
leaq 0xcba7f(%rip), %rsi     # 0xf2146
callq 0x22cd0
testl %eax, %eax
je 0x26ab6
movq %r12, %rdi
leaq 0xcba77(%rip), %rsi     # 0xf2155
callq 0x22cd0
testl %eax, %eax
je 0x26acb
movq %r12, %rdi
leaq 0xcba6e(%rip), %rsi     # 0xf2163
callq 0x22cd0
testl %eax, %eax
je 0x26ae0
movq %r12, %rdi
leaq 0xcba71(%rip), %rsi     # 0xf217d
callq 0x22cd0
testl %eax, %eax
je 0x26af5
movq %r12, %rdi
leaq 0xcba74(%rip), %rsi     # 0xf2197
callq 0x22cd0
testl %eax, %eax
je 0x26b0a
movq %r12, %rdi
leaq 0xcba72(%rip), %rsi     # 0xf21ac
callq 0x22cd0
testl %eax, %eax
je 0x26b1f
movq %r12, %rdi
leaq 0xcba69(%rip), %rsi     # 0xf21ba
callq 0x22cd0
testl %eax, %eax
je 0x26b55
movq %r12, %rdi
leaq 0xcba71(%rip), %rsi     # 0xf21d9
callq 0x22cd0
testl %eax, %eax
je 0x26b5e
movq %r12, %rdi
leaq 0xcba61(%rip), %rsi     # 0xf21e0
callq 0x22cd0
testl %eax, %eax
je 0x26b77
movq %r12, %rdi
leaq 0xcba52(%rip), %rsi     # 0xf21e8
callq 0x22cd0
testl %eax, %eax
je 0x26b90
movq %r12, %rdi
leaq 0xcba41(%rip), %rsi     # 0xf21ee
callq 0x22cd0
testl %eax, %eax
je 0x26bab
movq %r12, %rdi
leaq 0xcba36(%rip), %rsi     # 0xf21fa
callq 0x22cd0
testl %eax, %eax
je 0x26bc9
movq %r12, %rdi
leaq 0xcba32(%rip), %rsi     # 0xf220d
callq 0x22cd0
testl %eax, %eax
je 0x26be7
movq %r12, %rdi
leaq 0xcba37(%rip), %rsi     # 0xf2229
callq 0x22cd0
testl %eax, %eax
je 0x26c05
movq %r12, %rdi
leaq 0xcba3a(%rip), %rsi     # 0xf2243
callq 0x22cd0
testl %eax, %eax
je 0x26c23
movq %r12, %rdi
leaq 0xcba39(%rip), %rsi     # 0xf2259
callq 0x22cd0
testl %eax, %eax
je 0x26c41
movq %r12, %rdi
leaq 0xcba38(%rip), %rsi     # 0xf226f
callq 0x22cd0
testl %eax, %eax
je 0x26c5f
movq %r12, %rdi
leaq 0xcba36(%rip), %rsi     # 0xf2284
callq 0x22cd0
testl %eax, %eax
je 0x26c81
movq %r12, %rdi
leaq 0xcba2a(%rip), %rsi     # 0xf228f
callq 0x22cd0
testl %eax, %eax
je 0x26cac
movq %r12, %rdi
leaq 0xcba26(%rip), %rsi     # 0xf22a2
callq 0x22cd0
testl %eax, %eax
je 0x26c9f
movq %r12, %rdi
leaq 0xcba25(%rip), %rsi     # 0xf22b8
callq 0x22cd0
testl %eax, %eax
je 0x26c9f
movq %r12, %rdi
leaq 0xcba25(%rip), %rsi     # 0xf22cf
callq 0x22cd0
testl %eax, %eax
je 0x26cc8
movq %r12, %rdi
leaq 0xcba21(%rip), %rsi     # 0xf22e2
callq 0x22cd0
testl %eax, %eax
je 0x26ce6
movq %r12, %rdi
leaq 0xcba1a(%rip), %rsi     # 0xf22f2
callq 0x22cd0
testl %eax, %eax
je 0x26d1b
movq %r12, %rdi
leaq 0xcba17(%rip), %rsi     # 0xf2306
callq 0x22cd0
testl %eax, %eax
je 0x26d04
movq %r12, %rdi
leaq 0xcba17(%rip), %rsi     # 0xf231d
callq 0x22cd0
testl %eax, %eax
je 0x26d04
movq %r12, %rdi
leaq 0xcba1a(%rip), %rsi     # 0xf2337
callq 0x22cd0
testl %eax, %eax
je 0x26d39
movq %r12, %rdi
leaq 0xcba19(%rip), %rsi     # 0xf234d
callq 0x22cd0
testl %eax, %eax
je 0x26d39
movq %r12, %rdi
leaq 0xcba1f(%rip), %rsi     # 0xf236a
callq 0x22cd0
movl $0x1, 0x10(%rsp)
testl %eax, %eax
je 0x26b40
movq %r12, %rdi
leaq 0xcba17(%rip), %rsi     # 0xf2381
callq 0x22cd0
testl %eax, %eax
je 0x26d4d
movq %r12, %rdi
leaq 0xcba19(%rip), %rsi     # 0xf239a
callq 0x22cd0
testl %eax, %eax
je 0x26d56
movq %r12, %rdi
leaq 0xcba1a(%rip), %rsi     # 0xf23b2
callq 0x22cd0
testl %eax, %eax
je 0x26d62
movq %r12, %rdi
leaq 0xcba18(%rip), %rsi     # 0xf23c7
callq 0x22cd0
testl %eax, %eax
je 0x26d7c
movq %r12, %rdi
leaq 0xcba1e(%rip), %rsi     # 0xf23e4
callq 0x22cd0
testl %eax, %eax
je 0x26d88
movq %r12, %rdi
leaq 0xcba25(%rip), %rsi     # 0xf2402
callq 0x22cd0
testl %eax, %eax
jne 0x27540
movb $0x1, 0x13aeeb(%rip)    # 0x1618dc
jmp 0x26b40
testq %r14, %r14
je 0x26a20
cmpq $0x0, 0x18(%rsp)
jne 0x274a1
movq %r12, 0x13aed2(%rip)    # 0x1618e0
movl $0x1, 0x8(%rsp)
movq %r12, 0x18(%rsp)
jmp 0x26b40
movq %r12, 0x13ae29(%rip)    # 0x161850
movq %r12, %r14
jmp 0x26b40
movb $0x1, 0x13ae46(%rip)    # 0x16187c
jmp 0x26b40
xorl %eax, %eax
movb %al, 0x13ae2d(%rip)     # 0x161870
movb %al, 0x13ae2b(%rip)     # 0x161874
jmp 0x26b40
movb $0x1, 0x13ae23(%rip)    # 0x161878
jmp 0x26b40
movb $0x1, %al
movb %al, 0x13ae0e(%rip)     # 0x161870
movb %al, 0x13ae0c(%rip)     # 0x161874
jmp 0x26b40
movb $0x0, 0x13adfc(%rip)    # 0x161870
movb $0x1, 0x13adf9(%rip)    # 0x161874
jmp 0x26b40
movl $0x1, 0x135ee6(%rip)    # 0x15c970
jmp 0x26b40
movl $0x2, 0x135ed7(%rip)    # 0x15c970
jmp 0x26b40
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13adaf(%rip)    # 0x161860
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13ad8f(%rip)    # 0x161858
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13ad8a(%rip)    # 0x161868
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13ad8d(%rip)    # 0x161880
jmp 0x26b32
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13ad80(%rip)    # 0x161888
jmp 0x26b32
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13ad73(%rip)    # 0x161890
jmp 0x26b32
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0x13ad66(%rip)    # 0x161898
movl $0x1, 0x8(%rsp)
movl %r13d, %r15d
movq %rbp, %rbx
movq %rbx, %rbp
movl %r15d, %r13d
cmpl $0x1, %r15d
jg 0x265f1
jmp 0x26d94
movb $0x1, 0x13ad44(%rip)    # 0x1618a0
jmp 0x26b40
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22ec0
movl %eax, 0x135dff(%rip)    # 0x15c974
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22ec0
movl %eax, 0x135dea(%rip)    # 0x15c978
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135dd7(%rip)   # 0x15c980
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135dc4(%rip)   # 0x15c988
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135dae(%rip)   # 0x15c990
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x13aca8(%rip)   # 0x1618a8
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135d7a(%rip)   # 0x15c998
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135d64(%rip)   # 0x15c9a0
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135d4e(%rip)   # 0x15c9a8
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22ec0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x135d34(%rip)   # 0x15c9b0
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x13ac16(%rip)   # 0x1618b0
jmp 0x26b3a
addl $-0x2, %r13d
addq $0x10, %rbp
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22ec0
movl %eax, 0x135cad(%rip)    # 0x15c970
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135cd7(%rip)   # 0x15c9b8
jmp 0x26b3a
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x13abb9(%rip)   # 0x1618b8
jmp 0x26b3a
movb $0x1, 0x13abb5(%rip)    # 0x1618c0
movsd 0x28(%rsp), %xmm0
movsd %xmm0, 0x13ab9f(%rip)   # 0x1618b8
jmp 0x26d40
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0x22b50
movsd %xmm0, 0x135c8c(%rip)   # 0x15c9c0
jmp 0x26b3a
movb $0x1, 0x13ab84(%rip)    # 0x1618c4
movl $0x1, 0x10(%rsp)
jmp 0x26b40
movb $0x1, 0x13ab74(%rip)    # 0x1618c8
jmp 0x26d69
movb $0x1, 0x13ab6f(%rip)    # 0x1618cc
jmp 0x26b40
movb $0x1, 0x13ab67(%rip)    # 0x1618d0
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x13ab41(%rip)   # 0x1618b8
jmp 0x26b40
movb $0x1, 0x13ab51(%rip)    # 0x1618d4
jmp 0x26b40
movb $0x1, 0x13ab49(%rip)    # 0x1618d8
jmp 0x26b40
cmpl $0x0, 0x10(%rsp)
setne %dl
cmpl $0x0, 0x8(%rsp)
setne %al
cmpq $0x0, 0x13aaac(%rip)    # 0x161858
setne %cl
orb %dl, %cl
testb $0x1, %cl
jne 0x26dbd
movb $0x1, 0x13ab13(%rip)    # 0x1618d0
movq 0x13aa8c(%rip), %rbx    # 0x161850
testq %rbx, %rbx
setne %cl
testb %al, %cl
je 0x274bc
leaq 0x38(%rsp), %r14
movq %r14, %rdi
callq 0x9e61c
movq %r14, %rdi
xorl %esi, %esi
callq 0x22f90
movl $0x160, %edi            # imm = 0x160
callq 0x22890
movq %rax, %r14
movq %rax, %rdi
callq 0x2df98
movq %r14, 0x13aae3(%rip)    # 0x1618e8
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x2f288
movq 0x13aacf(%rip), %r14    # 0x1618e8
testl %eax, %eax
je 0x274cc
movq %r14, %rdi
callq 0x2e75e
movq 0x13aab8(%rip), %rdi    # 0x1618e8
callq 0x2e9b4
cmpb $0x1, 0x13aa3c(%rip)    # 0x161878
jne 0x26f0a
leaq 0xcb61d(%rip), %rdi     # 0xf2466
movq %rbx, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x38(%rsp), %rdi
callq 0x9e67e
leaq 0xcb61a(%rip), %rdi     # 0xf247e
movb $0x1, %al
callq 0x22080
movq 0x13aa76(%rip), %rax    # 0x1618e8
movl 0x14(%rax), %esi
leaq 0xcb619(%rip), %rdi     # 0xf2495
xorl %eax, %eax
callq 0x22080
movq 0x13aa5e(%rip), %rax    # 0x1618e8
movl 0x24(%rax), %esi
leaq 0xcb611(%rip), %rdi     # 0xf24a5
xorl %eax, %eax
callq 0x22080
movq 0x13aa46(%rip), %rax    # 0x1618e8
movl 0x34(%rax), %esi
leaq 0xcb60a(%rip), %rdi     # 0xf24b6
xorl %eax, %eax
callq 0x22080
movq 0x13aa2e(%rip), %rax    # 0x1618e8
movl 0x44(%rax), %esi
leaq 0xcb606(%rip), %rdi     # 0xf24ca
xorl %eax, %eax
callq 0x22080
movq 0x13aa16(%rip), %rax    # 0x1618e8
movl 0x54(%rax), %esi
leaq 0xcb5fe(%rip), %rdi     # 0xf24da
xorl %eax, %eax
callq 0x22080
movq 0x13a9fe(%rip), %rax    # 0x1618e8
movl 0x64(%rax), %esi
leaq 0xcb5f9(%rip), %rdi     # 0xf24ed
xorl %eax, %eax
callq 0x22080
movq 0x13501e(%rip), %rax    # 0x15bf20
movq (%rax), %rdi
callq 0x22a60
cmpq $0x0, 0x13a9d6(%rip)    # 0x1618e8
je 0x274e6
movq 0x13a939(%rip), %r15    # 0x161858
testq %r15, %r15
je 0x272b6
leaq 0xa8(%rsp), %rbx
movq %rbx, %rdi
callq 0x9e61c
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x22f90
movq 0x13a99c(%rip), %rax    # 0x1618e8
movq (%rax), %rdi
callq 0x41d4c
movq %rax, %rdi
callq 0x74f5c
movsd %xmm0, 0x8(%rsp)
movq 0x13a97f(%rip), %rax    # 0x1618e8
movq (%rax), %rdi
callq 0x41d4c
movq %rax, %rdi
callq 0x74f5c
movsd %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x1359ee(%rip), %xmm0 # 0x15c978
movsd %xmm0, 0x28(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x1359d9(%rip), %xmm0 # 0x15c974
movsd %xmm0, 0x18(%rsp)
leaq 0xd2b3b(%rip), %rsi     # 0xf9ae3
movq %r15, 0x20(%rsp)
movq %r15, %rdi
callq 0x22a70
testq %rax, %rax
je 0x274e8
movq %rax, %r12
leaq 0x50(%rsp), %r10
leaq 0x58(%rsp), %r11
leaq 0x30(%rsp), %rbx
leaq 0x60(%rsp), %r15
leaq 0x68(%rsp), %r13
leaq 0x70(%rsp), %rbp
leaq 0xcbe16(%rip), %rsi     # 0xf2dfc
leaq 0xa0(%rsp), %rdx
leaq 0x98(%rsp), %rcx
leaq 0x90(%rsp), %r8
leaq 0x88(%rsp), %r9
movq %rax, %rdi
movl $0x0, %eax
pushq %r10
pushq %r11
pushq %rbx
pushq %r15
pushq %r13
pushq %rbp
leaq 0xa8(%rsp), %r10
pushq %r10
leaq 0xb8(%rsp), %r10
pushq %r10
callq 0x23150
addq $0x40, %rsp
cmpl $0xc, %eax
jne 0x27257
movsd 0xcafc2(%rip), %xmm0    # 0xf2008
movsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm1
mulsd 0xcafc0(%rip), %xmm1    # 0xf2018
movsd %xmm1, 0x8(%rsp)
movsd 0x10(%rsp), %xmm1
mulsd %xmm0, %xmm1
mulsd 0xcafb0(%rip), %xmm1    # 0xf2020
movsd %xmm1, 0x10(%rsp)
movsd 0x28(%rsp), %xmm0
divsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
xorl %r14d, %r14d
movq %r12, %rbx
movsd 0xa0(%rsp), %xmm0
movsd 0x98(%rsp), %xmm1
movsd 0x90(%rsp), %xmm2
leaq 0x38(%rsp), %rdi
callq 0x7cff6
movsd 0x88(%rsp), %xmm0
movsd 0x80(%rsp), %xmm1
movsd 0x78(%rsp), %xmm2
leaq 0xb8(%rsp), %rbp
movq %rbp, %rdi
callq 0x7da8a
movsd 0x70(%rsp), %xmm0
movsd 0x68(%rsp), %xmm1
movsd 0x60(%rsp), %xmm2
leaq 0x100(%rsp), %r15
movq %r15, %rdi
callq 0x7da8a
leaq 0xe8(%rsp), %r12
movq %r12, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x7e3be
movq %rbp, %rdi
callq 0x7dda0
leaq 0xd0(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x7e3be
movq %r15, %rdi
movq %r13, %rsi
callq 0x7e216
movq %r15, %rdi
callq 0x7dda0
movsd 0x30(%rsp), %xmm0
callq 0x22490
mulsd 0x28(%rsp), %xmm0
callq 0x22700
movsd %xmm0, 0x18(%rsp)
movsd %xmm0, 0x58(%rsp)
movl $0x98, %edi
callq 0x22890
movq %rax, %r12
movsd 0x30(%rsp), %xmm0
movq %rax, %rdi
leaq 0x38(%rsp), %rsi
movq %rbp, %rdx
movq %r15, %rcx
movsd 0x18(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movsd 0x10(%rsp), %xmm3
callq 0x45338
movq $0x0, 0x90(%r12)
movsd 0x50(%rsp), %xmm0
movsd %xmm0, 0x80(%r12)
movl 0x13a68c(%rip), %edx    # 0x16184c
leaq 0x13a679(%rip), %rdi    # 0x161840
movq %r12, %rsi
callq 0x9ec4e
incl %r14d
movq %rbx, %r12
movq %rbx, %rdi
leaq 0xcbc1d(%rip), %rsi     # 0xf2dfc
leaq 0xa0(%rsp), %rdx
leaq 0x98(%rsp), %rcx
leaq 0x90(%rsp), %r8
leaq 0x88(%rsp), %r9
xorl %eax, %eax
leaq 0x50(%rsp), %r10
pushq %r10
leaq 0x60(%rsp), %r10
pushq %r10
leaq 0x40(%rsp), %r10
pushq %r10
leaq 0x78(%rsp), %r10
pushq %r10
leaq 0x88(%rsp), %r10
pushq %r10
leaq 0x98(%rsp), %r10
pushq %r10
leaq 0xa8(%rsp), %r10
pushq %r10
leaq 0xb8(%rsp), %r10
pushq %r10
callq 0x23150
addq $0x40, %rsp
cmpl $0xc, %eax
je 0x2708b
movq %r12, %rdi
callq 0x22880
cmpb $0x1, 0x13a612(%rip)    # 0x161878
jne 0x272b6
leaq 0xcb2ba(%rip), %rdi     # 0xf2529
movq 0x20(%rsp), %rsi
xorl %eax, %eax
callq 0x22080
leaq 0xa8(%rsp), %rdi
callq 0x9e67e
leaq 0xcb1ef(%rip), %rdi     # 0xf247e
movb $0x1, %al
callq 0x22080
leaq 0xcb2a6(%rip), %rdi     # 0xf2543
movl %r14d, %esi
xorl %eax, %eax
callq 0x22080
movq 0x134c72(%rip), %rax    # 0x15bf20
movq (%rax), %rdi
callq 0x22a60
movq 0x13a5a3(%rip), %rbx    # 0x161860
testq %rbx, %rbx
je 0x27331
leaq 0x38(%rsp), %r14
movq %r14, %rdi
callq 0x9e61c
movq %r14, %rdi
xorl %esi, %esi
callq 0x22f90
movq 0x13a608(%rip), %rdi    # 0x1618e8
movq %rbx, %rsi
callq 0x3c0c2
testl %eax, %eax
je 0x274fd
cmpb $0x1, 0x13a581(%rip)    # 0x161878
jne 0x27331
leaq 0xcb255(%rip), %rdi     # 0xf2555
movq %rbx, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x38(%rsp), %rdi
callq 0x9e67e
leaq 0xcb163(%rip), %rdi     # 0xf247e
movb $0x1, %al
callq 0x22080
movq 0x134bf7(%rip), %rax    # 0x15bf20
movq (%rax), %rdi
callq 0x22a60
movq 0x13a530(%rip), %rbx    # 0x161868
testq %rbx, %rbx
je 0x273ee
leaq 0x38(%rsp), %r14
movq %r14, %rdi
callq 0x9e61c
movq %r14, %rdi
xorl %esi, %esi
callq 0x22f90
movl $0x150, %edi            # imm = 0x150
callq 0x22890
movq %rax, %r14
movq %rax, %rdi
callq 0x7e85c
movq %r14, 0x13a57c(%rip)    # 0x1618f0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x7fd8a
testl %eax, %eax
je 0x274ff
cmpb $0x1, 0x13a4ea(%rip)    # 0x161878
jne 0x273ee
leaq 0xcb1fa(%rip), %rdi     # 0xf2591
movq %rbx, %rsi
xorl %eax, %eax
callq 0x22080
leaq 0x38(%rsp), %rdi
callq 0x9e67e
leaq 0xcb0cc(%rip), %rdi     # 0xf247e
movb $0x1, %al
callq 0x22080
movq 0x13a530(%rip), %rax    # 0x1618f0
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x3, %rcx
imull $0xaaaaaaab, %ecx, %esi # imm = 0xAAAAAAAB
leaq 0xcb1d2(%rip), %rdi     # 0xf25aa
xorl %eax, %eax
callq 0x22080
movq 0x134b3a(%rip), %rax    # 0x15bf20
movq (%rax), %rdi
callq 0x22a60
cmpb $0x1, 0x13a47b(%rip)    # 0x161870
jne 0x2740a
leaq 0xcb1bd(%rip), %rdi     # 0xf25bb
xorl %eax, %eax
callq 0xa164e
jmp 0x2748d
cmpb $0x0, 0x13a463(%rip)    # 0x161874
jne 0x2753b
leaq 0xb8(%rsp), %rbx
movl $0x1, (%rbx)
leaq 0xcb1cf(%rip), %rdi     # 0xf25fb
callq 0xa158b
leaq 0x38(%rsp), %rsi
movq %rax, (%rsi)
movq %rbx, %rdi
callq 0xe5701
movl $0x64, %edi
movl $0x64, %esi
callq 0xe5c51
movl 0x13551e(%rip), %edi    # 0x15c974
movl 0x13551c(%rip), %esi    # 0x15c978
callq 0xe5c67
movl $0x10, %edi
callq 0xe5c86
leaq 0xcb191(%rip), %rdi     # 0xf2603
callq 0xeac36
callq 0x9e704
leaq 0xf1(%rip), %rdi        # 0x27574
callq 0xe42b8
callq 0xe7d47
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcaf71(%rip), %rdi     # 0xf2419
movq %r12, %rsi
xorl %eax, %eax
callq 0xa172a
movl $0x1, %edi
callq 0x22ac0
leaq 0xcaf73(%rip), %rdi     # 0xf2436
xorl %eax, %eax
callq 0xa172a
jmp 0x27531
testq %r14, %r14
je 0x274d9
movq %r14, %rdi
callq 0x2e166
movl $0x160, %esi            # imm = 0x160
movq %r14, %rdi
callq 0x228b0
jmp 0x27531
leaq 0xcb01a(%rip), %rdi     # 0xf2509
movq 0x20(%rsp), %rsi
xorl %eax, %eax
callq 0xa172a
jmp 0x27531
jmp 0x27531
leaq 0xcb06c(%rip), %rdi     # 0xf2572
movq %rbx, %rsi
xorl %eax, %eax
callq 0xa172a
movq 0x13a3d9(%rip), %rbx    # 0x1618f0
testq %rbx, %rbx
je 0x27524
movq %rbx, %rdi
callq 0x7e9b0
movl $0x150, %esi            # imm = 0x150
movq %rbx, %rdi
callq 0x228b0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x22ac0
callq 0x27574
jmp 0x274a1
movq %rax, %rbx
movl $0x150, %esi            # imm = 0x150
jmp 0x27557
movq %rax, %rbx
movl $0x160, %esi            # imm = 0x160
movq %r14, %rdi
jmp 0x27567
movq %rax, %rbx
movl $0x98, %esi
movq %r12, %rdi
callq 0x228b0
movq %rbx, %rdi
callq 0x23090