	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_cmp                   ## -- Begin function ctf_type_cmp
	.p2align	4, 0x90
_ctf_type_cmp:                          ## @ctf_type_cmp
	.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
	xorl	%eax, %eax
	cmpq	%rcx, %rsi
	setg	%al
	movl	$-1, %ebx
	cmovgel	%eax, %ebx
	cmpq	%rdx, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_CTF_TYPE_ISPARENT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r12
LBB0_3:
	movq	%r15, %rdi
	callq	_CTF_TYPE_ISPARENT
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r14
LBB0_5:
	movl	$-1, %eax
	cmpq	%r14, %r12
	jb	LBB0_8
## %bb.6:
	movl	$1, %eax
	cmoval	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_cmp                   ; -- Begin function ctf_type_cmp
	.p2align	2
_ctf_type_cmp:                          ; @ctf_type_cmp
	.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
	cmp	x1, x3
	cset	w8, gt
	csinv	w19, w8, wzr, ge
	cmp	x0, x2
	b.eq	LBB0_6
; %bb.1:
	mov	x22, x3
	mov	x20, x2
	mov	x21, x0
	mov	x0, x1
	bl	_CTF_TYPE_ISPARENT
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	cmp	x8, #0
	csel	x21, x21, x8, eq
LBB0_3:
	mov	x0, x22
	bl	_CTF_TYPE_ISPARENT
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20]
	cmp	x8, #0
	csel	x20, x20, x8, eq
LBB0_5:
	mov	w8, #-1
	cmp	x21, x20
	csinc	w9, w19, wzr, ls
	csel	w19, w8, w9, lo
LBB0_6:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
