	.file	"extr_Network.c_GetHostIPAddressList.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	GetHostIPAddressList
	.type	GetHostIPAddressList, @function
GetHostIPAddressList:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdi, QWORD PTR host_ip_address_list_cache_lock[rip]
	test	rdi, rdi
	je	.L17
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	call	Lock@PLT
	xor	eax, eax
	call	Tick64@PLT
	mov	rdi, QWORD PTR host_ip_address_cache[rip]
	mov	r12, rax
	mov	rax, QWORD PTR host_ip_address_list_cache_last[rip]
	test	rax, rax
	je	.L4
	add	rax, QWORD PTR HOST_IP_ADDRESS_LIST_CACHE[rip]
	cmp	rax, r12
	jl	.L4
	test	rdi, rdi
	jne	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	call	GetHostIPAddressListInternal@PLT
	mov	QWORD PTR host_ip_address_list_cache_last[rip], r12
	mov	QWORD PTR host_ip_address_cache[rip], rax
	mov	rdi, rax
.L6:
	call	CloneIPAddressList@PLT
	mov	rdi, QWORD PTR host_ip_address_list_cache_lock[rip]
	mov	r12, rax
	call	Unlock@PLT
	test	r12, r12
	je	.L18
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	test	rdi, rdi
	je	.L5
	call	FreeHostIPAddressList@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_def_cfa_offset 8
	.cfi_restore 12
	xor	eax, eax
	jmp	GetHostIPAddressListInternal@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	GetHostIPAddressListInternal@PLT
	.cfi_endproc
.LFE0:
	.size	GetHostIPAddressList, .-GetHostIPAddressList
	.comm	host_ip_address_list_cache_lock,8,8
	.comm	host_ip_address_list_cache_last,8,8
	.comm	host_ip_address_cache,8,8
	.comm	HOST_IP_ADDRESS_LIST_CACHE,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_Network.c_GetHostIPAddressList.c"
	.text
	.align	2
	.global	GetHostIPAddressList
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetHostIPAddressList, %function
GetHostIPAddressList:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L18
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L15
	bl	Lock
	bl	Tick64
	ldr	r6, .L18+4
	mov	r4, r0
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L17
	ldr	r7, .L18+8
	ldr	r0, [r7]
.L4:
	cmp	r0, #0
	beq	.L5
	bl	FreeHostIPAddressList
.L5:
	bl	GetHostIPAddressListInternal
	str	r4, [r6]
	str	r0, [r7]
.L6:
	bl	CloneIPAddressList
	mov	r4, r0
	ldr	r0, [r5]
	bl	Unlock
	cmp	r4, #0
	beq	.L15
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r2, .L18+12
	ldr	r7, .L18+8
	ldr	r2, [r2]
	add	r3, r3, r2
	cmp	r3, r0
	ldr	r0, [r7]
	blt	.L4
	cmp	r0, #0
	bne	.L6
	b	.L5
.L15:
	pop	{r4, r5, r6, r7, r8, lr}
	b	GetHostIPAddressListInternal
.L19:
	.align	2
.L18:
	.word	host_ip_address_list_cache_lock
	.word	host_ip_address_list_cache_last
	.word	host_ip_address_cache
	.word	HOST_IP_ADDRESS_LIST_CACHE
	.size	GetHostIPAddressList, .-GetHostIPAddressList
	.comm	host_ip_address_list_cache_lock,4,4
	.comm	host_ip_address_list_cache_last,4,4
	.comm	host_ip_address_cache,4,4
	.comm	HOST_IP_ADDRESS_LIST_CACHE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
