	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FsmRecvIdent
_FsmRecvIdent:                          ## @FsmRecvIdent
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_ntohs
	movl	%eax, %ebx
	addl	$-4, %ebx
	cmpl	$4, %ebx
	jl	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_m_append
	movl	%eax, %edi
	callq	_m_pullup
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_MBUF_CTOP
	movq	%rax, %r12
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ua_ntohl
	movq	-40(%rbp), %rcx
	movq	(%r14), %rax
	movq	(%rax), %r8
	cmpq	%r8, %rcx
	je	LBB0_3
## %bb.2:
	movl	8(%r14), %edi
	movl	8(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_log_Printf
LBB0_3:
	movl	%ebx, %eax
	movb	$0, (%r12,%rax)
	movq	(%r14), %rdi
	addq	$4, %r12
	movq	%r12, %rsi
	callq	_lcp_RecvIdentification
LBB0_4:
	movq	%r15, %rdi
	callq	_m_freem
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"%s: RecvIdent: magic 0x%08lx is wrong, expecting 0x%08lx\n"

	.no_dead_strip	_FsmRecvIdent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FsmRecvIdent
_FsmRecvIdent:                          ; @FsmRecvIdent
	.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, x2
	mov	x20, x0
	ldr	w0, [x1]
	bl	_ntohs
	sub	w22, w0, #4
	cmp	w22, #4
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_m_append
	bl	_m_pullup
	mov	x19, x0
	bl	_MBUF_CTOP
	mov	x21, x0
	add	x1, sp, #8
	bl	_ua_ntohl
	ldr	x3, [sp, #8]
	ldr	x8, [x20]
	ldr	x4, [x8]
	cmp	x3, x4
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	ldr	w2, [x8, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_log_Printf
LBB0_3:
	strb	wzr, [x21, w22, uxtw]
	ldr	x0, [x20]
	add	x1, x21, #4
	bl	_lcp_RecvIdentification
LBB0_4:
	mov	x0, x19
	bl	_m_freem
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"%s: RecvIdent: magic 0x%08lx is wrong, expecting 0x%08lx\n"

	.no_dead_strip	_FsmRecvIdent
.subsections_via_symbols
