	.file	"extr_spgscan.c_storeGettuple.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	storeGettuple, @function
storeGettuple:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, r9d
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR MaxIndexTuplesPerPage[rip]
	cmp	QWORD PTR [rdi], rax
	setb	dil
	mov	DWORD PTR 12[rsp], edx
	mov	r13, QWORD PTR 64[rsp]
	movzx	edi, dil
	mov	DWORD PTR 8[rsp], ecx
	call	Assert@PLT
	mov	rax, QWORD PTR 80[rbx]
	mov	rdx, QWORD PTR [rbx]
	mov	ecx, DWORD PTR [r14]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR 8[rbx]
	mov	DWORD PTR [rax+rdx*4], r12d
	mov	rax, QWORD PTR 16[rbx]
	mov	DWORD PTR [rax+rdx*4], ebp
	mov	edi, DWORD PTR 24[rbx]
	test	edi, edi
	jle	.L2
	mov	eax, DWORD PTR 8[rsp]
	test	eax, eax
	je	.L14
.L3:
	mov	rax, QWORD PTR 72[rbx]
	mov	QWORD PTR [rax+rdx*8], 0
.L2:
	cmp	QWORD PTR 64[rbx], 0
	jne	.L15
.L10:
	add	rdx, 1
	mov	QWORD PTR [rbx], rdx
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	cmp	QWORD PTR 32[rbx], 0
	jle	.L3
	sal	edi, 4
	call	palloc@PLT
	mov	ecx, DWORD PTR 24[rbx]
	test	ecx, ecx
	jle	.L9
	lea	edi, -1[rcx]
	mov	rsi, QWORD PTR 40[rbx]
	mov	rdx, rax
	add	rdi, 1
	sal	rdi, 4
	add	rdi, rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L16:
	movsd	xmm0, QWORD PTR 0[r13+rcx*8]
	add	rdx, 16
	add	rsi, 4
	mov	DWORD PTR -8[rdx], 0
	movsd	QWORD PTR -16[rdx], xmm0
	cmp	rdi, rdx
	je	.L9
.L8:
	movsx	rcx, DWORD PTR [rsi]
	test	ecx, ecx
	jns	.L16
	mov	QWORD PTR [rdx], 0x000000000
	add	rdx, 16
	add	rsi, 4
	mov	DWORD PTR -8[rdx], 1
	cmp	rdi, rdx
	jne	.L8
.L9:
	mov	rdx, QWORD PTR [rbx]
	mov	rcx, QWORD PTR 72[rbx]
	cmp	QWORD PTR 64[rbx], 0
	mov	QWORD PTR [rcx+rdx*8], rax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 56[rbx]
	mov	edi, DWORD PTR 48[rbx]
	lea	rsi, 12[rsp]
	lea	rbp, [rax+rdx*4]
	lea	rdx, 8[rsp]
	call	heap_form_tuple@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	DWORD PTR 0[rbp], eax
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	storeGettuple, .-storeGettuple
	.comm	MaxIndexTuplesPerPage,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_spgscan.c_storeGettuple.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	storeGettuple, %function
storeGettuple:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r1, .L20
	ldr	r0, [r0]
	ldr	r1, [r1]
	sub	sp, sp, #12
	cmp	r0, r1
	movcs	r0, #0
	movcc	r0, #1
	ldr	r7, [sp, #40]
	ldr	r6, [sp, #44]
	str	r2, [sp, #4]
	str	r3, [sp]
	bl	Assert
	ldr	r1, [r5]
	ldr	r3, [r4, #40]
	ldr	r5, [r4]
	ldr	r2, [r4, #4]
	str	r1, [r3, r5, lsl #2]
	ldr	r3, [r4, #8]
	str	r7, [r2, r5, lsl #2]
	str	r6, [r3, r5, lsl #2]
	ldr	r0, [r4, #12]
	cmp	r0, #0
	ble	.L2
	ldr	r6, [sp]
	lsl	r3, r5, #2
	cmp	r6, #0
	beq	.L17
.L3:
	mov	r1, #0
	ldr	r2, [r4, #36]
	str	r1, [r2, r3]
.L2:
	ldr	r3, [r4, #32]
	cmp	r3, #0
	bne	.L18
.L10:
	add	r5, r5, #1
	str	r5, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	ldr	r2, [r4, #16]
	cmp	r2, #0
	ble	.L3
	lsl	r0, r0, #4
	bl	palloc
	ldr	lr, [r4, #12]
	cmp	lr, #0
	ble	.L9
	ldr	r1, [r4, #20]
	mov	ip, r6
	sub	r1, r1, #4
	mov	r2, r0
	mov	r8, #0
	mov	r9, #0
	mov	r5, #1
	add	lr, r1, lr, lsl #2
	b	.L8
.L19:
	cmp	r1, lr
	ldmia	r3, {r6-r7}
	add	r2, r2, #16
	str	ip, [r2, #-8]
	str	r6, [r2, #-16]
	str	r7, [r2, #-12]
	beq	.L9
.L8:
	ldr	r3, [r1, #4]!
	ldr	r6, [sp, #48]
	cmp	r3, #0
	add	r3, r6, r3, lsl #3
	bge	.L19
	cmp	r1, lr
	stm	r2, {r8-r9}
	str	r5, [r2, #8]
	add	r2, r2, #16
	bne	.L8
.L9:
	ldr	r3, [r4, #36]
	ldr	r5, [r4]
	str	r0, [r3, r5, lsl #2]
	ldr	r3, [r4, #32]
	cmp	r3, #0
	beq	.L10
.L18:
	mov	r2, sp
	ldr	r0, [r4, #24]
	add	r1, sp, #4
	ldr	r6, [r4, #28]
	bl	heap_form_tuple
	str	r0, [r6, r5, lsl #2]
	ldr	r5, [r4]
	add	r5, r5, #1
	str	r5, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L21:
	.align	2
.L20:
	.word	MaxIndexTuplesPerPage
	.size	storeGettuple, .-storeGettuple
	.comm	MaxIndexTuplesPerPage,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
