	.file	"extr_evdns.c_evdns_base_get_nameserver_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	evdns_base_get_nameserver_addr
	.type	evdns_base_get_nameserver_addr, @function
evdns_base_get_nameserver_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	EVDNS_LOCK@PLT
	mov	rdx, QWORD PTR [r14]
	mov	rbx, rdx
	test	ebp, ebp
	jle	.L2
	test	rdx, rdx
	je	.L2
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	add	eax, 1
	cmp	ebp, eax
	jle	.L2
	test	rbx, rbx
	je	.L9
.L4:
	mov	rbx, QWORD PTR 16[rbx]
	cmp	rbx, rdx
	jne	.L22
.L9:
	mov	r12d, -1
.L3:
	mov	rdi, r14
	call	EVDNS_UNLOCK@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L2:
	.cfi_restore_state
	test	rbx, rbx
	je	.L9
	mov	rdx, QWORD PTR [rbx]
	cmp	rdx, r12
	jle	.L6
	mov	r12d, edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rsi, 8[rbx]
	mov	rdi, r13
	call	memcpy@PLT
	mov	r12d, DWORD PTR [rbx]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	evdns_base_get_nameserver_addr, .-evdns_base_get_nameserver_addr
	.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_evdns.c_evdns_base_get_nameserver_addr.c"
	.text
	.align	2
	.global	evdns_base_get_nameserver_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	evdns_base_get_nameserver_addr, %function
evdns_base_get_nameserver_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r1
	mov	r8, r2
	mov	r7, r3
	bl	EVDNS_LOCK
	ldr	r1, [r6]
	cmp	r1, #0
	cmpne	r5, #0
	mov	r4, r1
	ble	.L2
	mov	ip, #0
	b	.L4
.L11:
	cmp	r4, #0
	cmpne	r5, ip
	ble	.L2
.L4:
	ldr	r4, [r4, #8]
	add	ip, ip, #1
	cmp	r4, r1
	bne	.L11
.L7:
	mvn	r5, #0
.L3:
	mov	r0, r6
	bl	EVDNS_UNLOCK
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	cmp	r4, #0
	beq	.L7
	ldr	r5, [r4]
	cmp	r5, r7
	bgt	.L3
	mov	r2, r5
	mov	r0, r8
	add	r1, r4, #4
	bl	memcpy
	ldr	r5, [r4]
	b	.L3
	.size	evdns_base_get_nameserver_addr, .-evdns_base_get_nameserver_addr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
