	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getCollations                  ## -- Begin function getCollations
	.p2align	4, 0x90
_getCollations:                         ## @getCollations
	.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	%rsi, %r14
	cmpl	$90099, (%rdi)                  ## imm = 0x15FF3
	jg	LBB0_2
## %bb.1:
	movl	$0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %rbx
	movq	_username_subquery@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_appendPQExpBuffer
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ExecuteSqlQuery
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	movl	%eax, %r12d
	movl	%eax, (%r14)
	shll	$4, %eax
	leal	(%rax,%rax,2), %edi
	callq	_pg_malloc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.3:
	movl	%r12d, %r14d
	xorl	%r12d, %r12d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_DO_COLLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, 24(%r13)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, 16(%r13)
	movq	%r13, %rdi
	callq	_AssignDumpId
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 8(%r13)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_findNamespace
	movl	%eax, 4(%r13)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 40(%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_selectDumpableObject
	movq	_DUMP_COMPONENT_ACL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
	incq	%r12
	addq	$48, %r13
	cmpq	%r12, %r14
	jne	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_6:
	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 tableoid, oid, collname, collnamespace, (%s collowner) AS rolname FROM pg_collation"

	.comm	_username_subquery,4,2          ## @username_subquery
	.comm	_PGRES_TUPLES_OK,4,2            ## @PGRES_TUPLES_OK
L_.str.1:                               ## @.str.1
	.asciz	"tableoid"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"collnamespace"

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

	.comm	_DO_COLLATION,4,2               ## @DO_COLLATION
	.comm	_DUMP_COMPONENT_ACL,4,2         ## @DUMP_COMPONENT_ACL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getCollations                  ; -- Begin function getCollations
	.p2align	2
_getCollations:                         ; @getCollations
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	ldr	w8, [x0]
	mov	w9, #24563
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
	mov	x0, #0
	str	wzr, [x21]
	b	LBB0_6
LBB0_2:
	mov	x19, x0
	bl	_createPQExpBuffer
	mov	x20, x0
Lloh0:
	adrp	x8, _username_subquery@GOTPAGE
Lloh1:
	ldr	x8, [x8, _username_subquery@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_appendPQExpBuffer
	str	x20, [sp]                       ; 8-byte Folded Spill
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ExecuteSqlQuery
	mov	x22, x0
	bl	_PQntuples
	mov	x20, x0
	str	w0, [x21]
	add	w8, w0, w0, lsl #1
	lsl	w0, w8, #4
	bl	_pg_malloc
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x23, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x24, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x25, x0
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	mov	x26, x0
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_PQfnumber
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x27, x0
	mov	x28, #0
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	w20, w20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
Lloh18:
	adrp	x8, _DO_COLLATION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DO_COLLATION@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x23
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x21, #24]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x24
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x21, #16]
	mov	x0, x21
	bl	_AssignDumpId
	mov	x0, x22
	mov	x1, x28
	mov	x2, x25
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x21, #8]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x26
	bl	_PQgetvalue
	bl	_atooid
	mov	x1, x0
	mov	x0, x19
	bl	_findNamespace
	str	w0, [x21, #4]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x27
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x21, #40]
	mov	x0, x21
	mov	x1, x19
	bl	_selectDumpableObject
Lloh21:
	adrp	x8, _DUMP_COMPONENT_ACL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DUMP_COMPONENT_ACL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21], #48
	add	x28, x28, #1
	cmp	x20, x28
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x22
	bl	_PQclear
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_destroyPQExpBuffer
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
LBB0_6:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT tableoid, oid, collname, collnamespace, (%s collowner) AS rolname FROM pg_collation"

	.comm	_username_subquery,4,2          ; @username_subquery
	.comm	_PGRES_TUPLES_OK,4,2            ; @PGRES_TUPLES_OK
l_.str.1:                               ; @.str.1
	.asciz	"tableoid"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"collnamespace"

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

	.comm	_DO_COLLATION,4,2               ; @DO_COLLATION
	.comm	_DUMP_COMPONENT_ACL,4,2         ; @DUMP_COMPONENT_ACL
.subsections_via_symbols
