	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_template_class_depth           ## -- Begin function template_class_depth
	.p2align	4, 0x90
_template_class_depth:                  ## @template_class_depth
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	movq	_NAMESPACE_DECL@GOTPCREL(%rip), %r15
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_CONTEXT
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r15), %rax
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_DECL_TEMPLATE_INFO
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_DECL_TI_TEMPLATE
	movl	%eax, %edi
	callq	_PRIMARY_TEMPLATE_P
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_DECL_TI_ARGS
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_CLASSTYPE_TEMPLATE_INFO
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_CLASSTYPE_TI_TEMPLATE
	movl	%eax, %edi
	callq	_PRIMARY_TEMPLATE_P
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_CLASSTYPE_TI_ARGS
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_uses_template_parms
	cmpq	$1, %rax
	sbbl	$-1, %r14d
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_CP_DECL_CONTEXT
	jmp	LBB0_15
LBB0_1:
	xorl	%r14d, %r14d
LBB0_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAMESPACE_DECL,8,3             ## @NAMESPACE_DECL
	.comm	_FUNCTION_DECL,8,3              ## @FUNCTION_DECL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_template_class_depth           ; -- Begin function template_class_depth
	.p2align	2
_template_class_depth:                  ; @template_class_depth
	.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
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x0
	mov	w19, #0
Lloh0:
	adrp	x21, _NAMESPACE_DECL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NAMESPACE_DECL@GOTPAGEOFF]
Lloh2:
	adrp	x22, _FUNCTION_DECL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FUNCTION_DECL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_TYPE_CONTEXT
	mov	x20, x0
	cbz	x0, LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_DECL_TEMPLATE_INFO
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_DECL_TI_TEMPLATE
	bl	_PRIMARY_TEMPLATE_P
	cbz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_DECL_TI_ARGS
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_CLASSTYPE_TEMPLATE_INFO
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_CLASSTYPE_TI_TEMPLATE
	bl	_PRIMARY_TEMPLATE_P
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_CLASSTYPE_TI_ARGS
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_uses_template_parms
	cmp	x0, #0
	cinc	w19, w19, ne
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_CP_DECL_CONTEXT
	mov	x20, x0
	cbnz	x0, LBB0_3
	b	LBB0_15
LBB0_14:
	mov	w19, #0
LBB0_15:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NAMESPACE_DECL,8,3             ; @NAMESPACE_DECL
	.comm	_FUNCTION_DECL,8,3              ; @FUNCTION_DECL
.subsections_via_symbols
