	.file	"extr_pppol2tp.c_pppol2tp_session_destruct.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pppol2tp_session_destruct, @function
pppol2tp_session_destruct:
.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, QWORD PTR [rdi]
	test	rbp, rbp
	je	.L2
	mov	rax, QWORD PTR L2TP_SESSION_MAGIC[rip]
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], rax
	setne	dil
	call	BUG_ON@PLT
	mov	r12, QWORD PTR 16[rbp]
	test	r12, r12
	je	.L2
	mov	rax, QWORD PTR L2TP_TUNNEL_MAGIC[rip]
	xor	edi, edi
	cmp	QWORD PTR [r12], rax
	setne	dil
	call	BUG_ON@PLT
	cmp	QWORD PTR 32[rbp], 0
	jne	.L12
.L3:
	mov	QWORD PTR 16[rbp], 0
	mov	rdi, r12
	mov	QWORD PTR 8[rbp], 0
	call	pppol2tp_tunnel_dec_refcount@PLT
.L2:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	r13, 8[r12]
	mov	rdi, r13
	call	write_lock_bh@PLT
	lea	rdi, 24[rbp]
	call	hlist_del_init@PLT
	mov	rdi, r13
	call	write_unlock_bh@PLT
	lea	rdi, pppol2tp_session_count[rip]
	call	atomic_dec@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	pppol2tp_session_destruct, .-pppol2tp_session_destruct
	.comm	pppol2tp_session_count,4,4
	.comm	L2TP_TUNNEL_MAGIC,8,8
	.comm	L2TP_SESSION_MAGIC,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_pppol2tp.c_pppol2tp_session_destruct.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pppol2tp_session_destruct, %function
pppol2tp_session_destruct:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	beq	.L2
	ldr	r3, .L16
	ldr	r0, [r4]
	ldr	r3, [r3]
	subs	r0, r0, r3
	movne	r0, #1
	bl	BUG_ON
	ldr	r5, [r4, #8]
	cmp	r5, #0
	beq	.L2
	ldr	r3, .L16+4
	ldr	r0, [r5]
	ldr	r3, [r3]
	subs	r0, r0, r3
	movne	r0, #1
	bl	BUG_ON
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L15
.L3:
	mov	r3, #0
	mov	r0, r5
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	bl	pppol2tp_tunnel_dec_refcount
.L2:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	kfree
.L15:
	add	r6, r5, #4
	mov	r0, r6
	bl	write_lock_bh
	add	r0, r4, #12
	bl	hlist_del_init
	mov	r0, r6
	bl	write_unlock_bh
	ldr	r0, .L16+8
	bl	atomic_dec
	b	.L3
.L17:
	.align	2
.L16:
	.word	L2TP_SESSION_MAGIC
	.word	L2TP_TUNNEL_MAGIC
	.word	pppol2tp_session_count
	.size	pppol2tp_session_destruct, .-pppol2tp_session_destruct
	.comm	pppol2tp_session_count,4,4
	.comm	L2TP_TUNNEL_MAGIC,4,4
	.comm	L2TP_SESSION_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
