	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NET_QueuePacket
_NET_QueuePacket:                       ## @NET_QueuePacket
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r12d
	movq	_packetQueue@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	cmpl	$999, %ecx                      ## imm = 0x3E7
	movl	$999, %r15d                     ## imm = 0x3E7
	cmovll	%ecx, %r15d
	movl	$40, %edi
	callq	_S_Malloc
	movq	%rax, %r13
	movl	%r12d, %edi
	callq	_S_Malloc
	movq	%rax, 32(%r13)
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_Com_Memcpy
	movl	%r12d, (%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%r13)
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	cvtsi2ss	%r15d, %xmm0
	movq	_com_timescale@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	divss	(%rcx), %xmm0
	cvttss2si	%xmm0, %ecx
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	movq	%rcx, 16(%r13)
	movq	$0, 8(%r13)
	cmpq	$0, (%r14)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %r14
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_1
## %bb.3:
	addq	$8, %r14
LBB0_4:
	movq	%r13, (%r14)
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_packetQueue,8,3                ## @packetQueue
	.comm	_com_timescale,8,3              ## @com_timescale
	.no_dead_strip	_NET_QueuePacket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NET_QueuePacket
_NET_QueuePacket:                       ; @NET_QueuePacket
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _packetQueue@GOTPAGE
Lloh1:
	ldr	x23, [x23, _packetQueue@GOTPAGEOFF]
	ldr	x24, [x23]
	mov	w8, #999
	cmp	w3, #999
	csel	w25, w3, w8, lt
	mov	w0, #40
	bl	_S_Malloc
	mov	x19, x0
	mov	x0, x22
	bl	_S_Malloc
	str	x0, [x19, #32]
	mov	x1, x21
	mov	x2, x22
	bl	_Com_Memcpy
	str	w22, [x19]
	str	w20, [x19, #24]
	bl	_Sys_Milliseconds
	scvtf	s0, w25
Lloh2:
	adrp	x8, _com_timescale@GOTPAGE
Lloh3:
	ldr	x8, [x8, _com_timescale@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	s1, [x8]
	fdiv	s0, s0, s1
	fcvtzs	w8, s0
	add	x8, x0, w8, sxtw
	stp	xzr, x8, [x19, #8]
	ldr	x8, [x23]
	cbz	x8, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x24, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x24
	ldr	x24, [x24, #8]
	cbnz	x24, LBB0_1
; %bb.3:
	add	x23, x8, #8
LBB0_4:
	str	x19, [x23]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_packetQueue,8,3                ; @packetQueue
	.comm	_com_timescale,8,3              ; @com_timescale
	.no_dead_strip	_NET_QueuePacket
.subsections_via_symbols
