// File: /workspace/github_cpp_makefile_star2_O1/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 0x7c0a8
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe770
cmpl $0x2, %r12d
jl 0x11770
leaq 0x9d0e1(%rip), %rbx     # 0xae214
leaq 0x8(%r13), %r14
leal -0x1(%r12), %ebp
movq 0x8(%r13), %r15
cmpb $0x2d, (%r15)
jne 0x114b0
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe650
testl %eax, %eax
je 0x114d7
movq %r15, %rdi
leaq 0x9d0b9(%rip), %rsi     # 0xae220
callq 0xe650
testl %eax, %eax
je 0x114ff
movq %r15, %rdi
leaq 0x9d0ab(%rip), %rsi     # 0xae229
callq 0xe650
testl %eax, %eax
je 0x11521
movq %r15, %rdi
leaq 0x9d0a0(%rip), %rsi     # 0xae235
callq 0xe650
testl %eax, %eax
je 0x11552
movq %r15, %rdi
leaq 0x9d095(%rip), %rsi     # 0xae241
callq 0xe650
testl %eax, %eax
je 0x1156b
movq %r15, %rdi
leaq 0x9d08b(%rip), %rsi     # 0xae24e
callq 0xe650
testl %eax, %eax
je 0x11586
movq %r15, %rdi
leaq 0x9d08c(%rip), %rsi     # 0xae266
callq 0xe650
testl %eax, %eax
je 0x115a1
movq %r15, %rdi
leaq 0x9d08b(%rip), %rsi     # 0xae27c
callq 0xe650
testl %eax, %eax
je 0x115bf
movq %r15, %rdi
leaq 0x9d082(%rip), %rsi     # 0xae28a
callq 0xe650
testl %eax, %eax
je 0x115dd
movq %r15, %rdi
leaq 0x9d07f(%rip), %rsi     # 0xae29e
callq 0xe650
testl %eax, %eax
je 0x115fb
movq %r15, %rdi
leaq 0x9d077(%rip), %rsi     # 0xae2ad
callq 0xe650
testl %eax, %eax
je 0x11619
movq %r15, %rdi
leaq 0x9d07c(%rip), %rsi     # 0xae2c9
callq 0xe650
testl %eax, %eax
je 0x11637
movq %r15, %rdi
leaq 0x9d06f(%rip), %rsi     # 0xae2d3
callq 0xe650
testl %eax, %eax
je 0x1164f
movq %r15, %rdi
leaq 0x9d06a(%rip), %rsi     # 0xae2e5
callq 0xe650
testl %eax, %eax
je 0x1166b
movq %r15, %rdi
leaq 0x9d06a(%rip), %rsi     # 0xae2fc
callq 0xe650
testl %eax, %eax
je 0x1167a
movq %r15, %rdi
leaq 0x9d06c(%rip), %rsi     # 0xae315
callq 0xe650
testl %eax, %eax
je 0x11698
movq %r15, %rdi
leaq 0x9d06d(%rip), %rsi     # 0xae32d
callq 0xe650
testl %eax, %eax
je 0x11689
movq %r15, %rdi
leaq 0x9d064(%rip), %rsi     # 0xae33b
callq 0xe650
testl %eax, %eax
je 0x11689
movq %r15, %rdi
leaq 0x9d062(%rip), %rsi     # 0xae350
callq 0xe650
testl %eax, %eax
je 0x116a7
movq %r15, %rdi
leaq 0x9d05c(%rip), %rsi     # 0xae361
callq 0xe650
testl %eax, %eax
je 0x116b6
movq %r15, %rdi
leaq 0x9d060(%rip), %rsi     # 0xae37c
callq 0xe650
testl %eax, %eax
je 0x116c5
movq %r15, %rdi
leaq 0x9d059(%rip), %rsi     # 0xae38c
callq 0xe650
testl %eax, %eax
je 0x116d4
movq %r15, %rdi
leaq 0x9d064(%rip), %rsi     # 0xae3ae
callq 0xe650
testl %eax, %eax
je 0x116e3
movq %r15, %rdi
leaq 0x9d05e(%rip), %rsi     # 0xae3bf
callq 0xe650
testl %eax, %eax
je 0x116f2
movq %r15, %rdi
leaq 0x9d058(%rip), %rsi     # 0xae3d0
callq 0xe650
testl %eax, %eax
je 0x11701
movq %r15, %rdi
leaq 0x9d053(%rip), %rsi     # 0xae3e2
callq 0xe650
testl %eax, %eax
je 0x11710
movq %r15, %rdi
leaq 0x9d050(%rip), %rsi     # 0xae3f6
callq 0xe650
testl %eax, %eax
je 0x1171f
movq %r15, %rdi
leaq 0x9d04d(%rip), %rsi     # 0xae40a
callq 0xe650
testl %eax, %eax
je 0x1172e
movq %r15, %rdi
leaq 0x9d04b(%rip), %rsi     # 0xae41f
callq 0xe650
testl %eax, %eax
je 0x1173d
movq %r15, %rdi
leaq 0x9d045(%rip), %rsi     # 0xae430
callq 0xe650
testl %eax, %eax
je 0x1174c
movq %r15, %rdi
leaq 0x9d03a(%rip), %rsi     # 0xae43c
callq 0xe650
testl %eax, %eax
je 0x11758
movq %r15, %rdi
leaq 0x9d026(%rip), %rsi     # 0xae43f
callq 0xe650
testl %eax, %eax
je 0x11764
movq %r15, %rdi
leaq 0x9d016(%rip), %rsi     # 0xae446
callq 0xe650
testl %eax, %eax
jne 0x11a6c
movq 0x10(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe3802(%rip)    # 0xf4c50
movq 0x18(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe37f9(%rip)    # 0xf4c58
movq 0x20(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe37f0(%rip)    # 0xf4c60
movq 0x28(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe37e7(%rip)    # 0xf4c68
movq 0x30(%r13), %rdi
callq 0xe590
movsd %xmm0, 0xe37de(%rip)    # 0xf4c70
addl $-0x7, %r12d
movq 0x38(%r13), %rdi
addq $0x38, %r13
callq 0xe590
movsd %xmm0, 0xe37cd(%rip)    # 0xf4c78
jmp 0x11538
cmpq $0x0, 0xe37d0(%rip)     # 0xf4c88
je 0x114f6
cmpq $0x0, 0xe37d6(%rip)     # 0xf4c98
je 0x11518
leaq 0x9cf9f(%rip), %rdi     # 0xae46a
movq %r15, %rsi
xorl %eax, %eax
callq 0x7e99a
jmp 0x1153e
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2fa6(%rip)     # 0xf4494
movl %eax, 0xe2fa4(%rip)     # 0xf4498
jmp 0x11532
movq %r15, 0xe378b(%rip)     # 0xf4c88
jmp 0x1153e
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2f7e(%rip)     # 0xf4494
jmp 0x11538
movq %r15, 0xe3779(%rip)     # 0xf4c98
jmp 0x1153e
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2f64(%rip)     # 0xf449c
movl %r12d, %ebp
movq %r13, %r14
movq %r14, %r13
movl %ebp, %r12d
cmpl $0x1, %ebp
jg 0x11133
jmp 0x11770
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2f2f(%rip)     # 0xf4498
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f1c(%rip)    # 0xf44a0
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2f09(%rip)    # 0xf44a8
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2ef6(%rip)    # 0xf44b0
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2ee0(%rip)    # 0xf44b8
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe36aa(%rip)    # 0xf4ca0
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2eac(%rip)    # 0xf44c0
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe590
movsd %xmm0, 0xe2e96(%rip)    # 0xf44c8
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rax
addq $0x10, %r13
movq %rax, 0xe3646(%rip)     # 0xf4c90
jmp 0x11538
addl $-0x2, %r12d
movq 0x10(%r13), %rdi
addq $0x10, %r13
callq 0xe710
movl %eax, 0xe2e2a(%rip)     # 0xf4490
jmp 0x11538
movl $0x1, 0xe2e1b(%rip)     # 0xf4490
jmp 0x1153e
movl $0x3, 0xe2e0c(%rip)     # 0xf4490
jmp 0x1153e
movl $0x4, 0xe2dfd(%rip)     # 0xf4490
jmp 0x1153e
movl $0x5, 0xe2dee(%rip)     # 0xf4490
jmp 0x1153e
movl $0x0, 0xe2ddf(%rip)     # 0xf4490
jmp 0x1153e
movl $0x2, 0xe2dd0(%rip)     # 0xf4490
jmp 0x1153e
movl $0xd, 0xe2dc1(%rip)     # 0xf4490
jmp 0x1153e
movl $0xe, 0xe2db2(%rip)     # 0xf4490
jmp 0x1153e
movl $0xb, 0xe2da3(%rip)     # 0xf4490
jmp 0x1153e
movl $0xa, 0xe2d94(%rip)     # 0xf4490
jmp 0x1153e
movl $0xc, 0xe2d85(%rip)     # 0xf4490
jmp 0x1153e
movl $0x8, 0xe2d76(%rip)     # 0xf4490
jmp 0x1153e
movl $0x7, 0xe2d67(%rip)     # 0xf4490
jmp 0x1153e
movl $0x9, 0xe2d58(%rip)     # 0xf4490
jmp 0x1153e
movl $0x6, 0xe2d49(%rip)     # 0xf4490
jmp 0x1153e
movb $0x1, 0xe3555(%rip)     # 0xf4ca8
jmp 0x1153e
movb $0x1, 0xe3521(%rip)     # 0xf4c80
jmp 0x1153e
movb $0x1, 0xe3541(%rip)     # 0xf4cac
jmp 0x1153e
cmpq $0x0, 0xe3510(%rip)     # 0xf4c88
je 0x11a54
movq 0xe3513(%rip), %rdi     # 0xf4c98
testq %rdi, %rdi
je 0x11a54
leaq 0x9ca28(%rip), %rsi     # 0xae1bd
callq 0xe100
testq %rax, %rax
jne 0x117a6
movb $0x1, 0xe3502(%rip)     # 0xf4ca8
movq 0xe34db(%rip), %r14     # 0xf4c88
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x7c0a8
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe770
movl $0x138, %edi            # imm = 0x138
callq 0xe450
movq %rax, %rbx
movq %rax, %rdi
callq 0x27d24
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x180(%rax)
testl %eax, %eax
je 0x1185d
cmpb $0x1, 0xe348d(%rip)     # 0xf4c80
jne 0x11868
leaq 0x9ceca(%rip), %rdi     # 0xae6c6
callq 0xe700
leaq 0x8(%rsp), %rdi
callq 0x7c10a
leaq 0x9c9cf(%rip), %rdi     # 0xae1e1
movb $0x1, %al
callq 0xe070
movl 0x34(%rbx), %esi
leaq 0x9cc98(%rip), %rdi     # 0xae4bb
xorl %eax, %eax
callq 0xe070
movl 0x24(%rbx), %esi
leaq 0x9cc97(%rip), %rdi     # 0xae4cb
xorl %eax, %eax
callq 0xe070
movl 0x14(%rbx), %esi
leaq 0x9cc96(%rip), %rdi     # 0xae4db
xorl %eax, %eax
callq 0xe070
movq 0xe271d(%rip), %rax     # 0xf3f70
movq (%rax), %rdi
callq 0xe530
jmp 0x11868
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x11a62
movq 0xe3418(%rip), %r15     # 0xf4c90
testq %r15, %r15
je 0x119c2
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x7c0a8
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 0x1a1b0
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c91c
testl %eax, %eax
je 0x119c7
cmpb $0x1, 0xe33b2(%rip)     # 0xf4c80
jne 0x119df
leaq 0x9cc13(%rip), %rdi     # 0xae4ee
movq %r15, %rsi
xorl %eax, %eax
callq 0xe070
leaq 0x8(%rsp), %rdi
callq 0x7c10a
leaq 0x9c8eb(%rip), %rdi     # 0xae1e1
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1a93c
leaq 0x9cbfd(%rip), %rdi     # 0xae509
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1a9c2
leaq 0x9cbf7(%rip), %rdi     # 0xae519
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1ade8
leaq 0x9cbf1(%rip), %rdi     # 0xae529
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1a8ac
leaq 0x9cbea(%rip), %rdi     # 0xae538
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1ae22
leaq 0x9cbe1(%rip), %rdi     # 0xae545
movl %eax, %esi
xorl %eax, %eax
callq 0xe070
movq %r14, %rdi
callq 0x1ae6c
leaq 0x9cbda(%rip), %rdi     # 0xae556
movl %eax, %esi
xorl %eax, %eax
callq 0xe070
movq %r14, %rdi
callq 0x1af02
leaq 0x9cbd3(%rip), %rdi     # 0xae567
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x1af62
leaq 0x9cbcc(%rip), %rdi     # 0xae576
movb $0x1, %al
callq 0xe070
movq 0xe25b8(%rip), %rax     # 0xf3f70
movq (%rax), %rdi
callq 0xe530
jmp 0x119df
xorl %r14d, %r14d
jmp 0x119e4
movq %r14, %rdi
callq 0x1a36c
movl $0x448, %esi            # imm = 0x448
movq %r14, %rdi
callq 0xe460
xorl %r14d, %r14d
testq %r14, %r14
je 0x11a62
movl 0xe2aa6(%rip), %edx     # 0xf4490
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11aa4
testq %rax, %rax
je 0x11a62
movq 0xe3297(%rip), %rdx     # 0xf4c98
movq %rax, %rsi
callq 0x10b8c
testl %eax, %eax
je 0x11a62
cmpb $0x1, 0xe326c(%rip)     # 0xf4c80
jne 0x11a43
movq 0xe2553(%rip), %r14     # 0xf3f70
movq (%r14), %rbx
leaq 0x18(%rsp), %rdi
callq 0x7c10a
leaq 0x9c7c7(%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 0x9ca2c(%rip), %rdi     # 0xae487
xorl %eax, %eax
callq 0x7ea76
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0xe560
leaq 0x9c9d9(%rip), %rdi     # 0xae44c
movq %r15, %rsi
xorl %eax, %eax
callq 0x7ea76
jmp 0x11a62
movq %rax, %r15
movl $0x448, %esi            # imm = 0x448
movq %r14, %rdi
jmp 0x11a97
movq %rax, %r15
movl $0x138, %esi            # imm = 0x138
movq %rbx, %rdi
callq 0xe460
movq %r15, %rdi
callq 0xe7f0