	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restart_offloadq
_restart_offloadq:                      ## @restart_offloadq
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r14
	movq	_TXQ_OFLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,8), %r15
	leaq	(%r14,%r15,4), %rbx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %edi
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15,4), %rdi
	addq	$24, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15,4), %rax
	addq	$28, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_TX_RECLAIM_CHUNK@GOTPCREL(%rip), %r14
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	(%r14), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_reclaim_completed_tx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_peek
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	___skb_unlink
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_write_ofld_wr
	movq	%r12, %rdi
	callq	_spin_lock
	movq	%r13, %rdi
	callq	_skb_peek
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %eax
	subl	4(%rbx), %eax
	movl	(%r14), %r15d
	xorl	%edi, %edi
	cmpl	%r15d, %eax
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	8(%rbx), %ecx
	addl	%r15d, 4(%rbx)
	movl	12(%rbx), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	addl	%r15d, %eax
	movl	%eax, 12(%rbx)
	subl	(%rbx), %eax
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%eax, 12(%rbx)
	movl	%ecx, %eax
	xorl	$1, %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_TXQ_OFLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	xorl	%eax, %eax
	callq	_smp_mb__after_clear_bit
	movq	%rbx, %rdi
	callq	_should_restart_tx
	testq	%rax, %rax
	movq	_TX_RECLAIM_CHUNK@GOTPCREL(%rip), %r14
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_TXQ_OFLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_and_clear_bit
	testq	%rax, %rax
	jne	LBB0_1
LBB0_6:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incl	32(%rax,%rcx,4)
LBB0_10:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_wmb
	movq	_A_SG_KDOORBELL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_F_SELEGRCNTX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	16(%rax,%rcx,4), %edi
	callq	_V_EGRCNTX
	orl	%eax, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXQ_OFLD,8,3                   ## @TXQ_OFLD
	.comm	_TX_RECLAIM_CHUNK,4,2           ## @TX_RECLAIM_CHUNK
	.comm	_A_SG_KDOORBELL,4,2             ## @A_SG_KDOORBELL
	.comm	_F_SELEGRCNTX,4,2               ## @F_SELEGRCNTX
	.comm	_TXQ_LAST_PKT_DB,8,3            ## @TXQ_LAST_PKT_DB
	.comm	_TXQ_RUNNING,8,3                ## @TXQ_RUNNING
	.no_dead_strip	_restart_offloadq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restart_offloadq
_restart_offloadq:                      ; @restart_offloadq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x0
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x8, _TXQ_OFLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXQ_OFLD@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	mov	w8, #36
	stp	x10, x9, [sp, #8]               ; 16-byte Folded Spill
	madd	x22, x10, x8, x9
	ldr	w0, [x0, #4]
	bl	_netdev_priv
	ldr	x8, [x0]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x21, x22, #24
	mov	x0, x21
	bl	_spin_lock
	add	x23, x22, #28
	add	x28, x22, #4
	add	x20, x22, #8
	add	x19, x22, #12
	str	x24, [sp]                       ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
Lloh3:
	adrp	x8, _TX_RECLAIM_CHUNK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TX_RECLAIM_CHUNK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x22
	bl	_reclaim_completed_tx
	mov	x0, x23
	bl	_skb_peek
	cbz	x0, LBB0_10
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x24, x0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x24
	mov	x1, x23
	bl	___skb_unlink
	mov	x0, x21
	bl	_spin_unlock
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x24
	mov	x2, x22
	mov	x3, x27
	mov	x4, x26
	mov	x5, x25
	bl	_write_ofld_wr
	mov	x0, x21
	bl	_spin_lock
	mov	x0, x23
	bl	_skb_peek
	mov	x24, x0
	cbz	x0, LBB0_10
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w25, [x24]
	ldr	w8, [x22]
	ldr	w9, [x28]
	sub	w8, w8, w9
	cmp	w8, w25
	cset	w0, lo
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w26, [x20]
	ldr	w8, [x28]
	add	w8, w8, w25
	str	w8, [x28]
	ldr	w27, [x19]
	ldr	w8, [x22]
	add	w9, w27, w25
	subs	w8, w9, w8
	str	w9, [x19]
	b.lo	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	str	w8, [x19]
	eor	w8, w26, #0x1
	str	w8, [x20]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh6:
	adrp	x25, _TXQ_OFLD@GOTPAGE
Lloh7:
	ldr	x25, [x25, _TXQ_OFLD@GOTPAGEOFF]
	ldr	x0, [x25]
	ldr	x24, [sp]                       ; 8-byte Folded Reload
	mov	x1, x24
	bl	_set_bit
	bl	_smp_mb__after_clear_bit
	mov	x0, x22
	bl	_should_restart_tx
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x25]
	mov	x1, x24
	bl	_test_and_clear_bit
	cbnz	x0, LBB0_1
LBB0_9:
	mov	w8, #36
	ldp	x10, x9, [sp, #8]               ; 16-byte Folded Reload
	madd	x8, x10, x8, x9
	ldr	w9, [x8, #32]
	add	w9, w9, #1
	str	w9, [x8, #32]
LBB0_10:
	mov	x0, x21
	bl	_spin_unlock
	bl	_wmb
Lloh8:
	adrp	x8, _A_SG_KDOORBELL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _A_SG_KDOORBELL@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _F_SELEGRCNTX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_SELEGRCNTX@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	mov	w8, #36
	ldp	x10, x9, [sp, #8]               ; 16-byte Folded Reload
	madd	x8, x10, x8, x9
	ldr	w0, [x8, #16]
	bl	_V_EGRCNTX
	orr	w2, w0, w19
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_t3_write_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TXQ_OFLD,8,3                   ; @TXQ_OFLD
	.comm	_TX_RECLAIM_CHUNK,4,2           ; @TX_RECLAIM_CHUNK
	.comm	_A_SG_KDOORBELL,4,2             ; @A_SG_KDOORBELL
	.comm	_F_SELEGRCNTX,4,2               ; @F_SELEGRCNTX
	.comm	_TXQ_LAST_PKT_DB,8,3            ; @TXQ_LAST_PKT_DB
	.comm	_TXQ_RUNNING,8,3                ; @TXQ_RUNNING
	.no_dead_strip	_restart_offloadq
.subsections_via_symbols
