	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restart_ctrlq
_restart_ctrlq:                         ## @restart_ctrlq
	.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	%rdi, %r12
	callq	_spin_lock
	leaq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_reclaim_completed_tx_imm
	movq	%r14, %rdi
	callq	_txq_avail
	movq	_TXQ_STOP_THRES@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_BUG_ON
	movq	%r12, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	callq	___skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	addl	%esi, %r15d
	movq	8(%r12), %r13
	shlq	$2, %r13
	addq	24(%r12), %r13
	movq	%r14, %rdi
	callq	_txq_advance
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_cxgb4_inline_tx_skb
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r14, %rdi
	callq	_txq_avail
	xorl	%edi, %edi
	movq	_TXQ_STOP_THRES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rbx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ctrlq_check_stop
	cmpq	%rbx, 16(%r12)
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$17, %r15d
	jb	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	32(%r12), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_cxgb4_ring_tx_db
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
LBB0_9:
	movq	$0, 40(%r12)
	testl	%r15d, %r15d
	je	LBB0_12
LBB0_11:
	movl	32(%r12), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_cxgb4_ring_tx_db
LBB0_12:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_5:
	movq	%r12, %rdi
	callq	_spin_lock
	testl	%r15d, %r15d
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_TXQ_STOP_THRES,8,3             ## @TXQ_STOP_THRES
	.no_dead_strip	_restart_ctrlq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restart_ctrlq
_restart_ctrlq:                         ; @restart_ctrlq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_spin_lock
	add	x20, x19, #8
	mov	x0, x20
	bl	_reclaim_completed_tx_imm
	mov	x0, x20
	bl	_txq_avail
Lloh0:
	adrp	x24, _TXQ_STOP_THRES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TXQ_STOP_THRES@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	cset	w0, lt
	bl	_BUG_ON
	mov	x0, x19
	bl	___skb_dequeue
	cbz	x0, LBB0_7
; %bb.1:
	mov	x23, x0
	mov	w21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_spin_lock
	mov	x0, x19
	bl	___skb_dequeue
	mov	x23, x0
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	w21, w1, w21
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #8]
	add	x22, x8, x9, lsl #2
	mov	x0, x20
	bl	_txq_advance
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x23
	mov	x1, x20
	mov	x2, x22
	bl	_cxgb4_inline_tx_skb
	mov	x0, x23
	bl	_kfree_skb
	mov	x0, x20
	bl	_txq_avail
	ldr	x8, [x24]
	cmp	x0, x8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x19, #16]
	mov	x0, x19
	mov	x1, x22
	bl	_ctrlq_check_stop
	ldr	x8, [x19, #16]
	cmp	x8, x23
	b.ne	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, #17
	b.lo	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #32]
	mov	x1, x20
	mov	x2, x21
	bl	_cxgb4_ring_tx_db
	mov	w21, #0
	b	LBB0_2
LBB0_7:
	mov	w21, #0
LBB0_8:
	str	xzr, [x19, #40]
	cbz	w21, LBB0_10
LBB0_9:
	ldr	w0, [x19, #32]
	mov	x1, x20
	mov	x2, x21
	bl	_cxgb4_ring_tx_db
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_11:
	mov	x0, x19
	bl	_spin_lock
	cbnz	w21, LBB0_9
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TXQ_STOP_THRES,8,3             ; @TXQ_STOP_THRES
	.no_dead_strip	_restart_ctrlq
.subsections_via_symbols
