	.file	"extr_aclchk.c_pg_largeobject_ownercheck.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"large object %u does not exist"
	.text
	.p2align 4
	.globl	pg_largeobject_ownercheck
	.type	pg_largeobject_ownercheck, @function
pg_largeobject_ownercheck:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	r12d, edi
	mov	edi, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	superuser_arg@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	je	.L9
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR AccessShareLock[rip]
	mov	edi, DWORD PTR LargeObjectMetadataRelationId[rip]
	lea	r14, 4[rsp]
	call	table_open@PLT
	mov	edi, r12d
	mov	r13d, eax
	call	ObjectIdGetDatum@PLT
	mov	ecx, DWORD PTR F_OIDEQ[rip]
	mov	edx, DWORD PTR BTEqualStrategyNumber[rip]
	mov	rdi, r14
	mov	esi, DWORD PTR Anum_pg_largeobject_metadata_oid[rip]
	mov	r8d, eax
	call	ScanKeyInit@PLT
	mov	esi, DWORD PTR LargeObjectMetadataOidIndexId[rip]
	mov	r9, r14
	xor	ecx, ecx
	mov	r8d, 1
	mov	edx, 1
	mov	edi, r13d
	call	systable_beginscan@PLT
	mov	edi, eax
	mov	r14d, eax
	call	systable_getnext@PLT
	mov	edi, eax
	mov	r15d, eax
	call	HeapTupleIsValid@PLT
	test	eax, eax
	je	.L11
.L3:
	mov	edi, r15d
	call	GETSTRUCT@PLT
	mov	edi, r14d
	mov	r12d, DWORD PTR [rax]
	call	systable_endscan@PLT
	mov	esi, DWORD PTR AccessShareLock[rip]
	mov	edi, r13d
	call	table_close@PLT
	mov	esi, r12d
	mov	edi, ebp
	call	has_privs_of_role@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR ERRCODE_UNDEFINED_OBJECT[rip]
	call	errcode@PLT
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L3
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pg_largeobject_ownercheck, .-pg_largeobject_ownercheck
	.comm	LargeObjectMetadataRelationId,4,4
	.comm	LargeObjectMetadataOidIndexId,4,4
	.comm	F_OIDEQ,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_UNDEFINED_OBJECT,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_aclchk.c_pg_largeobject_ownercheck.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"large object %u does not exist\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pg_largeobject_ownercheck
	.syntax unified
	.arm
	.fpu softvfp
	.type	pg_largeobject_ownercheck, %function
pg_largeobject_ownercheck:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L11
	sub	sp, sp, #28
	mov	r7, r0
	mov	r0, r1
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	superuser_arg
	subs	r5, r0, #0
	movne	r0, #1
	beq	.L8
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r3, .L11+4
	ldr	r9, .L11+8
	ldr	r0, [r3]
	ldr	r1, [r9]
	bl	table_open
	ldr	r3, .L11+12
	ldr	r1, .L11+16
	ldr	r2, .L11+20
	ldr	r3, [r3]
	mov	r6, r0
	mov	r0, r7
	ldr	r10, [r1]
	ldr	fp, [r2]
	str	r3, [sp, #12]
	bl	ObjectIdGetDatum
	add	r8, sp, #16
	mov	r2, fp
	mov	r1, r10
	ldr	r3, [sp, #12]
	str	r0, [sp]
	mov	r0, r8
	bl	ScanKeyInit
	mov	r2, #1
	ldr	r1, .L11+24
	str	r2, [sp]
	str	r8, [sp, #4]
	mov	r3, r5
	ldr	r1, [r1]
	mov	r0, r6
	bl	systable_beginscan
	mov	r5, r0
	bl	systable_getnext
	mov	r8, r0
	bl	HeapTupleIsValid
	cmp	r0, #0
	beq	.L10
.L3:
	mov	r0, r8
	bl	GETSTRUCT
	mov	r3, r0
	mov	r0, r5
	ldr	r5, [r3]
	bl	systable_endscan
	ldr	r1, [r9]
	mov	r0, r6
	bl	table_close
	mov	r1, r5
	mov	r0, r4
	bl	has_privs_of_role
	b	.L1
.L10:
	ldr	r2, .L11+28
	ldr	r3, .L11+32
	ldr	r0, [r2]
	ldr	r10, [r3]
	bl	errcode
	mov	r1, r7
	ldr	r0, .L11+36
	bl	errmsg
	mov	r1, r0
	mov	r0, r10
	bl	ereport
	b	.L3
.L9:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	LargeObjectMetadataRelationId
	.word	AccessShareLock
	.word	F_OIDEQ
	.word	Anum_pg_largeobject_metadata_oid
	.word	BTEqualStrategyNumber
	.word	LargeObjectMetadataOidIndexId
	.word	ERRCODE_UNDEFINED_OBJECT
	.word	ERROR
	.word	.LC0
	.size	pg_largeobject_ownercheck, .-pg_largeobject_ownercheck
	.comm	LargeObjectMetadataRelationId,4,4
	.comm	LargeObjectMetadataOidIndexId,4,4
	.comm	F_OIDEQ,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_UNDEFINED_OBJECT,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
