	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_COLOURS_PAL_ReadConfig         ## -- Begin function COLOURS_PAL_ReadConfig
	.p2align	4, 0x90
_COLOURS_PAL_ReadConfig:                ## @COLOURS_PAL_ReadConfig
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.18:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_1:
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rsi
	addq	$20, %rsi
	jmp	LBB0_12
LBB0_3:
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rsi
	addq	$16, %rsi
	jmp	LBB0_12
LBB0_5:
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rsi
	addq	$12, %rsi
	jmp	LBB0_12
LBB0_7:
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rsi
	addq	$8, %rsi
	jmp	LBB0_12
LBB0_9:
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rsi
	addq	$4, %rsi
	jmp	LBB0_12
LBB0_11:
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rsi
LBB0_12:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Util_sscandouble               ## TAILCALL
LBB0_14:
	movq	_COLOURS_PAL_external@GOTPCREL(%rip), %rax
	movl	8(%rax), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_Util_strlcpy
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	jmp	LBB0_22
LBB0_16:
	movq	%r14, %rdi
	callq	_Util_sscanbool
	movl	%eax, %ecx
	movq	_COLOURS_PAL_external@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	jmp	LBB0_17
LBB0_19:
	movq	%r14, %rdi
	callq	_Util_sscanbool
	movl	%eax, %ecx
	movq	_COLOURS_PAL_external@GOTPCREL(%rip), %rax
	movl	%ecx, 4(%rax)
LBB0_17:
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	setne	%al
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COLOURS_PAL_SATURATION"

	.comm	_COLOURS_PAL_setup,24,2         ## @COLOURS_PAL_setup
L_.str.1:                               ## @.str.1
	.asciz	"COLOURS_PAL_CONTRAST"

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

L_.str.3:                               ## @.str.3
	.asciz	"COLOURS_PAL_GAMMA"

L_.str.4:                               ## @.str.4
	.asciz	"COLOURS_PAL_HUE"

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

L_.str.6:                               ## @.str.6
	.asciz	"COLOURS_PAL_EXTERNAL_PALETTE"

	.comm	_COLOURS_PAL_external,12,2      ## @COLOURS_PAL_external
L_.str.7:                               ## @.str.7
	.asciz	"COLOURS_PAL_EXTERNAL_PALETTE_LOADED"

L_.str.8:                               ## @.str.8
	.asciz	"COLOURS_PAL_ADJUST_EXTERNAL_PALETTE"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_COLOURS_PAL_ReadConfig         ; -- Begin function COLOURS_PAL_ReadConfig
	.p2align	2
_COLOURS_PAL_ReadConfig:                ; @COLOURS_PAL_ReadConfig
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.6:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.7:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.8:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_20
; %bb.9:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_18
LBB0_10:
Lloh20:
	adrp	x8, _COLOURS_PAL_setup@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COLOURS_PAL_setup@GOTPAGEOFF]
	add	x1, x8, #20
	b	LBB0_16
LBB0_11:
Lloh22:
	adrp	x8, _COLOURS_PAL_setup@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COLOURS_PAL_setup@GOTPAGEOFF]
	add	x1, x8, #16
	b	LBB0_16
LBB0_12:
Lloh24:
	adrp	x8, _COLOURS_PAL_setup@GOTPAGE
Lloh25:
	ldr	x8, [x8, _COLOURS_PAL_setup@GOTPAGEOFF]
	add	x1, x8, #12
	b	LBB0_16
LBB0_13:
Lloh26:
	adrp	x8, _COLOURS_PAL_setup@GOTPAGE
Lloh27:
	ldr	x8, [x8, _COLOURS_PAL_setup@GOTPAGEOFF]
	add	x1, x8, #8
	b	LBB0_16
LBB0_14:
Lloh28:
	adrp	x8, _COLOURS_PAL_setup@GOTPAGE
Lloh29:
	ldr	x8, [x8, _COLOURS_PAL_setup@GOTPAGEOFF]
	add	x1, x8, #4
	b	LBB0_16
LBB0_15:
Lloh30:
	adrp	x1, _COLOURS_PAL_setup@GOTPAGE
Lloh31:
	ldr	x1, [x1, _COLOURS_PAL_setup@GOTPAGEOFF]
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Util_sscandouble
LBB0_17:
Lloh32:
	adrp	x8, _COLOURS_PAL_external@GOTPAGE
Lloh33:
	ldr	x8, [x8, _COLOURS_PAL_external@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8, #8]
	mov	x1, x19
	mov	w2, #4
	bl	_Util_strlcpy
Lloh35:
	adrp	x8, _TRUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	b	LBB0_22
LBB0_19:
	mov	x0, x19
	bl	_Util_sscanbool
Lloh37:
	adrp	x8, _COLOURS_PAL_external@GOTPAGE
Lloh38:
	ldr	x8, [x8, _COLOURS_PAL_external@GOTPAGEOFF]
Lloh39:
	str	w0, [x8]
	b	LBB0_21
LBB0_20:
	mov	x0, x19
	bl	_Util_sscanbool
Lloh40:
	adrp	x8, _COLOURS_PAL_external@GOTPAGE
Lloh41:
	ldr	x8, [x8, _COLOURS_PAL_external@GOTPAGEOFF]
Lloh42:
	str	w0, [x8, #4]
LBB0_21:
	cmn	w0, #1
	cset	w0, ne
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COLOURS_PAL_SATURATION"

	.comm	_COLOURS_PAL_setup,24,2         ; @COLOURS_PAL_setup
l_.str.1:                               ; @.str.1
	.asciz	"COLOURS_PAL_CONTRAST"

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

l_.str.3:                               ; @.str.3
	.asciz	"COLOURS_PAL_GAMMA"

l_.str.4:                               ; @.str.4
	.asciz	"COLOURS_PAL_HUE"

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

l_.str.6:                               ; @.str.6
	.asciz	"COLOURS_PAL_EXTERNAL_PALETTE"

	.comm	_COLOURS_PAL_external,12,2      ; @COLOURS_PAL_external
l_.str.7:                               ; @.str.7
	.asciz	"COLOURS_PAL_EXTERNAL_PALETTE_LOADED"

l_.str.8:                               ; @.str.8
	.asciz	"COLOURS_PAL_ADJUST_EXTERNAL_PALETTE"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
