	.file	"extr_nbtree.c_btbeginscan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btbeginscan
	.type	btbeginscan, @function
btbeginscan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	edx, edx
	sete	dil
	call	Assert@PLT
	mov	edx, r12d
	mov	esi, r13d
	mov	edi, ebp
	call	RelationGetIndexScan@PLT
	mov	edi, 4
	mov	r12, rax
	call	palloc@PLT
	mov	edi, DWORD PTR 76[rax]
	mov	rbx, rax
	call	BTScanPosInvalidate@PLT
	mov	edi, DWORD PTR 72[rbx]
	call	BTScanPosInvalidate@PLT
	mov	edi, DWORD PTR [r12]
	test	edi, edi
	jg	.L6
	mov	QWORD PTR 64[rbx], 0
.L3:
	mov	QWORD PTR 56[rbx], 0
	mov	edi, ebp
	mov	QWORD PTR 48[rbx], 0
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 8[rbx], 0
	call	RelationGetDescr@PLT
	mov	QWORD PTR 8[r12], rbx
	mov	DWORD PTR 16[r12], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	sal	edi, 2
	call	palloc@PLT
	mov	QWORD PTR 64[rbx], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	btbeginscan, .-btbeginscan
	.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_nbtree.c_btbeginscan.c"
	.text
	.align	2
	.global	btbeginscan
	.syntax unified
	.arm
	.fpu softvfp
	.type	btbeginscan, %function
btbeginscan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	clz	r0, r2
	mov	r5, r1
	mov	r4, r2
	lsr	r0, r0, #5
	bl	Assert
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	RelationGetIndexScan
	mov	r5, r0
	mov	r0, #4
	bl	palloc
	mov	r4, r0
	ldr	r0, [r0, #40]
	bl	BTScanPosInvalidate
	ldr	r0, [r4, #36]
	bl	BTScanPosInvalidate
	ldr	r0, [r5]
	cmp	r0, #0
	movle	r3, #0
	strle	r3, [r4, #32]
	ble	.L3
	lsl	r0, r0, #2
	bl	palloc
	str	r0, [r4, #32]
.L3:
	mov	r3, #0
	mov	r0, r6
	str	r3, [r4, #28]
	str	r3, [r4, #24]
	str	r3, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r3, [r4]
	str	r3, [r4, #4]
	bl	RelationGetDescr
	str	r4, [r5, #4]
	str	r0, [r5, #8]
	mov	r0, r5
	pop	{r4, r5, r6, pc}
	.size	btbeginscan, .-btbeginscan
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
