// File: /workspace/github_cpp_makefile_star2_O1/ticky[P]ps2iconsys/src/obj_to_ps2icon.cpp
// Function: ListOBJFile(OBJ_FileLoader const*)
void ListOBJFile(OBJ_FileLoader const* obj_file)
{
	std::cout << " * Parsing OBJ file \"" << obj_input_file << "\" contents...\n";
	std::cout << " **  Found " << obj_file->GetNMeshes() << " meshes: " << std::endl;
	for(int i=0; i<obj_file->GetNMeshes(); ++i) {
		OBJ_Mesh const* tmp = obj_file->GetMesh(i);
		std::cout << " **   #" << i << ": " << tmp->GetName() << " - " 
			<< tmp->GetNFaces() << " Triangles, " << tmp->GetNVertices() << " Vertices\n";
	}
	std::cout << " *  done." << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x5ea8(%rip), %r14      # 0xefd8
leaq 0x1aab(%rip), %rsi      # 0xabe2
movl $0x15, %edx
movq %r14, %rdi
callq 0x21f0
movq 0x6115(%rip), %r15      # 0xf260
testq %r15, %r15
je 0x916c
movq %r15, %rdi
callq 0x20c0
movq 0x5e79(%rip), %rdi      # 0xefd8
movq %r15, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x9184
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2310
movq 0x5e4d(%rip), %r14      # 0xefd8
leaq 0x1a66(%rip), %rsi      # 0xabf8
movl $0xe, %edx
movq %r14, %rdi
callq 0x21f0
leaq 0x1a61(%rip), %rsi      # 0xac07
movl $0xb, %edx
movq %r14, %rdi
callq 0x21f0
movq %rbx, %rdi
callq 0x2d3c
movq %r14, %rdi
movl %eax, %esi
callq 0x2330
movq %rax, %r14
leaq 0x1a44(%rip), %rsi      # 0xac13
movl $0x9, %edx
movq %rax, %rdi
callq 0x21f0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2120
movq %rbx, %rdi
callq 0x2d3c
testl %eax, %eax
jle 0x9316
xorl %ebp, %ebp
movq 0x5dbc(%rip), %r15      # 0xefd8
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2d48
movq %rax, %r14
movl $0x7, %edx
movq %r15, %rdi
leaq 0x19e5(%rip), %rsi      # 0xac1d
callq 0x21f0
movq %r15, %rdi
movl %ebp, %esi
callq 0x2330
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1986(%rip), %rsi      # 0xabdf
callq 0x21f0
movq %r14, %rdi
callq 0x3982
testq %rax, %rax
je 0x9286
movq %rax, %r13
movq %rax, %rdi
callq 0x20c0
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x92a1
movq (%r12), %rax
movq -0x18(%rax), %rax
movq %r12, %rdi
addq %rax, %rdi
movl 0x20(%r12,%rax), %esi
orl $0x1, %esi
callq 0x2310
movl $0x3, %edx
movq %r12, %rdi
leaq 0x1975(%rip), %rsi      # 0xac25
callq 0x21f0
movq %r14, %rdi
callq 0x3db2
movq %r12, %rdi
movl %eax, %esi
callq 0x2330
movq %rax, %r12
movl $0xc, %edx
movq %rax, %rdi
leaq 0x1950(%rip), %rsi      # 0xac29
callq 0x21f0
movq %r14, %rdi
callq 0x3996
movq %r12, %rdi
movl %eax, %esi
callq 0x2330
movl $0xa, %edx
movq %rax, %rdi
leaq 0x1937(%rip), %rsi      # 0xac36
callq 0x21f0
incl %ebp
movq %rbx, %rdi
callq 0x2d3c
cmpl %eax, %ebp
jl 0x921c
leaq 0x1924(%rip), %rsi      # 0xac41
movl $0x9, %edx
movq 0x5caf(%rip), %rbx      # 0xefd8
movq %rbx, %rdi
callq 0x21f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2120