	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igbvf_clean_tx_ring
_igbvf_clean_tx_ring:                   ## @igbvf_clean_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	56(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	movq	64(%rdi), %r14
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_igbvf_put_txbuf
	movl	(%r15), %edx
	cmpq	$2, %rdx
	jb	LBB0_6
## %bb.4:
	movl	$1, %r12d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_igbvf_put_txbuf
	incq	%r12
	movl	(%r15), %edx
	addq	$4, %rbx
	cmpq	%rdx, %r12
	jb	LBB0_5
LBB0_6:
	movq	56(%r15), %rsi
	shlq	$2, %rdx
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%edx, %edx
LBB0_7:
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	8(%r15), %rdx
	movq	48(%r15), %rdi
	xorl	%esi, %esi
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movq	24(%r15), %rsi
	addq	(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	16(%r15), %rsi
	addq	(%r14), %rsi
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_igbvf_clean_tx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igbvf_clean_tx_ring
_igbvf_clean_tx_ring:                   ; @igbvf_clean_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
	ldr	x1, [x0, #56]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #64]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_igbvf_put_txbuf
	ldr	w8, [x19]
	cmp	w8, #2
	b.lo	LBB0_5
; %bb.3:
	mov	w21, #1
	mov	w22, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	add	x1, x8, x22
	mov	x0, x20
	bl	_igbvf_put_txbuf
	add	x21, x21, #1
	ldr	w8, [x19]
	add	x22, x22, #4
	cmp	x21, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x1, [x19, #56]
	lsl	x2, x8, #2
	b	LBB0_8
LBB0_6:
	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
	ret
LBB0_7:
	mov	x2, #0
LBB0_8:
	mov	x0, x1
	mov	w1, #0
	bl	_memset
	ldr	x0, [x19, #48]
	ldr	x2, [x19, #8]
	mov	w1, #0
	bl	_memset
	stp	xzr, xzr, [x19, #32]
	ldr	x8, [x20]
	ldr	x9, [x19, #24]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x20]
	ldr	x9, [x19, #16]
	add	x1, x9, x8
	mov	w0, #0
	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	_writel
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_igbvf_clean_tx_ring
.subsections_via_symbols
