	.file	"extr_interfaceiter.c_internal_current6.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"v6loop %d"
.LC1:
	.string	"IPv6 %d"
	.text
	.p2align 4
	.type	internal_current6, @function
internal_current6:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, QWORD PTR FALSE[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	lea	r14, 76[rbx]
	call	VALID_IFITER@PLT
	mov	edi, eax
	call	REQUIRE@PLT
	mov	edi, 1
	call	REQUIRE@PLT
	xor	edi, edi
	cmp	QWORD PTR 64[rbx], 0
	setne	dil
	call	REQUIRE@PLT
	mov	edx, 56
	xor	esi, esi
	lea	rdi, 8[rbx]
	call	memset@PLT
	mov	rax, QWORD PTR 64[rbx]
	mov	rsi, QWORD PTR AF_INET6[rip]
	mov	ecx, DWORD PTR [rbx]
	mov	edx, DWORD PTR [rax]
	mov	QWORD PTR 56[rbx], rsi
	cmp	ecx, edx
	jb	.L2
	mov	r13, QWORD PTR FALSE[rip]
	test	edx, edx
	jle	.L3
	xor	ebp, ebp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 64[rbx]
	add	rbp, 1
	mov	edx, DWORD PTR [rax]
	cmp	edx, ebp
	jle	.L5
.L6:
	mov	rax, QWORD PTR 8[rax]
	mov	edx, 4
	mov	rdi, r14
	mov	rsi, QWORD PTR [rax+rbp*8]
	call	memcmp@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR 64[rbx]
	mov	r13, QWORD PTR TRUE[rip]
	mov	edx, DWORD PTR [rax]
.L5:
	test	r13, r13
	jne	.L7
	mov	ecx, DWORD PTR [rbx]
.L8:
	cmp	ecx, edx
	jb	.L2
	mov	rsi, QWORD PTR AF_INET6[rip]
.L15:
	mov	QWORD PTR 48[rbx], rsi
	lea	rbp, 40[rbx]
	mov	edx, 4
	mov	rsi, r14
	mov	rdi, rbp
	call	memcpy@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[rax]
	lea	rbp, 40[rbx]
	mov	rdi, rbp
	mov	rsi, QWORD PTR [rax+rcx*8]
	call	isc_netaddr_fromsockaddr@PLT
.L10:
	mov	eax, DWORD PTR INTERFACE_F_UP[rip]
	or	eax, DWORD PTR INTERFACE_F_MULTICAST[rip]
	mov	rsi, r14
	mov	rdi, rbp
	mov	DWORD PTR 8[rbx], eax
	mov	edx, 4
	call	memcmp@PLT
	test	eax, eax
	je	.L13
	lea	rsi, 72[rbx]
	mov	edx, 4
	mov	rdi, rbp
	call	memcmp@PLT
	test	eax, eax
	je	.L13
	cmp	QWORD PTR FALSE[rip], r12
	je	.L23
.L14:
	mov	rdi, QWORD PTR 24[rbx]
	mov	edx, 8
	mov	esi, 255
	call	memset@PLT
	mov	rax, QWORD PTR AF_INET6[rip]
	mov	QWORD PTR 16[rbx], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR ISC_R_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR INTERFACE_F_LOOPBACK[rip]
	or	DWORD PTR 8[rbx], eax
	mov	esi, 4
	lea	rdx, .LC0[rip]
	mov	rax, QWORD PTR 64[rbx]
	mov	edi, DWORD PTR 32[rbx]
	mov	ecx, DWORD PTR [rax]
	sub	ecx, DWORD PTR [rbx]
	call	snprintf@PLT
	mov	r12, QWORD PTR TRUE[rip]
	cmp	QWORD PTR FALSE[rip], r12
	jne	.L14
.L23:
	mov	rax, QWORD PTR 64[rbx]
	mov	edi, DWORD PTR 32[rbx]
	mov	esi, 4
	lea	rdx, .LC1[rip]
	mov	ecx, DWORD PTR [rax]
	sub	ecx, DWORD PTR [rbx]
	call	snprintf@PLT
	jmp	.L14
.L3:
	test	r13, r13
	je	.L15
	.p2align 4,,10
	.p2align 3
.L7:
	lea	ecx, -1[rdx]
	mov	DWORD PTR [rbx], ecx
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	internal_current6, .-internal_current6
	.comm	TRUE,8,8
	.comm	ISC_R_SUCCESS,4,4
	.comm	INTERFACE_F_UP,4,4
	.comm	INTERFACE_F_MULTICAST,4,4
	.comm	INTERFACE_F_LOOPBACK,4,4
	.comm	FALSE,8,8
	.comm	AF_INET6,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_interfaceiter.c_internal_current6.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"v6loop %d\000"
	.align	2
.LC1:
	.ascii	"IPv6 %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	internal_current6, %function
internal_current6:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r8, .L22
	sub	sp, sp, #20
	ldr	r3, [r8]
	ldr	r9, .L22+4
	str	r3, [sp, #4]
	bl	VALID_IFITER
	bl	REQUIRE
	mov	r0, #1
	bl	REQUIRE
	ldr	r0, [r4, #32]
	add	r7, r4, #40
	subs	r0, r0, #0
	movne	r0, #1
	bl	REQUIRE
	mov	r2, #24
	mov	r1, #0
	add	r0, r4, #4
	bl	memset
	ldr	r10, [r4, #32]
	ldr	r3, [r4]
	ldr	r6, [r10]
	ldr	r2, [r9]
	cmp	r3, r6
	str	r2, [sp, #8]
	str	r2, [r4, #28]
	bcc	.L2
	ldr	r3, [r8]
	cmp	r6, #0
	str	r3, [sp, #12]
	ble	.L3
	ldr	r3, [r10, #4]
	mov	r5, #0
	sub	fp, r3, #4
	b	.L5
.L4:
	cmp	r6, r5
	beq	.L3
.L5:
	mov	r2, #4
	mov	r0, r7
	ldr	r1, [fp, #4]!
	bl	memcmp
	cmp	r0, #0
	add	r5, r5, #1
	bne	.L4
	ldr	r3, .L22+8
	ldr	r3, [r3]
	str	r3, [sp, #12]
.L3:
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bne	.L20
.L6:
	ldr	r3, [sp, #8]
	add	r6, r4, #20
	mov	r0, r6
	mov	r2, #4
	mov	r1, r7
	str	r3, [r4, #24]
	bl	memcpy
.L7:
	ldr	r2, .L22+12
	ldr	r3, .L22+16
	ldr	r5, [r2]
	ldr	r3, [r3]
	mov	r1, r7
	orr	r5, r5, r3
	mov	r2, #4
	mov	r0, r6
	str	r5, [r4, #4]
	bl	memcmp
	cmp	r0, #0
	beq	.L8
	mov	r0, r6
	mov	r2, #4
	add	r1, r4, #36
	bl	memcmp
	cmp	r0, #0
	beq	.L8
	ldr	r3, [r8]
	ldr	r2, [sp, #4]
	cmp	r3, r2
	beq	.L21
.L10:
	mov	r2, #255
	ldr	r3, [r4, #12]
	ldr	r1, .L22+20
	strb	r2, [r3]
	strb	r2, [r3, #1]
	strb	r2, [r3, #2]
	strb	r2, [r3, #3]
	ldr	r3, [r9]
	ldr	r0, [r1]
	str	r3, [r4, #8]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r2, .L22+24
	ldr	r3, [r4, #32]
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, [r4]
	orr	r5, r2, r5
	sub	r3, r1, r3
	ldr	r2, .L22+28
	mov	r1, #4
	ldr	r0, [r4, #16]
	str	r5, [r4, #4]
	bl	snprintf
	ldr	r3, .L22+8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	ldr	r2, [sp, #4]
	ldr	r3, [r8]
	cmp	r3, r2
	bne	.L10
.L21:
	ldr	r2, [r4, #32]
	ldr	r3, [r4]
	ldr	r1, [r2]
	ldr	r0, [r4, #16]
	sub	r3, r1, r3
	ldr	r2, .L22+32
	mov	r1, #4
	bl	snprintf
	b	.L10
.L20:
	sub	r3, r6, #1
	cmp	r6, r3
	str	r3, [r4]
	bls	.L6
.L2:
	ldr	r2, [r10, #4]
	add	r6, r4, #20
	mov	r0, r6
	ldr	r1, [r2, r3, lsl #2]
	bl	isc_netaddr_fromsockaddr
	b	.L7
.L23:
	.align	2
.L22:
	.word	FALSE
	.word	AF_INET6
	.word	TRUE
	.word	INTERFACE_F_UP
	.word	INTERFACE_F_MULTICAST
	.word	ISC_R_SUCCESS
	.word	INTERFACE_F_LOOPBACK
	.word	.LC0
	.word	.LC1
	.size	internal_current6, .-internal_current6
	.comm	TRUE,4,4
	.comm	ISC_R_SUCCESS,4,4
	.comm	INTERFACE_F_UP,4,4
	.comm	INTERFACE_F_MULTICAST,4,4
	.comm	INTERFACE_F_LOOPBACK,4,4
	.comm	FALSE,4,4
	.comm	AF_INET6,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
