	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_load_override           ## -- Begin function config_load_override
	.p2align	4, 0x90
_config_load_override:                  ## @config_load_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_runloop_get_system_info
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r13
LBB0_2:
	movq	_RARCH_PATH_BASENAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_path_basename
	movq	%rax, %r14
	movl	(%r15), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_fill_pathname_parent_dir_name
LBB0_4:
	movq	%r13, %rdi
	callq	_string_is_empty
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_25
## %bb.5:
	movq	%r14, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_25
## %bb.6:
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, %r12
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
	movb	$0, (%r12)
	movb	$0, (%rbx)
	movq	_APPLICATION_SPECIAL_DIRECTORY_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_fill_pathname_application_special
	leaq	L_.str(%rip), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	%r8, %r14
	movq	%r12, %r9
	callq	_fill_pathname_join_special_ext
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%r14, %r15
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_fill_pathname_join_special_ext
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_fill_pathname_join_special_ext
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_free
	movq	%r14, %rdi
	callq	_config_file_exists
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_path_set
	movl	$1, %r15d
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
LBB0_9:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_config_file_exists
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_14
## %bb.10:
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_malloc
	movq	%rax, %rbx
	movb	$0, (%rax)
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	testq	%r14, %r14
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_get
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_strlcpy
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strlcat
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_strlcat
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_12:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_strlcpy
LBB0_13:
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_path_set
	movq	%rbx, %rdi
	callq	_free
	movl	$1, %r15d
LBB0_15:
	movq	%r12, %rdi
	callq	_config_file_exists
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_malloc
	movq	%rax, %rbx
	movb	$0, (%rax)
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.17:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_get
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_strlcpy
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strlcat
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_strlcat
	jmp	LBB0_19
LBB0_20:
	leaq	L_.str.9(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	testl	%r15d, %r15d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_21
	jmp	LBB0_23
LBB0_18:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_strlcpy
LBB0_19:
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_path_set
	movq	%rbx, %rdi
	callq	_free
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_21:
	movb	$0, (%r15)
	movq	_RARCH_PATH_CORE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_path_get
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_strlcpy
	movq	_RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	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, %r14d
	movq	_RARCH_PATH_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_get
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_config_load_file
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_path_set
	movq	_MSG_CONFIG_OVERRIDE_LOADED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movl	$1, %r12d
	movl	%eax, %edi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%rbx
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	movq	_RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_set
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_retroarch_override_setting_set
	movq	_RARCH_PATH_CONFIG_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_clear
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_24
LBB0_23:
	movq	%r15, %rdi
	callq	_free
	xorl	%r12d, %r12d
LBB0_24:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_RARCH_PATH_BASENAME,4,2        ## @RARCH_PATH_BASENAME
	.comm	_APPLICATION_SPECIAL_DIRECTORY_CONFIG,4,2 ## @APPLICATION_SPECIAL_DIRECTORY_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".cfg"

L_.str.1:                               ## @.str.1
	.asciz	"[Overrides] core-specific overrides found at %s.\n"

	.comm	_RARCH_PATH_CONFIG_APPEND,4,2   ## @RARCH_PATH_CONFIG_APPEND
L_.str.2:                               ## @.str.2
	.asciz	"[Overrides] no core-specific overrides found at %s.\n"

L_.str.3:                               ## @.str.3
	.asciz	"[Overrides] content-dir-specific overrides found at %s.\n"

L_.str.4:                               ## @.str.4
	.asciz	"[Overrides] content-dir-specific overrides stacking on top of previous overrides.\n"

L_.str.5:                               ## @.str.5
	.asciz	"|"

L_.str.6:                               ## @.str.6
	.asciz	"[Overrides] no content-dir-specific overrides found at %s.\n"

L_.str.7:                               ## @.str.7
	.asciz	"[Overrides] game-specific overrides found at %s.\n"

L_.str.8:                               ## @.str.8
	.asciz	"[Overrides] game-specific overrides stacking on top of previous overrides\n"

L_.str.9:                               ## @.str.9
	.asciz	"[Overrides] no game-specific overrides found at %s.\n"

	.comm	_RARCH_PATH_CORE,4,2            ## @RARCH_PATH_CORE
	.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
	.comm	_MSG_CONFIG_OVERRIDE_LOADED,4,2 ## @MSG_CONFIG_OVERRIDE_LOADED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_load_override           ; -- Begin function config_load_override
	.p2align	2
_config_load_override:                  ; @config_load_override
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldrsw	x22, [x23]
	bl	_runloop_get_system_info
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x24, [x0]
	b	LBB0_3
LBB0_2:
	mov	x24, #0
LBB0_3:
Lloh5:
	adrp	x8, _RARCH_PATH_BASENAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RARCH_PATH_BASENAME@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_path_get
	mov	x19, x0
	bl	_path_basename
	mov	x25, x0
	ldr	w20, [x23]
	mov	x9, x20
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	mov	x0, x19
	bl	_string_is_empty
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x26
	mov	x1, x19
	mov	x2, x20
	bl	_fill_pathname_parent_dir_name
LBB0_5:
	mov	x0, x24
	bl	_string_is_empty
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x25
	bl	_string_is_empty
	cbz	x0, LBB0_10
LBB0_7:
	mov	w22, #0
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.9:
	mov	x0, x22
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w0, [x23]
	bl	_malloc
	mov	x21, x0
	ldr	w0, [x23]
	bl	_malloc
	mov	x19, x0
	ldr	w0, [x23]
	bl	_malloc
	mov	x20, x0
	ldr	w0, [x23]
	bl	_malloc
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	ldr	w0, [x23]
	bl	_malloc
	mov	x27, x0
	strb	wzr, [x21]
	strb	wzr, [x19]
	strb	wzr, [x0]
Lloh13:
	adrp	x8, _APPLICATION_SPECIAL_DIRECTORY_CONFIG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _APPLICATION_SPECIAL_DIRECTORY_CONFIG@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_fill_pathname_application_special
Lloh16:
	adrp	x28, l_.str@PAGE
Lloh17:
	add	x28, x28, l_.str@PAGEOFF
	stur	x21, [x29, #-96]                ; 8-byte Folded Spill
	mov	x0, x21
	mov	x1, x27
	mov	x2, x24
	mov	x3, x25
	mov	x4, x28
	mov	x5, x22
	bl	_fill_pathname_join_special_ext
	mov	x21, x20
	mov	x0, x20
	mov	x20, x19
	mov	x1, x27
	mov	x2, x24
	mov	x3, x26
	mov	x4, x28
	mov	x5, x22
	bl	_fill_pathname_join_special_ext
	mov	x0, x19
	mov	x1, x27
	mov	x2, x24
	mov	x3, x24
	mov	x4, x28
	mov	x5, x22
	bl	_fill_pathname_join_special_ext
	mov	x0, x27
	bl	_free
	mov	x0, x19
	bl	_config_file_exists
	mov	x24, x0
Lloh18:
	adrp	x26, _RARCH_PATH_CONFIG_APPEND@GOTPAGE
Lloh19:
	ldr	x26, [x26, _RARCH_PATH_CONFIG_APPEND@GOTPAGEOFF]
	sub	sp, sp, #16
	cbz	x0, LBB0_12
; %bb.11:
	str	x20, [sp]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	ldr	w0, [x26]
	mov	x1, x20
	bl	_path_set
	mov	w25, #1
	b	LBB0_13
LBB0_12:
	str	x20, [sp]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	mov	w25, #0
LBB0_13:
	mov	x27, x21
	mov	x0, x21
	bl	_config_file_exists
	ldur	x28, [x29, #-104]               ; 8-byte Folded Reload
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w0, [x23]
	bl	_malloc
	mov	x25, x0
	strb	wzr, [x0]
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	str	x19, [sp, #-16]!
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	cbz	x24, LBB0_17
; %bb.15:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_RARCH_LOG
	ldr	w0, [x26]
	bl	_path_get
	mov	x1, x0
	mov	x0, x25
	mov	x2, x22
	bl	_strlcpy
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x25
	mov	x2, x22
	bl	_strlcat
	mov	x0, x25
	mov	x1, x21
	mov	x2, x22
	bl	_strlcat
	b	LBB0_18
LBB0_16:
	str	x27, [sp, #-16]!
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	mov	x21, x27
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	b	LBB0_19
LBB0_17:
	mov	x0, x25
	mov	x1, x21
	mov	x2, x22
	bl	_strlcpy
LBB0_18:
	ldr	w0, [x26]
	mov	x1, x25
	bl	_path_set
	mov	x0, x25
	bl	_free
	mov	w25, #1
LBB0_19:
	mov	x0, x19
	bl	_config_file_exists
	cbz	x0, LBB0_22
; %bb.20:
	ldr	w0, [x23]
	bl	_malloc
	mov	x24, x0
	strb	wzr, [x0]
	str	x19, [sp, #-16]!
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	cbz	w25, LBB0_23
; %bb.21:
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_RARCH_LOG
	ldr	w0, [x26]
	bl	_path_get
	mov	x1, x0
	mov	x0, x24
	mov	x2, x22
	bl	_strlcpy
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x24
	mov	x2, x22
	bl	_strlcat
	mov	x0, x24
	mov	x1, x19
	mov	x2, x22
	bl	_strlcat
	b	LBB0_24
LBB0_22:
	str	x19, [sp, #-16]!
Lloh38:
	adrp	x0, l_.str.9@PAGE
Lloh39:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	cbnz	w25, LBB0_25
	b	LBB0_27
LBB0_23:
	mov	x0, x24
	mov	x1, x19
	mov	x2, x22
	bl	_strlcpy
LBB0_24:
	ldr	w0, [x26]
	mov	x1, x24
	bl	_path_set
	mov	x0, x24
	bl	_free
LBB0_25:
	strb	wzr, [x28]
Lloh40:
	adrp	x27, _RARCH_PATH_CORE@GOTPAGE
Lloh41:
	ldr	x27, [x27, _RARCH_PATH_CORE@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_path_get
	mov	x1, x0
	mov	x0, x28
	mov	x2, x22
	bl	_strlcpy
Lloh42:
	adrp	x23, _RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPAGE
Lloh43:
	ldr	x23, [x23, _RARCH_OVERRIDE_SETTING_STATE_PATH@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, #0
	bl	_retroarch_override_setting_unset
Lloh44:
	adrp	x25, _RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPAGE
Lloh45:
	ldr	x25, [x25, _RARCH_OVERRIDE_SETTING_SAVE_PATH@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	x1, #0
	bl	_retroarch_override_setting_unset
	bl	_global_get_ptr
	mov	x22, x0
Lloh46:
	adrp	x8, _RARCH_PATH_CONFIG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RARCH_PATH_CONFIG@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_path_get
	mov	x24, x0
	bl	_config_get_ptr
	mov	x2, x0
	mov	x0, x22
	mov	x1, x24
	bl	_config_load_file
	cbz	w0, LBB0_27
; %bb.26:
	ldr	w0, [x27]
	mov	x1, x28
	bl	_path_set
Lloh49:
	adrp	x8, _MSG_CONFIG_OVERRIDE_LOADED@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MSG_CONFIG_OVERRIDE_LOADED@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
Lloh52:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh54:
	ldr	w5, [x8]
Lloh55:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh57:
	ldr	w6, [x8]
	mov	w22, #1
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	ldr	w0, [x23]
	mov	x1, #0
	bl	_retroarch_override_setting_set
	ldr	w0, [x25]
	mov	x1, #0
	bl	_retroarch_override_setting_set
	ldr	w0, [x26]
	bl	_path_clear
	mov	x0, x28
	bl	_free
	b	LBB0_28
LBB0_27:
	mov	x0, x28
	bl	_free
	mov	w22, #0
LBB0_28:
	mov	x0, x20
	bl	_free
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_free
	b	LBB0_8
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_RARCH_PATH_BASENAME,4,2        ; @RARCH_PATH_BASENAME
	.comm	_APPLICATION_SPECIAL_DIRECTORY_CONFIG,4,2 ; @APPLICATION_SPECIAL_DIRECTORY_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".cfg"

l_.str.1:                               ; @.str.1
	.asciz	"[Overrides] core-specific overrides found at %s.\n"

	.comm	_RARCH_PATH_CONFIG_APPEND,4,2   ; @RARCH_PATH_CONFIG_APPEND
l_.str.2:                               ; @.str.2
	.asciz	"[Overrides] no core-specific overrides found at %s.\n"

l_.str.3:                               ; @.str.3
	.asciz	"[Overrides] content-dir-specific overrides found at %s.\n"

l_.str.4:                               ; @.str.4
	.asciz	"[Overrides] content-dir-specific overrides stacking on top of previous overrides.\n"

l_.str.5:                               ; @.str.5
	.asciz	"|"

l_.str.6:                               ; @.str.6
	.asciz	"[Overrides] no content-dir-specific overrides found at %s.\n"

l_.str.7:                               ; @.str.7
	.asciz	"[Overrides] game-specific overrides found at %s.\n"

l_.str.8:                               ; @.str.8
	.asciz	"[Overrides] game-specific overrides stacking on top of previous overrides\n"

l_.str.9:                               ; @.str.9
	.asciz	"[Overrides] no game-specific overrides found at %s.\n"

	.comm	_RARCH_PATH_CORE,4,2            ; @RARCH_PATH_CORE
	.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
	.comm	_MSG_CONFIG_OVERRIDE_LOADED,4,2 ; @MSG_CONFIG_OVERRIDE_LOADED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
.subsections_via_symbols
