	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reference_binding
_reference_binding:                     ## @reference_binding
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	_clk_none@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_TREE_CODE
	testq	%r12, %r12
	je	LBB0_6
## %bb.1:
	movq	_FUNCTION_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	callq	_type_unknown_p
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_tf_none@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_instantiate_type
	movq	%rax, %r12
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_37
## %bb.5:
	movq	%r12, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r14
LBB0_6:
	movq	%r14, %rdi
	callq	_TREE_CODE
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_clk_ordinary@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r14
	jmp	LBB0_10
LBB0_8:
	testq	%r12, %r12
	je	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_real_lvalue_p
	movl	%eax, %r15d
LBB0_10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_reference_related_p
	testl	%r13d, %r13d
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_14
## %bb.11:
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_at_least_as_qualified_p
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_cp_type_quals
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_build_qualified_type
	movq	%rax, %rbx
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_reference_compatible_p
	movl	%eax, %r13d
	movl	%r15d, %eax
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.15:
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.16:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_build_identity_conv
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_direct_reference_binding
	movl	%r15d, %ecx
	movq	%rax, %r15
	movq	_clk_bitfield@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_22
LBB0_17:
	movl	$1, (%r15)
	jmp	LBB0_38
LBB0_18:
	movq	%r14, %rdi
	callq	_CLASS_TYPE_P
	testq	%rax, %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_20
## %bb.19:
	movq	_LOOKUP_NO_CONVERSION@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_29
LBB0_20:
	movq	_LOOKUP_NO_TEMP_BIND@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_24
LBB0_37:
	xorl	%r15d, %r15d
LBB0_38:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_clk_packed@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_38
## %bb.23:
	movq	%rbx, %rdi
	callq	_TYPE_PACKED
	testl	%eax, %eax
	jne	LBB0_38
	jmp	LBB0_17
LBB0_24:
	movq	%rbx, %rdi
	callq	_CP_TYPE_CONST_NON_VOLATILE_P
	testl	%eax, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_37
## %bb.25:
	movq	%r14, %rdi
	callq	_CLASS_TYPE_P
	testq	%rax, %rax
	je	LBB0_31
## %bb.26:
	testl	%r13d, %r13d
	je	LBB0_31
## %bb.27:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_build_identity_conv
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_direct_reference_binding
	movq	%rax, %r15
	movq	_LOOKUP_CONSTRUCTOR_CALLABLE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	jne	LBB0_38
## %bb.28:
	movq	8(%r15), %rax
	jmp	LBB0_35
LBB0_29:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_convert_class_to_reference
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_38
	jmp	LBB0_20
LBB0_31:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.32:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_at_least_as_qualified_p
	testl	%eax, %eax
	je	LBB0_37
LBB0_33:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_implicit_conversion
	testq	%rax, %rax
	je	LBB0_37
## %bb.34:
	movq	_ck_ref_bind@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_build_conv
	movq	%rax, %r15
LBB0_35:
	movl	$1, (%rax)
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_clk_none,4,2                   ## @clk_none
	.comm	_FUNCTION_TYPE,8,3              ## @FUNCTION_TYPE
	.comm	_tf_none,4,2                    ## @tf_none
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_REFERENCE_TYPE,8,3             ## @REFERENCE_TYPE
	.comm	_clk_ordinary,4,2               ## @clk_ordinary
	.comm	_clk_bitfield,4,2               ## @clk_bitfield
	.comm	_clk_packed,4,2                 ## @clk_packed
	.comm	_LOOKUP_NO_CONVERSION,4,2       ## @LOOKUP_NO_CONVERSION
	.comm	_LOOKUP_NO_TEMP_BIND,4,2        ## @LOOKUP_NO_TEMP_BIND
	.comm	_LOOKUP_CONSTRUCTOR_CALLABLE,4,2 ## @LOOKUP_CONSTRUCTOR_CALLABLE
	.comm	_ck_ref_bind,4,2                ## @ck_ref_bind
	.no_dead_strip	_reference_binding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reference_binding
_reference_binding:                     ; @reference_binding
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	bl	_TREE_TYPE
	mov	x21, x0
Lloh0:
	adrp	x8, _clk_none@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clk_none@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	bl	_TREE_CODE
	cbz	x22, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _FUNCTION_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FUNCTION_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x22
	bl	_type_unknown_p
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _tf_none@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tf_none@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_instantiate_type
Lloh9:
	adrp	x8, _error_mark_node@GOTPAGE
Lloh10:
	ldr	x8, [x8, _error_mark_node@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_17
; %bb.4:
	mov	x22, x0
	bl	_TREE_TYPE
	mov	x24, x0
LBB0_5:
	mov	x0, x24
	bl	_TREE_CODE
Lloh12:
	adrp	x8, _REFERENCE_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REFERENCE_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _clk_ordinary@GOTPAGE
Lloh16:
	ldr	x8, [x8, _clk_ordinary@GOTPAGEOFF]
Lloh17:
	ldr	w25, [x8]
	mov	x0, x24
	bl	_TREE_TYPE
	mov	x24, x0
	b	LBB0_9
LBB0_7:
	cbz	x22, LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_real_lvalue_p
	mov	x25, x0
LBB0_9:
	mov	x0, x21
	mov	x1, x24
	bl	_reference_related_p
	mov	x26, x0
	cbz	w23, LBB0_13
; %bb.10:
	cbz	w26, LBB0_13
; %bb.11:
	mov	x0, x21
	mov	x1, x24
	bl	_at_least_as_qualified_p
	cbnz	w0, LBB0_13
; %bb.12:
	mov	x0, x24
	bl	_cp_type_quals
	mov	x1, x0
	mov	x0, x21
	bl	_build_qualified_type
	mov	x21, x0
LBB0_13:
	mov	x0, x21
	mov	x1, x24
	bl	_reference_compatible_p
	cmp	w25, #0
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_18
; %bb.14:
	mov	x28, x0
	mov	x0, x24
	bl	_CLASS_TYPE_P
	cbz	x0, LBB0_16
; %bb.15:
Lloh18:
	adrp	x8, _LOOKUP_NO_CONVERSION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOOKUP_NO_CONVERSION@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_28
LBB0_16:
Lloh21:
	adrp	x8, _LOOKUP_NO_TEMP_BIND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOOKUP_NO_TEMP_BIND@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_23
LBB0_17:
	mov	x27, #0
	b	LBB0_20
LBB0_18:
	mov	x0, x24
	mov	x1, x22
	bl	_build_identity_conv
	mov	x1, x0
	mov	x0, x19
	bl	_direct_reference_binding
	mov	x27, x0
Lloh24:
	adrp	x8, _clk_bitfield@GOTPAGE
Lloh25:
	ldr	x8, [x8, _clk_bitfield@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_21
LBB0_19:
	mov	w8, #1
	str	w8, [x27]
LBB0_20:
	mov	x0, x27
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
Lloh27:
	adrp	x8, _clk_packed@GOTPAGE
Lloh28:
	ldr	x8, [x8, _clk_packed@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_20
; %bb.22:
	mov	x0, x21
	bl	_TYPE_PACKED
	cbnz	w0, LBB0_20
	b	LBB0_19
LBB0_23:
	mov	x0, x21
	bl	_CP_TYPE_CONST_NON_VOLATILE_P
	cbz	w0, LBB0_17
; %bb.24:
	mov	x0, x24
	bl	_CLASS_TYPE_P
	cbz	x0, LBB0_29
; %bb.25:
	cbz	w28, LBB0_29
; %bb.26:
	mov	x0, x24
	mov	x1, x22
	bl	_build_identity_conv
	mov	x1, x0
	mov	x0, x19
	bl	_direct_reference_binding
	mov	x27, x0
Lloh30:
	adrp	x8, _LOOKUP_CONSTRUCTOR_CALLABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LOOKUP_CONSTRUCTOR_CALLABLE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_20
; %bb.27:
	ldr	x8, [x27, #8]
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_20
LBB0_28:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_convert_class_to_reference
	mov	x27, x0
	cbnz	x0, LBB0_20
	b	LBB0_16
LBB0_29:
	cbz	w26, LBB0_31
; %bb.30:
	mov	x0, x21
	mov	x1, x24
	bl	_at_least_as_qualified_p
	cbz	w0, LBB0_17
LBB0_31:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	bl	_implicit_conversion
	cbz	x0, LBB0_17
; %bb.32:
	mov	x2, x0
Lloh33:
	adrp	x8, _ck_ref_bind@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ck_ref_bind@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_build_conv
	mov	x27, x0
	mov	w8, #1
	str	w8, [x0]
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_clk_none,4,2                   ; @clk_none
	.comm	_FUNCTION_TYPE,8,3              ; @FUNCTION_TYPE
	.comm	_tf_none,4,2                    ; @tf_none
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_REFERENCE_TYPE,8,3             ; @REFERENCE_TYPE
	.comm	_clk_ordinary,4,2               ; @clk_ordinary
	.comm	_clk_bitfield,4,2               ; @clk_bitfield
	.comm	_clk_packed,4,2                 ; @clk_packed
	.comm	_LOOKUP_NO_CONVERSION,4,2       ; @LOOKUP_NO_CONVERSION
	.comm	_LOOKUP_NO_TEMP_BIND,4,2        ; @LOOKUP_NO_TEMP_BIND
	.comm	_LOOKUP_CONSTRUCTOR_CALLABLE,4,2 ; @LOOKUP_CONSTRUCTOR_CALLABLE
	.comm	_ck_ref_bind,4,2                ; @ck_ref_bind
	.no_dead_strip	_reference_binding
.subsections_via_symbols
