	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_decode_intra_mb_header
_rv34_decode_intra_mb_header:           ## @rv34_decode_intra_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	84(%rdi), %r14
	movslq	56(%rdi), %rax
	movslq	60(%rdi), %rcx
	movslq	64(%rdi), %r12
	imulq	%rcx, %r12
	addq	%rax, %r12
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_MB_TYPE_INTRA16x16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	72(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r12,4)
	movq	_RV34_MB_TYPE_INTRA16x16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	$2, %r12d
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_get_bits
	movl	48(%rbx), %ecx
	movq	%r15, %rdi
	movl	$4, %esi
	movl	$4, %edx
	movl	%eax, %r8d
	movl	$4, %r9d
	callq	_fill_rectangle
	jmp	LBB0_2
LBB0_3:
	cmpl	$0, 44(%rbx)
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	80(%rbx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_6:
	movq	_MB_TYPE_INTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	72(%rbx), %rcx
	movq	(%rcx), %rcx
	movslq	%r12d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_RV34_MB_TYPE_INTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	*8(%rbx)
	movl	$1, %r12d
	testq	%rax, %rax
	js	LBB0_7
LBB0_2:
	movl	%r12d, (%rbx)
	movq	$0, 32(%rbx)
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	xorl	%edx, %edx
	callq	_choose_vlc_set
	movl	%eax, 20(%rbx)
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rv34_decode_cbp                ## TAILCALL
LBB0_7:
	movl	$-1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_TYPE_INTRA16x16,4,2         ## @MB_TYPE_INTRA16x16
	.comm	_RV34_MB_TYPE_INTRA16x16,4,2    ## @RV34_MB_TYPE_INTRA16x16
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Need DQUANT\n"

	.comm	_MB_TYPE_INTRA,4,2              ## @MB_TYPE_INTRA
	.comm	_RV34_MB_TYPE_INTRA,4,2         ## @RV34_MB_TYPE_INTRA
	.no_dead_strip	_rv34_decode_intra_mb_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv34_decode_intra_mb_header
_rv34_decode_intra_mb_header:           ; @rv34_decode_intra_mb_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	add	x19, x0, #84
	ldp	w8, w9, [x0, #56]
	ldr	w10, [x0, #64]
	madd	w22, w10, w9, w8
	mov	x0, x19
	bl	_get_bits1
	str	w0, [x20, #16]
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MB_TYPE_INTRA16x16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MB_TYPE_INTRA16x16@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x20, #72]
	ldr	x9, [x9]
	str	w8, [x9, w22, sxtw #2]
Lloh3:
	adrp	x8, _RV34_MB_TYPE_INTRA16x16@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RV34_MB_TYPE_INTRA16x16@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	mov	w22, #2
	mov	x0, x19
	mov	w1, #2
	bl	_get_bits
	mov	x4, x0
	ldr	w3, [x20, #48]
	mov	x0, x21
	mov	w1, #4
	mov	w2, #4
	mov	w5, #4
	bl	_fill_rectangle
	b	LBB0_7
LBB0_2:
	ldr	w8, [x20, #44]
	cbnz	w8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_get_bits1
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x20, #80]
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_5:
Lloh11:
	adrp	x8, _MB_TYPE_INTRA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MB_TYPE_INTRA@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x20, #72]
	ldr	x9, [x9]
	str	w8, [x9, w22, sxtw #2]
Lloh14:
	adrp	x8, _RV34_MB_TYPE_INTRA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RV34_MB_TYPE_INTRA@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	blr	x8
	tbnz	x0, #63, LBB0_8
; %bb.6:
	mov	w22, #1
LBB0_7:
	str	w22, [x20]
	str	xzr, [x20, #32]
	ldp	w1, w0, [x20, #24]
	mov	w2, #0
	bl	_choose_vlc_set
	mov	x1, x0
	str	w0, [x20, #20]
	ldr	w2, [x20, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rv34_decode_cbp
LBB0_8:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_TYPE_INTRA16x16,4,2         ; @MB_TYPE_INTRA16x16
	.comm	_RV34_MB_TYPE_INTRA16x16,4,2    ; @RV34_MB_TYPE_INTRA16x16
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Need DQUANT\n"

	.comm	_MB_TYPE_INTRA,4,2              ; @MB_TYPE_INTRA
	.comm	_RV34_MB_TYPE_INTRA,4,2         ; @RV34_MB_TYPE_INTRA
	.no_dead_strip	_rv34_decode_intra_mb_header
.subsections_via_symbols
