// File: /workspace/github_cpp_makefile_star2_O2/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, %rbp
movl %edi, %r13d
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x70de6
movq %rbx, %rdi
callq 0x14880
leaq 0x8d8ac(%rip), %rbx     # 0x9e214
cmpl $0x2, %r13d
jl 0x10faf
leaq 0x8(%rbp), %r12
leal -0x1(%r13), %r14d
movq (%r12), %r15
cmpb $0x2d, (%r15)
jne 0x10ce9
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe680
testl %eax, %eax
je 0x10d10
movq %r15, %rdi
leaq 0x8d87b(%rip), %rsi     # 0x9e220
callq 0xe680
testl %eax, %eax
je 0x10d41
movq %r15, %rdi
leaq 0x8d86d(%rip), %rsi     # 0x9e229
callq 0xe680
testl %eax, %eax
je 0x10d6f
movq %r15, %rdi
leaq 0x8d862(%rip), %rsi     # 0x9e235
callq 0xe680
testl %eax, %eax
je 0x10d8b
movq %r15, %rdi
leaq 0x8d857(%rip), %rsi     # 0x9e241
callq 0xe680
testl %eax, %eax
je 0x10da7
movq %r15, %rdi
leaq 0x8d84d(%rip), %rsi     # 0x9e24e
callq 0xe680
testl %eax, %eax
je 0x10dc5
movq %r15, %rdi
leaq 0x8d84e(%rip), %rsi     # 0x9e266
callq 0xe680
testl %eax, %eax
je 0x10de3
movq %r15, %rdi
leaq 0x8d84d(%rip), %rsi     # 0x9e27c
callq 0xe680
testl %eax, %eax
je 0x10e01
movq %r15, %rdi
leaq 0x8d844(%rip), %rsi     # 0x9e28a
callq 0xe680
testl %eax, %eax
je 0x10e1f
movq %r15, %rdi
leaq 0x8d841(%rip), %rsi     # 0x9e29e
callq 0xe680
testl %eax, %eax
je 0x10e3d
movq %r15, %rdi
leaq 0x8d839(%rip), %rsi     # 0x9e2ad
callq 0xe680
testl %eax, %eax
je 0x10e5b
movq %r15, %rdi
leaq 0x8d83e(%rip), %rsi     # 0x9e2c9
callq 0xe680
testl %eax, %eax
je 0x10e79
movq %r15, %rdi
leaq 0x8d831(%rip), %rsi     # 0x9e2d3
callq 0xe680
testl %eax, %eax
je 0x10e91
movq %r15, %rdi
leaq 0x8d82c(%rip), %rsi     # 0x9e2e5
callq 0xe680
testl %eax, %eax
je 0x10ead
movq %r15, %rdi
leaq 0x8d82c(%rip), %rsi     # 0x9e2fc
callq 0xe680
testl %eax, %eax
je 0x10ebc
movq %r15, %rdi
leaq 0x8d82e(%rip), %rsi     # 0x9e315
callq 0xe680
testl %eax, %eax
je 0x10eda
movq %r15, %rdi
leaq 0x8d82f(%rip), %rsi     # 0x9e32d
callq 0xe680
testl %eax, %eax
je 0x10ecb
movq %r15, %rdi
leaq 0x8d826(%rip), %rsi     # 0x9e33b
callq 0xe680
testl %eax, %eax
je 0x10ecb
movq %r15, %rdi
leaq 0x8d824(%rip), %rsi     # 0x9e350
callq 0xe680
testl %eax, %eax
je 0x10ee9
movq %r15, %rdi
leaq 0x8d81e(%rip), %rsi     # 0x9e361
callq 0xe680
testl %eax, %eax
je 0x10ef5
movq %r15, %rdi
leaq 0x8d822(%rip), %rsi     # 0x9e37c
callq 0xe680
testl %eax, %eax
je 0x10f04
movq %r15, %rdi
leaq 0x8d81b(%rip), %rsi     # 0x9e38c
callq 0xe680
testl %eax, %eax
je 0x10f13
movq %r15, %rdi
leaq 0x8d826(%rip), %rsi     # 0x9e3ae
callq 0xe680
testl %eax, %eax
je 0x10f22
movq %r15, %rdi
leaq 0x8d820(%rip), %rsi     # 0x9e3bf
callq 0xe680
testl %eax, %eax
je 0x10f31
movq %r15, %rdi
leaq 0x8d81a(%rip), %rsi     # 0x9e3d0
callq 0xe680
testl %eax, %eax
je 0x10f40
movq %r15, %rdi
leaq 0x8d815(%rip), %rsi     # 0x9e3e2
callq 0xe680
testl %eax, %eax
je 0x10f4f
movq %r15, %rdi
leaq 0x8d812(%rip), %rsi     # 0x9e3f6
callq 0xe680
testl %eax, %eax
je 0x10f5e
movq %r15, %rdi
leaq 0x8d80f(%rip), %rsi     # 0x9e40a
callq 0xe680
testl %eax, %eax
je 0x10f6d
movq %r15, %rdi
leaq 0x8d80d(%rip), %rsi     # 0x9e41f
callq 0xe680
testl %eax, %eax
je 0x10f7c
movq %r15, %rdi
leaq 0x8d807(%rip), %rsi     # 0x9e430
callq 0xe680
testl %eax, %eax
je 0x10f8b
cmpb $0x76, 0x1(%r15)
jne 0x10c48
cmpb $0x0, 0x2(%r15)
je 0x10fa3
movq %r15, %rdi
leaq 0x8d7ea(%rip), %rsi     # 0x9e43c
callq 0xe680
testl %eax, %eax
je 0x10f97
movq %r15, %rdi
leaq 0x8d7da(%rip), %rsi     # 0x9e443
callq 0xe680
testl %eax, %eax
jne 0x11295
movq 0x10(%rbp), %rdi
callq 0xe5b0
movsd %xmm0, 0xd7fe9(%rip)    # 0xe8c70
movq 0x18(%rbp), %rdi
callq 0xe5b0
movsd %xmm0, 0xd7fe0(%rip)    # 0xe8c78
movq 0x20(%rbp), %rdi
callq 0xe5b0
movsd %xmm0, 0xd7fd7(%rip)    # 0xe8c80
movq 0x28(%rbp), %rdi
callq 0xe5b0
movsd %xmm0, 0xd7fce(%rip)    # 0xe8c88
movq 0x30(%rbp), %rdi
callq 0xe5b0
movsd %xmm0, 0xd7fc5(%rip)    # 0xe8c90
addl $-0x7, %r13d
movq 0x38(%rbp), %rdi
addq $0x38, %rbp
callq 0xe5b0
movsd %xmm0, 0xd7fb4(%rip)    # 0xe8c98
jmp 0x10968
cmpq $0x0, 0xd7fb7(%rip)     # 0xe8ca8
je 0x10d38
cmpq $0x0, 0xd7fbd(%rip)     # 0xe8cb8
je 0x10d5d
leaq 0x8d763(%rip), %rdi     # 0x9e467
movq %r15, %rsi
xorl %eax, %eax
callq 0x73114
jmp 0x10d64
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe740
movl %eax, 0xd778d(%rip)     # 0xe84b4
movl %eax, 0xd778b(%rip)     # 0xe84b8
movl %eax, 0xd7789(%rip)     # 0xe84bc
jmp 0x10968
movq %r15, 0xd7f69(%rip)     # 0xe8ca8
jmp 0x10d64
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe740
movl %eax, 0xd775c(%rip)     # 0xe84b4
jmp 0x10968
movq %r15, 0xd7f54(%rip)     # 0xe8cb8
movl %r14d, %r13d
movq %r12, %rbp
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe740
movl %eax, 0xd7736(%rip)     # 0xe84bc
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe740
movl %eax, 0xd7716(%rip)     # 0xe84b8
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd7700(%rip)    # 0xe84c0
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd76ea(%rip)    # 0xe84c8
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd76d4(%rip)    # 0xe84d0
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd76be(%rip)    # 0xe84d8
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd7e88(%rip)    # 0xe8cc0
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd768a(%rip)    # 0xe84e0
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe5b0
movsd %xmm0, 0xd7674(%rip)    # 0xe84e8
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rax
addq $0x10, %rbp
movq %rax, 0xd7e24(%rip)     # 0xe8cb0
jmp 0x10968
addl $-0x2, %r13d
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
callq 0xe740
movl %eax, 0xd7608(%rip)     # 0xe84b0
jmp 0x10968
movl $0x1, 0xd75f9(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x3, 0xd75ea(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x4, 0xd75db(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x5, 0xd75cc(%rip)     # 0xe84b0
jmp 0x10d64
andl $0x0, 0xd75c0(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x2, 0xd75b1(%rip)     # 0xe84b0
jmp 0x10d64
movl $0xd, 0xd75a2(%rip)     # 0xe84b0
jmp 0x10d64
movl $0xe, 0xd7593(%rip)     # 0xe84b0
jmp 0x10d64
movl $0xb, 0xd7584(%rip)     # 0xe84b0
jmp 0x10d64
movl $0xa, 0xd7575(%rip)     # 0xe84b0
jmp 0x10d64
movl $0xc, 0xd7566(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x8, 0xd7557(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x7, 0xd7548(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x9, 0xd7539(%rip)     # 0xe84b0
jmp 0x10d64
movl $0x6, 0xd752a(%rip)     # 0xe84b0
jmp 0x10d64
movb $0x1, 0xd7d36(%rip)     # 0xe8cc8
jmp 0x10d64
movb $0x1, 0xd7d2e(%rip)     # 0xe8ccc
jmp 0x10d64
movb $0x1, 0xd7cf6(%rip)     # 0xe8ca0
jmp 0x10d64
movq 0xd7cf2(%rip), %r14     # 0xe8ca8
testq %r14, %r14
je 0x1125d
movq 0xd7cf2(%rip), %rdi     # 0xe8cb8
testq %rdi, %rdi
je 0x1125d
leaq 0x8d1e7(%rip), %rsi     # 0x9e1bd
callq 0xe100
testq %rax, %rax
jne 0x10fe7
movb $0x1, 0xd7ce1(%rip)     # 0xe8cc8
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x70de6
movq %rbx, %rdi
callq 0x14880
movl $0x138, %edi            # imm = 0x138
callq 0xe460
movq %rax, %rbx
movq %rax, %rdi
callq 0x24f50
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x180(%rax)
testl %eax, %eax
je 0x1126d
cmpb $0x1, 0xd7c71(%rip)     # 0xe8ca0
jne 0x11097
leaq 0x8d68b(%rip), %rdi     # 0x9e6c3
callq 0xe730
leaq 0x8(%rsp), %rdi
callq 0x70e20
leaq 0x8d193(%rip), %rdi     # 0x9e1e1
movb $0x1, %al
callq 0xe070
movl 0x34(%rbx), %esi
leaq 0x8d459(%rip), %rdi     # 0x9e4b8
xorl %eax, %eax
callq 0xe070
movl 0x24(%rbx), %esi
leaq 0x8d458(%rip), %rdi     # 0x9e4c8
xorl %eax, %eax
callq 0xe070
movl 0x14(%rbx), %esi
leaq 0x8d457(%rip), %rdi     # 0x9e4d8
xorl %eax, %eax
callq 0xe070
movq 0xd6ef1(%rip), %rax     # 0xe7f80
movq (%rax), %rdi
callq 0xe550
movq 0xd7c12(%rip), %r15     # 0xe8cb0
testq %r15, %r15
je 0x111e6
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x70de6
movq %r14, %rdi
callq 0x14880
movl $0x448, %edi            # imm = 0x448
callq 0xe460
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x190c0
movq %r14, %rdi
movq %r15, %rsi
callq 0x1b47a
testl %eax, %eax
je 0x11278
cmpb $0x1, 0xd7bae(%rip)     # 0xe8ca0
jne 0x111e9
leaq 0x8d3ec(%rip), %rdi     # 0x9e4eb
movq %r15, %rsi
xorl %eax, %eax
callq 0xe070
leaq 0x8(%rsp), %rdi
callq 0x70e20
leaq 0x8d0c7(%rip), %rdi     # 0x9e1e1
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x197c4
leaq 0x8d3d6(%rip), %rdi     # 0x9e506
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x19844
leaq 0x8d3d0(%rip), %rdi     # 0x9e516
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x19c38
leaq 0x8d3ca(%rip), %rdi     # 0x9e526
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x19736
leaq 0x8d3c3(%rip), %rdi     # 0x9e535
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x19c68
leaq 0x8d3ba(%rip), %rdi     # 0x9e542
movl %eax, %esi
xorl %eax, %eax
callq 0xe070
movq %r14, %rdi
callq 0x19c96
leaq 0x8d3b3(%rip), %rdi     # 0x9e553
movl %eax, %esi
xorl %eax, %eax
callq 0xe070
movq %r14, %rdi
callq 0x19d0e
leaq 0x8d3ac(%rip), %rdi     # 0x9e564
movb $0x1, %al
callq 0xe070
movq %r14, %rdi
callq 0x19d6c
leaq 0x8d3a5(%rip), %rdi     # 0x9e573
movb $0x1, %al
callq 0xe070
movq 0xd6da4(%rip), %rax     # 0xe7f80
movq (%rax), %rdi
callq 0xe550
jmp 0x111e9
xorl %r14d, %r14d
movl 0xd72c1(%rip), %edx     # 0xe84b0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x112cd
testq %rax, %rax
je 0x1128d
movq 0xd7aae(%rip), %rdx     # 0xe8cb8
movq %rax, %rsi
callq 0x1044c
testl %eax, %eax
je 0x1128d
cmpb $0x1, 0xd7a83(%rip)     # 0xe8ca0
jne 0x1124c
movq 0xd6d5a(%rip), %r14     # 0xe7f80
movq (%r14), %rbx
leaq 0x18(%rsp), %rdi
callq 0x70e20
leaq 0x8cfbe(%rip), %rsi     # 0x9e1f8
movq %rbx, %rdi
movb $0x1, %al
callq 0xe6b0
movq (%r14), %rdi
callq 0xe550
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8d220(%rip), %rdi     # 0x9e484
xorl %eax, %eax
callq 0x731ee
jmp 0x1128d
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
jmp 0x1128d
movq %r14, %rdi
callq 0x1925c
movl $0x448, %esi            # imm = 0x448
movq %r14, %rdi
callq 0xe470
pushq $-0x1
popq %rdi
callq 0xe580
leaq 0x8d1ad(%rip), %rdi     # 0x9e449
movq %r15, %rsi
xorl %eax, %eax
callq 0x731ee
jmp 0x1128d
movq %rax, %r15
movl $0x448, %esi            # imm = 0x448
movq %r14, %rdi
jmp 0x112c0
movq %rax, %r15
movl $0x138, %esi            # imm = 0x138
movq %rbx, %rdi
callq 0xe470
movq %r15, %rdi
callq 0xe820