	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_coeff
_get_coeff:                             ## @get_coeff
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	_coeff_get_bits@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,4), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_get_bits
	cltq
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	_coeff_tables@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%r15)
	movq	_zero_run_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r15d
	movq	_zero_run_get_bits@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_get_bits
	addl	%eax, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_coeff_get_bits,8,3             ## @coeff_get_bits
	.comm	_coeff_tables,8,3               ## @coeff_tables
	.comm	_zero_run_base,8,3              ## @zero_run_base
	.comm	_zero_run_get_bits,8,3          ## @zero_run_get_bits
	.no_dead_strip	_get_coeff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_coeff
_get_coeff:                             ; @get_coeff
	.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	x20, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
Lloh0:
	adrp	x8, _coeff_get_bits@GOTPAGE
Lloh1:
	ldr	x8, [x8, _coeff_get_bits@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sxtw	x21, w1
	ldr	w1, [x8, w1, sxtw #2]
	cbz	w1, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_get_bits
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
Lloh3:
	adrp	x9, _coeff_tables@GOTPAGE
Lloh4:
	ldr	x9, [x9, _coeff_tables@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x9, x21, lsl #3]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x20]
Lloh6:
	adrp	x8, _zero_run_base@GOTPAGE
Lloh7:
	ldr	x8, [x8, _zero_run_base@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	lsl	x9, x21, #2
	ldr	w20, [x8, x9]
Lloh9:
	adrp	x8, _zero_run_get_bits@GOTPAGE
Lloh10:
	ldr	x8, [x8, _zero_run_get_bits@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w1, [x8, x9]
	cbz	w1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_get_bits
	add	w20, w0, w20
LBB0_5:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_coeff_get_bits,8,3             ; @coeff_get_bits
	.comm	_coeff_tables,8,3               ; @coeff_tables
	.comm	_zero_run_base,8,3              ; @zero_run_base
	.comm	_zero_run_get_bits,8,3          ; @zero_run_get_bits
	.no_dead_strip	_get_coeff
.subsections_via_symbols
