	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function partition_idx_cmp
_partition_idx_cmp:                     ## @partition_idx_cmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	subl	%esi, %ecx
	xorl	%r8d, %r8d
	testl	%ecx, %ecx
	cmovgl	%ecx, %r8d
	jle	LBB0_3
## %bb.1:
	movslq	%esi, %rsi
	movq	8(%rdi), %rdi
	movq	(%rdx), %rdx
	movq	(%rdx), %rax
	cmpq	%rax, (%rdi,%rsi,8)
	jge	LBB0_4
LBB0_3:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %eax
	jg	LBB0_11
## %bb.5:
	cmpl	$1, %r8d
	je	LBB0_9
## %bb.6:
	movq	8(%rdx), %rdx
	cmpq	%rdx, 8(%rdi,%rsi,8)
	jl	LBB0_3
## %bb.8:
	jg	LBB0_11
LBB0_9:
	movl	$-1, %eax
	cmpl	$2, %ecx
	jb	LBB0_11
## %bb.10:
	setne	%al
	movzbl	%al, %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_partition_idx_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function partition_idx_cmp
_partition_idx_cmp:                     ; @partition_idx_cmp
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0]
	sub	w8, w8, w1
	cmp	w8, #0
	csel	w10, w8, wzr, gt
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	sxtw	x9, w1
	ldr	x11, [x0, #8]
	ldr	x13, [x11, x9, lsl #3]
	ldr	x12, [x2]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #-1
	ret
LBB0_3:
	b.le	LBB0_5
LBB0_4:
	mov	w0, #1
	ret
LBB0_5:
	cmp	w10, #1
	b.eq	LBB0_8
; %bb.6:
	add	x9, x11, x9, lsl #3
	ldr	x9, [x9, #8]
	ldr	x10, [x12, #8]
	cmp	x9, x10
	b.lt	LBB0_2
; %bb.7:
	b.gt	LBB0_4
LBB0_8:
	mov	w9, #-1
	cmp	w8, #2
	cset	w8, ne
	csel	w0, w9, w8, lo
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_partition_idx_cmp
.subsections_via_symbols
