	.file	"extr_sge.c_t1_sge_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	t1_sge_stop
	.type	t1_sge_stop, @function
t1_sge_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 24[rdi]
	mov	rsi, QWORD PTR A_SG_CONTROL[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rax]
	call	writel@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, QWORD PTR A_SG_CONTROL[rip]
	add	rdi, QWORD PTR [rax]
	call	readl@PLT
	mov	rdi, QWORD PTR 24[rbp]
	call	is_T2@PLT
	test	rax, rax
	jne	.L12
	lea	rdi, 16[rbp]
	call	del_timer_sync@PLT
	cmp	QWORD PTR 8[rbp], 0
	jne	.L13
.L3:
	mov	eax, DWORD PTR MAX_NPORTS[rip]
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	kfree_skb@PLT
	cmp	DWORD PTR MAX_NPORTS[rip], ebx
	jg	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rdi, 20[rbp]
	call	del_timer_sync@PLT
	lea	rdi, 16[rbp]
	call	del_timer_sync@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L3
.L13:
	mov	rdi, rbp
	call	tx_sched_stop@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	t1_sge_stop, .-t1_sge_stop
	.comm	MAX_NPORTS,4,4
	.comm	A_SG_CONTROL,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sge.c_t1_sge_stop.c"
	.text
	.align	2
	.global	t1_sge_stop
	.syntax unified
	.arm
	.fpu softvfp
	.type	t1_sge_stop, %function
t1_sge_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r2, [r0, #16]
	ldr	r4, .L17
	ldr	r1, [r2]
	ldr	r3, [r4]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel
	ldr	r2, [r5, #16]
	ldr	r3, [r4]
	ldr	r0, [r2]
	add	r0, r0, r3
	bl	readl
	ldr	r0, [r5, #16]
	bl	is_T2
	cmp	r0, #0
	bne	.L15
.L2:
	add	r0, r5, #8
	bl	del_timer_sync
	ldr	r3, [r5, #4]
	cmp	r3, #0
	bne	.L16
.L3:
	ldr	r6, .L17+4
	ldr	r3, [r6]
	cmp	r3, #0
	pople	{r4, r5, r6, pc}
	mov	r4, #0
.L5:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	bl	kfree_skb
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L5
	pop	{r4, r5, r6, pc}
.L15:
	add	r0, r5, #12
	bl	del_timer_sync
	b	.L2
.L16:
	mov	r0, r5
	bl	tx_sched_stop
	b	.L3
.L18:
	.align	2
.L17:
	.word	A_SG_CONTROL
	.word	MAX_NPORTS
	.size	t1_sge_stop, .-t1_sge_stop
	.comm	MAX_NPORTS,4,4
	.comm	A_SG_CONTROL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
