	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_elaborated_type_specifier ## -- Begin function check_elaborated_type_specifier
	.p2align	4, 0x90
_check_elaborated_type_specifier:       ## @check_elaborated_type_specifier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	%rsi, %rdi
	callq	_DECL_SELF_REFERENCE_P
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TYPE_NAME
	movq	%rax, %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_TEMPLATE_TYPE_PARM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_tag_name
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
LBB0_21:
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_22
LBB0_4:
	movq	%rbx, %rdi
	callq	_DECL_IMPLICIT_TYPEDEF_P
	movq	_typename_type@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	cmpl	%r14d, (%r13)
	je	LBB0_7
## %bb.6:
	movl	%r14d, %edi
	callq	_tag_name
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	jmp	LBB0_16
LBB0_7:
	movq	%r12, %rdi
	callq	_TREE_CODE
	movq	_RECORD_TYPE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_8
LBB0_12:
	movq	%r12, %rdi
	callq	_TREE_CODE
	movq	_ENUMERAL_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.13:
	movq	_enum_type@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_17
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_15
LBB0_8:
	movq	%r12, %rdi
	callq	_TREE_CODE
	movq	_UNION_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.9:
	movq	_enum_type@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_12
## %bb.10:
	cmpl	%r14d, (%r13)
	je	LBB0_12
## %bb.11:
	movl	%r14d, %edi
	callq	_tag_name
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_15:
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
LBB0_16:
	xorl	%eax, %eax
	callq	_error
LBB0_22:
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_23:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	testl	%r15d, %r15d
	jne	LBB0_23
## %bb.18:
	movq	%r12, %rdi
	callq	_TREE_CODE
	cmpq	(%rbx), %rax
	jne	LBB0_23
## %bb.19:
	movq	%r12, %rdi
	callq	_CLASSTYPE_IS_TEMPLATE
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movl	%r14d, %edi
	callq	_tag_name
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_CLASSTYPE_TI_TEMPLATE
	movl	%eax, %edi
	callq	_DECL_NAME
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_TEMPLATE_TYPE_PARM,8,3         ## @TEMPLATE_TYPE_PARM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"using template type parameter %qT after %qs"

	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_typename_type,4,2              ## @typename_type
L_.str.1:                               ## @.str.1
	.asciz	"using typedef-name %qD after %qs"

L_.str.2:                               ## @.str.2
	.asciz	"%q+D has a previous declaration here"

	.comm	_RECORD_TYPE,8,3                ## @RECORD_TYPE
	.comm	_UNION_TYPE,8,3                 ## @UNION_TYPE
	.comm	_enum_type,4,2                  ## @enum_type
L_.str.3:                               ## @.str.3
	.asciz	"%qT referred to as %qs"

L_.str.4:                               ## @.str.4
	.asciz	"%q+T has a previous declaration here"

	.comm	_ENUMERAL_TYPE,8,3              ## @ENUMERAL_TYPE
L_.str.5:                               ## @.str.5
	.asciz	"%qT referred to as enum"

L_.str.6:                               ## @.str.6
	.asciz	"template argument required for %<%s %T%>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_elaborated_type_specifier ; -- Begin function check_elaborated_type_specifier
	.p2align	2
_check_elaborated_type_specifier:       ; @check_elaborated_type_specifier
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_DECL_SELF_REFERENCE_P
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_TREE_TYPE
	bl	_TYPE_NAME
	mov	x22, x0
LBB0_2:
	mov	x0, x22
	bl	_TREE_TYPE
	mov	x19, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _TEMPLATE_TYPE_PARM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEMPLATE_TYPE_PARM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_tag_name
	str	x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_4:
	mov	x0, x22
	bl	_DECL_IMPLICIT_TYPEDEF_P
Lloh5:
	adrp	x23, _typename_type@GOTPAGE
Lloh6:
	ldr	x23, [x23, _typename_type@GOTPAGEOFF]
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	w8, [x23]
	cmp	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_tag_name
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_error
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	b	LBB0_18
LBB0_7:
	mov	x0, x19
	bl	_TREE_CODE
Lloh11:
	adrp	x22, _RECORD_TYPE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _RECORD_TYPE@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh13:
	adrp	x24, _enum_type@GOTPAGE
Lloh14:
	ldr	x24, [x24, _enum_type@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_TREE_CODE
Lloh15:
	adrp	x8, _UNION_TYPE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UNION_TYPE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w9, [x24]
	ldr	w10, [x23]
	cmp	x0, x8
	ccmp	w9, w20, #4, ne
	ccmp	w10, w20, #4, ne
	b.ne	LBB0_15
LBB0_9:
	mov	x0, x19
	bl	_TREE_CODE
Lloh18:
	adrp	x8, _ENUMERAL_TYPE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENUMERAL_TYPE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w9, [x24]
	cmp	x0, x8
	ccmp	w9, w20, #0, ne
	b.eq	LBB0_14
; %bb.10:
	cbnz	w21, LBB0_19
; %bb.11:
	mov	x0, x19
	bl	_TREE_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.12:
	mov	x0, x19
	bl	_CLASSTYPE_IS_TEMPLATE
	cbz	x0, LBB0_19
; %bb.13:
	mov	x0, x20
	bl	_tag_name
	mov	x20, x0
	mov	x0, x19
	bl	_CLASSTYPE_TI_TEMPLATE
	bl	_DECL_NAME
	str	x0, [sp]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	b	LBB0_18
LBB0_14:
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_16
LBB0_15:
	mov	x0, x20
	bl	_tag_name
	str	x0, [sp]
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_16:
	mov	x1, x19
	bl	_error
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_17:
	mov	x1, x19
LBB0_18:
	bl	_error
Lloh29:
	adrp	x8, _error_mark_node@GOTPAGE
Lloh30:
	ldr	x8, [x8, _error_mark_node@GOTPAGEOFF]
Lloh31:
	ldr	x19, [x8]
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_TEMPLATE_TYPE_PARM,8,3         ; @TEMPLATE_TYPE_PARM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"using template type parameter %qT after %qs"

	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_typename_type,4,2              ; @typename_type
l_.str.1:                               ; @.str.1
	.asciz	"using typedef-name %qD after %qs"

l_.str.2:                               ; @.str.2
	.asciz	"%q+D has a previous declaration here"

	.comm	_RECORD_TYPE,8,3                ; @RECORD_TYPE
	.comm	_UNION_TYPE,8,3                 ; @UNION_TYPE
	.comm	_enum_type,4,2                  ; @enum_type
l_.str.3:                               ; @.str.3
	.asciz	"%qT referred to as %qs"

l_.str.4:                               ; @.str.4
	.asciz	"%q+T has a previous declaration here"

	.comm	_ENUMERAL_TYPE,8,3              ; @ENUMERAL_TYPE
l_.str.5:                               ; @.str.5
	.asciz	"%qT referred to as enum"

l_.str.6:                               ; @.str.6
	.asciz	"template argument required for %<%s %T%>"

.subsections_via_symbols
