	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda10071_read_signal_strength
_tda10071_read_signal_strength:         ## @tda10071_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), %rax
	movq	(%rax), %rdx
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_2
## %bb.1:
	movl	8(%rax), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_div_s64
                                        ## kill: def $eax killed $eax def $rax
	leal	256(%rax), %edi
	movl	$181, %esi
	movl	$236, %edx
	callq	_clamp
	movl	%eax, %ecx
	shll	$16, %ecx
	subl	%eax, %ecx
	addl	$-11861835, %ecx                ## imm = 0xFF4B00B5
	imulq	$702812831, %rcx, %rax          ## imm = 0x29E4129F
	shrq	$32, %rax
	subl	%eax, %ecx
	shrl	%ecx
	addl	%eax, %ecx
	shrl	$5, %ecx
LBB0_2:
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_SCALE_DECIBEL,8,3           ## @FE_SCALE_DECIBEL
	.no_dead_strip	_tda10071_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 tda10071_read_signal_strength
_tda10071_read_signal_strength:         ; @tda10071_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	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _FE_SCALE_DECIBEL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x8, #8]
	mov	w1, #1000
	bl	_div_s64
	add	w0, w0, #256
	mov	w1, #181
	mov	w2, #236
	bl	_clamp
	lsl	w8, w0, #16
	sub	w8, w8, w0
	sub	w8, w8, #2895, lsl #12          ; =11857920
	sub	w8, w8, #3915
	mov	w9, #4767
	movk	w9, #10724, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #32
	sub	w8, w8, w9
	add	w8, w9, w8, lsr #1
	lsr	w8, w8, #5
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_SCALE_DECIBEL,8,3           ; @FE_SCALE_DECIBEL
	.no_dead_strip	_tda10071_read_signal_strength
.subsections_via_symbols
