	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_disable_txr_hw
_ixgbe_disable_txr_hw:                  ## @ixgbe_disable_txr_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_TXDCTL
	movq	_IXGBE_TXDCTL_SWFLSH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_WRITE_REG
	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), %r12d
	leaq	(%rbx,%rbx), %r13
	incl	%r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r12d
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	10(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_usleep_range
	addq	%r13, %rbx
	movl	%r14d, %edi
	callq	_IXGBE_TXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_TXDCTL_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_1
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	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_TXDCTL_SWFLSH,4,2        ## @IXGBE_TXDCTL_SWFLSH
	.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 not cleared within the polling period\n"

	.no_dead_strip	_ixgbe_disable_txr_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_txr_hw
_ixgbe_disable_txr_hw:                  ; @ixgbe_disable_txr_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_TXDCTL
	mov	x1, x0
Lloh0:
	adrp	x8, _IXGBE_TXDCTL_SWFLSH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_TXDCTL_SWFLSH@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	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
Lloh3:
	adrp	x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_MAX_RX_DESC_POLL@GOTPAGEOFF]
	sxtw	x21, w8
Lloh5:
	ldr	w9, [x9]
	sbfiz	x22, x8, #1, #32
	add	w23, w9, #1
Lloh6:
	adrp	x24, _IXGBE_TXDCTL_ENABLE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IXGBE_TXDCTL_ENABLE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	w23, w23, #1
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x1, x21, #10
	mov	x0, x21
	bl	_usleep_range
	add	x21, x21, x22
	mov	x0, x20
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.3:
	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_4:
Lloh8:
	adrp	x8, _drv@GOTPAGE
Lloh9:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ; @IXGBE_TXDCTL_SWFLSH
	.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 not cleared within the polling period\n"

	.no_dead_strip	_ixgbe_disable_txr_hw
.subsections_via_symbols
