	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l1_unscale
_l1_unscale:                            ## @l1_unscale
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, %ecx
	movq	_scale_factor_modshift@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %r14d
	movl	%r14d, %eax
	movl	$-1, %edx
	shll	%cl, %edx
	andl	$3, %eax
	shrl	$2, %r14d
	leal	(%rsi,%rdx), %edi
	incl	%edi
	movq	_scale_factor_mult@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	%ecx, %rbx
	movq	-8(%rdx,%rbx,8), %rcx
	movl	(%rcx,%rax,4), %esi
	callq	_MUL64
	addl	%r14d, %ebx
	leal	-1(%rbx), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rdx
	addq	%rdx, %rax
	movl	%ebx, %ecx
	sarq	%cl, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scale_factor_modshift,8,3      ## @scale_factor_modshift
	.comm	_scale_factor_mult,8,3          ## @scale_factor_mult
	.no_dead_strip	_l1_unscale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l1_unscale
_l1_unscale:                            ; @l1_unscale
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _scale_factor_modshift@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scale_factor_modshift@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w20, [x8, w2, sxtw #2]
	and	x8, x20, #0x3
	mov	w9, #-1
	lsl	w9, w9, w0
	add	w9, w1, w9
	add	w0, w9, #1
Lloh3:
	adrp	x9, _scale_factor_mult@GOTPAGE
Lloh4:
	ldr	x9, [x9, _scale_factor_mult@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	w10, w19, #1
	ldr	x9, [x9, w10, sxtw #3]
	ldr	w1, [x9, x8, lsl #2]
	bl	_MUL64
	add	w8, w19, w20, asr #2
	sub	w9, w8, #1
	mov	w10, #1
	lsl	x9, x10, x9
	add	x9, x9, x0
	asr	x0, x9, x8
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_scale_factor_modshift,8,3      ; @scale_factor_modshift
	.comm	_scale_factor_mult,8,3          ; @scale_factor_mult
	.no_dead_strip	_l1_unscale
.subsections_via_symbols
