	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_query                    ## -- Begin function parse_query
	.p2align	4, 0x90
_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_Q_nodes@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_Q_words@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_Q_root@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	callq	_parse_ranges
	movq	%rax, %rdi
LBB0_2:
	movq	_Q_extmode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.3:
	movq	_parse_ptr@GOTPCREL(%rip), %r15
	movq	%rdi, (%r15)
	xorl	%eax, %eax
	callq	_parse_query_expr
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	movq	(%r15), %rax
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.4:
	cmpb	$0, (%rax)
	jne	LBB0_10
## %bb.5:
	callq	_optimize_query
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rax, %rcx
	callq	_vkprintf
	jmp	LBB0_9
LBB0_8:
	callq	_parse_query_words
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r15), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_nodes,8,3                    ## @Q_nodes
	.comm	_Q_words,8,3                    ## @Q_words
	.comm	_Q_root,8,3                     ## @Q_root
	.comm	_Q_extmode,8,3                  ## @Q_extmode
	.comm	_parse_ptr,8,3                  ## @parse_ptr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"successfully compiled extended query, %d nodes used, root=%p\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_query                    ; -- Begin function parse_query
	.p2align	2
_parse_query:                           ; @parse_query
	.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
Lloh0:
	adrp	x19, _Q_nodes@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Q_nodes@GOTPAGEOFF]
	str	xzr, [x19]
Lloh2:
	adrp	x8, _Q_words@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Q_words@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x20, _Q_root@GOTPAGE
Lloh6:
	ldr	x20, [x20, _Q_root@GOTPAGEOFF]
	str	xzr, [x20]
	cbz	w1, LBB0_2
; %bb.1:
	bl	_parse_ranges
LBB0_2:
Lloh7:
	adrp	x8, _Q_extmode@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Q_extmode@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.3:
Lloh10:
	adrp	x21, _parse_ptr@GOTPAGE
Lloh11:
	ldr	x21, [x21, _parse_ptr@GOTPAGEOFF]
	str	x0, [x21]
	bl	_parse_query_expr
	mov	x8, x0
	str	x0, [x20]
	ldr	x0, [x21]
	cbz	x8, LBB0_9
; %bb.4:
	ldrb	w9, [x0]
	cbnz	w9, LBB0_9
; %bb.5:
	mov	x0, x8
	bl	_optimize_query
	str	x0, [x20]
	cbz	x0, LBB0_10
; %bb.6:
	mov	x3, x0
	ldr	x2, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	b	LBB0_8
LBB0_7:
	bl	_parse_query_words
LBB0_8:
	mov	x0, #0
LBB0_9:
	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_10:
	ldr	x0, [x21]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_nodes,8,3                    ; @Q_nodes
	.comm	_Q_words,8,3                    ; @Q_words
	.comm	_Q_root,8,3                     ; @Q_root
	.comm	_Q_extmode,8,3                  ; @Q_extmode
	.comm	_parse_ptr,8,3                  ; @parse_ptr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"successfully compiled extended query, %d nodes used, root=%p\n"

.subsections_via_symbols
