	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetCartridgePath               ## -- Begin function GetCartridgePath
	.p2align	4, 0x90
_GetCartridgePath:                      ## @GetCartridgePath
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_yvm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	_JNI_VERSION_1_6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-24(%rbp), %rsi
	callq	*(%rax)
	movq	_JNI_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	-24(%rbp), %rdi
	movq	(%rdi), %rax
	movq	_yabause@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	*32(%rax)
	movq	-24(%rbp), %rdi
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movl	%eax, %esi
	callq	*24(%rbx)
	movq	-24(%rbp), %rdi
	movq	(%rdi), %rcx
	movl	(%r14), %esi
	movl	%eax, %edx
	callq	*16(%rcx)
	movl	%eax, %ebx
	movq	-24(%rbp), %rdi
	movq	(%rdi), %rax
	movl	%ebx, %esi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	-24(%rbp), %rdi
	movq	(%rdi), %rax
	leaq	-28(%rbp), %rdx
	movl	%ebx, %esi
	callq	*8(%rax)
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yvm,8,3                        ## @yvm
	.comm	_JNI_VERSION_1_6,4,2            ## @JNI_VERSION_1_6
	.comm	_JNI_OK,8,3                     ## @JNI_OK
	.comm	_yabause,4,2                    ## @yabause
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getCartridgePath"

L_.str.1:                               ## @.str.1
	.asciz	"()Ljava/lang/String;"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetCartridgePath               ; -- Begin function GetCartridgePath
	.p2align	2
_GetCartridgePath:                      ; @GetCartridgePath
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _yvm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yvm@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _JNI_VERSION_1_6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JNI_VERSION_1_6@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	mov	x1, sp
	blr	x8
Lloh6:
	adrp	x8, _JNI_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JNI_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [sp]
	ldr	x8, [x0]
	ldr	x8, [x8, #32]
Lloh9:
	adrp	x19, _yabause@GOTPAGE
Lloh10:
	ldr	x19, [x19, _yabause@GOTPAGEOFF]
	ldr	w1, [x19]
	blr	x8
	mov	x1, x0
	ldr	x0, [sp]
	ldr	x8, [x0]
	ldr	x8, [x8, #24]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	blr	x8
	mov	x2, x0
	ldr	x0, [sp]
	ldr	x8, [x0]
	ldr	x8, [x8, #16]
	ldr	w1, [x19]
	blr	x8
	mov	x19, x0
	ldr	x0, [sp]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [sp]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	add	x2, sp, #12
	mov	x1, x19
	blr	x8
	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
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_yvm,8,3                        ; @yvm
	.comm	_JNI_VERSION_1_6,4,2            ; @JNI_VERSION_1_6
	.comm	_JNI_OK,8,3                     ; @JNI_OK
	.comm	_yabause,4,2                    ; @yabause
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getCartridgePath"

l_.str.1:                               ; @.str.1
	.asciz	"()Ljava/lang/String;"

.subsections_via_symbols
