	.file	"extr_getnetnamadr.c___copy_netent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__copy_netent
	.type	__copy_netent, @function
__copy_netent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	mov	rdi, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rcx
	call	ALIGN@PLT
	mov	ebp, eax
	mov	rax, QWORD PTR [r15]
	sub	ebp, r13d
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L8
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	call	strlen@PLT
	lea	edx, 2[rbx]
	add	rbx, 1
	lea	ebp, 1[rbp+rax]
	mov	rax, QWORD PTR [r15]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	jne	.L3
	movsx	r14, edx
	lea	ebx, 0[0+rdx*8]
.L2:
	mov	rdi, QWORD PTR 8[r15]
	call	strlen@PLT
	lea	eax, 1[rbp+rax]
	add	ebx, eax
	cmp	ebx, DWORD PTR 8[rsp]
	jg	.L16
	mov	eax, DWORD PTR 20[r15]
	mov	rdi, r13
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR 16[r15]
	mov	DWORD PTR 16[r12], eax
	call	ALIGN@PLT
	mov	rdi, QWORD PTR 8[r15]
	lea	r14, [rax+r14*8]
	call	strlen@PLT
	mov	rsi, QWORD PTR 8[r15]
	mov	rdi, r14
	mov	ebx, eax
	call	strcpy@PLT
	mov	QWORD PTR 8[r12], r14
	mov	rdi, r13
	add	ebx, 1
	movsx	rbx, ebx
	add	r14, rbx
	call	ALIGN@PLT
	mov	QWORD PTR [r12], rax
	mov	rdx, QWORD PTR [r15]
	mov	rdi, QWORD PTR [rdx]
	test	rdi, rdi
	je	.L6
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L7:
	call	strlen@PLT
	mov	rdi, r14
	mov	ebx, eax
	mov	rax, QWORD PTR [r15]
	add	ebx, 1
	mov	rsi, QWORD PTR [rax+rbp]
	movsx	rbx, ebx
	call	strcpy@PLT
	mov	rax, QWORD PTR [r12]
	mov	rdx, QWORD PTR [r15]
	mov	QWORD PTR [rax+rbp], r14
	add	rbp, 8
	add	r14, rbx
	mov	rdi, QWORD PTR [rdx+rbp]
	test	rdi, rdi
	jne	.L7
	add	rax, rbp
.L6:
	mov	QWORD PTR [rax], 0
	xor	eax, eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	ebx, 8
	mov	r14d, 1
	jmp	.L2
.L16:
	mov	eax, DWORD PTR ERANGE[rip]
	mov	DWORD PTR errno[rip], eax
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	__copy_netent, .-__copy_netent
	.comm	errno,4,4
	.comm	ERANGE,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_getnetnamadr.c___copy_netent.c"
	.text
	.align	2
	.global	__copy_netent
	.syntax unified
	.arm
	.fpu softvfp
	.type	__copy_netent, %function
__copy_netent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	mov	r0, r2
	mov	r6, r2
	mov	r9, r1
	mov	r7, r3
	bl	ALIGN
	ldr	r4, [r8]
	sub	r10, r0, r6
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L8
	mov	r5, #1
.L3:
	bl	strlen
	mov	r1, r0
	ldr	r0, [r4, #4]!
	add	r1, r1, #1
	cmp	r0, #0
	add	r10, r10, r1
	add	r5, r5, #1
	bne	.L3
	lsl	r5, r5, #2
.L2:
	ldr	r0, [r8, #4]
	bl	strlen
	add	r0, r0, #1
	add	r10, r0, r10
	add	r10, r10, r5
	cmp	r7, r10
	blt	.L16
	ldr	r3, [r8, #8]
	ldr	r2, [r8, #12]
	mov	r0, r6
	str	r3, [r9, #8]
	str	r2, [r9, #12]
	bl	ALIGN
	ldr	r7, [r8, #4]
	add	r5, r0, r5
	mov	r0, r7
	bl	strlen
	mov	r1, r7
	mov	r4, r0
	mov	r0, r5
	bl	strcpy
	mov	r0, r6
	str	r5, [r9, #4]
	bl	ALIGN
	str	r0, [r9]
	ldr	r3, [r8]
	add	r4, r4, #1
	ldr	r6, [r3]
	mov	r7, r0
	cmp	r6, #0
	add	r5, r5, r4
	beq	.L6
	mov	r7, #0
.L7:
	mov	r0, r6
	bl	strlen
	mov	r4, r0
	mov	r1, r6
	mov	r0, r5
	bl	strcpy
	ldr	r0, [r9]
	ldr	r3, [r8]
	str	r5, [r0, r7]
	add	r7, r7, #4
	ldr	r6, [r3, r7]
	add	r4, r4, #1
	cmp	r6, #0
	add	r5, r5, r4
	bne	.L7
	add	r7, r0, r7
.L6:
	mov	r3, #0
	mov	r0, r3
	str	r3, [r7]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r5, #4
	b	.L2
.L16:
	ldr	r2, .L17
	ldr	r3, .L17+4
	ldr	r2, [r2]
	mvn	r0, #0
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	.align	2
.L17:
	.word	ERANGE
	.word	errno
	.size	__copy_netent, .-__copy_netent
	.comm	errno,4,4
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
