// File: /workspace/github_c_makefile_star2_O3/lucvoo[P]sparse-dev/parse.c
// Function: declaration_list
static struct token *declaration_list(struct token *token, struct symbol_list **list)
{
	struct decl_state ctx = {.prefer_abstract = 0};
	struct ctype saved;
	unsigned long mod;

	token = declaration_specifiers(token, &ctx);
	mod = decl_modifiers(&ctx);
	saved = ctx.ctype;
	for (;;) {
		struct symbol *decl = alloc_symbol(token->pos, SYM_NODE);
		ctx.cleanup = NULL;
		ctx.ident = &decl->ident;

		token = declarator(token, &ctx);
		if (match_op(token, ':'))
			token = handle_bitfield(token, &ctx);

		token = handle_attributes(token, &ctx);
		apply_modifiers(token->pos, &ctx);

		decl->ctype = ctx.ctype;
		decl->ctype.modifiers |= mod;
		decl->cleanup = ctx.cleanup;
		decl->endpos = token->pos;
		add_symbol(list, decl);
		if (!match_op(token, ','))
			break;
		token = token->next;
		ctx.ctype = saved;
	}
	return token;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r12
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r14
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movq $0x0, 0x50(%r14)
movq %r14, %rsi
callq 0x19753
movq %rax, %r15
movq 0x8(%r14), %rax
movl %eax, %ebx
andl $0x3141007f, %ebx       # imm = 0x3141007F
andq $-0x31410080, %rax      # imm = 0xCEBEFF80
movq %rax, 0x8(%r14)
orq 0x48(%r14), %rbx
movaps 0x10(%r14), %xmm0
movaps %xmm0, 0x90(%rsp)
movq 0x20(%r14), %rax
movq %rax, 0xa0(%rsp)
movq (%r14), %rax
movq %rax, 0x80(%rsp)
movq 0x8(%r14), %rax
movq %rax, 0x88(%rsp)
movq %r12, 0x18(%rsp)
movq (%r15), %rdi
movl $0x3, %esi
callq 0x2b00b
movq %rax, %r13
movq $0x0, 0x58(%rsp)
addq $0x18, %rax
movq %rax, 0x48(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x199a8
movq %rax, %rbp
movq (%rax), %rdi
movl %edi, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x1c09d
cmpl $0x3a, 0x10(%rbp)
jne 0x1c09d
movq 0x20(%rsp), %rax
cmpq 0x44006(%rip), %rax     # 0x5ff88
je 0x1bfe5
movzbl (%rax), %edx
movq %rax, %rcx
cmpl $0x3, %edx
jne 0x1bf96
movq 0x60(%rax), %rcx
movzbl (%rcx), %edx
cmpl $0x9, %edx
jne 0x1bfa2
movq 0x60(%rcx), %rcx
movzbl (%rcx), %edx
cmpl $0xb, %edx
je 0x1bfe5
leaq 0x4eeca(%rip), %rdx     # 0x6ae78
cmpq %rdx, 0x60(%rcx)
je 0x1bfe5
movq %rax, %rdi
callq 0x237c5
movq (%rbp), %rdi
leaq 0x27516(%rip), %rsi     # 0x434dd
movq %rax, %rdx
xorl %eax, %eax
callq 0x11a80
movq 0x8(%rbp), %rdi
movq %rsp, %rsi
callq 0x39b4c
movq %rax, %rbp
jmp 0x1c09d
movl $0xb, %esi
callq 0x2b00b
movq %rax, %r12
movq 0x20(%rsp), %rax
movq %rax, 0x60(%r12)
movq 0x28(%rsp), %rax
movq %rax, 0x68(%r12)
movq %r12, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
movq 0x8(%rbp), %rdi
movq %rsp, %rsi
callq 0x39b4c
movq %rax, %rbp
movq (%rsp), %rdi
callq 0xf4b5
movq %rax, %r15
movl %r15d, 0x50(%r12)
movq 0x48(%rsp), %rax
movq (%rax), %rdi
cmpq $0x7fffffff, %r15       # imm = 0x7FFFFFFF
ja 0x1c059
testq %rdi, %rdi
sete %al
testq %r15, %r15
setne %cl
orb %al, %cl
jne 0x1c142
callq 0x2de35
movq (%rbp), %rdi
leaq 0x2749c(%rip), %rsi     # 0x43505
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x11a80
movq $-0x1, %r15
movl %r15d, 0x50(%r12)
movq (%rbp), %rax
movq %rax, 0xc(%r12)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x18(%r12)
movq 0x18(%rsp), %r12
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1aed1
movq %rax, %r15
movq (%rax), %rdi
movq %r14, %rsi
callq 0x1a111
movaps 0x20(%rsp), %xmm0
movaps 0x30(%rsp), %xmm1
movups %xmm0, 0x60(%r13)
movq 0x40(%rsp), %rax
movq %rax, 0x80(%r13)
movups %xmm1, 0x70(%r13)
orq %rbx, 0x68(%r13)
movq 0x58(%rsp), %rax
movq %rax, 0xb8(%r13)
movq (%r15), %rax
movq %rax, 0xc(%r13)
movq %r12, %rdi
movq %r13, %rsi
callq 0x227b4
movl (%r15), %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x1c1eb
cmpl $0x2c, 0x10(%r15)
jne 0x1c1eb
movq 0x8(%r15), %r15
movq 0xa0(%rsp), %rax
movq %rax, 0x40(%rsp)
movaps 0x80(%rsp), %xmm0
movaps 0x90(%rsp), %xmm1
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
jmp 0x1bf2b
testq %rdi, %rdi
je 0x1c07d
movq 0x60(%r12), %rax
cmpq 0x43e31(%rip), %rax     # 0x5ff88
movq %r12, %rdx
cmovneq %rax, %rdx
movq 0x68(%rdx), %rcx
cmpq $0x1, %r15
jne 0x1c1a3
leaq 0x4445d(%rip), %rax     # 0x605cc
cmpl $0x0, (%rax)
je 0x1c1a3
movl %ecx, %eax
andl $0x4000, %eax           # imm = 0x4000
jne 0x1c1a3
movq (%rbp), %rdi
leaq 0x273a4(%rip), %rsi     # 0x4352c
xorl %eax, %eax
movq %rcx, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
callq 0x11a80
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
leaq 0x4ac4e(%rip), %rax     # 0x66df8
cmpl $0x0, (%rax)
je 0x1c07d
cmpb $0x9, (%rdx)
je 0x1c07d
andl $0x4000, %ecx           # imm = 0x4000
movq 0x68(%rdx), %rax
andl $0x8000, %eax           # imm = 0x8000
orq %rcx, %rax
jne 0x1c07d
movq (%rbp), %rdi
leaq 0x2736d(%rip), %rsi     # 0x4354c
xorl %eax, %eax
callq 0x118fc
jmp 0x1c07d
movq %r15, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq