	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3305_read_signal_strength
_lgdt3305_read_signal_strength:         ## @lgdt3305_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	8(%rdi), %r15
	movl	$0, (%rsi)
	leaq	-28(%rbp), %rsi
	callq	*(%rdi)
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%r15), %ecx
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmpl	$587202559, %ecx                ## imm = 0x22FFFFFF
	jg	LBB0_3
## %bb.2:
	movslq	%ecx, %rax
	imulq	$-368140053, %rax, %rax         ## imm = 0xEA0EA0EB
	shrq	$32, %rax
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$13, %eax
	addl	%ecx, %eax
LBB0_3:
	movl	%eax, (%r14)
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lgdt3305_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 lgdt3305_read_signal_strength
_lgdt3305_read_signal_strength:         ; @lgdt3305_read_signal_strength
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	wzr, [x1]
	ldp	x8, x21, [x0]
	add	x1, sp, #12
	blr	x8
	mov	x20, x0
	bl	_lg_fail
	cbnz	x0, LBB0_2
; %bb.1:
	ldrsw	x8, [x21]
	mov	x9, #-24341
	movk	x9, #59918, lsl #16
	mul	x9, x8, x9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #13
	add	w9, w10, w9, lsr #31
	mov	w10, #587202559
	mov	w11, #65535
	cmp	w8, w10
	csel	w8, w11, w9, gt
	str	w8, [x19]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lgdt3305_read_signal_strength
.subsections_via_symbols
