	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_configure_msix
_e1000_configure_msix:                  ## @e1000_configure_msix
	.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	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	16(%rdi), %r15
	movl	$0, (%rdi)
	movq	32(%rdi), %rcx
	movq	_e1000_82574@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_RFCTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_er32
	movq	_E1000_RFCTL_ACK_DIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_ew32
	movl	(%rbx), %eax
LBB0_2:
	movq	_E1000_IMS_RXQ0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r15)
	orl	%ecx, %eax
	movl	%eax, (%rbx)
	movl	(%r15), %ecx
	movl	$1, %r14d
	movl	$1, %edi
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	shll	$8, %ecx
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %edi
LBB0_4:
	movq	8(%r15), %rsi
	callq	_writel
	movq	_E1000_IVAR_INT_ALLOC_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_E1000_IMS_TXQ0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.5:
	shll	$8, %ecx
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %r14d
LBB0_6:
	movq	8(%r12), %rsi
	movl	%r14d, %edi
	callq	_writel
	movl	4(%r12), %eax
	orl	%eax, (%rbx)
	movq	_E1000_IVAR_INT_ALLOC_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.8:
	shll	$8, %ecx
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %r14d
	jmp	LBB0_9
LBB0_7:
	movl	$1, %r14d
LBB0_9:
	movq	24(%rbx), %rbx
	movl	$2, %edi
	callq	_E1000_EITR_82574
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movl	%r12d, %ebx
	shll	$8, %ebx
	shll	$16, %r12d
	orl	%r12d, %r13d
	movl	$31, %edi
	callq	_BIT
	orl	%eax, %ebx
	orl	%r13d, %ebx
	orl	$131328, %ebx                   ## imm = 0x20100
	movq	_IVAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_ew32
	movq	_CTRL_EXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_EXT_IAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_E1000_CTRL_EXT_PBA_CLR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_E1000_CTRL_EXT_EIAME@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%rbx), %edi
	callq	_ew32
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e1e_flush                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82574,8,3                ## @e1000_82574
	.comm	_RFCTL,4,2                      ## @RFCTL
	.comm	_E1000_RFCTL_ACK_DIS,4,2        ## @E1000_RFCTL_ACK_DIS
	.comm	_E1000_IMS_RXQ0,4,2             ## @E1000_IMS_RXQ0
	.comm	_E1000_IVAR_INT_ALLOC_VALID,4,2 ## @E1000_IVAR_INT_ALLOC_VALID
	.comm	_E1000_IMS_TXQ0,4,2             ## @E1000_IMS_TXQ0
	.comm	_IVAR,4,2                       ## @IVAR
	.comm	_CTRL_EXT,4,2                   ## @CTRL_EXT
	.comm	_E1000_CTRL_EXT_IAME,4,2        ## @E1000_CTRL_EXT_IAME
	.comm	_E1000_CTRL_EXT_PBA_CLR,4,2     ## @E1000_CTRL_EXT_PBA_CLR
	.comm	_E1000_CTRL_EXT_EIAME,4,2       ## @E1000_CTRL_EXT_EIAME
	.no_dead_strip	_e1000_configure_msix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_configure_msix
_e1000_configure_msix:                  ; @e1000_configure_msix
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w8, #0
	ldp	x21, x20, [x0, #8]
	str	wzr, [x0]
	ldr	x9, [x0, #32]
Lloh0:
	adrp	x10, _e1000_82574@GOTPAGE
Lloh1:
	ldr	x10, [x10, _e1000_82574@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x22, _RFCTL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RFCTL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_er32
Lloh5:
	adrp	x8, _E1000_RFCTL_ACK_DIS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_RFCTL_ACK_DIS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x22]
	bl	_ew32
	ldr	w8, [x19]
LBB0_2:
Lloh8:
	adrp	x9, _E1000_IMS_RXQ0@GOTPAGE
Lloh9:
	ldr	x9, [x9, _E1000_IMS_RXQ0@GOTPAGEOFF]
	mov	w23, #51712
	movk	w23, #15258, lsl #16
Lloh10:
	ldr	w9, [x9]
	str	w9, [x20, #4]
	orr	w8, w8, w9
	str	w8, [x19]
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.3:
	lsl	w8, w8, #8
	sdiv	w0, w23, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldr	x1, [x20, #8]
	bl	_writel
Lloh11:
	adrp	x24, _E1000_IVAR_INT_ALLOC_VALID@GOTPAGE
Lloh12:
	ldr	x24, [x24, _E1000_IVAR_INT_ALLOC_VALID@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh13:
	adrp	x8, _E1000_IMS_TXQ0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_IMS_TXQ0@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	ldr	w8, [x21]
	cbz	w8, LBB0_7
; %bb.6:
	lsl	w8, w8, #8
	sdiv	w0, w23, w8
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldr	x1, [x21, #8]
	bl	_writel
	ldr	w8, [x21, #4]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w21, [x24]
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.9:
	lsl	w8, w8, #8
	sdiv	w20, w23, w8
	b	LBB0_11
LBB0_10:
	mov	w20, #1
LBB0_11:
	ldr	x19, [x19, #24]
	mov	w0, #2
	bl	_E1000_EITR_82574
	add	x1, x0, x19
	mov	x0, x20
	bl	_writel
	mov	w0, #31
	bl	_BIT
	orr	w8, w22, w21, lsl #16
	orr	w8, w8, w21, lsl #8
	orr	w8, w8, w0
	mov	w9, #256
	movk	w9, #2, lsl #16
	orr	w1, w8, w9
Lloh16:
	adrp	x8, _IVAR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IVAR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_ew32
Lloh19:
	adrp	x19, _CTRL_EXT@GOTPAGE
Lloh20:
	ldr	x19, [x19, _CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
Lloh21:
	adrp	x8, _E1000_CTRL_EXT_IAME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _E1000_CTRL_EXT_IAME@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh24:
	adrp	x9, _E1000_CTRL_EXT_PBA_CLR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _E1000_CTRL_EXT_PBA_CLR@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _E1000_CTRL_EXT_EIAME@GOTPAGE
Lloh28:
	ldr	x10, [x10, _E1000_CTRL_EXT_EIAME@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w1, w8, w10
	ldr	w0, [x19]
	bl	_ew32
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_e1e_flush
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82574,8,3                ; @e1000_82574
	.comm	_RFCTL,4,2                      ; @RFCTL
	.comm	_E1000_RFCTL_ACK_DIS,4,2        ; @E1000_RFCTL_ACK_DIS
	.comm	_E1000_IMS_RXQ0,4,2             ; @E1000_IMS_RXQ0
	.comm	_E1000_IVAR_INT_ALLOC_VALID,4,2 ; @E1000_IVAR_INT_ALLOC_VALID
	.comm	_E1000_IMS_TXQ0,4,2             ; @E1000_IMS_TXQ0
	.comm	_IVAR,4,2                       ; @IVAR
	.comm	_CTRL_EXT,4,2                   ; @CTRL_EXT
	.comm	_E1000_CTRL_EXT_IAME,4,2        ; @E1000_CTRL_EXT_IAME
	.comm	_E1000_CTRL_EXT_PBA_CLR,4,2     ; @E1000_CTRL_EXT_PBA_CLR
	.comm	_E1000_CTRL_EXT_EIAME,4,2       ; @E1000_CTRL_EXT_EIAME
	.no_dead_strip	_e1000_configure_msix
.subsections_via_symbols
