	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RememberToFreeTupleDescAtEOX
_RememberToFreeTupleDescAtEOX:          ## @RememberToFreeTupleDescAtEOX
	.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
	movl	%edi, %r14d
	movq	_EOXactTupleDescArray@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_NextEOXactTupleDescNum@GOTPCREL(%rip), %rcx
	movq	_EOXactTupleDescArrayLen@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	cmpl	%ebx, (%rcx)
	jl	LBB0_4
## %bb.3:
	leal	(%rbx,%rbx), %r13d
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setg	%dil
	callq	_Assert
	movq	(%r15), %rdi
	shll	$3, %ebx
	movl	%ebx, %esi
	callq	_repalloc
	movq	%rax, (%r15)
	movl	%r13d, (%r12)
	jmp	LBB0_4
LBB0_1:
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %ebx
	movl	$64, %edi
	callq	_palloc
	movq	%rax, (%r15)
	movq	_EOXactTupleDescArrayLen@GOTPCREL(%rip), %rax
	movl	$16, (%rax)
	movq	_NextEOXactTupleDescNum@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	%ebx, %edi
	callq	_MemoryContextSwitchTo
	movq	(%r15), %rax
LBB0_4:
	movq	_NextEOXactTupleDescNum@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rcx)
	movl	%r14d, (%rax,%rdx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOXactTupleDescArray,8,3       ## @EOXactTupleDescArray
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_EOXactTupleDescArrayLen,4,2    ## @EOXactTupleDescArrayLen
	.comm	_NextEOXactTupleDescNum,4,2     ## @NextEOXactTupleDescNum
	.no_dead_strip	_RememberToFreeTupleDescAtEOX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RememberToFreeTupleDescAtEOX
_RememberToFreeTupleDescAtEOX:          ; @RememberToFreeTupleDescAtEOX
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _EOXactTupleDescArray@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EOXactTupleDescArray@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x21, _NextEOXactTupleDescNum@GOTPAGE
Lloh3:
	ldr	x21, [x21, _NextEOXactTupleDescNum@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x21]
Lloh4:
	adrp	x20, _EOXactTupleDescArrayLen@GOTPAGE
Lloh5:
	ldr	x20, [x20, _EOXactTupleDescArrayLen@GOTPAGEOFF]
	ldr	w23, [x20]
	cmp	w8, w23
	b.lt	LBB0_4
; %bb.2:
	lsl	w24, w23, #1
	cmp	w23, #0
	cset	w0, gt
	bl	_Assert
	ldr	x0, [x22]
	lsl	w1, w23, #3
	bl	_repalloc
	str	x0, [x22]
	str	w24, [x20]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	w0, #64
	bl	_palloc
	str	x0, [x22]
Lloh9:
	adrp	x8, _EOXactTupleDescArrayLen@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOXactTupleDescArrayLen@GOTPAGEOFF]
	mov	w9, #16
Lloh11:
	str	w9, [x8]
	str	wzr, [x21]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldr	x0, [x22]
LBB0_4:
	ldrsw	x8, [x21]
	add	w9, w8, #1
	str	w9, [x21]
	str	w19, [x0, x8, lsl #2]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EOXactTupleDescArray,8,3       ; @EOXactTupleDescArray
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_EOXactTupleDescArrayLen,4,2    ; @EOXactTupleDescArrayLen
	.comm	_NextEOXactTupleDescNum,4,2     ; @NextEOXactTupleDescNum
	.no_dead_strip	_RememberToFreeTupleDescAtEOX
.subsections_via_symbols
