	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_const_cast_1
_build_const_cast_1:                    ## @build_const_cast_1
	.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
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_error_mark_node@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	%rbx, (%r14)
	setne	%dil
	callq	_gcc_assert
	movq	_processing_template_decl@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_gcc_assert
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	$0, (%r15)
LBB0_2:
	movq	%rbx, %rdi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_TYPE_PTRMEM_P
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_FUNCTION_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	testl	%r12d, %r12d
	je	LBB0_32
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_10:
	movq	%rbx, %rdi
	callq	_used_types_insert
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r13, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r13
LBB0_12:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r14), %rax
	jne	LBB0_18
## %bb.13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_real_lvalue_p
	testl	%eax, %eax
	je	LBB0_14
## %bb.17:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_build_pointer_type
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_build_pointer_type
	movq	%rax, %r13
	movq	_error_mark_node@GOTPCREL(%rip), %r14
	jmp	LBB0_19
LBB0_18:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r13, %rdi
	callq	_type_decays_to
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movq	_error_mark_node@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_33
LBB0_19:
	movq	%r13, %rdi
	callq	_TYPE_PTR_P
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movq	%r13, %rdi
	callq	_TYPE_PTRMEM_P
	testq	%rax, %rax
	je	LBB0_30
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_comp_ptr_ttypes_const
	testq	%rax, %rax
	je	LBB0_30
## %bb.22:
	testq	%r15, %r15
	je	LBB0_25
## %bb.23:
	movl	$1, (%r15)
	movq	_warn_cast_qual@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.24:
	movq	_warning0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_check_for_casting_away_constness
LBB0_25:
	testq	%rbx, %rbx
	je	LBB0_26
## %bb.34:
	movq	_ADDR_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_build_unary_op
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_build_nop
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_convert_from_reference         ## TAILCALL
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_32
## %bb.5:
	leaq	L_.str(%rip), %rdi
LBB0_6:
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_32:
	movq	(%r14), %r13
LBB0_33:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	testl	%r12d, %r12d
	je	LBB0_32
## %bb.31:
	leaq	L_.str.4(%rip), %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_32
LBB0_14:
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_16:
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_33
LBB0_26:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_decay_conversion
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_NOP_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.27:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	callq	_TREE_TYPE
	cmpq	%rax, %r14
	jne	LBB0_29
## %bb.28:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
LBB0_29:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_nop                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_processing_template_decl,4,2   ## @processing_template_decl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid use of const_cast with type %qT, which is not a pointer, reference, nor a pointer-to-data-member type"

	.comm	_FUNCTION_TYPE,8,3              ## @FUNCTION_TYPE
L_.str.1:                               ## @.str.1
	.asciz	"invalid use of const_cast with type %qT, which is a pointer or reference to a function type"

	.comm	_REFERENCE_TYPE,8,3             ## @REFERENCE_TYPE
L_.str.2:                               ## @.str.2
	.asciz	"invalid const_cast of an rvalue of type %qT to type %qT"

	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_warn_cast_qual,8,3             ## @warn_cast_qual
	.comm	_warning0,4,2                   ## @warning0
L_.str.3:                               ## @.str.3
	.asciz	"cast"

	.comm	_ADDR_EXPR,4,2                  ## @ADDR_EXPR
	.comm	_NOP_EXPR,8,3                   ## @NOP_EXPR
L_.str.4:                               ## @.str.4
	.asciz	"invalid const_cast from type %qT to type %qT"

	.no_dead_strip	_build_const_cast_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_const_cast_1
_build_const_cast_1:                    ; @build_const_cast_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _error_mark_node@GOTPAGE
Lloh1:
	ldr	x25, [x25, _error_mark_node@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, x0
	cset	w0, ne
	bl	_gcc_assert
Lloh2:
	adrp	x8, _processing_template_decl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _processing_template_decl@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_gcc_assert
	cbz	x21, LBB0_2
; %bb.1:
	str	wzr, [x21]
LBB0_2:
	mov	x0, x19
	bl	_POINTER_TYPE_P
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_TYPE_PTRMEM_P
	cbz	x0, LBB0_22
LBB0_4:
	mov	x0, x19
	bl	_TREE_TYPE
	bl	_TREE_CODE
Lloh5:
	adrp	x8, _FUNCTION_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FUNCTION_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	cbz	w22, LBB0_30
; %bb.6:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	b	LBB0_29
LBB0_7:
	mov	x0, x19
	bl	_used_types_insert
	mov	x0, x20
	bl	_TREE_TYPE
	mov	x24, x0
	bl	_TREE_CODE
Lloh10:
	adrp	x23, _REFERENCE_TYPE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _REFERENCE_TYPE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x24
	bl	_TREE_TYPE
	mov	x24, x0
LBB0_9:
	mov	x0, x19
	bl	_TREE_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_real_lvalue_p
	cbz	w0, LBB0_26
; %bb.11:
	mov	x0, x19
	bl	_TREE_TYPE
	bl	_build_pointer_type
	mov	x23, x0
	mov	x0, x24
	bl	_build_pointer_type
	mov	x24, x0
	b	LBB0_14
LBB0_12:
Lloh12:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh14:
	ldr	x26, [x8]
	mov	x0, x24
	bl	_type_decays_to
	mov	x24, x0
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_31
; %bb.13:
	mov	x23, x19
	mov	x19, x26
LBB0_14:
	mov	x0, x24
	bl	_TYPE_PTR_P
	cbnz	x0, LBB0_16
; %bb.15:
	mov	x0, x24
	bl	_TYPE_PTRMEM_P
	cbz	x0, LBB0_24
LBB0_16:
	mov	x0, x23
	mov	x1, x24
	bl	_comp_ptr_ttypes_const
	cbz	x0, LBB0_24
; %bb.17:
	cbz	x21, LBB0_20
; %bb.18:
	mov	w8, #1
	str	w8, [x21]
Lloh15:
	adrp	x8, _warn_cast_qual@GOTPAGE
Lloh16:
	ldr	x8, [x8, _warn_cast_qual@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
Lloh18:
	adrp	x8, _warning0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _warning0@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x3, l_.str.3@PAGE
Lloh22:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	bl	_check_for_casting_away_constness
LBB0_20:
	cbz	x19, LBB0_32
; %bb.21:
Lloh23:
	adrp	x8, _ADDR_EXPR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ADDR_EXPR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_build_unary_op
	mov	x1, x0
	mov	x0, x19
	bl	_build_nop
	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
	add	sp, sp, #96
	b	_convert_from_reference
LBB0_22:
	cbz	w22, LBB0_30
; %bb.23:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	b	LBB0_29
LBB0_24:
	cbz	w22, LBB0_30
; %bb.25:
	str	x23, [sp]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_28
LBB0_26:
	cbz	w22, LBB0_30
; %bb.27:
	str	x19, [sp]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_28:
	mov	x1, x24
LBB0_29:
	bl	_error
LBB0_30:
	ldr	x24, [x25]
LBB0_31:
	mov	x0, x24
	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
	add	sp, sp, #96
	ret
LBB0_32:
	mov	x0, x20
	bl	_decay_conversion
	mov	x19, x0
	bl	_TREE_CODE
Lloh32:
	adrp	x8, _NOP_EXPR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NOP_EXPR@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.33:
	mov	x0, x19
	bl	_TREE_TYPE
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_TREE_OPERAND
	bl	_TREE_TYPE
	cmp	x20, x0
	b.ne	LBB0_35
; %bb.34:
	mov	x0, x19
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x19, x0
LBB0_35:
	mov	x0, x23
	mov	x1, x19
	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
	add	sp, sp, #96
	b	_build_nop
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_processing_template_decl,4,2   ; @processing_template_decl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid use of const_cast with type %qT, which is not a pointer, reference, nor a pointer-to-data-member type"

	.comm	_FUNCTION_TYPE,8,3              ; @FUNCTION_TYPE
l_.str.1:                               ; @.str.1
	.asciz	"invalid use of const_cast with type %qT, which is a pointer or reference to a function type"

	.comm	_REFERENCE_TYPE,8,3             ; @REFERENCE_TYPE
l_.str.2:                               ; @.str.2
	.asciz	"invalid const_cast of an rvalue of type %qT to type %qT"

	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_warn_cast_qual,8,3             ; @warn_cast_qual
	.comm	_warning0,4,2                   ; @warning0
l_.str.3:                               ; @.str.3
	.asciz	"cast"

	.comm	_ADDR_EXPR,4,2                  ; @ADDR_EXPR
	.comm	_NOP_EXPR,8,3                   ; @NOP_EXPR
l_.str.4:                               ; @.str.4
	.asciz	"invalid const_cast from type %qT to type %qT"

	.no_dead_strip	_build_const_cast_1
.subsections_via_symbols
