	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda10023_read_signal_strength
_tda10023_read_signal_strength:         ## @tda10023_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_tda10023_readreg
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_tda10023_readreg
	movl	$255, %ecx
	movl	$255, %edx
	subl	%r15d, %edx
	movl	$270, %esi                      ## imm = 0x10E
	subl	%r15d, %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$4, %esi
	subl	%eax, %esi
	leal	255(%rsi), %eax
	xorl	%edx, %edx
	cmpl	$145, %eax
	leal	222(%rsi,%rsi), %eax
	cmovll	%edx, %eax
	addl	%esi, %eax
	addl	$255, %eax
	cmpl	$255, %eax
	cmovll	%eax, %ecx
	movl	%ecx, %eax
	shll	$8, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tda10023_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 tda10023_read_signal_strength
_tda10023_read_signal_strength:         ; @tda10023_read_signal_strength
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #47
	bl	_tda10023_readreg
	mov	x21, x0
	mov	x0, x20
	mov	w1, #23
	bl	_tda10023_readreg
	mov	w8, #255
	sub	w9, w8, w21
	mov	w10, #270
	sub	w10, w10, w21
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #4
	sub	w9, w9, w0
	add	w9, w9, #255
	lsl	w10, w9, #1
	sub	w10, w10, #288
	cmp	w9, #144
	csel	w10, w10, wzr, gt
	add	w9, w10, w9
	cmp	w9, #255
	csel	w8, w9, w8, lt
	orr	w8, w8, w8, lsl #8
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tda10023_read_signal_strength
.subsections_via_symbols
