	.file	"extr_pppol2tp.c_pppol2tp_getname.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pppol2tp_getname, @function
pppol2tp_getname:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR PPPOX_CONNECTED[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L2
	mov	eax, DWORD PTR ENOTCONN[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, rsi
	mov	rbp, rdx
	call	pppol2tp_sock_to_session@PLT
	mov	rsi, rax
	mov	eax, DWORD PTR EBADF[rip]
	neg	eax
	test	rsi, rsi
	je	.L1
.L3:
	endbr64
	mov	eax, DWORD PTR AF_PPPOX[rip]
	lea	r13, 12[rsp]
	mov	edx, 4
	mov	rdi, r13
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR PX_PROTO_OL2TP[rip]
	mov	DWORD PTR 16[rsp], eax
	call	memcpy@PLT
	mov	edx, 12
	mov	rsi, r13
	mov	rdi, r12
	call	memcpy@PLT
	mov	DWORD PTR 0[rbp], 12
	mov	rdi, QWORD PTR [rbx]
	call	sock_put@PLT
	xor	eax, eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pppol2tp_getname, .-pppol2tp_getname
	.comm	PX_PROTO_OL2TP,4,4
	.comm	PPPOX_CONNECTED,8,8
	.comm	ENOTCONN,4,4
	.comm	EBADF,4,4
	.comm	AF_PPPOX,4,4
	.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_getname.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pppol2tp_getname, %function
pppol2tp_getname:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L10
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	ip, [r0]
	sub	sp, sp, #20
	cmp	ip, r3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r6, r1
	mov	r5, r2
	bl	pppol2tp_sock_to_session
	subs	r1, r0, #0
	beq	.L9
.L3:
	mov	r7, #12
	ldr	r2, .L10+12
	ldr	r3, .L10+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [sp, #8]
	mov	r0, sp
	mov	r2, #4
	str	r3, [sp, #4]
	bl	memcpy
	mov	r1, sp
	mov	r2, r7
	mov	r0, r6
	bl	memcpy
	ldr	r0, [r4]
	str	r7, [r5]
	bl	sock_put
	mov	r0, #0
	b	.L1
.L9:
	ldr	r3, .L10+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	PPPOX_CONNECTED
	.word	.LC0
	.word	ENOTCONN
	.word	AF_PPPOX
	.word	PX_PROTO_OL2TP
	.word	EBADF
	.size	pppol2tp_getname, .-pppol2tp_getname
	.comm	PX_PROTO_OL2TP,4,4
	.comm	PPPOX_CONNECTED,4,4
	.comm	ENOTCONN,4,4
	.comm	EBADF,4,4
	.comm	AF_PPPOX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
