	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_decode_block
_rv34_decode_block:                     ## @rv34_decode_block
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdx), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r13d
	movl	%eax, %r15d
	andl	$7, %r15d
	movl	%eax, %esi
	sarl	$3, %esi
	movq	_modulo_three_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	testb	$63, (%rax,%rcx,4)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	16(%rbp), %r9d
	movl	24(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	callq	_decode_subblock3
	movl	$1, %r12d
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	callq	_decode_subblock1
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	je	LBB0_10
LBB0_3:
	movslq	-60(%rbp), %rcx                 ## 4-byte Folded Reload
	testb	$4, %r13b
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.5:
	testb	$2, %r13b
	jne	LBB0_6
LBB0_7:
	testb	$1, %r13b
	je	LBB0_9
LBB0_8:
	movq	8(%r14), %rax
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	movl	24(%rbp), %r9d
	callq	_decode_subblock
LBB0_9:
	orl	%r15d, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r14), %rax
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	movq	%rcx, %r15
	movl	$2, %ecx
	callq	_get_vlc2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	8(%rcx), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	movl	24(%rbp), %r9d
	callq	_decode_subblock
	movq	%r15, %rcx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testb	$2, %r13b
	je	LBB0_7
LBB0_6:
	movq	16(%r14), %rax
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	movq	%rcx, %r15
	movl	$2, %ecx
	callq	_get_vlc2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	32(%rcx), %rdi
	movl	%eax, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	movl	24(%rbp), %r9d
	callq	_decode_subblock
	movq	%r15, %rcx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testb	$1, %r13b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_modulo_three_table,8,3         ## @modulo_three_table
	.no_dead_strip	_rv34_decode_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv34_decode_block
_rv34_decode_block:                     ; @rv34_decode_block
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x26, x6
	mov	x25, x5
	mov	x23, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x2, #24]
	ldr	w1, [x8, w3, sxtw #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	mov	x24, x0
	and	w27, w0, #0x7
	asr	w1, w0, #3
Lloh0:
	adrp	x8, _modulo_three_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _modulo_three_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	tst	w8, #0x3f
	b.eq	LBB0_2
; %bb.1:
	mov	x5, x26
	mov	x6, x19
	bl	_decode_subblock3
	mov	w25, #1
	b	LBB0_3
LBB0_2:
	bl	_decode_subblock1
	mov	w25, #0
	mov	w0, #0
	cbz	w27, LBB0_8
LBB0_3:
	tbnz	w24, #2, LBB0_9
; %bb.4:
	tbnz	w24, #1, LBB0_10
LBB0_5:
	tbz	w24, #0, LBB0_7
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w1, [x8, w23, sxtw #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	mov	x1, x0
	add	x0, x22, #40
	mov	w2, #0
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_decode_subblock
LBB0_7:
	orr	w0, w25, w27
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x20, #16]
	ldr	w1, [x8, w23, sxtw #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	mov	x1, x0
	add	x0, x22, #8
	mov	w2, #0
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_decode_subblock
	tbz	w24, #1, LBB0_5
LBB0_10:
	ldr	x8, [x20, #16]
	ldr	w1, [x8, w23, sxtw #2]
	mov	x0, x21
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	mov	x1, x0
	add	x0, x22, #32
	mov	w2, #1
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_decode_subblock
	tbnz	w24, #0, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_modulo_three_table,8,3         ; @modulo_three_table
	.no_dead_strip	_rv34_decode_block
.subsections_via_symbols
