	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn20_set_blend_lut
_dcn20_set_blend_lut:                   ## @dcn20_set_blend_lut
	.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	(%rdi), %rbx
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	(%rsi), %rax
	movq	_TF_TYPE_HWPWL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	addq	$8, %rsi
	jmp	LBB0_7
LBB0_4:
	movq	_TF_TYPE_DISTRIBUTED_POINTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	8(%rbx), %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_cm_helper_translate_curve_to_hw_format
	movq	%r14, %rsi
	jmp	LBB0_7
LBB0_6:
	xorl	%esi, %esi
LBB0_7:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TF_TYPE_HWPWL,8,3              ## @TF_TYPE_HWPWL
	.comm	_TF_TYPE_DISTRIBUTED_POINTS,8,3 ## @TF_TYPE_DISTRIBUTED_POINTS
	.no_dead_strip	_dcn20_set_blend_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn20_set_blend_lut
_dcn20_set_blend_lut:                   ; @dcn20_set_blend_lut
	.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
	ldr	x19, [x0]
	ldr	x0, [x1]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TF_TYPE_HWPWL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TF_TYPE_HWPWL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x20, x0, #8
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x9, _TF_TYPE_DISTRIBUTED_POINTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TF_TYPE_DISTRIBUTED_POINTS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	add	x20, x19, #8
	mov	x1, x20
	mov	w2, #0
	bl	_cm_helper_translate_curve_to_hw_format
	b	LBB0_6
LBB0_5:
	mov	x20, #0
LBB0_6:
	ldr	x8, [x19]
	ldr	x2, [x8]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TF_TYPE_HWPWL,8,3              ; @TF_TYPE_HWPWL
	.comm	_TF_TYPE_DISTRIBUTED_POINTS,8,3 ; @TF_TYPE_DISTRIBUTED_POINTS
	.no_dead_strip	_dcn20_set_blend_lut
.subsections_via_symbols
