	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_static_cast              ## -- Begin function build_static_cast
	.p2align	4, 0x90
_build_static_cast:                     ## @build_static_cast
	.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
	movq	_error_mark_node@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	%rdi, %rax
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	cmpq	%rsi, %rax
	je	LBB0_9
## %bb.2:
	movq	%rdi, %r14
	movq	_processing_template_decl@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.10:
	movq	_STATIC_CAST_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_build_min
	movl	$1, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_convert_from_reference         ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_TREE_CODE
	movq	_REFERENCE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_NOP_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	callq	_TREE_TYPE
	cmpq	%rax, %r15
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
LBB0_7:
	leaq	-36(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_build_static_cast_1
	cmpl	$0, -36(%rbp)
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_error
	movq	(%r12), %rax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_processing_template_decl,8,3   ## @processing_template_decl
	.comm	_STATIC_CAST_EXPR,4,2           ## @STATIC_CAST_EXPR
	.comm	_REFERENCE_TYPE,8,3             ## @REFERENCE_TYPE
	.comm	_NOP_EXPR,8,3                   ## @NOP_EXPR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid static_cast from type %qT to type %qT"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_static_cast              ; -- Begin function build_static_cast
	.p2align	2
_build_static_cast:                     ; @build_static_cast
	.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	x19, x0
Lloh0:
	adrp	x22, _error_mark_node@GOTPAGE
Lloh1:
	ldr	x22, [x22, _error_mark_node@GOTPAGEOFF]
	ldr	x0, [x22]
	cmp	x0, x19
	ccmp	x0, x1, #4, ne
	b.ne	LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x20, x1
Lloh2:
	adrp	x8, _processing_template_decl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _processing_template_decl@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _STATIC_CAST_EXPR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STATIC_CAST_EXPR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x20
	bl	_build_min
	mov	w0, #1
	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
	b	_convert_from_reference
LBB0_4:
	mov	x0, x19
	bl	_TREE_CODE
Lloh8:
	adrp	x8, _REFERENCE_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REFERENCE_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_TREE_CODE
Lloh11:
	adrp	x8, _NOP_EXPR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NOP_EXPR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_TREE_TYPE
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	bl	_TREE_TYPE
	cmp	x21, x0
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x20, x0
LBB0_8:
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_build_static_cast_1
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_1
; %bb.9:
	mov	x0, x20
	bl	_TREE_TYPE
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_error
	ldr	x0, [x22]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_processing_template_decl,8,3   ; @processing_template_decl
	.comm	_STATIC_CAST_EXPR,4,2           ; @STATIC_CAST_EXPR
	.comm	_REFERENCE_TYPE,8,3             ; @REFERENCE_TYPE
	.comm	_NOP_EXPR,8,3                   ; @NOP_EXPR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid static_cast from type %qT to type %qT"

.subsections_via_symbols
