	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecEndWindowAgg               ## -- Begin function ExecEndWindowAgg
	.p2align	4, 0x90
_ExecEndWindowAgg:                      ## @ExecEndWindowAgg
	.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
	movq	%rdi, %r15
	callq	_release_partition
	movq	48(%r15), %rdi
	callq	_ExecClearTuple
	movq	104(%r15), %rdi
	callq	_ExecClearTuple
	movq	96(%r15), %rdi
	callq	_ExecClearTuple
	movq	88(%r15), %rdi
	callq	_ExecClearTuple
	movq	80(%r15), %rdi
	callq	_ExecClearTuple
	movq	72(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_ExecClearTuple
LBB0_2:
	movq	64(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_ExecClearTuple
LBB0_4:
	leaq	40(%r15), %r14
	movq	%r14, %rdi
	callq	_ExecFreeExprContext
	movl	56(%r15), %eax
	movl	%eax, 40(%r15)
	movq	%r14, %rdi
	callq	_ExecFreeExprContext
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	cmpq	8(%r15), %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_MemoryContextDelete
	movl	(%r15), %eax
	jmp	LBB0_8
LBB0_9:
	movq	16(%r15), %rdi
	callq	_MemoryContextDelete
	movq	8(%r15), %rdi
	callq	_MemoryContextDelete
	movq	32(%r15), %rdi
	callq	_pfree
	movq	24(%r15), %rdi
	callq	_pfree
	movq	%r15, %rdi
	callq	_outerPlanState
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExecEndNode                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecEndWindowAgg               ; -- Begin function ExecEndWindowAgg
	.p2align	2
_ExecEndWindowAgg:                      ; @ExecEndWindowAgg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_release_partition
	ldr	x0, [x19, #48]
	bl	_ExecClearTuple
	ldr	x0, [x19, #104]
	bl	_ExecClearTuple
	ldr	x0, [x19, #96]
	bl	_ExecClearTuple
	ldr	x0, [x19, #88]
	bl	_ExecClearTuple
	ldr	x0, [x19, #80]
	bl	_ExecClearTuple
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_ExecClearTuple
LBB0_2:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_ExecClearTuple
LBB0_4:
	add	x20, x19, #40
	mov	x0, x20
	bl	_ExecFreeExprContext
	ldr	w8, [x19, #56]
	str	w8, [x19, #40]
	mov	x0, x20
	bl	_ExecFreeExprContext
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x20, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	x0, [x9, x20, lsl #3]
	ldr	x9, [x19, #8]
	cmp	x0, x9
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_MemoryContextDelete
	ldr	w8, [x19]
	b	LBB0_6
LBB0_9:
	ldr	x0, [x19, #16]
	bl	_MemoryContextDelete
	ldr	x0, [x19, #8]
	bl	_MemoryContextDelete
	ldr	x0, [x19, #32]
	bl	_pfree
	ldr	x0, [x19, #24]
	bl	_pfree
	mov	x0, x19
	bl	_outerPlanState
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ExecEndNode
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
