	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_query_info_parse               ## -- Begin function query_info_parse
	.p2align	4, 0x90
_query_info_parse:                      ## @query_info_parse
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_sldns_buffer_begin
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_sldns_buffer_limit
	movq	_LDNS_HEADER_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	addq	$5, %rcx
	xorl	%r15d, %r15d
	cmpq	%rcx, %rax
	jl	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_LDNS_OPCODE_WIRE
	movq	_LDNS_PACKET_QUERY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_LDNS_OPCODE_WIRE
	movq	_LDNS_PACKET_NOTIFY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	callq	_LDNS_QDCOUNT
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.4:
	movq	%r12, %rdi
	callq	_sldns_buffer_position
	testq	%rax, %rax
	je	LBB0_5
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%r13), %rsi
	movq	%r12, %rdi
	callq	_sldns_buffer_skip
	movq	%r12, %rdi
	callq	_sldns_buffer_current
	movl	%eax, 28(%r14)
	movq	%r12, %rdi
	callq	_query_dname_len
	movl	%eax, 24(%r14)
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	callq	_sldns_buffer_remaining
	cmpl	$4, %eax
	jl	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_sldns_buffer_read_u16
	movq	%rax, 16(%r14)
	movq	%r12, %rdi
	callq	_sldns_buffer_read_u16
	movq	%rax, 8(%r14)
	movq	$0, (%r14)
	movl	$1, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_HEADER_SIZE,8,3           ## @LDNS_HEADER_SIZE
	.comm	_LDNS_PACKET_QUERY,8,3          ## @LDNS_PACKET_QUERY
	.comm	_LDNS_PACKET_NOTIFY,8,3         ## @LDNS_PACKET_NOTIFY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_query_info_parse               ; -- Begin function query_info_parse
	.p2align	2
_query_info_parse:                      ; @query_info_parse
	.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
	mov	x0, x1
	bl	_sldns_buffer_begin
	mov	x21, x0
	mov	x0, x20
	bl	_sldns_buffer_limit
Lloh0:
	adrp	x22, _LDNS_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LDNS_HEADER_SIZE@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x8, x8, #5
	cmp	x0, x8
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_LDNS_OPCODE_WIRE
Lloh2:
	adrp	x8, _LDNS_PACKET_QUERY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LDNS_PACKET_QUERY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_LDNS_OPCODE_WIRE
Lloh5:
	adrp	x8, _LDNS_PACKET_NOTIFY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_PACKET_NOTIFY@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_LDNS_QDCOUNT
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_sldns_buffer_position
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ret
LBB0_7:
	ldr	x1, [x22]
	mov	x0, x20
	bl	_sldns_buffer_skip
	mov	x0, x20
	bl	_sldns_buffer_current
	str	w0, [x19, #28]
	mov	x0, x20
	bl	_query_dname_len
	str	w0, [x19, #24]
	cbz	w0, LBB0_6
; %bb.8:
	mov	x0, x20
	bl	_sldns_buffer_remaining
	cmp	w0, #4
	b.lt	LBB0_5
; %bb.9:
	mov	x0, x20
	bl	_sldns_buffer_read_u16
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_sldns_buffer_read_u16
	stp	xzr, x0, [x19]
	mov	w0, #1
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_HEADER_SIZE,8,3           ; @LDNS_HEADER_SIZE
	.comm	_LDNS_PACKET_QUERY,8,3          ; @LDNS_PACKET_QUERY
	.comm	_LDNS_PACKET_NOTIFY,8,3         ; @LDNS_PACKET_NOTIFY
.subsections_via_symbols
