	.file	"extr_lj_cparse.c_cp_declarator.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cp_declarator, @function
cp_declarator:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, rdi
	add	rax, 1
	cmp	rax, QWORD PTR CPARSE_MAX_DECLDEPTH[rip]
	mov	QWORD PTR [rdi], rax
	jg	.L28
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, 42
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	jne	.L29
	mov	esi, 38
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	jne	.L7
	movsx	esi, BYTE PTR CTOK_ANDAND[rip]
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	je	.L30
.L7:
	mov	ecx, DWORD PTR CTSHIFT_MSIZEP[rip]
	mov	eax, DWORD PTR CTMASK_MSIZEP[rip]
	xor	edi, edi
	mov	r12d, DWORD PTR CTSIZE_PTR[rip]
	sal	eax, cl
	or	eax, DWORD PTR CTF_QUAL[rip]
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	CTINFO_REF@PLT
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, eax
	call	cp_push@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rsi, rbp
	mov	rdi, rbx
	call	cp_decl_attributes@PLT
	mov	esi, DWORD PTR CTALIGN_PTR[rip]
	mov	edi, DWORD PTR CT_PTR[rip]
	mov	r12d, DWORD PTR CTSIZE_PTR[rip]
	call	CTINFO@PLT
	mov	ecx, DWORD PTR CTSHIFT_MSIZEP[rip]
	mov	edx, DWORD PTR CTMASK_MSIZEP[rip]
	mov	r8d, DWORD PTR CTF_QUAL[rip]
	mov	edi, DWORD PTR 0[rbp]
	sal	edx, cl
	mov	esi, DWORD PTR CTF_REF[rip]
	or	edx, r8d
	not	edx
	or	esi, r8d
	and	edx, edi
	and	esi, edi
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], edx
	add	esi, eax
	mov	edx, r12d
	call	cp_push@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	mov	esi, 40
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	jne	.L31
	movzx	eax, BYTE PTR CTOK_IDENT[rip]
	mov	edx, DWORD PTR 4[rbp]
	cmp	BYTE PTR 8[rbx], al
	je	.L32
	test	DWORD PTR CPARSE_MODE_ABSTRACT[rip], edx
	jne	.L17
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rsi, rbp
	mov	rdi, rbx
	call	cp_decl_array@PLT
.L17:
	mov	esi, 91
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	jne	.L34
	mov	esi, 40
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	je	.L19
.L12:
	mov	rsi, rbp
	mov	rdi, rbx
	call	cp_decl_func@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L32:
	test	DWORD PTR CPARSE_MODE_DIRECT[rip], edx
	je	.L35
.L16:
	mov	eax, DWORD PTR 16[rbx]
	mov	rdi, rbx
	mov	DWORD PTR 16[rbp], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 12[rbp], eax
	call	cp_next@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR 4[rbp]
	test	DWORD PTR CPARSE_MODE_FIELD[rip], eax
	jne	.L36
.L21:
	mov	rsi, rbp
	mov	rdi, rbx
	call	cp_decl_attributes@PLT
	mov	rdi, rbp
	call	cp_push_attributes@PLT
	sub	QWORD PTR [rbx], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, rbx
	call	cp_decl_attributes@PLT
	mov	eax, DWORD PTR 4[rbp]
	test	DWORD PTR CPARSE_MODE_ABSTRACT[rip], eax
	je	.L14
	cmp	BYTE PTR 8[rbx], 41
	je	.L12
	mov	rdi, rbx
	call	cp_istypedecl@PLT
	test	rax, rax
	jne	.L12
.L14:
	mov	r12d, DWORD PTR 20[rbp]
	mov	rsi, rbp
	mov	rdi, rbx
	call	cp_declarator
	mov	esi, 41
	mov	rdi, rbx
	call	cp_check@PLT
	mov	DWORD PTR 20[rbp], r12d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L28:
	mov	esi, DWORD PTR LJ_ERR_XLEVELS[rip]
	call	cp_err@PLT
	jmp	.L3
.L35:
	movsx	esi, BYTE PTR CTOK_EOF[rip]
	mov	rdi, rbx
	call	cp_err_token@PLT
	jmp	.L16
.L36:
	mov	esi, 58
	mov	rdi, rbx
	call	cp_opt@PLT
	test	rax, rax
	je	.L21
	mov	rdi, rbx
	call	cp_expr_ksize@PLT
	mov	DWORD PTR 8[rbp], eax
	jmp	.L21
.L33:
	movsx	esi, al
	mov	rdi, rbx
	call	cp_err_token@PLT
	jmp	.L17
	.cfi_endproc
.LFE0:
	.size	cp_declarator, .-cp_declarator
	.comm	LJ_ERR_XLEVELS,4,4
	.comm	CT_PTR,4,4
	.comm	CTSIZE_PTR,4,4
	.comm	CTSHIFT_MSIZEP,4,4
	.comm	CTOK_IDENT,1,1
	.comm	CTOK_EOF,1,1
	.comm	CTOK_ANDAND,1,1
	.comm	CTMASK_MSIZEP,4,4
	.comm	CTF_REF,4,4
	.comm	CTF_QUAL,4,4
	.comm	CTALIGN_PTR,4,4
	.comm	CPARSE_MODE_FIELD,4,4
	.comm	CPARSE_MODE_DIRECT,4,4
	.comm	CPARSE_MODE_ABSTRACT,4,4
	.comm	CPARSE_MAX_DECLDEPTH,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_lj_cparse.c_cp_declarator.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cp_declarator, %function
cp_declarator:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L38
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0]
	ldr	r2, [r2]
	add	r3, r3, #1
	cmp	r3, r2
	mov	r5, r0
	mov	r4, r1
	str	r3, [r0]
	bgt	.L29
.L2:
	ldr	r10, .L38+4
	ldr	r9, .L38+8
	ldr	r8, .L38+12
	ldr	r7, .L38+16
	ldr	r6, .L38+20
.L3:
	mov	r1, #42
	mov	r0, r5
	bl	cp_opt
	cmp	r0, #0
	bne	.L30
	mov	r1, #38
	mov	r0, r5
	bl	cp_opt
	cmp	r0, #0
	bne	.L7
	mov	r0, r5
	ldrb	r1, [r10]	@ zero_extendqisi2
	bl	cp_opt
	cmp	r0, #0
	beq	.L31
.L7:
	ldr	r0, [r9]
	ldr	r1, [r8]
	ldr	r2, [r7]
	ldr	r3, [r4]
	orr	r2, r2, r0, lsl r1
	bic	r3, r3, r2
	str	r3, [r4]
	mov	r0, #0
	bl	CTINFO_REF
	ldr	r2, [r6]
	mov	r1, r0
	mov	r0, r4
	bl	cp_push
	b	.L3
.L30:
	mov	r1, r4
	mov	r0, r5
	bl	cp_decl_attributes
	ldr	r3, .L38+24
	ldr	fp, [r6]
	ldr	r1, [r3]
	ldr	r3, .L38+28
	ldr	r0, [r3]
	bl	CTINFO
	ldr	r3, .L38+32
	ldr	ip, [r7]
	ldr	r2, [r8]
	ldr	r1, [r3]
	ldr	lr, [r9]
	ldr	r3, [r4]
	orr	r1, ip, r1
	orr	ip, ip, lr, lsl r2
	and	r1, r1, r3
	bic	r3, r3, ip
	add	r1, r1, r0
	mov	r2, fp
	mov	r0, r4
	str	r3, [r4]
	bl	cp_push
	b	.L3
.L31:
	mov	r1, #40
	mov	r0, r5
	bl	cp_opt
	cmp	r0, #0
	bne	.L32
	ldr	r2, .L38+36
	ldrb	r3, [r5, #4]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [r4, #4]
	cmp	r3, r1
	beq	.L33
	ldr	r3, .L38+40
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L17
	b	.L34
.L35:
	mov	r1, r4
	mov	r0, r5
	bl	cp_decl_array
.L17:
	mov	r1, #91
	mov	r0, r5
	bl	cp_opt
	cmp	r0, #0
	bne	.L35
	mov	r1, #40
	mov	r0, r5
	bl	cp_opt
	cmp	r0, #0
	beq	.L19
.L12:
	mov	r1, r4
	mov	r0, r5
	bl	cp_decl_func
	b	.L17
.L33:
	ldr	r3, .L38+44
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L36
.L16:
	ldr	r2, [r5, #12]
	ldr	r3, [r5, #8]
	mov	r0, r5
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	bl	cp_next
	b	.L17
.L19:
	ldr	r3, .L38+48
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L37
.L21:
	mov	r1, r4
	mov	r0, r5
	bl	cp_decl_attributes
	mov	r0, r4
	bl	cp_push_attributes
	ldr	r3, [r5]
	sub	r3, r3, #1
	str	r3, [r5]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	mov	r1, r4
	mov	r0, r5
	bl	cp_decl_attributes
	ldr	r3, .L38+40
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L14
	ldrb	r3, [r5, #4]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L12
	mov	r0, r5
	bl	cp_istypedecl
	cmp	r0, #0
	bne	.L12
.L14:
	mov	r1, r4
	mov	r0, r5
	ldr	r6, [r4, #20]
	bl	cp_declarator
	mov	r1, #41
	mov	r0, r5
	bl	cp_check
	str	r6, [r4, #20]
	b	.L17
.L29:
	ldr	r3, .L38+52
	ldr	r1, [r3]
	bl	cp_err
	b	.L2
.L36:
	ldr	r3, .L38+56
	mov	r0, r5
	ldrb	r1, [r3]	@ zero_extendqisi2
	bl	cp_err_token
	b	.L16
.L37:
	mov	r1, #58
	mov	r0, r5
	bl	cp_opt
	cmp	r0, #0
	beq	.L21
	mov	r0, r5
	bl	cp_expr_ksize
	str	r0, [r4, #8]
	b	.L21
.L34:
	mov	r0, r5
	bl	cp_err_token
	b	.L17
.L39:
	.align	2
.L38:
	.word	CPARSE_MAX_DECLDEPTH
	.word	CTOK_ANDAND
	.word	CTMASK_MSIZEP
	.word	CTSHIFT_MSIZEP
	.word	CTF_QUAL
	.word	CTSIZE_PTR
	.word	CTALIGN_PTR
	.word	CT_PTR
	.word	CTF_REF
	.word	CTOK_IDENT
	.word	CPARSE_MODE_ABSTRACT
	.word	CPARSE_MODE_DIRECT
	.word	CPARSE_MODE_FIELD
	.word	LJ_ERR_XLEVELS
	.word	CTOK_EOF
	.size	cp_declarator, .-cp_declarator
	.comm	LJ_ERR_XLEVELS,4,4
	.comm	CT_PTR,4,4
	.comm	CTSIZE_PTR,4,4
	.comm	CTSHIFT_MSIZEP,4,4
	.comm	CTOK_IDENT,1,1
	.comm	CTOK_EOF,1,1
	.comm	CTOK_ANDAND,1,1
	.comm	CTMASK_MSIZEP,4,4
	.comm	CTF_REF,4,4
	.comm	CTF_QUAL,4,4
	.comm	CTALIGN_PTR,4,4
	.comm	CPARSE_MODE_FIELD,4,4
	.comm	CPARSE_MODE_DIRECT,4,4
	.comm	CPARSE_MODE_ABSTRACT,4,4
	.comm	CPARSE_MAX_DECLDEPTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
