	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_block
_decode_block:                          ## @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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	16(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	sete	%r12b
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	negl	%r9d
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_block_tab@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %ecx
	callq	_get_vlc2
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	movl	%eax, %r13d
	andl	$127, %r13d
	movl	%eax, %r15d
	shrl	$14, %r15d
	andl	$1, %r15d
	shrl	$7, %r14d
	andl	$63, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	movl	%eax, %ecx
	movl	%r13d, %eax
	negl	%eax
	testl	%ecx, %ecx
	cmovel	%r13d, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, %r15d
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_get_bits
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_get_sbits
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	%r12d, %r14d
	cmpl	$63, %r14d
	jg	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	cmovsl	-68(%rbp), %ecx                 ## 4-byte Folded Reload
	imull	-72(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%ecx, %eax
	movq	(%rbx), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movslq	%r14d, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi,%rdx,8), %rdx
	movl	%eax, (%rcx,%rdx,4)
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r14), %r12d
	cmpl	$63, %r14d
	jne	LBB0_1
LBB0_9:
	xorl	%eax, %eax
	cmpl	$3, -64(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_15
## %bb.10:
	cmpl	$0, 16(%rbp)
	je	LBB0_15
## %bb.11:
	cmpl	$2, 8(%rbx)
	jne	LBB0_15
## %bb.12:
	movq	(%rbx), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	shll	(%rcx,%rdx,4)
LBB0_14:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rdx
	shll	(%rcx,%rdx,4)
	movq	64(%rsi), %rdx
	shll	(%rcx,%rdx,4)
	movq	128(%rsi), %rdx
	shll	(%rcx,%rdx,4)
	jmp	LBB0_15
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_block_tab,8,2                  ## @block_tab
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_block
_decode_block:                          ; @decode_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	stp	w4, w6, [sp]                    ; 8-byte Folded Spill
	mov	x22, x5
	str	w3, [sp, #20]                   ; 4-byte Folded Spill
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x24, x1
	ldr	x28, [x0]
	ldr	x20, [x28, #16]
	cmp	w4, #0
	cset	w27, eq
	neg	w19, w5
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	sxtw	x8, w2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x21, _block_tab@GOTPAGE
Lloh1:
	ldr	x21, [x21, _block_tab@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x21]
	mov	x0, x24
	mov	w3, #1
	bl	_get_vlc2
	tbnz	w0, #31, LBB0_14
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	and	w23, w0, #0x7f
	ubfx	w25, w0, #14, #1
	ubfx	w26, w0, #7, #6
	mov	x0, x24
	bl	_get_bits1
	cmp	w0, #0
	cneg	w0, w23, ne
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x24
	bl	_get_bits1
	mov	x25, x0
	mov	x0, x24
	mov	w1, #6
	bl	_get_bits
	mov	x26, x0
	mov	x0, x24
	mov	w1, #8
	bl	_get_sbits
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w26, w27
	cmp	w8, #63
	b.gt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #0
	csel	w9, w19, w22, lt
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	madd	w9, w0, w10, w9
	ldr	x10, [x28]
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x10, [x10, x11, lsl #3]
	ldr	x11, [x20, w8, sxtw #3]
	str	w9, [x10, x11, lsl #2]
	cbnz	w25, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w27, w8, #1
	cmp	w8, #63
	b.ne	LBB0_1
LBB0_8:
	mov	w0, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w8, #3
	b.gt	LBB0_15
; %bb.9:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cbz	w8, LBB0_15
; %bb.10:
	ldr	w8, [x28, #8]
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.11:
	ldr	x8, [x28]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	w9, [sp]                        ; 4-byte Folded Reload
	cbz	w9, LBB0_13
; %bb.12:
	ldr	x9, [x20]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	lsl	w10, w10, #1
	str	w10, [x8, x9]
LBB0_13:
	mov	w0, #0
	ldr	x9, [x20, #8]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	lsl	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x9, [x20, #64]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	lsl	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x9, [x20, #128]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	lsl	w10, w10, #1
	str	w10, [x8, x9]
	b	LBB0_15
LBB0_14:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_block_tab,8,2                  ; @block_tab
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_block
.subsections_via_symbols
