	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cluster_one_database
_cluster_one_database:                  ## @cluster_one_database
	.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	%r9, %rbx
	movq	%r8, %rax
	movq	%rdx, %r14
	movl	%esi, %r13d
	movl	32(%rbp), %r15d
	movl	16(%rbp), %r8d
	movq	24(%rbp), %r9
	subq	$8, %rsp
	movq	%rcx, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	pushq	$0
	pushq	$0
	pushq	%r15
	callq	_connectDatabase
	addq	$32, %rsp
	movq	%rax, %r12
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_initPQExpBuffer
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_appendPQExpBufferStr
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendPQExpBufferStr
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_appendPQExpBufferChar
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_appendQualifiedRelation
LBB0_4:
	leaq	-48(%rbp), %rdi
	movl	$59, %esi
	callq	_appendPQExpBufferChar
	movl	-48(%rbp), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_executeMaintenanceCommand
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movq	%r12, %rdi
	callq	_PQfinish
	leaq	-48(%rbp), %rdi
	callq	_termPQExpBuffer
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r12, %rdi
	callq	_PQdb
	movl	%eax, %ebx
	testq	%r14, %r14
	jne	LBB0_6
## %bb.7:
	movslq	%ebx, %rbx
	movq	%r12, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_8
LBB0_6:
	movq	%r12, %rdi
	callq	_PQerrorMessage
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_8:
	movq	%r12, %rdi
	callq	_PQfinish
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CLUSTER"

L_.str.1:                               ## @.str.1
	.asciz	" VERBOSE"

L_.str.2:                               ## @.str.2
	.asciz	"clustering of table \"%s\" in database \"%s\" failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"clustering of database \"%s\" failed: %s"

	.no_dead_strip	_cluster_one_database
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cluster_one_database
_cluster_one_database:                  ; @cluster_one_database
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x22, x1
	ldr	w21, [x29, #16]
	str	wzr, [sp]
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	x5, x7
	mov	x6, x21
	mov	w7, #0
	bl	_connectDatabase
	mov	x19, x0
	add	x0, sp, #8
	bl	_initPQExpBuffer
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_appendPQExpBufferStr
	cbz	w22, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_appendPQExpBufferStr
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	w1, #32
	bl	_appendPQExpBufferChar
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_appendQualifiedRelation
LBB0_4:
	add	x0, sp, #8
	mov	w1, #59
	bl	_appendPQExpBufferChar
	ldr	w1, [sp, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_executeMaintenanceCommand
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_PQfinish
	add	x0, sp, #8
	bl	_termPQExpBuffer
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	mov	x0, x19
	bl	_PQdb
	mov	x21, x0
	cbnz	x20, LBB0_8
; %bb.7:
	sxtw	x20, w21
	mov	x0, x19
	bl	_PQerrorMessage
	mov	x2, x0
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_PQerrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x21
LBB0_9:
	bl	_pg_log_error
	mov	x0, x19
	bl	_PQfinish
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CLUSTER"

l_.str.1:                               ; @.str.1
	.asciz	" VERBOSE"

l_.str.2:                               ; @.str.2
	.asciz	"clustering of table \"%s\" in database \"%s\" failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"clustering of database \"%s\" failed: %s"

	.no_dead_strip	_cluster_one_database
.subsections_via_symbols
