	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsm_Output                     ## -- Begin function fsm_Output
	.p2align	4, 0x90
_fsm_Output:                            ## @fsm_Output
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	16(%rdi), %edi
	callq	_log_IsKept
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	16(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	4(%rax), %r14d
	movl	%r12d, %edi
	callq	_Code2Nam
	movq	%r15, %rbx
	movl	%r12d, %r15d
	movl	%eax, %r12d
	movl	32(%r13), %edi
	callq	_State2Nam
	leaq	L_.str(%rip), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r15d, %r12d
	movq	%rbx, %r15
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_log_Printf
	movl	%r12d, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	24(%r13), %rax
	movl	%r15d, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %rdx
	movq	_MODE_NOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	*(%rax)
	cmpl	$3, %r15d
	ja	LBB0_4
## %bb.3:
	movl	16(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_4:
	leal	12(%r15), %ebx
	movl	%r12d, -80(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -76(%rbp)
	movl	%ebx, %edi
	callq	_htons
	movl	%eax, -72(%rbp)
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_m_get
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_MBUF_CTOP
	leaq	-80(%rbp), %rsi
	movq	%rax, %rdi
	movl	$12, %edx
	callq	_memcpy
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_MBUF_CTOP
	leaq	12(%rax), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
LBB0_6:
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_log_DumpBp
	movq	(%r13), %rbx
	movl	12(%r13), %r15d
	movq	%rbx, %rdi
	callq	_LINK_QUEUES
	leaq	-1(%rax), %rcx
	movl	8(%r13), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_link_PushPacket
	cmpl	$129, %r12d
	jne	LBB0_8
## %bb.7:
	movq	(%r13), %rdi
	callq	_lcp_SendIdentification
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Send%s(%d) state = %s\n"

	.comm	_MODE_NOP,4,2                   ## @MODE_NOP
L_.str.1:                               ## @.str.1
	.asciz	"  [EMPTY]\n"

	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
L_.str.2:                               ## @.str.2
	.asciz	"fsm_Output"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsm_Output                     ; -- Begin function fsm_Output
	.p2align	2
_fsm_Output:                            ; @fsm_Output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_log_IsKept
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w25, [x19, #16]
	ldr	x8, [x19]
	ldr	w27, [x8, #4]
	mov	x0, x20
	bl	_Code2Nam
	mov	x26, x0
	ldr	w0, [x19, #32]
	bl	_State2Nam
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #16]
	stp	x27, x26, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_log_Printf
	and	w8, w20, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	mov	w9, #12
	umaddl	x2, w21, w9, x22
Lloh2:
	adrp	x9, _MODE_NOP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MODE_NOP@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x1, x22
	mov	x4, #0
	blr	x8
	cmp	w21, #3
	b.hi	LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
LBB0_4:
	add	w25, w21, #12
	stp	w20, w24, [sp, #32]
	mov	x0, x25
	bl	_htons
	str	w0, [sp, #40]
	mov	x0, x25
	mov	x1, x23
	bl	_m_get
	mov	x23, x0
	bl	_MBUF_CTOP
	add	x1, sp, #32
	mov	w2, #12
	bl	_memcpy
	cbz	w21, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_MBUF_CTOP
	add	x0, x0, #12
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
LBB0_6:
Lloh7:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
	bl	_log_DumpBp
	ldr	x21, [x19]
	ldr	w22, [x19, #12]
	mov	x0, x21
	bl	_LINK_QUEUES
	sub	x3, x0, #1
	ldr	w4, [x19, #8]
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_link_PushPacket
	cmp	w20, #129
	b.ne	LBB0_8
; %bb.7:
	ldr	x0, [x19]
	bl	_lcp_SendIdentification
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Send%s(%d) state = %s\n"

	.comm	_MODE_NOP,4,2                   ; @MODE_NOP
l_.str.1:                               ; @.str.1
	.asciz	"  [EMPTY]\n"

	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
l_.str.2:                               ; @.str.2
	.asciz	"fsm_Output"

.subsections_via_symbols
