	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_getpath                     ## -- Begin function jv_getpath
	.p2align	4, 0x90
_jv_getpath:                            ## @jv_getpath
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	movl	%esi, %edi
	callq	_jv_get_kind
	movq	_JV_KIND_ARRAY@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_jv_is_valid
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_array_length
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_jv_array_get
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_array_length
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_jv_array_slice
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_jv_get
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_jv_get_kind
	cmpq	(%r12), %rax
	je	LBB0_2
LBB0_5:
	movl	%r14d, %edi
	callq	_jv_free
	movl	%ebx, %edi
	callq	_jv_free
	leaq	L_.str(%rip), %rdi
	callq	_jv_string
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jv_invalid_with_msg            ## TAILCALL
LBB0_6:
	movl	%ebx, %edi
	callq	_jv_free
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_ARRAY,8,3              ## @JV_KIND_ARRAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Path must be specified as an array"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_getpath                     ; -- Begin function jv_getpath
	.p2align	2
_jv_getpath:                            ; @jv_getpath
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_jv_get_kind
Lloh0:
	adrp	x22, _JV_KIND_ARRAY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _JV_KIND_ARRAY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_jv_is_valid
	cbz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_array_length
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_jv_copy
	mov	w1, #0
	bl	_jv_array_get
	mov	x21, x0
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_array_length
	mov	x2, x0
	mov	x0, x20
	mov	w1, #1
	bl	_jv_array_slice
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_jv_get
	mov	x19, x0
	mov	x0, x20
	bl	_jv_get_kind
	b	LBB0_1
LBB0_5:
	mov	x0, x19
	bl	_jv_free
	mov	x0, x20
	bl	_jv_free
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_jv_string
	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
	b	_jv_invalid_with_msg
LBB0_6:
	mov	x0, x20
	bl	_jv_free
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_ARRAY,8,3              ; @JV_KIND_ARRAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Path must be specified as an array"

.subsections_via_symbols
