	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ff_cavs_next_mb
LCPI0_0:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_cavs_next_mb
	.p2align	4, 0x90
_ff_cavs_next_mb:                       ## @ff_cavs_next_mb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_A_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	addq	$16, 56(%rdi)
	movdqu	40(%rdi), %xmm0
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 40(%rdi)
	movq	64(%rdi), %rax
	movl	8(%rax), %ecx
	movl	24(%rax), %edx
	movl	%ecx, (%rax)
	movl	%edx, 16(%rax)
	movl	40(%rax), %ecx
	movl	%ecx, 32(%rax)
	movl	56(%rax), %ecx
	movl	%ecx, 48(%rax)
	movl	72(%rax), %ecx
	movl	%ecx, 64(%rax)
	movl	88(%rax), %ecx
	movl	%ecx, 80(%rax)
	movq	_MV_FWD_X2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	88(%rdi), %rdx
	movq	(%rdx), %rsi
	movslq	4(%rdi), %rcx
	movl	%r8d, (%rsi,%rcx,8)
	movq	_MV_FWD_X3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movslq	4(%rdi), %rcx
	movl	%r8d, 4(%rsi,%rcx,8)
	movq	_MV_BWD_X2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	8(%rdx), %rdx
	movslq	4(%rdi), %rsi
	movl	%ecx, (%rdx,%rsi,8)
	movq	_MV_BWD_X3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movslq	4(%rdi), %rsi
	movl	%ecx, 4(%rdx,%rsi,8)
	incl	80(%rdi)
	movl	4(%rdi), %ecx
	incl	%ecx
	movl	%ecx, 4(%rdi)
	cmpl	8(%rdi), %ecx
	jne	LBB0_2
## %bb.1:
	movq	_B_AVAIL@GOTPCREL(%rip), %rcx
	movq	_C_AVAIL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rdi)
	movq	_NOT_AVAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	72(%rdi), %rdx
	movl	%ecx, 24(%rdx)
	movl	%ecx, 12(%rdx)
	movq	_un_mv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	%ecx, 32(%rax)
	movl	%ecx, 48(%rax)
	movl	%ecx, 64(%rax)
	movl	%ecx, 80(%rax)
	movl	$0, 4(%rdi)
	movslq	12(%rdi), %rax
	incq	%rax
	movl	%eax, 12(%rdi)
	movq	32(%rdi), %rcx
	movq	(%rcx), %rcx
	movslq	16(%rdi), %rdx
	imulq	%rax, %rdx
	shlq	$4, %rdx
	addq	(%rcx), %rdx
	movq	%rdx, 56(%rdi)
	movslq	%eax, %rdx
	movslq	20(%rdi), %rax
	imulq	%rdx, %rax
	shlq	$3, %rax
	movq	8(%rcx), %rsi
	addq	%rax, %rsi
	movq	%rsi, 48(%rdi)
	addq	16(%rcx), %rax
	movq	%rax, 40(%rdi)
	xorl	%eax, %eax
	cmpl	24(%rdi), %edx
	je	LBB0_3
LBB0_2:
	movl	$1, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_AVAIL,4,2                    ## @A_AVAIL
	.comm	_MV_FWD_X2,8,3                  ## @MV_FWD_X2
	.comm	_MV_FWD_X3,8,3                  ## @MV_FWD_X3
	.comm	_MV_BWD_X2,8,3                  ## @MV_BWD_X2
	.comm	_MV_BWD_X3,8,3                  ## @MV_BWD_X3
	.comm	_B_AVAIL,4,2                    ## @B_AVAIL
	.comm	_C_AVAIL,4,2                    ## @C_AVAIL
	.comm	_NOT_AVAIL,4,2                  ## @NOT_AVAIL
	.comm	_un_mv,4,2                      ## @un_mv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_cavs_next_mb                ; -- Begin function ff_cavs_next_mb
	.p2align	2
_ff_cavs_next_mb:                       ; @ff_cavs_next_mb
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _A_AVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldp	x8, x9, [x0, #56]
	add	x8, x8, #16
	str	x8, [x0, #56]
	mov	w8, #8
	dup.2d	v0, x8
	ldr	w8, [x9, #8]
	str	w8, [x9]
	ldr	w8, [x9, #24]
	str	w8, [x9, #16]
	ldr	w8, [x9, #40]
	str	w8, [x9, #32]
	ldr	w8, [x9, #56]
	str	w8, [x9, #48]
	ldr	w8, [x9, #72]
	str	w8, [x9, #64]
	ldr	w8, [x9, #88]
	str	w8, [x9, #80]
Lloh3:
	adrp	x8, _MV_FWD_X2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MV_FWD_X2@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	ldr	x10, [x0, #88]
	ldrsw	x11, [x0, #4]
	lsl	x11, x11, #3
	ldp	x12, x10, [x10]
	str	w8, [x12, x11]
	ldur	q1, [x0, #40]
Lloh6:
	adrp	x8, _MV_FWD_X3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MV_FWD_X3@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	ldrsw	x11, [x0, #4]
	add	x11, x12, x11, lsl #3
	str	w8, [x11, #4]
Lloh9:
	adrp	x8, _MV_BWD_X2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MV_BWD_X2@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	ldrsw	x11, [x0, #4]
	lsl	x11, x11, #3
	str	w8, [x10, x11]
	add.2d	v0, v1, v0
Lloh12:
	adrp	x8, _MV_BWD_X3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MV_BWD_X3@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	stur	q0, [x0, #40]
	ldrsw	x11, [x0, #4]
	add	x10, x10, x11, lsl #3
	str	w8, [x10, #4]
	ldr	w8, [x0, #80]
	add	w8, w8, #1
	str	w8, [x0, #80]
	ldp	w8, w10, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	cmp	w8, w10
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
Lloh15:
	adrp	x10, _B_AVAIL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _B_AVAIL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _C_AVAIL@GOTPAGE
Lloh19:
	ldr	x11, [x11, _C_AVAIL@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w10, w11, w10
	str	w10, [x0]
Lloh21:
	adrp	x10, _NOT_AVAIL@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NOT_AVAIL@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	ldr	x11, [x0, #72]
	str	w10, [x11, #24]
	str	w10, [x11, #12]
Lloh24:
	adrp	x10, _un_mv@GOTPAGE
Lloh25:
	ldr	x10, [x10, _un_mv@GOTPAGEOFF]
	ldr	w11, [x10]
	str	w11, [x9]
	ldr	w10, [x10]
	str	w10, [x9, #16]
	str	w10, [x9, #32]
	str	w10, [x9, #48]
	str	w10, [x9, #64]
	str	w10, [x9, #80]
	ldpsw	x9, x10, [x0, #12]
	add	x9, x9, #1
	ldr	x11, [x0, #32]
	ldr	x11, [x11]
	ldr	x12, [x11]
	mul	x10, x9, x10
	add	x10, x12, x10, lsl #4
	str	x10, [x0, #56]
	sxtw	x10, w9
	ldp	w12, w13, [x0, #20]
                                        ; kill: def $w12 killed $w12 def $x12
	sxtw	x12, w12
	mul	x10, x10, x12
	ldr	x12, [x11, #8]
	lsl	x10, x10, #3
	add	x12, x12, x10
	str	x12, [x0, #48]
	str	wzr, [x0, #4]
	str	w9, [x0, #12]
	ldr	x11, [x11, #16]
	add	x10, x11, x10
	str	x10, [x0, #40]
	cmp	w9, w13
	b.eq	LBB0_3
LBB0_2:
	mov	w8, #1
LBB0_3:
	mov	x0, x8
	ret
	.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
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_A_AVAIL,4,2                    ; @A_AVAIL
	.comm	_MV_FWD_X2,8,3                  ; @MV_FWD_X2
	.comm	_MV_FWD_X3,8,3                  ; @MV_FWD_X3
	.comm	_MV_BWD_X2,8,3                  ; @MV_BWD_X2
	.comm	_MV_BWD_X3,8,3                  ; @MV_BWD_X3
	.comm	_B_AVAIL,4,2                    ; @B_AVAIL
	.comm	_C_AVAIL,4,2                    ; @C_AVAIL
	.comm	_NOT_AVAIL,4,2                  ; @NOT_AVAIL
	.comm	_un_mv,4,2                      ; @un_mv
.subsections_via_symbols
