	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_cv_quals_for_unify
_check_cv_quals_for_unify:              ## @check_cv_quals_for_unify
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r13d
	movl	%edi, %r15d
	movl	%esi, %edi
	callq	_cp_type_quals
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_cp_type_quals
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_TEMPLATE_TYPE_PARM@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_9
## %bb.1:
	movq	_UNIFY_ALLOW_OUTER_MORE_CV_QUAL@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
LBB0_9:
	movq	_UNIFY_ALLOW_MORE_CV_QUAL@GOTPCREL(%rip), %rax
	movq	_UNIFY_ALLOW_OUTER_MORE_CV_QUAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%r12d, %ecx
	andl	%r14d, %ecx
	testl	%r15d, %edx
	jne	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	cmpl	%r12d, %ecx
	jne	LBB0_12
LBB0_11:
	movq	_UNIFY_ALLOW_LESS_CV_QUAL@GOTPCREL(%rip), %rax
	movq	_UNIFY_ALLOW_OUTER_LESS_CV_QUAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	testl	%r15d, %edx
	setne	%al
	cmpl	%r14d, %ecx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r13d, %edi
	callq	_TREE_CODE
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movl	%r13d, %edi
	callq	_TREE_CODE
	movq	_FUNCTION_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movl	%r13d, %edi
	callq	_TREE_CODE
	movq	_METHOD_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	movq	_TYPE_QUAL_CONST@GOTPCREL(%rip), %rax
	movq	_TYPE_QUAL_VOLATILE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%r12d, %ecx
	jne	LBB0_12
LBB0_6:
	movl	%r13d, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movl	%r13d, %edi
	callq	_TREE_CODE
	cmpq	(%rbx), %rax
	je	LBB0_9
## %bb.8:
	movq	_TYPE_QUAL_RESTRICT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%r12d, (%rcx)
	jne	LBB0_12
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_TEMPLATE_TYPE_PARM,8,3         ## @TEMPLATE_TYPE_PARM
	.comm	_UNIFY_ALLOW_OUTER_MORE_CV_QUAL,4,2 ## @UNIFY_ALLOW_OUTER_MORE_CV_QUAL
	.comm	_REFERENCE_TYPE,8,3             ## @REFERENCE_TYPE
	.comm	_FUNCTION_TYPE,8,3              ## @FUNCTION_TYPE
	.comm	_METHOD_TYPE,8,3                ## @METHOD_TYPE
	.comm	_TYPE_QUAL_CONST,4,2            ## @TYPE_QUAL_CONST
	.comm	_TYPE_QUAL_VOLATILE,4,2         ## @TYPE_QUAL_VOLATILE
	.comm	_TYPE_QUAL_RESTRICT,4,2         ## @TYPE_QUAL_RESTRICT
	.comm	_UNIFY_ALLOW_MORE_CV_QUAL,4,2   ## @UNIFY_ALLOW_MORE_CV_QUAL
	.comm	_UNIFY_ALLOW_LESS_CV_QUAL,4,2   ## @UNIFY_ALLOW_LESS_CV_QUAL
	.comm	_UNIFY_ALLOW_OUTER_LESS_CV_QUAL,4,2 ## @UNIFY_ALLOW_OUTER_LESS_CV_QUAL
	.no_dead_strip	_check_cv_quals_for_unify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_cv_quals_for_unify
_check_cv_quals_for_unify:              ; @check_cv_quals_for_unify
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_cp_type_quals
	mov	x20, x0
	mov	x0, x23
	bl	_cp_type_quals
	mov	x21, x0
	mov	x0, x23
	bl	_TREE_CODE
Lloh0:
	adrp	x24, _TEMPLATE_TYPE_PARM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TEMPLATE_TYPE_PARM@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x23, _UNIFY_ALLOW_OUTER_MORE_CV_QUAL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _UNIFY_ALLOW_OUTER_MORE_CV_QUAL@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x23]
	tst	w8, w19
	b.eq	LBB0_4
LBB0_2:
Lloh4:
	adrp	x8, _UNIFY_ALLOW_MORE_CV_QUAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UNIFY_ALLOW_MORE_CV_QUAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w9, w8, w19
	and	w8, w21, w20
	cmp	w9, #0
	ccmp	w8, w21, #4, eq
	b.ne	LBB0_8
; %bb.3:
Lloh7:
	adrp	x9, _UNIFY_ALLOW_LESS_CV_QUAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _UNIFY_ALLOW_LESS_CV_QUAL@GOTPAGEOFF]
Lloh9:
	adrp	x10, _UNIFY_ALLOW_OUTER_LESS_CV_QUAL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _UNIFY_ALLOW_OUTER_LESS_CV_QUAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w19
	ccmp	w8, w20, #4, eq
	cset	w0, eq
	b	LBB0_9
LBB0_4:
	mov	x0, x22
	bl	_TREE_CODE
Lloh13:
	adrp	x8, _REFERENCE_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REFERENCE_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_TREE_CODE
Lloh16:
	adrp	x8, _FUNCTION_TYPE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FUNCTION_TYPE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_TREE_CODE
Lloh19:
	adrp	x8, _METHOD_TYPE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _METHOD_TYPE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_7:
Lloh22:
	adrp	x8, _TYPE_QUAL_CONST@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TYPE_QUAL_CONST@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _TYPE_QUAL_VOLATILE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TYPE_QUAL_VOLATILE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_10
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x22
	bl	_POINTER_TYPE_P
	cbnz	w0, LBB0_2
; %bb.11:
	mov	x0, x22
	bl	_TREE_CODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.12:
Lloh28:
	adrp	x8, _TYPE_QUAL_RESTRICT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TYPE_QUAL_RESTRICT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_8
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_TEMPLATE_TYPE_PARM,8,3         ; @TEMPLATE_TYPE_PARM
	.comm	_UNIFY_ALLOW_OUTER_MORE_CV_QUAL,4,2 ; @UNIFY_ALLOW_OUTER_MORE_CV_QUAL
	.comm	_REFERENCE_TYPE,8,3             ; @REFERENCE_TYPE
	.comm	_FUNCTION_TYPE,8,3              ; @FUNCTION_TYPE
	.comm	_METHOD_TYPE,8,3                ; @METHOD_TYPE
	.comm	_TYPE_QUAL_CONST,4,2            ; @TYPE_QUAL_CONST
	.comm	_TYPE_QUAL_VOLATILE,4,2         ; @TYPE_QUAL_VOLATILE
	.comm	_TYPE_QUAL_RESTRICT,4,2         ; @TYPE_QUAL_RESTRICT
	.comm	_UNIFY_ALLOW_MORE_CV_QUAL,4,2   ; @UNIFY_ALLOW_MORE_CV_QUAL
	.comm	_UNIFY_ALLOW_LESS_CV_QUAL,4,2   ; @UNIFY_ALLOW_LESS_CV_QUAL
	.comm	_UNIFY_ALLOW_OUTER_LESS_CV_QUAL,4,2 ; @UNIFY_ALLOW_OUTER_LESS_CV_QUAL
	.no_dead_strip	_check_cv_quals_for_unify
.subsections_via_symbols
