// File: /workspace/github_cpp_makefile_star2_O3/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 0x60b9(%rip), %r14      # 0xefd8
leaq 0x1cf7(%rip), %rsi      # 0xac1d
movl $0x15, %edx
movq %r14, %rdi
callq 0x21f0
movq 0x6326(%rip), %r15      # 0xf260
testq %r15, %r15
je 0x8f5b
movq %r15, %rdi
callq 0x20c0
movq 0x608a(%rip), %rdi      # 0xefd8
movq %r15, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x8f73
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2310
movq 0x605e(%rip), %r14      # 0xefd8
leaq 0x1cb2(%rip), %rsi      # 0xac33
movl $0xe, %edx
movq %r14, %rdi
callq 0x21f0
leaq 0x1cad(%rip), %rsi      # 0xac42
movl $0xb, %edx
movq %r14, %rdi
callq 0x21f0
movq %rbx, %rdi
callq 0x2dba
movq %r14, %rdi
movl %eax, %esi
callq 0x2330
movq %rax, %r14
leaq 0x1c90(%rip), %rsi      # 0xac4e
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 0x2dba
testl %eax, %eax
jle 0x9105
xorl %ebp, %ebp
movq 0x5fcd(%rip), %r15      # 0xefd8
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2dc6
movq %rax, %r14
movl $0x7, %edx
movq %r15, %rdi
leaq 0x1c31(%rip), %rsi      # 0xac58
callq 0x21f0
movq %r15, %rdi
movl %ebp, %esi
callq 0x2330
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1bd2(%rip), %rsi      # 0xac1a
callq 0x21f0
movq %r14, %rdi
callq 0x3a00
testq %rax, %rax
je 0x9075
movq %rax, %r13
movq %rax, %rdi
callq 0x20c0
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x21f0
jmp 0x9090
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 0x1bc1(%rip), %rsi      # 0xac60
callq 0x21f0
movq %r14, %rdi
callq 0x3e30
movq %r12, %rdi
movl %eax, %esi
callq 0x2330
movq %rax, %r12
movl $0xc, %edx
movq %rax, %rdi
leaq 0x1b9c(%rip), %rsi      # 0xac64
callq 0x21f0
movq %r14, %rdi
callq 0x3a14
movq %r12, %rdi
movl %eax, %esi
callq 0x2330
movl $0xa, %edx
movq %rax, %rdi
leaq 0x1b83(%rip), %rsi      # 0xac71
callq 0x21f0
incl %ebp
movq %rbx, %rdi
callq 0x2dba
cmpl %eax, %ebp
jl 0x900b
leaq 0x1b70(%rip), %rsi      # 0xac7c
movl $0x9, %edx
movq 0x5ec0(%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