	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_scale_to_value
_rs_scale_to_value:                     ## @rs_scale_to_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-1(%rsi), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	movl	%edi, %eax
	btrl	%ecx, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	cmpl	%edi, %edx
	cmovgel	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rs_scale_to_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_scale_to_value
_rs_scale_to_value:                     ; @rs_scale_to_value
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #1
	mov	w9, #1
	lsl	w8, w9, w8
	bic	w9, w0, w8
	lsl	w9, w9, w1
	cmp	w8, w0
	csel	w0, w9, w0, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rs_scale_to_value
.subsections_via_symbols
