	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evdns_getaddrinfo_timeout_cb
_evdns_getaddrinfo_timeout_cb:          ## @evdns_getaddrinfo_timeout_cb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	48(%rdx), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_evdns_cancel_request
	movq	32(%rbx), %rdi
	callq	_EVDNS_LOCK
	movq	32(%rbx), %rdi
	incl	4(%rdi)
	callq	_EVDNS_UNLOCK
LBB0_2:
	movq	40(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_evdns_cancel_request
	movq	32(%rbx), %rdi
	callq	_EVDNS_LOCK
	movq	32(%rbx), %rdi
	incl	(%rdi)
	callq	_EVDNS_UNLOCK
LBB0_4:
	testq	%r15, %r15
	sete	%al
	testq	%r14, %r14
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_EVUTIL_ASSERT
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_add_cname_to_reply
	leaq	8(%rbx), %r12
	movq	24(%rbx), %rsi
	movl	16(%rbx), %edx
	xorl	%edi, %edi
	callq	*8(%rbx)
	movq	$0, 24(%rbx)
	jmp	LBB0_9
LBB0_6:
	movl	(%rbx), %edi
	movl	16(%rbx), %edx
	testl	%edi, %edi
	jne	LBB0_8
## %bb.7:
	movq	_EVUTIL_EAI_AGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_8:
	leaq	8(%rbx), %r12
	xorl	%esi, %esi
	callq	*8(%rbx)
LBB0_9:
	movq	$0, (%r12)
	orq	%r15, %r14
	jne	LBB0_10
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_getaddrinfo_request       ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVUTIL_EAI_AGAIN,4,2           ## @EVUTIL_EAI_AGAIN
	.no_dead_strip	_evdns_getaddrinfo_timeout_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evdns_getaddrinfo_timeout_cb
_evdns_getaddrinfo_timeout_cb:          ; @evdns_getaddrinfo_timeout_cb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	ldr	x20, [x2, #48]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, #0
	mov	x1, x20
	bl	_evdns_cancel_request
	ldr	x0, [x19, #32]
	bl	_EVDNS_LOCK
	ldr	x0, [x19, #32]
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	bl	_EVDNS_UNLOCK
LBB0_2:
	ldr	x21, [x19, #40]
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, #0
	mov	x1, x21
	bl	_evdns_cancel_request
	ldr	x0, [x19, #32]
	bl	_EVDNS_LOCK
	ldr	x0, [x19, #32]
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	bl	_EVDNS_UNLOCK
LBB0_4:
	cmp	x20, #0
	ccmp	x21, #0, #4, ne
	cset	w0, eq
	bl	_EVUTIL_ASSERT
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_add_cname_to_reply
	mov	x22, x19
	ldr	x8, [x22, #8]!
	ldr	x1, [x22, #16]
	ldr	w2, [x22, #8]
	mov	w0, #0
	blr	x8
	str	xzr, [x22, #16]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _EVUTIL_EAI_AGAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVUTIL_EAI_AGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w8, eq
	mov	x22, x19
	ldr	x8, [x22, #8]!
	ldr	w2, [x19, #16]
	blr	x8
LBB0_7:
	str	xzr, [x22]
	orr	x8, x20, x21
	cbnz	x8, LBB0_9
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free_getaddrinfo_request
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVUTIL_EAI_AGAIN,4,2           ; @EVUTIL_EAI_AGAIN
	.no_dead_strip	_evdns_getaddrinfo_timeout_cb
.subsections_via_symbols
