	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_query_section
_parse_query_section:                   ## @parse_query_section
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$2, %eax
	jge	LBB0_2
## %bb.3:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_log_assert
	movq	%r15, %rdi
	callq	_sldns_buffer_remaining
	testl	%eax, %eax
	jle	LBB0_2
## %bb.4:
	movq	%r15, %rdi
	callq	_sldns_buffer_current
	movl	%eax, 28(%rbx)
	movq	%r15, %rdi
	callq	_pkt_dname_len
	movl	%eax, 24(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	movq	%r15, %rdi
	callq	_sldns_buffer_remaining
	cmpl	$7, %eax
	ja	LBB0_6
LBB0_2:
	movq	_LDNS_RCODE_FORMERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_sldns_buffer_read_u16
	movq	%rax, 16(%rbx)
	movq	%r15, %rdi
	callq	_sldns_buffer_read_u16
	movq	%rax, 8(%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_FORMERR,4,2         ## @LDNS_RCODE_FORMERR
	.no_dead_strip	_parse_query_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_query_section
_parse_query_section:                   ; @parse_query_section
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1]
	cbz	w8, LBB0_6
; %bb.1:
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.2:
	mov	x19, x1
	mov	x20, x0
	cset	w0, eq
	bl	_log_assert
	mov	x0, x20
	bl	_sldns_buffer_remaining
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_sldns_buffer_current
	str	w0, [x19, #28]
	mov	x0, x20
	bl	_pkt_dname_len
	str	w0, [x19, #24]
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_sldns_buffer_remaining
	cmp	w0, #7
	b.hi	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _LDNS_RCODE_FORMERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RCODE_FORMERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	bl	_sldns_buffer_read_u16
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_sldns_buffer_read_u16
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #8]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_FORMERR,4,2         ; @LDNS_RCODE_FORMERR
	.no_dead_strip	_parse_query_section
.subsections_via_symbols
