// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/apps/msh2pts/msh2pts.cpp
// Function: main
int
main(int argc, char **argv)
{
  // Start statistics
  RNTime start_time;
  start_time.Read();

  // Parse args
  if(!ParseArgs(argc, argv)) exit(-1);

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

  // Read property 
  R3MeshProperty *property = NULL;
  if (property_name) {
    property = ReadProperty(mesh, property_name);
    if (!property) exit(-1);
  }

  // Select points
  RNArray<Point *> *points = SelectPoints(mesh, property, selection_method);
  if (!points) exit(-1);

  // Write points
  if (!WritePoints(mesh, *points, points_name)) exit(-1);

  // Print message
  if (print_verbose) {
    fprintf(stdout, "Finished in %6.3f seconds.\n", start_time.Elapsed());
    fflush(stdout);
  }

  // Return success
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r13
movl %edi, %r12d
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x7b0ec
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe770
cmpl $0x2, %r12d
jl 0x11719
leaq 0x9d133(%rip), %rbx     # 0xae214
leaq 0x8(%r13), %r14
leal -0x1(%r12), %ebp
movq 0x8(%r13), %r15
cmpb $0x2d, (%r15)
jne 0x11459
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe650
testl %eax, %eax
je 0x11480
movq %r15, %rdi
leaq 0x9d10b(%rip), %rsi     # 0xae220
callq 0xe650
testl %eax, %eax
je 0x114a8
movq %r15, %rdi
leaq 0x9d0fd(%rip), %rsi     # 0xae229
callq 0xe650
testl %eax, %eax
je 0x114ca
movq %r15, %rdi
leaq 0x9d0f2(%rip), %rsi     # 0xae235
callq 0xe650
testl %eax, %eax
je 0x114fb
movq %r15, %rdi
leaq 0x9d0e7(%rip), %rsi     # 0xae241
callq 0xe650
testl %eax, %eax
je 0x11514
movq %r15, %rdi
leaq 0x9d0dd(%rip), %rsi     # 0xae24e
callq 0xe650
testl %eax, %eax
je 0x1152f
movq %r15, %rdi
leaq 0x9d0de(%rip), %rsi     # 0xae266
callq 0xe650
testl %eax, %eax
je 0x1154a
movq %r15, %rdi
leaq 0x9d0dd(%rip), %rsi     # 0xae27c
callq 0xe650
testl %eax, %eax
je 0x11568
movq %r15, %rdi
leaq 0x9d0d4(%rip), %rsi     # 0xae28a
callq 0xe650
testl %eax, %eax
je 0x11586
movq %r15, %rdi
leaq 0x9d0d1(%rip), %rsi     # 0xae29e
callq 0xe650
testl %eax, %eax
je 0x115a4
movq %r15, %rdi
leaq 0x9d0c9(%rip), %rsi     # 0xae2ad
callq 0xe650
testl %eax, %eax
je 0x115c2
movq %r15, %rdi
leaq 0x9d0ce(%rip), %rsi     # 0xae2c9
callq 0xe650
testl %eax, %eax
je 0x115e0
movq %r15, %rdi
leaq 0x9d0c1(%rip), %rsi     # 0xae2d3
callq 0xe650
testl %eax, %eax
je 0x115f8
movq %r15, %rdi
leaq 0x9d0bc(%rip), %rsi     # 0xae2e5
callq 0xe650
testl %eax, %eax
je 0x11614
movq %r15, %rdi
leaq 0x9d0bc(%rip), %rsi     # 0xae2fc
callq 0xe650
testl %eax, %eax
je 0x11623
movq %r15, %rdi
leaq 0x9d0be(%rip), %rsi     # 0xae315
callq 0xe650
testl %eax, %eax
je 0x11641
movq %r15, %rdi
leaq 0x9d0bf(%rip), %rsi     # 0xae32d
callq 0xe650
testl %eax, %eax
je 0x11632
movq %r15, %rdi
leaq 0x9d0b6(%rip), %rsi     # 0xae33b
callq 0xe650
testl %eax, %eax
je 0x11632
movq %r15, %rdi
leaq 0x9d0b4(%rip), %rsi     # 0xae350
callq 0xe650
testl %eax, %eax
je 0x11650
movq %r15, %rdi
leaq 0x9d0ae(%rip), %rsi     # 0xae361
callq 0xe650
testl %eax, %eax
je 0x1165f
movq %r15, %rdi
leaq 0x9d0b2(%rip), %rsi     # 0xae37c
callq 0xe650
testl %eax, %eax
je 0x1166e
movq %r15, %rdi
leaq 0x9d0ab(%rip), %rsi     # 0xae38c
callq 0xe650
testl %eax, %eax
je 0x1167d
movq %r15, %rdi
leaq 0x9d0b6(%rip), %rsi     # 0xae3ae
callq 0xe650
testl %eax, %eax
je 0x1168c
movq %r15, %rdi
leaq 0x9d0b0(%rip), %rsi     # 0xae3bf
callq 0xe650
testl %eax, %eax
je 0x1169b
movq %r15, %rdi
leaq 0x9d0aa(%rip), %rsi     # 0xae3d0
callq 0xe650
testl %eax, %eax
je 0x116aa
movq %r15, %rdi
leaq 0x9d0a5(%rip), %rsi     # 0xae3e2
callq 0xe650
testl %eax, %eax
je 0x116b9
movq %r15, %rdi
leaq 0x9d0a2(%rip), %rsi     # 0xae3f6
callq 0xe650
testl %eax, %eax
je 0x116c8
movq %r15, %rdi
leaq 0x9d09f(%rip), %rsi     # 0xae40a
callq 0xe650
testl %eax, %eax
je 0x116d7
movq %r15, %rdi
leaq 0x9d09d(%rip), %rsi     # 0xae41f
callq 0xe650
testl %eax, %eax
je 0x116e6
movq %r15, %rdi
leaq 0x9d097(%rip), %rsi     # 0xae430
callq 0xe650
testl %eax, %eax
je 0x116f5
cmpb $0x76, 0x1(%r15)
jne 0x113b8
cmpb $0x0, 0x2(%r15)
je 0x1170d
movq %r15, %rdi
leaq 0x9d07a(%rip), %rsi     # 0xae43c
callq 0xe650
testl %eax, %eax
je 0x11701
movq %r15, %rdi
leaq 0x9d06a(%rip), %rsi     # 0xae443
callq 0xe650
testl %eax, %eax
jne 0x11a05
movq 0x10(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe3859(%rip)    # 0xf4c50
movq 0x18(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe3850(%rip)    # 0xf4c58
movq 0x20(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe3847(%rip)    # 0xf4c60
movq 0x28(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe383e(%rip)    # 0xf4c68
movq 0x30(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe3835(%rip)    # 0xf4c70
addl $-0x7, %r12d
movq 0x38(%r13), %rdi
addq $0x38, %r13
callq 0xe590
movsd %xmm0, 0xe3824(%rip)    # 0xf4c78
jmp 0x114e1
cmpq $0x0, 0xe3827(%rip)     # 0xf4c88
je 0x1149f
cmpq $0x0, 0xe382d(%rip)     # 0xf4c98
je 0x114c1
leaq 0x9cff3(%rip), %rdi     # 0xae467
movq %r15, %rsi
xorl %eax, %eax
callq 0x7d772
jmp 0x114e7
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2ffd(%rip)     # 0xf4494
movl %eax, 0xe2ffb(%rip)     # 0xf4498
jmp 0x114db
movq %r15, 0xe37e2(%rip)     # 0xf4c88
jmp 0x114e7
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2fd5(%rip)     # 0xf4494
jmp 0x114e1
movq %r15, 0xe37d0(%rip)     # 0xf4c98
jmp 0x114e7
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2fbb(%rip)     # 0xf449c
movl %r12d, %ebp
movq %r13, %r14
movq %r14, %r13
movl %ebp, %r12d
cmpl $0x1, %ebp
jg 0x110e1
jmp 0x11719
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2f86(%rip)     # 0xf4498
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f73(%rip)    # 0xf44a0
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f60(%rip)    # 0xf44a8
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f4d(%rip)    # 0xf44b0
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f37(%rip)    # 0xf44b8
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe3701(%rip)    # 0xf4ca0
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f03(%rip)    # 0xf44c0
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2eed(%rip)    # 0xf44c8
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rax
addq $0x10, %r13
movq %rax, 0xe369d(%rip)     # 0xf4c90
jmp 0x114e1
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2e81(%rip)     # 0xf4490
jmp 0x114e1
movl $0x1, 0xe2e72(%rip)     # 0xf4490
jmp 0x114e7
movl $0x3, 0xe2e63(%rip)     # 0xf4490
jmp 0x114e7
movl $0x4, 0xe2e54(%rip)     # 0xf4490
jmp 0x114e7
movl $0x5, 0xe2e45(%rip)     # 0xf4490
jmp 0x114e7
movl $0x0, 0xe2e36(%rip)     # 0xf4490
jmp 0x114e7
movl $0x2, 0xe2e27(%rip)     # 0xf4490
jmp 0x114e7
movl $0xd, 0xe2e18(%rip)     # 0xf4490
jmp 0x114e7
movl $0xe, 0xe2e09(%rip)     # 0xf4490
jmp 0x114e7
movl $0xb, 0xe2dfa(%rip)     # 0xf4490
jmp 0x114e7
movl $0xa, 0xe2deb(%rip)     # 0xf4490
jmp 0x114e7
movl $0xc, 0xe2ddc(%rip)     # 0xf4490
jmp 0x114e7
movl $0x8, 0xe2dcd(%rip)     # 0xf4490
jmp 0x114e7
movl $0x7, 0xe2dbe(%rip)     # 0xf4490
jmp 0x114e7
movl $0x9, 0xe2daf(%rip)     # 0xf4490
jmp 0x114e7
movl $0x6, 0xe2da0(%rip)     # 0xf4490
jmp 0x114e7
movb $0x1, 0xe35ac(%rip)     # 0xf4ca8
jmp 0x114e7
movb $0x1, 0xe35a4(%rip)     # 0xf4cac
jmp 0x114e7
movb $0x1, 0xe356c(%rip)     # 0xf4c80
jmp 0x114e7
movq 0xe3568(%rip), %r14     # 0xf4c88
testq %r14, %r14
je 0x119cb
movq 0xe3568(%rip), %rdi     # 0xf4c98
testq %rdi, %rdi
je 0x119cb
leaq 0x9ca7d(%rip), %rsi     # 0xae1bd
callq 0xe100
testq %rax, %rax
jne 0x11751
movb $0x1, 0xe3557(%rip)     # 0xf4ca8
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x7b0ec
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe770
movl $0x138, %edi            # imm = 0x138
callq 0xe450
movq %rax, %rbx
movq %rax, %rdi
callq 0x27548
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x180(%rax)
testl %eax, %eax
je 0x119db
cmpb $0x1, 0xe34e5(%rip)     # 0xf4c80
jne 0x11803
leaq 0x9cf1f(%rip), %rdi     # 0xae6c3
callq 0xe700
leaq 0x8(%rsp), %rdi
callq 0x7b14e
leaq 0x9ca27(%rip), %rdi     # 0xae1e1
movb $0x1, %al
callq 0xe070
movl 0x34(%rbx), %esi
leaq 0x9cced(%rip), %rdi     # 0xae4b8
xorl %eax, %eax
callq 0xe070
movl 0x24(%rbx), %esi
leaq 0x9ccec(%rip), %rdi     # 0xae4c8
xorl %eax, %eax
callq 0xe070
movl 0x14(%rbx), %esi
leaq 0x9cceb(%rip), %rdi     # 0xae4d8
xorl %eax, %eax
callq 0xe070
movq 0xe2775(%rip), %rax     # 0xf3f70
movq (%rax), %rdi
callq 0xe530
movq 0xe3486(%rip), %r15     # 0xf4c90
testq %r15, %r15
je 0x11954
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x7b0ec
movq %r14, %rdi
xorl %esi, %esi
callq 0xe770
movl $0x448, %edi            # imm = 0x448
callq 0xe450
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x19fa0
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c6e2
testl %eax, %eax
je 0x119e6
cmpb $0x1, 0xe3420(%rip)     # 0xf4c80
jne 0x11957
leaq 0x9cc7e(%rip), %rdi     # 0xae4eb
movq %r15, %rsi
xorl %eax, %eax
callq 0xe070
leaq 0x8(%rsp), %rdi
callq 0x7b14e
leaq 0x9c959(%rip), %rdi     # 0xae1e1
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1a744
leaq 0x9cc68(%rip), %rdi     # 0xae506
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1a7c6
leaq 0x9cc62(%rip), %rdi     # 0xae516
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1abec
leaq 0x9cc5c(%rip), %rdi     # 0xae526
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1a6b6
leaq 0x9cc55(%rip), %rdi     # 0xae535
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1ac1c
leaq 0x9cc4c(%rip), %rdi     # 0xae542
movl %eax, %esi
xorl %eax, %eax
callq 0xe070
movq %r14, %rdi
callq 0x1ac66
leaq 0x9cc45(%rip), %rdi     # 0xae553
movl %eax, %esi
xorl %eax, %eax
callq 0xe070
movq %r14, %rdi
callq 0x1acfc
leaq 0x9cc3e(%rip), %rdi     # 0xae564
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1ad5c
leaq 0x9cc37(%rip), %rdi     # 0xae573
movb $0x1, %al
callq 0xe070
movq 0xe2626(%rip), %rax     # 0xf3f70
movq (%rax), %rdi
callq 0xe530
jmp 0x11957
xorl %r14d, %r14d
movl 0xe2b33(%rip), %edx     # 0xf4490
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11a3d
testq %rax, %rax
je 0x119fb
movq 0xe3320(%rip), %rdx     # 0xf4c98
movq %rax, %rsi
callq 0x10b6c
testl %eax, %eax
je 0x119fb
cmpb $0x1, 0xe32f5(%rip)     # 0xf4c80
jne 0x119ba
movq 0xe25dc(%rip), %r14     # 0xf3f70
movq (%r14), %rbx
leaq 0x18(%rsp), %rdi
callq 0x7b14e
leaq 0x9c850(%rip), %rsi     # 0xae1f8
movq %rbx, %rdi
movb $0x1, %al
callq 0xe680
movq (%r14), %rdi
callq 0xe530
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9cab2(%rip), %rdi     # 0xae484
xorl %eax, %eax
callq 0x7d84e
jmp 0x119fb
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
jmp 0x119fb
movq %r14, %rdi
callq 0x1a158
movl $0x448, %esi            # imm = 0x448
movq %r14, %rdi
callq 0xe460
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0xe560
leaq 0x9ca3d(%rip), %rdi     # 0xae449
movq %r15, %rsi
xorl %eax, %eax
callq 0x7d84e
jmp 0x119fb
movq %rax, %r15
movl $0x448, %esi            # imm = 0x448
movq %r14, %rdi
jmp 0x11a30
movq %rax, %r15
movl $0x138, %esi            # imm = 0x138
movq %rbx, %rdi
callq 0xe460
movq %r15, %rdi
callq 0xe7f0