	.file	"extr_execMain.c_EvalPlanQualFetchRowMark.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EvalPlanQual doesn't support locking rowmarks"
	.align 8
.LC1:
	.string	"cannot lock rows in foreign table \"%s\""
	.align 8
.LC2:
	.string	"failed to fetch tuple for EvalPlanQual recheck"
	.text
	.p2align 4
	.globl	EvalPlanQualFetchRowMark
	.type	EvalPlanQualFetchRowMark, @function
EvalPlanQualFetchRowMark:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rsi, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 16[rdi]
	mov	edi, 1
	mov	r13, QWORD PTR -8[rax+rsi*8]
	mov	rbp, QWORD PTR 16[r13]
	call	Assert@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	setne	dil
	call	Assert@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	RowMarkRequiresRowShareLock@PLT
	test	rax, rax
	jne	.L25
.L2:
	mov	rax, QWORD PTR 16[rbp]
	mov	r14, rsp
	cmp	QWORD PTR 8[rbp], rax
	jne	.L3
.L9:
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR ROW_MARK_REFERENCE[rip]
	je	.L26
	xor	edi, edi
	cmp	QWORD PTR ROW_MARK_COPY[rip], rax
	sete	dil
	call	Assert@PLT
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, r14
	call	ExecGetJunkAttribute@PLT
	mov	edx, DWORD PTR [rsp]
	test	edx, edx
	je	.L27
.L8:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 32[rbp], 0
	setne	dil
	call	Assert@PLT
	mov	esi, DWORD PTR 4[r13]
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, r14
	call	ExecGetJunkAttribute@PLT
	mov	ecx, DWORD PTR [rsp]
	mov	r13d, eax
	test	ecx, ecx
	jne	.L8
	mov	rdi, QWORD PTR 32[rbp]
	mov	rcx, QWORD PTR RELKIND_FOREIGN_TABLE[rip]
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR [rax], rcx
	je	.L29
	mov	r14d, DWORD PTR SnapshotAny[rip]
	mov	edi, r13d
	call	DatumGetPointer@PLT
	mov	rdi, QWORD PTR 32[rbp]
	mov	rcx, r12
	mov	r12d, 1
	mov	rsi, rax
	mov	edx, r14d
	call	table_tuple_fetch_row_version@PLT
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC2[rip]
	call	elog@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR 8[r13]
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, r14
	call	ExecGetJunkAttribute@PLT
	mov	esi, DWORD PTR [rsp]
	mov	edi, eax
	test	esi, esi
	jne	.L8
	call	DatumGetObjectId@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	r15, rax
	call	OidIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	cmp	QWORD PTR 24[rbp], r15
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC0[rip]
	call	elog@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rsi, r12
	mov	edi, eax
	call	ExecStoreHeapTupleDatum@PLT
.L23:
	mov	r12d, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	xor	esi, esi
	mov	DWORD PTR 4[rsp], 0
	call	GetFdwRoutineForRelation@PLT
	mov	r14, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L30
.L11:
	mov	edi, DWORD PTR 8[rbx]
	lea	r8, 4[rsp]
	mov	rcx, r12
	mov	edx, r13d
	mov	rsi, rbp
	call	rax
	mov	rdi, r12
	call	TupIsNull@PLT
	test	rax, rax
	je	.L23
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC2[rip]
	call	elog@PLT
	jmp	.L23
.L30:
	mov	edi, DWORD PTR ERRCODE_FEATURE_NOT_SUPPORTED[rip]
	call	errcode@PLT
	mov	rdi, QWORD PTR 32[rbp]
	call	RelationGetRelationName@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	mov	rax, QWORD PTR [r14]
	jmp	.L11
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	EvalPlanQualFetchRowMark, .-EvalPlanQualFetchRowMark
	.comm	SnapshotAny,4,4
	.comm	ROW_MARK_REFERENCE,8,8
	.comm	ROW_MARK_COPY,8,8
	.comm	RELKIND_FOREIGN_TABLE,8,8
	.comm	ERROR,4,4
	.comm	ERRCODE_FEATURE_NOT_SUPPORTED,4,4
	.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_execMain.c_EvalPlanQualFetchRowMark.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EvalPlanQual doesn't support locking rowmarks\000"
	.align	2
.LC1:
	.ascii	"cannot lock rows in foreign table \"%s\"\000"
	.align	2
.LC2:
	.ascii	"failed to fetch tuple for EvalPlanQual recheck\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	EvalPlanQualFetchRowMark
	.syntax unified
	.arm
	.fpu softvfp
	.type	EvalPlanQualFetchRowMark, %function
EvalPlanQualFetchRowMark:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	ldr	r3, [r0, #8]
	sub	r1, r1, #-1073741823
	ldr	r7, [r3, r1, lsl #2]
	ldr	r3, .L31
	sub	sp, sp, #28
	mov	r0, #1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r5, [r7, #12]
	bl	Assert
	ldr	r0, [r4]
	subs	r0, r0, #0
	movne	r0, #1
	bl	Assert
	ldr	r0, [r5]
	bl	RowMarkRequiresRowShareLock
	cmp	r0, #0
	bne	.L24
.L2:
	ldmib	r5, {r2, r3}
	cmp	r2, r3
	add	r8, sp, #12
	bne	.L3
.L9:
	ldr	r2, .L31+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L25
	ldr	r2, .L31+8
	ldr	r0, [r2]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	mov	r2, r8
	ldr	r1, [r7]
	ldr	r0, [r4]
	bl	ExecGetJunkAttribute
	ldr	r3, [sp, #12]
	cmp	r3, #0
	beq	.L26
.L8:
	mov	r0, #0
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L25:
	ldr	r0, [r5, #16]
	subs	r0, r0, #0
	movne	r0, #1
	bl	Assert
	ldr	r1, [r7, #4]
	mov	r2, r8
	ldr	r0, [r4]
	bl	ExecGetJunkAttribute
	ldr	r1, [sp, #12]
	mov	r7, r0
	cmp	r1, #0
	bne	.L8
	ldr	r8, [r5, #16]
	ldr	r3, .L31+12
	ldr	r2, [r8]
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L28
	bl	DatumGetPointer
	ldr	r2, .L31+16
	mov	r1, r0
	mov	r3, r6
	mov	r0, r8
	ldr	r2, [r2]
	bl	table_tuple_fetch_row_version
	cmp	r0, #0
	beq	.L29
.L14:
	mov	r0, #1
	b	.L1
.L3:
	mov	r2, r8
	ldr	r1, [r7, #8]
	ldr	r0, [r4]
	bl	ExecGetJunkAttribute
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bne	.L8
	bl	DatumGetObjectId
	mov	r9, r0
	ldr	r0, [r5, #12]
	bl	OidIsValid
	bl	Assert
	ldr	r3, [r5, #12]
	cmp	r3, r9
	bne	.L8
	b	.L9
.L24:
	ldr	r3, .L31+20
	ldr	r1, .L31+24
	ldr	r0, [r3]
	bl	elog
	b	.L2
.L26:
	mov	r1, r6
	bl	ExecStoreHeapTupleDatum
	mov	r0, #1
	b	.L1
.L28:
	mov	r0, r8
	str	r1, [sp, #16]
	bl	GetFdwRoutineForRelation
	ldr	r9, [r0]
	mov	r8, r0
	cmp	r9, #0
	beq	.L30
.L11:
	add	r3, sp, #16
	mov	r2, r7
	mov	r1, r5
	ldr	r0, [r4, #4]
	str	r3, [sp]
	mov	r3, r6
	blx	r9
	mov	r0, r6
	bl	TupIsNull
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L31+20
	ldr	r1, .L31+28
	ldr	r0, [r3]
	bl	elog
	b	.L14
.L29:
	ldr	r3, .L31+20
	ldr	r1, .L31+28
	ldr	r0, [r3]
	bl	elog
	mov	r0, #1
	b	.L1
.L30:
	ldr	r2, .L31+32
	ldr	r3, .L31+20
	ldr	r0, [r2]
	ldr	r9, [r3]
	bl	errcode
	ldr	r0, [r5, #16]
	bl	RelationGetRelationName
	mov	r1, r0
	ldr	r0, .L31+36
	bl	errmsg
	mov	r1, r0
	mov	r0, r9
	bl	ereport
	ldr	r9, [r8]
	b	.L11
.L27:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC3
	.word	ROW_MARK_REFERENCE
	.word	ROW_MARK_COPY
	.word	RELKIND_FOREIGN_TABLE
	.word	SnapshotAny
	.word	ERROR
	.word	.LC0
	.word	.LC2
	.word	ERRCODE_FEATURE_NOT_SUPPORTED
	.word	.LC1
	.size	EvalPlanQualFetchRowMark, .-EvalPlanQualFetchRowMark
	.comm	SnapshotAny,4,4
	.comm	ROW_MARK_REFERENCE,4,4
	.comm	ROW_MARK_COPY,4,4
	.comm	RELKIND_FOREIGN_TABLE,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_FEATURE_NOT_SUPPORTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
