	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_unscale_group
_l2_unscale_group:                      ## @l2_unscale_group
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_scale_factor_modshift@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edx, %rdx
	movl	(%rcx,%rdx,4), %edx
	movl	%edx, %ecx
	andl	$3, %ecx
	movl	%edi, %esi
	sarl	%esi
	subl	%esi, %eax
	movq	_scale_factor_mult2@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	sarl	$2, %edi
	movslq	%edi, %rdi
	movq	(%rsi,%rdi,8), %rsi
	imull	(%rsi,%rcx,4), %eax
	cmpl	$4, %edx
	jl	LBB0_2
## %bb.1:
	shrl	$2, %edx
	leal	-1(%rdx), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	addl	%esi, %eax
	movl	%edx, %ecx
	sarl	%cl, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scale_factor_modshift,8,3      ## @scale_factor_modshift
	.comm	_scale_factor_mult2,8,3         ## @scale_factor_mult2
	.no_dead_strip	_l2_unscale_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_unscale_group
_l2_unscale_group:                      ; @l2_unscale_group
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _scale_factor_modshift@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scale_factor_modshift@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w2, sxtw #2]
	and	x9, x8, #0x3
	sub	w10, w1, w0, asr #1
Lloh3:
	adrp	x11, _scale_factor_mult2@GOTPAGE
Lloh4:
	ldr	x11, [x11, _scale_factor_mult2@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	asr	w12, w0, #2
	ldr	x11, [x11, w12, sxtw #3]
	ldr	w9, [x11, x9, lsl #2]
	mul	w9, w9, w10
	lsr	w10, w8, #2
	sub	w11, w10, #1
	mov	w12, #1
	lsl	w11, w12, w11
	add	w11, w9, w11
	asr	w10, w11, w10
	cmp	w8, #4
	csel	w0, w9, w10, lt
	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_mult2,8,3         ; @scale_factor_mult2
	.no_dead_strip	_l2_unscale_group
.subsections_via_symbols
