	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rssi_to_rcpi                   ## -- Begin function rssi_to_rcpi
	.p2align	4, 0x90
_rssi_to_rcpi:                          ## @rssi_to_rcpi
	.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 $edi killed $edi def $rdi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	cmpl	$-110, %edi
	jl	LBB0_5
## %bb.3:
	movl	$220, %eax
	testl	%edi, %edi
	jle	LBB0_4
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movl	$255, %eax
	popq	%rbp
	retq
LBB0_4:
	leal	(%rdi,%rdi), %eax
	addl	$220, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rssi_to_rcpi                   ; -- Begin function rssi_to_rcpi
	.p2align	2
_rssi_to_rcpi:                          ; @rssi_to_rcpi
	.cfi_startproc
; %bb.0:
	mov	w8, #255
	mov	w9, #220
	lsl	w10, w0, #1
	add	w10, w10, #220
	cmp	w0, #0
	csel	w9, w9, w10, gt
	cmn	w0, #110
	csel	w9, wzr, w9, lt
	cmp	w0, #0
	csel	w0, w8, w9, eq
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
