	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nxt200x_read_signal_strength
_nxt200x_read_signal_strength:          ## @nxt200x_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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rbx
	movl	$0, -40(%rbp)
	leaq	-40(%rbp), %r15
	movq	%rbx, %rdi
	movl	$161, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_nxt200x_writebytes
	movq	%rbx, %rdi
	movl	$166, %esi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_nxt200x_readreg_multibyte
	movl	-40(%rbp), %eax
	movl	-36(%rbp), %ecx
	shll	$12, %eax
	shll	$4, %ecx
	orl	%eax, %ecx
	movl	$65520, %eax                    ## imm = 0xFFF0
	subl	%ecx, %eax
	movzwl	%ax, %eax
	movl	%eax, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nxt200x_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 nxt200x_read_signal_strength
_nxt200x_read_signal_strength:          ; @nxt200x_read_signal_strength
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x20, [x0]
	str	wzr, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	w1, #161
	mov	w3, #1
	bl	_nxt200x_writebytes
	mov	x2, sp
	mov	x0, x20
	mov	w1, #166
	mov	w3, #2
	bl	_nxt200x_readreg_multibyte
	ldp	w8, w9, [sp]
	lsl	w9, w9, #4
	orr	w8, w9, w8, lsl #12
	mov	w9, #65520
	sub	w8, w9, w8
	and	w8, w8, #0xfff0
	str	w8, [x19]
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nxt200x_read_signal_strength
.subsections_via_symbols
