	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_cavs_load_intra_pred_chroma ## -- Begin function ff_cavs_load_intra_pred_chroma
	.p2align	4, 0x90
_ff_cavs_load_intra_pred_chroma:        ## @ff_cavs_load_intra_pred_chroma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	32(%rdi), %rdx
	movl	32(%rdx), %eax
	movl	%eax, 36(%rdx)
	movq	24(%rdi), %r8
	movl	32(%r8), %eax
	movl	%eax, 36(%r8)
	movq	_C_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	4(%rdi), %rax
	addq	%rax, %rax
	movq	16(%rdi), %r10
	leaq	(%rax,%rax,4), %rax
	testl	%esi, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	44(%r10,%rax,4), %esi
	cltq
	movl	%esi, 36(%r10,%rax,4)
	movl	4(%rdi), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %r9d
	leal	(%rax,%rax,4), %eax
	addl	$11, %eax
	jmp	LBB0_3
LBB0_2:
	cltq
	movl	32(%r10,%rax,4), %esi
	movl	%esi, 36(%r10,%rax,4)
	movl	4(%rdi), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %r9d
	leal	(%rax,%rax,4), %eax
	addl	$8, %eax
LBB0_3:
	movq	8(%rdi), %rsi
	cltq
	movl	(%rsi,%rax,4), %eax
	movslq	%r9d, %rcx
	movl	%eax, 36(%rsi,%rcx,4)
	movl	(%rdi), %eax
	movq	_A_AVAIL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	_B_AVAIL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	44(%rdi), %eax
	movl	%eax, (%rdx)
	movslq	4(%rdi), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movl	%eax, (%r10,%rcx,8)
	movl	40(%rdi), %ecx
	movl	%ecx, (%r8)
	movl	4(%rdi), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	jmp	LBB0_7
LBB0_6:
	movl	4(%rdx), %eax
	movl	%eax, (%rdx)
	movl	4(%r8), %eax
	movl	%eax, (%r8)
	movslq	4(%rdi), %rax
	addq	%rax, %rax
	leaq	(%rax,%rax,4), %rax
	movl	4(%r10,%rax,4), %ecx
	cltq
	movl	%ecx, (%r10,%rax,4)
	movslq	4(%rdi), %rax
	addq	%rax, %rax
	leaq	(%rax,%rax,4), %rax
	movl	4(%rsi,%rax,4), %ecx
LBB0_7:
	cltq
	movl	%ecx, (%rsi,%rax,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C_AVAIL,4,2                    ## @C_AVAIL
	.comm	_A_AVAIL,4,2                    ## @A_AVAIL
	.comm	_B_AVAIL,4,2                    ## @B_AVAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_cavs_load_intra_pred_chroma ; -- Begin function ff_cavs_load_intra_pred_chroma
	.p2align	2
_ff_cavs_load_intra_pred_chroma:        ; @ff_cavs_load_intra_pred_chroma
	.cfi_startproc
; %bb.0:
	ldr	x10, [x0, #32]
	ldr	w8, [x10, #32]
	str	w8, [x10, #36]
	ldp	x9, x8, [x0, #16]
	ldr	w11, [x8, #32]
	str	w11, [x8, #36]
Lloh0:
	adrp	x11, _C_AVAIL@GOTPAGE
Lloh1:
	ldr	x11, [x11, _C_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x11]
	ldp	w13, w11, [x0]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	add	x11, x11, x11, lsl #2
	lsl	x11, x11, #1
	tst	w12, w13
	b.eq	LBB0_2
; %bb.1:
	add	x12, x9, x11, lsl #2
	ldr	w12, [x12, #44]
	add	x11, x9, w11, sxtw #2
	str	w12, [x11, #36]
	ldr	w11, [x0, #4]
	add	w11, w11, w11, lsl #2
	lsl	w12, w11, #1
	add	w13, w12, #11
	b	LBB0_3
LBB0_2:
	add	x11, x9, w11, sxtw #2
	ldr	w12, [x11, #32]
	str	w12, [x11, #36]
	ldr	w11, [x0, #4]
	add	w11, w11, w11, lsl #2
	lsl	w12, w11, #1
	add	w13, w12, #8
LBB0_3:
	ldr	x11, [x0, #8]
	ldr	w13, [x11, w13, sxtw #2]
	add	w12, w12, #9
	str	w13, [x11, w12, sxtw #2]
	ldr	w12, [x0]
Lloh3:
	adrp	x13, _A_AVAIL@GOTPAGE
Lloh4:
	ldr	x13, [x13, _A_AVAIL@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x13]
	tst	w13, w12
	b.eq	LBB0_6
; %bb.4:
Lloh6:
	adrp	x13, _B_AVAIL@GOTPAGE
Lloh7:
	ldr	x13, [x13, _B_AVAIL@GOTPAGEOFF]
Lloh8:
	ldr	w13, [x13]
	tst	w13, w12
	b.eq	LBB0_6
; %bb.5:
	ldr	w12, [x0, #44]
	str	w12, [x10]
	ldrsw	x10, [x0, #4]
	mov	w13, #40
	mul	x10, x10, x13
	str	w12, [x9, x10]
	ldr	w9, [x0, #40]
	str	w9, [x8]
	ldr	w8, [x0, #4]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	str	w9, [x11, w8, sxtw #2]
	ret
LBB0_6:
	ldr	w12, [x10, #4]
	str	w12, [x10]
	ldr	w10, [x8, #4]
	str	w10, [x8]
	ldrsw	x8, [x0, #4]
	add	x8, x8, x8, lsl #2
	lsl	w10, w8, #1
	add	x8, x9, x8, lsl #3
	ldr	w8, [x8, #4]
	str	w8, [x9, w10, sxtw #2]
	ldrsw	x8, [x0, #4]
	add	x9, x8, x8, lsl #2
	lsl	w8, w9, #1
	add	x9, x11, x9, lsl #3
	ldr	w9, [x9, #4]
	str	w9, [x11, w8, sxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_C_AVAIL,4,2                    ; @C_AVAIL
	.comm	_A_AVAIL,4,2                    ; @A_AVAIL
	.comm	_B_AVAIL,4,2                    ; @B_AVAIL
.subsections_via_symbols
