	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_coeff
_decode_coeff:                          ## @decode_coeff
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	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
	movl	%r9d, %r14d
	movq	%rcx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r15
	cmpl	%edx, %esi
	jne	LBB0_5
## %bb.2:
	movl	(%r8), %esi
	movq	%r12, %rdi
	movl	$9, %edx
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r13d
	cmpl	$24, %eax
	jl	LBB0_4
## %bb.3:
	addl	$-23, %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_get_bits
	btsl	%r13d, %eax
	addl	$22, %eax
	movl	%eax, %r13d
LBB0_4:
	addl	%r13d, %ebx
LBB0_5:
	movq	%r12, %rdi
	callq	_get_bits1
	movl	%ebx, %ecx
	negl	%ecx
	testq	%rax, %rax
	cmovel	%ebx, %ecx
	imull	%r14d, %ecx
	addl	$8, %ecx
	sarl	$4, %ecx
	movl	%ecx, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_coeff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_coeff
_decode_coeff:                          ; @decode_coeff
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_6
; %bb.1:
	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	x19, x5
	mov	x22, x3
	mov	x21, x1
	mov	x20, x0
	cmp	w1, w2
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [x4]
	mov	x0, x22
	mov	w2, #9
	mov	w3, #2
	bl	_get_vlc2
	cmp	w0, #24
	b.lt	LBB0_4
; %bb.3:
	sub	w1, w0, #23
	mov	w8, #1
	lsl	w23, w8, w1
	mov	x0, x22
	bl	_get_bits
	orr	w8, w0, w23
	add	w0, w8, #22
LBB0_4:
	add	w21, w0, w21
LBB0_5:
	mov	x0, x22
	bl	_get_bits1
	cmp	x0, #0
	cneg	w8, w21, ne
	orr	w9, wzr, #0x8
	madd	w8, w8, w19, w9
	asr	w8, w8, #4
	str	w8, [x20]
	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
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_coeff
.subsections_via_symbols
