// File: /workspace/github_cpp_makefile_star2_O3/neguse[P]no/lang.cc
// Function: Lang::ParseNode(Input&, int)
Node::Ref ParseNode(Input &input, int level = 0) {
    char c;
    for (;;) {
      c = input.Get();
      // skip space
      if (c == ' ' || c == '\t' || c == '\n') {
        continue;
      } else if (c == EOF) {
        return nullptr;
      }
      break;
    }

    assert(syntax_.find(c) != syntax_.end());

    auto syntax = syntax_[c];
    auto n = std::make_shared<Node>(Node{c});
    n->st = syntax.st;
    n->pos = input.pos();
    if (syntax.ht == HierarchicalType::Parent) {
      n->a = this->ParseNode(input, level + 1);
      n->d = this->ParseNode(input, level + 1);
    }
    return n;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movabsq $0x100000600, %r12      # imm = 0x100000600
movq %r14, %rdi
callq 0x4e4a
movzbl %al, %ecx
cmpb $0x20, %al
ja 0x4bfd
btq %rcx, %r12
jb 0x4be8
cmpl $0xff, %ecx
jne 0x4c10
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp 0x4dd4
movb %al, 0xf(%rsp)
movq 0x10(%r15), %rcx
testq %rcx, %rcx
je 0x4de9
leaq 0x8(%r15), %rsi
movq %rsi, %rdx
xorl %edi, %edi
cmpb %al, 0x20(%rcx)
setl %dil
cmovgeq %rcx, %rdx
movq 0x10(%rcx,%rdi,8), %rcx
testq %rcx, %rcx
jne 0x4c28
cmpq %rsi, %rdx
je 0x4de9
cmpb 0x20(%rdx), %al
jl 0x4de9
leaq 0xf(%rsp), %rsi
movq %r15, %rdi
callq 0x46ca
movq %rax, %r12
movq (%rax), %rax
leaq 0x58(%rsp), %rdi
movq %rax, -0x8(%rdi)
leaq 0x8(%r12), %rsi
callq 0x464a
leaq 0x70(%rsp), %rdi
addq $0x20, %r12
movq %r12, %rsi
callq 0x464a
movb 0xf(%rsp), %r13b
movb %r13b, 0x10(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rsp)
movups %xmm0, 0x28(%rsp)
movups %xmm0, 0x34(%rsp)
movq $0x0, (%rbx)
movl $0x48, %edi
callq 0x20f0
movq %rax, %r12
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r12)
leaq 0x5f3a(%rip), %rax      # 0xac08
movq %rax, (%r12)
movq %r12, %rax
addq $0x10, %rax
movb %r13b, 0x10(%r12)
xorl %ecx, %ecx
movq %rcx, 0x18(%r12)
movq %rcx, 0x20(%rsp)
movq %rcx, 0x20(%r12)
movq %rcx, 0x18(%rsp)
movq %rcx, 0x28(%r12)
movq %rcx, 0x30(%rsp)
movq %rcx, 0x30(%r12)
movq %rcx, 0x28(%rsp)
movq %r12, 0x8(%rbx)
movq %rax, (%rbx)
movq 0x8(%r14), %rax
movl 0x50(%rsp), %ecx
movl 0x54(%rsp), %edx
movl %edx, 0x40(%r12)
movq %rax, 0x38(%r12)
cmpl $0x1, %ecx
jne 0x4db6
incl %ebp
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x4bc2
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x20(%r12), %rdi
movups %xmm0, 0x18(%r12)
testq %rdi, %rdi
je 0x4d73
callq 0x4f24
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x4d73
callq 0x4f24
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x4bc2
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x30(%r12), %rdi
movups %xmm0, 0x28(%r12)
testq %rdi, %rdi
je 0x4db6
callq 0x4f24
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x4db6
callq 0x4f24
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x4dc5
callq 0x20e0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x4dd4
callq 0x20e0
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3309(%rip), %rdi      # 0x80f9
leaq 0x32db(%rip), %rsi      # 0x80d2
leaq 0x331c(%rip), %rcx      # 0x811a
movl $0x125, %edx            # imm = 0x125
callq 0x20a0
jmp 0x4e0a
movq %rax, %rbx
movq %r12, %rdi
callq 0x4f24
jmp 0x4e24
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x4e82
leaq 0x50(%rsp), %rdi
callq 0x4730
jmp 0x4e42
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x4e42
callq 0x20e0
movq %rbx, %rdi
callq 0x21b0