	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nameserver_up
_nameserver_up:                         ## @nameserver_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$144, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	8(%rdi), %rdi
	callq	_ASSERT_LOCKED
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.1:
	movq	_EVDNS_LOG_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	44(%rbx), %rdi
	leaq	-160(%rbp), %rsi
	movl	$128, %edx
	callq	_evutil_format_sockaddr_port_
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_log
	leaq	40(%rbx), %rdi
	callq	_evtimer_del
	movq	32(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	callq	_evdns_cancel_request
	movq	$0, 32(%rbx)
LBB0_3:
	movl	$1, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	8(%rbx), %rax
	incl	(%rax)
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$144, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVDNS_LOG_MSG,4,2              ## @EVDNS_LOG_MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Nameserver %s is back up"

	.no_dead_strip	_nameserver_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nameserver_up
_nameserver_up:                         ; @nameserver_up
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x0, [x0, #8]
	bl	_ASSERT_LOCKED
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _EVDNS_LOG_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVDNS_LOG_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	add	x0, x19, #44
	add	x1, sp, #8
	mov	w2, #128
	bl	_evutil_format_sockaddr_port_
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_log
	add	x0, x19, #40
	bl	_evtimer_del
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x0, [x19, #8]
	bl	_evdns_cancel_request
	str	xzr, [x19, #32]
LBB0_3:
	mov	w8, #1
	str	w8, [x19]
	stp	xzr, xzr, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_4:
	ldur	x8, [x29, #-24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EVDNS_LOG_MSG,4,2              ; @EVDNS_LOG_MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Nameserver %s is back up"

	.no_dead_strip	_nameserver_up
.subsections_via_symbols
