// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/type_descriptor.cpp
// Function: union_type::dump(std::ostream&)
void union_type::dump(ostream &strm){
    strm << "  * union " << name << " [size " << width
         << "][alignment " << alignment << "]" << endl
         << "    ---" << endl;
    map<string, symbol*>::iterator it;
    for (it = fields->table.begin(); it != fields->table.end(); ++it){
        strm << "    |   - " << types.types[(*it).second->getType()]->name
             << ' ' << (*it).first << endl;
    }
    if ( fields->table.begin() == fields->table.end() ){
        strm << "    |" << endl;
    }
    strm << "    ---" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x15c2f(%rip), %rsi     # 0x2f297
movl $0xa, %edx
movq %rbx, %rdi
callq 0x6370
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
movq %rbx, %rdi
callq 0x6370
movq %rax, %r15
leaq 0x15bce(%rip), %rsi     # 0x2f25d
movl $0x7, %edx
movq %rax, %rdi
callq 0x6370
movl 0x28(%r14), %esi
movq %r15, %rdi
callq 0x6540
movq %rax, %r15
leaq 0x15bb3(%rip), %rsi     # 0x2f265
movl $0xc, %edx
movq %rax, %rdi
callq 0x6370
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x6540
movq %rax, %r15
leaq 0x13968(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq %rax, %r15
leaq 0x15b6b(%rip), %rsi     # 0x2f27e
movl $0x7, %edx
movq %rax, %rdi
callq 0x6370
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x30(%r14), %rax
movq 0x30(%rax), %r15
addq $0x20, %rax
cmpq %rax, %r15
je 0x19810
leaq 0x25cad(%rip), %r12     # 0x3f410
leaq 0x7(%rsp), %r13
movl $0xa, %edx
movq %rbx, %rdi
leaq 0x15b0f(%rip), %rsi     # 0x2f286
callq 0x6370
movq 0x40(%r15), %rdi
callq 0x1801a
cltq
movq (%r12), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
callq 0x6370
movb $0x20, 0x7(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x6370
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
movq %rax, %rdi
callq 0x6370
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbp, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq %r15, %rdi
callq 0x6210
movq %rax, %r15
movq 0x30(%r14), %rax
leaq 0x20(%rax), %rcx
cmpq %rcx, %r15
jne 0x19768
cmpq %r15, 0x30(%rax)
jne 0x1984b
leaq 0x15a7a(%rip), %rsi     # 0x2f291
movl $0x5, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
leaq 0x15a2c(%rip), %rsi     # 0x2f27e
movl $0x7, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop