// File: /workspace/github_cpp_makefile_star2_O3/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, %r14
movq %rdi, %r15
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), %rbx
movq %rsp, %r12
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x2340
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2c84
movq %rbp, %rdi
movq %r13, %rsi
movl $0x8, %edx
callq 0x22e0
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x2220
movq %rbx, %rdi
leaq 0x14cb(%rip), %rsi      # 0x405a
callq 0x2070
testl %eax, %eax
je 0x2c63
movq %rbx, %rdi
leaq 0x14ae(%rip), %rsi      # 0x4054
callq 0x2070
testl %eax, %eax
jne 0x2ce9
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2220
movq %r12, %rdi
leaq 0x1486(%rip), %rsi      # 0x4063
callq 0x2070
testl %eax, %eax
jne 0x2cf0
movq %rbp, %rdi
leaq 0x84(%rsp), %rsi
callq 0x24d1
movq %r15, %rdi
leaq 0x60(%rsp), %rsi
callq 0x284d
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %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(%r14)
jmp 0x2c42
movq %r14, %rdi
leaq 0x60(%rsp), %rdx
callq 0x3e40
movq %rbp, %rdi
movq 0x336c(%rip), %rsi      # 0x5fb8
callq 0x2250
leaq 0x110(%rsp), %rdi
callq 0x2090
jmp 0x2b36
movq 0x334e(%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 0x2c9f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2cbb
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x2cd7
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 0x2cf5
callq 0x2260
jmp 0x2d02
jmp 0x2d02
jmp 0x2cfd
jmp 0x2d02
movq %rax, %rbx
jmp 0x2d26
movq %rax, %rbx
movq 0x32ac(%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 0x2d41
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2d5d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21b0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x2d79
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x2320