	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Colours_PreInitialise          ## -- Begin function Colours_PreInitialise
	.p2align	4, 0x90
_Colours_PreInitialise:                 ## @Colours_PreInitialise
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_presets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_COLOURS_PRESET_STANDARD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_COLOURS_PAL_setup@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_COLOURS_NTSC_setup@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_COLOURS_NTSC_RestoreDefaults
	xorl	%eax, %eax
	popq	%rbp
	jmp	_COLOURS_PAL_RestoreDefaults    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_presets,8,3                    ## @presets
	.comm	_COLOURS_PRESET_STANDARD,8,3    ## @COLOURS_PRESET_STANDARD
	.comm	_COLOURS_PAL_setup,4,2          ## @COLOURS_PAL_setup
	.comm	_COLOURS_NTSC_setup,4,2         ## @COLOURS_NTSC_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Colours_PreInitialise          ; -- Begin function Colours_PreInitialise
	.p2align	2
_Colours_PreInitialise:                 ; @Colours_PreInitialise
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _presets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _presets@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _COLOURS_PRESET_STANDARD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _COLOURS_PRESET_STANDARD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh6:
	adrp	x9, _COLOURS_PAL_setup@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COLOURS_PAL_setup@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x9, _COLOURS_NTSC_setup@GOTPAGE
Lloh10:
	ldr	x9, [x9, _COLOURS_NTSC_setup@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	bl	_COLOURS_NTSC_RestoreDefaults
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_COLOURS_PAL_RestoreDefaults
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_presets,8,3                    ; @presets
	.comm	_COLOURS_PRESET_STANDARD,8,3    ; @COLOURS_PRESET_STANDARD
	.comm	_COLOURS_PAL_setup,4,2          ; @COLOURS_PAL_setup
	.comm	_COLOURS_NTSC_setup,4,2         ; @COLOURS_NTSC_setup
.subsections_via_symbols
