	.file	"extr_link.c_tipc_link_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tipc_link_reset
	.type	tipc_link_reset, @function
tipc_link_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	lea	r13, 120[rbp]
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r12, 4[rsp]
	mov	rdi, r12
	call	__skb_queue_head_init@PLT
	mov	eax, DWORD PTR 124[rbp]
	mov	rdi, r13
	sub	DWORD PTR 136[rbp], 1
	add	DWORD PTR 132[rbp], 1
	mov	DWORD PTR 0[rbp], 0
	mov	DWORD PTR 128[rbp], eax
	call	spin_lock_bh@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	skb_queue_splice_init@PLT
	mov	rdi, r13
	call	spin_unlock_bh@PLT
	mov	rdi, QWORD PTR 112[rbp]
	call	spin_lock_bh@PLT
	mov	rsi, QWORD PTR 112[rbp]
	mov	rdi, r12
	call	skb_queue_splice_init@PLT
	mov	rdi, QWORD PTR 112[rbp]
	call	spin_unlock_bh@PLT
	lea	rdi, 108[rbp]
	call	__skb_queue_purge@PLT
	lea	rdi, 104[rbp]
	call	__skb_queue_purge@PLT
	lea	rdi, 100[rbp]
	call	__skb_queue_purge@PLT
	lea	rdi, 96[rbp]
	call	__skb_queue_purge@PLT
	mov	rcx, QWORD PTR TIPC_SYSTEM_IMPORTANCE[rip]
	mov	rax, QWORD PTR 88[rbp]
	lea	rdx, 1[rcx]
	sal	rdx, 4
	add	rdx, rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	QWORD PTR 8[rax], 0
	add	rax, 16
	mov	QWORD PTR -16[rax], 0
	cmp	rax, rdx
	jne	.L2
	mov	rdi, QWORD PTR 80[rbp]
	call	kfree_skb@PLT
	mov	rdi, QWORD PTR 72[rbp]
	call	kfree_skb@PLT
	mov	rdi, QWORD PTR 64[rbp]
	call	kfree_skb@PLT
	mov	QWORD PTR 80[rbp], 0
	xor	esi, esi
	movabs	rax, 4294967297
	mov	QWORD PTR 72[rbp], 0
	lea	rdi, 24[rbp]
	mov	edx, 4
	mov	QWORD PTR 64[rbp], 0
	mov	QWORD PTR 56[rbp], 0
	mov	QWORD PTR 48[rbp], 0
	mov	QWORD PTR 40[rbp], 0
	mov	QWORD PTR 32[rbp], 0
	mov	DWORD PTR 4[rbp], 1
	mov	QWORD PTR 8[rbp], rax
	mov	QWORD PTR 16[rbp], 1
	call	memset@PLT
	mov	rdi, rbp
	call	tipc_link_reset_stats@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tipc_link_reset, .-tipc_link_reset
	.comm	TIPC_SYSTEM_IMPORTANCE,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_link.c_tipc_link_reset.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tipc_link_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	tipc_link_reset, %function
tipc_link_reset:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, #0
	mov	r4, r0
	mov	r5, r7
	sub	sp, sp, #12
	ldr	r3, .L8
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	__skb_queue_head_init
	ldr	r2, [r4, #96]
	ldr	r3, [r4, #92]
	ldr	r1, [r4, #84]
	sub	r2, r2, #1
	add	r3, r3, #1
	add	r6, r4, #80
	str	r2, [r4, #96]
	str	r3, [r4, #92]
	str	r1, [r4, #88]
	mov	r0, r6
	str	r7, [r4]
	bl	spin_lock_bh
	mov	r1, sp
	mov	r0, r6
	bl	skb_queue_splice_init
	mov	r0, r6
	bl	spin_unlock_bh
	ldr	r0, [r4, #76]
	bl	spin_lock_bh
	ldr	r1, [r4, #76]
	mov	r0, sp
	bl	skb_queue_splice_init
	ldr	r0, [r4, #76]
	bl	spin_unlock_bh
	add	r0, r4, #72
	bl	__skb_queue_purge
	add	r0, r4, #68
	bl	__skb_queue_purge
	add	r0, r4, #64
	bl	__skb_queue_purge
	add	r0, r4, #60
	bl	__skb_queue_purge
	ldr	r2, .L8+4
	ldr	r3, [r4, #56]
	ldr	r2, [r2]
	add	r2, r2, #1
	add	r2, r3, r2, lsl #3
.L2:
	str	r5, [r3, #4]
	str	r5, [r3], #8
	cmp	r3, r2
	bne	.L2
	ldr	r0, [r4, #52]
	bl	kfree_skb
	ldr	r0, [r4, #48]
	bl	kfree_skb
	ldr	r0, [r4, #44]
	bl	kfree_skb
	mov	r3, #1
	mov	r0, r4
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	str	r3, [r4, #12]
	str	r3, [r4, #16]
	str	r5, [r4, #52]
	str	r5, [r4, #48]
	str	r5, [r4, #44]
	str	r5, [r4, #40]
	str	r5, [r4, #36]
	str	r5, [r4, #32]
	str	r5, [r4, #28]
	str	r5, [r4, #20]
	strb	r5, [r4, #24]
	strb	r5, [r4, #25]
	strb	r5, [r4, #26]
	strb	r5, [r4, #27]
	bl	tipc_link_reset_stats
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	TIPC_SYSTEM_IMPORTANCE
	.size	tipc_link_reset, .-tipc_link_reset
	.comm	TIPC_SYSTEM_IMPORTANCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
