// File: /workspace/github_cpp_makefile_star2_O1/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 %r12
pushq %rbx
subq $0x80, %rsp
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movabsq $0x100000600, %r12      # imm = 0x100000600
movq %r14, %rdi
callq 0x52c4
movb %al, 0xf(%rsp)
movzbl %al, %ecx
cmpb $0x20, %al
ja 0x5047
btq %rcx, %r12
jb 0x502e
cmpl $0xff, %ecx
jne 0x505a
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp 0x5250
movq 0x10(%r15), %rsi
leaq 0x8(%r15), %rcx
movq %rcx, %rdx
testq %rsi, %rsi
je 0x5084
movq %rcx, %rdx
xorl %edi, %edi
cmpb %al, 0x20(%rsi)
setl %dil
cmovgeq %rsi, %rdx
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x506d
movq %rcx, %rsi
cmpq %rcx, %rdx
je 0x5096
cmpb 0x20(%rdx), %al
cmovlq %rcx, %rdx
movq %rdx, %rsi
cmpq %rcx, %rsi
je 0x5263
leaq 0xf(%rsp), %rsi
movq %r15, %rdi
callq 0x4b06
movq %rax, %r12
movq (%rax), %rax
leaq 0x50(%rsp), %rdi
movq %rax, -0x8(%rdi)
leaq 0x8(%r12), %rsi
callq 0x4a86
leaq 0x68(%rsp), %rdi
addq $0x20, %r12
movq %r12, %rsi
callq 0x4a86
movb 0xf(%rsp), %al
movb %al, 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 0x5ab6(%rip), %rax      # 0xabd0
movq %rax, (%r12)
movq %r12, %rax
addq $0x10, %rax
movb 0x10(%rsp), %cl
movb %cl, 0x10(%r12)
xorl %ecx, %ecx
movq %rcx, 0x20(%r12)
movups 0x18(%rsp), %xmm0
movq %rcx, 0x20(%rsp)
movups %xmm0, 0x18(%r12)
movq %rcx, 0x18(%rsp)
movq %rcx, 0x30(%r12)
movups 0x28(%rsp), %xmm0
movq %rcx, 0x30(%rsp)
movups %xmm0, 0x28(%r12)
movq %rcx, 0x28(%rsp)
movl 0x40(%rsp), %ecx
movl %ecx, 0x40(%r12)
movq 0x38(%rsp), %rcx
movq %rcx, 0x38(%r12)
movq %r12, 0x8(%rbx)
movq %rax, (%rbx)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x518d
callq 0x53ac
movl 0x4c(%rsp), %eax
movl %eax, 0x40(%r12)
movq 0x8(%r14), %rax
movq %rax, 0x38(%r12)
cmpl $0x1, 0x48(%rsp)
jne 0x5232
incl %ebp
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x500a
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x20(%r12), %rdi
movups %xmm0, 0x18(%r12)
testq %rdi, %rdi
je 0x51e0
callq 0x53ac
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x51ef
callq 0x53ac
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x500a
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x30(%r12), %rdi
movups %xmm0, 0x28(%r12)
testq %rdi, %rdi
je 0x5223
callq 0x53ac
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5232
callq 0x53ac
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x5241
callq 0x20e0
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x5250
callq 0x20e0
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2e8f(%rip), %rdi      # 0x80f9
leaq 0x2e61(%rip), %rsi      # 0x80d2
leaq 0x2ea2(%rip), %rcx      # 0x811a
movl $0x125, %edx            # imm = 0x125
callq 0x20a0
jmp 0x5284
movq %rax, %rbx
movq %r12, %rdi
callq 0x53ac
jmp 0x529e
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x52fc
leaq 0x48(%rsp), %rdi
callq 0x4b6a
jmp 0x52bc
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x52bc
callq 0x20e0
movq %rbx, %rdi
callq 0x21b0