// File: /workspace/github_c_makefile_star2_O3/hikalium[P]compilium/parser.c
// Function: ParseDirectDecltor
struct Node *ParseDirectDecltor() {
  // always allow abstract decltors
  struct Node *n = NULL;
  struct Node *t;
  if ((t = ConsumePunctuator("("))) {
    n = AllocNode(kASTDirectDecltor);
    n->op = t;
    n->value = ParseDecltor();
    assert(n->value);
    ExpectPunctuator(")");
  } else if ((t = ConsumeToken(kTokenIdent))) {
    n = AllocNode(kASTDirectDecltor);
    n->op = t;
  }
  while (true) {
    if ((t = ConsumePunctuator("("))) {
      struct Node *op = t;
      struct Node *args = AllocList();
      if (!ConsumePunctuator(")")) {
        while (1) {
          if ((t = ConsumePunctuator("..."))) {
            PushToList(args, t);
          } else {
            struct Node *arg = ParseParamDecl();
            if (!arg) {
              ErrorWithToken(NextToken(), "Expected ParamDecl here");
            }
            PushToList(args, arg);
          }
          if (!ConsumePunctuator(",")) break;
        }
        ExpectPunctuator(")");
      }
      struct Node *nn = AllocNode(kASTDirectDecltor);
      nn->op = op;
      nn->right = args;
      nn->left = n;
      n = nn;
    }
    if ((t = ConsumePunctuator("["))) {
      struct Node *nn = AllocNode(kASTDirectDecltor);
      nn->op = t;
      nn->right = ParseAssignExpr();
      nn->left = n;
      n = nn;
      ExpectPunctuator("]");
      continue;
    }
    break;
  }
  return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x39dc(%rip), %rdi      # 0xb5c4
callq 0x9490
testq %rax, %rax
je 0x7c29
movq %rax, %r14
movl $0xb, %edi
callq 0x3f11
movq %rax, %rbx
movq %r14, 0x10(%rax)
callq 0x7d70
movq %rax, 0xa0(%rbx)
testq %rax, %rax
je 0x7d58
leaq 0x4c53(%rip), %rdi      # 0xc875
callq 0x94d4
jmp 0x7c50
movl $0x4, %edi
callq 0x93c9
testq %rax, %rax
je 0x7c4e
movq %rax, %r14
movl $0xb, %edi
callq 0x3f11
movq %rax, %rbx
movq %r14, 0x10(%rax)
jmp 0x7c50
xorl %ebx, %ebx
leaq 0x3942(%rip), %r15      # 0xb599
leaq 0x3a43(%rip), %rbp      # 0xb6a1
leaq 0x35b5(%rip), %r13      # 0xb21a
leaq 0x3958(%rip), %rdi      # 0xb5c4
callq 0x9490
testq %rax, %rax
je 0x7cec
movq %rax, %r12
xorl %eax, %eax
callq 0x47d2
movq %rax, %r14
leaq 0x4beb(%rip), %rdi      # 0xc875
callq 0x9490
testq %rax, %rax
jne 0x7cd3
movq %rbp, %rdi
callq 0x9490
testq %rax, %rax
jne 0x7caf
callq 0x7e2e
testq %rax, %rax
je 0x7d42
movq %r14, %rdi
movq %rax, %rsi
callq 0x485a
movq %r13, %rdi
callq 0x9490
testq %rax, %rax
jne 0x7c94
leaq 0x4ba7(%rip), %rdi      # 0xc875
callq 0x94d4
movl $0xb, %edi
callq 0x3f11
movq %r12, 0x10(%rax)
movq %r14, 0x20(%rax)
movq %rbx, 0x18(%rax)
movq %rax, %rbx
movq %r15, %rdi
callq 0x9490
testq %rax, %rax
je 0x7d30
movq %rax, %r14
movl $0xb, %edi
callq 0x3f11
movq %rax, %r12
movq %r14, 0x10(%rax)
callq 0x764b
movq %rax, 0x20(%r12)
movq %rbx, 0x18(%r12)
leaq 0x4496(%rip), %rdi      # 0xc1b9
callq 0x94d4
movq %r12, %rbx
jmp 0x7c65
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x9527
leaq 0x4564(%rip), %rsi      # 0xc2b2
movq %rax, %rdi
xorl %eax, %eax
callq 0x470c
leaq 0x454a(%rip), %rdi      # 0xc2a9
leaq 0x44a0(%rip), %rsi      # 0xc206
movl $0x1a2, %edx            # imm = 0x1A2
callq 0x46d0