	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_D_ArbitrateNetStart            ## -- Begin function D_ArbitrateNetStart
	.p2align	4, 0x90
_D_ArbitrateNetStart:                   ## @D_ArbitrateNetStart
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXNETNODES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_autostart@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	leal	(,%rbx,4), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_doomcom@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.1:
	leaq	L_str.3(%rip), %rdi
	callq	_puts
	movq	_netbuffer@GOTPCREL(%rip), %r14
	movq	_NCMD_SETUP@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_CheckAbort
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.4:
	movl	4(%rax), %ecx
	movq	_VERSION@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_I_Error
	movq	(%r14), %rax
LBB0_6:
	movl	8(%rax), %ecx
	movl	%ecx, %edx
	andl	$15, %edx
	movq	_startskill@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	movl	%ecx, %edx
	shrl	$6, %edx
	andl	$3, %edx
	movq	_deathmatch@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	movl	%ecx, %edx
	shrl	$5, %edx
	andl	$1, %edx
	movq	_nomonsters@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	shrl	$4, %ecx
	andl	$1, %ecx
	movq	_respawnparm@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	12(%rax), %eax
	movl	%eax, %ecx
	andl	$63, %ecx
	movq	_startmap@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	sarl	$6, %eax
	movq	_startepisode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_7
LBB0_9:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_netbuffer@GOTPCREL(%rip), %r15
	movq	_NCMD_SETUP@GOTPCREL(%rip), %r13
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_52 Depth 2
	xorl	%eax, %eax
	callq	_CheckAbort
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	jle	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	_startepisode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$6, %ecx
	movq	_startmap@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	movl	%ecx, 12(%rax)
	movq	_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	$0, 16(%rax)
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_HSendPacket
	incl	%ebx
	movq	(%r12), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_19
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_startskill@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, 8(%rax)
	movq	_deathmatch@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	shll	$6, %edx
	orl	%edx, %ecx
	movl	%ecx, 8(%rax)
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	_nomonsters@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	orl	$32, %ecx
	movl	%ecx, 8(%rax)
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	_respawnparm@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	orl	$16, %ecx
	movl	%ecx, 8(%rax)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.29:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_31:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.32:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_34:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.35:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_37:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.38:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_40:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.41:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_43:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.44:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
LBB0_46:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_HGetPacket
	testq	%rax, %rax
	je	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rax
	movl	4(%rax), %eax
	andl	$127, %eax
	movq	_MAXNETNODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, (%r14,%rax,4)
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r12), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.50:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_52:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_10
## %bb.51:                              ##   in Loop: Header=BB0_52 Depth=2
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_52
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.53:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXNETNODES,4,2                ## @MAXNETNODES
	.comm	_autostart,4,2                  ## @autostart
	.comm	_doomcom,8,3                    ## @doomcom
	.comm	_netbuffer,8,3                  ## @netbuffer
	.comm	_NCMD_SETUP,4,2                 ## @NCMD_SETUP
	.comm	_VERSION,4,2                    ## @VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Different DOOM versions cannot play a net game!"

	.comm	_startskill,4,2                 ## @startskill
	.comm	_deathmatch,4,2                 ## @deathmatch
	.comm	_nomonsters,4,2                 ## @nomonsters
	.comm	_respawnparm,4,2                ## @respawnparm
	.comm	_startmap,4,2                   ## @startmap
	.comm	_startepisode,4,2               ## @startepisode
L_str:                                  ## @str
	.asciz	"sending network start info..."

L_str.3:                                ## @str.3
	.asciz	"listening for network start info..."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_D_ArbitrateNetStart            ; -- Begin function D_ArbitrateNetStart
	.p2align	2
_D_ArbitrateNetStart:                   ; @D_ArbitrateNetStart
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXNETNODES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXNETNODES@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x8, _autostart@GOTPAGE
Lloh9:
	ldr	x8, [x8, _autostart@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
	lsl	w2, w12, #2
	mov	x0, x20
	mov	w1, #0
	bl	_memset
Lloh11:
	adrp	x21, _doomcom@GOTPAGE
Lloh12:
	ldr	x21, [x21, _doomcom@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
Lloh13:
	adrp	x27, _netbuffer@GOTPAGE
Lloh14:
	ldr	x27, [x27, _netbuffer@GOTPAGEOFF]
Lloh15:
	adrp	x23, _deathmatch@GOTPAGE
Lloh16:
	ldr	x23, [x23, _deathmatch@GOTPAGEOFF]
Lloh17:
	adrp	x24, _nomonsters@GOTPAGE
Lloh18:
	ldr	x24, [x24, _nomonsters@GOTPAGEOFF]
Lloh19:
	adrp	x25, _respawnparm@GOTPAGE
Lloh20:
	ldr	x25, [x25, _respawnparm@GOTPAGEOFF]
Lloh21:
	adrp	x22, _startepisode@GOTPAGE
Lloh22:
	ldr	x22, [x22, _startepisode@GOTPAGEOFF]
Lloh23:
	adrp	x26, _startmap@GOTPAGE
Lloh24:
	ldr	x26, [x26, _startmap@GOTPAGEOFF]
Lloh25:
	adrp	x28, _VERSION@GOTPAGE
Lloh26:
	ldr	x28, [x28, _VERSION@GOTPAGEOFF]
Lloh27:
	adrp	x19, _NCMD_SETUP@GOTPAGE
Lloh28:
	ldr	x19, [x19, _NCMD_SETUP@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.1:
Lloh29:
	adrp	x0, l_str.3@PAGE
Lloh30:
	add	x0, x0, l_str.3@PAGEOFF
	bl	_puts
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_CheckAbort
	bl	_HGetPacket
	cbz	x0, LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w9, [x8]
	ldr	w10, [x19]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.4:
	ldr	w9, [x8, #4]
	ldr	w10, [x28]
	cmp	w9, w10
	b.eq	LBB0_6
; %bb.5:
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_I_Error
	ldr	x8, [x27]
LBB0_6:
	ldp	w9, w8, [x8, #8]
	and	w10, w9, #0xf
Lloh33:
	adrp	x11, _startskill@GOTPAGE
Lloh34:
	ldr	x11, [x11, _startskill@GOTPAGEOFF]
Lloh35:
	str	w10, [x11]
	ubfx	w10, w9, #6, #2
	str	w10, [x23]
	ubfx	w10, w9, #5, #1
	str	w10, [x24]
	ubfx	w9, w9, #4, #1
	str	w9, [x25]
	and	w9, w8, #0x3f
	str	w9, [x26]
	asr	w8, w8, #6
	str	w8, [x22]
	b	LBB0_51
LBB0_7:
Lloh36:
	adrp	x0, l_str@PAGE
Lloh37:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	add	x8, x20, #4
	stp	x20, x8, [x29, #-104]           ; 16-byte Folded Spill
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_49 Depth 2
	bl	_CheckAbort
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w20, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [x22]
	ldr	w10, [x26]
	add	w9, w10, w9, lsl #6
	str	w9, [x8, #12]
	ldr	w9, [x28]
	str	w9, [x8, #4]
	str	xzr, [x8, #16]
	ldr	w1, [x19]
	mov	x0, x20
	bl	_HSendPacket
	add	w20, w20, #1
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_17
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh38:
	adrp	x8, _startskill@GOTPAGE
Lloh39:
	ldr	x8, [x8, _startskill@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x8]
	ldr	x8, [x27]
	str	w9, [x8, #8]
	ldr	w10, [x23]
	cbz	w10, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	orr	w9, w9, w10, lsl #6
	str	w9, [x8, #8]
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w10, [x24]
	cbz	w10, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	orr	w9, w9, #0x20
	str	w9, [x8, #8]
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w10, [x25]
	cbz	w10, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	orr	w9, w9, #0x10
	str	w9, [x8, #8]
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
Lloh41:
	adrp	x20, _MAXNETNODES@GOTPAGE
Lloh42:
	ldr	x20, [x20, _MAXNETNODES@GOTPAGEOFF]
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.36:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_38:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.39:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_41:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.42:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_44:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_HGetPacket
	mov	w10, #1
	cbz	x0, LBB0_47
; %bb.45:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, #4]
	and	x8, x8, #0x7f
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	w10, [x9, x8, lsl #2]
LBB0_47:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_51
; %bb.48:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x8, x8, #1
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
LBB0_49:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9]
	cbz	w10, LBB0_8
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=2
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_49
LBB0_51:
	ldur	x8, [x29, #-88]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.52:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_53:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXNETNODES,4,2                ; @MAXNETNODES
	.comm	_autostart,4,2                  ; @autostart
	.comm	_doomcom,8,3                    ; @doomcom
	.comm	_netbuffer,8,3                  ; @netbuffer
	.comm	_NCMD_SETUP,4,2                 ; @NCMD_SETUP
	.comm	_VERSION,4,2                    ; @VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Different DOOM versions cannot play a net game!"

	.comm	_startskill,4,2                 ; @startskill
	.comm	_deathmatch,4,2                 ; @deathmatch
	.comm	_nomonsters,4,2                 ; @nomonsters
	.comm	_respawnparm,4,2                ; @respawnparm
	.comm	_startmap,4,2                   ; @startmap
	.comm	_startepisode,4,2               ; @startepisode
l_str:                                  ; @str
	.asciz	"sending network start info..."

l_str.3:                                ; @str.3
	.asciz	"listening for network start info..."

.subsections_via_symbols
