	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_update_rx_rings_intr_moderation
_ena_update_rx_rings_intr_moderation:   ## @ena_update_rx_rings_intr_moderation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_ena_com_get_nonadaptive_moderation_interval_rx
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.1:
	movq	8(%rbx), %rdx
	cmpl	$8, %ecx
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_11
LBB0_3:
	movl	%ecx, %esi
	andl	$-8, %esi
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rsi), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$7, %r8d
	cmpq	$56, %rbx
	jae	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	andq	$-8, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rdx,%rbx,4)
	movdqu	%xmm0, 16(%rdx,%rbx,4)
	movdqu	%xmm0, 32(%rdx,%rbx,4)
	movdqu	%xmm0, 48(%rdx,%rbx,4)
	movdqu	%xmm0, 64(%rdx,%rbx,4)
	movdqu	%xmm0, 80(%rdx,%rbx,4)
	movdqu	%xmm0, 96(%rdx,%rbx,4)
	movdqu	%xmm0, 112(%rdx,%rbx,4)
	movdqu	%xmm0, 128(%rdx,%rbx,4)
	movdqu	%xmm0, 144(%rdx,%rbx,4)
	movdqu	%xmm0, 160(%rdx,%rbx,4)
	movdqu	%xmm0, 176(%rdx,%rbx,4)
	movdqu	%xmm0, 192(%rdx,%rbx,4)
	movdqu	%xmm0, 208(%rdx,%rbx,4)
	movdqu	%xmm0, 224(%rdx,%rbx,4)
	movdqu	%xmm0, 240(%rdx,%rbx,4)
	addq	$64, %rbx
	addq	$-8, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	leaq	(%rdx,%rbx,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm0, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_9
LBB0_10:
	cmpq	%rcx, %rsi
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ena_update_rx_rings_intr_moderation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_update_rx_rings_intr_moderation
_ena_update_rx_rings_intr_moderation:   ; @ena_update_rx_rings_intr_moderation
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_ena_com_get_nonadaptive_moderation_interval_rx
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	w8, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffff0
	dup.4s	v0, w0
	add	x11, x9, #32
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w0, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ena_update_rx_rings_intr_moderation
.subsections_via_symbols
