	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_configure_tx_ring
_igc_configure_tx_ring:                 ## @igc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rsi), %r13d
	movl	4(%rsi), %r12d
	movl	%r13d, %edi
	callq	_IGC_TXDCTL
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movl	$10, %edi
	callq	_mdelay
	movl	%r13d, %edi
	callq	_IGC_TDLEN
	movl	8(%r14), %esi
	shll	$2, %esi
	movl	%eax, %edi
	callq	_wr32
	movl	%r13d, %edi
	callq	_IGC_TDBAL
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_wr32
	movl	%r13d, %edi
	callq	_IGC_TDBAH
	movl	%eax, %edi
	callq	_wr32
	movq	(%r15), %rbx
	movl	%r13d, %edi
	callq	_IGC_TDT
	addq	%rbx, %rax
	movq	%rax, 16(%r14)
	movl	%r13d, %edi
	callq	_IGC_TDH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_wr32
	movq	16(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_IGC_TX_PTHRESH@GOTPCREL(%rip), %rax
	movq	_IGC_TX_HTHRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$8, %ecx
	orl	(%rax), %ecx
	movq	_IGC_TX_WTHRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shll	$16, %ebx
	orl	%ecx, %ebx
	movq	_IGC_TXDCTL_QUEUE_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_IGC_TXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_TX_PTHRESH,4,2             ## @IGC_TX_PTHRESH
	.comm	_IGC_TX_HTHRESH,4,2             ## @IGC_TX_HTHRESH
	.comm	_IGC_TX_WTHRESH,4,2             ## @IGC_TX_WTHRESH
	.comm	_IGC_TXDCTL_QUEUE_ENABLE,4,2    ## @IGC_TXDCTL_QUEUE_ENABLE
	.no_dead_strip	_igc_configure_tx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_configure_tx_ring
_igc_configure_tx_ring:                 ; @igc_configure_tx_ring
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldp	w19, w22, [x1]
	mov	x0, x19
	bl	_IGC_TXDCTL
	mov	w1, #0
	bl	_wr32
	bl	_wrfl
	mov	w0, #10
	bl	_mdelay
	mov	x0, x19
	bl	_IGC_TDLEN
	ldr	w8, [x20, #8]
	lsl	w1, w8, #2
	bl	_wr32
	mov	x0, x19
	bl	_IGC_TDBAL
	mov	x1, x22
	bl	_wr32
	mov	x0, x19
	bl	_IGC_TDBAH
	bl	_wr32
	ldr	x21, [x21]
	mov	x0, x19
	bl	_IGC_TDT
	add	x8, x0, x21
	str	x8, [x20, #16]
	mov	x0, x19
	bl	_IGC_TDH
	mov	w1, #0
	bl	_wr32
	ldr	x1, [x20, #16]
	mov	w0, #0
	bl	_writel
Lloh0:
	adrp	x8, _IGC_TX_PTHRESH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGC_TX_PTHRESH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IGC_TX_HTHRESH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IGC_TX_HTHRESH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9, lsl #8
Lloh6:
	adrp	x9, _IGC_TX_WTHRESH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IGC_TX_WTHRESH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9, lsl #16
Lloh9:
	adrp	x9, _IGC_TXDCTL_QUEUE_ENABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IGC_TXDCTL_QUEUE_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	x0, x19
	bl	_IGC_TXDCTL
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_TX_PTHRESH,4,2             ; @IGC_TX_PTHRESH
	.comm	_IGC_TX_HTHRESH,4,2             ; @IGC_TX_HTHRESH
	.comm	_IGC_TX_WTHRESH,4,2             ; @IGC_TX_WTHRESH
	.comm	_IGC_TXDCTL_QUEUE_ENABLE,4,2    ; @IGC_TXDCTL_QUEUE_ENABLE
	.no_dead_strip	_igc_configure_tx_ring
.subsections_via_symbols
