	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grf5101_rf_calc_rssi
_grf5101_rf_calc_rssi:                  ## @grf5101_rf_calc_rssi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$65, %eax
	cmpl	$60, %edi
	jg	LBB0_2
## %bb.1:
	movl	%edi, %eax
	shll	$6, %eax
	addl	%edi, %eax
	cltq
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$5, %eax
	addl	%ecx, %eax
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_grf5101_rf_calc_rssi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grf5101_rf_calc_rssi
_grf5101_rf_calc_rssi:                  ; @grf5101_rf_calc_rssi
	.cfi_startproc
; %bb.0:
	cmp	w0, #60
	b.le	LBB0_2
; %bb.1:
	mov	w0, #65
	ret
LBB0_2:
	add	w8, w0, w0, lsl #6
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #5
	add	w0, w9, w8, lsr #31
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_grf5101_rf_calc_rssi
.subsections_via_symbols
