	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preprocess_expression
_preprocess_expression:                 ## @preprocess_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %rax
	movq	%rdi, %r14
	cmpq	$0, 16(%rdi)
	movq	_EXPRKIND_RTFUNC@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	je	LBB0_8
## %bb.3:
	cmpl	%ebx, %ecx
	je	LBB0_8
## %bb.4:
	movq	_EXPRKIND_VALUES@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	je	LBB0_8
## %bb.5:
	movq	_EXPRKIND_TABLESAMPLE@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	je	LBB0_8
## %bb.6:
	movq	_EXPRKIND_TABLEFUNC@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	je	LBB0_8
## %bb.7:
	movq	8(%r14), %rdi
	movq	%rax, %rsi
	callq	_flatten_join_alias_vars
	movl	(%r15), %ecx
LBB0_8:
	cmpl	%ebx, %ecx
	je	LBB0_12
## %bb.9:
	movq	_EXPRKIND_RTFUNC_LATERAL@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_11
## %bb.10:
	cmpq	$0, 16(%r14)
	je	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_eval_const_expressions
LBB0_12:
	movq	_EXPRKIND_QUAL@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	jne	LBB0_14
## %bb.13:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_canonicalize_qual
LBB0_14:
	movq	8(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_16
## %bb.15:
	xorl	%edx, %edx
	cmpl	%ebx, (%r15)
	sete	%dl
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_SS_process_sublinks
LBB0_16:
	cmpl	$2, (%r14)
	jl	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_SS_replace_correlation_vars
LBB0_18:
	cmpl	%ebx, (%r15)
	jne	LBB0_20
## %bb.19:
	movq	%rax, %rdi
	callq	_make_ands_implicit
	jmp	LBB0_20
LBB0_1:
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXPRKIND_RTFUNC,4,2            ## @EXPRKIND_RTFUNC
	.comm	_EXPRKIND_VALUES,4,2            ## @EXPRKIND_VALUES
	.comm	_EXPRKIND_TABLESAMPLE,4,2       ## @EXPRKIND_TABLESAMPLE
	.comm	_EXPRKIND_TABLEFUNC,4,2         ## @EXPRKIND_TABLEFUNC
	.comm	_EXPRKIND_RTFUNC_LATERAL,4,2    ## @EXPRKIND_RTFUNC_LATERAL
	.comm	_EXPRKIND_QUAL,4,2              ## @EXPRKIND_QUAL
	.no_dead_strip	_preprocess_expression
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preprocess_expression
_preprocess_expression:                 ; @preprocess_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	x1, LBB0_16
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x21, _EXPRKIND_RTFUNC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EXPRKIND_RTFUNC@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	x9, LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _EXPRKIND_VALUES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EXPRKIND_VALUES@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _EXPRKIND_TABLESAMPLE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _EXPRKIND_TABLESAMPLE@GOTPAGEOFF]
Lloh7:
	adrp	x11, _EXPRKIND_TABLEFUNC@GOTPAGE
Lloh8:
	ldr	x11, [x11, _EXPRKIND_TABLEFUNC@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	ldr	w11, [x11]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	ccmp	w10, w19, #4, ne
	ccmp	w11, w19, #4, ne
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x20, #8]
	bl	_flatten_join_alias_vars
	mov	x1, x0
	ldr	w8, [x21]
LBB0_4:
	cmp	w8, w19
	b.eq	LBB0_8
; %bb.5:
Lloh11:
	adrp	x8, _EXPRKIND_RTFUNC_LATERAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXPRKIND_RTFUNC_LATERAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_eval_const_expressions
	mov	x1, x0
LBB0_8:
Lloh14:
	adrp	x21, _EXPRKIND_QUAL@GOTPAGE
Lloh15:
	ldr	x21, [x21, _EXPRKIND_QUAL@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w19
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x1
	mov	w1, #0
	bl	_canonicalize_qual
	mov	x1, x0
LBB0_10:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w8, [x21]
	cmp	w8, w19
	cset	w2, eq
	mov	x0, x20
	bl	_SS_process_sublinks
	mov	x1, x0
LBB0_12:
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_SS_replace_correlation_vars
	mov	x1, x0
LBB0_14:
	ldr	w8, [x21]
	cmp	w8, w19
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x1
	bl	_make_ands_implicit
	mov	x1, x0
LBB0_16:
	mov	x0, x1
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EXPRKIND_RTFUNC,4,2            ; @EXPRKIND_RTFUNC
	.comm	_EXPRKIND_VALUES,4,2            ; @EXPRKIND_VALUES
	.comm	_EXPRKIND_TABLESAMPLE,4,2       ; @EXPRKIND_TABLESAMPLE
	.comm	_EXPRKIND_TABLEFUNC,4,2         ; @EXPRKIND_TABLEFUNC
	.comm	_EXPRKIND_RTFUNC_LATERAL,4,2    ; @EXPRKIND_RTFUNC_LATERAL
	.comm	_EXPRKIND_QUAL,4,2              ; @EXPRKIND_QUAL
	.no_dead_strip	_preprocess_expression
.subsections_via_symbols
