	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_multiple_query_query   ## -- Begin function prepare_multiple_query_query
	.p2align	4, 0x90
_prepare_multiple_query_query:          ## @prepare_multiple_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, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_parse_search_extras
	movq	%rax, %rcx
	leaq	1(%rax), %r13
	movq	%r13, -56(%rbp)
	movl	$-1, %eax
	cmpb	$40, (%rcx)
	jne	LBB0_25
## %bb.1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_register_long_query
	xorl	%eax, %eax
	callq	_clear_query_list
	movq	%r15, %rdi
	callq	_load_temp_data
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	movb	(%r13), %al
	addb	$-48, %al
	cmpb	$9, %al
	ja	LBB0_5
## %bb.3:
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	_tag_id@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.10:
	movq	_value_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_compile_add_query
	testq	%rax, %rax
	je	LBB0_26
## %bb.11:
	leaq	-48(%rbp), %r13
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	%rbx, -48(%rbp)
	movq	%r13, %rdi
	callq	_compile_add_query
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rbx
	movzbl	(%rbx), %eax
	cmpb	$59, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$10, %al
	je	LBB0_14
	jmp	LBB0_18
LBB0_4:
	movq	-56(%rbp), %r13
LBB0_5:
	movq	%r13, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_compile_add_query
	testq	%rax, %rax
	je	LBB0_21
## %bb.6:
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	cmpb	$59, (%rax)
	jne	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_compile_add_query
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:
	movq	-48(%rbp), %rbx
	movq	%r12, %rdi
	callq	_parse_search_extras
	testq	%rbx, %rbx
	jne	LBB0_24
	jmp	LBB0_22
LBB0_21:
	movq	%r12, %rdi
	callq	_parse_search_extras
LBB0_22:
	movq	-48(%rbp), %rdi
	callq	_parse_search_query_termination
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_25
## %bb.23:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_24
	jmp	LBB0_25
LBB0_15:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_20
## %bb.16:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_26:
	movq	-48(%rbp), %rbx
LBB0_17:
	movb	(%rbx), %al
LBB0_18:
	testb	%al, %al
	jne	LBB0_20
## %bb.19:
	movq	-56(%rbp), %rbx
	leaq	1(%rbx), %r13
	movq	%r13, -56(%rbp)
	cmpb	$59, (%rbx)
	je	LBB0_5
LBB0_20:
	movq	-56(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_parse_search_extras
LBB0_24:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_complete_long_query
	movq	_stats_buff@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	callq	_sprintf
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_return_one_key
	xorl	%eax, %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tag_id,8,3                     ## @tag_id
	.comm	_value_buff,8,3                 ## @value_buff
	.comm	_stats_buff,4,2                 ## @stats_buff
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR near '%.256s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_multiple_query_query   ; -- Begin function prepare_multiple_query_query
	.p2align	2
_prepare_multiple_query_query:          ; @prepare_multiple_query_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_parse_search_extras
	mov	x23, x0
	ldrb	w8, [x23], #1
	str	x23, [sp]
	cmp	w8, #40
	b.ne	LBB0_8
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_register_long_query
	bl	_clear_query_list
	mov	x0, x20
	bl	_load_temp_data
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.2:
	ldrb	w8, [x23]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_10
; %bb.3:
	mov	x1, sp
	mov	x0, x23
	mov	w2, #10
	bl	_strtol
Lloh0:
	adrp	x8, _tag_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tag_id@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _value_buff@GOTPAGE
Lloh4:
	ldr	x8, [x8, _value_buff@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_compile_add_query
	cbz	x0, LBB0_17
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [sp, #8]
	ldrb	w8, [x22]
	cmp	w8, #59
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x22, #1
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_compile_add_query
	cbnz	x0, LBB0_5
; %bb.7:
	ldr	x22, [sp, #8]
	cbnz	x22, LBB0_21
	b	LBB0_18
LBB0_8:
	mov	w0, #-1
	b	LBB0_23
LBB0_9:
	ldr	x23, [sp]
LBB0_10:
	str	x23, [sp, #8]
	add	x0, sp, #8
	bl	_compile_add_query
	cbz	x0, LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #59
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_compile_add_query
	cbnz	x0, LBB0_11
; %bb.13:
	ldr	x22, [sp, #8]
	mov	x0, x21
	bl	_parse_search_extras
	cbnz	x22, LBB0_22
	b	LBB0_15
LBB0_14:
	mov	x0, x21
	bl	_parse_search_extras
LBB0_15:
	ldr	x0, [sp, #8]
	bl	_parse_search_query_termination
	ldr	x22, [sp, #8]
	cmp	w0, #0
	ccmp	x22, #0, #4, eq
	b.ne	LBB0_22
; %bb.16:
	mov	w0, #1
	b	LBB0_23
LBB0_17:
	ldr	x22, [sp, #8]
LBB0_18:
	ldrb	w8, [x22]
LBB0_19:
	cbnz	w8, LBB0_21
; %bb.20:
	ldr	x22, [sp]
	mov	x23, x22
	ldrb	w8, [x23], #1
	str	x23, [sp]
	cmp	w8, #59
	b.eq	LBB0_10
LBB0_21:
	ldr	x8, [sp]
	str	x8, [sp, #8]
	mov	x0, x21
	bl	_parse_search_extras
LBB0_22:
	mov	x0, x20
	mov	w1, #-1
	bl	_complete_long_query
Lloh6:
	adrp	x8, _stats_buff@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_sprintf
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_return_one_key
	mov	w0, #0
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tag_id,8,3                     ; @tag_id
	.comm	_value_buff,8,3                 ; @value_buff
	.comm	_stats_buff,4,2                 ; @stats_buff
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR near '%.256s'\n"

.subsections_via_symbols
