	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_disable_rx               ## -- Begin function ixgbe_disable_rx
	.p2align	4, 0x90
_ixgbe_disable_rx:                      ## @ixgbe_disable_rx
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	*24(%r12)
	movl	32(%r12), %edi
	callq	_ixgbe_removed
	testq	%rax, %rax
	je	LBB0_1
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, (%r12)
	jle	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_IXGBE_RXDCTL
	movq	%r14, %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	%r15d, %edi
	callq	_IXGBE_RXDCTL
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_4:
	movq	(%r14), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_IXGBE_LINKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_LINKS_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
LBB0_6:
	movq	%r12, %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, %r15
	movq	_IXGBE_MAX_RX_DESC_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%r15,%r15), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r13d, %r13d
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	movq	_IXGBE_RXDCTL_ENABLE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	subl	$1, %eax
	jb	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	10(%r15), %rsi
	movq	%r15, %rdi
	callq	_usleep_range
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_IXGBE_RXDCTL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	orl	%eax, %r13d
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
	jmp	LBB0_12
LBB0_14:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$24, %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 for one or more queues not cleared within the polling period\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_disable_rx               ; -- Begin function ixgbe_disable_rx
	.p2align	2
_ixgbe_disable_rx:                      ; @ixgbe_disable_rx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x20, x0, #16
	ldr	x8, [x0, #24]
	mov	x0, x20
	blr	x8
	ldr	w0, [x19, #32]
	bl	_ixgbe_removed
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19]
Lloh0:
	adrp	x23, _IXGBE_RXDCTL_ENABLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IXGBE_RXDCTL_ENABLE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x24, #0
Lloh2:
	adrp	x25, _IXGBE_RXDCTL_SWFLSH@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IXGBE_RXDCTL_SWFLSH@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w21, [x8]
	mov	x0, x21
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	bic	w8, w0, w8
	ldr	w9, [x25]
	orr	w22, w8, w9
	mov	x0, x21
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_IXGBE_WRITE_REG
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh7:
	adrp	x8, _IXGBE_LINKS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IXGBE_LINKS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh10:
	adrp	x8, _IXGBE_LINKS_UP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_LINKS_UP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_1
LBB0_7:
	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
Lloh13:
	adrp	x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x9]
	sbfiz	x24, x8, #1, #32
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #0
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, x24
	ldr	w8, [x23]
	tst	w8, w25
	b.eq	LBB0_1
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cbz	w22, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	w22, w22, #1
	add	x1, x21, #10
	mov	x0, x21
	bl	_usleep_range
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, #0
	mov	w25, #0
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w0, [x8]
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	orr	w25, w0, w25
	add	x26, x26, #1
	ldrsw	x8, [x19]
	cmp	x26, x8
	b.lt	LBB0_13
	b	LBB0_9
LBB0_14:
Lloh16:
	adrp	x8, _drv@GOTPAGE
Lloh17:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_e_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.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 for one or more queues not cleared within the polling period\n"

.subsections_via_symbols
