	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evdns_request_transmit_to
_evdns_request_transmit_to:             ## @evdns_request_transmit_to
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rdi), %rdi
	callq	_ASSERT_LOCKED
	movq	%r14, %rdi
	callq	_ASSERT_VALID_REQUEST
	cmpl	$1, (%rbx)
	jne	LBB0_4
## %bb.1:
	movq	24(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	leaq	16(%rbx), %rdi
	xorl	%esi, %esi
	callq	_event_add
	testq	%rax, %rax
	js	LBB0_3
LBB0_4:
	movq	(%r14), %rdx
	movq	16(%r14), %rsi
	leaq	12(%rbx), %r8
	movl	4(%rbx), %edi
	movl	8(%rbx), %r9d
	xorl	%ecx, %ecx
	callq	_sendto
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	(%r14), %ecx
	setne	%al
	jmp	LBB0_8
LBB0_5:
	movl	4(%rbx), %edi
	callq	_evutil_socket_geterror
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_EVUTIL_ERR_RW_RETRIABLE
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.6:
	movl	8(%r14), %r14d
	movl	%ebx, %edi
	callq	_evutil_socket_error_to_string
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_nameserver_failed
	movl	$2, %eax
	jmp	LBB0_8
LBB0_3:
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_evdns_request_transmit_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evdns_request_transmit_to
_evdns_request_transmit_to:             ; @evdns_request_transmit_to
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #24]
	bl	_ASSERT_LOCKED
	mov	x0, x19
	bl	_ASSERT_VALID_REQUEST
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x20, #16
	mov	x1, #0
	bl	_event_add
	tbnz	x0, #63, LBB0_6
LBB0_3:
	ldr	x1, [x19, #16]
	ldr	x2, [x19]
	add	x4, x20, #12
	ldp	w0, w5, [x20, #4]
	mov	w3, #0
	bl	_sendto
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	w8, [x19]
	cmp	w0, w8
	cset	w0, ne
	b	LBB0_8
LBB0_5:
	ldr	w0, [x20, #4]
	bl	_evutil_socket_geterror
	mov	x20, x0
	bl	_EVUTIL_ERR_RW_RETRIABLE
	cbz	x0, LBB0_7
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	ldr	w19, [x19, #8]
	mov	x0, x20
	bl	_evutil_socket_error_to_string
	mov	x1, x0
	mov	x0, x19
	bl	_nameserver_failed
	mov	w0, #2
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_evdns_request_transmit_to
.subsections_via_symbols
