	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_parser_template_name
_cp_parser_template_name:               ## @cp_parser_template_name
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	movq	_RID_OPERATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cp_lexer_next_token_is_keyword
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	callq	_cp_parser_parse_tentatively
	movq	%r12, %rdi
	callq	_cp_parser_operator_function_id
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_cp_parser_parse_definitely
	testl	%eax, %eax
	jne	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_cp_parser_error
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_38
LBB0_3:
	callq	_cp_parser_identifier
	movq	%rax, %r14
LBB0_4:
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_38
## %bb.5:
	movq	_processing_template_decl@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.6:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_cp_parser_nth_token_starts_template_argument_list_p
	testq	%rax, %rax
	je	LBB0_25
## %bb.7:
	testl	%r13d, %r13d
	jne	LBB0_21
## %bb.8:
	testl	%r15d, %r15d
	je	LBB0_21
## %bb.9:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.10:
	callq	_TYPE_P
	testl	%ebx, %ebx
	je	LBB0_21
## %bb.11:
	testq	%rax, %rax
	je	LBB0_21
## %bb.12:
	movq	(%r12), %rdi
	callq	_dependent_type_p
	testq	%rax, %rax
	je	LBB0_21
## %bb.13:
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_constructor_name_p
	testl	%eax, %eax
	je	LBB0_14
LBB0_21:
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.22:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.23:
	callq	_TYPE_P
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	(%r12), %rdi
	callq	_dependent_type_p
	testq	%rax, %rax
	jne	LBB0_38
LBB0_25:
	movq	_none_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	callq	_cp_parser_lookup_name
	movq	%rax, %rdi
	callq	_maybe_get_template_decl_from_type_decl
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_TEMPLATE_DECL@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_33
## %bb.26:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BASELINK_P
	movq	%r15, %rbx
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%r15, %rdi
	callq	_BASELINK_FUNCTIONS
	movq	%rax, %rbx
LBB0_28:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_OVERLOAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.29:
	testq	%rbx, %rbx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_OVL_CURRENT
	movq	%rax, %rdi
	callq	_TREE_CODE
	cmpq	(%r13), %rax
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%rbx, %rdi
	callq	_OVL_NEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_30
	jmp	LBB0_2
LBB0_32:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_2
LBB0_33:
	movq	%r15, %rdi
	callq	_DECL_FUNCTION_TEMPLATE_P
	testq	%rax, %rax
	je	LBB0_34
LBB0_35:
	movq	%r15, %rdi
	callq	_get_first_fn
	movl	%eax, %edi
	callq	_CP_DECL_CONTEXT
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_P
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movq	%rbx, %rdi
	callq	_dependent_type_p
	testq	%rax, %rax
	jne	LBB0_38
	jmp	LBB0_37
LBB0_34:
	movq	%r15, %rdi
	callq	_DECL_P
	testl	%eax, %eax
	je	LBB0_35
LBB0_37:
	movq	%r15, %r14
LBB0_38:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_error
	movq	(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rdx
	callq	_inform
	movq	%r12, %rdi
	callq	_cp_parser_simulate_error
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	8(%r12), %edi
	movl	$1, %esi
	callq	_cp_lexer_token_position
	movq	%rax, %rbx
	jmp	LBB0_17
LBB0_15:
	xorl	%ebx, %ebx
LBB0_17:
	movl	8(%r12), %edi
	callq	_cp_lexer_consume_token
	movq	%r12, %rdi
	callq	_cp_parser_enclosed_template_argument_list
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_cp_parser_skip_to_closing_parenthesis
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	callq	_cp_lexer_purge_tokens_after
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_38
## %bb.20:
	movl	$1, (%rax)
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_RID_OPERATOR,4,2               ## @RID_OPERATOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected template-name"

	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_processing_template_decl,8,3   ## @processing_template_decl
L_.str.1:                               ## @.str.1
	.asciz	"non-template %qD used as template"

L_.str.2:                               ## @.str.2
	.asciz	"use %<%T::template %D%> to indicate that it is a template"

	.comm	_none_type,4,2                  ## @none_type
	.comm	_TEMPLATE_DECL,8,3              ## @TEMPLATE_DECL
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_OVERLOAD,8,3                   ## @OVERLOAD
	.no_dead_strip	_cp_parser_template_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_parser_template_name
_cp_parser_template_name:               ; @cp_parser_template_name
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _RID_OPERATOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RID_OPERATOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_cp_lexer_next_token_is_keyword
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_cp_parser_parse_tentatively
	mov	x0, x20
	bl	_cp_parser_operator_function_id
	mov	x19, x0
	mov	x0, x20
	bl	_cp_parser_parse_definitely
	cbnz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_cp_parser_error
Lloh5:
	adrp	x8, _error_mark_node@GOTPAGE
Lloh6:
	ldr	x8, [x8, _error_mark_node@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
	b	LBB0_32
LBB0_3:
	mov	x0, x20
	bl	_cp_parser_identifier
	mov	x19, x0
LBB0_4:
Lloh8:
	adrp	x25, _error_mark_node@GOTPAGE
Lloh9:
	ldr	x25, [x25, _error_mark_node@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x19, x8
	b.eq	LBB0_32
; %bb.5:
Lloh10:
	adrp	x8, _processing_template_decl@GOTPAGE
Lloh11:
	ldr	x8, [x8, _processing_template_decl@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.6:
	mov	x0, x20
	mov	w1, #1
	bl	_cp_parser_nth_token_starts_template_argument_list_p
	cbz	x0, LBB0_18
; %bb.7:
	cbnz	w23, LBB0_14
; %bb.8:
	cbz	w24, LBB0_14
; %bb.9:
	ldr	x0, [x20]
	cbz	x0, LBB0_14
; %bb.10:
	bl	_TYPE_P
	cbz	w22, LBB0_14
; %bb.11:
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x0, [x20]
	bl	_dependent_type_p
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_constructor_name_p
	cbz	w0, LBB0_33
LBB0_14:
	cbz	w23, LBB0_18
; %bb.15:
	ldr	x0, [x20]
	cbz	x0, LBB0_32
; %bb.16:
	bl	_TYPE_P
	cbz	x0, LBB0_18
; %bb.17:
	ldr	x0, [x20]
	bl	_dependent_type_p
	cbnz	x0, LBB0_32
LBB0_18:
Lloh13:
	adrp	x8, _none_type@GOTPAGE
Lloh14:
	ldr	x8, [x8, _none_type@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	mov	w4, #0
	mov	x5, x22
	mov	x6, #0
	bl	_cp_parser_lookup_name
	bl	_maybe_get_template_decl_from_type_decl
	mov	x21, x0
	bl	_TREE_CODE
Lloh16:
	adrp	x23, _TEMPLATE_DECL@GOTPAGE
Lloh17:
	ldr	x23, [x23, _TEMPLATE_DECL@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_26
; %bb.19:
Lloh18:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh20:
	ldr	x24, [x8]
	mov	x0, x21
	bl	_BASELINK_P
	mov	x22, x21
	cbz	x0, LBB0_21
; %bb.20:
	mov	x0, x21
	bl	_BASELINK_FUNCTIONS
	mov	x22, x0
LBB0_21:
	mov	x0, x22
	bl	_TREE_CODE
Lloh21:
	adrp	x8, _OVERLOAD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OVERLOAD@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.22:
	cbz	x22, LBB0_31
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_OVL_CURRENT
	bl	_TREE_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x22
	bl	_OVL_NEXT
	mov	x22, x0
	cbnz	x0, LBB0_23
	b	LBB0_31
LBB0_25:
	cbz	x24, LBB0_31
LBB0_26:
	mov	x0, x21
	bl	_DECL_FUNCTION_TEMPLATE_P
	cbz	x0, LBB0_29
LBB0_27:
	mov	x0, x21
	bl	_get_first_fn
	bl	_CP_DECL_CONTEXT
	mov	x20, x0
	bl	_TYPE_P
	cbz	x0, LBB0_30
; %bb.28:
	mov	x0, x20
	bl	_dependent_type_p
	cbnz	x0, LBB0_32
	b	LBB0_30
LBB0_29:
	mov	x0, x21
	bl	_DECL_P
	cbz	w0, LBB0_27
LBB0_30:
	mov	x19, x21
	b	LBB0_32
LBB0_31:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_cp_parser_error
	ldr	x19, [x25]
LBB0_32:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_33:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_error
	ldr	x1, [x20]
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_inform
	mov	x0, x20
	bl	_cp_parser_simulate_error
	cbz	x0, LBB0_35
; %bb.34:
	ldr	w0, [x20, #8]
	mov	w1, #1
	bl	_cp_lexer_token_position
	mov	x22, x0
	b	LBB0_36
LBB0_35:
	mov	x22, #0
LBB0_36:
	ldr	w0, [x20, #8]
	bl	_cp_lexer_consume_token
	mov	x0, x20
	bl	_cp_parser_enclosed_template_argument_list
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	mov	w3, #0
	bl	_cp_parser_skip_to_closing_parenthesis
	cbz	x22, LBB0_38
; %bb.37:
	ldr	w0, [x20, #8]
	mov	x1, x22
	bl	_cp_lexer_purge_tokens_after
LBB0_38:
	cbz	x21, LBB0_32
; %bb.39:
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_RID_OPERATOR,4,2               ; @RID_OPERATOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected template-name"

	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_processing_template_decl,8,3   ; @processing_template_decl
l_.str.1:                               ; @.str.1
	.asciz	"non-template %qD used as template"

l_.str.2:                               ; @.str.2
	.asciz	"use %<%T::template %D%> to indicate that it is a template"

	.comm	_none_type,4,2                  ; @none_type
	.comm	_TEMPLATE_DECL,8,3              ; @TEMPLATE_DECL
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_OVERLOAD,8,3                   ; @OVERLOAD
	.no_dead_strip	_cp_parser_template_name
.subsections_via_symbols
