	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx22702_read_signal_strength
_cx22702_read_signal_strength:          ## @cx22702_read_signal_strength
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rdi
	movl	$35, %esi
	callq	_cx22702_readreg
                                        ## kill: def $eax killed $eax def $rax
	xorl	%ecx, %ecx
	testb	$-128, %al
	jne	LBB0_2
## %bb.1:
	notl	%eax
	andl	$127, %eax
	movl	%eax, %ecx
	shll	$9, %ecx
	leal	(%rcx,%rax,4), %ecx
	shrl	$5, %eax
	orl	%ecx, %eax
	movl	%eax, %ecx
LBB0_2:
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cx22702_read_signal_strength
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx22702_read_signal_strength
_cx22702_read_signal_strength:          ; @cx22702_read_signal_strength
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x0, [x0]
	mov	w1, #35
	bl	_cx22702_readreg
	tbnz	w0, #7, LBB0_2
; %bb.1:
	mvn	w9, w0
	and	w10, w9, #0x7f
	ubfx	w8, w9, #5, #2
	bfi	w9, w10, #7, #7
	bfi	w8, w9, #2, #14
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cx22702_read_signal_strength
.subsections_via_symbols
