	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max2820_rf_calc_rssi
_max2820_rf_calc_rssi:                  ## @max2820_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	%edi, %eax
	sarl	%eax
	leal	76(%rax), %ecx
	addl	$66, %eax
	testb	$1, %dil
	cmovnel	%ecx, %eax
	movl	%eax, %ecx
	shll	$6, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_max2820_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 max2820_rf_calc_rssi
_max2820_rf_calc_rssi:                  ; @max2820_rf_calc_rssi
	.cfi_startproc
; %bb.0:
	tst	w0, #0x1
	mov	w8, #76
	mov	w9, #66
	csel	w8, w9, w8, eq
	add	w8, w8, w0, asr #1
	add	w8, w8, w8, lsl #6
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_max2820_rf_calc_rssi
.subsections_via_symbols
