	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vacuum_all_databases
_vacuum_all_databases:                  ## @vacuum_all_databases
	.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	%r9, %rax
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rbp), %r15d
	movq	32(%rbp), %r9
	movl	16(%rbp), %r8d
	subq	$8, %rsp
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	pushq	%r15
	callq	_connectMaintenanceDatabase
	addq	$16, %rsp
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_executeQuery
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_PQfinish
	leaq	-48(%rbp), %rdi
	callq	_initPQExpBuffer
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.1:
	movq	_ANALYZE_NUM_STAGES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.2:
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r15
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	movq	_ANALYZE_NUM_STAGES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	movq	%r12, %rbx
	jge	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rbx, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	movq	%rbx, %r12
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_resetPQExpBuffer
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_appendPQExpBufferStr
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_appendConnStrVal
	movl	-48(%rbp), %edi
	movq	%r13, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movl	48(%rbp), %eax
	pushq	%rax
	movl	40(%rbp), %eax
	pushq	%rax
	pushq	32(%rbp)
	movl	24(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_vacuum_one_database
	addq	$48, %rsp
	incl	%ebx
	movq	%r12, %rdi
	callq	_PQntuples
	cmpl	%eax, %ebx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_10
## %bb.8:
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r15
	leaq	L_.str.1(%rip), %r12
	movq	_ANALYZE_NO_STAGE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_resetPQExpBuffer
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_appendPQExpBufferStr
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_appendConnStrVal
	movl	-48(%rbp), %edi
	movl	(%r13), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movl	48(%rbp), %eax
	pushq	%rax
	movl	40(%rbp), %eax
	pushq	%rax
	pushq	32(%rbp)
	movl	24(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_vacuum_one_database
	addq	$48, %rsp
	incl	%r14d
	movq	%rbx, %rdi
	callq	_PQntuples
	cmpl	%eax, %r14d
	jl	LBB0_9
LBB0_10:
	leaq	-48(%rbp), %rdi
	callq	_termPQExpBuffer
	movq	%rbx, %rdi
	callq	_PQclear
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT datname FROM pg_database WHERE datallowconn ORDER BY 1;"

	.comm	_ANALYZE_NUM_STAGES,4,2         ## @ANALYZE_NUM_STAGES
L_.str.1:                               ## @.str.1
	.asciz	"dbname="

	.comm	_ANALYZE_NO_STAGE,4,2           ## @ANALYZE_NO_STAGE
	.no_dead_strip	_vacuum_all_databases
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vacuum_all_databases
_vacuum_all_databases:                  ; @vacuum_all_databases
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	stp	w6, w7, [sp, #80]               ; 8-byte Folded Spill
	mov	x9, x5
	stp	x4, x5, [sp, #64]               ; 16-byte Folded Spill
	stp	x0, x3, [sp, #48]               ; 16-byte Folded Spill
	mov	x19, x1
	ldr	w8, [x29, #28]
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w21, [x29, #24]
	str	w21, [sp, #40]                  ; 4-byte Folded Spill
	ldr	x5, [x29, #16]
	str	x5, [sp, #32]                   ; 8-byte Folded Spill
	mov	x0, x2
	mov	x1, x3
	mov	x2, x4
	mov	x3, x9
	mov	x4, x6
	mov	x6, x21
	bl	_connectMaintenanceDatabase
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_executeQuery
	mov	x21, x0
	mov	x0, x20
	bl	_PQfinish
	add	x0, sp, #88
	bl	_initPQExpBuffer
	cbz	w19, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _ANALYZE_NUM_STAGES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ANALYZE_NUM_STAGES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	w28, #0
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	w27, w19, [sp, #40]             ; 8-byte Folded Reload
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
Lloh5:
	adrp	x8, _ANALYZE_NUM_STAGES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ANALYZE_NUM_STAGES@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w28, w8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x21
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #88
	bl	_resetPQExpBuffer
	add	x0, sp, #88
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_appendPQExpBufferStr
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_PQgetvalue
	mov	x1, x0
	add	x0, sp, #88
	bl	_appendConnStrVal
	ldp	w8, w0, [sp, #84]               ; 4-byte Folded Reload
	stp	w27, w19, [sp, #16]
	str	x22, [sp, #8]
	str	w8, [sp]
	mov	x1, x26
	mov	x2, x28
	mov	x3, #0
	mov	x4, x25
	mov	x5, x24
	mov	x6, x23
	ldr	w7, [sp, #80]                   ; 4-byte Folded Reload
	bl	_vacuum_one_database
	add	w20, w20, #1
	mov	x0, x21
	bl	_PQntuples
	cmp	w20, w0
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	mov	x0, x21
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w19, #0
Lloh10:
	adrp	x28, l_.str.1@PAGE
Lloh11:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh12:
	adrp	x20, _ANALYZE_NO_STAGE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _ANALYZE_NO_STAGE@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #88
	bl	_resetPQExpBuffer
	add	x0, sp, #88
	mov	x1, x28
	bl	_appendPQExpBufferStr
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_PQgetvalue
	mov	x1, x0
	add	x0, sp, #88
	bl	_appendConnStrVal
	ldr	w2, [x20]
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	stp	w8, w9, [sp, #16]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [sp, #8]
	ldp	w8, w0, [sp, #84]               ; 4-byte Folded Reload
	str	w8, [sp]
	ldp	x1, x4, [sp, #48]               ; 16-byte Folded Reload
	mov	x3, #0
	ldp	x5, x6, [sp, #64]               ; 16-byte Folded Reload
	ldr	w7, [sp, #80]                   ; 4-byte Folded Reload
	bl	_vacuum_one_database
	add	w19, w19, #1
	mov	x0, x21
	bl	_PQntuples
	cmp	w19, w0
	b.lt	LBB0_9
LBB0_10:
	add	x0, sp, #88
	bl	_termPQExpBuffer
	mov	x0, x21
	bl	_PQclear
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT datname FROM pg_database WHERE datallowconn ORDER BY 1;"

	.comm	_ANALYZE_NUM_STAGES,4,2         ; @ANALYZE_NUM_STAGES
l_.str.1:                               ; @.str.1
	.asciz	"dbname="

	.comm	_ANALYZE_NO_STAGE,4,2           ; @ANALYZE_NO_STAGE
	.no_dead_strip	_vacuum_all_databases
.subsections_via_symbols
