	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function evdns_base_clear_nameservers_and_suspend
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_evdns_base_clear_nameservers_and_suspend
	.p2align	4, 0x90
_evdns_base_clear_nameservers_and_suspend: ## @evdns_base_clear_nameservers_and_suspend
	.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	%rdi, %r15
	callq	_EVDNS_LOCK
	movq	48(%r15), %r12
	testq	%r12, %r12
	je	LBB0_16
## %bb.1:
	movq	%r12, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_mm_free
	movq	%r13, %r14
	cmpq	%r12, %r13
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %r13
	leaq	24(%r14), %rdi
	callq	_event_del
	leaq	20(%r14), %rbx
	movq	%rbx, %rdi
	callq	_evtimer_initialized
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_evtimer_del
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %edi
	callq	_evdns_cancel_request
	movq	$0, 8(%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	js	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_evutil_closesocket
	jmp	LBB0_8
LBB0_9:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r15)
	cmpl	$0, (%r15)
	jle	LBB0_15
## %bb.10:
	leaq	24(%r15), %r14
	xorl	%ecx, %ecx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rax,%rcx,8)
	incq	%rcx
	movslq	(%r15), %rax
	cmpq	%rax, %rcx
	jge	LBB0_15
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	16(%r15), %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %r13
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	48(%rbx), %r12
	leaq	16(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	callq	_evtimer_del
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	incl	32(%r15)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_evdns_request_insert
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movq	%r12, %rbx
	cmpq	%r13, %r12
	jne	LBB0_12
	jmp	LBB0_14
LBB0_15:
	movq	$0, 8(%r15)
LBB0_16:
	movq	%r15, %rdi
	callq	_EVDNS_UNLOCK
	xorl	%eax, %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_clear_nameservers_and_suspend ; -- Begin function evdns_base_clear_nameservers_and_suspend
	.p2align	2
_evdns_base_clear_nameservers_and_suspend: ; @evdns_base_clear_nameservers_and_suspend
	.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	x19, x0
	bl	_EVDNS_LOCK
	ldr	x22, [x19, #48]
	cbz	x22, LBB0_16
; %bb.1:
	mov	x20, x22
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_mm_free
	mov	x20, x23
	cmp	x23, x22
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20, #32]
	add	x0, x20, #24
	bl	_event_del
	add	x21, x20, #20
	mov	x0, x21
	bl	_evtimer_initialized
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_evtimer_del
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
	bl	_evdns_cancel_request
	str	xzr, [x20, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	tbnz	x0, #63, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_evutil_closesocket
	b	LBB0_2
LBB0_9:
	stp	xzr, xzr, [x19, #40]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.10:
	mov	x22, #0
	add	x20, x19, #24
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #16]
	str	xzr, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [x19, #16]
	ldr	x23, [x8, x22, lsl #3]
	mov	x21, x23
LBB0_13:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x21, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x24, [x21, #48]
	add	x0, x21, #16
	stp	xzr, xzr, [x21, #32]
	str	xzr, [x21, #24]
	bl	_evtimer_del
	stp	xzr, xzr, [x21]
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	mov	x0, x21
	mov	x1, x20
	bl	_evdns_request_insert
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	x21, x24
	cmp	x24, x23
	b.ne	LBB0_13
	b	LBB0_11
LBB0_15:
	str	xzr, [x19, #8]
LBB0_16:
	mov	x0, x19
	bl	_EVDNS_UNLOCK
	mov	w0, #0
	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
