	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_configure_interrupt_moderation_edma ## -- Begin function wil_configure_interrupt_moderation_edma
	.p2align	4, 0x90
_wil_configure_interrupt_moderation_edma: ## @wil_configure_interrupt_moderation_edma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_RGF_INT_GEN_IDLE_TIME_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WIL_EDMA_IDLE_TIME_LIMIT_USEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wil_s
	movq	_RGF_INT_GEN_TIME_UNIT_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WIL_EDMA_TIME_UNIT_CLK_CYCLES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_wil_s
	movq	_WIL_EDMA_AGG_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_WIL_EDMA_AGG_WATERMARK_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	(%r14), %ebx
	movq	_RGF_INT_CTRL_INT_GEN_CFG_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_wil_w
	movq	_RGF_INT_CTRL_INT_GEN_CFG_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_wil_w
	movq	_RGF_INT_COUNT_ON_SPECIAL_EVT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$510, %edx                      ## imm = 0x1FE
	callq	_wil_c
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wil_s                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RGF_INT_GEN_IDLE_TIME_LIMIT,4,2 ## @RGF_INT_GEN_IDLE_TIME_LIMIT
	.comm	_WIL_EDMA_IDLE_TIME_LIMIT_USEC,4,2 ## @WIL_EDMA_IDLE_TIME_LIMIT_USEC
	.comm	_RGF_INT_GEN_TIME_UNIT_LIMIT,4,2 ## @RGF_INT_GEN_TIME_UNIT_LIMIT
	.comm	_WIL_EDMA_TIME_UNIT_CLK_CYCLES,4,2 ## @WIL_EDMA_TIME_UNIT_CLK_CYCLES
	.comm	_WIL_EDMA_AGG_WATERMARK,4,2     ## @WIL_EDMA_AGG_WATERMARK
	.comm	_WIL_EDMA_AGG_WATERMARK_POS,4,2 ## @WIL_EDMA_AGG_WATERMARK_POS
	.comm	_RGF_INT_CTRL_INT_GEN_CFG_0,4,2 ## @RGF_INT_CTRL_INT_GEN_CFG_0
	.comm	_RGF_INT_CTRL_INT_GEN_CFG_1,4,2 ## @RGF_INT_CTRL_INT_GEN_CFG_1
	.comm	_RGF_INT_COUNT_ON_SPECIAL_EVT,4,2 ## @RGF_INT_COUNT_ON_SPECIAL_EVT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_configure_interrupt_moderation_edma ; -- Begin function wil_configure_interrupt_moderation_edma
	.p2align	2
_wil_configure_interrupt_moderation_edma: ; @wil_configure_interrupt_moderation_edma
	.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
Lloh0:
	adrp	x8, _RGF_INT_GEN_IDLE_TIME_LIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RGF_INT_GEN_IDLE_TIME_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _WIL_EDMA_IDLE_TIME_LIMIT_USEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WIL_EDMA_IDLE_TIME_LIMIT_USEC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_wil_s
Lloh6:
	adrp	x8, _RGF_INT_GEN_TIME_UNIT_LIMIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RGF_INT_GEN_TIME_UNIT_LIMIT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _WIL_EDMA_TIME_UNIT_CLK_CYCLES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WIL_EDMA_TIME_UNIT_CLK_CYCLES@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wil_s
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _WIL_EDMA_AGG_WATERMARK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WIL_EDMA_AGG_WATERMARK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _WIL_EDMA_AGG_WATERMARK_POS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _WIL_EDMA_AGG_WATERMARK_POS@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w20, w9, w8
Lloh18:
	adrp	x8, _RGF_INT_CTRL_INT_GEN_CFG_0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RGF_INT_CTRL_INT_GEN_CFG_0@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_wil_w
Lloh21:
	adrp	x8, _RGF_INT_CTRL_INT_GEN_CFG_1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RGF_INT_CTRL_INT_GEN_CFG_1@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_wil_w
Lloh24:
	adrp	x20, _RGF_INT_COUNT_ON_SPECIAL_EVT@GOTPAGE
Lloh25:
	ldr	x20, [x20, _RGF_INT_COUNT_ON_SPECIAL_EVT@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #510
	bl	_wil_c
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wil_s
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RGF_INT_GEN_IDLE_TIME_LIMIT,4,2 ; @RGF_INT_GEN_IDLE_TIME_LIMIT
	.comm	_WIL_EDMA_IDLE_TIME_LIMIT_USEC,4,2 ; @WIL_EDMA_IDLE_TIME_LIMIT_USEC
	.comm	_RGF_INT_GEN_TIME_UNIT_LIMIT,4,2 ; @RGF_INT_GEN_TIME_UNIT_LIMIT
	.comm	_WIL_EDMA_TIME_UNIT_CLK_CYCLES,4,2 ; @WIL_EDMA_TIME_UNIT_CLK_CYCLES
	.comm	_WIL_EDMA_AGG_WATERMARK,4,2     ; @WIL_EDMA_AGG_WATERMARK
	.comm	_WIL_EDMA_AGG_WATERMARK_POS,4,2 ; @WIL_EDMA_AGG_WATERMARK_POS
	.comm	_RGF_INT_CTRL_INT_GEN_CFG_0,4,2 ; @RGF_INT_CTRL_INT_GEN_CFG_0
	.comm	_RGF_INT_CTRL_INT_GEN_CFG_1,4,2 ; @RGF_INT_CTRL_INT_GEN_CFG_1
	.comm	_RGF_INT_COUNT_ON_SPECIAL_EVT,4,2 ; @RGF_INT_COUNT_ON_SPECIAL_EVT
.subsections_via_symbols
