	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_subquery_var
_is_subquery_var:                       ## @is_subquery_var
	.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
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_bms_is_member
	movl	%eax, %edi
	callq	_Assert
	cmpq	$0, (%r14)
	movq	%r15, %rbx
	movq	%r15, %r13
	jne	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r14
	movq	24(%r14), %r15
	movq	32(%r14), %r13
	movq	%rbx, %rdi
	callq	_IS_SIMPLE_REL
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_IS_JOIN_REL
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_Assert
	movq	%rbx, %rdi
	callq	_IS_JOIN_REL
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movl	16(%r14), %esi
	callq	_bms_is_member
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movl	(%r13), %esi
	callq	_bms_is_member
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%r14)
	movq	%r13, %rbx
	je	LBB0_1
LBB0_8:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_get_relation_column_alias_ids
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_subquery_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_subquery_var
_is_subquery_var:                       ; @is_subquery_var
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x25]
	bl	_bms_is_member
	bl	_Assert
	ldr	x8, [x24]
	mov	x23, x25
	mov	x22, x25
	cbnz	x8, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x23, #8]
	ldp	x25, x22, [x24, #24]
	mov	x0, x23
	bl	_IS_SIMPLE_REL
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_IS_JOIN_REL
	cmp	x0, #0
	cset	w0, ne
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_Assert
	mov	x0, x23
	bl	_IS_JOIN_REL
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x24, #16]
	bl	_bms_is_member
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_bms_is_member
	cbz	w0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24, #8]
	mov	x23, x22
	cbz	x8, LBB0_2
LBB0_9:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_get_relation_column_alias_ids
	mov	w0, #1
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_subquery_var
.subsections_via_symbols
