	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asv2_decode_block
_asv2_decode_block:                     ## @asv2_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_asv2_get_bits
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_asv2_get_bits
	shll	$3, %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, (%rbx)
	movq	_dc_ccp_vlc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_get_vlc2
	movq	%rax, %rbx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.1:
	testb	$4, %bl
	jne	LBB0_2
## %bb.3:
	testb	$2, %bl
	jne	LBB0_4
LBB0_5:
	testb	$1, %bl
	je	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	callq	_asv2_get_level
	movq	(%r13), %rcx
	imull	12(%rcx), %eax
	movq	16(%r13), %rcx
	sarl	$4, %eax
	movq	24(%rcx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
LBB0_7:
	testl	%r14d, %r14d
	jle	LBB0_19
## %bb.8:
	movl	%r14d, %eax
	leaq	4(,%rax,4), %r12
	movl	$4, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$4, %r14
	cmpq	%r14, %r12
	je	LBB0_19
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ac_ccp_vlc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_get_vlc2
	movq	%rax, %rbx
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testb	$8, %bl
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	testb	$4, %bl
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	testb	$2, %bl
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	testb	$1, %bl
	je	LBB0_18
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_asv2_get_level
	movl	%r14d, %ecx
	andl	$-4, %ecx
	movq	(%r13), %rdx
	imull	(%rdx,%rcx,4), %eax
	movq	16(%r13), %rdx
	sarl	$4, %eax
	movq	(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	testb	$4, %bl
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_asv2_get_level
	movl	%r14d, %ecx
	andl	$-4, %ecx
	movq	(%r13), %rdx
	imull	4(%rdx,%rcx,4), %eax
	movq	16(%r13), %rdx
	sarl	$4, %eax
	movq	8(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	testb	$2, %bl
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_asv2_get_level
	movl	%r14d, %ecx
	andl	$-4, %ecx
	movq	(%r13), %rdx
	imull	8(%rdx,%rcx,4), %eax
	movq	16(%r13), %rdx
	sarl	$4, %eax
	movq	16(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	testb	$1, %bl
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_asv2_get_level
	movl	%r14d, %ecx
	orl	$3, %ecx
	movq	(%r13), %rdx
	imull	(%rdx,%rcx,4), %eax
	movq	16(%r13), %rdx
	sarl	$4, %eax
	movq	(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	jmp	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	callq	_asv2_get_level
	movq	(%r13), %rcx
	imull	4(%rcx), %eax
	movq	16(%r13), %rcx
	sarl	$4, %eax
	movq	8(%rcx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	testb	$2, %bl
	je	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_asv2_get_level
	movq	(%r13), %rcx
	imull	8(%rcx), %eax
	movq	16(%r13), %rcx
	sarl	$4, %eax
	movq	16(%rcx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	testb	$1, %bl
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_dc_ccp_vlc,4,2                 ## @dc_ccp_vlc
	.comm	_VLC_BITS,4,2                   ## @VLC_BITS
	.comm	_ac_ccp_vlc,4,2                 ## @ac_ccp_vlc
	.no_dead_strip	_asv2_decode_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asv2_decode_block
_asv2_decode_block:                     ; @asv2_decode_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	add	x21, x0, #8
	mov	x0, x21
	mov	w1, #4
	bl	_asv2_get_bits
	mov	x22, x0
	mov	x0, x21
	mov	w1, #8
	bl	_asv2_get_bits
	lsl	w8, w0, #3
	str	w8, [x19]
Lloh0:
	adrp	x8, _dc_ccp_vlc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dc_ccp_vlc@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x24, _VLC_BITS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _VLC_BITS@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x21
	mov	w3, #1
	bl	_get_vlc2
	mov	x23, x0
	cbz	w23, LBB0_5
; %bb.1:
	tbnz	w23, #2, LBB0_18
; %bb.2:
	tbnz	w23, #1, LBB0_19
LBB0_3:
	tbz	w23, #0, LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	ldr	w8, [x8, #12]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x9, [x20, #16]
	ldr	x9, [x9, #24]
	str	w8, [x19, x9, lsl #2]
LBB0_5:
	cmp	w22, #1
	b.lt	LBB0_17
; %bb.6:
	add	w8, w22, #1
	lsl	x23, x8, #2
	mov	w25, #4
Lloh5:
	adrp	x26, _ac_ccp_vlc@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ac_ccp_vlc@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #4
	cmp	x23, x25
	b.eq	LBB0_17
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	ldr	w2, [x24]
	mov	x0, x21
	mov	w3, #1
	bl	_get_vlc2
	mov	x22, x0
	cbz	w22, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w22, #3, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w22, #2, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w22, #1, LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w22, #0, LBB0_7
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	and	x9, x25, #0xfffffffc
	ldr	w8, [x8, x9, lsl #2]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	str	w8, [x19, x9, lsl #2]
	tbz	w22, #2, LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	and	x9, x25, #0xfffffffc
	orr	x9, x9, #0x1
	ldr	w8, [x8, x9, lsl #2]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	str	w8, [x19, x9, lsl #2]
	tbz	w22, #1, LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	and	x9, x25, #0xfffffffc
	orr	x9, x9, #0x2
	ldr	w8, [x8, x9, lsl #2]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	str	w8, [x19, x9, lsl #2]
	tbz	w22, #0, LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	and	x9, x25, #0xfffffffc
	orr	x9, x9, #0x3
	ldr	w8, [x8, x9, lsl #2]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x10, [x20, #16]
	ldr	x9, [x10, x9, lsl #3]
	str	w8, [x19, x9, lsl #2]
	b	LBB0_7
LBB0_17:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x9, [x20, #16]
	ldr	x9, [x9, #8]
	str	w8, [x19, x9, lsl #2]
	tbz	w23, #1, LBB0_3
LBB0_19:
	mov	x0, x21
	bl	_asv2_get_level
	ldr	x8, [x20]
	ldr	w8, [x8, #8]
	mul	w8, w8, w0
	asr	w8, w8, #4
	ldr	x9, [x20, #16]
	ldr	x9, [x9, #16]
	str	w8, [x19, x9, lsl #2]
	tbnz	w23, #0, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_dc_ccp_vlc,4,2                 ; @dc_ccp_vlc
	.comm	_VLC_BITS,4,2                   ; @VLC_BITS
	.comm	_ac_ccp_vlc,4,2                 ; @ac_ccp_vlc
	.no_dead_strip	_asv2_decode_block
.subsections_via_symbols
