	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_kext_index_vget
_r_kext_index_vget:                     ## @r_kext_index_vget
	.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), %eax
	leal	-1(%rax), %r9d
	xorl	%r10d, %r10d
	movq	8(%rdi), %r8
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.1:
	xorl	%r10d, %r10d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%edi
	movl	%edi, %r10d
	cmpl	%r9d, %r10d
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%r9), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movslq	%edi, %rax
	movq	(%r8,%rax,8), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	leaq	(%rax,%rcx), %rdx
	cmpq	%rsi, %rdx
	jle	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rsi, %rcx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	je	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %r9d
	cmpl	%r9d, %r10d
	jl	LBB0_4
LBB0_9:
	cmpl	%r10d, %r9d
	jne	LBB0_12
## %bb.10:
	movslq	%r10d, %rax
	movq	(%r8,%rax,8), %rax
	movq	(%rax), %rcx
	cmpq	%rsi, %rcx
	jg	LBB0_12
## %bb.11:
	addq	8(%rax), %rcx
	cmpq	%rsi, %rcx
	jg	LBB0_13
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r_kext_index_vget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_kext_index_vget
_r_kext_index_vget:                     ; @r_kext_index_vget
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	sub	w9, w10, #1
	ldr	x8, [x0, #8]
	cmp	w10, #2
	b.lt	LBB0_6
; %bb.1:
	mov	w10, #0
	mov	x11, x9
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w9, #1
	mov	x9, x11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x9
	cmp	w10, w9
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w10, w11
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	ldr	x13, [x8, w9, sxtw #3]
	ldp	x12, x13, [x13]
	add	x14, x13, x12
	cmp	x14, x1
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x1
	ccmp	x13, #0, #0, eq
	b.eq	LBB0_2
	b	LBB0_3
LBB0_6:
	mov	w10, #0
LBB0_7:
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.8:
	ldr	x0, [x8, w10, sxtw #3]
	ldr	x8, [x0]
	cmp	x8, x1
	b.gt	LBB0_10
; %bb.9:
	ldr	x9, [x0, #8]
	add	x8, x9, x8
	cmp	x8, x1
	b.gt	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r_kext_index_vget
.subsections_via_symbols
