	.file	"extr_pg_largeobject.c_LargeObjectExists.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	LargeObjectExists
	.type	LargeObjectExists, @function
LargeObjectExists:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbx, 4[rsp]
	call	ObjectIdGetDatum@PLT
	mov	ecx, DWORD PTR F_OIDEQ[rip]
	mov	edx, DWORD PTR BTEqualStrategyNumber[rip]
	mov	rdi, rbx
	mov	esi, DWORD PTR Anum_pg_largeobject_metadata_oid[rip]
	mov	r8d, eax
	call	ScanKeyInit@PLT
	mov	esi, DWORD PTR AccessShareLock[rip]
	mov	edi, DWORD PTR LargeObjectMetadataRelationId[rip]
	call	table_open@PLT
	mov	esi, DWORD PTR LargeObjectMetadataOidIndexId[rip]
	mov	r9, rbx
	xor	ecx, ecx
	mov	edx, 1
	mov	r8d, 1
	mov	edi, eax
	mov	ebp, eax
	call	systable_beginscan@PLT
	mov	edi, eax
	mov	r12d, eax
	call	systable_getnext@PLT
	mov	edi, eax
	call	HeapTupleIsValid@PLT
	mov	edi, r12d
	mov	rbx, rax
	call	systable_endscan@PLT
	mov	esi, DWORD PTR AccessShareLock[rip]
	mov	edi, ebp
	call	table_close@PLT
	test	rbx, rbx
	setne	al
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	movzx	eax, al
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	LargeObjectExists, .-LargeObjectExists
	.comm	LargeObjectMetadataRelationId,4,4
	.comm	LargeObjectMetadataOidIndexId,4,4
	.comm	F_OIDEQ,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_largeobject_metadata_oid,4,4
	.comm	AccessShareLock,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_pg_largeobject.c_LargeObjectExists.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	LargeObjectExists
	.syntax unified
	.arm
	.fpu softvfp
	.type	LargeObjectExists, %function
LargeObjectExists:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	ip, .L6
	ldr	r1, .L6+4
	ldr	r2, .L6+8
	ldr	r3, .L6+12
	sub	sp, sp, #20
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	ldr	r5, [r1]
	ldr	r6, [r2]
	ldr	r7, [r3]
	bl	ObjectIdGetDatum
	add	r4, sp, #8
	mov	r2, r6
	mov	r3, r7
	mov	r1, r5
	str	r0, [sp]
	mov	r0, r4
	bl	ScanKeyInit
	ldr	r7, .L6+16
	ldr	r3, .L6+20
	ldr	r1, [r7]
	ldr	r0, [r3]
	bl	table_open
	mov	r2, #1
	stm	sp, {r2, r4}
	ldr	r3, .L6+24
	mov	r5, r0
	ldr	r1, [r3]
	mov	r3, #0
	bl	systable_beginscan
	mov	r6, r0
	bl	systable_getnext
	bl	HeapTupleIsValid
	mov	r4, r0
	mov	r0, r6
	bl	systable_endscan
	mov	r0, r5
	ldr	r1, [r7]
	bl	table_close
	ldr	r3, .L6
	subs	r0, r4, #0
	movne	r0, #1
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	Anum_pg_largeobject_metadata_oid
	.word	BTEqualStrategyNumber
	.word	F_OIDEQ
	.word	AccessShareLock
	.word	LargeObjectMetadataRelationId
	.word	LargeObjectMetadataOidIndexId
	.size	LargeObjectExists, .-LargeObjectExists
	.comm	LargeObjectMetadataRelationId,4,4
	.comm	LargeObjectMetadataOidIndexId,4,4
	.comm	F_OIDEQ,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_largeobject_metadata_oid,4,4
	.comm	AccessShareLock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
