	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_cast
_check_cast:                            ## @check_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_get_canon_type
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_get_canon_type
	testq	%r12, %r12
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	cmpq	%r15, %r12
	je	LBB0_11
## %bb.3:
	movq	%r15, %rdi
	callq	_ipa_type_escape_star_count_of_interesting_type
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_ipa_type_escape_star_count_of_interesting_type
	testq	%rbx, %rbx
	js	LBB0_10
## %bb.4:
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_check_cast_type
	cmpl	$130, %eax
	jne	LBB0_11
## %bb.6:
	movq	_FULL_ESCAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mark_type
	movq	%r12, %r15
	jmp	LBB0_9
LBB0_10:
	movq	%r12, %r15
	testq	%rax, %rax
	jns	LBB0_9
	jmp	LBB0_11
LBB0_7:
	movq	%r14, %rdi
	callq	_DECL_P
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_results_of_malloc@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_DECL_UID
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_bitmap_bit_p
	testl	%eax, %eax
	je	LBB0_9
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_FULL_ESCAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mark_type                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FULL_ESCAPE,4,2                ## @FULL_ESCAPE
	.comm	_results_of_malloc,4,2          ## @results_of_malloc
	.no_dead_strip	_check_cast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_cast
_check_cast:                            ; @check_cast
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x0, x1
	bl	_TREE_TYPE
	mov	w1, #0
	mov	w2, #0
	bl	_get_canon_type
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_get_canon_type
	cbz	x21, LBB0_10
; %bb.1:
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.2:
	cmp	x21, x19
	b.eq	LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_ipa_type_escape_star_count_of_interesting_type
	mov	x22, x0
	mov	x0, x21
	bl	_ipa_type_escape_star_count_of_interesting_type
	tbnz	x22, #63, LBB0_7
; %bb.4:
	tbnz	x0, #63, LBB0_8
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	bl	_check_cast_type
	cmp	w0, #130
	b.ne	LBB0_10
; %bb.6:
Lloh0:
	adrp	x8, _FULL_ESCAPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FULL_ESCAPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mark_type
	mov	x19, x21
	b	LBB0_11
LBB0_7:
	mov	x19, x21
	tbz	x0, #63, LBB0_11
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_DECL_P
	cbz	x0, LBB0_10
; %bb.9:
Lloh3:
	adrp	x8, _results_of_malloc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _results_of_malloc@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_DECL_UID
	mov	x1, x0
	mov	x0, x21
	bl	_bitmap_bit_p
	cbz	w0, LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh6:
	adrp	x8, _FULL_ESCAPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FULL_ESCAPE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mark_type
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FULL_ESCAPE,4,2                ; @FULL_ESCAPE
	.comm	_results_of_malloc,4,2          ; @results_of_malloc
	.no_dead_strip	_check_cast
.subsections_via_symbols
