	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CFG_LoadConfig                 ## -- Begin function CFG_LoadConfig
	.p2align	4, 0x90
_CFG_LoadConfig:                        ## @CFG_LoadConfig
	.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	$280, %rsp                      ## imm = 0x118
	.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	_rtconfig_filename@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rsi
	cmpb	$0, (%rdi)
	jle	LBB0_3
## %bb.2:
	movq	_FILENAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_Util_strlcpy
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	_DEFAULT_CFG_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rsi
	callq	_Util_catpath
	jmp	LBB0_6
LBB0_5:
	movl	%edx, %esi
	callq	_strcpy
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r14
	movl	%r13d, -308(%rbp)               ## 4-byte Spill
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	leaq	-304(%rbp), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_Log_print
LBB0_10:
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_130
## %bb.11:
	leaq	-304(%rbp), %rbx
	leaq	L_.str.57(%rip), %r15
	jmp	LBB0_12
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -308(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_129:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_130
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_Util_chomp
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_126
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r13
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	movq	%rbx, %rdi
	callq	_Util_trim
	movq	%r12, %rdi
	callq	_Util_trim
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_SYSROM_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_28
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.16(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.18(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_44
## %bb.46:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.20(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.21(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.22(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_51
## %bb.52:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.23(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_53
## %bb.54:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.24(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_55
## %bb.56:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_57
## %bb.58:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.26(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_129
## %bb.59:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.27(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_129
## %bb.60:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.28(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_129
## %bb.61:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.29(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_129
## %bb.62:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.30(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_63
## %bb.74:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.37(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_75
## %bb.83:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.41(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_84
## %bb.90:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.45(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_91
## %bb.93:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.47(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_94
## %bb.102:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.48(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_103
## %bb.104:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.49(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_105
## %bb.106:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.50(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_107
## %bb.108:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.51(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_109
## %bb.110:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.52(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_111
## %bb.112:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.53(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_113
## %bb.114:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.54(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_115
## %bb.116:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.55(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_117
## %bb.118:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_PBI_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.119:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_CARTRIDGE_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.120:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_CASSETTE_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.121:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_RTIME_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.122:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_Colours_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.123:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ARTIFACT_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.124:                             ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_Screen_ReadConfig
	testq	%rax, %rax
	jne	LBB0_129
## %bb.125:                             ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.56(%rip), %rdi
	jmp	LBB0_127
	.p2align	4, 0x90
LBB0_126:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
LBB0_127:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rsi
LBB0_128:                               ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_Log_print
	jmp	LBB0_129
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_UI_n_atari_files_dir@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	_UI_MAX_DIRECTORIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_UI_atari_files_dir@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_28:                                ##   in Loop: Header=BB0_12 Depth=1
	movzbl	(%r12), %eax
	testb	%al, %al
	je	LBB0_129
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$46, %al
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$0, 2(%r13)
	jne	LBB0_31
	jmp	LBB0_129
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_UI_n_saved_files_dir@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	_UI_MAX_DIRECTORIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_UI_saved_files_dir@GOTPCREL(%rip), %rcx
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rcx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rsi)
	movq	(%rcx,%rax,8), %rdi
LBB0_34:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_FILENAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_Util_strlcpy
	jmp	LBB0_129
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_17
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.8(%rip), %rdi
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_Log_print
	jmp	LBB0_129
LBB0_33:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Devices_atari_h_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	jmp	LBB0_34
LBB0_36:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Devices_atari_h_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	jmp	LBB0_34
LBB0_38:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Devices_atari_h_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdi
	jmp	LBB0_34
LBB0_40:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Devices_atari_h_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rdi
	jmp	LBB0_34
LBB0_42:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscandec
	movq	_Devices_h_read_only@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_44:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Devices_SetPrintCommand
	testl	%eax, %eax
	jne	LBB0_129
## %bb.45:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.19(%rip), %rdi
	jmp	LBB0_17
LBB0_47:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscandec
	movq	_Atari800_refresh_rate@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_49:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_disable_basic@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_51:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_ESC_enable_sio_patch@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_53:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Devices_enable_h_patch@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_55:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Devices_enable_p_patch@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_57:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Devices_enable_r_patch@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_63:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.31(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_66
## %bb.64:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.32(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_66
## %bb.65:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.33(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_66
## %bb.68:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.34(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_69
## %bb.70:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.35(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_71
## %bb.72:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.36(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_128
LBB0_66:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Atari800_MACHINE_800@GOTPCREL(%rip), %rax
LBB0_67:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %eax
	movq	_Atari800_machine_type@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_129
LBB0_75:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.38(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_76
## %bb.78:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.39(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_79
## %bb.80:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscandec
	movq	%rax, %r13
	movl	%r13d, %edi
	callq	_MEMORY_SizeValid
	testq	%rax, %rax
	je	LBB0_82
## %bb.81:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_MEMORY_ram_size@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	jmp	LBB0_129
LBB0_84:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.42(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_85
## %bb.87:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.43(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_88
## %bb.89:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.44(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_128
LBB0_91:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscandec
	cmpl	$64, %eax
	ja	LBB0_97
## %bb.92:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_MEMORY_mosaic_num_banks@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_129
LBB0_76:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_MEMORY_RAM_320_RAMBO@GOTPCREL(%rip), %rax
	jmp	LBB0_77
LBB0_94:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscandec
	cmpl	$127, %eax
	jg	LBB0_99
## %bb.95:                              ##   in Loop: Header=BB0_12 Depth=1
	leal	-8(%rax), %ecx
	cmpl	$56, %ecx
	ja	LBB0_96
## %bb.98:                              ##   in Loop: Header=BB0_12 Depth=1
	movabsq	$72057594054705409, %rdx        ## imm = 0x100000001000101
	btq	%rcx, %rdx
	jae	LBB0_96
LBB0_101:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	_MEMORY_axlon_num_banks@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_129
LBB0_79:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_MEMORY_RAM_320_COMPY_SHOP@GOTPCREL(%rip), %rax
LBB0_77:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %eax
	movq	_MEMORY_ram_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_129
LBB0_85:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Atari800_TV_PAL@GOTPCREL(%rip), %rax
	jmp	LBB0_86
LBB0_103:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_MEMORY_enable_mapram@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_69:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Atari800_MACHINE_XLXE@GOTPCREL(%rip), %rax
	jmp	LBB0_67
LBB0_82:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.40(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_128
LBB0_88:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Atari800_TV_NTSC@GOTPCREL(%rip), %rax
LBB0_86:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %eax
	movq	_Atari800_tv_mode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_129
LBB0_105:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_builtin_basic@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_71:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_Atari800_MACHINE_5200@GOTPCREL(%rip), %rax
	jmp	LBB0_67
LBB0_99:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$256, %eax                      ## imm = 0x100
	je	LBB0_101
## %bb.100:                             ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$128, %eax
	je	LBB0_101
	jmp	LBB0_97
LBB0_107:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_keyboard_leds@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_96:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, %eax
	je	LBB0_101
LBB0_97:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.46(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_128
LBB0_109:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_f_keys@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_111:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_builtin_game@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_113:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_keyboard_detached@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_115:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_Atari800_jumper@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_117:                               ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_Util_sscanbool
	movq	_CFG_save_on_exit@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_129
LBB0_130:
	movq	%r14, %rdi
	callq	_fclose
	movq	_TRUE@GOTPCREL(%rip), %r15
	cmpl	$0, -308(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_133
## %bb.131:
	leaq	L_.str.58(%rip), %rdi
	jmp	LBB0_132
LBB0_7:
	movq	(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.3(%rip), %rdi
LBB0_132:
	xorl	%eax, %eax
	callq	_Log_print
LBB0_133:
	movl	(%r15), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_135
## %bb.134:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_135:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_rtconfig_filename,8,3          ## @rtconfig_filename
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_FILENAME_MAX,4,2               ## @FILENAME_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HOME"

	.comm	_DEFAULT_CFG_NAME,4,2           ## @DEFAULT_CFG_NAME
L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"User config file '%s' not found."

L_.str.3:                               ## @.str.3
	.asciz	"No configuration file found, will create fresh one from scratch:"

L_.str.4:                               ## @.str.4
	.asciz	"Using Atari800 config file: %s\nCreated by %s"

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

	.comm	_UI_n_atari_files_dir,8,3       ## @UI_n_atari_files_dir
	.comm	_UI_MAX_DIRECTORIES,8,3         ## @UI_MAX_DIRECTORIES
L_.str.6:                               ## @.str.6
	.asciz	"All ATARI_FILES_DIR slots used!"

	.comm	_UI_atari_files_dir,8,3         ## @UI_atari_files_dir
L_.str.7:                               ## @.str.7
	.asciz	"SAVED_FILES_DIR"

	.comm	_UI_n_saved_files_dir,8,3       ## @UI_n_saved_files_dir
L_.str.8:                               ## @.str.8
	.asciz	"All SAVED_FILES_DIR slots used!"

	.comm	_UI_saved_files_dir,8,3         ## @UI_saved_files_dir
L_.str.9:                               ## @.str.9
	.asciz	"DISK_DIR"

L_.str.10:                              ## @.str.10
	.asciz	"ROM_DIR"

L_.str.11:                              ## @.str.11
	.asciz	"EXE_DIR"

L_.str.12:                              ## @.str.12
	.asciz	"STATE_DIR"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.13:                              ## @.str.13
	.asciz	"H1_DIR"

	.comm	_Devices_atari_h_dir,8,3        ## @Devices_atari_h_dir
L_.str.14:                              ## @.str.14
	.asciz	"H2_DIR"

L_.str.15:                              ## @.str.15
	.asciz	"H3_DIR"

L_.str.16:                              ## @.str.16
	.asciz	"H4_DIR"

L_.str.17:                              ## @.str.17
	.asciz	"HD_READ_ONLY"

	.comm	_Devices_h_read_only,8,3        ## @Devices_h_read_only
L_.str.18:                              ## @.str.18
	.asciz	"PRINT_COMMAND"

L_.str.19:                              ## @.str.19
	.asciz	"Unsafe PRINT_COMMAND ignored"

L_.str.20:                              ## @.str.20
	.asciz	"SCREEN_REFRESH_RATIO"

	.comm	_Atari800_refresh_rate,8,3      ## @Atari800_refresh_rate
L_.str.21:                              ## @.str.21
	.asciz	"DISABLE_BASIC"

	.comm	_Atari800_disable_basic,8,3     ## @Atari800_disable_basic
L_.str.22:                              ## @.str.22
	.asciz	"ENABLE_SIO_PATCH"

	.comm	_ESC_enable_sio_patch,8,3       ## @ESC_enable_sio_patch
L_.str.23:                              ## @.str.23
	.asciz	"ENABLE_H_PATCH"

	.comm	_Devices_enable_h_patch,8,3     ## @Devices_enable_h_patch
L_.str.24:                              ## @.str.24
	.asciz	"ENABLE_P_PATCH"

	.comm	_Devices_enable_p_patch,8,3     ## @Devices_enable_p_patch
L_.str.25:                              ## @.str.25
	.asciz	"ENABLE_R_PATCH"

	.comm	_Devices_enable_r_patch,8,3     ## @Devices_enable_r_patch
L_.str.26:                              ## @.str.26
	.asciz	"ENABLE_NEW_POKEY"

L_.str.27:                              ## @.str.27
	.asciz	"STEREO_POKEY"

L_.str.28:                              ## @.str.28
	.asciz	"SPEAKER_SOUND"

L_.str.29:                              ## @.str.29
	.asciz	"SERIO_SOUND"

L_.str.30:                              ## @.str.30
	.asciz	"MACHINE_TYPE"

L_.str.31:                              ## @.str.31
	.asciz	"Atari 400/800"

L_.str.32:                              ## @.str.32
	.asciz	"Atari OS/A"

L_.str.33:                              ## @.str.33
	.asciz	"Atari OS/B"

	.comm	_Atari800_MACHINE_800,4,2       ## @Atari800_MACHINE_800
	.comm	_Atari800_machine_type,4,2      ## @Atari800_machine_type
L_.str.34:                              ## @.str.34
	.asciz	"Atari XL/XE"

	.comm	_Atari800_MACHINE_XLXE,4,2      ## @Atari800_MACHINE_XLXE
L_.str.35:                              ## @.str.35
	.asciz	"Atari 5200"

	.comm	_Atari800_MACHINE_5200,4,2      ## @Atari800_MACHINE_5200
L_.str.36:                              ## @.str.36
	.asciz	"Invalid machine type: %s"

L_.str.37:                              ## @.str.37
	.asciz	"RAM_SIZE"

L_.str.38:                              ## @.str.38
	.asciz	"320 (RAMBO)"

	.comm	_MEMORY_RAM_320_RAMBO,4,2       ## @MEMORY_RAM_320_RAMBO
	.comm	_MEMORY_ram_size,4,2            ## @MEMORY_ram_size
L_.str.39:                              ## @.str.39
	.asciz	"320 (COMPY SHOP)"

	.comm	_MEMORY_RAM_320_COMPY_SHOP,4,2  ## @MEMORY_RAM_320_COMPY_SHOP
L_.str.40:                              ## @.str.40
	.asciz	"Invalid RAM size: %s"

L_.str.41:                              ## @.str.41
	.asciz	"DEFAULT_TV_MODE"

L_.str.42:                              ## @.str.42
	.asciz	"PAL"

	.comm	_Atari800_TV_PAL,4,2            ## @Atari800_TV_PAL
	.comm	_Atari800_tv_mode,4,2           ## @Atari800_tv_mode
L_.str.43:                              ## @.str.43
	.asciz	"NTSC"

	.comm	_Atari800_TV_NTSC,4,2           ## @Atari800_TV_NTSC
L_.str.44:                              ## @.str.44
	.asciz	"Invalid TV Mode: %s"

L_.str.45:                              ## @.str.45
	.asciz	"MOSAIC_RAM_NUM_BANKS"

	.comm	_MEMORY_mosaic_num_banks,4,2    ## @MEMORY_mosaic_num_banks
L_.str.46:                              ## @.str.46
	.asciz	"Invalid Mosaic RAM number of banks: %s"

L_.str.47:                              ## @.str.47
	.asciz	"AXLON_RAM_NUM_BANKS"

	.comm	_MEMORY_axlon_num_banks,4,2     ## @MEMORY_axlon_num_banks
L_.str.48:                              ## @.str.48
	.asciz	"ENABLE_MAPRAM"

	.comm	_MEMORY_enable_mapram,8,3       ## @MEMORY_enable_mapram
L_.str.49:                              ## @.str.49
	.asciz	"BUILTIN_BASIC"

	.comm	_Atari800_builtin_basic,8,3     ## @Atari800_builtin_basic
L_.str.50:                              ## @.str.50
	.asciz	"KEYBOARD_LEDS"

	.comm	_Atari800_keyboard_leds,8,3     ## @Atari800_keyboard_leds
L_.str.51:                              ## @.str.51
	.asciz	"F_KEYS"

	.comm	_Atari800_f_keys,8,3            ## @Atari800_f_keys
L_.str.52:                              ## @.str.52
	.asciz	"BUILTIN_GAME"

	.comm	_Atari800_builtin_game,8,3      ## @Atari800_builtin_game
L_.str.53:                              ## @.str.53
	.asciz	"KEYBOARD_DETACHED"

	.comm	_Atari800_keyboard_detached,8,3 ## @Atari800_keyboard_detached
L_.str.54:                              ## @.str.54
	.asciz	"1200XL_JUMPER"

	.comm	_Atari800_jumper,8,3            ## @Atari800_jumper
L_.str.55:                              ## @.str.55
	.asciz	"CFG_SAVE_ON_EXIT"

	.comm	_CFG_save_on_exit,8,3           ## @CFG_save_on_exit
L_.str.56:                              ## @.str.56
	.asciz	"Unrecognized variable: %s"

L_.str.57:                              ## @.str.57
	.asciz	"Ignored config line: %s"

L_.str.58:                              ## @.str.58
	.asciz	"DISK_DIR, ROM_DIR, EXE_DIR and STATE_DIR configuration options\nare no longer supported. Please use ATARI_FILES_DIR\nand SAVED_FILES_DIR in your Atari800 configuration file."

	.comm	_POKEYSND_console_sound_enabled,8,3 ## @POKEYSND_console_sound_enabled
	.comm	_POKEYSND_enable_new_pokey,8,3  ## @POKEYSND_enable_new_pokey
	.comm	_POKEYSND_serio_sound_enabled,8,3 ## @POKEYSND_serio_sound_enabled
	.comm	_POKEYSND_stereo_enabled,8,3    ## @POKEYSND_stereo_enabled
	.comm	_SYSTEM_WIDE_CFG_FILE,8,3       ## @SYSTEM_WIDE_CFG_FILE
	.comm	_Sound_desired,4,2              ## @Sound_desired
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CFG_LoadConfig                 ; -- Begin function CFG_LoadConfig
	.p2align	2
_CFG_LoadConfig:                        ; @CFG_LoadConfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x21, _rtconfig_filename@GOTPAGE
Lloh4:
	ldr	x21, [x21, _rtconfig_filename@GOTPAGEOFF]
	ldr	x20, [x21]
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w27, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x0
	ldrsb	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _FILENAME_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FILENAME_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_Util_strlcpy
	b	LBB0_6
LBB0_3:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh13:
	adrp	x8, _DEFAULT_CFG_NAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DEFAULT_CFG_NAME@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	mov	x0, x20
	bl	_Util_catpath
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x2
	bl	_strcpy
LBB0_6:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_129
; %bb.7:
	mov	x19, x0
	add	x21, sp, #16
	add	x0, sp, #16
	mov	w1, #256
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_9
; %bb.8:
	stp	x20, x21, [sp]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Log_print
LBB0_9:
	add	x22, sp, #16
	add	x0, sp, #16
	mov	w1, #256
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_126
; %bb.10:
Lloh20:
	adrp	x20, l_.str.57@PAGE
Lloh21:
	add	x20, x20, l_.str.57@PAGEOFF
Lloh22:
	adrp	x21, l_.str.5@PAGE
Lloh23:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh24:
	adrp	x26, _UI_n_atari_files_dir@GOTPAGE
Lloh25:
	ldr	x26, [x26, _UI_n_atari_files_dir@GOTPAGEOFF]
Lloh26:
	adrp	x25, _UI_MAX_DIRECTORIES@GOTPAGE
Lloh27:
	ldr	x25, [x25, _UI_MAX_DIRECTORIES@GOTPAGEOFF]
Lloh28:
	adrp	x23, l_.str.7@PAGE
Lloh29:
	add	x23, x23, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_14 Depth=1
	str	x22, [sp]
	mov	x0, x20
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_Log_print
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	w1, #256
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_126
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_Util_chomp
	add	x0, sp, #16
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x28, x0
	mov	x24, x0
	strb	wzr, [x24], #1
	add	x0, sp, #16
	bl	_Util_trim
	mov	x0, x24
	bl	_Util_trim
	add	x0, sp, #16
	mov	x1, x24
	bl	_SYSROM_ReadConfig
	cbnz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_59
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_65
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh32:
	adrp	x1, l_.str.10@PAGE
Lloh33:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh34:
	adrp	x1, l_.str.11@PAGE
Lloh35:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh36:
	adrp	x1, l_.str.12@PAGE
Lloh37:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh38:
	adrp	x1, l_.str.13@PAGE
Lloh39:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_71
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh40:
	adrp	x1, l_.str.14@PAGE
Lloh41:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_72
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh42:
	adrp	x1, l_.str.15@PAGE
Lloh43:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_73
; %bb.25:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh44:
	adrp	x1, l_.str.16@PAGE
Lloh45:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_74
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh46:
	adrp	x1, l_.str.17@PAGE
Lloh47:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_75
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh48:
	adrp	x1, l_.str.18@PAGE
Lloh49:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_76
; %bb.28:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh50:
	adrp	x1, l_.str.20@PAGE
Lloh51:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_78
; %bb.29:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh52:
	adrp	x1, l_.str.21@PAGE
Lloh53:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_79
; %bb.30:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh54:
	adrp	x1, l_.str.22@PAGE
Lloh55:
	add	x1, x1, l_.str.22@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_80
; %bb.31:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh56:
	adrp	x1, l_.str.23@PAGE
Lloh57:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_81
; %bb.32:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh58:
	adrp	x1, l_.str.24@PAGE
Lloh59:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_82
; %bb.33:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh60:
	adrp	x1, l_.str.25@PAGE
Lloh61:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_83
; %bb.34:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh62:
	adrp	x1, l_.str.26@PAGE
Lloh63:
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.35:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh64:
	adrp	x1, l_.str.27@PAGE
Lloh65:
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.36:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh66:
	adrp	x1, l_.str.28@PAGE
Lloh67:
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.37:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh68:
	adrp	x1, l_.str.29@PAGE
Lloh69:
	add	x1, x1, l_.str.29@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.38:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh70:
	adrp	x1, l_.str.30@PAGE
Lloh71:
	add	x1, x1, l_.str.30@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_84
; %bb.39:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh72:
	adrp	x1, l_.str.37@PAGE
Lloh73:
	add	x1, x1, l_.str.37@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_92
; %bb.40:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh74:
	adrp	x1, l_.str.41@PAGE
Lloh75:
	add	x1, x1, l_.str.41@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_96
; %bb.41:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh76:
	adrp	x1, l_.str.45@PAGE
Lloh77:
	add	x1, x1, l_.str.45@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_99
; %bb.42:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh78:
	adrp	x1, l_.str.47@PAGE
Lloh79:
	add	x1, x1, l_.str.47@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_102
; %bb.43:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh80:
	adrp	x1, l_.str.48@PAGE
Lloh81:
	add	x1, x1, l_.str.48@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_109
; %bb.44:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh82:
	adrp	x1, l_.str.49@PAGE
Lloh83:
	add	x1, x1, l_.str.49@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_114
; %bb.45:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh84:
	adrp	x1, l_.str.50@PAGE
Lloh85:
	add	x1, x1, l_.str.50@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_118
; %bb.46:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh86:
	adrp	x1, l_.str.51@PAGE
Lloh87:
	add	x1, x1, l_.str.51@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_121
; %bb.47:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh88:
	adrp	x1, l_.str.52@PAGE
Lloh89:
	add	x1, x1, l_.str.52@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_122
; %bb.48:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh90:
	adrp	x1, l_.str.53@PAGE
Lloh91:
	add	x1, x1, l_.str.53@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_123
; %bb.49:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh92:
	adrp	x1, l_.str.54@PAGE
Lloh93:
	add	x1, x1, l_.str.54@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_124
; %bb.50:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
Lloh94:
	adrp	x1, l_.str.55@PAGE
Lloh95:
	add	x1, x1, l_.str.55@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_125
; %bb.51:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_PBI_ReadConfig
	cbnz	x0, LBB0_13
; %bb.52:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_CARTRIDGE_ReadConfig
	cbnz	x0, LBB0_13
; %bb.53:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_CASSETTE_ReadConfig
	cbnz	x0, LBB0_13
; %bb.54:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_RTIME_ReadConfig
	cbnz	x0, LBB0_13
; %bb.55:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_Colours_ReadConfig
	cbnz	x0, LBB0_13
; %bb.56:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_ARTIFACT_ReadConfig
	cbnz	x0, LBB0_13
; %bb.57:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #16
	mov	x1, x24
	bl	_Screen_ReadConfig
	cbnz	x0, LBB0_13
; %bb.58:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x22, [sp]
Lloh96:
	adrp	x0, l_.str.56@PAGE
Lloh97:
	add	x0, x0, l_.str.56@PAGEOFF
	b	LBB0_12
LBB0_59:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_69
; %bb.60:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh98:
	adrp	x9, _UI_atari_files_dir@GOTPAGE
Lloh99:
	ldr	x9, [x9, _UI_atari_files_dir@GOTPAGEOFF]
Lloh100:
	ldr	x9, [x9]
	add	x10, x8, #1
	str	x10, [x26]
	b	LBB0_67
LBB0_61:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [x24]
	cbz	w8, LBB0_13
; %bb.62:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #46
	b.ne	LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [x28, #2]
	cbz	w8, LBB0_13
LBB0_64:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh101:
	adrp	x8, _TRUE@GOTPAGE
Lloh102:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh103:
	ldr	w27, [x8]
	b	LBB0_13
LBB0_65:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh104:
	adrp	x11, _UI_n_saved_files_dir@GOTPAGE
Lloh105:
	ldr	x11, [x11, _UI_n_saved_files_dir@GOTPAGEOFF]
	ldr	x8, [x11]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_70
; %bb.66:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh106:
	adrp	x9, _UI_saved_files_dir@GOTPAGE
Lloh107:
	ldr	x9, [x9, _UI_saved_files_dir@GOTPAGEOFF]
Lloh108:
	ldr	x9, [x9]
	add	x10, x8, #1
	str	x10, [x11]
LBB0_67:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x9, x8, lsl #3]
LBB0_68:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh109:
	adrp	x8, _FILENAME_MAX@GOTPAGE
Lloh110:
	ldr	x8, [x8, _FILENAME_MAX@GOTPAGEOFF]
Lloh111:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_Util_strlcpy
	b	LBB0_13
LBB0_69:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh112:
	adrp	x0, l_.str.6@PAGE
Lloh113:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_70:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh114:
	adrp	x0, l_.str.8@PAGE
Lloh115:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_71:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh116:
	adrp	x8, _Devices_atari_h_dir@GOTPAGE
Lloh117:
	ldr	x8, [x8, _Devices_atari_h_dir@GOTPAGEOFF]
Lloh118:
	ldr	x8, [x8]
	ldr	x0, [x8]
	b	LBB0_68
LBB0_72:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh119:
	adrp	x8, _Devices_atari_h_dir@GOTPAGE
Lloh120:
	ldr	x8, [x8, _Devices_atari_h_dir@GOTPAGEOFF]
Lloh121:
	ldr	x8, [x8]
	ldr	x0, [x8, #8]
	b	LBB0_68
LBB0_73:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh122:
	adrp	x8, _Devices_atari_h_dir@GOTPAGE
Lloh123:
	ldr	x8, [x8, _Devices_atari_h_dir@GOTPAGEOFF]
Lloh124:
	ldr	x8, [x8]
	ldr	x0, [x8, #16]
	b	LBB0_68
LBB0_74:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh125:
	adrp	x8, _Devices_atari_h_dir@GOTPAGE
Lloh126:
	ldr	x8, [x8, _Devices_atari_h_dir@GOTPAGEOFF]
Lloh127:
	ldr	x8, [x8]
	ldr	x0, [x8, #24]
	b	LBB0_68
LBB0_75:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscandec
Lloh128:
	adrp	x8, _Devices_h_read_only@GOTPAGE
Lloh129:
	ldr	x8, [x8, _Devices_h_read_only@GOTPAGEOFF]
Lloh130:
	str	x0, [x8]
	b	LBB0_13
LBB0_76:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Devices_SetPrintCommand
	cbnz	w0, LBB0_13
; %bb.77:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh131:
	adrp	x0, l_.str.19@PAGE
Lloh132:
	add	x0, x0, l_.str.19@PAGEOFF
	b	LBB0_12
LBB0_78:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscandec
Lloh133:
	adrp	x8, _Atari800_refresh_rate@GOTPAGE
Lloh134:
	ldr	x8, [x8, _Atari800_refresh_rate@GOTPAGEOFF]
Lloh135:
	str	x0, [x8]
	b	LBB0_13
LBB0_79:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh136:
	adrp	x8, _Atari800_disable_basic@GOTPAGE
Lloh137:
	ldr	x8, [x8, _Atari800_disable_basic@GOTPAGEOFF]
Lloh138:
	str	x0, [x8]
	b	LBB0_13
LBB0_80:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh139:
	adrp	x8, _ESC_enable_sio_patch@GOTPAGE
Lloh140:
	ldr	x8, [x8, _ESC_enable_sio_patch@GOTPAGEOFF]
Lloh141:
	str	x0, [x8]
	b	LBB0_13
LBB0_81:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh142:
	adrp	x8, _Devices_enable_h_patch@GOTPAGE
Lloh143:
	ldr	x8, [x8, _Devices_enable_h_patch@GOTPAGEOFF]
Lloh144:
	str	x0, [x8]
	b	LBB0_13
LBB0_82:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh145:
	adrp	x8, _Devices_enable_p_patch@GOTPAGE
Lloh146:
	ldr	x8, [x8, _Devices_enable_p_patch@GOTPAGEOFF]
Lloh147:
	str	x0, [x8]
	b	LBB0_13
LBB0_83:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh148:
	adrp	x8, _Devices_enable_r_patch@GOTPAGE
Lloh149:
	ldr	x8, [x8, _Devices_enable_r_patch@GOTPAGEOFF]
Lloh150:
	str	x0, [x8]
	b	LBB0_13
LBB0_84:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh151:
	adrp	x1, l_.str.31@PAGE
Lloh152:
	add	x1, x1, l_.str.31@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_90
; %bb.85:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh153:
	adrp	x1, l_.str.32@PAGE
Lloh154:
	add	x1, x1, l_.str.32@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_90
; %bb.86:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh155:
	adrp	x1, l_.str.33@PAGE
Lloh156:
	add	x1, x1, l_.str.33@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_90
; %bb.87:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh157:
	adrp	x1, l_.str.34@PAGE
Lloh158:
	add	x1, x1, l_.str.34@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_110
; %bb.88:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh159:
	adrp	x1, l_.str.35@PAGE
Lloh160:
	add	x1, x1, l_.str.35@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_115
; %bb.89:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x24, [sp]
Lloh161:
	adrp	x0, l_.str.36@PAGE
Lloh162:
	add	x0, x0, l_.str.36@PAGEOFF
	b	LBB0_12
LBB0_90:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh163:
	adrp	x8, _Atari800_MACHINE_800@GOTPAGE
Lloh164:
	ldr	x8, [x8, _Atari800_MACHINE_800@GOTPAGEOFF]
LBB0_91:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x8]
Lloh165:
	adrp	x9, _Atari800_machine_type@GOTPAGE
Lloh166:
	ldr	x9, [x9, _Atari800_machine_type@GOTPAGEOFF]
Lloh167:
	str	w8, [x9]
	b	LBB0_13
LBB0_92:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh168:
	adrp	x1, l_.str.38@PAGE
Lloh169:
	add	x1, x1, l_.str.38@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_101
; %bb.93:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh170:
	adrp	x1, l_.str.39@PAGE
Lloh171:
	add	x1, x1, l_.str.39@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_106
; %bb.94:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscandec
	mov	x28, x0
	bl	_MEMORY_SizeValid
	cbz	x0, LBB0_111
; %bb.95:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh172:
	adrp	x8, _MEMORY_ram_size@GOTPAGE
Lloh173:
	ldr	x8, [x8, _MEMORY_ram_size@GOTPAGEOFF]
Lloh174:
	str	w28, [x8]
	b	LBB0_13
LBB0_96:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh175:
	adrp	x1, l_.str.42@PAGE
Lloh176:
	add	x1, x1, l_.str.42@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_108
; %bb.97:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
Lloh177:
	adrp	x1, l_.str.43@PAGE
Lloh178:
	add	x1, x1, l_.str.43@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_112
; %bb.98:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x24, [sp]
Lloh179:
	adrp	x0, l_.str.44@PAGE
Lloh180:
	add	x0, x0, l_.str.44@PAGEOFF
	b	LBB0_12
LBB0_99:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscandec
	cmp	w0, #64
	b.hi	LBB0_120
; %bb.100:                              ;   in Loop: Header=BB0_14 Depth=1
Lloh181:
	adrp	x8, _MEMORY_mosaic_num_banks@GOTPAGE
Lloh182:
	ldr	x8, [x8, _MEMORY_mosaic_num_banks@GOTPAGEOFF]
Lloh183:
	str	w0, [x8]
	b	LBB0_13
LBB0_101:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh184:
	adrp	x8, _MEMORY_RAM_320_RAMBO@GOTPAGE
Lloh185:
	ldr	x8, [x8, _MEMORY_RAM_320_RAMBO@GOTPAGEOFF]
	b	LBB0_107
LBB0_102:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscandec
	cmp	w0, #127
	b.gt	LBB0_116
; %bb.103:                              ;   in Loop: Header=BB0_14 Depth=1
	sub	w8, w0, #8
	cmp	w8, #56
	b.hi	LBB0_119
; %bb.104:                              ;   in Loop: Header=BB0_14 Depth=1
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #72057594054705152
	movk	x9, #257
	tst	x8, x9
	b.eq	LBB0_119
LBB0_105:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh186:
	adrp	x8, _MEMORY_axlon_num_banks@GOTPAGE
Lloh187:
	ldr	x8, [x8, _MEMORY_axlon_num_banks@GOTPAGEOFF]
Lloh188:
	str	w0, [x8]
	b	LBB0_13
LBB0_106:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh189:
	adrp	x8, _MEMORY_RAM_320_COMPY_SHOP@GOTPAGE
Lloh190:
	ldr	x8, [x8, _MEMORY_RAM_320_COMPY_SHOP@GOTPAGEOFF]
LBB0_107:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x8]
Lloh191:
	adrp	x9, _MEMORY_ram_size@GOTPAGE
Lloh192:
	ldr	x9, [x9, _MEMORY_ram_size@GOTPAGEOFF]
Lloh193:
	str	w8, [x9]
	b	LBB0_13
LBB0_108:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh194:
	adrp	x8, _Atari800_TV_PAL@GOTPAGE
Lloh195:
	ldr	x8, [x8, _Atari800_TV_PAL@GOTPAGEOFF]
	b	LBB0_113
LBB0_109:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh196:
	adrp	x8, _MEMORY_enable_mapram@GOTPAGE
Lloh197:
	ldr	x8, [x8, _MEMORY_enable_mapram@GOTPAGEOFF]
Lloh198:
	str	x0, [x8]
	b	LBB0_13
LBB0_110:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh199:
	adrp	x8, _Atari800_MACHINE_XLXE@GOTPAGE
Lloh200:
	ldr	x8, [x8, _Atari800_MACHINE_XLXE@GOTPAGEOFF]
	b	LBB0_91
LBB0_111:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x24, [sp]
Lloh201:
	adrp	x0, l_.str.40@PAGE
Lloh202:
	add	x0, x0, l_.str.40@PAGEOFF
	b	LBB0_12
LBB0_112:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh203:
	adrp	x8, _Atari800_TV_NTSC@GOTPAGE
Lloh204:
	ldr	x8, [x8, _Atari800_TV_NTSC@GOTPAGEOFF]
LBB0_113:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x8]
Lloh205:
	adrp	x9, _Atari800_tv_mode@GOTPAGE
Lloh206:
	ldr	x9, [x9, _Atari800_tv_mode@GOTPAGEOFF]
Lloh207:
	str	w8, [x9]
	b	LBB0_13
LBB0_114:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh208:
	adrp	x8, _Atari800_builtin_basic@GOTPAGE
Lloh209:
	ldr	x8, [x8, _Atari800_builtin_basic@GOTPAGEOFF]
Lloh210:
	str	x0, [x8]
	b	LBB0_13
LBB0_115:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh211:
	adrp	x8, _Atari800_MACHINE_5200@GOTPAGE
Lloh212:
	ldr	x8, [x8, _Atari800_MACHINE_5200@GOTPAGEOFF]
	b	LBB0_91
LBB0_116:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w0, #256
	b.eq	LBB0_105
; %bb.117:                              ;   in Loop: Header=BB0_14 Depth=1
	cmp	w0, #128
	b.eq	LBB0_105
	b	LBB0_120
LBB0_118:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh213:
	adrp	x8, _Atari800_keyboard_leds@GOTPAGE
Lloh214:
	ldr	x8, [x8, _Atari800_keyboard_leds@GOTPAGEOFF]
Lloh215:
	str	x0, [x8]
	b	LBB0_13
LBB0_119:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	w0, LBB0_105
LBB0_120:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x24, [sp]
Lloh216:
	adrp	x0, l_.str.46@PAGE
Lloh217:
	add	x0, x0, l_.str.46@PAGEOFF
	b	LBB0_12
LBB0_121:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh218:
	adrp	x8, _Atari800_f_keys@GOTPAGE
Lloh219:
	ldr	x8, [x8, _Atari800_f_keys@GOTPAGEOFF]
Lloh220:
	str	x0, [x8]
	b	LBB0_13
LBB0_122:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh221:
	adrp	x8, _Atari800_builtin_game@GOTPAGE
Lloh222:
	ldr	x8, [x8, _Atari800_builtin_game@GOTPAGEOFF]
Lloh223:
	str	x0, [x8]
	b	LBB0_13
LBB0_123:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh224:
	adrp	x8, _Atari800_keyboard_detached@GOTPAGE
Lloh225:
	ldr	x8, [x8, _Atari800_keyboard_detached@GOTPAGEOFF]
Lloh226:
	str	x0, [x8]
	b	LBB0_13
LBB0_124:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh227:
	adrp	x8, _Atari800_jumper@GOTPAGE
Lloh228:
	ldr	x8, [x8, _Atari800_jumper@GOTPAGEOFF]
Lloh229:
	str	x0, [x8]
	b	LBB0_13
LBB0_125:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_Util_sscanbool
Lloh230:
	adrp	x8, _CFG_save_on_exit@GOTPAGE
Lloh231:
	ldr	x8, [x8, _CFG_save_on_exit@GOTPAGEOFF]
Lloh232:
	str	x0, [x8]
	b	LBB0_13
LBB0_126:
	mov	x0, x19
	bl	_fclose
	cbz	w27, LBB0_128
; %bb.127:
Lloh233:
	adrp	x0, l_.str.58@PAGE
Lloh234:
	add	x0, x0, l_.str.58@PAGEOFF
	bl	_Log_print
LBB0_128:
Lloh235:
	adrp	x8, _TRUE@GOTPAGE
Lloh236:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_130
LBB0_129:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh237:
	adrp	x0, l_.str.2@PAGE
Lloh238:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Log_print
Lloh239:
	adrp	x0, l_.str.3@PAGE
Lloh240:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Log_print
Lloh241:
	adrp	x8, _FALSE@GOTPAGE
Lloh242:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_130:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
Lloh243:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh244:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh245:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_132
; %bb.131:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_132:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotStr	Lloh128, Lloh129, Lloh130
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpLdrGotStr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotStr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotStr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGotStr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGotStr	Lloh145, Lloh146, Lloh147
	.loh AdrpLdrGotStr	Lloh148, Lloh149, Lloh150
	.loh AdrpAdd	Lloh151, Lloh152
	.loh AdrpAdd	Lloh153, Lloh154
	.loh AdrpAdd	Lloh155, Lloh156
	.loh AdrpAdd	Lloh157, Lloh158
	.loh AdrpAdd	Lloh159, Lloh160
	.loh AdrpAdd	Lloh161, Lloh162
	.loh AdrpLdrGot	Lloh163, Lloh164
	.loh AdrpLdrGotStr	Lloh165, Lloh166, Lloh167
	.loh AdrpAdd	Lloh168, Lloh169
	.loh AdrpAdd	Lloh170, Lloh171
	.loh AdrpLdrGotStr	Lloh172, Lloh173, Lloh174
	.loh AdrpAdd	Lloh175, Lloh176
	.loh AdrpAdd	Lloh177, Lloh178
	.loh AdrpAdd	Lloh179, Lloh180
	.loh AdrpLdrGotStr	Lloh181, Lloh182, Lloh183
	.loh AdrpLdrGot	Lloh184, Lloh185
	.loh AdrpLdrGotStr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGot	Lloh189, Lloh190
	.loh AdrpLdrGotStr	Lloh191, Lloh192, Lloh193
	.loh AdrpLdrGot	Lloh194, Lloh195
	.loh AdrpLdrGotStr	Lloh196, Lloh197, Lloh198
	.loh AdrpLdrGot	Lloh199, Lloh200
	.loh AdrpAdd	Lloh201, Lloh202
	.loh AdrpLdrGot	Lloh203, Lloh204
	.loh AdrpLdrGotStr	Lloh205, Lloh206, Lloh207
	.loh AdrpLdrGotStr	Lloh208, Lloh209, Lloh210
	.loh AdrpLdrGot	Lloh211, Lloh212
	.loh AdrpLdrGotStr	Lloh213, Lloh214, Lloh215
	.loh AdrpAdd	Lloh216, Lloh217
	.loh AdrpLdrGotStr	Lloh218, Lloh219, Lloh220
	.loh AdrpLdrGotStr	Lloh221, Lloh222, Lloh223
	.loh AdrpLdrGotStr	Lloh224, Lloh225, Lloh226
	.loh AdrpLdrGotStr	Lloh227, Lloh228, Lloh229
	.loh AdrpLdrGotStr	Lloh230, Lloh231, Lloh232
	.loh AdrpAdd	Lloh233, Lloh234
	.loh AdrpLdrGot	Lloh235, Lloh236
	.loh AdrpLdrGot	Lloh241, Lloh242
	.loh AdrpAdd	Lloh239, Lloh240
	.loh AdrpAdd	Lloh237, Lloh238
	.loh AdrpLdrGotLdr	Lloh243, Lloh244, Lloh245
	.cfi_endproc
                                        ; -- End function
	.comm	_rtconfig_filename,8,3          ; @rtconfig_filename
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_FILENAME_MAX,4,2               ; @FILENAME_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HOME"

	.comm	_DEFAULT_CFG_NAME,4,2           ; @DEFAULT_CFG_NAME
l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"User config file '%s' not found."

l_.str.3:                               ; @.str.3
	.asciz	"No configuration file found, will create fresh one from scratch:"

l_.str.4:                               ; @.str.4
	.asciz	"Using Atari800 config file: %s\nCreated by %s"

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

	.comm	_UI_n_atari_files_dir,8,3       ; @UI_n_atari_files_dir
	.comm	_UI_MAX_DIRECTORIES,8,3         ; @UI_MAX_DIRECTORIES
l_.str.6:                               ; @.str.6
	.asciz	"All ATARI_FILES_DIR slots used!"

	.comm	_UI_atari_files_dir,8,3         ; @UI_atari_files_dir
l_.str.7:                               ; @.str.7
	.asciz	"SAVED_FILES_DIR"

	.comm	_UI_n_saved_files_dir,8,3       ; @UI_n_saved_files_dir
l_.str.8:                               ; @.str.8
	.asciz	"All SAVED_FILES_DIR slots used!"

	.comm	_UI_saved_files_dir,8,3         ; @UI_saved_files_dir
l_.str.9:                               ; @.str.9
	.asciz	"DISK_DIR"

l_.str.10:                              ; @.str.10
	.asciz	"ROM_DIR"

l_.str.11:                              ; @.str.11
	.asciz	"EXE_DIR"

l_.str.12:                              ; @.str.12
	.asciz	"STATE_DIR"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.13:                              ; @.str.13
	.asciz	"H1_DIR"

	.comm	_Devices_atari_h_dir,8,3        ; @Devices_atari_h_dir
l_.str.14:                              ; @.str.14
	.asciz	"H2_DIR"

l_.str.15:                              ; @.str.15
	.asciz	"H3_DIR"

l_.str.16:                              ; @.str.16
	.asciz	"H4_DIR"

l_.str.17:                              ; @.str.17
	.asciz	"HD_READ_ONLY"

	.comm	_Devices_h_read_only,8,3        ; @Devices_h_read_only
l_.str.18:                              ; @.str.18
	.asciz	"PRINT_COMMAND"

l_.str.19:                              ; @.str.19
	.asciz	"Unsafe PRINT_COMMAND ignored"

l_.str.20:                              ; @.str.20
	.asciz	"SCREEN_REFRESH_RATIO"

	.comm	_Atari800_refresh_rate,8,3      ; @Atari800_refresh_rate
l_.str.21:                              ; @.str.21
	.asciz	"DISABLE_BASIC"

	.comm	_Atari800_disable_basic,8,3     ; @Atari800_disable_basic
l_.str.22:                              ; @.str.22
	.asciz	"ENABLE_SIO_PATCH"

	.comm	_ESC_enable_sio_patch,8,3       ; @ESC_enable_sio_patch
l_.str.23:                              ; @.str.23
	.asciz	"ENABLE_H_PATCH"

	.comm	_Devices_enable_h_patch,8,3     ; @Devices_enable_h_patch
l_.str.24:                              ; @.str.24
	.asciz	"ENABLE_P_PATCH"

	.comm	_Devices_enable_p_patch,8,3     ; @Devices_enable_p_patch
l_.str.25:                              ; @.str.25
	.asciz	"ENABLE_R_PATCH"

	.comm	_Devices_enable_r_patch,8,3     ; @Devices_enable_r_patch
l_.str.26:                              ; @.str.26
	.asciz	"ENABLE_NEW_POKEY"

l_.str.27:                              ; @.str.27
	.asciz	"STEREO_POKEY"

l_.str.28:                              ; @.str.28
	.asciz	"SPEAKER_SOUND"

l_.str.29:                              ; @.str.29
	.asciz	"SERIO_SOUND"

l_.str.30:                              ; @.str.30
	.asciz	"MACHINE_TYPE"

l_.str.31:                              ; @.str.31
	.asciz	"Atari 400/800"

l_.str.32:                              ; @.str.32
	.asciz	"Atari OS/A"

l_.str.33:                              ; @.str.33
	.asciz	"Atari OS/B"

	.comm	_Atari800_MACHINE_800,4,2       ; @Atari800_MACHINE_800
	.comm	_Atari800_machine_type,4,2      ; @Atari800_machine_type
l_.str.34:                              ; @.str.34
	.asciz	"Atari XL/XE"

	.comm	_Atari800_MACHINE_XLXE,4,2      ; @Atari800_MACHINE_XLXE
l_.str.35:                              ; @.str.35
	.asciz	"Atari 5200"

	.comm	_Atari800_MACHINE_5200,4,2      ; @Atari800_MACHINE_5200
l_.str.36:                              ; @.str.36
	.asciz	"Invalid machine type: %s"

l_.str.37:                              ; @.str.37
	.asciz	"RAM_SIZE"

l_.str.38:                              ; @.str.38
	.asciz	"320 (RAMBO)"

	.comm	_MEMORY_RAM_320_RAMBO,4,2       ; @MEMORY_RAM_320_RAMBO
	.comm	_MEMORY_ram_size,4,2            ; @MEMORY_ram_size
l_.str.39:                              ; @.str.39
	.asciz	"320 (COMPY SHOP)"

	.comm	_MEMORY_RAM_320_COMPY_SHOP,4,2  ; @MEMORY_RAM_320_COMPY_SHOP
l_.str.40:                              ; @.str.40
	.asciz	"Invalid RAM size: %s"

l_.str.41:                              ; @.str.41
	.asciz	"DEFAULT_TV_MODE"

l_.str.42:                              ; @.str.42
	.asciz	"PAL"

	.comm	_Atari800_TV_PAL,4,2            ; @Atari800_TV_PAL
	.comm	_Atari800_tv_mode,4,2           ; @Atari800_tv_mode
l_.str.43:                              ; @.str.43
	.asciz	"NTSC"

	.comm	_Atari800_TV_NTSC,4,2           ; @Atari800_TV_NTSC
l_.str.44:                              ; @.str.44
	.asciz	"Invalid TV Mode: %s"

l_.str.45:                              ; @.str.45
	.asciz	"MOSAIC_RAM_NUM_BANKS"

	.comm	_MEMORY_mosaic_num_banks,4,2    ; @MEMORY_mosaic_num_banks
l_.str.46:                              ; @.str.46
	.asciz	"Invalid Mosaic RAM number of banks: %s"

l_.str.47:                              ; @.str.47
	.asciz	"AXLON_RAM_NUM_BANKS"

	.comm	_MEMORY_axlon_num_banks,4,2     ; @MEMORY_axlon_num_banks
l_.str.48:                              ; @.str.48
	.asciz	"ENABLE_MAPRAM"

	.comm	_MEMORY_enable_mapram,8,3       ; @MEMORY_enable_mapram
l_.str.49:                              ; @.str.49
	.asciz	"BUILTIN_BASIC"

	.comm	_Atari800_builtin_basic,8,3     ; @Atari800_builtin_basic
l_.str.50:                              ; @.str.50
	.asciz	"KEYBOARD_LEDS"

	.comm	_Atari800_keyboard_leds,8,3     ; @Atari800_keyboard_leds
l_.str.51:                              ; @.str.51
	.asciz	"F_KEYS"

	.comm	_Atari800_f_keys,8,3            ; @Atari800_f_keys
l_.str.52:                              ; @.str.52
	.asciz	"BUILTIN_GAME"

	.comm	_Atari800_builtin_game,8,3      ; @Atari800_builtin_game
l_.str.53:                              ; @.str.53
	.asciz	"KEYBOARD_DETACHED"

	.comm	_Atari800_keyboard_detached,8,3 ; @Atari800_keyboard_detached
l_.str.54:                              ; @.str.54
	.asciz	"1200XL_JUMPER"

	.comm	_Atari800_jumper,8,3            ; @Atari800_jumper
l_.str.55:                              ; @.str.55
	.asciz	"CFG_SAVE_ON_EXIT"

	.comm	_CFG_save_on_exit,8,3           ; @CFG_save_on_exit
l_.str.56:                              ; @.str.56
	.asciz	"Unrecognized variable: %s"

l_.str.57:                              ; @.str.57
	.asciz	"Ignored config line: %s"

l_.str.58:                              ; @.str.58
	.asciz	"DISK_DIR, ROM_DIR, EXE_DIR and STATE_DIR configuration options\nare no longer supported. Please use ATARI_FILES_DIR\nand SAVED_FILES_DIR in your Atari800 configuration file."

	.comm	_POKEYSND_console_sound_enabled,8,3 ; @POKEYSND_console_sound_enabled
	.comm	_POKEYSND_enable_new_pokey,8,3  ; @POKEYSND_enable_new_pokey
	.comm	_POKEYSND_serio_sound_enabled,8,3 ; @POKEYSND_serio_sound_enabled
	.comm	_POKEYSND_stereo_enabled,8,3    ; @POKEYSND_stereo_enabled
	.comm	_SYSTEM_WIDE_CFG_FILE,8,3       ; @SYSTEM_WIDE_CFG_FILE
	.comm	_Sound_desired,4,2              ; @Sound_desired
.subsections_via_symbols
