	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qinfo_query_encode             ## -- Begin function qinfo_query_encode
	.p2align	4, 0x90
_qinfo_query_encode:                    ## @qinfo_query_encode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rcx
	leaq	8(%rcx), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	8(%r14), %rax
	movq	%r14, %rcx
LBB0_3:
	movq	(%rcx), %r15
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_sldns_buffer_clear
	movq	%rbx, %rdi
	callq	_sldns_buffer_remaining
	xorl	%edi, %edi
	cmpl	$271, %eax                      ## imm = 0x10F
	setge	%dil
	callq	_log_assert
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_sldns_buffer_skip
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u16
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sldns_buffer_write_u16
	leaq	l_.str(%rip), %rsi
	movl	$6, %edx
	movq	%rbx, %rdi
	callq	_sldns_buffer_write
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_sldns_buffer_write
	movl	16(%r14), %esi
	movq	%rbx, %rdi
	callq	_sldns_buffer_write_u16
	movl	20(%r14), %esi
	movq	%rbx, %rdi
	callq	_sldns_buffer_write_u16
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sldns_buffer_flip              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.space	7

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qinfo_query_encode             ; -- Begin function qinfo_query_encode
	.p2align	2
_qinfo_query_encode:                    ; @qinfo_query_encode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, [x1, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x8]
	add	x8, x9, #8
	b	LBB0_3
LBB0_2:
	add	x8, x20, #8
	mov	x9, x20
LBB0_3:
	ldr	x21, [x9]
	ldr	x22, [x8]
	mov	x0, x19
	bl	_sldns_buffer_clear
	mov	x0, x19
	bl	_sldns_buffer_remaining
	cmp	w0, #270
	cset	w0, gt
	bl	_log_assert
	mov	x0, x19
	mov	w1, #2
	bl	_sldns_buffer_skip
	mov	x0, x19
	mov	w1, #0
	bl	_sldns_buffer_write_u16
	mov	x0, x19
	mov	w1, #1
	bl	_sldns_buffer_write_u16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_sldns_buffer_write
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_sldns_buffer_write
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_sldns_buffer_write_u16
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_sldns_buffer_write_u16
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sldns_buffer_flip
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.space	7

.subsections_via_symbols
