	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pending_udp_query              ## -- Begin function pending_udp_query
	.p2align	4, 0x90
_pending_udp_query:                     ## @pending_udp_query
	.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	%r8, %r13
	movq	%rcx, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$88, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	%rax, 80(%rbx)
	movq	%r14, 72(%rbx)
	movl	8(%r14), %edx
	movl	%edx, 68(%rbx)
	movq	%rbx, %rdi
	addq	$64, %rdi
	leaq	12(%r14), %rsi
	callq	_memmove
	movq	%r12, 56(%rbx)
	movq	%r13, 48(%rbx)
	movq	%rbx, 40(%rbx)
	movq	(%r14), %rax
	movl	24(%rax), %edi
	movq	_pending_udp_timer_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_comm_timer_create
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	(%r14), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_randomize_and_send_udp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_pending_delete
	jmp	LBB0_9
LBB0_4:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_sldns_buffer_limit
	movl	%eax, 32(%rbx)
	movq	%r15, %rdi
	callq	_sldns_buffer_begin
	movl	32(%rbx), %esi
	movl	%eax, %edi
	callq	_memdup
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%r14), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	cmoveq	%rax, %rcx
	movq	%rbx, 8(%rcx)
	movq	%rbx, (%rax)
	jmp	LBB0_10
LBB0_5:
	movl	16(%rbx), %edi
	callq	_comm_timer_delete
LBB0_2:
	movq	%rbx, %rdi
	callq	_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pending_udp_timer_cb,4,2       ## @pending_udp_timer_cb
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no fds available, udp query waiting"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pending_udp_query              ; -- Begin function pending_udp_query
	.p2align	2
_pending_udp_query:                     ; @pending_udp_query
	.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	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #88
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x20]
	stp	x20, x8, [x19, #72]
	ldr	w2, [x20, #8]
	str	w2, [x19, #68]
	add	x0, x19, #64
	add	x1, x20, #12
	bl	_memmove
	stp	x23, x24, [x19, #48]
	str	x19, [x19, #40]
	ldr	x8, [x20]
	ldr	w0, [x8, #24]
Lloh0:
	adrp	x8, _pending_udp_timer_cb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pending_udp_timer_cb@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_comm_timer_create
	str	w0, [x19, #16]
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_randomize_and_send_udp
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_pending_delete
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	str	w22, [x19]
	mov	x0, x21
	bl	_sldns_buffer_limit
	str	w0, [x19, #32]
	mov	x0, x21
	bl	_sldns_buffer_begin
	ldr	w1, [x19, #32]
	bl	_memdup
	str	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x20]
	ldr	x9, [x8]
	add	x10, x8, #8
	add	x11, x9, #8
	cmp	x9, #0
	csel	x9, x10, x11, eq
	str	x19, [x9]
	str	x19, [x8]
	b	LBB0_10
LBB0_7:
	ldr	w0, [x19, #16]
	bl	_comm_timer_delete
LBB0_8:
	mov	x0, x19
	bl	_free
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pending_udp_timer_cb,4,2       ; @pending_udp_timer_cb
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no fds available, udp query waiting"

.subsections_via_symbols
