	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_disable_tx               ## -- Begin function ixgbe_disable_tx
	.p2align	4, 0x90
_ixgbe_disable_tx:                      ## @ixgbe_disable_tx
	.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, %r15
	movl	28(%rdi), %edi
	callq	_ixgbe_removed
	testq	%rax, %rax
	jne	LBB0_20
## %bb.1:
	leaq	24(%r15), %r14
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movq	_IXGBE_TXDCTL_SWFLSH@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_IXGBE_TXDCTL
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_WRITE_REG
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	cmpl	$0, 4(%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_IXGBE_TXDCTL_SWFLSH@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_IXGBE_TXDCTL
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_WRITE_REG
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	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_19
## %bb.8:
	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, %rdi
	movq	_IXGBE_MAX_RX_DESC_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%rdi,%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	_IXGBE_TXDCTL_ENABLE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_19
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	subl	$1, %eax
	jb	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	10(%rdi), %rsi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_usleep_range
	cmpl	$0, (%r15)
	jle	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movl	(%rax), %edi
	callq	_IXGBE_TXDCTL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	orl	%eax, %r13d
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jl	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 4(%r15)
	jg	LBB0_13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r13d, %r13d
	cmpl	$0, 4(%r15)
	jle	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_IXGBE_TXDCTL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	orl	%eax, %r13d
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
	jmp	LBB0_15
LBB0_18:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_e_err
LBB0_19:
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_20
## %bb.21:
	movq	_IXGBE_DMATXCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_DMATXCTL_TE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IXGBE_WRITE_REG                ## TAILCALL
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ## @IXGBE_TXDCTL_SWFLSH
	.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	_IXGBE_TXDCTL_ENABLE,4,2        ## @IXGBE_TXDCTL_ENABLE
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TXDCTL.ENABLE for one or more queues not cleared within the polling period\n"

	.comm	_IXGBE_DMATXCTL,4,2             ## @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ## @IXGBE_DMATXCTL_TE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_disable_tx               ; -- Begin function ixgbe_disable_tx
	.p2align	2
_ixgbe_disable_tx:                      ; @ixgbe_disable_tx
	.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	x20, x0
	ldr	w0, [x0, #28]
	bl	_ixgbe_removed
	cbnz	x0, LBB0_21
; %bb.1:
	add	x19, x20, #24
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _IXGBE_TXDCTL_SWFLSH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_TXDCTL_SWFLSH@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w0, [x8]
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w0, [x8]
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	add	x22, x22, #1
	ldrsw	x8, [x20, #4]
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_7:
Lloh2:
	adrp	x8, _IXGBE_LINKS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_LINKS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh5:
	adrp	x8, _IXGBE_LINKS_UP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_LINKS_UP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_19
; %bb.8:
	mov	x0, x20
	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
Lloh8:
	adrp	x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x9]
	sbfiz	x23, x8, #1, #32
Lloh11:
	adrp	x24, _IXGBE_TXDCTL_ENABLE@GOTPAGE
Lloh12:
	ldr	x24, [x24, _IXGBE_TXDCTL_ENABLE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, x23
	ldr	w8, [x24]
	tst	w8, w25
	b.eq	LBB0_19
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	cbz	w22, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x1, x21, #10
	mov	x0, x21
	bl	_usleep_range
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %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, [x20, #16]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w0, [x8]
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	orr	w25, w0, w25
	add	x26, x26, #1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.lt	LBB0_13
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #0
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w22, w22, #1
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, #0
LBB0_17:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w0, [x8]
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	orr	w25, w0, w25
	add	x26, x26, #1
	ldrsw	x8, [x20, #4]
	cmp	x26, x8
	b.lt	LBB0_17
	b	LBB0_9
LBB0_18:
Lloh13:
	adrp	x8, _drv@GOTPAGE
Lloh14:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_err
LBB0_19:
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_21
; %bb.20:
Lloh18:
	adrp	x8, _IXGBE_DMATXCTL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IXGBE_DMATXCTL@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_IXGBE_READ_REG
Lloh21:
	adrp	x8, _IXGBE_DMATXCTL_TE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IXGBE_DMATXCTL_TE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
	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	_IXGBE_WRITE_REG
LBB0_21:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ; @IXGBE_TXDCTL_SWFLSH
	.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	_IXGBE_TXDCTL_ENABLE,4,2        ; @IXGBE_TXDCTL_ENABLE
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TXDCTL.ENABLE for one or more queues not cleared within the polling period\n"

	.comm	_IXGBE_DMATXCTL,4,2             ; @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ; @IXGBE_DMATXCTL_TE
.subsections_via_symbols
