	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_convert_to_cumulatative_expression
_query_convert_to_cumulatative_expression: ## @query_convert_to_cumulatative_expression
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	24(%rdi), %r15
	movq	%r15, %rdi
	callq	_query_convert_to_cumulatative_expression
	movq	%r14, %rdi
	callq	_query_convert_to_cumulatative_expression
	movq	(%rbx), %rax
	movq	_qn_and@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	movq	_qn_or@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_14
LBB0_3:
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.5:
	movq	_qn_cum_and@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_qn_cum_or@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	(%r14), %rcx
	cmpq	%rax, (%r15)
	jne	LBB0_11
## %bb.7:
	movl	8(%r15), %r12d
	cmpq	%rax, %rcx
	jne	LBB0_10
## %bb.8:
	movl	8(%r14), %esi
	movl	%r12d, %edi
	jmp	LBB0_9
LBB0_11:
	cmpq	%rax, %rcx
	jne	LBB0_15
## %bb.12:
	movl	8(%r14), %r12d
	movq	%r15, %rdi
	callq	_new_query_nodes_list
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_merge_query_nodes_lists
	movl	8(%r14), %eax
	jmp	LBB0_13
LBB0_10:
	movq	%r14, %rdi
	callq	_new_query_nodes_list
	movl	%r12d, %edi
	movl	%eax, %esi
LBB0_9:
	callq	_merge_query_nodes_lists
	movl	8(%r15), %eax
LBB0_13:
	movl	%eax, 8(%rbx)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r15, %rdi
	callq	_new_query_nodes_list
	movl	%eax, %r15d
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	callq	_new_query_nodes_list
	movl	%r15d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_merge_query_nodes_lists        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_qn_and,8,3                     ## @qn_and
	.comm	_qn_or,8,3                      ## @qn_or
	.comm	_qn_cum_and,8,3                 ## @qn_cum_and
	.comm	_qn_cum_or,8,3                  ## @qn_cum_or
	.no_dead_strip	_query_convert_to_cumulatative_expression
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_convert_to_cumulatative_expression
_query_convert_to_cumulatative_expression: ; @query_convert_to_cumulatative_expression
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldp	x21, x20, [x0, #16]
	mov	x0, x20
	bl	_query_convert_to_cumulatative_expression
	mov	x0, x21
	bl	_query_convert_to_cumulatative_expression
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _qn_and@GOTPAGE
Lloh1:
	ldr	x9, [x9, _qn_and@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _qn_or@GOTPAGE
Lloh4:
	ldr	x10, [x10, _qn_or@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_10
; %bb.2:
Lloh6:
	adrp	x10, _qn_cum_and@GOTPAGE
Lloh7:
	ldr	x10, [x10, _qn_cum_and@GOTPAGEOFF]
Lloh8:
	adrp	x11, _qn_cum_or@GOTPAGE
Lloh9:
	ldr	x11, [x11, _qn_cum_or@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x10, [x20]
	ldr	x9, [x21]
	cmp	x10, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	w22, [x20, #8]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.4:
	ldr	w1, [x21, #8]
	b	LBB0_8
LBB0_5:
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.6:
	ldr	w22, [x21, #8]
	mov	x0, x20
	bl	_new_query_nodes_list
	mov	x1, x0
	mov	x0, x22
	bl	_merge_query_nodes_lists
	ldr	w8, [x21, #8]
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_new_query_nodes_list
	mov	x1, x0
LBB0_8:
	mov	x0, x22
	bl	_merge_query_nodes_lists
	ldr	w8, [x20, #8]
LBB0_9:
	str	w8, [x19, #8]
LBB0_10:
	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_11:
	mov	x0, x20
	bl	_new_query_nodes_list
	mov	x20, x0
	str	w0, [x19, #8]
	mov	x0, x21
	bl	_new_query_nodes_list
	mov	x1, x0
	mov	x0, x20
	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
	b	_merge_query_nodes_lists
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_qn_and,8,3                     ; @qn_and
	.comm	_qn_or,8,3                      ; @qn_or
	.comm	_qn_cum_and,8,3                 ; @qn_cum_and
	.comm	_qn_cum_or,8,3                  ; @qn_cum_or
	.no_dead_strip	_query_convert_to_cumulatative_expression
.subsections_via_symbols
