	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_viu_load_matrix
_meson_viu_load_matrix:                 ## @meson_viu_load_matrix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_VIU_LUT_OSD_EOTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_eotf_33_linear_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_meson_viu_set_osd_lut
	movq	_VIU_MATRIX_OSD_EOTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_eotf_bypass_coeff@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_meson_viu_set_osd_matrix
	movq	_VIU_LUT_OSD_OETF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_oetf_41_linear_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	callq	_meson_viu_set_osd_lut
	movq	_VIU_MATRIX_OSD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RGB709_to_YUV709l_coeff@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_meson_viu_set_osd_matrix       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIU_LUT_OSD_EOTF,4,2           ## @VIU_LUT_OSD_EOTF
	.comm	_eotf_33_linear_mapping,4,2     ## @eotf_33_linear_mapping
	.comm	_VIU_MATRIX_OSD_EOTF,4,2        ## @VIU_MATRIX_OSD_EOTF
	.comm	_eotf_bypass_coeff,4,2          ## @eotf_bypass_coeff
	.comm	_VIU_LUT_OSD_OETF,4,2           ## @VIU_LUT_OSD_OETF
	.comm	_oetf_41_linear_mapping,4,2     ## @oetf_41_linear_mapping
	.comm	_VIU_MATRIX_OSD,4,2             ## @VIU_MATRIX_OSD
	.comm	_RGB709_to_YUV709l_coeff,4,2    ## @RGB709_to_YUV709l_coeff
	.no_dead_strip	_meson_viu_load_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_viu_load_matrix
_meson_viu_load_matrix:                 ; @meson_viu_load_matrix
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _VIU_LUT_OSD_EOTF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIU_LUT_OSD_EOTF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _eotf_33_linear_mapping@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eotf_33_linear_mapping@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x2
	mov	x4, x2
	mov	w5, #0
	bl	_meson_viu_set_osd_lut
Lloh6:
	adrp	x8, _VIU_MATRIX_OSD_EOTF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIU_MATRIX_OSD_EOTF@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _eotf_bypass_coeff@GOTPAGE
Lloh10:
	ldr	x8, [x8, _eotf_bypass_coeff@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_meson_viu_set_osd_matrix
Lloh12:
	adrp	x8, _VIU_LUT_OSD_OETF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIU_LUT_OSD_OETF@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _oetf_41_linear_mapping@GOTPAGE
Lloh16:
	ldr	x8, [x8, _oetf_41_linear_mapping@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	mov	x4, x2
	mov	w5, #0
	bl	_meson_viu_set_osd_lut
Lloh18:
	adrp	x8, _VIU_MATRIX_OSD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VIU_MATRIX_OSD@GOTPAGEOFF]
Lloh20:
	adrp	x9, _RGB709_to_YUV709l_coeff@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RGB709_to_YUV709l_coeff@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	ldr	w2, [x9]
	mov	x0, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_meson_viu_set_osd_matrix
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIU_LUT_OSD_EOTF,4,2           ; @VIU_LUT_OSD_EOTF
	.comm	_eotf_33_linear_mapping,4,2     ; @eotf_33_linear_mapping
	.comm	_VIU_MATRIX_OSD_EOTF,4,2        ; @VIU_MATRIX_OSD_EOTF
	.comm	_eotf_bypass_coeff,4,2          ; @eotf_bypass_coeff
	.comm	_VIU_LUT_OSD_OETF,4,2           ; @VIU_LUT_OSD_OETF
	.comm	_oetf_41_linear_mapping,4,2     ; @oetf_41_linear_mapping
	.comm	_VIU_MATRIX_OSD,4,2             ; @VIU_MATRIX_OSD
	.comm	_RGB709_to_YUV709l_coeff,4,2    ; @RGB709_to_YUV709l_coeff
	.no_dead_strip	_meson_viu_load_matrix
.subsections_via_symbols
