	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_pquery                     ## -- Begin function res_pquery
	.p2align	4, 0x90
_res_pquery:                            ## @res_pquery
	.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
	movq	%rcx, %r13
	movq	%rdi, %r14
	leaq	-44(%rbp), %rax
	movq	%rsi, %rdi
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_ns_initparse
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-44(%rbp), %edi
	movq	_ns_f_opcode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	movq	%rax, %rbx
	movl	-44(%rbp), %edi
	movq	_ns_f_rcode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	movq	%rax, %r15
	movl	-44(%rbp), %edi
	callq	_ns_msg_id
	movq	%rax, %r12
	movl	-44(%rbp), %edi
	movq	_ns_s_qd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_count
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi
	movq	_ns_s_an@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_count
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi
	movq	_ns_s_ns@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_count
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi
	movq	_ns_s_ar@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_count
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	_RES_PRF_HEADX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	testq	%r15, %r15
	je	LBB0_6
LBB0_5:
	movq	__res_opcodes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%r14, %r15
	movq	%r12, %r14
	movq	(%rax,%rbx,8), %r12
	callq	_p_rcode
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%rax, %rcx
	movq	%r14, %r8
	movq	%r15, %r14
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movq	_RES_PRF_HEADX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_7:
	movl	$59, %edi
	movq	%r13, %rsi
	callq	_putc
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	movq	_RES_PRF_HEAD2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movl	$8, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
	movl	-44(%rbp), %edi
	movq	_ns_f_qr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_11:
	movl	-44(%rbp), %edi
	movq	_ns_f_aa@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_13:
	movl	-44(%rbp), %edi
	movq	_ns_f_tc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_15:
	movl	-44(%rbp), %edi
	movq	_ns_f_rd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.6(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_17:
	movl	-44(%rbp), %edi
	movq	_ns_f_ra@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.7(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_19:
	movl	-44(%rbp), %edi
	movq	_ns_f_z@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.8(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_21:
	movl	-44(%rbp), %edi
	movq	_ns_f_ad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.9(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_23:
	movl	-44(%rbp), %edi
	movq	_ns_f_cd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ns_msg_getflag
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	leaq	L_.str.10(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	callq	_fwrite
LBB0_25:
	movl	(%r14), %eax
	testl	%eax, %eax
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_27
## %bb.26:
	movq	_RES_PRF_HEAD1@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
LBB0_27:
	movq	_ns_s_qd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_p_section
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_ns_s_an@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_p_section
	leaq	L_.str.12(%rip), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movq	_ns_s_ns@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_p_section
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movq	_ns_s_ar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_p_section
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_29
LBB0_28:
	movq	_RES_PRF_HEADX@GOTPCREL(%rip), %rcx
	movq	_RES_PRF_HEAD2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_RES_PRF_HEAD1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_30
LBB0_29:
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_putc
LBB0_30:
	movq	_ns_s_qd@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RES_PRF_QUES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %r8
	callq	_do_section
	movq	_ns_s_an@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RES_PRF_ANS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %r8
	callq	_do_section
	movq	_ns_s_ns@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RES_PRF_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %r8
	callq	_do_section
	movq	_ns_s_ar@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RES_PRF_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %r8
	callq	_do_section
	testl	%r15d, %r15d
	jne	LBB0_35
## %bb.31:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_35
## %bb.32:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_35
## %bb.33:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_35
## %bb.34:
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_putc
	jmp	LBB0_35
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_35:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	";; ns_initparse: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_ns_f_opcode,4,2                ## @ns_f_opcode
	.comm	_ns_f_rcode,4,2                 ## @ns_f_rcode
	.comm	_ns_s_qd,4,2                    ## @ns_s_qd
	.comm	_ns_s_an,4,2                    ## @ns_s_an
	.comm	_ns_s_ns,4,2                    ## @ns_s_ns
	.comm	_ns_s_ar,4,2                    ## @ns_s_ar
	.comm	_RES_PRF_HEADX,4,2              ## @RES_PRF_HEADX
L_.str.1:                               ## @.str.1
	.asciz	";; ->>HEADER<<- opcode: %s, status: %s, id: %d\n"

	.comm	__res_opcodes,8,3               ## @_res_opcodes
	.comm	_RES_PRF_HEAD2,4,2              ## @RES_PRF_HEAD2
L_.str.2:                               ## @.str.2
	.asciz	"; flags:"

	.comm	_ns_f_qr,4,2                    ## @ns_f_qr
L_.str.3:                               ## @.str.3
	.asciz	" qr"

	.comm	_ns_f_aa,4,2                    ## @ns_f_aa
L_.str.4:                               ## @.str.4
	.asciz	" aa"

	.comm	_ns_f_tc,4,2                    ## @ns_f_tc
L_.str.5:                               ## @.str.5
	.asciz	" tc"

	.comm	_ns_f_rd,4,2                    ## @ns_f_rd
L_.str.6:                               ## @.str.6
	.asciz	" rd"

	.comm	_ns_f_ra,4,2                    ## @ns_f_ra
L_.str.7:                               ## @.str.7
	.asciz	" ra"

	.comm	_ns_f_z,4,2                     ## @ns_f_z
L_.str.8:                               ## @.str.8
	.asciz	" ??"

	.comm	_ns_f_ad,4,2                    ## @ns_f_ad
L_.str.9:                               ## @.str.9
	.asciz	" ad"

	.comm	_ns_f_cd,4,2                    ## @ns_f_cd
L_.str.10:                              ## @.str.10
	.asciz	" cd"

	.comm	_RES_PRF_HEAD1,4,2              ## @RES_PRF_HEAD1
L_.str.11:                              ## @.str.11
	.asciz	"; %s: %d"

L_.str.12:                              ## @.str.12
	.asciz	", %s: %d"

	.comm	_RES_PRF_QUES,4,2               ## @RES_PRF_QUES
	.comm	_RES_PRF_ANS,4,2                ## @RES_PRF_ANS
	.comm	_RES_PRF_AUTH,4,2               ## @RES_PRF_AUTH
	.comm	_RES_PRF_ADD,4,2                ## @RES_PRF_ADD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_pquery                     ; -- Begin function res_pquery
	.p2align	2
_res_pquery:                            ; @res_pquery
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x3
	mov	x8, x2
	mov	x20, x0
	add	x2, sp, #60
	mov	x0, x1
	mov	x1, x8
	bl	_ns_initparse
	tbnz	x0, #63, LBB0_34
; %bb.1:
	ldr	w0, [sp, #60]
Lloh0:
	adrp	x8, _ns_f_opcode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_f_opcode@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w0, [sp, #60]
Lloh3:
	adrp	x8, _ns_f_rcode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ns_f_rcode@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	mov	x26, x0
	ldr	w0, [sp, #60]
	bl	_ns_msg_id
	mov	x27, x0
	ldr	w0, [sp, #60]
Lloh6:
	adrp	x8, _ns_s_qd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ns_s_qd@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_ns_msg_count
	mov	x21, x0
	ldr	w0, [sp, #60]
Lloh9:
	adrp	x8, _ns_s_an@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ns_s_an@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_ns_msg_count
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w0, [sp, #60]
Lloh12:
	adrp	x25, _ns_s_ns@GOTPAGE
Lloh13:
	ldr	x25, [x25, _ns_s_ns@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_ns_msg_count
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w0, [sp, #60]
Lloh14:
	adrp	x28, _ns_s_ar@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ns_s_ar@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_ns_msg_count
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w8, [x20]
Lloh16:
	adrp	x24, _RES_PRF_HEADX@GOTPAGE
Lloh17:
	ldr	x24, [x24, _RES_PRF_HEADX@GOTPAGEOFF]
Lloh18:
	adrp	x22, _RES_PRF_HEAD2@GOTPAGE
Lloh19:
	ldr	x22, [x22, _RES_PRF_HEAD2@GOTPAGEOFF]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	cbz	x26, LBB0_5
LBB0_4:
Lloh20:
	adrp	x8, __res_opcodes@GOTPAGE
Lloh21:
	ldr	x8, [x8, __res_opcodes@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x28, [x8, x9, lsl #3]
	mov	x0, x26
	bl	_p_rcode
	stp	x0, x27, [sp, #8]
	str	x28, [sp]
Lloh23:
	adrp	x28, _ns_s_ar@GOTPAGE
Lloh24:
	ldr	x28, [x28, _ns_s_ar@GOTPAGEOFF]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldr	w8, [x20]
	cbz	w8, LBB0_6
LBB0_5:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_6:
	mov	w0, #59
	mov	x1, x19
	bl	_putc
	ldr	w8, [x20]
	cbz	w8, LBB0_8
LBB0_7:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_24
LBB0_8:
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #8
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	w0, [sp, #60]
Lloh29:
	adrp	x8, _ns_f_qr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ns_f_qr@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_10
; %bb.9:
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_10:
	ldr	w0, [sp, #60]
Lloh34:
	adrp	x8, _ns_f_aa@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ns_f_aa@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_12
; %bb.11:
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_12:
	ldr	w0, [sp, #60]
Lloh39:
	adrp	x8, _ns_f_tc@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ns_f_tc@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_14
; %bb.13:
Lloh42:
	adrp	x0, l_.str.5@PAGE
Lloh43:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_14:
	ldr	w0, [sp, #60]
Lloh44:
	adrp	x8, _ns_f_rd@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ns_f_rd@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_16
; %bb.15:
Lloh47:
	adrp	x0, l_.str.6@PAGE
Lloh48:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_16:
	ldr	w0, [sp, #60]
Lloh49:
	adrp	x8, _ns_f_ra@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ns_f_ra@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_18
; %bb.17:
Lloh52:
	adrp	x0, l_.str.7@PAGE
Lloh53:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_18:
	ldr	w0, [sp, #60]
Lloh54:
	adrp	x8, _ns_f_z@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ns_f_z@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_20
; %bb.19:
Lloh57:
	adrp	x0, l_.str.8@PAGE
Lloh58:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_20:
	ldr	w0, [sp, #60]
Lloh59:
	adrp	x8, _ns_f_ad@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ns_f_ad@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_22
; %bb.21:
Lloh62:
	adrp	x0, l_.str.9@PAGE
Lloh63:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_22:
	ldr	w0, [sp, #60]
Lloh64:
	adrp	x8, _ns_f_cd@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ns_f_cd@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	bl	_ns_msg_getflag
	cbz	x0, LBB0_24
; %bb.23:
Lloh67:
	adrp	x0, l_.str.10@PAGE
Lloh68:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_24:
	ldr	w8, [x20]
Lloh69:
	adrp	x27, _RES_PRF_HEAD1@GOTPAGE
Lloh70:
	ldr	x27, [x27, _RES_PRF_HEAD1@GOTPAGEOFF]
	cbz	w8, LBB0_26
; %bb.25:
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_27
LBB0_26:
Lloh71:
	adrp	x8, _ns_s_qd@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ns_s_qd@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	mov	x23, x24
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x24
	bl	_p_section
	stp	x0, x21, [sp]
Lloh74:
	adrp	x1, l_.str.11@PAGE
Lloh75:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh76:
	adrp	x8, _ns_s_an@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ns_s_an@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_p_section
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	stp	x0, x8, [sp]
Lloh79:
	adrp	x26, l_.str.12@PAGE
Lloh80:
	add	x26, x26, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	x1, x26
	bl	_fprintf
	ldr	w0, [x25]
	mov	x1, x24
	bl	_p_section
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stp	x0, x8, [sp]
	mov	x0, x19
	mov	x1, x26
	bl	_fprintf
	ldr	w0, [x28]
	mov	x1, x24
	mov	x24, x23
	bl	_p_section
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x0, x8, [sp]
	mov	x0, x19
	mov	x1, x26
	bl	_fprintf
	ldr	w8, [x20]
	cbz	w8, LBB0_28
LBB0_27:
	ldr	w9, [x24]
	ldr	w10, [x22]
	orr	w9, w10, w9
	ldr	w10, [x27]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_29
LBB0_28:
	mov	w0, #10
	mov	x1, x19
	bl	_putc
LBB0_29:
Lloh81:
	adrp	x8, _ns_s_qd@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ns_s_qd@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
Lloh84:
	adrp	x8, _RES_PRF_QUES@GOTPAGE
Lloh85:
	ldr	x8, [x8, _RES_PRF_QUES@GOTPAGEOFF]
Lloh86:
	ldr	w3, [x8]
	add	x1, sp, #60
	mov	x0, x20
	mov	x4, x19
	bl	_do_section
Lloh87:
	adrp	x8, _ns_s_an@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ns_s_an@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
Lloh90:
	adrp	x8, _RES_PRF_ANS@GOTPAGE
Lloh91:
	ldr	x8, [x8, _RES_PRF_ANS@GOTPAGEOFF]
Lloh92:
	ldr	w3, [x8]
	add	x1, sp, #60
	mov	x0, x20
	mov	x4, x19
	bl	_do_section
	ldr	w2, [x25]
Lloh93:
	adrp	x8, _RES_PRF_AUTH@GOTPAGE
Lloh94:
	ldr	x8, [x8, _RES_PRF_AUTH@GOTPAGEOFF]
Lloh95:
	ldr	w3, [x8]
	add	x1, sp, #60
	mov	x0, x20
	mov	x4, x19
	bl	_do_section
	ldr	w2, [x28]
Lloh96:
	adrp	x8, _RES_PRF_ADD@GOTPAGE
Lloh97:
	ldr	x8, [x8, _RES_PRF_ADD@GOTPAGEOFF]
Lloh98:
	ldr	w3, [x8]
	add	x1, sp, #60
	mov	x0, x20
	mov	x4, x19
	bl	_do_section
	cbnz	w21, LBB0_35
; %bb.30:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbnz	w8, LBB0_35
; %bb.31:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cbnz	w8, LBB0_35
; %bb.32:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cbnz	w8, LBB0_35
; %bb.33:
	mov	w0, #10
	mov	x1, x19
	bl	_putc
	b	LBB0_35
LBB0_34:
Lloh99:
	adrp	x8, _errno@GOTPAGE
Lloh100:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh101:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh102:
	adrp	x1, l_.str@PAGE
Lloh103:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
LBB0_35:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	";; ns_initparse: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_ns_f_opcode,4,2                ; @ns_f_opcode
	.comm	_ns_f_rcode,4,2                 ; @ns_f_rcode
	.comm	_ns_s_qd,4,2                    ; @ns_s_qd
	.comm	_ns_s_an,4,2                    ; @ns_s_an
	.comm	_ns_s_ns,4,2                    ; @ns_s_ns
	.comm	_ns_s_ar,4,2                    ; @ns_s_ar
	.comm	_RES_PRF_HEADX,4,2              ; @RES_PRF_HEADX
l_.str.1:                               ; @.str.1
	.asciz	";; ->>HEADER<<- opcode: %s, status: %s, id: %d\n"

	.comm	__res_opcodes,8,3               ; @_res_opcodes
	.comm	_RES_PRF_HEAD2,4,2              ; @RES_PRF_HEAD2
l_.str.2:                               ; @.str.2
	.asciz	"; flags:"

	.comm	_ns_f_qr,4,2                    ; @ns_f_qr
l_.str.3:                               ; @.str.3
	.asciz	" qr"

	.comm	_ns_f_aa,4,2                    ; @ns_f_aa
l_.str.4:                               ; @.str.4
	.asciz	" aa"

	.comm	_ns_f_tc,4,2                    ; @ns_f_tc
l_.str.5:                               ; @.str.5
	.asciz	" tc"

	.comm	_ns_f_rd,4,2                    ; @ns_f_rd
l_.str.6:                               ; @.str.6
	.asciz	" rd"

	.comm	_ns_f_ra,4,2                    ; @ns_f_ra
l_.str.7:                               ; @.str.7
	.asciz	" ra"

	.comm	_ns_f_z,4,2                     ; @ns_f_z
l_.str.8:                               ; @.str.8
	.asciz	" ??"

	.comm	_ns_f_ad,4,2                    ; @ns_f_ad
l_.str.9:                               ; @.str.9
	.asciz	" ad"

	.comm	_ns_f_cd,4,2                    ; @ns_f_cd
l_.str.10:                              ; @.str.10
	.asciz	" cd"

	.comm	_RES_PRF_HEAD1,4,2              ; @RES_PRF_HEAD1
l_.str.11:                              ; @.str.11
	.asciz	"; %s: %d"

l_.str.12:                              ; @.str.12
	.asciz	", %s: %d"

	.comm	_RES_PRF_QUES,4,2               ; @RES_PRF_QUES
	.comm	_RES_PRF_ANS,4,2                ; @RES_PRF_ANS
	.comm	_RES_PRF_AUTH,4,2               ; @RES_PRF_AUTH
	.comm	_RES_PRF_ADD,4,2                ; @RES_PRF_ADD
.subsections_via_symbols
