	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SendLqrReport
_SendLqrReport:                         ## @SendLqrReport
	.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	%rdi, %r15
	movq	(%rdi), %rdi
	callq	_link2physical
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_timer_Stop
	movl	(%rbx), %eax
	movq	_LQM_LQR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.1:
	cmpl	$6, 24(%rbx)
	jl	LBB0_4
## %bb.2:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movq	_LogLQM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_8:
	movq	_LQM_ECHO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.9:
	movl	16(%rbx), %eax
	cmpl	$6, %eax
	jl	LBB0_12
## %bb.10:
	addl	$-5, %eax
	cmpl	20(%rbx), %eax
	jg	LBB0_13
LBB0_11:
	movq	%r15, %rdi
	callq	_SendEchoReq
	cmpl	$0, (%rbx)
	jne	LBB0_6
	jmp	LBB0_14
LBB0_4:
	movq	%r15, %rdi
	callq	_SendLqrData
	incl	24(%rbx)
LBB0_5:
	cmpl	$0, (%rbx)
	jne	LBB0_6
	jmp	LBB0_14
LBB0_12:
	movl	20(%rbx), %ecx
	addl	$5, %ecx
	cmpl	%ecx, %eax
	jle	LBB0_11
LBB0_13:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_log_Printf
	movq	_LogLQM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	callq	_log_Printf
	movl	$0, (%rbx)
	movl	32(%rbx), %edi
	movq	_CLOSE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_datalink_Down
	cmpl	$0, (%rbx)
	je	LBB0_14
LBB0_6:
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_timer_Start                    ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LQM_LQR,4,2                    ## @LQM_LQR
	.comm	_LogPHASE,4,2                   ## @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: ** Too many LQR packets lost **\n"

	.comm	_LogLQM,4,2                     ## @LogLQM
L_.str.1:                               ## @.str.1
	.asciz	"%s: Too many LQR packets lost\n"

	.comm	_CLOSE_NORMAL,4,2               ## @CLOSE_NORMAL
	.comm	_LQM_ECHO,4,2                   ## @LQM_ECHO
L_.str.2:                               ## @.str.2
	.asciz	"%s: ** Too many LCP ECHO packets lost **\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: Too many LCP ECHO packets lost\n"

	.no_dead_strip	_SendLqrReport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SendLqrReport
_SendLqrReport:                         ; @SendLqrReport
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	ldr	x0, [x0]
	bl	_link2physical
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_timer_Stop
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _LQM_LQR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LQM_LQR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x20, #24]
	cmp	w8, #6
	b.lt	LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
Lloh8:
	adrp	x8, _LogLQM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogLQM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_3:
Lloh13:
	adrp	x9, _LQM_ECHO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LQM_ECHO@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	ldr	w8, [x20, #16]
	cmp	w8, #6
	b.lt	LBB0_9
; %bb.5:
	sub	w8, w8, #5
	ldr	w9, [x20, #20]
	cmp	w8, w9
	b.gt	LBB0_10
LBB0_6:
	mov	x0, x21
	bl	_SendEchoReq
	ldr	w8, [x20]
	cbnz	w8, LBB0_12
	b	LBB0_14
LBB0_7:
	mov	x0, x21
	bl	_SendLqrData
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
LBB0_8:
	ldr	w8, [x20]
	cbnz	w8, LBB0_12
	b	LBB0_14
LBB0_9:
	ldr	w9, [x20, #20]
	add	w9, w9, #5
	cmp	w8, w9
	b.le	LBB0_6
LBB0_10:
Lloh16:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_log_Printf
Lloh21:
	adrp	x8, _LogLQM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LogLQM@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	bl	_log_Printf
	str	wzr, [x20]
	ldr	w0, [x20, #32]
Lloh26:
	adrp	x8, _CLOSE_NORMAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CLOSE_NORMAL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_datalink_Down
	ldr	w8, [x20]
	cbz	w8, LBB0_14
LBB0_12:
	ldr	x8, [x19]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_timer_Start
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_LQM_LQR,4,2                    ; @LQM_LQR
	.comm	_LogPHASE,4,2                   ; @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: ** Too many LQR packets lost **\n"

	.comm	_LogLQM,4,2                     ; @LogLQM
l_.str.1:                               ; @.str.1
	.asciz	"%s: Too many LQR packets lost\n"

	.comm	_CLOSE_NORMAL,4,2               ; @CLOSE_NORMAL
	.comm	_LQM_ECHO,4,2                   ; @LQM_ECHO
l_.str.2:                               ; @.str.2
	.asciz	"%s: ** Too many LCP ECHO packets lost **\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: Too many LCP ECHO packets lost\n"

	.no_dead_strip	_SendLqrReport
.subsections_via_symbols
