// File: /workspace/github_cpp_makefile_star2_O1/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 0x14c83(%rip), %rsi     # 0x2e297
movl $0xa, %edx
movq %rbx, %rdi
callq 0x6360
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
movq %rbx, %rdi
callq 0x6360
movq %rax, %r15
leaq 0x14c22(%rip), %rsi     # 0x2e25d
movl $0x7, %edx
movq %rax, %rdi
callq 0x6360
movl 0x28(%r14), %esi
movq %r15, %rdi
callq 0x6530
movq %rax, %r15
leaq 0x14c07(%rip), %rsi     # 0x2e265
movl $0xc, %edx
movq %rax, %rdi
callq 0x6360
movl 0x2c(%r14), %esi
movq %r15, %rdi
callq 0x6530
movq %rax, %r15
leaq 0x129bc(%rip), %rsi     # 0x2c03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6360
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x62b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61f0
movq %rax, %r15
leaq 0x14bbf(%rip), %rsi     # 0x2e27e
movl $0x7, %edx
movq %rax, %rdi
callq 0x6360
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x62b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61f0
movq 0x30(%r14), %rax
movq 0x30(%rax), %r15
leaq 0x20(%rax), %rcx
cmpq %rcx, %r15
je 0x197b6
leaq 0x24cf9(%rip), %r12     # 0x3e408
leaq 0x7(%rsp), %r13
movl $0xa, %edx
movq %rbx, %rdi
leaq 0x14b63(%rip), %rsi     # 0x2e286
callq 0x6360
movq 0x40(%r15), %rdi
callq 0x17fde
cltq
movq (%r12), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
callq 0x6360
movb $0x20, 0x7(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x6360
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
movq %rax, %rdi
callq 0x6360
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x62b0
movsbl %al, %esi
movq %rbp, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61f0
movq %r15, %rdi
callq 0x6200
movq %rax, %r15
movq 0x30(%r14), %rax
leaq 0x20(%rax), %rcx
cmpq %rcx, %r15
jne 0x19714
cmpq %rcx, 0x30(%rax)
jne 0x197f7
leaq 0x14ace(%rip), %rsi     # 0x2e291
movl $0x5, %edx
movq %rbx, %rdi
callq 0x6360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61f0
leaq 0x14a80(%rip), %rsi     # 0x2e27e
movl $0x7, %edx
movq %rbx, %rdi
callq 0x6360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61f0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop