	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jvp_array_read
_jvp_array_read:                        ## @jvp_array_read
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_JV_KIND_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_JVP_HAS_KIND
	movl	%eax, %edi
	callq	_assert
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.1:
	movl	%ebx, %edi
	callq	_jvp_array_length
	cmpl	%r14d, %eax
	jle	LBB0_4
## %bb.2:
	movl	%ebx, %edi
	callq	_jvp_array_ptr
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_jvp_array_offset
	addl	%r14d, %eax
	xorl	%edi, %edi
	cmpl	(%r15), %eax
	setl	%dil
	callq	_assert
	movq	8(%r15), %r15
	movl	%ebx, %edi
	callq	_jvp_array_offset
	addl	%r14d, %eax
	cltq
	leaq	(%r15,%rax,4), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_ARRAY,4,2              ## @JV_KIND_ARRAY
	.no_dead_strip	_jvp_array_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jvp_array_read
_jvp_array_read:                        ; @jvp_array_read
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _JV_KIND_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JV_KIND_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_JVP_HAS_KIND
	bl	_assert
	tbnz	w19, #31, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_jvp_array_length
	cmp	w0, w19
	b.le	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_jvp_array_ptr
	mov	x21, x0
	mov	x0, x20
	bl	_jvp_array_offset
	ldr	w8, [x21]
	add	w9, w0, w19
	cmp	w9, w8
	cset	w0, lt
	bl	_assert
	ldr	x21, [x21, #8]
	mov	x0, x20
	bl	_jvp_array_offset
	add	w8, w0, w19
	add	x0, x21, w8, sxtw #2
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_ARRAY,4,2              ; @JV_KIND_ARRAY
	.no_dead_strip	_jvp_array_read
.subsections_via_symbols
