	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function path_set_redirect
_path_set_redirect:                     ## @path_set_redirect
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	movl	%r12d, %edi
	callq	_malloc
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, %r15
	movq	_RARCH_DIR_SAVEFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dir_get
	movq	%rax, %r13
	movq	_RARCH_DIR_SAVESTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dir_get
	movq	%rax, %rbx
	movq	_configuration_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movb	$0, (%r15)
	movb	$0, (%r14)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	movq	_runloop_system@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_1
LBB0_11:
	movq	%r14, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_14
LBB0_13:
	movq	_path_main_basename@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_strlcpy
	movq	%r14, %rdi
	callq	_path_basedir
LBB0_14:
	movq	%r15, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_17
LBB0_16:
	movq	_path_main_basename@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	callq	_path_basedir
LBB0_17:
	movq	%r14, %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_g_extern@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_strlcpy
LBB0_19:
	movq	%r15, %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_g_extern@GOTPCREL(%rip), %rax
	movq	8(%rax), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strlcpy
LBB0_21:
	movq	_g_extern@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	je	LBB0_27
## %bb.22:
	movq	(%r12), %rbx
	movq	_path_main_basename@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	movq	_runloop_system@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_26
LBB0_25:
	movq	(%r13), %rsi
LBB0_26:
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_fill_pathname_dir
	movq	_MSG_REDIRECTING_SAVEFILE_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	(%r12), %rdx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
LBB0_27:
	movq	8(%r12), %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	je	LBB0_33
## %bb.28:
	movq	8(%r12), %rbx
	movq	_path_main_basename@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	movq	_runloop_system@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_32
LBB0_31:
	movq	(%r13), %rsi
LBB0_32:
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_fill_pathname_dir
	movq	_MSG_REDIRECTING_SAVESTATE_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	8(%r12), %rdx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
LBB0_33:
	movq	16(%r12), %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	je	LBB0_38
## %bb.34:
	movq	16(%r12), %rbx
	movq	_path_main_basename@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_35
## %bb.36:
	movq	(%r13), %rsi
	jmp	LBB0_37
LBB0_1:
	movslq	%r12d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 24(%rax)
	je	LBB0_6
## %bb.2:
	movq	%r13, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_runloop_system@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_fill_pathname_join
	movq	%r14, %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_path_mkdir
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_MSG_REVERTING_SAVEFILE_DIRECTORY_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_RARCH_LOG
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_11
## %bb.7:
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	_runloop_system@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_fill_pathname_join
	movq	%r15, %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_path_mkdir
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_MSG_REVERTING_SAVESTATE_DIRECTORY_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_RARCH_LOG
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	jmp	LBB0_11
LBB0_35:
	leaq	L_.str.1(%rip), %rsi
LBB0_37:
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_fill_pathname_dir
	movq	_MSG_REDIRECTING_CHEATFILE_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	16(%r12), %rdx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
LBB0_38:
	movq	_RARCH_DIR_CURRENT_SAVEFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_dir_set
	movq	_RARCH_DIR_CURRENT_SAVESTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_dir_set
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_g_extern,24,3                  ## @g_extern
	.comm	_RARCH_DIR_SAVEFILE,4,2         ## @RARCH_DIR_SAVEFILE
	.comm	_RARCH_DIR_SAVESTATE,4,2        ## @RARCH_DIR_SAVESTATE
	.comm	_runloop_system,8,3             ## @runloop_system
	.comm	_configuration_settings,8,3     ## @configuration_settings
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s\n"

	.comm	_MSG_REVERTING_SAVEFILE_DIRECTORY_TO,4,2 ## @MSG_REVERTING_SAVEFILE_DIRECTORY_TO
	.comm	_MSG_REVERTING_SAVESTATE_DIRECTORY_TO,4,2 ## @MSG_REVERTING_SAVESTATE_DIRECTORY_TO
	.comm	_path_main_basename,8,3         ## @path_main_basename
L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	".srm"

L_.str.3:                               ## @.str.3
	.asciz	"%s \"%s\".\n"

	.comm	_MSG_REDIRECTING_SAVEFILE_TO,4,2 ## @MSG_REDIRECTING_SAVEFILE_TO
L_.str.4:                               ## @.str.4
	.asciz	".state"

	.comm	_MSG_REDIRECTING_SAVESTATE_TO,4,2 ## @MSG_REDIRECTING_SAVESTATE_TO
	.comm	_MSG_REDIRECTING_CHEATFILE_TO,4,2 ## @MSG_REDIRECTING_CHEATFILE_TO
	.comm	_RARCH_DIR_CURRENT_SAVEFILE,4,2 ## @RARCH_DIR_CURRENT_SAVEFILE
	.comm	_RARCH_DIR_CURRENT_SAVESTATE,4,2 ## @RARCH_DIR_CURRENT_SAVESTATE
	.comm	_MENU_ENUM_LABEL_VALUE_NO_CORE,4,2 ## @MENU_ENUM_LABEL_VALUE_NO_CORE
	.no_dead_strip	_path_set_redirect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function path_set_redirect
_path_set_redirect:                     ; @path_set_redirect
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x20, _PATH_MAX_LENGTH@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w24, [x20]
	sxtw	x21, w24
	mov	x0, x24
	bl	_malloc
	mov	x19, x0
	ldr	w0, [x20]
	bl	_malloc
	mov	x20, x0
Lloh2:
	adrp	x8, _RARCH_DIR_SAVEFILE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RARCH_DIR_SAVEFILE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_dir_get
	mov	x23, x0
Lloh5:
	adrp	x8, _RARCH_DIR_SAVESTATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RARCH_DIR_SAVESTATE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_dir_get
	mov	x22, x0
Lloh8:
	adrp	x8, _configuration_settings@GOTPAGE
Lloh9:
	ldr	x8, [x8, _configuration_settings@GOTPAGEOFF]
Lloh10:
	ldr	x25, [x8]
	strb	wzr, [x20]
	strb	wzr, [x19]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_strlcpy
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_strlcpy
Lloh11:
	adrp	x24, _runloop_system@GOTPAGE
Lloh12:
	ldr	x24, [x24, _runloop_system@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_string_is_empty
	cbz	x0, LBB0_15
LBB0_1:
	mov	x0, x19
	bl	_string_is_empty
Lloh13:
	adrp	x22, _path_main_basename@GOTPAGE
Lloh14:
	ldr	x22, [x22, _path_main_basename@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_4
LBB0_3:
	ldr	x1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_strlcpy
	mov	x0, x19
	bl	_path_basedir
LBB0_4:
	mov	x0, x20
	bl	_string_is_empty
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x25]
	cbz	x8, LBB0_7
LBB0_6:
	ldr	x1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_strlcpy
	mov	x0, x20
	bl	_path_basedir
LBB0_7:
	mov	x0, x19
	bl	_path_is_directory
Lloh15:
	adrp	x23, _g_extern@GOTPAGE
Lloh16:
	ldr	x23, [x23, _g_extern@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x0, [x23]
	mov	x1, x19
	mov	w2, #8
	bl	_strlcpy
LBB0_9:
	mov	x0, x20
	bl	_path_is_directory
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x23, #8]
	mov	x1, x20
	mov	w2, #8
	bl	_strlcpy
LBB0_11:
	ldr	x0, [x23]
	bl	_path_is_directory
	cbz	x0, LBB0_28
; %bb.12:
	ldr	x21, [x23]
	ldr	x0, [x22]
	bl	_string_is_empty
	cbz	x0, LBB0_25
; %bb.13:
	ldr	x0, [x24]
	bl	_string_is_empty
	cbz	x0, LBB0_26
; %bb.14:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_27
LBB0_15:
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_20
; %bb.16:
	mov	x0, x23
	bl	_string_is_empty
	cbnz	x0, LBB0_20
; %bb.17:
	ldr	x2, [x24]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x21
	bl	_fill_pathname_join
	mov	x0, x19
	bl	_path_is_directory
	cbnz	x0, LBB0_20
; %bb.18:
	mov	x0, x19
	bl	_path_mkdir
	cbnz	w0, LBB0_20
; %bb.19:
Lloh19:
	adrp	x8, _MSG_REVERTING_SAVEFILE_DIRECTORY_TO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MSG_REVERTING_SAVEFILE_DIRECTORY_TO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x23
	bl	_RARCH_LOG
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_strlcpy
LBB0_20:
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_1
; %bb.21:
	mov	x0, x22
	bl	_string_is_empty
	cbnz	x0, LBB0_1
; %bb.22:
	ldr	x2, [x24]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_fill_pathname_join
	mov	x0, x20
	bl	_path_is_directory
	cbnz	x0, LBB0_1
; %bb.23:
	mov	x0, x20
	bl	_path_mkdir
	cbnz	w0, LBB0_1
; %bb.24:
Lloh24:
	adrp	x8, _MSG_REVERTING_SAVESTATE_DIRECTORY_TO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSG_REVERTING_SAVESTATE_DIRECTORY_TO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	bl	_RARCH_LOG
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_strlcpy
	b	LBB0_1
LBB0_25:
	ldr	x1, [x22]
	b	LBB0_27
LBB0_26:
	ldr	x1, [x24]
LBB0_27:
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w3, #8
	bl	_fill_pathname_dir
Lloh31:
	adrp	x8, _MSG_REDIRECTING_SAVEFILE_TO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MSG_REDIRECTING_SAVEFILE_TO@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	ldr	x2, [x23]
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RARCH_LOG
LBB0_28:
	ldr	x0, [x23, #8]
	bl	_path_is_directory
	cbz	x0, LBB0_35
; %bb.29:
	ldr	x21, [x23, #8]
	ldr	x0, [x22]
	bl	_string_is_empty
	cbz	x0, LBB0_32
; %bb.30:
	ldr	x0, [x24]
	bl	_string_is_empty
	cbz	x0, LBB0_33
; %bb.31:
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_34
LBB0_32:
	ldr	x1, [x22]
	b	LBB0_34
LBB0_33:
	ldr	x1, [x24]
LBB0_34:
Lloh38:
	adrp	x2, l_.str.4@PAGE
Lloh39:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w3, #8
	bl	_fill_pathname_dir
Lloh40:
	adrp	x8, _MSG_REDIRECTING_SAVESTATE_TO@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MSG_REDIRECTING_SAVESTATE_TO@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	ldr	x2, [x23, #8]
Lloh43:
	adrp	x0, l_.str.3@PAGE
Lloh44:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RARCH_LOG
LBB0_35:
	ldr	x0, [x23, #16]
	bl	_path_is_directory
	cbz	x0, LBB0_37
; %bb.36:
Lloh45:
	adrp	x24, l_.str.1@PAGE
Lloh46:
	add	x24, x24, l_.str.1@PAGEOFF
	ldr	x21, [x23, #16]
	ldr	x0, [x22]
	bl	_string_is_empty
	ldr	x8, [x22]
	cmp	x0, #0
	csel	x1, x8, x24, eq
Lloh47:
	adrp	x2, l_.str.4@PAGE
Lloh48:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w3, #8
	bl	_fill_pathname_dir
Lloh49:
	adrp	x8, _MSG_REDIRECTING_CHEATFILE_TO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MSG_REDIRECTING_CHEATFILE_TO@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	ldr	x2, [x23, #16]
Lloh52:
	adrp	x0, l_.str.3@PAGE
Lloh53:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RARCH_LOG
LBB0_37:
Lloh54:
	adrp	x8, _RARCH_DIR_CURRENT_SAVEFILE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _RARCH_DIR_CURRENT_SAVEFILE@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_dir_set
Lloh57:
	adrp	x8, _RARCH_DIR_CURRENT_SAVESTATE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _RARCH_DIR_CURRENT_SAVESTATE@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_dir_set
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_g_extern,24,3                  ; @g_extern
	.comm	_RARCH_DIR_SAVEFILE,4,2         ; @RARCH_DIR_SAVEFILE
	.comm	_RARCH_DIR_SAVESTATE,4,2        ; @RARCH_DIR_SAVESTATE
	.comm	_runloop_system,8,3             ; @runloop_system
	.comm	_configuration_settings,8,3     ; @configuration_settings
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s\n"

	.comm	_MSG_REVERTING_SAVEFILE_DIRECTORY_TO,4,2 ; @MSG_REVERTING_SAVEFILE_DIRECTORY_TO
	.comm	_MSG_REVERTING_SAVESTATE_DIRECTORY_TO,4,2 ; @MSG_REVERTING_SAVESTATE_DIRECTORY_TO
	.comm	_path_main_basename,8,3         ; @path_main_basename
l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	".srm"

l_.str.3:                               ; @.str.3
	.asciz	"%s \"%s\".\n"

	.comm	_MSG_REDIRECTING_SAVEFILE_TO,4,2 ; @MSG_REDIRECTING_SAVEFILE_TO
l_.str.4:                               ; @.str.4
	.asciz	".state"

	.comm	_MSG_REDIRECTING_SAVESTATE_TO,4,2 ; @MSG_REDIRECTING_SAVESTATE_TO
	.comm	_MSG_REDIRECTING_CHEATFILE_TO,4,2 ; @MSG_REDIRECTING_CHEATFILE_TO
	.comm	_RARCH_DIR_CURRENT_SAVEFILE,4,2 ; @RARCH_DIR_CURRENT_SAVEFILE
	.comm	_RARCH_DIR_CURRENT_SAVESTATE,4,2 ; @RARCH_DIR_CURRENT_SAVESTATE
	.comm	_MENU_ENUM_LABEL_VALUE_NO_CORE,4,2 ; @MENU_ENUM_LABEL_VALUE_NO_CORE
	.no_dead_strip	_path_set_redirect
.subsections_via_symbols
