	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_template_shadow          ## -- Begin function check_template_shadow
	.p2align	4, 0x90
_check_template_shadow:                 ## @check_template_shadow
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_current_template_parms@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	callq	_TREE_CODE
	movq	_OVERLOAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_OVL_CURRENT
	movq	%rax, %rbx
LBB0_3:
	movq	%rbx, %rdi
	callq	_DECL_NAME
	movl	%eax, %edi
	callq	_innermost_non_namespace_value
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_DECL_P
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_DECL_TEMPLATE_PARM_P
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	cmpq	%r14, %rbx
	je	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	callq	_TEMPLATE_PARMS_FOR_INLINE
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_error
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_template_parms,4,2     ## @current_template_parms
	.comm	_OVERLOAD,8,3                   ## @OVERLOAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"declaration of %q+#D"

L_.str.1:                               ## @.str.1
	.asciz	" shadows template parm %q+#D"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_template_shadow          ; -- Begin function check_template_shadow
	.p2align	2
_check_template_shadow:                 ; @check_template_shadow
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x21, _current_template_parms@GOTPAGE
Lloh1:
	ldr	x21, [x21, _current_template_parms@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _OVERLOAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OVERLOAD@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_OVL_CURRENT
	mov	x19, x0
LBB0_3:
	mov	x0, x19
	bl	_DECL_NAME
	bl	_innermost_non_namespace_value
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	bl	_DECL_P
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_DECL_TEMPLATE_PARM_P
	cbz	w0, LBB0_8
; %bb.6:
	cmp	x19, x20
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x21]
	bl	_TEMPLATE_PARMS_FOR_INLINE
	cbz	x0, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_error
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_error
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_current_template_parms,4,2     ; @current_template_parms
	.comm	_OVERLOAD,8,3                   ; @OVERLOAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"declaration of %q+#D"

l_.str.1:                               ; @.str.1
	.asciz	" shadows template parm %q+#D"

.subsections_via_symbols
