	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp20_set3dlut_ram12
_dpp20_set3dlut_ram12:                  ## @dpp20_set3dlut_ram12
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	callq	_TO_DCN20_DPP
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.1:
	addq	$20, %rbx
	xorl	%r15d, %r15d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-20(%rbx), %ecx
	movl	-16(%rbx), %r12d
	shll	$4, %ecx
	shll	$4, %r12d
	movl	-12(%rbx), %eax
	shll	$4, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-8(%rbx), %r9d
	shll	$4, %r9d
	movl	-4(%rbx), %r14d
	shll	$4, %r14d
	movl	(%rbx), %r13d
	shll	$4, %r13d
	movq	_CM_3DLUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_3DLUT_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CM_3DLUT_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_CM_3DLUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_3DLUT_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CM_3DLUT_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movl	%r12d, %ecx
	movl	%r14d, %r9d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	callq	_REG_SET_2
	movq	_CM_3DLUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_3DLUT_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CM_3DLUT_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r9d
	callq	_REG_SET_2
	addq	$24, %rbx
	addl	$2, %r15d
	cmpl	%r14d, %r15d
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_3DLUT_DATA,4,2              ## @CM_3DLUT_DATA
	.comm	_CM_3DLUT_DATA0,4,2             ## @CM_3DLUT_DATA0
	.comm	_CM_3DLUT_DATA1,4,2             ## @CM_3DLUT_DATA1
	.no_dead_strip	_dpp20_set3dlut_ram12
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp20_set3dlut_ram12
_dpp20_set3dlut_ram12:                  ; @dpp20_set3dlut_ram12
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_TO_DCN20_DPP
	cmp	w19, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w24, #0
	add	x25, x20, #12
Lloh0:
	adrp	x26, _CM_3DLUT_DATA@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CM_3DLUT_DATA@GOTPAGEOFF]
Lloh2:
	adrp	x27, _CM_3DLUT_DATA0@GOTPAGE
Lloh3:
	ldr	x27, [x27, _CM_3DLUT_DATA0@GOTPAGEOFF]
Lloh4:
	adrp	x28, _CM_3DLUT_DATA1@GOTPAGE
Lloh5:
	ldr	x28, [x28, _CM_3DLUT_DATA1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x25, #-12]
	lsl	w3, w8, #4
	lsl	w20, w9, #4
	ldur	w8, [x25, #-4]
	lsl	w21, w8, #4
	ldp	w8, w9, [x25]
	lsl	w5, w8, #4
	lsl	w22, w9, #4
	ldr	w8, [x25, #8]
	lsl	w23, w8, #4
	ldr	w0, [x26]
	ldr	w2, [x27]
	ldr	w4, [x28]
	mov	w1, #0
	bl	_REG_SET_2
	ldr	w0, [x26]
	ldr	w2, [x27]
	ldr	w4, [x28]
	mov	w1, #0
	mov	x3, x20
	mov	x5, x22
	bl	_REG_SET_2
	ldr	w0, [x26]
	ldr	w2, [x27]
	ldr	w4, [x28]
	mov	w1, #0
	mov	x3, x21
	mov	x5, x23
	bl	_REG_SET_2
	add	x25, x25, #24
	add	w24, w24, #2
	cmp	w24, w19
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_3DLUT_DATA,4,2              ; @CM_3DLUT_DATA
	.comm	_CM_3DLUT_DATA0,4,2             ; @CM_3DLUT_DATA0
	.comm	_CM_3DLUT_DATA1,4,2             ; @CM_3DLUT_DATA1
	.no_dead_strip	_dpp20_set3dlut_ram12
.subsections_via_symbols
