	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function casts_away_constness
_casts_away_constness:                  ## @casts_away_constness
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_build_pointer_type
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_TREE_TYPE
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %edi
	callq	_build_pointer_type
	movl	%eax, %r14d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_TREE_CODE
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_TREE_CODE
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_TREE_TYPE
	movl	%eax, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_TYPE_PTRMEM_P
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_TYPE_PTRMEM_P
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_TYPE_PTRMEM_POINTED_TO_TYPE
	movl	%eax, %edi
	callq	_build_pointer_type
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_TYPE_PTRMEM_POINTED_TO_TYPE
	jmp	LBB0_5
LBB0_9:
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_POINTER_TYPE@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	cmpq	(%r12), %rax
	jne	LBB0_12
## %bb.10:
	movl	%r14d, %edi
	callq	_TREE_CODE
	cmpq	(%r12), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %edi
	callq	_TYPE_MAIN_VARIANT
	movl	%eax, -40(%rbp)
	movl	%r14d, %edi
	callq	_TYPE_MAIN_VARIANT
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	callq	_casts_away_constness_r
	movl	-36(%rbp), %edi
	movl	-40(%rbp), %esi
	callq	_can_convert
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
LBB0_12:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REFERENCE_TYPE,8,3             ## @REFERENCE_TYPE
	.comm	_POINTER_TYPE,8,3               ## @POINTER_TYPE
	.no_dead_strip	_casts_away_constness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function casts_away_constness
_casts_away_constness:                  ; @casts_away_constness
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _REFERENCE_TYPE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REFERENCE_TYPE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_build_pointer_type
	mov	x19, x0
	mov	x0, x20
	bl	_TREE_TYPE
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_build_pointer_type
	mov	x20, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_TREE_TYPE
	mov	x19, x0
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_TYPE_PTRMEM_P
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_TYPE_PTRMEM_P
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_TYPE_PTRMEM_POINTED_TO_TYPE
	bl	_build_pointer_type
	mov	x19, x0
	mov	x0, x20
	bl	_TYPE_PTRMEM_POINTED_TO_TYPE
	b	LBB0_2
LBB0_9:
	mov	x0, x19
	bl	_TREE_CODE
Lloh2:
	adrp	x21, _POINTER_TYPE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _POINTER_TYPE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_TYPE_MAIN_VARIANT
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_TYPE_MAIN_VARIANT
	str	w0, [sp, #8]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_casts_away_constness_r
	ldp	w0, w1, [sp, #8]
	bl	_can_convert
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_REFERENCE_TYPE,8,3             ; @REFERENCE_TYPE
	.comm	_POINTER_TYPE,8,3               ; @POINTER_TYPE
	.no_dead_strip	_casts_away_constness
.subsections_via_symbols
