	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_cast_type
_check_cast_type:                       ## @check_cast_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, -24(%rbp)
	movq	%rsi, -16(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_count_stars
	movl	%eax, %ebx
	leaq	-16(%rbp), %rdi
	callq	_count_stars
	cmpl	%eax, %ebx
	jne	LBB0_7
## %bb.1:
	movq	-24(%rbp), %rdi
	movq	-16(%rbp), %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	_CT_USELESS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	callq	_parent_type_p
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_CT_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	-16(%rbp), %rdi
	movq	-24(%rbp), %rsi
	callq	_parent_type_p
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	movq	_CT_SIDEWAYS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	_CT_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_SIDEWAYS,4,2                ## @CT_SIDEWAYS
	.comm	_CT_USELESS,4,2                 ## @CT_USELESS
	.comm	_CT_UP,4,2                      ## @CT_UP
	.comm	_CT_DOWN,4,2                    ## @CT_DOWN
	.no_dead_strip	_check_cast_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_cast_type
_check_cast_type:                       ; @check_cast_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	stp	x1, x0, [sp]
	add	x0, sp, #8
	bl	_count_stars
	mov	x19, x0
	mov	x0, sp
	bl	_count_stars
Lloh0:
	adrp	x20, _CT_SIDEWAYS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CT_SIDEWAYS@GOTPAGEOFF]
	cmp	w19, w0
	b.ne	LBB0_6
; %bb.1:
	ldp	x1, x0, [sp]
	cmp	x0, x1
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x20, _CT_USELESS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CT_USELESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	bl	_parent_type_p
	cbz	x0, LBB0_5
; %bb.4:
Lloh4:
	adrp	x20, _CT_UP@GOTPAGE
Lloh5:
	ldr	x20, [x20, _CT_UP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldp	x0, x1, [sp]
	bl	_parent_type_p
Lloh6:
	adrp	x8, _CT_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CT_DOWN@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x20, x8, eq
LBB0_6:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_SIDEWAYS,4,2                ; @CT_SIDEWAYS
	.comm	_CT_USELESS,4,2                 ; @CT_USELESS
	.comm	_CT_UP,4,2                      ; @CT_UP
	.comm	_CT_DOWN,4,2                    ; @CT_DOWN
	.no_dead_strip	_check_cast_type
.subsections_via_symbols
