	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_base_get_nameserver_addr ## -- Begin function evdns_base_get_nameserver_addr
	.p2align	4, 0x90
_evdns_base_get_nameserver_addr:        ## @evdns_base_get_nameserver_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	callq	_EVDNS_LOCK
	movq	(%r12), %rax
	testq	%rax, %rax
	setne	%cl
	testl	%r13d, %r13d
	jle	LBB0_1
## %bb.5:
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movl	$1, %edx
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rbx
	cmpq	%rax, %rbx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_9 Depth=1
	testq	%rbx, %rbx
	setne	%cl
	cmpl	%r13d, %edx
	jge	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incl	%edx
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_2
LBB0_1:
	movq	%rax, %rbx
LBB0_2:
	movl	$-1, %r13d
	testb	%cl, %cl
	je	LBB0_11
## %bb.3:
	movq	(%rbx), %r13
	cmpq	%r15, %r13
	jg	LBB0_11
## %bb.4:
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_memcpy
	movl	(%rbx), %r13d
	jmp	LBB0_11
LBB0_10:
	movl	$-1, %r13d
LBB0_11:
	movq	%r12, %rdi
	callq	_EVDNS_UNLOCK
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_base_get_nameserver_addr ; -- Begin function evdns_base_get_nameserver_addr
	.p2align	2
_evdns_base_get_nameserver_addr:        ; @evdns_base_get_nameserver_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_EVDNS_LOCK
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w9, ne
	cmp	w22, #1
	b.lt	LBB0_9
; %bb.1:
	cbz	x8, LBB0_9
; %bb.2:
	mov	w10, #1
	mov	x23, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x23, #16]
	cmp	x23, x8
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x23, #0
	cset	w9, ne
	cmp	w10, w22
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w10, w10, #1
	cbnz	x23, LBB0_3
LBB0_6:
	cbz	w9, LBB0_10
LBB0_7:
	ldr	x22, [x23]
	cmp	x22, x21
	b.gt	LBB0_11
; %bb.8:
	add	x1, x23, #8
	mov	x0, x20
	mov	x2, x22
	bl	_memcpy
	ldr	w22, [x23]
	b	LBB0_11
LBB0_9:
	mov	x23, x8
	cbnz	w9, LBB0_7
LBB0_10:
	mov	w22, #-1
LBB0_11:
	mov	x0, x19
	bl	_EVDNS_UNLOCK
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
