	.file	"extr_Proto_PPP.c_FreePPPSession.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	FreePPPSession
	.type	FreePPPSession, @function
FreePPPSession:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR 16[rdi]
	mov	rbp, rdi
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR 36[rdi]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR 32[rdi]
	mov	DWORD PTR [rax], edx
.L3:
	mov	edi, DWORD PTR 28[rbp]
	call	FreeTubeFlushList@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	TubeDisconnect@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	TubeDisconnect@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	ReleaseCedar@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	ReleaseTube@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	ReleaseTube@PLT
	mov	rdi, rbp
	xor	esi, esi
	call	PPPStoreLastPacket@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L4
	call	FreeIPC@PLT
.L4:
	mov	rdi, rbp
	call	PPPFreeEapClient@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	Free@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	FreePPPSession, .-FreePPPSession
	.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_Proto_PPP.c_FreePPPSession.c"
	.text
	.align	2
	.global	FreePPPSession
	.syntax unified
	.arm
	.fpu softvfp
	.type	FreePPPSession, %function
FreePPPSession:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	popeq	{r4, pc}
	ldr	r3, [r4, #8]
	ldr	r0, [r4, #16]
	cmp	r3, #0
	ldrne	r1, [r4, #24]
	ldrne	r2, [r4, #20]
	strne	r1, [r3, #4]
	strne	r2, [r3]
	bl	FreeTubeFlushList
	ldr	r0, [r4, #8]
	bl	TubeDisconnect
	ldr	r0, [r4, #4]
	bl	TubeDisconnect
	ldr	r0, [r4, #12]
	bl	ReleaseCedar
	ldr	r0, [r4, #8]
	bl	ReleaseTube
	ldr	r0, [r4, #4]
	bl	ReleaseTube
	mov	r1, #0
	mov	r0, r4
	bl	PPPStoreLastPacket
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L4
	bl	FreeIPC
.L4:
	mov	r0, r4
	bl	PPPFreeEapClient
	mov	r0, r4
	pop	{r4, lr}
	b	Free
	.size	FreePPPSession, .-FreePPPSession
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
