	.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
	movl	%edi, %r12d
	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.7:
	movl	%r12d, %edi
	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_6
## %bb.5:
	movq	_NA_BAD@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_6
## %bb.8:
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Sys_SendPacket                 ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
.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:
	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
	.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
.subsections_via_symbols
