	.file	"extr_evdns.c_evdns_request_transmit_to.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	evdns_request_transmit_to, @function
evdns_request_transmit_to:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 24[rdi]
	call	ASSERT_LOCKED@PLT
	mov	rdi, rbx
	call	ASSERT_VALID_REQUEST@PLT
	cmp	DWORD PTR 0[rbp], 1
	jne	.L5
	mov	rax, QWORD PTR 24[rbx]
	cmp	QWORD PTR [rax], 0
	jne	.L11
.L5:
	mov	rsi, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR 4[rbp]
	xor	ecx, ecx
	lea	r8, 12[rbp]
	mov	r9d, DWORD PTR 8[rbp]
	mov	rdx, QWORD PTR [rbx]
	call	sendto@PLT
	test	eax, eax
	js	.L12
	cmp	eax, DWORD PTR [rbx]
	setne	al
	movzx	eax, al
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbp]
	call	evutil_socket_geterror@PLT
	mov	edi, eax
	mov	ebp, eax
	call	EVUTIL_ERR_RW_RETRIABLE@PLT
	test	rax, rax
	je	.L13
.L7:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	esi, esi
	lea	rdi, 16[rbp]
	call	event_add@PLT
	test	rax, rax
	jns	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, ebp
	call	evutil_socket_error_to_string@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, eax
	call	nameserver_failed@PLT
	mov	eax, 2
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	evdns_request_transmit_to, .-evdns_request_transmit_to
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_evdns.c_evdns_request_transmit_to.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	evdns_request_transmit_to, %function
evdns_request_transmit_to:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #12
	ldr	r0, [r0, #12]
	bl	ASSERT_LOCKED
	mov	r0, r4
	bl	ASSERT_VALID_REQUEST
	ldr	r3, [r5]
	cmp	r3, #1
	bne	.L5
	ldr	r3, [r4, #12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
.L5:
	ldr	r2, [r5, #8]
	add	r3, r5, #12
	str	r3, [sp]
	str	r2, [sp, #4]
	mov	r3, #0
	ldr	r2, [r4]
	ldr	r1, [r4, #8]
	ldr	r0, [r5, #4]
	bl	sendto
	cmp	r0, #0
	blt	.L15
	ldr	r3, [r4]
	subs	r0, r3, r0
	movne	r0, #1
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	ldr	r0, [r5, #4]
	bl	evutil_socket_geterror
	mov	r5, r0
	bl	EVUTIL_ERR_RW_RETRIABLE
	cmp	r0, #0
	beq	.L16
.L7:
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L14:
	mov	r1, #0
	add	r0, r5, #16
	bl	event_add
	cmp	r0, #0
	bge	.L5
	b	.L7
.L16:
	mov	r0, r5
	ldr	r4, [r4, #4]
	bl	evutil_socket_error_to_string
	mov	r1, r0
	mov	r0, r4
	bl	nameserver_failed
	mov	r0, #2
	b	.L1
	.size	evdns_request_transmit_to, .-evdns_request_transmit_to
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
