	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecFindMatchingSubPlans       ## -- Begin function ExecFindMatchingSubPlans
	.p2align	4, 0x90
_ExecFindMatchingSubPlans:              ## @ExecFindMatchingSubPlans
	.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
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	movl	24(%rdi), %edi
	callq	_Assert
	movl	4(%r12), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	cmpl	$0, (%r12)
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %r13
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_find_matching_subplans_recurse
	cmpq	$0, 8(%r13)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_ResetExprContext
	jmp	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rdi
	jmp	LBB0_7
LBB0_1:
	xorl	%edi, %edi
LBB0_7:
	movl	8(%r12), %esi
	callq	_bms_add_members
	movq	%rax, -48(%rbp)
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movq	-48(%rbp), %rdi
	callq	_bms_copy
	movq	%rax, -48(%rbp)
	movl	4(%r12), %edi
	callq	_MemoryContextReset
	movq	-48(%rbp), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecFindMatchingSubPlans       ; -- Begin function ExecFindMatchingSubPlans
	.p2align	2
_ExecFindMatchingSubPlans:              ; @ExecFindMatchingSubPlans
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x0, #24]
	bl	_Assert
	ldr	w0, [x19, #4]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x22, lsl #3]
	ldr	x21, [x0]
	add	x3, sp, #8
	mov	x1, x21
	mov	w2, #0
	bl	_find_matching_subplans_recurse
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_ResetExprContext
	b	LBB0_2
LBB0_5:
	ldr	x0, [sp, #8]
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldr	w1, [x19, #8]
	bl	_bms_add_members
	str	x0, [sp, #8]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldr	x0, [sp, #8]
	bl	_bms_copy
	str	x0, [sp, #8]
	ldr	w0, [x19, #4]
	bl	_MemoryContextReset
	ldr	x0, [sp, #8]
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
