	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecCleanupTupleRouting        ## -- Begin function ExecCleanupTupleRouting
	.p2align	4, 0x90
_ExecCleanupTupleRouting:               ## @ExecCleanupTupleRouting
	.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	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %r15
	cmpl	$2, (%rsi)
	jl	LBB0_5
## %bb.1:
	movl	$1, %ebx
	movq	_NoLock@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %r12
	movl	8(%r12), %edi
	movl	(%r14), %esi
	callq	_table_close
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_ExecDropSingleTupleTableSlot
	jmp	LBB0_4
LBB0_5:
	cmpl	$0, 4(%r13)
	jle	LBB0_14
## %bb.6:
	xorl	%r12d, %r12d
	leaq	-44(%rbp), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_ExecCloseIndices
	movl	(%r14), %edi
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_close
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movslq	4(%r13), %rax
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r12,8), %r14
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edi
	movq	%r14, %rsi
	callq	*%rax
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edi
	callq	_RelationGetRelid
	movl	%eax, -48(%rbp)
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rcx
	callq	_hash_search
	cmpl	$0, -44(%rbp)
	jne	LBB0_13
	jmp	LBB0_12
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NoLock,4,2                     ## @NoLock
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecCleanupTupleRouting        ; -- Begin function ExecCleanupTupleRouting
	.p2align	2
_ExecCleanupTupleRouting:               ; @ExecCleanupTupleRouting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
	ldr	x21, [x1, #24]
	ldr	w8, [x1]
Lloh0:
	adrp	x23, _NoLock@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NoLock@GOTPAGEOFF]
	cmp	w8, #1
	b.le	LBB0_5
; %bb.1:
	mov	w22, #1
	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	x24, [x8, x22, lsl #3]
	ldr	w0, [x24, #8]
	ldr	w1, [x23]
	bl	_table_close
	ldr	x0, [x24]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_ExecDropSingleTupleTableSlot
	b	LBB0_2
LBB0_5:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.6:
	mov	x24, #0
Lloh2:
	adrp	x25, _HASH_FIND@GOTPAGE
Lloh3:
	ldr	x25, [x25, _HASH_FIND@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_ExecCloseIndices
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_table_close
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19, #4]
	cmp	x24, x8
	b.ge	LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x24, lsl #3]
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x20]
	mov	x1, x22
	blr	x8
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	cbz	x21, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x22]
	bl	_RelationGetRelid
	str	w0, [sp, #12]
	ldr	w2, [x25]
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	bl	_hash_search
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_8
	b	LBB0_7
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NoLock,4,2                     ; @NoLock
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
.subsections_via_symbols
