	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_template_candidate_real
_add_template_candidate_real:           ## @add_template_candidate_real
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_DECL_NTPARMS
	movl	%eax, %edi
	callq	_make_tree_vec
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_DECL_NONSTATIC_MEMBER_FUNCTION_P
	movq	%r15, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %r12
LBB0_2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	48(%rbp), %r15d
	movq	%rbx, %rdi
	callq	_DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_DECL_BASE_CONSTRUCTOR_P
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_DECL_CONTEXT
	movl	%eax, %edi
	callq	_CLASSTYPE_VBASECLASSES
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %r12
LBB0_6:
	movl	32(%rbp), %eax
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r15d, %r9d
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_fn_type_unification
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:
	movq	_tf_none@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_instantiate_template
	movq	%rax, %r12
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_10
LBB0_7:
	xorl	%r14d, %r14d
LBB0_22:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r12, %rdi
	callq	_DECL_CONSTRUCTOR_P
	testq	%rax, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_15
## %bb.11:
	movq	%r14, %rdi
	callq	_list_length
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.12:
	movq	%r12, %rdi
	callq	_FUNCTION_FIRST_USER_PARMTYPE
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movl	%eax, %edi
	callq	_TYPE_MAIN_VARIANT
	movl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_same_type_p
	testq	%rax, %rax
	jne	LBB0_7
LBB0_15:
	movq	40(%rbp), %rdx
	movq	24(%rbp), %r9
	movq	16(%rbp), %r8
	movq	_NULL_TREE@GOTPCREL(%rip), %r15
	cmpq	%rdx, (%r15)
	jne	LBB0_17
## %bb.16:
	movl	32(%rbp), %eax
	movl	%eax, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_add_function_candidate
	jmp	LBB0_18
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r8, %rcx
	movq	%r9, %r8
	movq	%r14, %r9
	callq	_add_conv_candidate
LBB0_18:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_DECL_TI_TEMPLATE
	cmpq	%rbx, %rax
	jne	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	callq	_DECL_TEMPLATE_INFO
	jmp	LBB0_21
LBB0_20:
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_tree_cons
LBB0_21:
	movl	%eax, (%r14)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_tf_none,4,2                    ## @tf_none
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.no_dead_strip	_add_template_candidate_real
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_template_candidate_real
_add_template_candidate_real:           ; @add_template_candidate_real
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x6, x7, [sp]                    ; 16-byte Folded Spill
	mov	x27, x5
	mov	x22, x4
	mov	x28, x3
	mov	x24, x2
	mov	x19, x1
	mov	x26, x0
	ldr	w21, [x29, #32]
	ldr	w25, [x29, #16]
	mov	x0, x1
	bl	_DECL_NTPARMS
	bl	_make_tree_vec
	mov	x20, x0
	mov	x0, x19
	bl	_DECL_NONSTATIC_MEMBER_FUNCTION_P
	mov	x23, x22
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_TREE_CHAIN
	mov	x23, x0
LBB0_2:
	mov	x0, x19
	bl	_DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_DECL_BASE_CONSTRUCTOR_P
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_DECL_CONTEXT
	bl	_CLASSTYPE_VBASECLASSES
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_TREE_CHAIN
	mov	x23, x0
LBB0_6:
	mov	x0, x19
	mov	x1, x28
	mov	x2, x20
	mov	x3, x23
	mov	x4, x27
	mov	x5, x21
	mov	x6, x25
	bl	_fn_type_unification
	cbnz	w0, LBB0_8
; %bb.7:
Lloh0:
	adrp	x8, _tf_none@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tf_none@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_instantiate_template
Lloh3:
	adrp	x8, _error_mark_node@GOTPAGE
Lloh4:
	ldr	x8, [x8, _error_mark_node@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_8:
	mov	x21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
	mov	x27, x0
	bl	_DECL_CONSTRUCTOR_P
	cbz	x0, LBB0_14
; %bb.11:
	mov	x0, x22
	bl	_list_length
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x27
	bl	_FUNCTION_FIRST_USER_PARMTYPE
	cbz	x0, LBB0_14
; %bb.13:
	bl	_TREE_VALUE
	bl	_TYPE_MAIN_VARIANT
	mov	x1, x24
	bl	_same_type_p
	cbnz	x0, LBB0_8
LBB0_14:
	ldr	x2, [x29, #24]
Lloh6:
	adrp	x23, _NULL_TREE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _NULL_TREE@GOTPAGEOFF]
	ldr	x8, [x23]
	mov	x0, x26
	mov	x1, x27
	cmp	x8, x2
	b.ne	LBB0_16
; %bb.15:
	mov	x2, x24
	mov	x3, x22
	ldp	x4, x5, [sp]                    ; 16-byte Folded Reload
	mov	x6, x25
	bl	_add_function_candidate
	b	LBB0_17
LBB0_16:
	ldp	x3, x4, [sp]                    ; 16-byte Folded Reload
	mov	x5, x22
	bl	_add_conv_candidate
LBB0_17:
	mov	x21, x0
	mov	x0, x27
	bl	_DECL_TI_TEMPLATE
	cmp	x0, x19
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x27
	bl	_DECL_TEMPLATE_INFO
	b	LBB0_20
LBB0_19:
	ldr	x2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_tree_cons
LBB0_20:
	str	w0, [x21]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tf_none,4,2                    ; @tf_none
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.no_dead_strip	_add_template_candidate_real
.subsections_via_symbols
