	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igbvf_clean_tx_irq
_igbvf_clean_tx_irq:                    ## @igbvf_clean_tx_irq
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r13d
	movq	8(%rdi), %rbx
	movq	%r13, %rax
	shlq	$4, %rax
	movq	(%rbx,%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	addq	%rax, %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%r14d, %r15d
	xorl	%eax, %eax
	movq	%rcx, %r14
	callq	_smp_rmb
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r14d
	movq	_E1000_TXD_STAT_DD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	testl	%r14d, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rbx)
	movl	%r15d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_igbvf_put_txbuf
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	$0, (%rdx)
	incl	%r13d
	movl	4(%r12), %eax
	cmpl	%eax, %r13d
	movl	$0, %ecx
	cmovel	%ecx, %r13d
	movq	%r13, %rbx
	shlq	$4, %rbx
	addq	8(%r12), %rbx
	incl	%r14d
	cmpq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	movl	%r13d, %edi
	callq	_IGBVF_TX_DESC_ADV
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	(%rax), %r12
	testq	%r12, %r12
	movl	$1, %eax
	cmovel	%eax, %r12d
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	leal	-1(%r12), %r14d
	movq	%r15, %rdi
	callq	_skb_headlen
	imull	%r14d, %eax
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	(%r15), %ecx
	addl	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %eax
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r14d
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
	jmp	LBB0_11
LBB0_1:
	xorl	%r15d, %r15d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_4:
	movl	%r15d, %r14d
LBB0_11:
	movl	%r13d, (%r12)
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.13:
	movl	%r14d, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	_igbvf_desc_unused
	movq	_IGBVF_TX_QUEUE_WAKE@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setge	%bl
	jmp	LBB0_15
LBB0_12:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_15:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_16:
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	___IGBVF_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_netif_wake_queue
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_20:
	addl	%r13d, (%r14)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, 4(%r14)
	xorl	%eax, %eax
	cmpl	4(%r12), %r15d
	setb	%al
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_TXD_STAT_DD,4,2          ## @E1000_TXD_STAT_DD
	.comm	_IGBVF_TX_QUEUE_WAKE,8,3        ## @IGBVF_TX_QUEUE_WAKE
	.comm	___IGBVF_DOWN,4,2               ## @__IGBVF_DOWN
	.no_dead_strip	_igbvf_clean_tx_irq
.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_irq
_igbvf_clean_tx_irq:                    ; @igbvf_clean_tx_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x8, x9, [x0, #8]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x21, [x9, #8]
	ldr	w22, [x0]
	add	x23, x8, x22, lsl #4
	ldr	x28, [x23]
	cbz	x28, LBB0_11
; %bb.1:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	w27, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	mov	w26, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [x23]
	cmp	w26, w8
	ccmp	x28, #0, #4, lo
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	bl	_smp_rmb
	ldr	w24, [x28]
Lloh0:
	adrp	x8, _E1000_TXD_STAT_DD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_TXD_STAT_DD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	tst	w0, w24
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x23]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_igbvf_put_txbuf
	str	wzr, [x24]
	add	w9, w22, #1
	ldr	w8, [x19, #4]
	cmp	w9, w8
	csinc	w22, wzr, w22, eq
	ldr	x9, [x19, #8]
	add	x23, x9, w22, uxtw #4
	add	w26, w26, #1
	cmp	x24, x28
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q0, [x19]
	str	q0, [sp, #32]
	ldr	x8, [x19, #16]
	str	x8, [sp, #48]
	add	x0, sp, #32
	mov	x1, x22
	bl	_IGBVF_TX_DESC_ADV
	mov	x24, x0
	ldr	x25, [x23, #8]
	cbz	x25, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x25
	bl	_skb_shinfo
	ldr	x8, [x0]
	cmp	x8, #0
	csinc	w21, w8, wzr, ne
	sub	w20, w21, #1
	mov	x0, x25
	bl	_skb_headlen
	ldr	w8, [x25]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	add	w9, w21, w9
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	add	w8, w8, w27
	madd	w27, w20, w0, w8
	b	LBB0_5
LBB0_8:
	str	w22, [x19]
	cbz	w26, LBB0_12
; %bb.9:
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x21
	bl	_netif_carrier_ok
	cbz	x0, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_igbvf_desc_unused
Lloh3:
	adrp	x8, _IGBVF_TX_QUEUE_WAKE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGBVF_TX_QUEUE_WAKE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ge
	b	LBB0_13
LBB0_11:
	mov	w26, #0
	mov	w27, #0
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_14
	b	LBB0_17
LBB0_12:
	mov	w0, #0
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
LBB0_13:
	ldr	w28, [sp, #28]                  ; 4-byte Folded Reload
	bl	_unlikely
	cbz	x0, LBB0_17
LBB0_14:
	bl	_smp_mb
	mov	x0, x21
	bl	_netif_queue_stopped
	cbz	x0, LBB0_17
; %bb.15:
Lloh6:
	adrp	x8, ___IGBVF_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, ___IGBVF_DOWN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x1, x8, #4
	bl	_test_bit
	cbnz	w0, LBB0_17
; %bb.16:
	mov	x0, x21
	bl	_netif_wake_queue
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_17:
	ldp	w8, w9, [x21]
	add	w8, w8, w27
	add	w9, w9, w28
	stp	w8, w9, [x21]
	ldr	w8, [x19, #4]
	cmp	w26, w8
	cset	w0, lo
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_TXD_STAT_DD,4,2          ; @E1000_TXD_STAT_DD
	.comm	_IGBVF_TX_QUEUE_WAKE,8,3        ; @IGBVF_TX_QUEUE_WAKE
	.comm	___IGBVF_DOWN,4,2               ; @__IGBVF_DOWN
	.no_dead_strip	_igbvf_clean_tx_irq
.subsections_via_symbols
