	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collect_corrupt_items
_collect_corrupt_items:                 ## @collect_corrupt_items
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, -80(%rbp)                 ## 4-byte Spill
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)
	movq	_BAS_BULKREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetAccessStrategy
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movq	_PROCARRAY_FLAGS_VACUUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_GetOldestXmin
	jmp	LBB0_3
LBB0_1:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	callq	_relation_open
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_check_relation_relkind
	movl	%r13d, %edi
	callq	_RelationGetNumberOfBlocks
	movq	%rax, %r14
	movl	$12, %edi
	callq	_palloc0
	movq	%rax, %rbx
	movabsq	$274877906944, %rax             ## imm = 0x4000000000
	movq	%rax, (%rbx)
	movl	$256, %edi                      ## imm = 0x100
	callq	_palloc
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, 8(%rbx)
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	testq	%r14, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_36
## %bb.4:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movl	%r15d, -104(%rbp)               ## 4-byte Spill
	movl	%r12d, -100(%rbp)               ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_UnlockReleaseBuffer
	movl	-104(%rbp), %r15d               ## 4-byte Reload
	movl	-100(%rbp), %r12d               ## 4-byte Reload
	movl	-76(%rbp), %r13d                ## 4-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	-144(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_35
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-72(%rbp), %rdx
	callq	_VM_ALL_FROZEN
	testq	%rax, %rax
	setne	%r14b
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-72(%rbp), %rdx
	callq	_VM_ALL_VISIBLE
	testq	%rax, %rax
	setne	%cl
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %eax
	orb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_34
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	-108(%rbp), %r8d                ## 4-byte Reload
	callq	_ReadBufferExtended
	movq	%rax, %rbx
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LockBuffer
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_BufferGetPage
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_PageGetMaxOffsetNumber
	movl	%r13d, %edi
	movq	%rax, %r13
	testb	%r14b, %r14b
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rsi
	leaq	-72(%rbp), %rdx
	callq	_VM_ALL_FROZEN
	testq	%rax, %rax
	setne	%al
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testb	%al, %al
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	leaq	-72(%rbp), %rdx
	callq	_VM_ALL_VISIBLE
	testq	%rax, %rax
	setne	%cl
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $al killed $al killed $eax
	orb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_33
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%r13, %rbx
	jg	LBB0_33
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_20
LBB0_31:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	-136(%rbp), %rsi
	callq	_record_corrupt_item
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	%rbx, %rdi
	callq	_OffsetNumberNext
	movq	%rax, %rbx
	cmpq	%r13, %rax
	jg	LBB0_33
LBB0_20:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_PageGetItemId
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ItemIdIsUsed
	testl	%eax, %eax
	je	LBB0_32
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%r15d, %edi
	callq	_ItemIdIsRedirected
	testq	%rax, %rax
	jne	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%r15d, %edi
	callq	_ItemIdIsDead
	movq	%rax, %r14
	leaq	-136(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_ItemPointerSet
	testq	%r14, %r14
	jne	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_PageGetItem
	movq	%rax, -128(%rbp)
	movl	%r15d, %edi
	callq	_ItemIdGetLength
	movl	%eax, -116(%rbp)
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -120(%rbp)
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=2
	leaq	-136(%rbp), %rdi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_tuple_all_visible
	testl	%eax, %eax
	jne	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	_PROCARRAY_FLAGS_VACUUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_GetOldestXmin
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_TransactionIdPrecedes
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=2
	leaq	-136(%rbp), %rdi
	movl	%r15d, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_tuple_all_visible
	movl	%r15d, %r14d
	testl	%eax, %eax
	jne	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	-136(%rbp), %rsi
	callq	_record_corrupt_item
	jmp	LBB0_29
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=2
	movl	-48(%rbp), %r14d                ## 4-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=2
	cmpb	$0, -60(%rbp)                   ## 1-byte Folded Reload
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-128(%rbp), %rdi
	callq	_heap_tuple_needs_eventual_freeze
	testq	%rax, %rax
	jne	LBB0_31
	jmp	LBB0_32
LBB0_35:
	movq	-72(%rbp), %rdi
LBB0_36:
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_38
## %bb.37:
	callq	_ReleaseBuffer
LBB0_38:
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_relation_close
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%ecx, 4(%rax)
	movl	$0, (%rax)
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_BAS_BULKREAD,4,2               ## @BAS_BULKREAD
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_PROCARRAY_FLAGS_VACUUM,4,2     ## @PROCARRAY_FLAGS_VACUUM
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_MAIN_FORKNUM,4,2               ## @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.no_dead_strip	_collect_corrupt_items
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function collect_corrupt_items
lCPI0_0:
	.long	0                               ; 0x0
	.long	64                              ; 0x40
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_collect_corrupt_items:                 ; @collect_corrupt_items
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x24, x1
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x19, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x19, [x19, _InvalidBuffer@GOTPAGEOFF]
	ldr	x21, [x19]
	str	x21, [sp, #72]
Lloh2:
	adrp	x8, _BAS_BULKREAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BAS_BULKREAD@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_GetAccessStrategy
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
Lloh5:
	adrp	x8, _PROCARRAY_FLAGS_VACUUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PROCARRAY_FLAGS_VACUUM@GOTPAGEOFF]
	cbz	w24, LBB0_2
; %bb.1:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_GetOldestXmin
	mov	x26, x0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh8:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh9:
	ldr	w26, [x8]
LBB0_3:
Lloh10:
	adrp	x20, _AccessShareLock@GOTPAGE
Lloh11:
	ldr	x20, [x20, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	bl	_relation_open
	mov	x23, x0
	bl	_check_relation_relkind
	mov	x0, x23
	bl	_RelationGetNumberOfBlocks
	mov	x28, x0
	mov	w0, #12
	bl	_palloc0
	mov	x25, x0
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	mov	w0, #256
	bl	_palloc
	str	x25, [sp, #40]                  ; 8-byte Folded Spill
	str	w0, [x25, #8]
	cmp	x28, #1
	b.lt	LBB0_33
; %bb.4:
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	mov	x27, #0
	stp	w24, w22, [sp, #24]             ; 8-byte Folded Spill
	str	x28, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
	bl	_UnlockReleaseBuffer
	ldp	w24, w22, [sp, #24]             ; 8-byte Folded Reload
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	cmp	x27, x28
	b.eq	LBB0_32
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	bl	_CHECK_FOR_INTERRUPTS
	cbz	w22, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #72
	mov	x0, x23
	mov	x1, x27
	bl	_VM_ALL_FROZEN
	cmp	x0, #0
	cset	w19, ne
	cbz	w24, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #72
	mov	x0, x23
	mov	x1, x27
	bl	_VM_ALL_VISIBLE
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w19, #0
	cbnz	w24, LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w20, #0
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	orr	w8, w19, w20
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh14:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x2, x27
	ldr	w4, [sp, #32]                   ; 4-byte Folded Reload
	bl	_ReadBufferExtended
	mov	x28, x0
Lloh20:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_LockBuffer
	mov	x0, x28
	bl	_BufferGetPage
	mov	x22, x0
	bl	_PageGetMaxOffsetNumber
	mov	x25, x0
	cbz	w19, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #72
	mov	x0, x23
	mov	x1, x27
	bl	_VM_ALL_FROZEN
	cmp	x0, #0
	cset	w26, ne
	cbnz	w20, LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w24, #0
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
	cbz	w20, LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #72
	mov	x0, x23
	mov	x1, x27
	bl	_VM_ALL_VISIBLE
	cmp	x0, #0
	cset	w24, ne
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	orr	w8, w26, w24
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh23:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh25:
	ldr	x21, [x8]
	cmp	x21, x25
	b.le	LBB0_22
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=2
	add	x1, sp, #48
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_record_corrupt_item
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x21
	bl	_OffsetNumberNext
	mov	x21, x0
	cmp	x0, x25
	b.gt	LBB0_5
LBB0_22:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x21
	bl	_PageGetItemId
	mov	x19, x0
	bl	_ItemIdIsUsed
	cbz	w0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x19
	bl	_ItemIdIsRedirected
	cbnz	x0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x19
	bl	_ItemIdIsDead
	mov	x20, x0
	add	x0, sp, #48
	mov	x1, x27
	mov	x2, x21
	bl	_ItemPointerSet
	cbnz	x20, LBB0_20
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x22
	mov	x1, x19
	bl	_PageGetItem
	str	x0, [sp, #56]
	mov	x0, x19
	bl	_ItemIdGetLength
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	stp	w8, w0, [sp, #64]
	cbz	w24, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_22 Depth=2
	add	x0, sp, #48
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	mov	x1, x20
	mov	x2, x28
	bl	_tuple_all_visible
	cbnz	w0, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=2
Lloh26:
	adrp	x8, _PROCARRAY_FLAGS_VACUUM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PROCARRAY_FLAGS_VACUUM@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_GetOldestXmin
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_TransactionIdPrecedes
	cbz	w0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_22 Depth=2
	add	x0, sp, #48
	mov	x1, x19
	mov	x2, x28
	bl	_tuple_all_visible
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	cbnz	w0, LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_22 Depth=2
	add	x1, sp, #48
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_record_corrupt_item
LBB0_30:                                ;   in Loop: Header=BB0_22 Depth=2
	cbz	w26, LBB0_21
; %bb.31:                               ;   in Loop: Header=BB0_22 Depth=2
	ldr	x0, [sp, #56]
	bl	_heap_tuple_needs_eventual_freeze
	cbnz	x0, LBB0_20
	b	LBB0_21
LBB0_32:
	ldr	x21, [sp, #72]
Lloh29:
	adrp	x19, _InvalidBuffer@GOTPAGE
Lloh30:
	ldr	x19, [x19, _InvalidBuffer@GOTPAGEOFF]
Lloh31:
	adrp	x20, _AccessShareLock@GOTPAGE
Lloh32:
	ldr	x20, [x20, _AccessShareLock@GOTPAGEOFF]
LBB0_33:
	ldr	x8, [x19]
	cmp	x21, x8
	b.eq	LBB0_35
; %bb.34:
	mov	x0, x21
	bl	_ReleaseBuffer
LBB0_35:
	ldr	w1, [x20]
	mov	x0, x23
	bl	_relation_close
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x0]
	stp	wzr, w8, [x0]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_BAS_BULKREAD,4,2               ; @BAS_BULKREAD
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_PROCARRAY_FLAGS_VACUUM,4,2     ; @PROCARRAY_FLAGS_VACUUM
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_MAIN_FORKNUM,4,2               ; @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ; @RBM_NORMAL
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.no_dead_strip	_collect_corrupt_items
.subsections_via_symbols
