	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sun8i_csc_set_ccsc_coefficients ## -- Begin function sun8i_csc_set_ccsc_coefficients
	.p2align	4, 0x90
_sun8i_csc_set_ccsc_coefficients:       ## @sun8i_csc_set_ccsc_coefficients
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %r9
	cmpq	$0, 8(%r9)
	je	LBB0_2
## %bb.1:
	movl	(%rdi), %edi
	popq	%rbp
	jmp	_sun8i_de3_ccsc_set_coefficients ## TAILCALL
LBB0_2:
	movq	_ccsc_base@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	(%r9), %rax
	movq	(%r10,%rax,8), %rax
	movslq	%esi, %rsi
	movl	(%rax,%rsi,4), %esi
	movl	(%rdi), %edi
	popq	%rbp
	jmp	_sun8i_csc_set_coefficients     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ccsc_base,8,3                  ## @ccsc_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sun8i_csc_set_ccsc_coefficients ; -- Begin function sun8i_csc_set_ccsc_coefficients
	.p2align	2
_sun8i_csc_set_ccsc_coefficients:       ; @sun8i_csc_set_ccsc_coefficients
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	b	_sun8i_de3_ccsc_set_coefficients
LBB0_2:
Lloh0:
	adrp	x9, _ccsc_base@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ccsc_base@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w1, [x8, w1, sxtw #2]
	ldr	w0, [x0]
	b	_sun8i_csc_set_coefficients
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ccsc_base,8,3                  ; @ccsc_base
.subsections_via_symbols
