	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_luts
_init_luts:                             ## @init_luts
	.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	_NMSEDEC_FRACBITS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	$-1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	_NMSEDEC_BITS@GOTPCREL(%rip), %rcx
	cmpl	$31, (%rcx)
	jne	LBB0_1
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edx, %edx
	xorl	%r15d, %r15d
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rax), %ecx
	movl	$-9, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movq	%rdx, %rbx
	addl	%edx, %edi
	movb	$12, %cl
	subb	%al, %cl
	shll	%cl, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	_lut_nmsedec_sig@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movl	%r15d, %r14d
	movzbl	(%r12), %ecx
	decb	%cl
	movl	$1, %edi
	shll	%cl, %edi
	imull	%r15d, %r14d
	addl	%r14d, %edi
	andl	%r13d, %edi
	addl	%edi, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	_lut_nmsedec_sig0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_NMSEDEC_BITS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	addb	$-2, %cl
	movl	%r15d, %edi
	shrl	%cl, %edi
	movzbl	(%r12), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	andl	$2, %edi
	leal	1(%rdi), %esi
	imull	%esi, %esi
	leal	-2(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	subl	%esi, %edx
	decl	%edi
	imull	%r15d, %edi
	addl	%edx, %edi
	movb	$13, %cl
	subb	%al, %cl
	shll	%cl, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	_lut_nmsedec_ref@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movl	(%r12), %eax
	leal	-1(%rax), %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addl	%eax, %eax
	movl	$1, %edi
	movl	%eax, %ecx
	shll	%cl, %edi
	addl	%r14d, %edx
	addl	%edx, %edi
	andl	%r13d, %edi
	addl	%edi, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	_lut_nmsedec_ref0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_NMSEDEC_BITS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	incq	%r15
	cltq
	cmpq	%rax, %r15
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	addl	$-4, -44(%rbp)                  ## 4-byte Folded Spill
	movq	%rbx, %rdx
	addl	$6, %edx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_NMSEDEC_FRACBITS,4,2           ## @NMSEDEC_FRACBITS
	.comm	_NMSEDEC_BITS,4,2               ## @NMSEDEC_BITS
	.comm	_lut_nmsedec_sig,8,3            ## @lut_nmsedec_sig
	.comm	_lut_nmsedec_sig0,8,3           ## @lut_nmsedec_sig0
	.comm	_lut_nmsedec_ref,8,3            ## @lut_nmsedec_ref
	.comm	_lut_nmsedec_ref0,8,3           ## @lut_nmsedec_ref0
	.no_dead_strip	_init_luts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_luts
_init_luts:                             ; @init_luts
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x19, _NMSEDEC_BITS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _NMSEDEC_BITS@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #31
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w20, #0
	mov	x21, #0
Lloh2:
	adrp	x22, _NMSEDEC_FRACBITS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NMSEDEC_FRACBITS@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	w9, #-1
	lsl	w23, w9, w8
	mov	w24, #1
Lloh4:
	adrp	x27, _lut_nmsedec_ref0@GOTPAGE
Lloh5:
	ldr	x27, [x27, _lut_nmsedec_ref0@GOTPAGEOFF]
	mov	w28, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w8, #1
	mov	w10, #-9
	lsl	w9, w10, w9
	add	w9, w20, w9
	mov	w10, #12
	sub	w8, w10, w8
	lsl	w0, w9, w8
	mov	w1, #0
	bl	_FFMAX
Lloh6:
	adrp	x8, _lut_nmsedec_sig@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lut_nmsedec_sig@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	lsl	x25, x21, #3
	str	x0, [x8, x25]
	mul	w26, w21, w21
	ldr	w8, [x22]
	sub	w8, w8, #1
	lsl	w8, w24, w8
	add	w8, w8, w26
	and	w8, w8, w23
	lsl	w0, w8, #1
	mov	w1, #0
	bl	_FFMAX
Lloh9:
	adrp	x8, _lut_nmsedec_sig0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _lut_nmsedec_sig0@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x0, [x8, x25]
	ldr	w8, [x19]
	sub	w8, w8, #2
	lsr	w8, w21, w8
	and	w8, w8, #0x2
	orr	w9, w8, #0x1
	ldr	w10, [x22]
	lsl	w11, w24, w10
	mul	w9, w9, w9
	sub	w12, w10, #2
	lsl	w9, w9, w12
	sub	w8, w8, #1
	sub	w9, w11, w9
	madd	w8, w8, w21, w9
	mov	w9, #13
	sub	w9, w9, w10
	lsl	w0, w8, w9
	mov	w1, #0
	bl	_FFMAX
Lloh12:
	adrp	x8, _lut_nmsedec_ref@GOTPAGE
Lloh13:
	ldr	x8, [x8, _lut_nmsedec_ref@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x0, [x8, x25]
	ldr	w8, [x22]
	sub	w9, w8, #1
	lsl	w9, w28, w9
	lsl	w8, w8, #1
	lsl	w8, w24, w8
	add	w9, w9, w26
	add	w8, w9, w8
	and	w8, w8, w23
	lsl	w0, w8, #1
	mov	w1, #0
	bl	_FFMAX
	ldr	x8, [x27]
	str	x0, [x8, x25]
	add	x21, x21, #1
	ldr	w8, [x19]
	lsl	w8, w24, w8
	cmp	x21, w8, sxtw
	b.ge	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	sub	w28, w28, #4
	add	w20, w20, #6
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NMSEDEC_FRACBITS,4,2           ; @NMSEDEC_FRACBITS
	.comm	_NMSEDEC_BITS,4,2               ; @NMSEDEC_BITS
	.comm	_lut_nmsedec_sig,8,3            ; @lut_nmsedec_sig
	.comm	_lut_nmsedec_sig0,8,3           ; @lut_nmsedec_sig0
	.comm	_lut_nmsedec_ref,8,3            ; @lut_nmsedec_ref
	.comm	_lut_nmsedec_ref0,8,3           ; @lut_nmsedec_ref0
	.no_dead_strip	_init_luts
.subsections_via_symbols
