// File: /workspace/github_cpp_makefile_star2_O1/akitsu-sanae[P]adtpp/src/main.cpp
// Function: main
int main(int argc, const char* argv[]) {
    if (argc == 1) {
        std::cout << parse(std::cin) << std::endl;
    } else if (argc == 2) {
        std::ifstream input{argv[1]};
        std::cout << parse(input) << std::endl;
    } else {
        std::cerr << format("Usage: {} [filename]", argv[0]) << std::endl;
        std::cerr<< "if filename is not given, read from stdin" << std::endl;
        return -1;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x308, %rsp            # imm = 0x308
movq %rsi, %r14
cmpl $0x2, %edi
je 0x715a
cmpl $0x1, %edi
jne 0x7206
movq 0x3f01(%rip), %rsi      # 0xafd8
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
callq 0x6d80
movq 0x3ed2(%rip), %rdi      # 0xafc0
movq %rbx, %rsi
callq 0x25f3
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x120(%rsp), %rbx
movq %rbx, %rdi
callq 0x7a72
movq -0x20(%rbx), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x71ff
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x71ff
movq 0x8(%r14), %rsi
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x22c0
leaq 0xc8(%rsp), %rdi
movq %rbx, %rsi
callq 0x6d80
movq 0x3e36(%rip), %rdi      # 0xafc0
leaq 0xc8(%rsp), %rsi
callq 0x25f3
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0xe8(%rsp), %rbx
movq %rbx, %rdi
callq 0x7a72
movq -0x20(%rbx), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x71f2
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x100(%rsp), %rdi
callq 0x2060
xorl %eax, %eax
jmp 0x75d7
leaq 0x98(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1456(%rip), %rsi      # 0x8670
leaq 0x1463(%rip), %rdx      # 0x8684
leaq 0x88(%rsp), %rdi
callq 0x69de
leaq 0x10dc(%rip), %rsi      # 0x8311
leaq 0x88(%rsp), %rdi
movl $0x2, %ecx
xorl %edx, %edx
callq 0x2290
cmpq $-0x1, %rax
je 0x75e6
movq %rax, %rbx
leaq 0x2(%rax), %rdx
leaq 0x88(%rsp), %rsi
movq 0x8(%rsi), %rcx
leaq 0xc8(%rsp), %rdi
callq 0x21c0
leaq 0x100(%rsp), %rdi
callq 0x2110
leaq 0x110(%rsp), %r15
movq (%r14), %r14
testq %r14, %r14
je 0x72a8
movq %r14, %rdi
callq 0x20d0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21e0
jmp 0x72c9
movq 0x110(%rsp), %rax
movq -0x18(%rax), %rax
addq %rax, %r15
movl 0x130(%rsp,%rax), %esi
orl $0x1, %esi
movq %r15, %rdi
callq 0x2270
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x21c0
leaq 0x118(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x2250
leaq 0xb8(%rsp), %rbx
movq -0x10(%rbx), %rcx
movq -0x8(%rbx), %r8
movq 0x70(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %rbx, %rcx
je 0x7320
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x733f
leaq 0x78(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x733a
movq 0x78(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x7353
movq 0x68(%rsp), %rsi
leaq 0xa8(%rsp), %rdi
callq 0x2090
jmp 0x7361
leaq 0x68(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x7385
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x738b
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x694e
leaq 0x18(%rsp), %r15
movq -0x10(%r15), %rcx
movq -0x8(%r15), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x73f3
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x740e
movl $0xf, %esi
cmpq %r14, 0x48(%rsp)
je 0x7409
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x741f
movq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x2090
jmp 0x742d
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x7451
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x7457
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x748b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x74a2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x74bd
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x74da
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x3abf(%rip), %rsi      # 0xafa0
leaq 0x100(%rsp), %rdi
callq 0x2140
leaq 0x180(%rsp), %rdi
callq 0x20a0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x751c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x3ac3(%rip), %rbx      # 0xaff0
movq %rbx, %rdi
callq 0x21e0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x757a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x7597
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x10e7(%rip), %rsi      # 0x8685
movl $0x29, %edx
movq %rbx, %rdi
callq 0x21e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x1, %edi
callq 0x20e0
leaq 0x3789(%rip), %rsi      # 0xad80
movq %rax, %rdi
xorl %edx, %edx
callq 0x2280
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x7620
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x7620
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7640
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x7640
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7660
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x7660
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7688
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x7688
jmp 0x7685
movq %rax, %rbx
movq 0x3911(%rip), %rsi      # 0xafa0
leaq 0x100(%rsp), %rdi
callq 0x2140
leaq 0x180(%rsp), %rdi
callq 0x20a0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x76f6
movq 0xd8(%rsp), %rsi
jmp 0x76ee
movq %rax, %rbx
jmp 0x76a9
movq %rax, %rbx
jmp 0x7744
movq %rax, %rbx
jmp 0x7725
movq %rax, %rbx
jmp 0x76f6
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x76f6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x7744
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x7744
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x7782
leaq 0x100(%rsp), %rdi
callq 0x2060
jmp 0x7744
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0x7782
movq %rbx, %rdi
callq 0x22a0