	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdp4_write_csc_config
_mdp4_write_csc_config:                 ## @mdp4_write_csc_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	32(%rdx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_REG_MDP4_PIPE_CSC_MV
	movq	32(%r12), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mdp4_write
	incq	%rbx
	movq	32(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	16(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_REG_MDP4_PIPE_CSC_PRE_BV
	movq	24(%r12), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mdp4_write
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_REG_MDP4_PIPE_CSC_POST_BV
	movq	16(%r12), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mdp4_write
	incq	%rbx
	movq	16(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_REG_MDP4_PIPE_CSC_PRE_LV
	movq	8(%r12), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mdp4_write
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_REG_MDP4_PIPE_CSC_POST_LV
	movq	(%r12), %rcx
	movl	(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mdp4_write
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mdp4_write_csc_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdp4_write_csc_config
_mdp4_write_csc_config:                 ; @mdp4_write_csc_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x2, #32]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_REG_MDP4_PIPE_CSC_MV
	mov	x1, x0
	ldr	x8, [x19, #32]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x21
	bl	_mdp4_write
	add	x22, x22, #1
	ldr	x0, [x19, #32]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_REG_MDP4_PIPE_CSC_PRE_BV
	mov	x1, x0
	ldr	x8, [x19, #24]
	lsl	x23, x22, #2
	ldr	w2, [x8, x23]
	mov	x0, x21
	bl	_mdp4_write
	mov	x0, x20
	mov	x1, x22
	bl	_REG_MDP4_PIPE_CSC_POST_BV
	mov	x1, x0
	ldr	x8, [x19, #16]
	ldr	w2, [x8, x23]
	mov	x0, x21
	bl	_mdp4_write
	add	x22, x22, #1
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_REG_MDP4_PIPE_CSC_PRE_LV
	mov	x1, x0
	ldr	x8, [x19, #8]
	lsl	x23, x22, #2
	ldr	w2, [x8, x23]
	mov	x0, x21
	bl	_mdp4_write
	mov	x0, x20
	mov	x1, x22
	bl	_REG_MDP4_PIPE_CSC_POST_LV
	mov	x1, x0
	ldr	x8, [x19]
	ldr	w2, [x8, x23]
	mov	x0, x21
	bl	_mdp4_write
	add	x22, x22, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mdp4_write_csc_config
.subsections_via_symbols
