	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_listAllDbs                     ## -- Begin function listAllDbs
	.p2align	4, 0x90
_listAllDbs:                            ## @listAllDbs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_pset@GOTPCREL(%rip), %r14
	movups	16(%r14), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_initPQExpBuffer
	leaq	L_.str.1(%rip), %rdi
	callq	_gettext_noop
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext_noop
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_gettext_noop
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %r12
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_printfPQExpBuffer
	cmpl	$80400, (%r14)                  ## imm = 0x13A10
	jl	LBB0_2
## %bb.1:
	leaq	L_.str.5(%rip), %rdi
	callq	_gettext_noop
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_gettext_noop
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_2:
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_appendPQExpBufferStr
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_printACLColumn
	movl	(%r12), %eax
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.3:
	cmpl	$80200, %eax                    ## imm = 0x13948
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.10(%rip), %rdi
	callq	_gettext_noop
	leaq	L_.str.9(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movl	(%r12), %eax
LBB0_5:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.6:
	cmpl	$80000, %eax                    ## imm = 0x13880
	jl	LBB0_8
## %bb.7:
	leaq	L_.str.12(%rip), %rdi
	callq	_gettext_noop
	leaq	L_.str.11(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movl	(%r12), %eax
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.9:
	cmpl	$80200, %eax                    ## imm = 0x13948
	jl	LBB0_11
## %bb.10:
	leaq	L_.str.14(%rip), %rdi
	callq	_gettext_noop
	leaq	L_.str.13(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_11:
	leaq	L_.str.15(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendPQExpBufferStr
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.12:
	cmpl	$80000, (%r12)                  ## imm = 0x13880
	jl	LBB0_14
## %bb.13:
	leaq	L_.str.16(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendPQExpBufferStr
LBB0_14:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.15:
	movl	12(%r12), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsp)
	leaq	L_.str.17(%rip), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_processSQLNamePattern
LBB0_16:
	leaq	L_.str.18(%rip), %rsi
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_appendPQExpBufferStr
	movl	-48(%rbp), %edi
	callq	_PSQLexec
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_termPQExpBuffer
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.18:
	movq	$0, -56(%rbp)
	leaq	L_.str.19(%rip), %rdi
	callq	__
	movl	%eax, -60(%rbp)
	movl	$1, -64(%rbp)
	movl	4(%r12), %r8d
	movl	8(%r12), %edx
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_printQuery
	movq	%rbx, %rdi
	callq	_PQclear
	movl	$1, %eax
	jmp	LBB0_19
LBB0_17:
	xorl	%eax, %eax
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pset,32,3                      ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT d.datname as \"%s\",\n       pg_catalog.pg_get_userbyid(d.datdba) as \"%s\",\n       pg_catalog.pg_encoding_to_char(d.encoding) as \"%s\",\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Owner"

L_.str.3:                               ## @.str.3
	.asciz	"Encoding"

L_.str.4:                               ## @.str.4
	.asciz	"       d.datcollate as \"%s\",\n       d.datctype as \"%s\",\n"

L_.str.5:                               ## @.str.5
	.asciz	"Collate"

L_.str.6:                               ## @.str.6
	.asciz	"Ctype"

L_.str.7:                               ## @.str.7
	.asciz	"       "

L_.str.8:                               ## @.str.8
	.asciz	"d.datacl"

L_.str.9:                               ## @.str.9
	.asciz	",\n       CASE WHEN pg_catalog.has_database_privilege(d.datname, 'CONNECT')\n            THEN pg_catalog.pg_size_pretty(pg_catalog.pg_database_size(d.datname))\n            ELSE 'No Access'\n       END as \"%s\""

L_.str.10:                              ## @.str.10
	.asciz	"Size"

L_.str.11:                              ## @.str.11
	.asciz	",\n       t.spcname as \"%s\""

L_.str.12:                              ## @.str.12
	.asciz	"Tablespace"

L_.str.13:                              ## @.str.13
	.asciz	",\n       pg_catalog.shobj_description(d.oid, 'pg_database') as \"%s\""

L_.str.14:                              ## @.str.14
	.asciz	"Description"

L_.str.15:                              ## @.str.15
	.asciz	"\nFROM pg_catalog.pg_database d\n"

L_.str.16:                              ## @.str.16
	.asciz	"  JOIN pg_catalog.pg_tablespace t on d.dattablespace = t.oid\n"

L_.str.17:                              ## @.str.17
	.asciz	"d.datname"

L_.str.18:                              ## @.str.18
	.asciz	"ORDER BY 1;"

L_.str.19:                              ## @.str.19
	.asciz	"List of databases"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_listAllDbs                     ; -- Begin function listAllDbs
	.p2align	2
_listAllDbs:                            ; @listAllDbs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	mov	w24, #14463
	movk	w24, #1, lsl #16
Lloh0:
	adrp	x23, _pset@GOTPAGE
Lloh1:
	ldr	x23, [x23, _pset@GOTPAGEOFF]
	ldr	q0, [x23, #16]
	str	q0, [sp, #16]
	add	x0, sp, #40
	bl	_initPQExpBuffer
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gettext_noop
	mov	x21, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext_noop
	mov	x22, x0
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_gettext_noop
	mov	x4, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #40
	mov	x2, x21
	mov	x3, x22
	bl	_printfPQExpBuffer
	ldr	w8, [x23]
	add	w9, w24, #400
	cmp	w8, w9
	b.le	LBB0_2
; %bb.1:
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_gettext_noop
	mov	x21, x0
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_gettext_noop
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #40
	mov	x2, x21
	bl	_appendPQExpBuffer
LBB0_2:
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBufferStr
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #40
	bl	_printACLColumn
	ldr	w8, [x23]
	cbz	w20, LBB0_5
; %bb.3:
	add	w9, w24, #200
	cmp	w8, w9
	b.le	LBB0_5
; %bb.4:
Lloh20:
	adrp	x0, l_.str.10@PAGE
Lloh21:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_gettext_noop
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.9@PAGE
Lloh23:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBuffer
	ldr	w8, [x23]
LBB0_5:
	cbz	w20, LBB0_8
; %bb.6:
	cmp	w8, w24
	b.le	LBB0_8
; %bb.7:
Lloh24:
	adrp	x0, l_.str.12@PAGE
Lloh25:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_gettext_noop
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.11@PAGE
Lloh27:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBuffer
	ldr	w8, [x23]
LBB0_8:
	cbz	w20, LBB0_11
; %bb.9:
	add	w9, w24, #200
	cmp	w8, w9
	b.le	LBB0_11
; %bb.10:
Lloh28:
	adrp	x0, l_.str.14@PAGE
Lloh29:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_gettext_noop
	mov	x2, x0
Lloh30:
	adrp	x1, l_.str.13@PAGE
Lloh31:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBuffer
LBB0_11:
Lloh32:
	adrp	x1, l_.str.15@PAGE
Lloh33:
	add	x1, x1, l_.str.15@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBufferStr
	cbz	w20, LBB0_14
; %bb.12:
	ldr	w8, [x23]
	cmp	w8, w24
	b.le	LBB0_14
; %bb.13:
Lloh34:
	adrp	x1, l_.str.16@PAGE
Lloh35:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBufferStr
LBB0_14:
	cbz	x19, LBB0_16
; %bb.15:
	ldr	w0, [x23, #12]
	str	xzr, [sp]
Lloh36:
	adrp	x6, l_.str.17@PAGE
Lloh37:
	add	x6, x6, l_.str.17@PAGEOFF
	add	x1, sp, #40
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	mov	x7, #0
	bl	_processSQLNamePattern
LBB0_16:
Lloh38:
	adrp	x1, l_.str.18@PAGE
Lloh39:
	add	x1, x1, l_.str.18@PAGEOFF
	add	x0, sp, #40
	bl	_appendPQExpBufferStr
	ldr	w0, [sp, #40]
	bl	_PSQLexec
	mov	x19, x0
	add	x0, sp, #40
	bl	_termPQExpBuffer
	cbz	x19, LBB0_18
; %bb.17:
	str	xzr, [sp, #24]
Lloh40:
	adrp	x0, l_.str.19@PAGE
Lloh41:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	__
	mov	w20, #1
	stp	w20, w0, [sp, #16]
	ldp	w4, w2, [x23, #4]
	add	x1, sp, #16
	mov	x0, x19
	mov	w3, #0
	bl	_printQuery
	mov	x0, x19
	bl	_PQclear
	b	LBB0_19
LBB0_18:
	mov	w20, #0
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_pset,32,3                      ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT d.datname as \"%s\",\n       pg_catalog.pg_get_userbyid(d.datdba) as \"%s\",\n       pg_catalog.pg_encoding_to_char(d.encoding) as \"%s\",\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Owner"

l_.str.3:                               ; @.str.3
	.asciz	"Encoding"

l_.str.4:                               ; @.str.4
	.asciz	"       d.datcollate as \"%s\",\n       d.datctype as \"%s\",\n"

l_.str.5:                               ; @.str.5
	.asciz	"Collate"

l_.str.6:                               ; @.str.6
	.asciz	"Ctype"

l_.str.7:                               ; @.str.7
	.asciz	"       "

l_.str.8:                               ; @.str.8
	.asciz	"d.datacl"

l_.str.9:                               ; @.str.9
	.asciz	",\n       CASE WHEN pg_catalog.has_database_privilege(d.datname, 'CONNECT')\n            THEN pg_catalog.pg_size_pretty(pg_catalog.pg_database_size(d.datname))\n            ELSE 'No Access'\n       END as \"%s\""

l_.str.10:                              ; @.str.10
	.asciz	"Size"

l_.str.11:                              ; @.str.11
	.asciz	",\n       t.spcname as \"%s\""

l_.str.12:                              ; @.str.12
	.asciz	"Tablespace"

l_.str.13:                              ; @.str.13
	.asciz	",\n       pg_catalog.shobj_description(d.oid, 'pg_database') as \"%s\""

l_.str.14:                              ; @.str.14
	.asciz	"Description"

l_.str.15:                              ; @.str.15
	.asciz	"\nFROM pg_catalog.pg_database d\n"

l_.str.16:                              ; @.str.16
	.asciz	"  JOIN pg_catalog.pg_tablespace t on d.dattablespace = t.oid\n"

l_.str.17:                              ; @.str.17
	.asciz	"d.datname"

l_.str.18:                              ; @.str.18
	.asciz	"ORDER BY 1;"

l_.str.19:                              ; @.str.19
	.asciz	"List of databases"

.subsections_via_symbols
