	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_class_to_reference
_convert_class_to_reference:            ## @convert_class_to_reference
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_lookup_conversions
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	$0, -48(%rbp)
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_build_pointer_type
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_build_int_cst
	movq	_NULL_TREE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rax, %rsi
	callq	_build_tree_list
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_build_reference_type
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_TEMPLATE_DECL@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_CHAIN
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_TREE_VALUE
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	-48(%rbp), %rax
	movq	40(%rax), %rax
	movq	%rax, -48(%rbp)
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	%r15, %rdi
	callq	_OVL_NEXT
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_OVL_CURRENT
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_TREE_CODE
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %r14
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_TYPE_BINFO
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_PURPOSE
                                        ## kill: def $eax killed $eax def $rax
	movq	_LOOKUP_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_DEDUCE_CONV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r14, %r12
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	%r10
	pushq	%rax
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_add_template_candidate
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rax, %r13
	movq	16(%rax), %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_reference_compatible_p
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_reference_compatible_p
	testq	%rax, %rax
	je	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_TYPE_BINFO
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_PURPOSE
	movq	_LOOKUP_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, %r8d
	movl	%eax, %r9d
	pushq	%r10
	callq	_add_function_candidate
	addq	$16, %rsp
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%r13), %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	_NULL_TREE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_build_identity_conv
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_direct_reference_binding
	movq	%rax, 8(%r13)
	movq	32(%r13), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	jmp	LBB0_6
LBB0_15:
	movq	-48(%rbp), %rdi
	movq	_pedantic@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	callq	_splice_viable
	movq	%rax, -48(%rbp)
	cmpl	$0, -60(%rbp)
	je	LBB0_21
## %bb.16:
	movq	%rax, %rdi
	callq	_tourney
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	movq	%rax, %rbx
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_build_this
	movl	%eax, %r15d
	movq	24(%rbx), %rdi
	callq	_TREE_CHAIN
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_tree_cons
	movq	%rax, 24(%rbx)
	movq	_ck_user@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rbx), %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_build_identity_conv
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_build_conv
	movq	%rax, %r14
	movq	%rbx, 8(%rax)
	movq	8(%rbx), %rsi
	movq	%rax, %rdi
	callq	_merge_conversion_sequences
	movq	%rax, 8(%rbx)
	cmpl	$-1, (%rbx)
	jne	LBB0_22
## %bb.18:
	movl	$1, (%r14)
	jmp	LBB0_22
LBB0_21:
	xorl	%eax, %eax
LBB0_22:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_TEMPLATE_DECL,8,3              ## @TEMPLATE_DECL
	.comm	_LOOKUP_NORMAL,4,2              ## @LOOKUP_NORMAL
	.comm	_DEDUCE_CONV,4,2                ## @DEDUCE_CONV
	.comm	_REFERENCE_TYPE,8,3             ## @REFERENCE_TYPE
	.comm	_pedantic,4,2                   ## @pedantic
	.comm	_ck_user,4,2                    ## @ck_user
	.no_dead_strip	_convert_class_to_reference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_class_to_reference
_convert_class_to_reference:            ; @convert_class_to_reference
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_lookup_conversions
	cbz	x0, LBB0_20
; %bb.1:
	mov	x22, x0
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	str	xzr, [sp, #40]
	mov	x0, x20
	bl	_build_pointer_type
	mov	w1, #0
	bl	_build_int_cst
	mov	x1, x0
Lloh0:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_build_tree_list
	mov	x23, x0
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x21
	bl	_build_reference_type
	mov	x24, x0
Lloh3:
	adrp	x19, _TEMPLATE_DECL@GOTPAGE
Lloh4:
	ldr	x19, [x19, _TEMPLATE_DECL@GOTPAGEOFF]
Lloh5:
	adrp	x21, _REFERENCE_TYPE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _REFERENCE_TYPE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_TREE_CHAIN
	mov	x22, x0
	cbz	x0, LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x22
	bl	_TREE_VALUE
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [sp, #40]
	ldr	x8, [x8, #40]
	str	x8, [sp, #40]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x25
	bl	_OVL_NEXT
	mov	x25, x0
	cbz	x0, LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	bl	_OVL_CURRENT
	mov	x26, x0
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x27, x0
	mov	x0, x26
	bl	_TREE_CODE
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh7:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh9:
	ldr	x27, [x8]
	mov	x0, x20
	bl	_TYPE_BINFO
	mov	x28, x0
	mov	x0, x22
	bl	_TREE_PURPOSE
	mov	x7, x0
Lloh10:
	adrp	x8, _LOOKUP_NORMAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOOKUP_NORMAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _DEDUCE_CONV@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DEDUCE_CONV@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	add	x0, sp, #40
	mov	x1, x26
	mov	x2, x20
	mov	x3, x27
	mov	x4, x23
	mov	x5, x24
	mov	x6, x28
	bl	_add_template_candidate
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x26, x0
	ldr	x0, [x0, #16]
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x27, x0
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x27
	bl	_TREE_TYPE
	mov	x1, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_reference_compatible_p
	cbnz	x0, LBB0_14
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x27
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x27
	bl	_TREE_TYPE
	mov	x1, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_reference_compatible_p
	cbz	x0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	bl	_TYPE_BINFO
	mov	x27, x0
	mov	x0, x22
	bl	_TREE_PURPOSE
	mov	x5, x0
Lloh16:
	adrp	x8, _LOOKUP_NORMAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOOKUP_NORMAL@GOTPAGEOFF]
Lloh18:
	ldr	w6, [x8]
	add	x0, sp, #40
	mov	x1, x26
	mov	x2, x20
	mov	x3, x23
	mov	x4, x27
	bl	_add_function_candidate
	mov	x26, x0
	cbz	x0, LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x0, [x26, #16]
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	bl	_TREE_TYPE
Lloh19:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	bl	_build_identity_conv
	mov	x1, x0
	mov	x0, x24
	bl	_direct_reference_binding
	str	x0, [x26, #8]
	ldr	x8, [x26, #32]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	b	LBB0_6
LBB0_15:
	ldr	x0, [sp, #40]
Lloh22:
	adrp	x8, _pedantic@GOTPAGE
Lloh23:
	ldr	x8, [x8, _pedantic@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x2, sp, #36
	bl	_splice_viable
	str	x0, [sp, #40]
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_19
; %bb.16:
	bl	_tourney
	cbz	x0, LBB0_20
; %bb.17:
	mov	x20, x0
Lloh25:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh27:
	ldr	x21, [x8]
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_build_this
	mov	x22, x0
	ldr	x0, [x20, #24]
	bl	_TREE_CHAIN
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_tree_cons
	str	x0, [x20, #24]
Lloh28:
	adrp	x8, _ck_user@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ck_user@GOTPAGEOFF]
Lloh30:
	ldr	w21, [x8]
	ldr	x0, [x20, #16]
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x22, x0
	mov	x0, x19
	bl	_TREE_TYPE
	mov	x1, x19
	bl	_build_identity_conv
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_build_conv
	mov	x19, x0
	str	x20, [x0, #8]
	ldr	x1, [x20, #8]
	bl	_merge_conversion_sequences
	str	x0, [x20, #8]
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_20
; %bb.18:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_20
LBB0_19:
	mov	x0, #0
LBB0_20:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_TEMPLATE_DECL,8,3              ; @TEMPLATE_DECL
	.comm	_LOOKUP_NORMAL,4,2              ; @LOOKUP_NORMAL
	.comm	_DEDUCE_CONV,4,2                ; @DEDUCE_CONV
	.comm	_REFERENCE_TYPE,8,3             ; @REFERENCE_TYPE
	.comm	_pedantic,4,2                   ; @pedantic
	.comm	_ck_user,4,2                    ; @ck_user
	.no_dead_strip	_convert_class_to_reference
.subsections_via_symbols
