	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inv_getsize
_inv_getsize:                           ## @inv_getsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_PointerIsValid
	movl	%eax, %edi
	callq	_Assert
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_open_lo_relation
	movq	_Anum_pg_largeobject_loid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%rbx), %edi
	callq	_ObjectIdGetDatum
	leaq	-52(%rbp), %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_lo_heap_r@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_lo_index_r@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movl	$1, %ecx
	leaq	-52(%rbp), %r8
	callq	_systable_beginscan_ordered
	movl	%eax, %r14d
	movq	_BackwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_systable_getnext_ordered
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_HeapTupleHasNulls
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	%rax, %rbx
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rax, %rdi
	callq	_getdatafield
	movq	_LOBLKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	imull	(%rbx), %r15d
	addl	-48(%rbp), %r15d
	cmpl	$0, -44(%rbp)
	je	LBB0_5
## %bb.4:
	movq	-64(%rbp), %rdi
	callq	_pfree
LBB0_5:
	movl	%r14d, %edi
	callq	_systable_endscan_ordered
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Anum_pg_largeobject_loid,4,2   ## @Anum_pg_largeobject_loid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_lo_heap_r,4,2                  ## @lo_heap_r
	.comm	_lo_index_r,4,2                 ## @lo_index_r
	.comm	_BackwardScanDirection,4,2      ## @BackwardScanDirection
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"null field found in pg_largeobject"

	.comm	_LOBLKSIZE,4,2                  ## @LOBLKSIZE
	.no_dead_strip	_inv_getsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inv_getsize
_inv_getsize:                           ; @inv_getsize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_PointerIsValid
	bl	_Assert
	bl	_open_lo_relation
Lloh0:
	adrp	x8, _Anum_pg_largeobject_loid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Anum_pg_largeobject_loid@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BTEqualStrategyNumber@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	ldr	w21, [x9]
Lloh6:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	ldr	w0, [x19, #4]
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #28
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_ScanKeyInit
Lloh9:
	adrp	x8, _lo_heap_r@GOTPAGE
Lloh10:
	ldr	x8, [x8, _lo_heap_r@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _lo_index_r@GOTPAGE
Lloh13:
	ldr	x8, [x8, _lo_index_r@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x19]
	add	x4, sp, #28
	mov	w3, #1
	bl	_systable_beginscan_ordered
	mov	x19, x0
Lloh15:
	adrp	x8, _BackwardScanDirection@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BackwardScanDirection@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_systable_getnext_ordered
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_HeapTupleHasNulls
	cbz	x0, LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	mov	x0, x20
	bl	_GETSTRUCT
	mov	x20, x0
	add	x1, sp, #16
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_getdatafield
	ldr	w8, [x20]
Lloh23:
	adrp	x9, _LOBLKSIZE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _LOBLKSIZE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]
	madd	w20, w9, w8, w10
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	x0, [sp, #16]
	bl	_pfree
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x19
	bl	_systable_endscan_ordered
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_Anum_pg_largeobject_loid,4,2   ; @Anum_pg_largeobject_loid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_lo_heap_r,4,2                  ; @lo_heap_r
	.comm	_lo_index_r,4,2                 ; @lo_index_r
	.comm	_BackwardScanDirection,4,2      ; @BackwardScanDirection
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"null field found in pg_largeobject"

	.comm	_LOBLKSIZE,4,2                  ; @LOBLKSIZE
	.no_dead_strip	_inv_getsize
.subsections_via_symbols
