	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_free_sge_resources          ## -- Begin function t4_free_sge_resources
	.p2align	4, 0x90
_t4_free_sge_resources:                 ## @t4_free_sge_resources
	.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, %r14
	movq	56(%rdi), %r15
	cmpl	$0, (%rdi)
	jle	LBB0_7
## %bb.1:
	movq	64(%r14), %rbx
	movq	72(%r14), %r12
	addq	$8, %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	addq	$24, %rbx
	addq	$16, %r12
	cmpl	(%r14), %r13d
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-8(%r12), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_free_rspq_fl
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	80(%r14), %edx
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	movl	%edx, %esi
	xorl	%ecx, %ecx
	callq	_t4_eth_eq_free
	movl	20(%rbx), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_free_tx_desc
	movl	16(%rbx), %edi
	callq	_kfree
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_free_txq
	jmp	LBB0_6
LBB0_7:
	movl	4(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.8:
	addq	$8, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	addq	$16, %r15
	cmpl	%eax, %ebx
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	-8(%r15), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_free_rspq_fl
	movl	4(%r14), %eax
	jmp	LBB0_11
LBB0_12:
	movl	8(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:
	movq	48(%r14), %rbx
	addq	$8, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r15d
	addq	$16, %rbx
	cmpl	%eax, %r15d
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	-8(%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_free_rspq_fl
	movl	8(%r14), %eax
	jmp	LBB0_16
LBB0_17:
	movq	40(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.18:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%r13
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %rbx
	cmpq	%rax, %r13
	jge	LBB0_22
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %r12
	cmpq	$0, 8(%r12,%rbx)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	(%r12,%rbx), %r15
	leaq	(%r12,%rbx), %rdi
	addq	$28, %rdi
	callq	_tasklet_kill
	movl	80(%r14), %edx
	movl	(%r12,%rbx), %r8d
	movq	%r14, %rdi
	movl	%edx, %esi
	xorl	%ecx, %ecx
	callq	_t4_ofld_eq_free
	movl	20(%r12,%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_free_tx_desc
	movl	16(%r12,%rbx), %edi
	callq	_kfree
	leaq	(%r12,%rbx), %rdi
	addq	$24, %rdi
	callq	___skb_queue_purge
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_free_txq
	movq	40(%r14), %r12
	jmp	LBB0_21
LBB0_22:
	movq	32(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_27
## %bb.23:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%r13
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %r12
	cmpq	%rax, %r13
	jge	LBB0_27
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rbx
	cmpq	$0, 8(%rbx,%r12)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	(%rbx,%r12), %r15
	leaq	(%rbx,%r12), %rdi
	addq	$28, %rdi
	callq	_tasklet_kill
	movl	80(%r14), %edx
	movl	(%rbx,%r12), %r8d
	movq	%r14, %rdi
	movl	%edx, %esi
	xorl	%ecx, %ecx
	callq	_t4_ctrl_eq_free
	leaq	(%rbx,%r12), %rdi
	addq	$24, %rdi
	callq	___skb_queue_purge
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_free_txq
	movq	32(%r14), %rbx
	jmp	LBB0_26
LBB0_27:
	cmpq	$0, 24(%r14)
	je	LBB0_29
## %bb.28:
	leaq	24(%r14), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_free_rspq_fl
LBB0_29:
	cmpq	$0, 16(%r14)
	je	LBB0_31
## %bb.30:
	leaq	16(%r14), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_free_rspq_fl
LBB0_31:
	movl	12(%r14), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_free_sge_resources          ; -- Begin function t4_free_sge_resources
	.p2align	2
_t4_free_sge_resources:                 ; @t4_free_sge_resources
	.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
	ldr	x22, [x0, #56]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w23, #0
	ldp	x20, x8, [x19, #64]
	add	x21, x8, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	add	x20, x20, #24
	ldr	w8, [x19]
	add	x21, x21, #16
	cmp	w23, w8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x2, x21, #8
	mov	x0, x19
	mov	x1, x21
	bl	_free_rspq_fl
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x19, #80]
	ldr	w4, [x20]
	mov	x0, x19
	mov	x2, x1
	mov	w3, #0
	bl	_t4_eth_eq_free
	ldr	w2, [x20, #20]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_free_tx_desc
	ldr	w0, [x20, #16]
	bl	_kfree
	mov	x0, x19
	mov	x1, x20
	bl	_free_txq
	b	LBB0_2
LBB0_7:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.8:
	mov	w21, #0
	add	x20, x22, #8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w21, w21, #1
	add	x20, x20, #16
	cmp	w21, w8
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cbz	x9, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	x2, x20, #8
	mov	x0, x19
	mov	x1, x20
	bl	_free_rspq_fl
	ldr	w8, [x19, #4]
	b	LBB0_9
LBB0_12:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.13:
	mov	w21, #0
	ldr	x9, [x19, #48]
	add	x20, x9, #8
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w21, w21, #1
	add	x20, x20, #16
	cmp	w21, w8
	b.ge	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cbz	x9, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	x2, x20, #8
	mov	x0, x19
	mov	x1, x20
	bl	_free_rspq_fl
	ldr	w8, [x19, #8]
	b	LBB0_14
LBB0_17:
	ldr	x0, [x19, #40]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.18:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	add	x21, x21, #32
	cmp	x22, w0, sxtw
	b.ge	LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #40]
	add	x20, x0, x21
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x0, x20, #28
	bl	_tasklet_kill
	ldr	w1, [x19, #80]
	ldr	w4, [x20]
	mov	x0, x19
	mov	x2, x1
	mov	w3, #0
	bl	_t4_ofld_eq_free
	ldr	w2, [x20, #20]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_free_tx_desc
	ldr	w0, [x20, #16]
	bl	_kfree
	add	x0, x20, #24
	bl	___skb_queue_purge
	mov	x0, x19
	mov	x1, x20
	bl	_free_txq
	ldr	x0, [x19, #40]
	b	LBB0_19
LBB0_22:
	ldr	x0, [x19, #32]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.23:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x22, x22, #32
	cmp	x23, w0, sxtw
	b.ge	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #32]
	add	x20, x0, x22
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x0, x20, #28
	bl	_tasklet_kill
	ldr	w1, [x19, #80]
	mov	x21, x20
	ldr	w4, [x21], #24
	mov	x0, x19
	mov	x2, x1
	mov	w3, #0
	bl	_t4_ctrl_eq_free
	mov	x0, x21
	bl	___skb_queue_purge
	mov	x0, x19
	mov	x1, x20
	bl	_free_txq
	ldr	x0, [x19, #32]
	b	LBB0_24
LBB0_27:
	mov	x1, x19
	ldr	x8, [x1, #24]!
	cbz	x8, LBB0_29
; %bb.28:
	mov	x0, x19
	mov	x2, #0
	bl	_free_rspq_fl
LBB0_29:
	mov	x1, x19
	ldr	x8, [x1, #16]!
	cbz	x8, LBB0_31
; %bb.30:
	mov	x0, x19
	mov	x2, #0
	bl	_free_rspq_fl
LBB0_31:
	ldr	w0, [x19, #12]
	mov	w1, #0
	mov	w2, #4
	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	_memset
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
