	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_configure_tx_ring        ## -- Begin function ixgbe_configure_tx_ring
	.p2align	4, 0x90
_ixgbe_configure_tx_ring:               ## @ixgbe_configure_tx_ring
	.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	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%rdi), %r13
	movq	_IXGBE_TXDCTL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rsi), %r14d
	movl	48(%rsi), %r15d
	movl	%r15d, %edi
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r13, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	%r15d, %edi
	callq	_IXGBE_TDBAL
	movq	%rax, %rbx
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	andl	%eax, %r14d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %ebx
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_TDBAH
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_TDLEN
	movl	4(%r12), %edx
	shll	$2, %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_TDH
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_TDT
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r15
	movq	24(%rax), %r14
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_IXGBE_TDT
	addq	%r14, %rax
	movq	%rax, 40(%r12)
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$8, (%rax)
	movl	$65536, %ecx                    ## imm = 0x10000
	movl	$524288, %eax                   ## imm = 0x80000
	cmovll	%ecx, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$65536, %eax                    ## imm = 0x10000
LBB0_3:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	orl	%eax, %ebx
	orl	$288, %ebx                      ## imm = 0x120
	movq	_IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_5
## %bb.4:
	movq	8(%r15), %rax
	movq	%rax, 16(%r12)
	movq	$0, 24(%r12)
	movq	___IXGBE_TX_FDIR_INIT_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r12), %rsi
	callq	_set_bit
	jmp	LBB0_6
LBB0_5:
	movq	$0, 16(%r12)
LBB0_6:
	movq	___IXGBE_HANG_CHECK_ARMED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r12
	movq	%r12, %rsi
	callq	_clear_bit
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movq	(%r13), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_IXGBE_TXDCTL_ENABLE@GOTPCREL(%rip), %rbx
	jne	LBB0_8
## %bb.7:
	movq	_IXGBE_LINKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_LINKS_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
LBB0_8:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.9:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.10:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.11:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.12:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.13:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.14:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.15:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	jne	LBB0_17
## %bb.16:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	je	LBB0_18
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_IXGBE_TXDCTL
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	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_TXDCTL_ENABLE,4,2        ## @IXGBE_TXDCTL_ENABLE
	.comm	_IXGBE_FLAG_FDIR_HASH_CAPABLE,4,2 ## @IXGBE_FLAG_FDIR_HASH_CAPABLE
	.comm	___IXGBE_TX_FDIR_INIT_DONE,4,2  ## @__IXGBE_TX_FDIR_INIT_DONE
	.comm	___IXGBE_HANG_CHECK_ARMED,4,2   ## @__IXGBE_HANG_CHECK_ARMED
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_LINKS,8,3                ## @IXGBE_LINKS
	.comm	_IXGBE_LINKS_UP,4,2             ## @IXGBE_LINKS_UP
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not enable Tx Queue %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_configure_tx_ring        ; -- Begin function ixgbe_configure_tx_ring
	.p2align	2
_ixgbe_configure_tx_ring:               ; @ixgbe_configure_tx_ring
	.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	x21, x1
	mov	x22, x0
	add	x20, x0, #16
	ldr	w26, [x1]
Lloh0:
	adrp	x24, _IXGBE_TXDCTL_ENABLE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IXGBE_TXDCTL_ENABLE@GOTPAGEOFF]
	ldr	w25, [x24]
	ldr	w19, [x1, #48]
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	mov	x0, x20
	bl	_IXGBE_WRITE_FLUSH
	mov	x0, x19
	bl	_IXGBE_TDBAL
	mov	x23, x0
	mov	w0, #32
	bl	_DMA_BIT_MASK
	and	w2, w0, w26
	mov	x0, x20
	mov	x1, x23
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_TDBAH
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_TDLEN
	mov	x1, x0
	ldr	w8, [x21, #4]
	lsl	w2, w8, #2
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_TDH
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_TDT
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	ldr	x23, [x22, #24]
	mov	x0, x19
	bl	_IXGBE_TDT
	add	x8, x0, x23
	str	x8, [x21, #40]
	ldr	x9, [x21, #32]
	mov	w8, #65536
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x9]
	mov	w10, #524288
	cmp	w9, #8
	csel	w8, w8, w10, lt
LBB0_2:
	orr	w8, w25, w8
	mov	w9, #288
	orr	w23, w8, w9
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IXGBE_FLAG_FDIR_HASH_CAPABLE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x22, #8]
	stp	x8, xzr, [x21, #16]
Lloh5:
	adrp	x8, ___IXGBE_TX_FDIR_INIT_DONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___IXGBE_TX_FDIR_INIT_DONE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_set_bit
	b	LBB0_5
LBB0_4:
	str	xzr, [x21, #16]
LBB0_5:
Lloh8:
	adrp	x8, ___IXGBE_HANG_CHECK_ARMED@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___IXGBE_HANG_CHECK_ARMED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_clear_bit
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	mov	x2, x23
	bl	_IXGBE_WRITE_REG
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _IXGBE_LINKS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_LINKS@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh17:
	adrp	x8, _IXGBE_LINKS_UP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IXGBE_LINKS_UP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_16
LBB0_7:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.8:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.9:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.10:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.11:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.12:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.13:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.14:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.15:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_17
LBB0_16:
	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_17:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh20:
	adrp	x8, _drv@GOTPAGE
Lloh21:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_TXDCTL_ENABLE,4,2        ; @IXGBE_TXDCTL_ENABLE
	.comm	_IXGBE_FLAG_FDIR_HASH_CAPABLE,4,2 ; @IXGBE_FLAG_FDIR_HASH_CAPABLE
	.comm	___IXGBE_TX_FDIR_INIT_DONE,4,2  ; @__IXGBE_TX_FDIR_INIT_DONE
	.comm	___IXGBE_HANG_CHECK_ARMED,4,2   ; @__IXGBE_HANG_CHECK_ARMED
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_LINKS,8,3                ; @IXGBE_LINKS
	.comm	_IXGBE_LINKS_UP,4,2             ; @IXGBE_LINKS_UP
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not enable Tx Queue %d\n"

.subsections_via_symbols
