	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function vacuum_delay_point
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vacuum_delay_point
	.p2align	4, 0x90
_vacuum_delay_point:                    ## @vacuum_delay_point
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	_VacuumCostActive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_InterruptPending@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_VacuumCostBalance@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_VacuumCostLimit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_VacuumCostDelay@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	imull	%esi, %eax
	cltd
	idivl	%ecx
	cvtsi2sd	%eax, %xmm0
	shll	$2, %esi
	cvtsi2sd	%esi, %xmm1
	minsd	%xmm0, %xmm1
	mulsd	LCPI0_0(%rip), %xmm1
	cvttsd2si	%xmm1, %rdi
	callq	_pg_usleep
	movl	$0, (%rbx)
	xorl	%eax, %eax
	callq	_AutoVacuumUpdateDelay
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CHECK_FOR_INTERRUPTS           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VacuumCostActive,8,3           ## @VacuumCostActive
	.comm	_InterruptPending,4,2           ## @InterruptPending
	.comm	_VacuumCostBalance,4,2          ## @VacuumCostBalance
	.comm	_VacuumCostLimit,4,2            ## @VacuumCostLimit
	.comm	_VacuumCostDelay,4,2            ## @VacuumCostDelay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vacuum_delay_point             ; -- Begin function vacuum_delay_point
	.p2align	2
_vacuum_delay_point:                    ; @vacuum_delay_point
	.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
	bl	_CHECK_FOR_INTERRUPTS
Lloh0:
	adrp	x8, _VacuumCostActive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VacuumCostActive@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _InterruptPending@GOTPAGE
Lloh4:
	ldr	x9, [x9, _InterruptPending@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x19, _VacuumCostBalance@GOTPAGE
Lloh7:
	ldr	x19, [x19, _VacuumCostBalance@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _VacuumCostLimit@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VacuumCostLimit@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh11:
	adrp	x10, _VacuumCostDelay@GOTPAGE
Lloh12:
	ldr	x10, [x10, _VacuumCostDelay@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	mul	w8, w10, w8
	sdiv	w8, w8, w9
	scvtf	d0, w8
	lsl	w8, w10, #2
	scvtf	d1, w8
	fcmp	d0, d1
	fcsel	d0, d1, d0, gt
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	x0, d0
	bl	_pg_usleep
	str	wzr, [x19]
	bl	_AutoVacuumUpdateDelay
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CHECK_FOR_INTERRUPTS
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VacuumCostActive,8,3           ; @VacuumCostActive
	.comm	_InterruptPending,4,2           ; @InterruptPending
	.comm	_VacuumCostBalance,4,2          ; @VacuumCostBalance
	.comm	_VacuumCostLimit,4,2            ; @VacuumCostLimit
	.comm	_VacuumCostDelay,4,2            ; @VacuumCostDelay
.subsections_via_symbols
