	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function storeGettuple
_storeGettuple:                         ## @storeGettuple
	.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	%r9d, %r14d
	movl	%r8d, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	%edx, -48(%rbp)
	movl	%ecx, -44(%rbp)
	movq	(%rdi), %rax
	movq	_MaxIndexTuplesPerPage@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setb	%dil
	callq	_Assert
	movl	(%r12), %eax
	movq	(%r13), %rcx
	movq	80(%r13), %rdx
	movl	%eax, (%rdx,%rcx,4)
	movq	8(%r13), %rax
	movl	%r15d, (%rax,%rcx,4)
	movq	16(%r13), %rax
	movl	%r14d, (%rax,%rcx,4)
	movl	24(%r13), %edi
	testl	%edi, %edi
	jle	LBB0_19
## %bb.1:
	cmpl	$0, -44(%rbp)
	je	LBB0_2
LBB0_3:
	movq	72(%r13), %rax
	movq	$0, (%rax,%rcx,8)
LBB0_19:
	cmpq	$0, 64(%r13)
	je	LBB0_21
LBB0_20:
	movl	48(%r13), %edi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_heap_form_tuple
	movq	(%r13), %rcx
	movq	56(%r13), %rdx
	movl	%eax, (%rdx,%rcx,4)
LBB0_21:
	incq	%rcx
	movq	%rcx, (%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	$0, 32(%r13)
	jle	LBB0_3
## %bb.4:
	shll	$4, %edi
	callq	_palloc
	movl	24(%r13), %r8d
	testl	%r8d, %r8d
	jle	LBB0_18
## %bb.5:
	movq	16(%rbp), %r9
	movq	40(%r13), %r11
	cmpl	$1, %r8d
	jne	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
LBB0_13:
	testb	$1, %r8b
	je	LBB0_18
## %bb.14:
	movl	(%r11,%rcx,4), %edx
	testl	%edx, %edx
	js	LBB0_15
## %bb.16:
	movsd	(%r9,%rdx,8), %xmm0             ## xmm0 = mem[0],zero
	xorl	%edx, %edx
	jmp	LBB0_17
LBB0_7:
	movl	%r8d, %r10d
	andl	$-2, %r10d
	movq	%rax, %rdx
	addq	$24, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movsd	%xmm0, -8(%rdx)
	movl	%esi, (%rdx)
	addq	$2, %rcx
	addq	$32, %rdx
	cmpq	%rcx, %r10
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rcx,4), %edi
	movl	$1, %esi
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	movl	$1, %ebx
	testl	%edi, %edi
	js	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movsd	(%r9,%rdi,8), %xmm1             ## xmm1 = mem[0],zero
	xorl	%ebx, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movsd	%xmm1, -24(%rdx)
	movl	%ebx, -16(%rdx)
	movl	4(%r11,%rcx,4), %edi
	testl	%edi, %edi
	js	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movsd	(%r9,%rdi,8), %xmm0             ## xmm0 = mem[0],zero
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_15:
	movl	$1, %edx
	xorps	%xmm0, %xmm0
LBB0_17:
	shlq	$4, %rcx
	movsd	%xmm0, (%rax,%rcx)
	movl	%edx, 8(%rax,%rcx)
LBB0_18:
	movq	(%r13), %rcx
	movq	72(%r13), %rdx
	movq	%rax, (%rdx,%rcx,8)
	cmpq	$0, 64(%r13)
	jne	LBB0_20
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxIndexTuplesPerPage,8,3      ## @MaxIndexTuplesPerPage
	.no_dead_strip	_storeGettuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function storeGettuple
_storeGettuple:                         ; @storeGettuple
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x1
	mov	x19, x0
	stp	w3, w2, [sp, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MaxIndexTuplesPerPage@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MaxIndexTuplesPerPage@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lo
	bl	_Assert
	ldr	w9, [x23]
	ldr	x10, [x19, #80]
	ldp	x8, x11, [x19]
	lsl	x12, x8, #2
	str	w9, [x10, x12]
	str	w22, [x11, x12]
	ldr	x9, [x19, #16]
	str	w21, [x9, x12]
	ldr	w9, [x19, #24]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w10, [sp, #8]
	cbz	w10, LBB0_6
LBB0_2:
	ldr	x9, [x19, #72]
	str	xzr, [x9, x8, lsl #3]
LBB0_3:
	ldr	x9, [x19, #64]
	cbz	x9, LBB0_5
LBB0_4:
	ldr	w0, [x19, #48]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_heap_form_tuple
	ldr	x9, [x19, #56]
	ldr	x8, [x19]
	str	w0, [x9, x8, lsl #2]
LBB0_5:
	add	x8, x8, #1
	str	x8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x10, [x19, #32]
	cmp	x10, #0
	b.le	LBB0_2
; %bb.7:
	lsl	w0, w9, #4
	bl	_palloc
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	ldr	x9, [x19, #40]
	add	x10, x0, #8
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w11, #0
	ldr	d0, [x20, x12, lsl #3]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	stur	d0, [x10, #-8]
	str	w11, [x10], #16
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9]
	tbz	w12, #31, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w11, #1
	movi	d0, #0000000000000000
	b	LBB0_10
LBB0_13:
	ldr	x9, [x19, #72]
	ldr	x8, [x19]
	str	x0, [x9, x8, lsl #3]
	ldr	x9, [x19, #64]
	cbnz	x9, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxIndexTuplesPerPage,8,3      ; @MaxIndexTuplesPerPage
	.no_dead_strip	_storeGettuple
.subsections_via_symbols
