	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_setup_color_conv_coef
_dispc_setup_color_conv_coef:           ## @dispc_setup_color_conv_coef
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_dispc_get_num_ovls
	movl	%eax, %r15d
	movq	l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim+32(%rip), %rax
	movq	%rax, -96(%rbp)
	movups	l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim+16(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movups	l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim+32(%rip), %rax
	movq	%rax, -48(%rbp)
	movups	l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim+16(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movups	l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	cmpl	$2, %r15d
	jl	LBB0_3
## %bb.1:
	movl	$1, %ebx
	leaq	-128(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_dispc_ovl_write_color_conv_coef
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_2
LBB0_3:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dispc_wb_write_color_conv_coef
LBB0_5:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim
l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim:
	.long	298                             ## 0x12a
	.long	0                               ## 0x0
	.long	409                             ## 0x199
	.long	298                             ## 0x12a
	.long	4294967196                      ## 0xffffff9c
	.long	4294967088                      ## 0xffffff30
	.long	298                             ## 0x12a
	.long	516                             ## 0x204
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	2                               ## @__const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim
l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim:
	.long	66                              ## 0x42
	.long	129                             ## 0x81
	.long	25                              ## 0x19
	.long	4294967258                      ## 0xffffffda
	.long	4294967222                      ## 0xffffffb6
	.long	112                             ## 0x70
	.long	112                             ## 0x70
	.long	4294967202                      ## 0xffffffa2
	.long	4294967278                      ## 0xffffffee
	.long	0                               ## 0x0

	.no_dead_strip	_dispc_setup_color_conv_coef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_setup_color_conv_coef
_dispc_setup_color_conv_coef:           ; @dispc_setup_color_conv_coef
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x0
	bl	_dispc_get_num_ovls
Lloh0:
	adrp	x8, l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim@PAGE
Lloh1:
	add	x8, x8, l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #48]
	ldr	x8, [x8, #32]
	str	x8, [sp, #80]
Lloh2:
	adrp	x8, l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim@PAGE
Lloh3:
	add	x8, x8, l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	x8, [x8, #32]
	str	x8, [sp, #32]
	cmp	w0, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #48
	mov	x0, x19
	mov	x1, x21
	bl	_dispc_ovl_write_color_conv_coef
	add	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x1, sp
	mov	x0, x19
	bl	_dispc_wb_write_color_conv_coef
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim
l___const.dispc_setup_color_conv_coef.coefs_yuv2rgb_bt601_lim:
	.long	298                             ; 0x12a
	.long	0                               ; 0x0
	.long	409                             ; 0x199
	.long	298                             ; 0x12a
	.long	4294967196                      ; 0xffffff9c
	.long	4294967088                      ; 0xffffff30
	.long	298                             ; 0x12a
	.long	516                             ; 0x204
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @__const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim
l___const.dispc_setup_color_conv_coef.coefs_rgb2yuv_bt601_lim:
	.long	66                              ; 0x42
	.long	129                             ; 0x81
	.long	25                              ; 0x19
	.long	4294967258                      ; 0xffffffda
	.long	4294967222                      ; 0xffffffb6
	.long	112                             ; 0x70
	.long	112                             ; 0x70
	.long	4294967202                      ; 0xffffffa2
	.long	4294967278                      ; 0xffffffee
	.long	0                               ; 0x0

	.no_dead_strip	_dispc_setup_color_conv_coef
.subsections_via_symbols
