// File: /workspace/github_c_makefile_star2_O2/yutopp[P]cc/parser.c
// Function: parse_declarator
ParserResult parse_declarator(Parser *parser) {
    ParserResult res;
    state_t _parser_state = save_state(parser);

    res = parse_direct_declarator(parser); ErrProp;

    Node* node = node_arena_malloc(parser->arena);
    node->kind = NODE_DECLARATOR;
    node->value.declarator.node = res.value.node;

    res.result = PARSER_OK;
    res.value.node = node;

    return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %r12
movq 0x10(%rsi), %r13
leaq 0x30(%rsp), %r15
movq %r15, %rdi
callq 0x1b60
cmpl $0x1, (%r15)
movq %r13, 0x50(%rsp)
jne 0x1c3f
leaq 0x30(%rsp), %r15
pushq $0x4
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x1f9f
movl (%r15), %eax
movups 0x4(%r15), %xmm0
movaps %xmm0, 0x10(%rsp)
movl 0x14(%r15), %ecx
movl %ecx, 0x20(%rsp)
pushq $0x1
popq %r15
movb $0x1, %bl
cmpl $0x1, %eax
jne 0x1d68
movq 0x48(%rsp), %rbp
jmp 0x1df7
movq %r12, 0x8(%rsp)
movq 0x48(%rsp), %rbp
movq 0x8(%r14), %rdi
callq 0x2f4c
movl $0xd, (%rax)
movq %rbp, 0x10(%rax)
andl $0x0, 0x8(%rax)
leaq 0x34(%rsp), %rbx
leaq 0x30(%rsp), %r12
movq %rax, %rbp
movq 0x10(%r14), %r13
movq %r12, %rdi
movq %r14, %rsi
callq 0x1ee7
movl 0x30(%rsp), %eax
movups (%rbx), %xmm0
movaps %xmm0, 0x10(%rsp)
movl 0x10(%rbx), %ecx
movl %ecx, 0x20(%rsp)
cmpl $0x1, %eax
je 0x1ded
movq 0x48(%rsp), %rax
incq 0x10(%r14)
movl (%rax), %eax
cmpl $0x6, %eax
je 0x1d14
cmpl $0x4, %eax
jne 0x1ded
movq %r12, %rdi
movq %r14, %rsi
leaq 0x311(%rip), %rdx       # 0x1fcf
callq 0x1ae6
cmpl $0x1, 0x30(%rsp)
je 0x1dde
movq 0x8(%r14), %rdi
callq 0x2f4c
movq %rax, %r15
movl $0xf, (%rax)
movq 0x48(%rsp), %rax
movq %rax, 0x8(%r15)
movq %r12, %rdi
movq %r14, %rsi
pushq $0x5
popq %rdx
callq 0x1f9f
movl 0x30(%rsp), %eax
movups (%rbx), %xmm0
movaps %xmm0, 0x10(%rsp)
movl 0x10(%rbx), %ecx
movl %ecx, 0x20(%rsp)
cmpl $0x1, %eax
jne 0x1d41
jmp 0x1ded
movq %r12, %rdi
movq %r14, %rsi
pushq $0x7
popq %rdx
callq 0x1f9f
movl 0x30(%rsp), %eax
movups (%rbx), %xmm0
movaps %xmm0, 0x10(%rsp)
movl 0x10(%rbx), %ecx
movl %ecx, 0x20(%rsp)
xorl %r15d, %r15d
cmpl $0x1, %eax
je 0x1e56
incq 0x10(%r14)
movq 0x8(%r14), %rdi
callq 0x2f4c
movl $0xd, (%rax)
movl $0x1, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq %r15, 0x18(%rax)
jmp 0x1c6a
movq %r12, 0x8(%rsp)
incq 0x10(%r14)
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x1bce
movl (%r12), %eax
movups 0x4(%r12), %xmm0
movaps %xmm0, 0x10(%rsp)
movl 0x14(%r12), %ecx
movl %ecx, 0x20(%rsp)
movq 0x18(%r12), %rbp
cmpl $0x1, %eax
je 0x1df2
leaq 0x30(%rsp), %r12
pushq $0x5
popq %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x1f9f
movl (%r12), %eax
movups 0x4(%r12), %xmm0
movaps %xmm0, 0x10(%rsp)
movl 0x14(%r12), %ecx
movl %ecx, 0x20(%rsp)
cmpl $0x1, %eax
jne 0x1e5a
movq 0x48(%rsp), %rbp
jmp 0x1df2
movl 0x10(%rbx), %eax
movl %eax, 0x20(%rsp)
movups (%rbx), %xmm0
movaps %xmm0, 0x10(%rsp)
xorl %ebx, %ebx
xorl %r15d, %r15d
movq 0x8(%rsp), %r12
movq %r13, 0x10(%r14)
movl %r15d, (%r12)
movaps 0x10(%rsp), %xmm0
movups %xmm0, 0x4(%r12)
movl 0x20(%rsp), %eax
movl %eax, 0x14(%r12)
movq %rbp, 0x18(%r12)
testb %bl, %bl
je 0x1e27
movq 0x50(%rsp), %rax
movq %rax, 0x10(%r14)
jmp 0x1e44
movq 0x8(%r14), %rdi
callq 0x2f4c
movl $0xc, (%rax)
movq %rbp, 0x8(%rax)
andl $0x0, (%r12)
movq %rax, 0x18(%r12)
movq %r12, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
jmp 0x1df2
incq 0x10(%r14)
jmp 0x1c49