	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_parser_check_for_invalid_template_id
_cp_parser_check_for_invalid_template_id: ## @cp_parser_check_for_invalid_template_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_CPP_LESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cp_lexer_next_token_is
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	%r14d, %edi
	callq	_TYPE_P
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	movl	%r14d, %edi
	callq	_TREE_CODE
	movq	_IDENTIFIER_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_7:
	movq	%rbx, %rdi
	callq	_cp_parser_uncommitted_to_tentative_parse_p
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_cp_lexer_token_position
	movq	%rax, %r14
	jmp	LBB0_10
LBB0_8:
	xorl	%r14d, %r14d
LBB0_10:
	movl	(%rbx), %edi
	callq	_cp_lexer_consume_token
	movq	%rbx, %rdi
	callq	_cp_parser_enclosed_template_argument_list
	testq	%r14, %r14
	je	LBB0_11
## %bb.12:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cp_lexer_purge_tokens_after    ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPP_LESS,4,2                   ## @CPP_LESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%qT is not a template"

	.comm	_IDENTIFIER_NODE,8,3            ## @IDENTIFIER_NODE
L_.str.1:                               ## @.str.1
	.asciz	"%qE is not a template"

L_.str.2:                               ## @.str.2
	.asciz	"invalid template-id"

	.no_dead_strip	_cp_parser_check_for_invalid_template_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_parser_check_for_invalid_template_id
_cp_parser_check_for_invalid_template_id: ; @cp_parser_check_for_invalid_template_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _CPP_LESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPP_LESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_cp_lexer_next_token_is
	cbz	x0, LBB0_11
; %bb.1:
	mov	x0, x20
	bl	_TYPE_P
	cbz	x0, LBB0_3
; %bb.2:
	str	x20, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_TREE_CODE
Lloh5:
	adrp	x8, _IDENTIFIER_NODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDENTIFIER_NODE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_error
	mov	x0, x19
	bl	_cp_parser_uncommitted_to_tentative_parse_p
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_cp_lexer_token_position
	mov	x20, x0
	b	LBB0_9
LBB0_8:
	mov	x20, #0
LBB0_9:
	ldr	w0, [x19]
	bl	_cp_lexer_consume_token
	mov	x0, x19
	bl	_cp_parser_enclosed_template_argument_list
	cbz	x20, LBB0_11
; %bb.10:
	ldr	w0, [x19]
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_cp_lexer_purge_tokens_after
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CPP_LESS,4,2                   ; @CPP_LESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%qT is not a template"

	.comm	_IDENTIFIER_NODE,8,3            ; @IDENTIFIER_NODE
l_.str.1:                               ; @.str.1
	.asciz	"%qE is not a template"

l_.str.2:                               ; @.str.2
	.asciz	"invalid template-id"

	.no_dead_strip	_cp_parser_check_for_invalid_template_id
.subsections_via_symbols
