	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function COLOURS_NTSC_GetPreset
LCPI0_0:
	.quad	0x3f50624dd2f1a9fc              ## double 0.001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_COLOURS_NTSC_GetPreset
	.p2align	4, 0x90
_COLOURS_NTSC_GetPreset:                ## @COLOURS_NTSC_GetPreset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_COLOURS_NTSC_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_default_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_Util_almostequal
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_COLOURS_PRESET_CUSTOM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_COLOURS_PRESET_STANDARD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOURS_NTSC_setup,4,2         ## @COLOURS_NTSC_setup
	.comm	_default_setup,4,2              ## @default_setup
	.comm	_COLOURS_PRESET_STANDARD,4,2    ## @COLOURS_PRESET_STANDARD
	.comm	_COLOURS_PRESET_CUSTOM,4,2      ## @COLOURS_PRESET_CUSTOM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_COLOURS_NTSC_GetPreset         ; -- Begin function COLOURS_NTSC_GetPreset
	.p2align	2
_COLOURS_NTSC_GetPreset:                ; @COLOURS_NTSC_GetPreset
	.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, _COLOURS_NTSC_setup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COLOURS_NTSC_setup@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _default_setup@GOTPAGE
Lloh4:
	ldr	x8, [x8, _default_setup@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x8, #43516
	movk	x8, #54001, lsl #16
	movk	x8, #25165, lsl #32
	movk	x8, #16208, lsl #48
	fmov	d0, x8
	bl	_Util_almostequal
Lloh6:
	adrp	x8, _COLOURS_PRESET_CUSTOM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COLOURS_PRESET_CUSTOM@GOTPAGEOFF]
Lloh8:
	adrp	x9, _COLOURS_PRESET_STANDARD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _COLOURS_PRESET_STANDARD@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOURS_NTSC_setup,4,2         ; @COLOURS_NTSC_setup
	.comm	_default_setup,4,2              ; @default_setup
	.comm	_COLOURS_PRESET_STANDARD,4,2    ; @COLOURS_PRESET_STANDARD
	.comm	_COLOURS_PRESET_CUSTOM,4,2      ; @COLOURS_PRESET_CUSTOM
.subsections_via_symbols
