	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query
_query:                                 ## @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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_o_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	%r15, %rdi
	callq	_print_rdf_nodot
	leaq	L_str.5(%rip), %rdi
	callq	_puts
LBB0_2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ldns_resolver_nameserver_count
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movl	%eax, %r13d
	xorl	%r15d, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	cmpl	%r15d, %r13d
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_o_recursive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$0, %r9d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_LDNS_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_o_rrtype@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_o_rrclass@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_o_ixfr_serial@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	pushq	%r14
	pushq	%r15
	pushq	%rax
	callq	_ldns_resolver_send_to
	addq	$32, %rsp
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	callq	_ldns_pkt_tc
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_ldns_resolver_usevc
	testl	%eax, %eax
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_o_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_str.4(%rip), %rdi
	callq	_puts
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_ldns_resolver_set_usevc
	movq	_o_rrtype@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_o_rrclass@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_o_recursive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$0, %r9d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_LDNS_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_o_ixfr_serial@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	pushq	%r14
	pushq	%r15
	pushq	%rax
	callq	_ldns_resolver_send_to
	addq	$32, %rsp
	movq	%rax, %r14
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_ldns_resolver_set_usevc
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_8
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	callq	_ldns_pkt_get_rcode
	movq	_o_ignore_servfail@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %r13d
	jne	LBB0_8
LBB0_21:
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	jmp	LBB0_22
LBB0_9:
	xorl	%ecx, %ecx
	cmpq	$0, (%rbx)
	je	LBB0_10
LBB0_22:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_o_verbose,8,3                  ## @o_verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying \""

	.comm	_o_rrtype,4,2                   ## @o_rrtype
	.comm	_o_rrclass,4,2                  ## @o_rrclass
	.comm	_o_recursive,8,3                ## @o_recursive
	.comm	_LDNS_RD,4,2                    ## @LDNS_RD
	.comm	_o_ixfr_serial,4,2              ## @o_ixfr_serial
	.comm	_LDNS_STATUS_OK,8,3             ## @LDNS_STATUS_OK
	.comm	_o_ignore_servfail,8,3          ## @o_ignore_servfail
	.comm	_LDNS_RCODE_SERVFAIL,8,3        ## @LDNS_RCODE_SERVFAIL
	.comm	_LDNS_RCODE_NOERROR,8,3         ## @LDNS_RCODE_NOERROR
L_str:                                  ## @str
	.asciz	";; connection timed out; no servers could be reached"

L_str.4:                                ## @str.4
	.asciz	";; Truncated, retrying in TCP mode."

L_str.5:                                ## @str.5
	.asciz	"\""

	.no_dead_strip	_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query
_query:                                 ; @query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _o_verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _o_verbose@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x21
	bl	_print_rdf_nodot
Lloh5:
	adrp	x0, l_str.5@PAGE
Lloh6:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
LBB0_2:
	mov	x0, x22
	bl	_ldns_resolver_nameserver_count
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.3:
	mov	x23, x0
	mov	w24, #0
Lloh7:
	adrp	x26, _o_rrtype@GOTPAGE
Lloh8:
	ldr	x26, [x26, _o_rrtype@GOTPAGEOFF]
Lloh9:
	adrp	x28, _o_rrclass@GOTPAGE
Lloh10:
	ldr	x28, [x28, _o_rrclass@GOTPAGEOFF]
Lloh11:
	adrp	x25, _o_recursive@GOTPAGE
Lloh12:
	ldr	x25, [x25, _o_recursive@GOTPAGEOFF]
Lloh13:
	adrp	x27, _LDNS_RD@GOTPAGE
Lloh14:
	ldr	x27, [x27, _LDNS_RD@GOTPAGEOFF]
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	cmp	w23, w24
	b.eq	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x26]
	ldr	w4, [x28]
	ldr	x8, [x25]
	ldr	w9, [x27]
	cmp	x8, #0
	csel	w5, wzr, w9, eq
Lloh15:
	adrp	x8, _o_ixfr_serial@GOTPAGE
Lloh16:
	ldr	x8, [x8, _o_ixfr_serial@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	str	w20, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x7, x24
	bl	_ldns_resolver_send_to
Lloh18:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	bl	_ldns_pkt_tc
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_ldns_resolver_usevc
	cbnz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh21:
	adrp	x8, _o_verbose@GOTPAGE
Lloh22:
	ldr	x8, [x8, _o_verbose@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x0, l_str.4@PAGE
Lloh25:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_ldns_resolver_set_usevc
	ldr	w3, [x26]
	ldr	w4, [x28]
	ldr	x8, [x25]
	ldr	w9, [x27]
	cmp	x8, #0
	csel	w5, wzr, w9, eq
Lloh26:
	adrp	x8, _o_ixfr_serial@GOTPAGE
Lloh27:
	ldr	x8, [x8, _o_ixfr_serial@GOTPAGEOFF]
Lloh28:
	ldr	w6, [x8]
	str	w20, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x7, x24
	bl	_ldns_resolver_send_to
	mov	x21, x20
	mov	x20, x27
	mov	x27, x25
	mov	x25, x28
	mov	x28, x26
	mov	x26, x0
	mov	x0, x22
	mov	w1, #0
	bl	_ldns_resolver_set_usevc
Lloh29:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x26, x8
	mov	x26, x28
	mov	x28, x25
	mov	x25, x27
	mov	x27, x20
	mov	x20, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	b.ne	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	bl	_ldns_pkt_get_rcode
Lloh32:
	adrp	x8, _o_ignore_servfail@GOTPAGE
Lloh33:
	ldr	x8, [x8, _o_ignore_servfail@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh35:
	adrp	x8, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x0, x8
	ccmp	w23, #1, #4, eq
	b.ne	LBB0_5
LBB0_14:
Lloh38:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	b	LBB0_17
LBB0_15:
	ldr	x8, [x19]
	cbz	x8, LBB0_18
; %bb.16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
Lloh41:
	adrp	x0, l_str@PAGE
Lloh42:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_o_verbose,8,3                  ; @o_verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying \""

	.comm	_o_rrtype,4,2                   ; @o_rrtype
	.comm	_o_rrclass,4,2                  ; @o_rrclass
	.comm	_o_recursive,8,3                ; @o_recursive
	.comm	_LDNS_RD,4,2                    ; @LDNS_RD
	.comm	_o_ixfr_serial,4,2              ; @o_ixfr_serial
	.comm	_LDNS_STATUS_OK,8,3             ; @LDNS_STATUS_OK
	.comm	_o_ignore_servfail,8,3          ; @o_ignore_servfail
	.comm	_LDNS_RCODE_SERVFAIL,8,3        ; @LDNS_RCODE_SERVFAIL
	.comm	_LDNS_RCODE_NOERROR,8,3         ; @LDNS_RCODE_NOERROR
l_str:                                  ; @str
	.asciz	";; connection timed out; no servers could be reached"

l_str.4:                                ; @str.4
	.asciz	";; Truncated, retrying in TCP mode."

l_str.5:                                ; @str.5
	.asciz	"\""

	.no_dead_strip	_query
.subsections_via_symbols
