	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lazy_cleanup_index
_lazy_cleanup_index:                    ## @lazy_cleanup_index
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r14d
	leaq	-44(%rbp), %rdi
	callq	_pg_rusage_init
	movl	%r14d, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	(%rbx), %rax
	xorl	%ecx, %ecx
	cmpq	8(%rbx), %rax
	setl	%cl
	movl	%ecx, -64(%rbp)
	movq	_elevel@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -52(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	_vac_strategy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	callq	_index_vacuum_cleanup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	cmpl	$0, 20(%rax)
	jne	LBB0_3
## %bb.2:
	movl	12(%rbx), %esi
	movl	16(%rbx), %edx
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_InvalidMultiXactId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%rax
	callq	_vac_update_relstats
	addq	$16, %rsp
LBB0_3:
	movl	(%r12), %r15d
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	8(%rbx), %r14d
	movl	(%rbx), %r12d
	movl	4(%rbx), %r13d
	leaq	-44(%rbp), %rdi
	callq	_pg_rusage_show
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_errdetail
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	%rbx, %rdi
	callq	_pfree
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_elevel,4,2                     ## @elevel
	.comm	_vac_strategy,4,2               ## @vac_strategy
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_InvalidMultiXactId,4,2         ## @InvalidMultiXactId
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index \"%s\" now contains %.0f row versions in %u pages"

L_.str.1:                               ## @.str.1
	.asciz	"%.0f index row versions were removed.\n%u index pages have been deleted, %u are currently reusable.\n%s."

	.no_dead_strip	_lazy_cleanup_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lazy_cleanup_index
_lazy_cleanup_index:                    ; @lazy_cleanup_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #12
	bl	_pg_rusage_init
	str	w20, [sp, #40]
	str	xzr, [sp, #16]
	ldp	x8, x9, [x19]
	cmp	x8, x9
	cset	w8, lt
Lloh0:
	adrp	x22, _elevel@GOTPAGE
Lloh1:
	ldr	x22, [x22, _elevel@GOTPAGEOFF]
	ldr	w9, [x22]
	ldr	w10, [x19, #16]
	stp	w10, w9, [sp, #32]
Lloh2:
	adrp	x9, _vac_strategy@GOTPAGE
Lloh3:
	ldr	x9, [x9, _vac_strategy@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	add	x0, sp, #16
	mov	x1, x21
	bl	_index_vacuum_cleanup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_3
; %bb.2:
	ldp	w1, w2, [x19, #12]
Lloh5:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh6:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
Lloh8:
	adrp	x8, _InvalidMultiXactId@GOTPAGE
Lloh9:
	ldr	x8, [x8, _InvalidMultiXactId@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	mov	w7, #0
	bl	_vac_update_relstats
LBB0_3:
	ldr	w21, [x22]
	mov	x0, x20
	bl	_RelationGetRelationName
	mov	x1, x0
	ldp	w3, w2, [x19, #12]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	ldp	w22, w20, [x19, #4]
	ldr	w23, [x19]
	add	x0, sp, #12
	bl	_pg_rusage_show
	mov	x4, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	mov	x0, x19
	bl	_pfree
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_elevel,4,2                     ; @elevel
	.comm	_vac_strategy,4,2               ; @vac_strategy
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_InvalidMultiXactId,4,2         ; @InvalidMultiXactId
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index \"%s\" now contains %.0f row versions in %u pages"

l_.str.1:                               ; @.str.1
	.asciz	"%.0f index row versions were removed.\n%u index pages have been deleted, %u are currently reusable.\n%s."

	.no_dead_strip	_lazy_cleanup_index
.subsections_via_symbols
