	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sge_tx_reclaim_cb
_sge_tx_reclaim_cb:                     ## @sge_tx_reclaim_cb
	.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, %r15
	movq	_SGE_CMDQ_N@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.1:
	movq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_trylock
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_reclaim_completed_tx
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.3:
	movq	_F_CMDQ0_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movq	_A_SG_DOORBELL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_writel
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_5:
	cmpl	$2, (%r12)
	jl	LBB0_10
## %bb.6:
	movl	$1, %r14d
	movl	$16, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movslq	(%r12), %rax
	addq	$16, %r13
	cmpq	%rax, %r14
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rbx
	addq	%r13, %rbx
	movq	%rbx, %rdi
	callq	_spin_trylock
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_reclaim_completed_tx
	movq	%rbx, %rdi
	callq	_spin_unlock
	jmp	LBB0_9
LBB0_10:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_TX_RECLAIM_PERIOD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SGE_CMDQ_N,4,2                 ## @SGE_CMDQ_N
	.comm	_F_CMDQ0_ENABLE,4,2             ## @F_CMDQ0_ENABLE
	.comm	_A_SG_DOORBELL,8,3              ## @A_SG_DOORBELL
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_TX_RECLAIM_PERIOD,8,3          ## @TX_RECLAIM_PERIOD
	.no_dead_strip	_sge_tx_reclaim_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sge_tx_reclaim_cb
_sge_tx_reclaim_cb:                     ; @sge_tx_reclaim_cb
	.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
Lloh0:
	adrp	x21, _SGE_CMDQ_N@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SGE_CMDQ_N@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	ldr	x20, [x19, #16]
	mov	x0, x20
	bl	_spin_trylock
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_reclaim_completed_tx
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _F_CMDQ0_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _F_CMDQ0_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _A_SG_DOORBELL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _A_SG_DOORBELL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock
LBB0_5:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.6:
	mov	w22, #1
	mov	w23, #16
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x23, x23, #16
	cmp	x22, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x20, x8, x23
	mov	x0, x20
	bl	_spin_trylock
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_reclaim_completed_tx
	mov	x0, x20
	bl	_spin_unlock
	b	LBB0_7
LBB0_10:
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _TX_RECLAIM_PERIOD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TX_RECLAIM_PERIOD@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	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	_mod_timer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SGE_CMDQ_N,4,2                 ; @SGE_CMDQ_N
	.comm	_F_CMDQ0_ENABLE,4,2             ; @F_CMDQ0_ENABLE
	.comm	_A_SG_DOORBELL,8,3              ; @A_SG_DOORBELL
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_TX_RECLAIM_PERIOD,8,3          ; @TX_RECLAIM_PERIOD
	.no_dead_strip	_sge_tx_reclaim_cb
.subsections_via_symbols
