	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t3_free_qset
_t3_free_qset:                          ## @t3_free_qset
	.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	%rsi, %r13
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	_SGE_RXQ_PER_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$32, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rcx
	cmpq	$0, 8(%rcx,%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	32(%r13), %rax
	movl	24(%rax,%rbx), %esi
	movq	%r15, %rdi
	callq	_t3_sge_disable_fl
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	32(%r13), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_free_rx_bufs
	movq	32(%r13), %rax
	movq	16(%rax,%rbx), %rdi
	callq	_kfree
	movq	32(%r13), %rax
	movl	(%rax,%rbx), %esi
	movl	4(%rax,%rbx), %ecx
	shll	$2, %esi
	movq	8(%rax,%rbx), %rdx
	movq	%r14, %rdi
	callq	_dma_free_coherent
	movq	_SGE_RXQ_PER_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	movq	_SGE_TXQ_PER_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rsi,%rbx), %eax
	movl	8(%rsi,%rbx), %ecx
	shll	$2, %eax
	movq	16(%rsi,%rbx), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_free_coherent
	movq	24(%r13), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$4, %rdi
	callq	___skb_queue_purge
	movq	_SGE_TXQ_PER_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$40, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rcx
	cmpq	$0, 16(%rcx,%rbx)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	24(%r13), %rax
	movl	36(%rax,%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_t3_sge_enable_ecntxt
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	24(%r13), %rsi
	cmpq	$0, 24(%rsi,%rbx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	32(%rsi,%rbx), %edx
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_free_tx_desc
	movq	24(%r13), %rax
	movq	24(%rax,%rbx), %rdi
	callq	_kfree
	movq	24(%r13), %rsi
	jmp	LBB0_10
LBB0_12:
	cmpq	$0, 8(%r13)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movl	16(%r13), %esi
	movq	%r15, %rdi
	callq	_t3_sge_disable_rspcntxt
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movl	(%r13), %esi
	movl	4(%r13), %ecx
	shll	$2, %esi
	movq	8(%r13), %rdx
	movq	%r14, %rdi
	callq	_dma_free_coherent
LBB0_14:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_reset_qset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SGE_RXQ_PER_SET,4,2            ## @SGE_RXQ_PER_SET
	.comm	_SGE_TXQ_PER_SET,4,2            ## @SGE_TXQ_PER_SET
	.no_dead_strip	_t3_free_qset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t3_free_qset
_t3_free_qset:                          ; @t3_free_qset
	.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, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x22, _SGE_RXQ_PER_SET@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SGE_RXQ_PER_SET@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	add	x23, x23, #32
	cmp	x24, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	add	x9, x9, x23
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x8, [x19, #32]
	add	x8, x8, x23
	ldr	w1, [x8, #24]
	mov	x0, x21
	bl	_t3_sge_disable_fl
	mov	x0, x21
	bl	_spin_unlock_irq
	ldr	x8, [x19, #32]
	add	x1, x8, x23
	mov	x0, x20
	bl	_free_rx_bufs
	ldr	x8, [x19, #32]
	add	x8, x8, x23
	ldr	x0, [x8, #16]
	bl	_kfree
	ldr	x8, [x19, #32]
	add	x8, x8, x23
	ldp	w9, w3, [x8]
	lsl	w1, w9, #2
	ldr	x2, [x8, #8]
	mov	x0, x20
	bl	_dma_free_coherent
	ldr	w8, [x22]
	b	LBB0_2
LBB0_5:
Lloh2:
	adrp	x22, _SGE_TXQ_PER_SET@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SGE_TXQ_PER_SET@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, x23
	ldr	w9, [x8]
	lsl	w1, w9, #2
	ldr	x2, [x8, #16]
	ldr	w3, [x8, #8]
	mov	x0, x20
	bl	_dma_free_coherent
	ldr	x8, [x19, #24]
	add	x8, x8, x23
	add	x0, x8, #4
	bl	___skb_queue_purge
	ldr	w8, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, #1
	add	x23, x23, #40
	cmp	x24, w8, sxtw
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	add	x9, x9, x23
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x8, [x19, #24]
	add	x8, x8, x23
	ldr	w1, [x8, #36]
	mov	x0, x21
	mov	w2, #0
	bl	_t3_sge_enable_ecntxt
	mov	x0, x21
	bl	_spin_unlock_irq
	ldr	x8, [x19, #24]
	add	x1, x8, x23
	ldr	x9, [x1, #24]
	cbz	x9, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [x1, #32]
	mov	x0, x21
	bl	_free_tx_desc
	ldr	x8, [x19, #24]
	add	x8, x8, x23
	ldr	x0, [x8, #24]
	bl	_kfree
	ldr	x8, [x19, #24]
	b	LBB0_7
LBB0_12:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	w1, [x19, #16]
	mov	x0, x21
	bl	_t3_sge_disable_rspcntxt
	mov	x0, x21
	bl	_spin_unlock_irq
	ldp	w8, w3, [x19]
	lsl	w1, w8, #2
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_dma_free_coherent
LBB0_14:
	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	_t3_reset_qset
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SGE_RXQ_PER_SET,4,2            ; @SGE_RXQ_PER_SET
	.comm	_SGE_TXQ_PER_SET,4,2            ; @SGE_TXQ_PER_SET
	.no_dead_strip	_t3_free_qset
.subsections_via_symbols
