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

  // Read mesh file
  R3Mesh *mesh = ReadMesh(input_mesh_name);
  if (!mesh) exit(-1);

  // Compute property set
  R3MeshPropertySet *properties = ComputeProperties(mesh);
  if (!properties) exit(-1);

  // Write properties file
  if (!WriteProperties(properties, output_properties_name)) exit(-1);

  // Write mesh
  if (output_mesh_name) {
    if (!WriteMesh(mesh, output_mesh_name)) exit(-1);
  }

  // Return success 
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0xfdc59(%rip), %r12     # 0x110d38
movq 0xfdc5a(%rip), %rax     # 0x110d40
movq %rax, (%rsp)
cmpl $0x2, %edi
jl 0x133bc
movq %rsi, %rbp
movl %edi, %r13d
leaq 0x8(%rbp), %r15
leal -0x1(%r13), %r14d
movq 0x8(%rbp), %rbx
cmpb $0x2d, (%rbx)
jne 0x132c2
cmpb $0x76, 0x1(%rbx)
jne 0x1311e
cmpb $0x0, 0x2(%rbx)
je 0x132f4
movq %rbx, %rdi
leaq 0xaf01d(%rip), %rsi     # 0xc2145
callq 0x107c0
testl %eax, %eax
je 0x13331
movq %rbx, %rdi
leaq 0xaf00d(%rip), %rsi     # 0xc214c
callq 0x107c0
testl %eax, %eax
je 0x132eb
movq %rbx, %rdi
leaq 0xaeffd(%rip), %rsi     # 0xc2153
callq 0x107c0
testl %eax, %eax
je 0x132fd
movq %rbx, %rdi
leaq 0xaeff2(%rip), %rsi     # 0xc215f
callq 0x107c0
testl %eax, %eax
je 0x13306
movq %rbx, %rdi
leaq 0xaefe6(%rip), %rsi     # 0xc216a
callq 0x107c0
testl %eax, %eax
je 0x1330f
movq %rbx, %rdi
leaq 0xaefd7(%rip), %rsi     # 0xc2172
callq 0x107c0
testl %eax, %eax
je 0x13318
movq %rbx, %rdi
leaq 0xaefca(%rip), %rsi     # 0xc217c
callq 0x107c0
testl %eax, %eax
je 0x1332a
movq %rbx, %rdi
leaq 0xaefbe(%rip), %rsi     # 0xc2187
callq 0x107c0
testl %eax, %eax
je 0x13321
movq %rbx, %rdi
leaq 0xaefb1(%rip), %rsi     # 0xc2191
callq 0x107c0
testl %eax, %eax
je 0x13321
movq %rbx, %rdi
leaq 0xaefaf(%rip), %rsi     # 0xc21a6
callq 0x107c0
testl %eax, %eax
je 0x13343
movq %rbx, %rdi
leaq 0xaefac(%rip), %rsi     # 0xc21ba
callq 0x107c0
testl %eax, %eax
je 0x1334c
movq %rbx, %rdi
leaq 0xaef9f(%rip), %rsi     # 0xc21c4
callq 0x107c0
testl %eax, %eax
je 0x13355
movq %rbx, %rdi
leaq 0xaef96(%rip), %rsi     # 0xc21d2
callq 0x107c0
testl %eax, %eax
je 0x1335e
movq %rbx, %rdi
leaq 0xaef8c(%rip), %rsi     # 0xc21df
callq 0x107c0
testl %eax, %eax
je 0x13373
movq %rbx, %rdi
leaq 0xaef7a(%rip), %rsi     # 0xc21e4
callq 0x107c0
testl %eax, %eax
je 0x13388
movq %rbx, %rdi
leaq 0xaef80(%rip), %rsi     # 0xc2201
callq 0x107c0
testl %eax, %eax
jne 0x135fb
movb $0x1, %al
movb %al, 0xfdabe(%rip)      # 0x110d54
movb %al, 0xfdabc(%rip)      # 0x110d58
movb %al, 0xfdaba(%rip)      # 0x110d5c
movb %al, 0xfdab8(%rip)      # 0x110d60
movb %al, 0xfdab6(%rip)      # 0x110d64
movb %al, 0xfdab8(%rip)      # 0x110d6c
movb %al, 0xfdab6(%rip)      # 0x110d70
movb %al, 0xfdab4(%rip)      # 0x110d74
jmp 0x13331
testq %r12, %r12
je 0x132df
cmpq $0x0, (%rsp)
jne 0x135fb
movq %rbx, 0xfda67(%rip)     # 0x110d40
movq %rbx, (%rsp)
jmp 0x13331
movq %rbx, 0xfda52(%rip)     # 0x110d38
movq %rbx, %r12
jmp 0x13331
movb $0x1, 0xfda62(%rip)     # 0x110d54
jmp 0x13331
movb $0x1, 0xfda55(%rip)     # 0x110d50
jmp 0x13331
movb $0x1, 0xfda54(%rip)     # 0x110d58
jmp 0x13331
movb $0x1, 0xfda4f(%rip)     # 0x110d5c
jmp 0x13331
movb $0x1, 0xfda4a(%rip)     # 0x110d60
jmp 0x13331
movb $0x1, 0xfda45(%rip)     # 0x110d64
jmp 0x13331
movb $0x1, 0xfda44(%rip)     # 0x110d6c
jmp 0x13331
movb $0x1, 0xfda37(%rip)     # 0x110d68
movq %r15, %rbp
movl %r14d, %r13d
cmpl $0x1, %r14d
jg 0x130f9
jmp 0x133bc
movb $0x1, 0xfda26(%rip)     # 0x110d70
jmp 0x13331
movb $0x1, 0xfda21(%rip)     # 0x110d74
jmp 0x13331
movb $0x1, 0xfda1c(%rip)     # 0x110d78
jmp 0x13331
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0xfd9d7(%rip)     # 0x110d48
jmp 0x133b1
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0xfd9fa(%rip)     # 0x110d80
jmp 0x133b1
movq 0x10(%rbp), %rax
movq %rax, 0xfd9f5(%rip)     # 0x110d88
movq 0x18(%rbp), %rax
movq %rax, 0xfd9f2(%rip)     # 0x110d90
addl $-0x4, %r13d
movq 0x20(%rbp), %rax
addq $0x20, %rbp
movq %rax, 0xfd9e7(%rip)     # 0x110d98
movl %r13d, %r14d
movq %rbp, %r15
jmp 0x13331
testq %r12, %r12
je 0x13616
cmpq $0x0, (%rsp)
je 0x13616
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x7cc2c
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10920
movl $0x138, %edi            # imm = 0x138
callq 0x10550
movq %rax, %r14
movq %rax, %rdi
callq 0x1f70c
movq (%r14), %rax
movq %r14, %rdi
movq %r12, %rsi
callq *0x180(%rax)
testl %eax, %eax
je 0x13626
cmpb $0x1, 0xfd936(%rip)     # 0x110d50
jne 0x1348a
leaq 0xaee4f(%rip), %rdi     # 0xc2272
movq %r12, %rsi
xorl %eax, %eax
callq 0x10080
leaq 0x8(%rsp), %rdi
callq 0x7cc8e
leaq 0xaee4b(%rip), %rdi     # 0xc2289
movb $0x1, %al
callq 0x10080
movl 0x34(%r14), %esi
leaq 0xaee50(%rip), %rdi     # 0xc22a0
xorl %eax, %eax
callq 0x10080
movl 0x24(%r14), %esi
leaq 0xaee4e(%rip), %rdi     # 0xc22b0
xorl %eax, %eax
callq 0x10080
movl 0x14(%r14), %esi
leaq 0xaee4c(%rip), %rdi     # 0xc22c0
xorl %eax, %eax
callq 0x10080
movq 0xfcade(%rip), %rax     # 0x10ff60
movq (%rax), %rdi
callq 0x10680
movq %r14, %rdi
callq 0x13665
testq %rax, %rax
je 0x13643
movq %rax, %rbx
movq 0xfd89b(%rip), %r15     # 0x110d40
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x7cc2c
movq %r12, %rdi
xorl %esi, %esi
callq 0x10920
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1b5d8
testl %eax, %eax
je 0x13632
cmpb $0x1, 0xfd87a(%rip)     # 0x110d50
jne 0x13535
leaq 0xaf1d5(%rip), %rdi     # 0xc26b4
movq %r15, %rsi
xorl %eax, %eax
callq 0x10080
leaq 0x8(%rsp), %rdi
callq 0x7cc8e
leaq 0xaed8f(%rip), %rdi     # 0xc2289
movb $0x1, %al
callq 0x10080
movl 0x14(%rbx), %esi
leaq 0xaede7(%rip), %rdi     # 0xc22f2
xorl %eax, %eax
callq 0x10080
movq (%rbx), %rax
movl 0x14(%rax), %esi
leaq 0xaeda1(%rip), %rdi     # 0xc22c0
xorl %eax, %eax
callq 0x10080
movq 0xfca33(%rip), %rax     # 0x10ff60
movq (%rax), %rdi
callq 0x10680
movq 0xfd80c(%rip), %rbx     # 0x110d48
testq %rbx, %rbx
je 0x135ea
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x7cc2c
movq %r15, %rdi
xorl %esi, %esi
callq 0x10920
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x1d0(%rax)
testl %eax, %eax
je 0x13643
cmpb $0x1, 0xfd7d6(%rip)     # 0x110d50
jne 0x135ea
leaq 0xaf14d(%rip), %rdi     # 0xc26d0
movq %rbx, %rsi
xorl %eax, %eax
callq 0x10080
leaq 0x8(%rsp), %rdi
callq 0x7cc8e
leaq 0xaeceb(%rip), %rdi     # 0xc2289
movb $0x1, %al
callq 0x10080
movl 0x34(%r14), %esi
leaq 0xaecf0(%rip), %rdi     # 0xc22a0
xorl %eax, %eax
callq 0x10080
movl 0x24(%r14), %esi
leaq 0xaecee(%rip), %rdi     # 0xc22b0
xorl %eax, %eax
callq 0x10080
movl 0x14(%r14), %esi
leaq 0xaecec(%rip), %rdi     # 0xc22c0
xorl %eax, %eax
callq 0x10080
movq 0xfc97e(%rip), %rax     # 0x10ff60
movq (%rax), %rdi
callq 0x10680
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xaec04(%rip), %rdi     # 0xc2206
movq %rbx, %rsi
xorl %eax, %eax
callq 0x7f38e
movl $0x1, %edi
callq 0x106b0
leaq 0xaec06(%rip), %rdi     # 0xc2223
xorl %eax, %eax
callq 0x7f38e
jmp 0x1360c
leaq 0xaec28(%rip), %rdi     # 0xc2255
movq %r12, %rsi
jmp 0x1363c
leaq 0xaf059(%rip), %rdi     # 0xc2692
movq %r15, %rsi
xorl %eax, %eax
callq 0x7f38e
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x106b0
movq %rax, %rbx
movl $0x138, %esi            # imm = 0x138
movq %r14, %rdi
callq 0x10560
movq %rbx, %rdi
callq 0x109e0