	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FsmRecvEchoReq
_FsmRecvEchoReq:                        ## @FsmRecvEchoReq
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_fsm2lcp
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_m_pullup
	movq	%rax, %r12
	movq	_MB_ECHOIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_m_settype
	testq	%r13, %r13
	je	LBB0_6
## %bb.1:
	movl	(%r15), %edi
	callq	_ntohs
	andl	$-4, %eax
	cmpl	$8, %eax
	je	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	callq	_MBUF_CTOP
	movq	%rax, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ua_ntohl
	movq	-48(%rbp), %rcx
	movq	(%r13), %r8
	cmpq	%r8, %rcx
	je	LBB0_4
## %bb.3:
	movl	16(%r14), %edi
	movq	8(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_log_Printf
LBB0_4:
	movq	(%r14), %rax
	movq	_ST_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	addq	$8, %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ua_htonl
	movq	_CODE_ECHOREP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r15), %edi
	movl	4(%r15), %r15d
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	leal	-8(%rax), %r8d
	movq	_MB_ECHOOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	callq	_fsm_Output
LBB0_6:
	movq	%r12, %rdi
	callq	_m_freem
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_ECHOIN,4,2                  ## @MB_ECHOIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: RecvEchoReq: magic 0x%08lx is wrong, expecting 0x%08lx\n"

	.comm	_ST_OPENED,8,3                  ## @ST_OPENED
	.comm	_CODE_ECHOREP,4,2               ## @CODE_ECHOREP
	.comm	_MB_ECHOOUT,4,2                 ## @MB_ECHOOUT
	.no_dead_strip	_FsmRecvEchoReq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FsmRecvEchoReq
_FsmRecvEchoReq:                        ; @FsmRecvEchoReq
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_fsm2lcp
	mov	x22, x0
	mov	x0, x19
	bl	_m_pullup
	mov	x19, x0
Lloh0:
	adrp	x8, _MB_ECHOIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MB_ECHOIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_m_settype
	cbz	x22, LBB0_6
; %bb.1:
	ldr	w0, [x21]
	bl	_ntohs
	and	w8, w0, #0xfffffffc
	cmp	w8, #8
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_MBUF_CTOP
	mov	x23, x0
	add	x1, sp, #8
	bl	_ua_ntohl
	ldr	x3, [sp, #8]
	ldr	x4, [x22]
	cmp	x3, x4
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20, #16]
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_log_Printf
LBB0_4:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _ST_OPENED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ST_OPENED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	add	x0, x22, #8
	mov	x1, x23
	bl	_ua_htonl
Lloh8:
	adrp	x8, _CODE_ECHOREP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CODE_ECHOREP@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	ldp	w0, w24, [x21]
	bl	_ntohs
	sub	w4, w0, #8
Lloh11:
	adrp	x8, _MB_ECHOOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MB_ECHOOUT@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x3, x23
	bl	_fsm_Output
LBB0_6:
	mov	x0, x19
	bl	_m_freem
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_ECHOIN,4,2                  ; @MB_ECHOIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: RecvEchoReq: magic 0x%08lx is wrong, expecting 0x%08lx\n"

	.comm	_ST_OPENED,8,3                  ; @ST_OPENED
	.comm	_CODE_ECHOREP,4,2               ; @CODE_ECHOREP
	.comm	_MB_ECHOOUT,4,2                 ; @MB_ECHOOUT
	.no_dead_strip	_FsmRecvEchoReq
.subsections_via_symbols
