	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function relation_needs_vacanalyze
_relation_needs_vacanalyze:             ## @relation_needs_vacanalyze
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r15d
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_AssertArg
	movq	%rbx, %rdi
	callq	_OidIsValid
	movl	%eax, %edi
	callq	_AssertArg
	testq	%r13, %r13
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_28
## %bb.1:
	movq	(%r13), %rax
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movq	_autovacuum_vac_scale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %eax
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	movq	_autovacuum_vac_thresh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	16(%r13), %rax
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	movq	_autovacuum_anl_scale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	24(%r13), %eax
	testl	%eax, %eax
	jns	LBB0_9
## %bb.8:
	movq	_autovacuum_anl_thresh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	36(%r13), %edi
	movq	_autovacuum_freeze_max_age@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%edi, %edi
	js	LBB0_11
## %bb.10:
	movl	%r15d, %esi
	callq	_Min
	movl	%eax, %r15d
LBB0_11:
	movl	32(%r13), %edi
	testl	%edi, %edi
	js	LBB0_13
## %bb.12:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_Min
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_13:
	movl	28(%r13), %r13d
	jmp	LBB0_14
LBB0_28:
	movq	_autovacuum_vac_scale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_autovacuum_vac_thresh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_autovacuum_anl_scale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_autovacuum_anl_thresh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_autovacuum_freeze_max_age@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$1, %r13d
LBB0_14:
	movq	_recentXid@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_FirstNormalTransactionId@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	16(%r12), %edi
	callq	_TransactionIdIsNormal
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	movslq	%r15d, %rax
	subq	%rax, %rbx
	xorl	%eax, %eax
	cmpq	%r14, %rbx
	cmovlq	%r14, %rax
	subq	%rax, %rbx
	movl	16(%r12), %edi
	movq	%rbx, %rsi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	movq	24(%rbp), %rax
	movl	$1, (%rax)
	movl	$1, %ebx
	movb	$1, %r14b
	jmp	LBB0_17
LBB0_20:
	movq	_recentMulti@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_FirstMultiXactId@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	12(%r12), %edi
	callq	_MultiXactIdIsValid
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	subq	%rax, %rbx
	xorl	%eax, %eax
	cmpq	%r14, %rbx
	cmovlq	%r14, %rax
	subq	%rax, %rbx
	movl	12(%r12), %edi
	movq	%rbx, %rsi
	callq	_MultiXactIdPrecedes
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_23
LBB0_21:
	xorl	%ebx, %ebx
LBB0_23:
	movq	24(%rbp), %rax
	movl	%ebx, (%rax)
	testl	%ebx, %ebx
	setne	%r14b
	orl	%ebx, %r13d
	je	LBB0_24
LBB0_17:
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_PointerIsValid
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:
	xorl	%eax, %eax
	callq	_AutoVacuumingActive
	testq	%rax, %rax
	je	LBB0_25
## %bb.19:
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movslq	-56(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	imulq	%rax, %r13
	addq	%rcx, %r13
	movslq	-52(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	imulq	%rax, %r15
	addq	%rcx, %r15
	movq	_DEBUG3@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r12), %edi
	callq	_NameStr
	movq	%r15, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r9
	callq	_elog
	cmpq	%r13, %rbx
	setg	%al
	orb	%al, %r14b
	movzbl	%r14b, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	cmpq	%r15, %r12
	setg	%al
	jmp	LBB0_26
LBB0_25:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	xorl	%eax, %eax
LBB0_26:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	16(%rbp), %rdi
	movq	_StatisticRelationId@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	%rsi, (%rcx)
	cmovnel	%eax, %edx
	movl	%edx, (%rdi)
	jmp	LBB0_27
LBB0_24:
	movq	16(%rbp), %rax
	movl	$0, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_27:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_autovacuum_vac_scale,8,3       ## @autovacuum_vac_scale
	.comm	_autovacuum_vac_thresh,4,2      ## @autovacuum_vac_thresh
	.comm	_autovacuum_anl_scale,8,3       ## @autovacuum_anl_scale
	.comm	_autovacuum_anl_thresh,4,2      ## @autovacuum_anl_thresh
	.comm	_autovacuum_freeze_max_age,4,2  ## @autovacuum_freeze_max_age
	.comm	_recentXid,8,3                  ## @recentXid
	.comm	_FirstNormalTransactionId,8,3   ## @FirstNormalTransactionId
	.comm	_recentMulti,8,3                ## @recentMulti
	.comm	_FirstMultiXactId,8,3           ## @FirstMultiXactId
	.comm	_DEBUG3,4,2                     ## @DEBUG3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: vac: %.0f (threshold %.0f), anl: %.0f (threshold %.0f)"

	.comm	_StatisticRelationId,8,3        ## @StatisticRelationId
	.no_dead_strip	_relation_needs_vacanalyze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function relation_needs_vacanalyze
_relation_needs_vacanalyze:             ; @relation_needs_vacanalyze
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x24, x7
	mov	x19, x6
	mov	x21, x5
	mov	x25, x4
	mov	x23, x3
	mov	x22, x2
	mov	x26, x1
	mov	x20, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_AssertArg
	mov	x0, x20
	bl	_OidIsValid
	bl	_AssertArg
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
	cbz	x26, LBB0_6
; %bb.1:
	ldr	x8, [x26]
Lloh0:
	adrp	x9, _autovacuum_vac_scale@GOTPAGE
Lloh1:
	ldr	x9, [x9, _autovacuum_vac_scale@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x8, x9, x8, lt
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w8, [x26, #8]
Lloh3:
	adrp	x9, _autovacuum_vac_thresh@GOTPAGE
Lloh4:
	ldr	x9, [x9, _autovacuum_vac_thresh@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w8, lt
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x8, [x26, #16]
Lloh6:
	adrp	x9, _autovacuum_anl_scale@GOTPAGE
Lloh7:
	ldr	x9, [x9, _autovacuum_anl_scale@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x8, x9, x8, lt
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x26, #24]
Lloh9:
	adrp	x9, _autovacuum_anl_thresh@GOTPAGE
Lloh10:
	ldr	x9, [x9, _autovacuum_anl_thresh@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w8, lt
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w0, [x26, #36]
Lloh12:
	adrp	x8, _autovacuum_freeze_max_age@GOTPAGE
Lloh13:
	ldr	x8, [x8, _autovacuum_freeze_max_age@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x1, x27
	bl	_Min
	mov	x27, x0
LBB0_3:
	mov	x21, x19
	ldr	w0, [x26, #32]
	tbnz	w0, #31, LBB0_5
; %bb.4:
	mov	x1, x25
	bl	_Min
	mov	x25, x0
LBB0_5:
	ldr	w26, [x26, #28]
	b	LBB0_7
LBB0_6:
	mov	x21, x19
Lloh15:
	adrp	x8, _autovacuum_vac_scale@GOTPAGE
Lloh16:
	ldr	x8, [x8, _autovacuum_vac_scale@GOTPAGEOFF]
Lloh17:
	adrp	x9, _autovacuum_vac_thresh@GOTPAGE
Lloh18:
	ldr	x9, [x9, _autovacuum_vac_thresh@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh20:
	ldr	w8, [x9]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh21:
	adrp	x8, _autovacuum_anl_scale@GOTPAGE
Lloh22:
	ldr	x8, [x8, _autovacuum_anl_scale@GOTPAGEOFF]
Lloh23:
	adrp	x9, _autovacuum_anl_thresh@GOTPAGE
Lloh24:
	ldr	x9, [x9, _autovacuum_anl_thresh@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh26:
	ldr	w8, [x9]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh27:
	adrp	x8, _autovacuum_freeze_max_age@GOTPAGE
Lloh28:
	ldr	x8, [x8, _autovacuum_freeze_max_age@GOTPAGEOFF]
Lloh29:
	ldr	w27, [x8]
	mov	w26, #1
LBB0_7:
Lloh30:
	adrp	x8, _recentXid@GOTPAGE
Lloh31:
	ldr	x8, [x8, _recentXid@GOTPAGEOFF]
Lloh32:
	ldr	x19, [x8]
Lloh33:
	adrp	x8, _FirstNormalTransactionId@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FirstNormalTransactionId@GOTPAGEOFF]
Lloh35:
	ldr	x28, [x8]
	ldr	w0, [x22, #16]
	bl	_TransactionIdIsNormal
	cbz	x0, LBB0_10
; %bb.8:
	sub	x8, x19, w27, sxtw
	cmp	x8, x28
	csel	x9, x28, xzr, lt
	sub	x1, x8, x9
	ldr	w0, [x22, #16]
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_10
; %bb.9:
	mov	w28, #1
	str	w28, [x24]
	mov	w25, #1
	b	LBB0_14
LBB0_10:
Lloh36:
	adrp	x8, _recentMulti@GOTPAGE
Lloh37:
	ldr	x8, [x8, _recentMulti@GOTPAGEOFF]
Lloh38:
	ldr	x27, [x8]
Lloh39:
	adrp	x8, _FirstMultiXactId@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FirstMultiXactId@GOTPAGEOFF]
Lloh41:
	ldr	x19, [x8]
	ldr	w0, [x22, #12]
	bl	_MultiXactIdIsValid
	cbz	x0, LBB0_12
; %bb.11:
	sub	x8, x27, w25, sxtw
	cmp	x8, x19
	csel	x9, x19, xzr, lt
	sub	x1, x8, x9
	ldr	w0, [x22, #12]
	bl	_MultiXactIdPrecedes
	cmp	x0, #0
	cset	w25, ne
	b	LBB0_13
LBB0_12:
	mov	w25, #0
LBB0_13:
	str	w25, [x24]
	cmp	w25, #0
	cset	w28, ne
	orr	w8, w26, w25
	cbz	w8, LBB0_19
LBB0_14:
	mov	x0, x23
	bl	_PointerIsValid
	cbz	x0, LBB0_17
; %bb.15:
	bl	_AutoVacuumingActive
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x22]
	ldp	x24, x23, [x23]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	mul	x9, x8, x9
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	x25, x9, w10, sxtw
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	mul	x8, x8, x9
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	x26, x8, w9, sxtw
Lloh42:
	adrp	x8, _DEBUG3@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DEBUG3@GOTPAGEOFF]
Lloh44:
	ldr	w27, [x8]
	ldr	w0, [x22, #8]
	bl	_NameStr
	mov	x2, x0
Lloh45:
	adrp	x1, l_.str@PAGE
Lloh46:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x27
	mov	x3, x24
	mov	x4, x25
	mov	x5, x23
	mov	x6, x26
	bl	_elog
	cmp	x24, x25
	cset	w8, gt
	orr	w8, w28, w8
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	w8, [x9]
	cmp	x23, x26
	cset	w8, gt
	b	LBB0_18
LBB0_17:
	mov	w8, #0
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	w25, [x9]
LBB0_18:
Lloh47:
	adrp	x9, _StatisticRelationId@GOTPAGE
Lloh48:
	ldr	x9, [x9, _StatisticRelationId@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x20
	csel	w8, wzr, w8, eq
	str	w8, [x21]
	b	LBB0_20
LBB0_19:
	str	wzr, [x21]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	wzr, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_autovacuum_vac_scale,8,3       ; @autovacuum_vac_scale
	.comm	_autovacuum_vac_thresh,4,2      ; @autovacuum_vac_thresh
	.comm	_autovacuum_anl_scale,8,3       ; @autovacuum_anl_scale
	.comm	_autovacuum_anl_thresh,4,2      ; @autovacuum_anl_thresh
	.comm	_autovacuum_freeze_max_age,4,2  ; @autovacuum_freeze_max_age
	.comm	_recentXid,8,3                  ; @recentXid
	.comm	_FirstNormalTransactionId,8,3   ; @FirstNormalTransactionId
	.comm	_recentMulti,8,3                ; @recentMulti
	.comm	_FirstMultiXactId,8,3           ; @FirstMultiXactId
	.comm	_DEBUG3,4,2                     ; @DEBUG3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: vac: %.0f (threshold %.0f), anl: %.0f (threshold %.0f)"

	.comm	_StatisticRelationId,8,3        ; @StatisticRelationId
	.no_dead_strip	_relation_needs_vacanalyze
.subsections_via_symbols
