	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_disable_rxr_hw
_ixgbe_disable_rxr_hw:                  ## @ixgbe_disable_rxr_hw
	.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, %r15
	movl	(%rsi), %r14d
	movl	%r14d, %edi
	callq	_IXGBE_RXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_RXDCTL_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_IXGBE_RXDCTL_SWFLSH@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_IXGBE_RXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movq	(%r15), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IXGBE_LINKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_LINKS_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_2:
	movq	%r15, %rdi
	callq	_ixgbe_get_completion_timeout
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movslq	%eax, %rbx
	movq	_IXGBE_MAX_RX_DESC_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(%rbx,%rbx), %r12
	incl	%r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r13d
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	10(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_usleep_range
	addq	%r12, %rbx
	movl	%r14d, %edi
	callq	_IXGBE_RXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_RXDCTL_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e_err                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_RXDCTL_ENABLE,4,2        ## @IXGBE_RXDCTL_ENABLE
	.comm	_IXGBE_RXDCTL_SWFLSH,4,2        ## @IXGBE_RXDCTL_SWFLSH
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_LINKS,4,2                ## @IXGBE_LINKS
	.comm	_IXGBE_LINKS_UP,4,2             ## @IXGBE_LINKS_UP
	.comm	_IXGBE_MAX_RX_DESC_POLL,4,2     ## @IXGBE_MAX_RX_DESC_POLL
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RXDCTL.ENABLE not cleared within the polling period\n"

	.no_dead_strip	_ixgbe_disable_rxr_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_disable_rxr_hw
_ixgbe_disable_rxr_hw:                  ; @ixgbe_disable_rxr_hw
	.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
	ldr	w20, [x1]
	mov	x0, x20
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh0:
	adrp	x22, _IXGBE_RXDCTL_ENABLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IXGBE_RXDCTL_ENABLE@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w8, w0, w8
Lloh2:
	adrp	x9, _IXGBE_RXDCTL_SWFLSH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IXGBE_RXDCTL_SWFLSH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w21, w8, w9
	mov	x0, x20
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _IXGBE_LINKS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_LINKS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh11:
	adrp	x8, _IXGBE_LINKS_UP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_LINKS_UP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_ixgbe_get_completion_timeout
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	sxtw	x21, w8
Lloh14:
	adrp	x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	sbfiz	x23, x8, #1, #32
	add	w24, w9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x21, #10
	mov	x0, x21
	bl	_usleep_range
	add	x21, x21, x23
	mov	x0, x20
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_3
LBB0_5:
	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
	ret
LBB0_6:
Lloh17:
	adrp	x8, _drv@GOTPAGE
Lloh18:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	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	_e_err
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_RXDCTL_ENABLE,4,2        ; @IXGBE_RXDCTL_ENABLE
	.comm	_IXGBE_RXDCTL_SWFLSH,4,2        ; @IXGBE_RXDCTL_SWFLSH
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_LINKS,4,2                ; @IXGBE_LINKS
	.comm	_IXGBE_LINKS_UP,4,2             ; @IXGBE_LINKS_UP
	.comm	_IXGBE_MAX_RX_DESC_POLL,4,2     ; @IXGBE_MAX_RX_DESC_POLL
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RXDCTL.ENABLE not cleared within the polling period\n"

	.no_dead_strip	_ixgbe_disable_rxr_hw
.subsections_via_symbols
