// File: /workspace/github_cpp_makefile_star2_O1/dacunni[P]stlloader/./stlloader.h
// Function: stlloader::parse_ascii_solid(std::istream&, stlloader::Mesh&)
void parse_ascii_solid(std::istream & is, Mesh & mesh)
{
    std::string line, kind, param;

    while(std::getline(is, line)) {
        std::istringstream ss(line);
        ss >> kind;
        if(kind == "endsolid") {
            break;
        }
        else if(kind == "facet") {
            Facet facet = {};
            ss >> param;
            if(param != "normal")
                throw;
            ss >> facet.normal;
            parse_ascii_facet(is, facet);
            mesh.facets.push_back(facet);
        }
        else { throw; }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x50(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x30(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x10(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x40(%rsp), %r13
leaq 0x98(%rsp), %rbp
leaq 0x20(%rsp), %r15
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2340
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2c8a
movq %rbp, %rdi
movq %r13, %rsi
movl $0x8, %edx
callq 0x22e0
movq %rbp, %rdi
movq %r15, %rsi
callq 0x2220
movq %r15, %rdi
leaq 0x14ce(%rip), %rsi      # 0x405a
callq 0x2070
testl %eax, %eax
je 0x2c69
movl %eax, %r12d
movq %r15, %rdi
leaq 0x14ae(%rip), %rsi      # 0x4054
callq 0x2070
testl %eax, %eax
jne 0x2cef
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq %rbp, %rdi
movq %rsp, %rsi
callq 0x2220
movq %rsp, %rdi
leaq 0x1486(%rip), %rsi      # 0x4063
callq 0x2070
testl %eax, %eax
jne 0x2cf6
movq %rbp, %rdi
leaq 0x84(%rsp), %rsi
callq 0x24d1
movq %r14, %rdi
leaq 0x60(%rsp), %rsi
callq 0x284d
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2c35
movaps 0x60(%rsp), %xmm0
movaps 0x70(%rsp), %xmm1
movaps 0x80(%rsp), %xmm2
movups %xmm2, 0x20(%rsi)
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x30, 0x8(%rbx)
jmp 0x2c42
movq %rbx, %rdi
leaq 0x60(%rsp), %rdx
callq 0x3e5a
movq %rbp, %rdi
movq 0x336c(%rip), %rsi      # 0x5fb8
callq 0x2250
leaq 0x110(%rsp), %rdi
callq 0x2090
testl %r12d, %r12d
jne 0x2b33
jmp 0x2c8a
movq 0x3348(%rip), %rsi      # 0x5fb8
leaq 0x98(%rsp), %rdi
callq 0x2250
leaq 0x110(%rsp), %rdi
callq 0x2090
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2ca5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2cc1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x2cdd
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21b0
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2260
jmp 0x2cfb
callq 0x2260
jmp 0x2d08
jmp 0x2d08
jmp 0x2d08
jmp 0x2d03
movq %rax, %rbx
jmp 0x2d2c
movq %rax, %rbx
movq 0x32a6(%rip), %rsi      # 0x5fb8
leaq 0x98(%rsp), %rdi
callq 0x2250
leaq 0x110(%rsp), %rdi
callq 0x2090
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d47
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2d63
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x2d7f
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x2320