	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_signal_strength
_read_signal_strength:                  ## @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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	_RSTV0910_P2_AGCIQIN1@GOTPCREL(%rip), %rax
	movq	(%r15), %rsi
	addq	(%rax), %rsi
	leaq	-56(%rbp), %r13
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	$2, %ecx
	callq	_read_regs
	movq	_RSTV0910_P2_POWERI@GOTPCREL(%rip), %r14
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	-56(%rbp), %r12d
	shll	$8, %r12d
	orl	-52(%rbp), %r12d
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	$2, %ecx
	callq	_read_regs
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %ebx
	imull	%eax, %eax
	imull	%ebx, %ebx
	addl	%eax, %ebx
	movl	$3000, %edi                     ## imm = 0xBB8
	movl	$4000, %esi                     ## imm = 0xFA0
	callq	_usleep_range
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	$2, %ecx
	callq	_read_regs
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %r13d
	imull	%eax, %eax
	addl	%ebx, %eax
	imull	%r13d, %r13d
	addl	%eax, %r13d
	movl	$3000, %edi                     ## imm = 0xBB8
	movl	$4000, %esi                     ## imm = 0xFA0
	callq	_usleep_range
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movq	%r15, %rdi
	leaq	-56(%rbp), %rdx
	movq	%rdx, %r14
	movl	$2, %ecx
	callq	_read_regs
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %ebx
	imull	%eax, %eax
	addl	%r13d, %eax
	imull	%ebx, %ebx
	addl	%eax, %ebx
	movl	$3000, %edi                     ## imm = 0xBB8
	movl	$4000, %esi                     ## imm = 0xFA0
	callq	_usleep_range
	movq	(%r15), %rsi
	movq	_RSTV0910_P2_POWERI@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_read_regs
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %r13d
	imull	%eax, %eax
	addl	%ebx, %eax
	imull	%r13d, %r13d
	addl	%eax, %r13d
	movl	$3000, %edi                     ## imm = 0xBB8
	movl	$4000, %esi                     ## imm = 0xFA0
	callq	_usleep_range
	movq	(%r15), %rsi
	movq	_RSTV0910_P2_POWERI@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_read_regs
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %r14d
	imull	%eax, %eax
	addl	%r13d, %eax
	imull	%r14d, %r14d
	addl	%eax, %r14d
	movl	$3000, %edi                     ## imm = 0xBB8
	movl	$4000, %esi                     ## imm = 0xFA0
	callq	_usleep_range
	movl	$3435973837, %ebx               ## imm = 0xCCCCCCCD
	imulq	%r14, %rbx
	shrq	$34, %rbx
	movq	_padc_lookup@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_table_lookup
                                        ## kill: def $eax killed $eax def $rax
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%r15), %rdx
	movl	%ecx, 4(%rdx)
	negl	%r12d
	addl	%r12d, %eax
	addl	$352, %eax                      ## imm = 0x160
	movl	%eax, (%rdx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RSTV0910_P2_AGCIQIN1,8,3       ## @RSTV0910_P2_AGCIQIN1
	.comm	_RSTV0910_P2_POWERI,8,3         ## @RSTV0910_P2_POWERI
	.comm	_padc_lookup,4,2                ## @padc_lookup
	.comm	_FE_SCALE_DECIBEL,4,2           ## @FE_SCALE_DECIBEL
	.no_dead_strip	_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 read_signal_strength
_read_signal_strength:                  ; @read_signal_strength
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x19, [x0]
Lloh3:
	adrp	x8, _RSTV0910_P2_AGCIQIN1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSTV0910_P2_AGCIQIN1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	ldp	w20, w21, [sp]
Lloh6:
	adrp	x22, _RSTV0910_P2_POWERI@GOTPAGE
Lloh7:
	ldr	x22, [x22, _RSTV0910_P2_POWERI@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	ldp	w8, w9, [sp]
	mul	w9, w9, w9
	madd	w23, w8, w8, w9
	mov	w0, #3000
	mov	w1, #4000
	bl	_usleep_range
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	ldp	w8, w9, [sp]
	madd	w8, w8, w8, w23
	madd	w23, w9, w9, w8
	mov	w0, #3000
	mov	w1, #4000
	bl	_usleep_range
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	ldp	w8, w9, [sp]
	madd	w8, w8, w8, w23
	madd	w23, w9, w9, w8
	mov	w0, #3000
	mov	w1, #4000
	bl	_usleep_range
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	ldp	w8, w9, [sp]
	madd	w8, w8, w8, w23
	madd	w23, w9, w9, w8
	mov	w0, #3000
	mov	w1, #4000
	bl	_usleep_range
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_read_regs
	ldp	w8, w9, [sp]
	madd	w8, w8, w8, w23
	madd	w22, w9, w9, w8
	mov	w0, #3000
	mov	w1, #4000
	bl	_usleep_range
	orr	w23, w21, w20, lsl #8
	mov	w8, #52429
	movk	w8, #52428, lsl #16
	umull	x8, w22, w8
	lsr	x20, x8, #34
Lloh8:
	adrp	x8, _padc_lookup@GOTPAGE
Lloh9:
	ldr	x8, [x8, _padc_lookup@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_table_lookup
Lloh11:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	sub	w10, w0, w23
	add	w10, w10, #352
	stp	w10, w8, [x9]
	ldr	x8, [sp, #8]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSTV0910_P2_AGCIQIN1,8,3       ; @RSTV0910_P2_AGCIQIN1
	.comm	_RSTV0910_P2_POWERI,8,3         ; @RSTV0910_P2_POWERI
	.comm	_padc_lookup,4,2                ; @padc_lookup
	.comm	_FE_SCALE_DECIBEL,4,2           ; @FE_SCALE_DECIBEL
	.no_dead_strip	_read_signal_strength
.subsections_via_symbols
