	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function enq
LCPI0_0:
	.quad	0x3e112e0be826d695              ## double 1.0000000000000001E-9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_enq:                                   ## @enq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rsi
	callq	_pkt_at
	movq	%rax, %r14
	movl	28(%rbx), %edx
	movl	32(%rbx), %edi
	leaq	24(%rax), %rsi
	callq	_nm_pkt_copy
	movl	24(%rbx), %edi
	movl	%edi, 16(%r14)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r14)
	movq	16(%rbx), %r15
	callq	_pad
	leaq	(%r15,%rax), %rcx
	addq	$24, %rcx
	movq	%rcx, 8(%r14)
	movl	16(%rbx), %edx
	cvtsi2sdl	(%r14), %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %r8d
	xorps	%xmm0, %xmm0
	cvtsi2sdl	4(%r14), %xmm0
	movl	24(%rbx), %esi
	mulsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %r9d
	leaq	L_.str(%rip), %rdi
	callq	_ND
	movq	8(%r14), %rax
	movq	%rax, 16(%rbx)
	incl	8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enqueue len %d at %d new tail %ld qout %.6f tx %.6f"

	.no_dead_strip	_enq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enq
_enq:                                   ; @enq
	.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, x0
	ldr	x1, [x0, #16]
	bl	_pkt_at
	mov	x20, x0
	add	x1, x0, #24
	ldp	w2, w0, [x19, #28]
	bl	_nm_pkt_copy
	ldr	w0, [x19, #24]
	str	w0, [x20, #16]
	ldr	d0, [x19]
	str	d0, [x20]
	ldr	x21, [x19, #16]
	bl	_pad
	ldp	s0, s1, [x20]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x8, #54933
	movk	x8, #59430, lsl #16
	movk	x8, #11787, lsl #32
	movk	x8, #15889, lsl #48
	fmov	d2, x8
	fmul	d0, d0, d2
	fcvtzs	w4, d0
	add	x8, x21, x0
	add	x3, x8, #24
	str	x3, [x20, #8]
	ldr	w1, [x19, #24]
	ldr	w2, [x19, #16]
	sshll.2d	v0, v1, #0
	scvtf	d0, d0
	fmul	d0, d0, d2
	fcvtzs	w5, d0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND
	ldr	x8, [x20, #8]
	str	x8, [x19, #16]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enqueue len %d at %d new tail %ld qout %.6f tx %.6f"

	.no_dead_strip	_enq
.subsections_via_symbols
