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

  // Open scene file
  R3SurfelScene *scene = OpenScene(input_scene_name, input_database_name);
  if (!scene) exit(-1);

  // Print info
  if (!PrintInfo(scene)) exit(-1);

  // Close scene file
  if (!CloseScene(scene)) exit(-1);;

  // Delete scene
  delete scene;
  
  // Return success 
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
cmpl $0x2, %edi
jg 0x15caf
leaq 0xcaea8(%rip), %rdi     # 0xe0b4d
callq 0x137c0
jmp 0x15fe7
movq %rsi, %r14
movq 0x8(%rsi), %rax
movq %rax, 0x121fcb(%rip)    # 0x137c88
movq 0x10(%rsi), %rax
movq %rax, 0x121fc8(%rip)    # 0x137c90
cmpl $0x3, %ebx
je 0x15fe7
addq $0x18, %r14
leal -0x3(%rbx), %r12d
leaq 0xca350(%rip), %r15     # 0xe0030
movb $0x1, %r13b
movq (%r14), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x13720
testl %eax, %eax
je 0x15ee8
movq %rbp, %rdi
leaq 0xca330(%rip), %rsi     # 0xe0033
callq 0x13720
testl %eax, %eax
je 0x15efb
movq %rbp, %rdi
leaq 0xca323(%rip), %rsi     # 0xe003d
callq 0x13720
testl %eax, %eax
je 0x15f07
movq %rbp, %rdi
leaq 0xca316(%rip), %rsi     # 0xe0047
callq 0x13720
testl %eax, %eax
je 0x15f13
movq %rbp, %rdi
leaq 0xca308(%rip), %rsi     # 0xe0050
callq 0x13720
testl %eax, %eax
je 0x15f1f
movq %rbp, %rdi
leaq 0xca2f9(%rip), %rsi     # 0xe0058
callq 0x13720
testl %eax, %eax
je 0x15f2b
movq %rbp, %rdi
leaq 0xca2ee(%rip), %rsi     # 0xe0064
callq 0x13720
testl %eax, %eax
je 0x15f37
movq %rbp, %rdi
leaq 0xca2e3(%rip), %rsi     # 0xe0070
callq 0x13720
testl %eax, %eax
je 0x15f4a
movq %rbp, %rdi
leaq 0xca2df(%rip), %rsi     # 0xe0083
callq 0x13720
testl %eax, %eax
je 0x15f53
movq %rbp, %rdi
leaq 0xca2da(%rip), %rsi     # 0xe0095
callq 0x13720
testl %eax, %eax
je 0x15f5c
movq %rbp, %rdi
leaq 0xca2d9(%rip), %rsi     # 0xe00ab
callq 0x13720
testl %eax, %eax
je 0x15f65
movq %rbp, %rdi
leaq 0xca2d7(%rip), %rsi     # 0xe00c0
callq 0x13720
testl %eax, %eax
je 0x15f6e
movq %rbp, %rdi
leaq 0xca2cd(%rip), %rsi     # 0xe00cd
callq 0x13720
testl %eax, %eax
je 0x15f77
movq %rbp, %rdi
leaq 0xca2c9(%rip), %rsi     # 0xe00e0
callq 0x13720
testl %eax, %eax
je 0x15f80
movq %rbp, %rdi
leaq 0xca2b8(%rip), %rsi     # 0xe00e6
callq 0x13720
testl %eax, %eax
je 0x15f89
movq %rbp, %rdi
leaq 0xca2a8(%rip), %rsi     # 0xe00ed
callq 0x13720
testl %eax, %eax
je 0x15f92
movq %rbp, %rdi
leaq 0xca29b(%rip), %rsi     # 0xe00f7
callq 0x13720
testl %eax, %eax
je 0x15f9b
movq %rbp, %rdi
leaq 0xca28c(%rip), %rsi     # 0xe00ff
callq 0x13720
testl %eax, %eax
je 0x15fa4
movq %rbp, %rdi
leaq 0xca27e(%rip), %rsi     # 0xe0108
callq 0x13720
testl %eax, %eax
je 0x15fad
movq %rbp, %rdi
leaq 0xca26e(%rip), %rsi     # 0xe010f
callq 0x13720
testl %eax, %eax
je 0x15fb6
movq %rbp, %rdi
leaq 0xca25f(%rip), %rsi     # 0xe0117
callq 0x13720
testl %eax, %eax
je 0x15fbf
movq %rbp, %rdi
leaq 0xca24f(%rip), %rsi     # 0xe011e
callq 0x13720
testl %eax, %eax
jne 0x16083
decl %r12d
addq $0x8, %r14
jmp 0x15fd1
movb %r13b, 0x121da9(%rip)   # 0x137c98
movb %r13b, 0x121da6(%rip)   # 0x137c9c
jmp 0x15fd1
movb $0x1, 0x121d9e(%rip)    # 0x137ca0
jmp 0x15fd1
movb $0x1, 0x121d96(%rip)    # 0x137ca4
jmp 0x15fd1
movb $0x1, 0x121d82(%rip)    # 0x137c9c
jmp 0x15fd1
movb $0x1, 0x121d72(%rip)    # 0x137c98
jmp 0x15fd1
movb $0x1, 0x121d76(%rip)    # 0x137ca8
jmp 0x15fd1
movb %r13b, 0x121d6e(%rip)   # 0x137cac
movb %r13b, 0x121d6b(%rip)   # 0x137cb0
jmp 0x15fd1
movb $0x1, 0x121d5f(%rip)    # 0x137cb0
jmp 0x15fd1
movb $0x1, 0x121d52(%rip)    # 0x137cac
jmp 0x15fd1
movb $0x1, 0x121d51(%rip)    # 0x137cb4
jmp 0x15fd1
movb $0x1, 0x121d4c(%rip)    # 0x137cb8
jmp 0x15fd1
movb $0x1, 0x121d47(%rip)    # 0x137cbc
jmp 0x15fd1
movb $0x1, 0x121d42(%rip)    # 0x137cc0
jmp 0x15fd1
movb $0x1, 0x121d3d(%rip)    # 0x137cc4
jmp 0x15fd1
movb $0x1, 0x121d38(%rip)    # 0x137cc8
jmp 0x15fd1
movb $0x1, 0x121d33(%rip)    # 0x137ccc
jmp 0x15fd1
movb $0x1, 0x121d2e(%rip)    # 0x137cd0
jmp 0x15fd1
movb $0x1, 0x121d29(%rip)    # 0x137cd4
jmp 0x15fd1
movb $0x1, 0x121d24(%rip)    # 0x137cd8
jmp 0x15fd1
movb $0x1, 0x121d1f(%rip)    # 0x137cdc
jmp 0x15fd1
decl %r12d
movq 0x8(%r14), %rax
addq $0x8, %r14
movq %rax, 0x121d0f(%rip)    # 0x137ce0
addq $0x8, %r14
leal -0x1(%r12), %eax
cmpl $0x1, %r12d
movl %eax, %r12d
jg 0x15ce3
cmpl $0x2, %ebx
jle 0x16079
movq 0x121c91(%rip), %r14    # 0x137c88
movq 0x121c92(%rip), %r15    # 0x137c90
movl $0x1f0, %edi            # imm = 0x1F0
callq 0x134e0
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
callq 0x26218
movq (%rbx), %rax
leaq 0xd6354(%rip), %rcx     # 0xec373
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rcx, %r8
callq *0xe8(%rax)
testl %eax, %eax
jne 0x16040
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x16079
movq %rbx, %rdi
callq 0x160b6
movq (%rbx), %rax
movq %rbx, %rdi
xorl %esi, %esi
callq *0xf8(%rax)
testl %eax, %eax
je 0x16079
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x135f0
leaq 0xca09e(%rip), %rdi     # 0xe0128
movq %rbp, %rsi
xorl %eax, %eax
callq 0xb0142
movl $0x1, %edi
callq 0x135f0
movq %rax, %r14
movl $0x1f0, %esi            # imm = 0x1F0
movq %rbx, %rdi
callq 0x134f0
movq %r14, %rdi
callq 0x138b0