	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drx397x_read_signal_strength
_drx397x_read_signal_strength:          ## @drx397x_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	$65535, %eax                    ## imm = 0xFFFF
	cmpl	$2, (%rdi)
	je	LBB0_4
## %bb.1:
	movl	$12714037, %esi                 ## imm = 0xC20035
	callq	_RD16
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	andl	$1023, %eax                     ## imm = 0x3FF
	imull	$30744, %eax, %ecx              ## imm = 0x7818
	shrl	$10, %ecx
	movl	$-7721, %eax                    ## imm = 0xE1D7
	subl	%ecx, %eax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_drx397x_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 drx397x_read_signal_strength
_drx397x_read_signal_strength:          ; @drx397x_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]
	ldr	w8, [x0]
	cmp	w8, #2
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #65535
	b	LBB0_5
LBB0_2:
	mov	w1, #53
	movk	w1, #194, lsl #16
	bl	_RD16
	tbnz	w0, #31, LBB0_4
; %bb.3:
	and	w8, w0, #0x3ff
	mov	w9, #30744
	mul	w8, w8, w9
	mov	w9, #-7721
	sub	w8, w9, w8, lsr #10
	b	LBB0_5
LBB0_4:
	mov	w8, #0
LBB0_5:
	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	_drx397x_read_signal_strength
.subsections_via_symbols
