	.file	"extr_inv_api.c_inv_getsize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"null field found in pg_largeobject"
	.text
	.p2align 4
	.type	inv_getsize, @function
inv_getsize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbp, 20[rsp]
	call	PointerIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	xor	eax, eax
	call	open_lo_relation@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	ObjectIdGetDatum@PLT
	mov	ecx, DWORD PTR F_OIDEQ[rip]
	mov	edx, DWORD PTR BTEqualStrategyNumber[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR Anum_pg_largeobject_loid[rip]
	mov	r8d, eax
	call	ScanKeyInit@PLT
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR lo_index_r[rip]
	mov	r8, rbp
	mov	edi, DWORD PTR lo_heap_r[rip]
	mov	ecx, 1
	call	systable_beginscan_ordered@PLT
	mov	esi, DWORD PTR BackwardScanDirection[rip]
	mov	edi, eax
	mov	ebp, eax
	call	systable_getnext_ordered@PLT
	mov	edi, eax
	mov	r12d, eax
	call	HeapTupleIsValid@PLT
	test	rax, rax
	jne	.L13
.L2:
	mov	edi, ebp
	call	systable_endscan_ordered@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L13:
	.cfi_restore_state
	mov	edi, r12d
	call	HeapTupleHasNulls@PLT
	test	rax, rax
	jne	.L15
.L3:
	mov	edi, r12d
	call	GETSTRUCT@PLT
	lea	rcx, 4[rsp]
	mov	rdx, rsp
	lea	rsi, 8[rsp]
	mov	rdi, rax
	mov	rbx, rax
	call	getdatafield@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	r13d, DWORD PTR LOBLKSIZE[rip]
	imul	r13d, DWORD PTR [rbx]
	add	r13d, DWORD PTR [rsp]
	test	eax, eax
	je	.L2
	mov	rdi, QWORD PTR 8[rsp]
	call	pfree@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC0[rip]
	call	elog@PLT
	jmp	.L3
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	inv_getsize, .-inv_getsize
	.comm	lo_index_r,4,4
	.comm	lo_heap_r,4,4
	.comm	LOBLKSIZE,4,4
	.comm	F_OIDEQ,4,4
	.comm	ERROR,4,4
	.comm	BackwardScanDirection,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_largeobject_loid,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_inv_api.c_inv_getsize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"null field found in pg_largeobject\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inv_getsize, %function
inv_getsize:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L20
	sub	sp, sp, #32
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	PointerIsValid
	bl	Assert
	bl	open_lo_relation
	ldr	r1, .L20+4
	ldr	r2, .L20+8
	ldr	r3, .L20+12
	ldr	r0, [r4, #4]
	ldr	r6, [r1]
	ldr	r7, [r2]
	ldr	r8, [r3]
	bl	ObjectIdGetDatum
	add	r5, sp, #24
	mov	r1, r6
	mov	r3, r8
	mov	r2, r7
	str	r0, [sp]
	mov	r0, r5
	bl	ScanKeyInit
	ldr	r3, .L20+16
	ldr	r1, .L20+20
	ldr	r2, [r4]
	str	r5, [sp]
	ldr	r1, [r1]
	ldr	r0, [r3]
	mov	r3, #1
	bl	systable_beginscan_ordered
	ldr	r3, .L20+24
	mov	r5, r0
	ldr	r1, [r3]
	bl	systable_getnext_ordered
	mov	r6, r0
	bl	HeapTupleIsValid
	subs	r4, r0, #0
	bne	.L17
.L2:
	mov	r0, r5
	bl	systable_endscan_ordered
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r0, r6
	bl	HeapTupleHasNulls
	cmp	r0, #0
	bne	.L19
.L3:
	mov	r0, r6
	bl	GETSTRUCT
	mov	r4, r0
	add	r3, sp, #20
	add	r2, sp, #16
	add	r1, sp, #12
	bl	getdatafield
	ldr	r3, .L20+28
	ldr	r2, [sp, #20]
	ldr	r4, [r4]
	ldr	r3, [r3]
	ldr	r0, [sp, #16]
	cmp	r2, #0
	mla	r4, r3, r4, r0
	beq	.L2
	ldr	r0, [sp, #12]
	bl	pfree
	b	.L2
.L19:
	ldr	r3, .L20+32
	ldr	r1, .L20+36
	ldr	r0, [r3]
	bl	elog
	b	.L3
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	Anum_pg_largeobject_loid
	.word	BTEqualStrategyNumber
	.word	F_OIDEQ
	.word	lo_heap_r
	.word	lo_index_r
	.word	BackwardScanDirection
	.word	LOBLKSIZE
	.word	ERROR
	.word	.LC0
	.size	inv_getsize, .-inv_getsize
	.comm	lo_index_r,4,4
	.comm	lo_heap_r,4,4
	.comm	LOBLKSIZE,4,4
	.comm	F_OIDEQ,4,4
	.comm	ERROR,4,4
	.comm	BackwardScanDirection,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_largeobject_loid,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
