	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_program_output_csc
_dcn10_program_output_csc:              ## @dcn10_program_output_csc
	.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	(%rsi), %rdi
	movq	8(%rsi), %rax
	cmpl	$1, (%rax)
	movq	(%rdi), %rax
	jne	LBB0_6
## %bb.1:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rcx, %r14
	cmpq	$0, 24(%rcx)
	jle	LBB0_5
## %bb.3:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_dcn10_is_rear_mpo_fix_required
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dcn10_set_csc_adjustment_rgb_mpo_fix ## TAILCALL
LBB0_6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movl	%edx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rdi
	movq	(%rdi), %rax
	movq	8(%rax), %rax
LBB0_5:
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dcn10_program_output_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_program_output_csc
_dcn10_program_output_csc:              ; @dcn10_program_output_csc
	.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
	ldp	x0, x8, [x1]
	ldr	w9, [x8]
	ldr	x8, [x0]
	cmp	w9, #1
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x3
	ldr	x3, [x8, #8]
	cbz	x3, LBB0_7
; %bb.2:
	ldr	x8, [x19, #24]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x20, x1
	mov	x0, x1
	mov	x1, x2
	bl	_dcn10_is_rear_mpo_fix_required
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dcn10_set_csc_adjustment_rgb_mpo_fix
LBB0_5:
	ldr	x3, [x8]
	cbz	x3, LBB0_7
; %bb.6:
	mov	x1, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x0, [x20]
	ldr	x8, [x0]
	ldr	x3, [x8, #8]
LBB0_9:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dcn10_program_output_csc
.subsections_via_symbols
