	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __drm_ctm_to_dc_matrix
___drm_ctm_to_dc_matrix:                ## @__drm_ctm_to_dc_matrix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	movq	_dc_fixpt_zero@GOTPCREL(%rip), %r8
	movabsq	$9223372036854775807, %r9       ## imm = 0x7FFFFFFFFFFFFFFF
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rax,%rax), %rcx
	andq	$-8, %rcx
	negq	%rcx
	addq	(%rdi), %rcx
	movq	(%rcx,%rax,8), %rdx
	movq	%rdx, %rcx
	andq	%r9, %rcx
	negq	%rcx
	testq	%rdx, %rdx
	cmovnsq	%rdx, %rcx
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, (%rsi,%rax,8)
	incq	%rax
	cmpq	$12, %rax
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	notl	%ecx
	testb	$3, %cl
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r8), %rcx
	jmp	LBB0_4
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dc_fixpt_zero,8,3              ## @dc_fixpt_zero
	.no_dead_strip	___drm_ctm_to_dc_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __drm_ctm_to_dc_matrix
___drm_ctm_to_dc_matrix:                ; @__drm_ctm_to_dc_matrix
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, _dc_fixpt_zero@GOTPAGE
Lloh1:
	ldr	x9, [x9, _dc_fixpt_zero@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	x10, x8, #1
	and	x10, x10, #0xfffffffffffffff8
	ldr	x11, [x0]
	neg	x10, x10
	add	x10, x11, x10
	ldr	x10, [x10, x8, lsl #3]
	and	x11, x10, #0x7fffffffffffffff
	cmp	x10, #0
	csneg	x10, x10, x11, ge
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x10, [x1, x8, lsl #3]
	add	x8, x8, #1
	cmp	x8, #12
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mvn	w10, w8
	tst	w10, #0x3
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x9]
	b	LBB0_2
LBB0_5:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dc_fixpt_zero,8,3              ; @dc_fixpt_zero
	.no_dead_strip	___drm_ctm_to_dc_matrix
.subsections_via_symbols
