	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function release_partition
_release_partition:                     ## @release_partition
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edx
	testl	%edx, %edx
	jle	LBB0_18
## %bb.1:
	movq	48(%r14), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
LBB0_13:
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	$0, (%rsi)
	jmp	LBB0_17
LBB0_18:
	movq	8(%r14), %rdi
	callq	_MemoryContextResetAndDeleteChildren
	movq	16(%r14), %rdi
	callq	_MemoryContextResetAndDeleteChildren
	movl	24(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_23
## %bb.19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_23
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdi
	cmpq	16(%r14), %rdi
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	callq	_MemoryContextResetAndDeleteChildren
	movl	24(%r14), %eax
	jmp	LBB0_22
LBB0_23:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_tuplestore_end
LBB0_25:
	movq	$0, 32(%r14)
	movl	$0, 28(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	andl	$-4, %edx
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%rdi)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%rdi)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%rdi)
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%rdi)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_release_partition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function release_partition
_release_partition:                     ; @release_partition
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x9, [x19, #48]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x10]
	b	LBB0_2
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_MemoryContextResetAndDeleteChildren
	ldr	x0, [x19, #16]
	bl	_MemoryContextResetAndDeleteChildren
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x20, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #40]
	ldr	x0, [x9, x20, lsl #3]
	ldr	x9, [x19, #16]
	cmp	x0, x9
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_MemoryContextResetAndDeleteChildren
	ldr	w8, [x19, #24]
	b	LBB0_7
LBB0_10:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_tuplestore_end
LBB0_12:
	str	xzr, [x19, #32]
	str	wzr, [x19, #28]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_release_partition
.subsections_via_symbols
