	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_query
_parse_query:                           ## @parse_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	leaq	-1(%rdx), %rcx
	movl	%r15d, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_17
## %bb.2:
	movl	$1, %edi
	xorl	%ecx, %ecx
LBB0_3:
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	addq	%r12, %rcx
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdi
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_9
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rdx), %ebx
	cmpb	$59, %bl
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$38, %bl
	je	LBB0_5
	jmp	LBB0_6
LBB0_9:
	shlq	$2, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_33
## %bb.10:
	movq	%rax, (%r14)
	cmpq	$2, %r15
	movl	$1, %r13d
	cmovaeq	%r15, %r13
	xorl	%edx, %edx
	movq	%r12, %rbx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	decq	%r13
	je	LBB0_32
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movzbl	(%rbx), %eax
	testq	%rdx, %rdx
	movq	%rbx, %rdx
	cmovneq	%rcx, %rdx
	cmpb	$61, %al
	cmovneq	%rcx, %rdx
	cmpb	$59, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$38, %al
	jne	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_store_query
	testl	%eax, %eax
	je	LBB0_33
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	1(%rbx), %r12
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_33:
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_16:
	movl	$1, %eax
LBB0_34:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%r15, %rdx
	andq	$-4, %rdx
	movl	$1, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdi
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_3
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rcx), %ebx
	cmpb	$59, %bl
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$38, %bl
	jne	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdi
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movzbl	1(%r12,%rcx), %ebx
	cmpb	$59, %bl
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$38, %bl
	jne	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdi
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	movzbl	2(%r12,%rcx), %ebx
	cmpb	$59, %bl
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$38, %bl
	jne	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdi
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	movzbl	3(%r12,%rcx), %ebx
	cmpb	$59, %bl
	je	LBB0_18
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$38, %bl
	je	LBB0_18
	jmp	LBB0_19
LBB0_32:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_store_query                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_query
_parse_query:                           ; @parse_query
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x2, LBB0_13
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x8, #0
	mov	w9, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x21, x8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20, x8]
	cmp	w10, #59
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #38
	b.eq	LBB0_2
	b	LBB0_3
LBB0_6:
	lsl	x0, x9, #2
	bl	_malloc
	cbz	x0, LBB0_14
; %bb.7:
	mov	x2, #0
	str	x0, [x19]
	cmp	x21, #1
	csinc	x22, x21, xzr, hi
	mov	w23, #61
	mov	x21, x20
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	subs	x22, x22, #1
	b.eq	LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	x2, #0
	ccmp	w8, w23, #0, eq
	csel	x2, x2, x21, ne
	cmp	w8, #59
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #38
	b.ne	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_store_query
	cbz	w0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x2, #0
	add	x20, x21, #1
	b	LBB0_8
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_store_query
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_query
.subsections_via_symbols
