	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_read_signal_strength
_dib8000_read_signal_strength:          ## @dib8000_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	(%rdi), %r14
	movl	$0, (%rsi)
	movq	_MAX_NUMBER_OF_FRONTENDS@GOTPCREL(%rip), %r12
	cmpq	$2, (%r12)
	jb	LBB0_4
## %bb.1:
	movl	$1, %ebx
	movl	$65535, %r15d                   ## imm = 0xFFFF
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-44(%rbp), %rsi
	callq	*(%rdi)
	movl	-44(%rbp), %eax
	movl	(%r13), %ecx
	movl	$65535, %edx                    ## imm = 0xFFFF
	subl	%ecx, %edx
	addl	%eax, %ecx
	cmpl	%edx, %eax
	cmovgl	%r15d, %ecx
	movl	%ecx, (%r13)
	incq	%rbx
	cmpq	(%r12), %rbx
	jb	LBB0_2
LBB0_4:
	movq	%r14, %rdi
	movl	$390, %esi                      ## imm = 0x186
	callq	_dib8000_read_word
	movl	(%r13), %ecx
	subl	%eax, %ecx
	leal	65535(%rcx), %eax
	movl	$65535, %ecx                    ## imm = 0xFFFF
	cmovlel	%eax, %ecx
	movl	%ecx, (%r13)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NUMBER_OF_FRONTENDS,8,3    ## @MAX_NUMBER_OF_FRONTENDS
	.no_dead_strip	_dib8000_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 dib8000_read_signal_strength
_dib8000_read_signal_strength:          ; @dib8000_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
	mov	x19, x1
	ldr	x20, [x0]
	str	wzr, [x1]
Lloh0:
	adrp	x21, _MAX_NUMBER_OF_FRONTENDS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_NUMBER_OF_FRONTENDS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #2
	b.lo	LBB0_4
; %bb.1:
	mov	w22, #1
	mov	w23, #65535
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x0, [x8, x22, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0]
	add	x1, sp, #12
	blr	x8
	ldr	w8, [sp, #12]
	ldr	w9, [x19]
	add	w10, w9, w8
	sub	w9, w23, w9
	cmp	w8, w9
	csel	w8, w23, w10, gt
	str	w8, [x19]
	add	x22, x22, #1
	ldr	x8, [x21]
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_4:
	mov	x0, x20
	mov	w1, #390
	bl	_dib8000_read_word
	ldr	w8, [x19]
	mov	w9, #65535
	subs	w8, w8, w0
	add	w8, w8, w9
	csel	w8, w9, w8, gt
	str	w8, [x19]
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NUMBER_OF_FRONTENDS,8,3    ; @MAX_NUMBER_OF_FRONTENDS
	.no_dead_strip	_dib8000_read_signal_strength
.subsections_via_symbols
