	.file	"extr_decl.c_lookup_and_check_tag.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%qD has the same name as the class in which it is declared"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"reference to %qD is ambiguous"
	.text
	.p2align 4
	.type	lookup_and_check_tag, @function
lookup_and_check_tag:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR ts_global[rip], rdx
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	je	.L25
	mov	rsi, rdx
	mov	rdi, r12
	call	lookup_type_scope@PLT
	mov	rbp, rax
.L4:
	test	rbp, rbp
	jne	.L3
.L5:
	mov	rax, QWORD PTR NULL_TREE[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	esi, 2
	mov	rdi, r12
	call	lookup_name_prefer_type@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L26
.L3:
	mov	rdi, rbp
	call	DECL_CLASS_TEMPLATE_P@PLT
	test	rax, rax
	jne	.L27
.L6:
	mov	rdi, rbp
	call	TREE_CODE@PLT
	cmp	rax, QWORD PTR TYPE_DECL[rip]
	je	.L28
	mov	rdi, rbp
	call	TREE_CODE@PLT
	cmp	rax, QWORD PTR TREE_LIST[rip]
	jne	.L5
	mov	rsi, r12
	lea	rdi, .LC1[rip]
	call	error@PLT
	mov	rdi, rbp
	call	print_candidates@PLT
	mov	rax, QWORD PTR error_mark_node[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	cmp	QWORD PTR ts_current[rip], rbx
	jne	.L8
	mov	rdi, rbp
	call	DECL_SELF_REFERENCE_P@PLT
	test	eax, eax
	jne	.L29
.L8:
	mov	rdi, rbp
	call	DECL_SELF_REFERENCE_P@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	edi, r13d
	or	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	edx, eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	check_elaborated_type_specifier@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	rsi, QWORD PTR ts_within_enclosing_non_class[rip]
	mov	rdi, r12
	call	lookup_type_scope@PLT
	mov	rbp, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, rbp
	call	DECL_TEMPLATE_RESULT@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L6
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	error@PLT
	mov	rax, QWORD PTR error_mark_node[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	lookup_and_check_tag, .-lookup_and_check_tag
	.comm	ts_within_enclosing_non_class,8,8
	.comm	ts_global,8,8
	.comm	ts_current,8,8
	.comm	error_mark_node,8,8
	.comm	TYPE_DECL,8,8
	.comm	TREE_LIST,8,8
	.comm	NULL_TREE,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_decl.c_lookup_and_check_tag.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%qD has the same name as the class in which it is d"
	.ascii	"eclared\000"
	.align	2
.LC1:
	.ascii	"reference to %qD is ambiguous\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_and_check_tag, %function
lookup_and_check_tag:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L30
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [ip]
	mov	r5, r2
	cmp	ip, r2
	mov	r6, r0
	mov	r7, r1
	mov	r8, r3
	beq	.L25
	mov	r1, r2
	mov	r0, r7
	bl	lookup_type_scope
	mov	r4, r0
.L4:
	cmp	r4, #0
	bne	.L3
.L5:
	ldr	r3, .L30+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L25:
	mov	r1, #2
	mov	r0, r7
	bl	lookup_name_prefer_type
	subs	r4, r0, #0
	beq	.L26
.L3:
	mov	r0, r4
	bl	DECL_CLASS_TEMPLATE_P
	cmp	r0, #0
	bne	.L27
.L6:
	mov	r0, r4
	bl	TREE_CODE
	ldr	r3, .L30+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L28
	mov	r0, r4
	bl	TREE_CODE
	ldr	r3, .L30+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L5
	mov	r1, r7
	ldr	r0, .L30+16
	bl	error
	mov	r0, r4
	bl	print_candidates
	ldr	r3, .L30+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	ldr	r3, .L30+24
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L8
	mov	r0, r4
	bl	DECL_SELF_REFERENCE_P
	cmp	r0, #0
	bne	.L29
.L8:
	mov	r0, r4
	bl	DECL_SELF_REFERENCE_P
	mov	r1, r4
	orr	r2, r0, r8
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	check_elaborated_type_specifier
.L26:
	ldr	r3, .L30+28
	mov	r0, r7
	ldr	r1, [r3]
	bl	lookup_type_scope
	mov	r4, r0
	b	.L4
.L27:
	mov	r0, r4
	bl	DECL_TEMPLATE_RESULT
	subs	r4, r0, #0
	bne	.L6
	b	.L5
.L29:
	mov	r1, r4
	ldr	r0, .L30+32
	bl	error
	ldr	r3, .L30+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	.align	2
.L30:
	.word	ts_global
	.word	NULL_TREE
	.word	TYPE_DECL
	.word	TREE_LIST
	.word	.LC1
	.word	error_mark_node
	.word	ts_current
	.word	ts_within_enclosing_non_class
	.word	.LC0
	.size	lookup_and_check_tag, .-lookup_and_check_tag
	.comm	ts_within_enclosing_non_class,4,4
	.comm	ts_global,4,4
	.comm	ts_current,4,4
	.comm	error_mark_node,4,4
	.comm	TYPE_DECL,4,4
	.comm	TREE_LIST,4,4
	.comm	NULL_TREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
