	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function path_set_names
_path_set_names:                        ## @path_set_names
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_path_set_basename
	movq	_RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_is_set
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_g_extern@GOTPCREL(%rip), %rax
	movl	8(%rax), %edi
	movq	_path_main_basename@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	$4, %ecx
	callq	_fill_pathname_noext
LBB0_2:
	movq	_RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_is_set
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_g_extern@GOTPCREL(%rip), %rax
	movl	4(%rax), %edi
	movq	_path_main_basename@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %ecx
	callq	_fill_pathname_noext
LBB0_4:
	movq	_g_extern@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_path_main_basename@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %ecx
	callq	_fill_pathname_noext
	xorl	%eax, %eax
	popq	%rbp
	jmp	_path_set_redirect              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_extern,12,2                  ## @g_extern
	.comm	_RARCH_OVERRIDE_SETTING_SAVE_PATH,4,2 ## @RARCH_OVERRIDE_SETTING_SAVE_PATH
	.comm	_path_main_basename,4,2         ## @path_main_basename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".srm"

	.comm	_RARCH_OVERRIDE_SETTING_STATE_PATH,4,2 ## @RARCH_OVERRIDE_SETTING_STATE_PATH
L_.str.1:                               ## @.str.1
	.asciz	".state"

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

	.no_dead_strip	_path_set_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function path_set_names
_path_set_names:                        ; @path_set_names
	.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
	bl	_path_set_basename
Lloh0:
	adrp	x8, _RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_retroarch_override_setting_is_set
Lloh3:
	adrp	x19, _g_extern@GOTPAGE
Lloh4:
	ldr	x19, [x19, _g_extern@GOTPAGEOFF]
Lloh5:
	adrp	x20, _path_main_basename@GOTPAGE
Lloh6:
	ldr	x20, [x20, _path_main_basename@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	w3, #4
	bl	_fill_pathname_noext
LBB0_2:
Lloh9:
	adrp	x8, _RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_retroarch_override_setting_is_set
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w3, #4
	bl	_fill_pathname_noext
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x20]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w3, #4
	bl	_fill_pathname_noext
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_path_set_redirect
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_g_extern,12,2                  ; @g_extern
	.comm	_RARCH_OVERRIDE_SETTING_SAVE_PATH,4,2 ; @RARCH_OVERRIDE_SETTING_SAVE_PATH
	.comm	_path_main_basename,4,2         ; @path_main_basename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".srm"

	.comm	_RARCH_OVERRIDE_SETTING_STATE_PATH,4,2 ; @RARCH_OVERRIDE_SETTING_STATE_PATH
l_.str.1:                               ; @.str.1
	.asciz	".state"

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

	.no_dead_strip	_path_set_names
.subsections_via_symbols
