	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_vacuum_cycleid             ## -- Begin function _bt_vacuum_cycleid
	.p2align	4, 0x90
__bt_vacuum_cycleid:                    ## @_bt_vacuum_cycleid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BtreeVacuumLock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_btvacinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movq	8(%rax), %rax
	movq	(%rbx), %rcx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %rsi
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, 8(%rax,%rdx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax,%rdx), %rdi
	cmpq	8(%rbx), %rdi
	jne	LBB0_5
## %bb.4:
	movl	(%rax,%rdx), %ebx
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	(%r14), %edi
	callq	_LWLockRelease
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BtreeVacuumLock,4,2            ## @BtreeVacuumLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_btvacinfo,8,3                  ## @btvacinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_vacuum_cycleid             ; -- Begin function _bt_vacuum_cycleid
	.p2align	2
__bt_vacuum_cycleid:                    ; @_bt_vacuum_cycleid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _BtreeVacuumLock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BtreeVacuumLock@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x8, _btvacinfo@GOTPAGE
Lloh6:
	ldr	x8, [x8, _btvacinfo@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x8]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x9, [x9, #8]
	ldr	x10, [x19]
	add	x9, x9, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x9, #-8]
	cmp	x11, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x9]
	ldr	x12, [x19, #8]
	cmp	x11, x12
	b.ne	LBB0_2
; %bb.5:
	ldur	w19, [x9, #-16]
	b	LBB0_7
LBB0_6:
	mov	w19, #0
LBB0_7:
	ldr	w0, [x20]
	bl	_LWLockRelease
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BtreeVacuumLock,4,2            ; @BtreeVacuumLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_btvacinfo,8,3                  ; @btvacinfo
.subsections_via_symbols
