	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scaler_set_csc
_scaler_set_csc:                        ## @scaler_set_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
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rsi), %eax
	addl	$-128, %eax
	xorl	%ecx, %ecx
	cmpl	$9, %eax
	setb	%cl
	imulq	$324, %rcx, %rbx                ## imm = 0x144
	leaq	_scaler_set_csc.csc_mtx(%rip), %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_SCALER_CSC_COEF
	movl	32(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	(%rbx,%r14), %xmm0
	movups	16(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_SCALER_CSC_COEF
	movl	68(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	36(%rbx,%r14), %xmm0
	movups	52(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_SCALER_CSC_COEF
	movl	104(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	72(%rbx,%r14), %xmm0
	movups	88(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_SCALER_CSC_COEF
	movl	140(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	108(%rbx,%r14), %xmm0
	movups	124(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	movl	$1, %edi
	movl	$1, %esi
	callq	_SCALER_CSC_COEF
	movl	176(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	144(%rbx,%r14), %xmm0
	movups	160(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	movl	$2, %edi
	movl	$1, %esi
	callq	_SCALER_CSC_COEF
	movl	212(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	180(%rbx,%r14), %xmm0
	movups	196(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_SCALER_CSC_COEF
	movl	248(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	216(%rbx,%r14), %xmm0
	movups	232(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	movl	$1, %edi
	movl	$2, %esi
	callq	_SCALER_CSC_COEF
	movl	284(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	252(%rbx,%r14), %xmm0
	movups	268(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	movl	$2, %edi
	movl	$2, %esi
	callq	_SCALER_CSC_COEF
	movl	320(%rbx,%r14), %ecx
	movl	%ecx, -32(%rbp)
	movups	288(%rbx,%r14), %xmm0
	movups	304(%rbx,%r14), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 32(%rsp)
	movaps	-64(%rbp), %xmm0
	movaps	-48(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%eax, %edi
	callq	_scaler_write
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @scaler_set_csc.csc_mtx
_scaler_set_csc.csc_mtx:
	.long	596                             ## 0x254
	.long	0                               ## 0x0
	.long	817                             ## 0x331
	.space	12
	.space	12
	.space	36
	.space	36
	.long	596                             ## 0x254
	.long	3896                            ## 0xf38
	.long	3680                            ## 0xe60
	.space	12
	.space	12
	.space	36
	.space	36
	.long	596                             ## 0x254
	.long	1033                            ## 0x409
	.long	0                               ## 0x0
	.space	12
	.space	12
	.space	36
	.space	36
	.long	132                             ## 0x84
	.long	258                             ## 0x102
	.long	50                              ## 0x32
	.space	12
	.space	12
	.space	36
	.space	36
	.long	4020                            ## 0xfb4
	.long	3947                            ## 0xf6b
	.long	225                             ## 0xe1
	.space	12
	.space	12
	.space	36
	.space	36
	.long	225                             ## 0xe1
	.long	3908                            ## 0xf44
	.long	4060                            ## 0xfdc
	.space	12
	.space	12
	.space	36
	.space	36

	.no_dead_strip	_scaler_set_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scaler_set_csc
_scaler_set_csc:                        ; @scaler_set_csc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #9
	cset	w8, lo
Lloh0:
	adrp	x9, _scaler_set_csc.csc_mtx@PAGE
Lloh1:
	add	x9, x9, _scaler_set_csc.csc_mtx@PAGEOFF
	mov	w10, #324
	umaddl	x19, w8, w10, x9
	mov	w0, #0
	mov	w1, #0
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldp	q0, q1, [x19]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #32]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #1
	mov	w1, #0
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldur	q0, [x19, #36]
	ldur	q1, [x19, #52]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #68]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #2
	mov	w1, #0
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldur	q0, [x19, #72]
	ldur	q1, [x19, #88]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #104]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #0
	mov	w1, #1
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldur	q0, [x19, #108]
	ldur	q1, [x19, #124]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #140]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #1
	mov	w1, #1
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldp	q0, q1, [x19, #144]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #176]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #2
	mov	w1, #1
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldur	q0, [x19, #180]
	ldur	q1, [x19, #196]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #212]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	add	x20, x19, #216
	mov	w0, #0
	mov	w1, #2
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldur	q0, [x19, #216]
	ldur	q1, [x19, #232]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #248]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #1
	mov	w1, #2
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldur	q0, [x19, #252]
	ldur	q1, [x20, #52]
	stp	q0, q1, [sp]
	ldr	w8, [x20, #68]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	mov	w0, #2
	mov	w1, #2
	bl	_SCALER_CSC_COEF
	mov	x1, x0
	ldp	q0, q1, [x19, #288]
	stp	q0, q1, [sp]
	ldr	w8, [x19, #320]
	str	w8, [sp, #32]
	mov	x0, sp
	bl	_scaler_write
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @scaler_set_csc.csc_mtx
_scaler_set_csc.csc_mtx:
	.long	596                             ; 0x254
	.long	0                               ; 0x0
	.long	817                             ; 0x331
	.space	12
	.space	12
	.space	36
	.space	36
	.long	596                             ; 0x254
	.long	3896                            ; 0xf38
	.long	3680                            ; 0xe60
	.space	12
	.space	12
	.space	36
	.space	36
	.long	596                             ; 0x254
	.long	1033                            ; 0x409
	.long	0                               ; 0x0
	.space	12
	.space	12
	.space	36
	.space	36
	.long	132                             ; 0x84
	.long	258                             ; 0x102
	.long	50                              ; 0x32
	.space	12
	.space	12
	.space	36
	.space	36
	.long	4020                            ; 0xfb4
	.long	3947                            ; 0xf6b
	.long	225                             ; 0xe1
	.space	12
	.space	12
	.space	36
	.space	36
	.long	225                             ; 0xe1
	.long	3908                            ; 0xf44
	.long	4060                            ; 0xfdc
	.space	12
	.space	12
	.space	36
	.space	36

	.no_dead_strip	_scaler_set_csc
.subsections_via_symbols
