	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_SendPacket                 ## -- Begin function NET_SendPacket
	.p2align	4, 0x90
_NET_SendPacket:                        ## @NET_SendPacket
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_showpackets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	cmpl	$-1, (%r14)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_Com_Printf
LBB0_3:
	movq	_NA_LOOPBACK@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.12:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NET_SendLoopPacket             ## TAILCALL
LBB0_4:
	movq	_NA_BOT@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_11
## %bb.5:
	movq	_NA_BAD@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_11
## %bb.6:
	movq	_NS_CLIENT@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_cl_packetdelay@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jg	LBB0_13
LBB0_8:
	movq	_NS_SERVER@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	_sv_packetdelay@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_10
LBB0_13:
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NET_QueuePacket                ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Sys_SendPacket                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_showpackets,8,3                ## @showpackets
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send packet %4i\n"

	.comm	_NA_LOOPBACK,8,3                ## @NA_LOOPBACK
	.comm	_NA_BOT,8,3                     ## @NA_BOT
	.comm	_NA_BAD,8,3                     ## @NA_BAD
	.comm	_NS_CLIENT,8,3                  ## @NS_CLIENT
	.comm	_cl_packetdelay,8,3             ## @cl_packetdelay
	.comm	_NS_SERVER,8,3                  ## @NS_SERVER
	.comm	_sv_packetdelay,8,3             ## @sv_packetdelay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_SendPacket                 ; -- Begin function NET_SendPacket
	.p2align	2
_NET_SendPacket:                        ; @NET_SendPacket
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _showpackets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _showpackets@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_Com_Printf
LBB0_3:
Lloh5:
	adrp	x8, _NA_LOOPBACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NA_LOOPBACK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_NET_SendLoopPacket
LBB0_5:
Lloh8:
	adrp	x8, _NA_BOT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NA_BOT@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _NA_BAD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NA_BAD@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x19
	ccmp	x9, x19, #4, ne
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh14:
	adrp	x8, _NS_CLIENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NS_CLIENT@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_9
; %bb.8:
Lloh17:
	adrp	x8, _cl_packetdelay@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cl_packetdelay@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x3, [x8]
	cmp	x3, #1
	b.ge	LBB0_11
LBB0_9:
Lloh20:
	adrp	x8, _NS_SERVER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NS_SERVER@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_12
; %bb.10:
Lloh23:
	adrp	x8, _sv_packetdelay@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sv_packetdelay@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	x3, [x8]
	cmp	x3, #1
	b.lt	LBB0_12
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_NET_QueuePacket
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Sys_SendPacket
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_showpackets,8,3                ; @showpackets
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send packet %4i\n"

	.comm	_NA_LOOPBACK,8,3                ; @NA_LOOPBACK
	.comm	_NA_BOT,8,3                     ; @NA_BOT
	.comm	_NA_BAD,8,3                     ; @NA_BAD
	.comm	_NS_CLIENT,8,3                  ; @NS_CLIENT
	.comm	_cl_packetdelay,8,3             ; @cl_packetdelay
	.comm	_NS_SERVER,8,3                  ; @NS_SERVER
	.comm	_sv_packetdelay,8,3             ; @sv_packetdelay
.subsections_via_symbols
