	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lqr_RecvEcho                   ## -- Begin function lqr_RecvEcho
	.p2align	4, 0x90
_lqr_RecvEcho:                          ## @lqr_RecvEcho
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	callq	_link2physical
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_fsm2lcp
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_m_length
	cmpq	$24, %rax
	jb	LBB0_13
## %bb.1:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$24, %edx
	callq	_mbuf_Read
	movl	%eax, %edi
	callq	_m_freem
	movq	-56(%rbp), %rdi
	callq	_ntohl
	movq	%rax, -56(%rbp)
	movq	-48(%rbp), %rdi
	callq	_ntohl
	movq	%rax, -48(%rbp)
	movq	-40(%rbp), %rdi
	callq	_ntohl
	movq	%rax, -40(%rbp)
	movq	-56(%rbp), %r8
	testq	%r8, %r8
	je	LBB0_5
## %bb.2:
	movq	(%r15), %rcx
	cmpq	%rcx, %r8
	je	LBB0_5
## %bb.3:
	cmpq	8(%r15), %r8
	je	LBB0_5
## %bb.4:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rax
	movslq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_5:
	movq	-48(%rbp), %rdx
	movq	_SIGNATURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %rdx
	je	LBB0_7
## %bb.6:
	cmpq	8(%r15), %rdx
	jne	LBB0_12
LBB0_7:
	movslq	(%r14), %rcx
	movq	-40(%rbp), %rax
	cmpq	$-4, %rcx
	jl	LBB0_9
## %bb.8:
	cmpq	$5, %rax
	jl	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	cmpl	$-5, %ecx
	jg	LBB0_15
## %bb.10:
	cmpq	%rcx, %rax
	jle	LBB0_15
LBB0_11:
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_13:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_m_length
	leaq	L_.str.2(%rip), %rsi
	movl	$24, %ecx
	movl	%r14d, %edi
	movq	%rax, %rdx
LBB0_14:
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_15:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: lqr_RecvEcho: Bad magic: expected 0x%08x, got 0x%08x\n"

	.comm	_SIGNATURE,8,3                  ## @SIGNATURE
L_.str.1:                               ## @.str.1
	.asciz	"lqr_RecvEcho: Got sig 0x%08lx, not 0x%08lx !\n"

L_.str.2:                               ## @.str.2
	.asciz	"lqr_RecvEcho: Got packet size %zd, expecting %ld !\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lqr_RecvEcho                   ; -- Begin function lqr_RecvEcho
	.p2align	2
_lqr_RecvEcho:                          ; @lqr_RecvEcho
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x1
	mov	x21, x0
	ldr	x0, [x0]
	bl	_link2physical
	mov	x19, x0
	mov	x0, x21
	bl	_fsm2lcp
	mov	x20, x0
	mov	x0, x22
	bl	_m_length
	cmp	x0, #24
	b.lo	LBB0_10
; %bb.1:
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #24
	bl	_mbuf_Read
	bl	_m_freem
	ldr	x0, [sp, #8]
	bl	_ntohl
	str	x0, [sp, #8]
	ldr	x0, [sp, #16]
	bl	_ntohl
	str	x0, [sp, #16]
	ldr	x0, [sp, #24]
	bl	_ntohl
	str	x0, [sp, #24]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x3, [x20]
	cmp	x8, x3
	b.eq	LBB0_5
; %bb.3:
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
Lloh0:
	adrp	x9, _LogWARN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LogWARN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	x9, [x21]
	ldrsw	x2, [x9]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
LBB0_5:
	ldr	x2, [sp, #16]
Lloh5:
	adrp	x8, _SIGNATURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGNATURE@GOTPAGEOFF]
Lloh7:
	ldr	x3, [x8]
	cmp	x2, x3
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [x20, #8]
	cmp	x2, x8
	b.ne	LBB0_11
LBB0_7:
	ldrsw	x9, [x19]
	ldr	x8, [sp, #24]
	cmn	w9, #4
	ccmp	x8, #5, #0, ge
	b.lt	LBB0_9
; %bb.8:
	cmn	w9, #5
	ccmp	x8, x9, #4, le
	b.le	LBB0_12
LBB0_9:
	mov	x22, #0
	str	w8, [x19]
	b	LBB0_13
LBB0_10:
Lloh8:
	adrp	x8, _LogWARN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	mov	x0, x22
	bl	_m_length
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w3, #24
	bl	_log_Printf
	b	LBB0_13
LBB0_11:
Lloh13:
	adrp	x8, _LogWARN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
LBB0_12:
	mov	x22, #0
LBB0_13:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: lqr_RecvEcho: Bad magic: expected 0x%08x, got 0x%08x\n"

	.comm	_SIGNATURE,8,3                  ; @SIGNATURE
l_.str.1:                               ; @.str.1
	.asciz	"lqr_RecvEcho: Got sig 0x%08lx, not 0x%08lx !\n"

l_.str.2:                               ; @.str.2
	.asciz	"lqr_RecvEcho: Got packet size %zd, expecting %ld !\n"

.subsections_via_symbols
