	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function program_gamut_remap
_program_gamut_remap:                   ## @program_gamut_remap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	_GAMUT_REMAP_C11_C12@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAMUT_REMAP_C11@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GAMUT_REMAP_C12@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%rsi), %ecx
	movl	4(%rsi), %r9d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_GAMUT_REMAP_C13_C14@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAMUT_REMAP_C13@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GAMUT_REMAP_C14@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	8(%rbx), %ecx
	movl	12(%rbx), %r9d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_GAMUT_REMAP_C21_C22@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAMUT_REMAP_C21@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GAMUT_REMAP_C22@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	16(%rbx), %ecx
	movl	20(%rbx), %r9d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_GAMUT_REMAP_C23_C24@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAMUT_REMAP_C23@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GAMUT_REMAP_C24@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	24(%rbx), %ecx
	movl	28(%rbx), %r9d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_GAMUT_REMAP_C31_C32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAMUT_REMAP_C31@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GAMUT_REMAP_C32@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	32(%rbx), %ecx
	movl	36(%rbx), %r9d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_GAMUT_REMAP_C33_C34@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAMUT_REMAP_C33@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GAMUT_REMAP_C34@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	40(%rbx), %ecx
	movl	44(%rbx), %r9d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movl	$1, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	_GAMUT_REMAP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GRPH_GAMUT_REMAP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_SET                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GAMUT_REMAP_C11_C12,4,2        ## @GAMUT_REMAP_C11_C12
	.comm	_GAMUT_REMAP_C11,4,2            ## @GAMUT_REMAP_C11
	.comm	_GAMUT_REMAP_C12,4,2            ## @GAMUT_REMAP_C12
	.comm	_GAMUT_REMAP_C13_C14,4,2        ## @GAMUT_REMAP_C13_C14
	.comm	_GAMUT_REMAP_C13,4,2            ## @GAMUT_REMAP_C13
	.comm	_GAMUT_REMAP_C14,4,2            ## @GAMUT_REMAP_C14
	.comm	_GAMUT_REMAP_C21_C22,4,2        ## @GAMUT_REMAP_C21_C22
	.comm	_GAMUT_REMAP_C21,4,2            ## @GAMUT_REMAP_C21
	.comm	_GAMUT_REMAP_C22,4,2            ## @GAMUT_REMAP_C22
	.comm	_GAMUT_REMAP_C23_C24,4,2        ## @GAMUT_REMAP_C23_C24
	.comm	_GAMUT_REMAP_C23,4,2            ## @GAMUT_REMAP_C23
	.comm	_GAMUT_REMAP_C24,4,2            ## @GAMUT_REMAP_C24
	.comm	_GAMUT_REMAP_C31_C32,4,2        ## @GAMUT_REMAP_C31_C32
	.comm	_GAMUT_REMAP_C31,4,2            ## @GAMUT_REMAP_C31
	.comm	_GAMUT_REMAP_C32,4,2            ## @GAMUT_REMAP_C32
	.comm	_GAMUT_REMAP_C33_C34,4,2        ## @GAMUT_REMAP_C33_C34
	.comm	_GAMUT_REMAP_C33,4,2            ## @GAMUT_REMAP_C33
	.comm	_GAMUT_REMAP_C34,4,2            ## @GAMUT_REMAP_C34
	.comm	_GAMUT_REMAP_CONTROL,4,2        ## @GAMUT_REMAP_CONTROL
	.comm	_GRPH_GAMUT_REMAP_MODE,4,2      ## @GRPH_GAMUT_REMAP_MODE
	.no_dead_strip	_program_gamut_remap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function program_gamut_remap
_program_gamut_remap:                   ; @program_gamut_remap
	.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
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _GAMUT_REMAP_C11_C12@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GAMUT_REMAP_C11_C12@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GAMUT_REMAP_C11@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GAMUT_REMAP_C11@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _GAMUT_REMAP_C12@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GAMUT_REMAP_C12@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	ldp	w3, w5, [x1]
	mov	w1, #0
	bl	_REG_SET_2
Lloh9:
	adrp	x8, _GAMUT_REMAP_C13_C14@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GAMUT_REMAP_C13_C14@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _GAMUT_REMAP_C13@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GAMUT_REMAP_C13@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _GAMUT_REMAP_C14@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GAMUT_REMAP_C14@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	ldp	w3, w5, [x19, #8]
	mov	w1, #0
	bl	_REG_SET_2
Lloh18:
	adrp	x8, _GAMUT_REMAP_C21_C22@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GAMUT_REMAP_C21_C22@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _GAMUT_REMAP_C21@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GAMUT_REMAP_C21@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x8, _GAMUT_REMAP_C22@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GAMUT_REMAP_C22@GOTPAGEOFF]
Lloh26:
	ldr	w4, [x8]
	ldp	w3, w5, [x19, #16]
	mov	w1, #0
	bl	_REG_SET_2
Lloh27:
	adrp	x8, _GAMUT_REMAP_C23_C24@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GAMUT_REMAP_C23_C24@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _GAMUT_REMAP_C23@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GAMUT_REMAP_C23@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _GAMUT_REMAP_C24@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GAMUT_REMAP_C24@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	ldp	w3, w5, [x19, #24]
	mov	w1, #0
	bl	_REG_SET_2
Lloh36:
	adrp	x8, _GAMUT_REMAP_C31_C32@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GAMUT_REMAP_C31_C32@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x8, _GAMUT_REMAP_C31@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GAMUT_REMAP_C31@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
Lloh42:
	adrp	x8, _GAMUT_REMAP_C32@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GAMUT_REMAP_C32@GOTPAGEOFF]
Lloh44:
	ldr	w4, [x8]
	ldp	w3, w5, [x19, #32]
	mov	w1, #0
	bl	_REG_SET_2
Lloh45:
	adrp	x8, _GAMUT_REMAP_C33_C34@GOTPAGE
Lloh46:
	ldr	x8, [x8, _GAMUT_REMAP_C33_C34@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x8, _GAMUT_REMAP_C33@GOTPAGE
Lloh49:
	ldr	x8, [x8, _GAMUT_REMAP_C33@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
Lloh51:
	adrp	x8, _GAMUT_REMAP_C34@GOTPAGE
Lloh52:
	ldr	x8, [x8, _GAMUT_REMAP_C34@GOTPAGEOFF]
Lloh53:
	ldr	w4, [x8]
	ldp	w3, w5, [x19, #40]
	mov	w1, #0
	bl	_REG_SET_2
	mov	w3, #1
	b	LBB0_3
LBB0_2:
	mov	w3, #0
LBB0_3:
Lloh54:
	adrp	x8, _GAMUT_REMAP_CONTROL@GOTPAGE
Lloh55:
	ldr	x8, [x8, _GAMUT_REMAP_CONTROL@GOTPAGEOFF]
Lloh56:
	adrp	x9, _GRPH_GAMUT_REMAP_MODE@GOTPAGE
Lloh57:
	ldr	x9, [x9, _GRPH_GAMUT_REMAP_MODE@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
Lloh59:
	ldr	w2, [x9]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_GAMUT_REMAP_C11_C12,4,2        ; @GAMUT_REMAP_C11_C12
	.comm	_GAMUT_REMAP_C11,4,2            ; @GAMUT_REMAP_C11
	.comm	_GAMUT_REMAP_C12,4,2            ; @GAMUT_REMAP_C12
	.comm	_GAMUT_REMAP_C13_C14,4,2        ; @GAMUT_REMAP_C13_C14
	.comm	_GAMUT_REMAP_C13,4,2            ; @GAMUT_REMAP_C13
	.comm	_GAMUT_REMAP_C14,4,2            ; @GAMUT_REMAP_C14
	.comm	_GAMUT_REMAP_C21_C22,4,2        ; @GAMUT_REMAP_C21_C22
	.comm	_GAMUT_REMAP_C21,4,2            ; @GAMUT_REMAP_C21
	.comm	_GAMUT_REMAP_C22,4,2            ; @GAMUT_REMAP_C22
	.comm	_GAMUT_REMAP_C23_C24,4,2        ; @GAMUT_REMAP_C23_C24
	.comm	_GAMUT_REMAP_C23,4,2            ; @GAMUT_REMAP_C23
	.comm	_GAMUT_REMAP_C24,4,2            ; @GAMUT_REMAP_C24
	.comm	_GAMUT_REMAP_C31_C32,4,2        ; @GAMUT_REMAP_C31_C32
	.comm	_GAMUT_REMAP_C31,4,2            ; @GAMUT_REMAP_C31
	.comm	_GAMUT_REMAP_C32,4,2            ; @GAMUT_REMAP_C32
	.comm	_GAMUT_REMAP_C33_C34,4,2        ; @GAMUT_REMAP_C33_C34
	.comm	_GAMUT_REMAP_C33,4,2            ; @GAMUT_REMAP_C33
	.comm	_GAMUT_REMAP_C34,4,2            ; @GAMUT_REMAP_C34
	.comm	_GAMUT_REMAP_CONTROL,4,2        ; @GAMUT_REMAP_CONTROL
	.comm	_GRPH_GAMUT_REMAP_MODE,4,2      ; @GRPH_GAMUT_REMAP_MODE
	.no_dead_strip	_program_gamut_remap
.subsections_via_symbols
