	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_unload_override         ## -- Begin function config_unload_override
	.p2align	4, 0x90
_config_unload_override:                ## @config_unload_override
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_clear
	movq	_RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_retroarch_override_setting_unset
	movq	_RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_unset
	xorl	%eax, %eax
	callq	_global_get_ptr
	movl	%eax, %r15d
	movq	_RARCH_PATH_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_get
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_config_load_file
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_RARCH_LOG
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_set
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_set
	movl	$1, %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_PATH_CONFIG_APPEND,4,2   ## @RARCH_PATH_CONFIG_APPEND
	.comm	_RARCH_OVERRIDE_SETTING_STATE_PATH,4,2 ## @RARCH_OVERRIDE_SETTING_STATE_PATH
	.comm	_RARCH_OVERRIDE_SETTING_SAVE_PATH,4,2 ## @RARCH_OVERRIDE_SETTING_SAVE_PATH
	.comm	_RARCH_PATH_CONFIG,4,2          ## @RARCH_PATH_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[Overrides] configuration overrides unloaded, original configuration restored.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_unload_override         ; -- Begin function config_unload_override
	.p2align	2
_config_unload_override:                ; @config_unload_override
	.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
Lloh0:
	adrp	x8, _RARCH_PATH_CONFIG_APPEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_PATH_CONFIG_APPEND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_path_clear
Lloh3:
	adrp	x21, _RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, #0
	bl	_retroarch_override_setting_unset
Lloh5:
	adrp	x22, _RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPAGE
Lloh6:
	ldr	x22, [x22, _RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, #0
	bl	_retroarch_override_setting_unset
	bl	_global_get_ptr
	mov	x19, x0
Lloh7:
	adrp	x8, _RARCH_PATH_CONFIG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RARCH_PATH_CONFIG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_path_get
	mov	x20, x0
	bl	_config_get_ptr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_config_load_file
	cbz	w0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	ldr	w0, [x21]
	mov	x1, #0
	bl	_retroarch_override_setting_set
	ldr	w0, [x22]
	mov	x1, #0
	bl	_retroarch_override_setting_set
	mov	w0, #1
LBB0_2:
	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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_PATH_CONFIG_APPEND,4,2   ; @RARCH_PATH_CONFIG_APPEND
	.comm	_RARCH_OVERRIDE_SETTING_STATE_PATH,4,2 ; @RARCH_OVERRIDE_SETTING_STATE_PATH
	.comm	_RARCH_OVERRIDE_SETTING_SAVE_PATH,4,2 ; @RARCH_OVERRIDE_SETTING_SAVE_PATH
	.comm	_RARCH_PATH_CONFIG,4,2          ; @RARCH_PATH_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[Overrides] configuration overrides unloaded, original configuration restored.\n"

.subsections_via_symbols
