	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessPacket                  ## -- Begin function ProcessPacket
	.p2align	4, 0x90
_ProcessPacket:                         ## @ProcessPacket
	.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, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_19
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SendReadRepl                   ## TAILCALL
LBB0_19:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_EnetStr
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
LBB0_17:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_EnetStr
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_2:
	movq	%rsi, %r15
	movq	%rbx, %rdi
	callq	_NewConn
	testq	%rax, %rax
	je	LBB0_20
## %bb.3:
	movq	%rax, %r14
	movl	8(%rbx), %edi
	callq	_ntohs
	movq	_RMP_PROBESID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.4:
	movl	4(%rbx), %edi
	callq	_WORDZE
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_SendServerID
	jmp	LBB0_9
LBB0_14:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_EnetStr
	leaq	L_.str(%rip), %rsi
LBB0_15:
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
LBB0_18:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BootDone                       ## TAILCALL
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testq	%r15, %r15
	jne	LBB0_12
## %bb.11:
	movq	_BootFiles@GOTPCREL(%rip), %r15
LBB0_12:
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SendBootRepl
	testl	%eax, %eax
	je	LBB0_9
## %bb.13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AddConn                        ## TAILCALL
LBB0_6:
	testq	%r15, %r15
	jne	LBB0_8
## %bb.7:
	movq	_BootFiles@GOTPCREL(%rip), %r15
LBB0_8:
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SendFileNo
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FreeConn                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_RMP_PROBESID,4,2               ## @RMP_PROBESID
	.comm	_BootFiles,4,2                  ## @BootFiles
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: sent a boot reply"

L_.str.1:                               ## @.str.1
	.asciz	"%s: sent a read reply"

L_.str.2:                               ## @.str.2
	.asciz	"%s: unknown packet type (%u)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessPacket                  ; -- Begin function ProcessPacket
	.p2align	2
_ProcessPacket:                         ; @ProcessPacket
	.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, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	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
	b	_SendReadRepl
LBB0_3:
Lloh2:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_EnetStr
	mov	x2, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_syslog
	b	LBB0_9
LBB0_4:
Lloh7:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_EnetStr
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_5:
	mov	x21, x1
	mov	x0, x19
	bl	_NewConn
	cbz	x0, LBB0_9
; %bb.6:
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_ntohs
Lloh12:
	adrp	x8, _RMP_PROBESID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RMP_PROBESID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.7:
	ldr	w0, [x19, #4]
	bl	_WORDZE
	cbz	w0, LBB0_15
; %bb.8:
	mov	x0, x20
	bl	_SendServerID
	b	LBB0_16
LBB0_9:
	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
LBB0_10:
Lloh15:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_EnetStr
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
LBB0_11:
	mov	x0, x20
	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
	b	_syslog
LBB0_12:
	mov	x0, x19
	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
	b	_BootDone
LBB0_13:
Lloh20:
	adrp	x8, _BootFiles@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BootFiles@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x8, x21, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_SendBootRepl
	cbz	w0, LBB0_16
; %bb.14:
	mov	x0, x20
	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
	b	_AddConn
LBB0_15:
Lloh22:
	adrp	x8, _BootFiles@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BootFiles@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x8, x21, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_SendFileNo
LBB0_16:
	mov	x0, x20
	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
	b	_FreeConn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_RMP_PROBESID,4,2               ; @RMP_PROBESID
	.comm	_BootFiles,4,2                  ; @BootFiles
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: sent a boot reply"

l_.str.1:                               ; @.str.1
	.asciz	"%s: sent a read reply"

l_.str.2:                               ; @.str.2
	.asciz	"%s: unknown packet type (%u)"

.subsections_via_symbols
