	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serviced_udp_send
_serviced_udp_send:                     ## @serviced_udp_send
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	16(%rax), %rcx
	movl	(%rcx), %r9d
	movl	8(%rax), %edi
	leaq	48(%rbx), %rsi
	movl	44(%rbx), %edx
	movl	40(%rbx), %ecx
	movl	36(%rbx), %r8d
	subq	$8, %rsp
	leaq	-28(%rbp), %rax
	leaq	-40(%rbp), %r10
	leaq	-32(%rbp), %r11
	pushq	%rax
	pushq	%r10
	pushq	%r11
	callq	_infra_host
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-28(%rbp), %eax
	movl	%eax, (%rbx)
	movq	_VERB_ALGO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	8(%rbx), %rax
	movq	_serviced_initial@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	cmpl	$-1, -32(%rbp)
	jne	LBB0_4
## %bb.5:
	movq	_serviced_query_UDP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_serviced_query_UDP_EDNS@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	_serviced_query_UDP_EDNS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_serviced_query_UDP_EDNS_FRAG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_serviced_encode
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, 16(%rbx)
	movl	(%r15), %edi
	movl	-28(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movl	-28(%rbp), %edx
	movq	_serviced_udp_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r8
	callq	_pending_udp_query
	movl	%eax, %ecx
	movl	%eax, 20(%rbx)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EDNS lookup known=%d vs=%d"

	.comm	_serviced_initial,8,3           ## @serviced_initial
	.comm	_serviced_query_UDP_EDNS,8,3    ## @serviced_query_UDP_EDNS
	.comm	_serviced_query_UDP,8,3         ## @serviced_query_UDP
	.comm	_serviced_query_UDP_EDNS_FRAG,8,3 ## @serviced_query_UDP_EDNS_FRAG
L_.str.1:                               ## @.str.1
	.asciz	"serviced query UDP timeout=%d msec"

	.comm	_serviced_udp_callback,4,2      ## @serviced_udp_callback
	.no_dead_strip	_serviced_udp_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serviced_udp_send
_serviced_udp_send:                     ; @serviced_udp_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x9, [x8, #16]
	ldr	w5, [x9]
	ldr	w0, [x8, #8]
	add	x1, x19, #48
	ldp	w3, w2, [x19, #40]
	ldr	w4, [x19, #36]
	add	x8, sp, #28
	str	x8, [sp]
	add	x6, sp, #24
	add	x7, sp, #16
	bl	_infra_host
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #28]
	str	w8, [x19]
Lloh0:
	adrp	x21, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w2, [sp, #16]
	ldr	w8, [sp, #24]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x8, [x19, #8]
Lloh4:
	adrp	x9, _serviced_initial@GOTPAGE
Lloh5:
	ldr	x9, [x9, _serviced_initial@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x9]
Lloh7:
	adrp	x9, _serviced_query_UDP_EDNS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _serviced_query_UDP_EDNS@GOTPAGEOFF]
	cmp	x8, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [sp, #24]
Lloh9:
	adrp	x10, _serviced_query_UDP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _serviced_query_UDP@GOTPAGEOFF]
	cmn	w8, #1
	csel	x8, x10, x9, eq
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_3:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh11:
	adrp	x9, _serviced_query_UDP_EDNS_FRAG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _serviced_query_UDP_EDNS_FRAG@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w2, eq
	mov	x0, x19
	mov	x1, x20
	bl	_serviced_encode
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	x8, [sp, #16]
	str	w8, [x19, #16]
	ldr	w0, [x21]
	ldr	w2, [sp, #28]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
	ldr	w2, [sp, #28]
Lloh16:
	adrp	x8, _serviced_udp_callback@GOTPAGE
Lloh17:
	ldr	x8, [x8, _serviced_udp_callback@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x4, x19
	bl	_pending_udp_query
	str	w0, [x19, #20]
	cmp	w0, #0
	cset	w0, ne
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EDNS lookup known=%d vs=%d"

	.comm	_serviced_initial,8,3           ; @serviced_initial
	.comm	_serviced_query_UDP_EDNS,8,3    ; @serviced_query_UDP_EDNS
	.comm	_serviced_query_UDP,8,3         ; @serviced_query_UDP
	.comm	_serviced_query_UDP_EDNS_FRAG,8,3 ; @serviced_query_UDP_EDNS_FRAG
l_.str.1:                               ; @.str.1
	.asciz	"serviced query UDP timeout=%d msec"

	.comm	_serviced_udp_callback,4,2      ; @serviced_udp_callback
	.no_dead_strip	_serviced_udp_send
.subsections_via_symbols
