	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_path_init_savefile             ## -- Begin function path_init_savefile
	.p2align	4, 0x90
_path_init_savefile:                    ## @path_init_savefile
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RARCH_CTL_IS_SRAM_USED@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_rarch_ctl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RARCH_CTL_IS_SRAM_SAVE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_2:
	movq	_rarch_use_sram@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_CMD_EVENT_AUTOSAVE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_command_event                  ## TAILCALL
LBB0_3:
	movq	_MSG_SRAM_WILL_NOT_BE_SAVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RARCH_LOG                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_CTL_IS_SRAM_USED,4,2     ## @RARCH_CTL_IS_SRAM_USED
	.comm	_RARCH_CTL_IS_SRAM_SAVE_DISABLED,4,2 ## @RARCH_CTL_IS_SRAM_SAVE_DISABLED
	.comm	_rarch_use_sram,4,2             ## @rarch_use_sram
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_MSG_SRAM_WILL_NOT_BE_SAVED,4,2 ## @MSG_SRAM_WILL_NOT_BE_SAVED
	.comm	_CMD_EVENT_AUTOSAVE_INIT,4,2    ## @CMD_EVENT_AUTOSAVE_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_path_init_savefile             ; -- Begin function path_init_savefile
	.p2align	2
_path_init_savefile:                    ; @path_init_savefile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _RARCH_CTL_IS_SRAM_USED@GOTPAGE
Lloh1:
	ldr	x19, [x19, _RARCH_CTL_IS_SRAM_USED@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, #0
	bl	_rarch_ctl
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _RARCH_CTL_IS_SRAM_SAVE_DISABLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RARCH_CTL_IS_SRAM_SAVE_DISABLED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	cmp	x0, #0
	cset	w8, eq
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh5:
	adrp	x9, _rarch_use_sram@GOTPAGE
Lloh6:
	ldr	x9, [x9, _rarch_use_sram@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
	ldr	w0, [x19]
	mov	x1, #0
	bl	_rarch_ctl
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _CMD_EVENT_AUTOSAVE_INIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMD_EVENT_AUTOSAVE_INIT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_command_event
LBB0_5:
Lloh11:
	adrp	x8, _MSG_SRAM_WILL_NOT_BE_SAVED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_SRAM_WILL_NOT_BE_SAVED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RARCH_LOG
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_CTL_IS_SRAM_USED,4,2     ; @RARCH_CTL_IS_SRAM_USED
	.comm	_RARCH_CTL_IS_SRAM_SAVE_DISABLED,4,2 ; @RARCH_CTL_IS_SRAM_SAVE_DISABLED
	.comm	_rarch_use_sram,4,2             ; @rarch_use_sram
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_MSG_SRAM_WILL_NOT_BE_SAVED,4,2 ; @MSG_SRAM_WILL_NOT_BE_SAVED
	.comm	_CMD_EVENT_AUTOSAVE_INIT,4,2    ; @CMD_EVENT_AUTOSAVE_INIT
.subsections_via_symbols
