	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_residual_chroma
_decode_residual_chroma:                ## @decode_residual_chroma
	.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
	movl	(%rdi), %eax
	testb	$16, %al
	je	LBB0_3
## %bb.1:
	leaq	24(%rbx), %rsi
	movq	_chroma_dec@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ff_cavs_chroma_qp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movl	28(%rbx), %r9d
	movl	16(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_decode_residual_block
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movl	(%rbx), %eax
LBB0_3:
	testb	$32, %al
	je	LBB0_5
## %bb.4:
	leaq	24(%rbx), %rsi
	movq	_chroma_dec@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ff_cavs_chroma_qp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movl	20(%rbx), %r9d
	movl	16(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_decode_residual_block
	testl	%eax, %eax
	js	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chroma_dec,4,2                 ## @chroma_dec
	.comm	_ff_cavs_chroma_qp,8,3          ## @ff_cavs_chroma_qp
	.no_dead_strip	_decode_residual_chroma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_residual_chroma
_decode_residual_chroma:                ; @decode_residual_chroma
	.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
	ldr	w8, [x0]
	tbz	w8, #4, LBB0_3
; %bb.1:
	add	x1, x19, #24
Lloh0:
	adrp	x8, _chroma_dec@GOTPAGE
Lloh1:
	ldr	x8, [x8, _chroma_dec@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _ff_cavs_chroma_qp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ff_cavs_chroma_qp@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w4, [x8, x9, lsl #2]
	ldr	w5, [x19, #28]
	ldr	w6, [x19, #16]
	mov	x0, x19
	mov	w3, #0
	bl	_decode_residual_block
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w8, [x19]
LBB0_3:
	tbz	w8, #5, LBB0_5
; %bb.4:
	add	x1, x19, #24
Lloh6:
	adrp	x8, _chroma_dec@GOTPAGE
Lloh7:
	ldr	x8, [x8, _chroma_dec@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _ff_cavs_chroma_qp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ff_cavs_chroma_qp@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w4, [x8, x9, lsl #2]
	ldp	w6, w5, [x19, #16]
	mov	x0, x19
	mov	w3, #0
	bl	_decode_residual_block
	tbnz	w0, #31, LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_chroma_dec,4,2                 ; @chroma_dec
	.comm	_ff_cavs_chroma_qp,8,3          ; @ff_cavs_chroma_qp
	.no_dead_strip	_decode_residual_chroma
.subsections_via_symbols
