	.file	"extr_brin_xlog.c_brin_xlog_desummarize_page.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	brin_xlog_desummarize_page, @function
brin_xlog_desummarize_page:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13d, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	call	XLogRecGetData@PLT
	xor	esi, esi
	mov	rdx, r12
	mov	rdi, rbp
	mov	rbx, rax
	call	XLogReadBufferForRedo@PLT
	cmp	QWORD PTR BLK_NEEDS_REDO[rip], rax
	je	.L15
.L2:
	mov	edi, DWORD PTR [rsp]
	call	BufferIsValid@PLT
	test	rax, rax
	jne	.L16
.L3:
	mov	rdx, r12
	mov	esi, 1
	mov	rdi, rbp
	call	XLogReadBufferForRedo@PLT
	cmp	QWORD PTR BLK_NEEDS_REDO[rip], rax
	je	.L17
.L4:
	mov	edi, DWORD PTR [rsp]
	call	BufferIsValid@PLT
	test	rax, rax
	jne	.L18
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR [rsp]
	call	UnlockReleaseBuffer@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR [rsp]
	call	UnlockReleaseBuffer@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR [rsp]
	call	BufferGetPage@PLT
	mov	esi, DWORD PTR [rbx]
	mov	ebp, eax
	mov	edi, eax
	call	PageIndexTupleDeleteNoCompact@PLT
	mov	edi, ebp
	mov	esi, r13d
	call	PageSetLSN@PLT
	mov	edi, DWORD PTR [rsp]
	call	MarkBufferDirty@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, 4[rsp]
	call	ItemPointerSetInvalid@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR [rsp]
	call	brinSetHeapBlockItemptr@PLT
	mov	edi, DWORD PTR [rsp]
	call	BufferGetPage@PLT
	mov	esi, r13d
	mov	edi, eax
	call	PageSetLSN@PLT
	mov	edi, DWORD PTR [rsp]
	call	MarkBufferDirty@PLT
	jmp	.L2
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	brin_xlog_desummarize_page, .-brin_xlog_desummarize_page
	.comm	BLK_NEEDS_REDO,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_brin_xlog.c_brin_xlog_desummarize_page.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	brin_xlog_desummarize_page, %function
brin_xlog_desummarize_page:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L20
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	ldr	r7, [r0]
	bl	XLogRecGetData
	mov	r1, #0
	mov	r5, r0
	add	r2, sp, #4
	mov	r0, r4
	bl	XLogReadBufferForRedo
	ldr	r6, .L20+4
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L15
.L2:
	ldr	r0, [sp, #4]
	bl	BufferIsValid
	cmp	r0, #0
	bne	.L16
.L3:
	mov	r0, r4
	mov	r1, #1
	add	r2, sp, #4
	bl	XLogReadBufferForRedo
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L17
.L4:
	ldr	r0, [sp, #4]
	bl	BufferIsValid
	cmp	r0, #0
	bne	.L18
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	ldr	r0, [sp, #4]
	bl	UnlockReleaseBuffer
	b	.L3
.L18:
	ldr	r0, [sp, #4]
	bl	UnlockReleaseBuffer
	b	.L1
.L17:
	ldr	r0, [sp, #4]
	bl	BufferGetPage
	mov	r4, r0
	ldr	r1, [r5]
	bl	PageIndexTupleDeleteNoCompact
	mov	r1, r7
	mov	r0, r4
	bl	PageSetLSN
	ldr	r0, [sp, #4]
	bl	MarkBufferDirty
	b	.L4
.L15:
	add	r0, sp, #8
	bl	ItemPointerSetInvalid
	ldr	r3, [sp, #8]
	ldr	r2, [r5, #4]
	ldr	r1, [r5, #8]
	ldr	r0, [sp, #4]
	bl	brinSetHeapBlockItemptr
	ldr	r0, [sp, #4]
	bl	BufferGetPage
	mov	r1, r7
	bl	PageSetLSN
	ldr	r0, [sp, #4]
	bl	MarkBufferDirty
	b	.L2
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	BLK_NEEDS_REDO
	.size	brin_xlog_desummarize_page, .-brin_xlog_desummarize_page
	.comm	BLK_NEEDS_REDO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
