	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_start_vacuum               ## -- Begin function _bt_start_vacuum
	.p2align	4, 0x90
__bt_start_vacuum:                      ## @_bt_start_vacuum
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_BtreeVacuumLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_btvacinfo@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	movq	_MAX_BT_CYCLE_ID@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	movl	$1, %r14d
	cmovll	%edx, %r14d
	movl	$1, %ecx
	testl	%edx, %edx
	cmovel	%ecx, %r14d
	movl	%r14d, (%rax)
	movq	(%rdi), %rax
	movl	4(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movl	$16, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	4(%rax), %rcx
	addq	$24, %r13
	cmpq	%rcx, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rcx
	movq	-8(%rcx,%r13), %rdx
	cmpq	(%r12), %rdx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx,%r13), %rcx
	cmpq	8(%r12), %rcx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BtreeVacuumLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_RelationGetRelationName
	movl	%ebx, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_elog
	movq	_btvacinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_6:
	cmpl	8(%rax), %ecx
	jl	LBB0_8
## %bb.7:
	movq	_BtreeVacuumLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movq	_btvacinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	movq	16(%rax), %rcx
	movslq	4(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movups	(%r12), %xmm0
	movups	%xmm0, 8(%rcx,%rax,8)
	movl	%r14d, (%rcx,%rax,8)
	movq	_btvacinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	4(%rax)
	movq	_BtreeVacuumLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BtreeVacuumLock,4,2            ## @BtreeVacuumLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_btvacinfo,8,3                  ## @btvacinfo
	.comm	_MAX_BT_CYCLE_ID,4,2            ## @MAX_BT_CYCLE_ID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"multiple active vacuums for index \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"out of btvacinfo slots"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_start_vacuum               ; -- Begin function _bt_start_vacuum
	.p2align	2
__bt_start_vacuum:                      ; @_bt_start_vacuum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x23, _BtreeVacuumLock@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BtreeVacuumLock@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x24, _btvacinfo@GOTPAGE
Lloh6:
	ldr	x24, [x24, _btvacinfo@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w9, [x8]
	add	w10, w9, #1
Lloh7:
	adrp	x11, _MAX_BT_CYCLE_ID@GOTPAGE
Lloh8:
	ldr	x11, [x11, _MAX_BT_CYCLE_ID@GOTPAGEOFF]
	str	w10, [x8]
Lloh9:
	ldr	w11, [x11]
	cmp	w9, w11
	ccmp	w10, #0, #4, lt
	mov	w10, #1
	csinc	w20, w10, w9, eq
	str	w20, [x8]
	ldr	x8, [x24]
	ldr	w9, [x8, #4]
Lloh10:
	adrp	x25, _ERROR@GOTPAGE
Lloh11:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x26, #0
	mov	x27, #0
Lloh12:
	adrp	x21, l_.str@PAGE
Lloh13:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldrsw	x9, [x8, #4]
	add	x26, x26, #24
	cmp	x27, x9
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #16]
	add	x9, x9, x26
	ldr	x10, [x9, #8]
	ldr	x11, [x19]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #16]
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23]
	bl	_LWLockRelease
	ldr	w22, [x25]
	mov	x0, x19
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x22
	mov	x1, x21
	bl	_elog
	ldr	x8, [x24]
	b	LBB0_2
LBB0_6:
	ldr	w10, [x8, #8]
	cmp	w9, w10
	b.lt	LBB0_8
; %bb.7:
	ldr	w0, [x23]
	bl	_LWLockRelease
	ldr	w0, [x25]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	ldr	x8, [x24]
LBB0_8:
	ldr	x9, [x8, #16]
	ldrsw	x8, [x8, #4]
	mov	w10, #24
	madd	x8, x8, x10, x9
	ldr	q0, [x19]
	stur	q0, [x8, #8]
	str	w20, [x8]
	ldr	x8, [x24]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w0, [x23]
	bl	_LWLockRelease
	mov	x0, x20
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BtreeVacuumLock,4,2            ; @BtreeVacuumLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_btvacinfo,8,3                  ; @btvacinfo
	.comm	_MAX_BT_CYCLE_ID,4,2            ; @MAX_BT_CYCLE_ID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"multiple active vacuums for index \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"out of btvacinfo slots"

.subsections_via_symbols
