	.file	"extr_sfe_ipv6.c_sfe_ipv6_debug_dev_read_connections_end.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\t</connections>\n"
	.text
	.p2align 4
	.type	sfe_ipv6_debug_dev_read_connections_end, @function
sfe_ipv6_debug_dev_read_connections_end:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	lea	rdx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rdi, r12
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR CHAR_DEV_MSG_SIZE[rip]
	call	snprintf@PLT
	movsx	rdi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR CHAR_DEV_MSG_SIZE[rip]
	mov	rsi, r12
	mov	r14d, eax
	add	rdi, rbx
	call	copy_to_user@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L1
	movsx	rax, r14d
	sub	QWORD PTR [r15], rax
	mov	eax, 1
	add	DWORD PTR 0[rbp], r14d
	add	DWORD PTR 0[r13], 1
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sfe_ipv6_debug_dev_read_connections_end, .-sfe_ipv6_debug_dev_read_connections_end
	.comm	CHAR_DEV_MSG_SIZE,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_sfe_ipv6.c_sfe_ipv6_debug_dev_read_connections_end.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\011</connections>\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sfe_ipv6_debug_dev_read_connections_end, %function
sfe_ipv6_debug_dev_read_connections_end:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L6
	mov	r4, r2
	mov	r6, r1
	mov	r0, r2
	ldr	r1, [r8]
	ldr	r2, .L6+4
	mov	r5, r3
	ldr	r7, [sp, #32]
	ldr	r9, [sp, #36]
	bl	snprintf
	mov	r3, r0
	ldr	r0, [r7]
	mov	r1, r4
	ldr	r2, [r8]
	add	r0, r6, r0
	mov	r4, r3
	bl	copy_to_user
	cmp	r0, #0
	bne	.L3
	mov	r0, #1
	ldr	r3, [r7]
	ldr	r2, [r5]
	sub	r2, r2, r4
	add	r4, r3, r4
	str	r2, [r5]
	str	r4, [r7]
	ldr	r3, [r9]
	add	r3, r3, r0
	str	r3, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	CHAR_DEV_MSG_SIZE
	.word	.LC0
	.size	sfe_ipv6_debug_dev_read_connections_end, .-sfe_ipv6_debug_dev_read_connections_end
	.comm	CHAR_DEV_MSG_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
