// File: /workspace/github_cpp_makefile_star2_O1/akitsu-sanae[P]adtpp/src/main.cpp
// Function: parse(std::istream&)
Adt parse(std::istream& input) {
    std::string buf;
    input >> buf;
    Adt result{buf};
    input >> buf;
    if (buf != "{")
        throw std::logic_error{"parse error: expected '{'"};
    while (true) {
        std::string label;
        std::string type;
        input >> label;
        if (label == "}")
            break;
        input >> buf;
        if (buf != "of")
            throw std::logic_error{"parse error: expected 'of'"};
        std::getline(input, type);
        trim(type);
        result.add(std::make_pair(label, type));
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x2200
leaq 0x10(%r15), %rax
movq %rax, (%r15)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x694e
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r15)
movq $0x0, 0x30(%r15)
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x2200
leaq 0x1333(%rip), %rsi      # 0x812b
leaq 0x10(%rsp), %rdi
callq 0x2080
testl %eax, %eax
jne 0x6fd5
movq %r15, 0x8(%rsp)
leaq 0x20(%r15), %rax
movq %rax, 0x70(%rsp)
xorl %ebp, %ebp
leaq 0x50(%rsp), %r12
leaq 0x30(%rsp), %rbx
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbp, 0x58(%rsp)
movb %bpl, 0x60(%rsp)
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rbp, 0x38(%rsp)
movb %bpl, 0x40(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x2200
movq %r12, %rdi
leaq 0x137a(%rip), %rsi      # 0x81db
callq 0x2080
movl %eax, %r15d
testl %eax, %eax
je 0x6f28
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
callq 0x2200
leaq 0x10(%rsp), %rdi
leaq 0x17c8(%rip), %rsi      # 0x8652
callq 0x2080
testl %eax, %eax
jne 0x6f9c
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x22d0
movq %rbx, %rdi
callq 0x6cf4
leaq 0x78(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x7a0e
movq 0x70(%rsp), %rdi
movq %r13, %rsi
callq 0x77aa
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x6f06
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x6f28
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6f44
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x6f60
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x21a0
testl %r15d, %r15d
jne 0x6e24
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6f85
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x20e0
movq %rax, %r14
leaq 0x16a5(%rip), %rsi      # 0x8655
movq %rax, %rdi
callq 0x2210
movq 0x4011(%rip), %rsi      # 0xafd0
movq 0x3ff2(%rip), %rdx      # 0xafb8
movq %r14, %rdi
movq 0x8(%rsp), %r15
callq 0x2280
jmp 0x7007
movl $0x10, %edi
callq 0x20e0
movq %rax, %r14
leaq 0x164f(%rip), %rsi      # 0x8638
movq %rax, %rdi
callq 0x2210
movq 0x3fd8(%rip), %rsi      # 0xafd0
movq 0x3fb9(%rip), %rdx      # 0xafb8
movq %r14, %rdi
callq 0x2280
movq %rax, %rbx
movq %r14, %rdi
callq 0x2130
jmp 0x7081
movq %rax, %rbx
jmp 0x7081
movq %rax, %rbx
jmp 0x7089
movq %rax, %rbx
jmp 0x7049
movq %rax, %rbx
movq %r14, %rdi
callq 0x2130
jmp 0x7044
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x774c
jmp 0x7044
jmp 0x7041
movq %rax, %rbx
movq 0x8(%rsp), %r15
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x7065
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x7081
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %r15, %rdi
callq 0x7782
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x70a5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22a0