	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_decode_inter_mb_header
_rv34_decode_inter_mb_header:           ## @rv34_decode_inter_mb_header
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movslq	64(%rdi), %r15
	movslq	68(%rdi), %r14
	movslq	72(%rdi), %r13
	callq	*8(%rdi)
	movl	%eax, (%rbx)
	movl	$-1, %r12d
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.1:
	imulq	%r14, %r13
	addq	%r15, %r13
	movq	_rv34_mb_type_to_lavc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %edi
	movq	88(%rbx), %rax
	movq	(%rax), %rax
	movl	%edi, (%rax,%r13,4)
	movslq	(%rbx), %rcx
	movq	16(%rbx), %rax
	movq	%rcx, (%rax,%r13,8)
	movq	_RV34_MB_SKIP@GOTPCREL(%rip), %r15
	cmpq	%rcx, (%r15)
	jne	LBB0_6
## %bb.2:
	movq	80(%rbx), %rcx
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_RV34_MB_P_16x16@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax,%r13,8)
	movq	80(%rbx), %rcx
LBB0_4:
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	_RV34_MB_B_DIRECT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax,%r13,8)
LBB0_6:
	callq	_IS_INTRA16x16
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, 24(%rbx)
	movslq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_rv34_decode_mv
	testq	%rax, %rax
	js	LBB0_9
## %bb.7:
	movslq	(%rbx), %rax
	cmpq	%rax, (%r15)
	jne	LBB0_10
## %bb.8:
	movl	28(%rbx), %ecx
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	movl	$4, %edx
	xorl	%r8d, %r8d
	movl	$8, %r9d
	callq	_fill_rectangle
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	96(%rbx), %r15
	movq	$1, 32(%rbx)
	movq	88(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %edi
	callq	_IS_INTRA
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	cmpl	$0, 24(%rbx)
	je	LBB0_15
## %bb.14:
	movl	$2, %r13d
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_get_bits
	movl	28(%rbx), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	movl	$4, %edx
	movl	%eax, %r8d
	movl	$8, %r9d
	callq	_fill_rectangle
	jmp	LBB0_16
LBB0_11:
	movslq	28(%rbx), %rax
	xorps	%xmm0, %xmm0
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movups	%xmm0, 16(%rsi)
	movups	%xmm0, (%rsi)
	movups	%xmm0, (%rsi,%rax,8)
	movups	%xmm0, 16(%rsi,%rax,8)
	leal	(%rax,%rax), %ecx
	leaq	(%rax,%rax,2), %rdx
	shlq	$4, %rax
	movups	%xmm0, (%rsi,%rax)
	movslq	%ecx, %rax
	movups	%xmm0, 16(%rsi,%rax,8)
	movq	$0, (%rsi,%rdx,8)
	movslq	%edx, %rax
	movups	%xmm0, 8(%rsi,%rax,8)
	movq	$0, 24(%rsi,%rax,8)
	movl	56(%rbx), %esi
	movl	60(%rbx), %edi
	movl	$1, %edx
	callq	_choose_vlc_set
	movq	%rax, 48(%rbx)
	movq	16(%rbx), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	_RV34_MB_P_MIX16x16@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_18
## %bb.12:
	movl	$1, 24(%rbx)
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, 32(%rbx)
	jmp	LBB0_17
LBB0_15:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	*40(%rbx)
	movl	$1, %r13d
	testq	%rax, %rax
	js	LBB0_9
LBB0_16:
	movl	%r13d, 36(%rbx)
	movl	$0, 32(%rbx)
LBB0_17:
	movl	56(%rbx), %esi
	movl	60(%rbx), %edi
	xorl	%edx, %edx
	callq	_choose_vlc_set
	movq	%rax, 48(%rbx)
LBB0_18:
	movl	24(%rbx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rv34_decode_cbp                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rv34_mb_type_to_lavc,8,3       ## @rv34_mb_type_to_lavc
	.comm	_RV34_MB_SKIP,8,3               ## @RV34_MB_SKIP
	.comm	_AV_PICTURE_TYPE_P,8,3          ## @AV_PICTURE_TYPE_P
	.comm	_RV34_MB_P_16x16,8,3            ## @RV34_MB_P_16x16
	.comm	_AV_PICTURE_TYPE_B,8,3          ## @AV_PICTURE_TYPE_B
	.comm	_RV34_MB_B_DIRECT,8,3           ## @RV34_MB_B_DIRECT
	.comm	_RV34_MB_P_MIX16x16,8,3         ## @RV34_MB_P_MIX16x16
	.no_dead_strip	_rv34_decode_inter_mb_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rv34_decode_inter_mb_header
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
lCPI0_1:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rv34_decode_inter_mb_header:           ; @rv34_decode_inter_mb_header
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldpsw	x21, x22, [x0, #64]
	ldrsw	x23, [x0, #72]
	ldr	x8, [x0, #8]
	blr	x8
	str	w0, [x19]
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.1:
	madd	x22, x23, x22, x21
Lloh0:
	adrp	x8, _rv34_mb_type_to_lavc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rv34_mb_type_to_lavc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8, w0, sxtw #2]
	ldr	x8, [x19, #88]
	ldr	x8, [x8]
	str	w0, [x8, x22, lsl #2]
	ldrsw	x9, [x19]
	ldr	x8, [x19, #16]
	str	x9, [x8, x22, lsl #3]
Lloh3:
	adrp	x21, _RV34_MB_SKIP@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RV34_MB_SKIP@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x10, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x9, [x19, #80]
Lloh5:
	adrp	x10, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh6:
	ldr	x10, [x10, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x9, _RV34_MB_P_16x16@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RV34_MB_P_16x16@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x9, [x8, x22, lsl #3]
	ldr	x9, [x19, #80]
LBB0_4:
Lloh11:
	adrp	x10, _AV_PICTURE_TYPE_B@GOTPAGE
Lloh12:
	ldr	x10, [x10, _AV_PICTURE_TYPE_B@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x9, _RV34_MB_B_DIRECT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RV34_MB_B_DIRECT@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	str	x9, [x8, x22, lsl #3]
LBB0_6:
	bl	_IS_INTRA16x16
	cmp	w0, #0
	cset	w8, ne
	str	w8, [x19, #24]
	ldrsw	x1, [x19]
	mov	x0, x19
	bl	_rv34_decode_mv
	tbnz	x0, #63, LBB0_19
; %bb.7:
	ldrsw	x8, [x19]
	ldr	x9, [x21]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldr	w3, [x19, #28]
	mov	x0, x20
	mov	w1, #4
	mov	w2, #4
	mov	w4, #0
	mov	w5, #8
	bl	_fill_rectangle
	mov	w0, #0
	b	LBB0_20
LBB0_9:
	add	x21, x19, #96
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #32]
	ldr	x8, [x19, #88]
	ldr	x8, [x8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_IS_INTRA
	cbz	x0, LBB0_12
; %bb.10:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_14
; %bb.11:
	mov	w22, #2
	mov	x0, x21
	mov	w1, #2
	bl	_get_bits
	mov	x4, x0
	ldr	w3, [x19, #28]
	mov	x0, x20
	mov	w1, #4
	mov	w2, #4
	mov	w5, #8
	bl	_fill_rectangle
	b	LBB0_16
LBB0_12:
	ldrsw	x8, [x19, #28]
	lsl	x9, x8, #3
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20]
	str	q0, [x20, x9]
	add	w9, w8, #2
	sbfiz	x9, x9, #3, #32
	str	q0, [x20, x9]
	lsl	w9, w8, #1
	str	q0, [x20, x8, lsl #4]
	add	w10, w9, #2
	sbfiz	x10, x10, #3, #32
	str	q0, [x20, x10]
	add	w8, w9, w8
	str	xzr, [x20, w8, sxtw #3]
	add	w9, w8, #1
	str	xzr, [x20, w9, sxtw #3]
	add	w9, w8, #2
	str	xzr, [x20, w9, sxtw #3]
	add	w8, w8, #3
	str	xzr, [x20, w8, sxtw #3]
	ldp	w1, w0, [x19, #56]
	mov	w20, #1
	mov	w2, #1
	bl	_choose_vlc_set
	mov	x1, x0
	str	x0, [x19, #48]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x22, lsl #3]
Lloh19:
	adrp	x9, _RV34_MB_P_MIX16x16@GOTPAGE
Lloh20:
	ldr	x9, [x9, _RV34_MB_P_MIX16x16@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.13:
	str	w20, [x19, #24]
Lloh22:
	adrp	x8, lCPI0_1@PAGE
Lloh23:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x19, #32]
	b	LBB0_17
LBB0_14:
	ldr	x8, [x19, #40]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x8
	tbnz	x0, #63, LBB0_19
; %bb.15:
	mov	w22, #1
LBB0_16:
	stp	wzr, w22, [x19, #32]
LBB0_17:
	ldp	w1, w0, [x19, #56]
	mov	w2, #0
	bl	_choose_vlc_set
	mov	x1, x0
	str	x0, [x19, #48]
LBB0_18:
	ldr	w2, [x19, #24]
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rv34_decode_cbp
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdr	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_rv34_mb_type_to_lavc,8,3       ; @rv34_mb_type_to_lavc
	.comm	_RV34_MB_SKIP,8,3               ; @RV34_MB_SKIP
	.comm	_AV_PICTURE_TYPE_P,8,3          ; @AV_PICTURE_TYPE_P
	.comm	_RV34_MB_P_16x16,8,3            ; @RV34_MB_P_16x16
	.comm	_AV_PICTURE_TYPE_B,8,3          ; @AV_PICTURE_TYPE_B
	.comm	_RV34_MB_B_DIRECT,8,3           ; @RV34_MB_B_DIRECT
	.comm	_RV34_MB_P_MIX16x16,8,3         ; @RV34_MB_P_MIX16x16
	.no_dead_strip	_rv34_decode_inter_mb_header
.subsections_via_symbols
