	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_GetLoopPacket              ## -- Begin function NET_GetLoopPacket
	.p2align	4, 0x90
_NET_GetLoopPacket:                     ## @NET_GetLoopPacket
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_loopbacks@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	shlq	$4, %rbx
	movl	(%r12,%rbx), %esi
	movl	4(%r12,%rbx), %ecx
	leaq	(%r12,%rbx), %rax
	addq	$4, %rax
	movl	%esi, %edx
	subl	%ecx, %edx
	movq	_MAX_LOOPBACK@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	cmpl	%edi, %edx
	jle	LBB0_2
## %bb.1:
	movl	%esi, %ecx
	subl	%edi, %ecx
	movl	%ecx, (%rax)
LBB0_2:
	cmpl	%esi, %ecx
	jge	LBB0_3
## %bb.4:
	movslq	(%r8), %rdx
	decq	%rdx
	movslq	%ecx, %r13
	andq	%rdx, %r13
	incl	%ecx
	movl	%ecx, (%rax)
	movl	4(%r15), %edi
	movq	8(%r12,%rbx), %rax
	movl	(%rax,%r13,8), %edx
	movl	4(%rax,%r13,8), %esi
	callq	_Com_Memcpy
	movq	8(%r12,%rbx), %rax
	movl	(%rax,%r13,8), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_Com_Memset
	movq	_NA_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_loopbacks,8,3                  ## @loopbacks
	.comm	_MAX_LOOPBACK,4,2               ## @MAX_LOOPBACK
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_NA_LOOPBACK,4,2                ## @NA_LOOPBACK
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_GetLoopPacket              ; -- Begin function NET_GetLoopPacket
	.p2align	2
_NET_GetLoopPacket:                     ; @NET_GetLoopPacket
	.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	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _loopbacks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _loopbacks@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	lsl	x10, x0, #4
	add	x8, x9, x10
	ldr	w11, [x9, x10]
	ldr	w10, [x8, #4]!
Lloh3:
	adrp	x12, _MAX_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MAX_LOOPBACK@GOTPAGEOFF]
	ldr	w13, [x12]
	sub	w14, w11, w10
	cmp	w14, w13
	b.le	LBB0_2
; %bb.1:
	sub	w10, w11, w13
	str	w10, [x8]
LBB0_2:
	cmp	w10, w11
	b.ge	LBB0_4
; %bb.3:
	ldr	w11, [x12]
	sub	w11, w11, #1
	and	w11, w11, w10
	add	w10, w10, #1
	str	w10, [x8]
	ldr	w8, [x20, #4]
	add	x21, x9, x0, lsl #4
	ldr	x9, [x21, #8]
	sbfiz	x22, x11, #3, #32
	add	x9, x9, x22
	ldp	w2, w1, [x9]
	mov	x0, x8
	bl	_Com_Memcpy
	ldr	x8, [x21, #8]
	ldr	w8, [x8, x22]
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
Lloh5:
	adrp	x8, _NA_LOOPBACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NA_LOOPBACK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _qfalse@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_loopbacks,8,3                  ; @loopbacks
	.comm	_MAX_LOOPBACK,4,2               ; @MAX_LOOPBACK
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_NA_LOOPBACK,4,2                ; @NA_LOOPBACK
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
