	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnmsedec_ref
_getnmsedec_ref:                        ## @getnmsedec_ref
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NMSEDEC_FRACBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%esi, %eax
	jge	LBB0_2
## %bb.1:
	subl	%eax, %esi
	movl	%edi, %eax
	movl	%esi, %ecx
	sarl	%cl, %eax
	movq	_NMSEDEC_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$-1, %edi
	shll	%cl, %edi
	notl	%edi
	movq	_lut_nmsedec_ref@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_NMSEDEC_BITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movq	_lut_nmsedec_ref0@GOTPCREL(%rip), %rcx
LBB0_3:
	andl	%eax, %edi
	movq	(%rcx), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NMSEDEC_FRACBITS,4,2           ## @NMSEDEC_FRACBITS
	.comm	_lut_nmsedec_ref,8,3            ## @lut_nmsedec_ref
	.comm	_NMSEDEC_BITS,4,2               ## @NMSEDEC_BITS
	.comm	_lut_nmsedec_ref0,8,3           ## @lut_nmsedec_ref0
	.no_dead_strip	_getnmsedec_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnmsedec_ref
_getnmsedec_ref:                        ; @getnmsedec_ref
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NMSEDEC_FRACBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NMSEDEC_FRACBITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	sub	w8, w1, w8
	asr	w8, w0, w8
Lloh3:
	adrp	x9, _NMSEDEC_BITS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NMSEDEC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #-1
	lsl	w9, w10, w9
	mvn	w0, w9
Lloh6:
	adrp	x9, _lut_nmsedec_ref@GOTPAGE
Lloh7:
	ldr	x9, [x9, _lut_nmsedec_ref@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _NMSEDEC_BITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NMSEDEC_BITS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w8, w8
Lloh11:
	adrp	x9, _lut_nmsedec_ref0@GOTPAGE
Lloh12:
	ldr	x9, [x9, _lut_nmsedec_ref0@GOTPAGEOFF]
LBB0_3:
	ldr	x9, [x9]
	and	w8, w8, w0
	ldr	w0, [x9, w8, sxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NMSEDEC_FRACBITS,4,2           ; @NMSEDEC_FRACBITS
	.comm	_lut_nmsedec_ref,8,3            ; @lut_nmsedec_ref
	.comm	_NMSEDEC_BITS,4,2               ; @NMSEDEC_BITS
	.comm	_lut_nmsedec_ref0,8,3           ; @lut_nmsedec_ref0
	.no_dead_strip	_getnmsedec_ref
.subsections_via_symbols
