	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dumpRoleMembership
_dumpRoleMembership:                    ## @dumpRoleMembership
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %rbx
	movq	_role_catalog@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%ecx, %edx
	movl	%ecx, %r8d
	callq	_printfPQExpBuffer
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_executeQuery
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movq	_OPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	%rbx, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movq	_OPF@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	$3, %edx
	callq	_PQgetisnull
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r13d
	movq	%rbx, %rdi
	callq	_PQntuples
	cmpl	%eax, %r13d
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	$1, %edx
	callq	_PQgetvalue
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	$2, %edx
	callq	_PQgetvalue
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_fmtId
	movl	%ebx, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %ebx
	movq	%r12, %rdi
	callq	_fmtId
	movl	%ebx, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$116, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	$3, %edx
	callq	_PQgetvalue
	movl	(%r15), %r14d
	movq	%rax, %rdi
	callq	_fmtId
	movl	%r14d, %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	_OPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT ur.rolname AS roleid, um.rolname AS member, a.admin_option, ug.rolname AS grantor FROM pg_auth_members a LEFT JOIN %s ur on ur.oid = a.roleid LEFT JOIN %s um on um.oid = a.member LEFT JOIN %s ug on ug.oid = a.grantor WHERE NOT (ur.rolname ~ '^pg_' AND um.rolname ~ '^pg_')ORDER BY 1,2,3"

	.comm	_role_catalog,4,2               ## @role_catalog
	.comm	_OPF,4,2                        ## @OPF
L_.str.1:                               ## @.str.1
	.asciz	"--\n-- Role memberships\n--\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"GRANT %s"

L_.str.3:                               ## @.str.3
	.asciz	" TO %s"

L_.str.4:                               ## @.str.4
	.asciz	" WITH ADMIN OPTION"

L_.str.5:                               ## @.str.5
	.asciz	" GRANTED BY %s"

L_.str.6:                               ## @.str.6
	.asciz	";\n"

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

	.no_dead_strip	_dumpRoleMembership
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dumpRoleMembership
_dumpRoleMembership:                    ; @dumpRoleMembership
	.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	x20, x0
	bl	_createPQExpBuffer
	mov	x19, x0
Lloh0:
	adrp	x8, _role_catalog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _role_catalog@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x2
	mov	x4, x2
	bl	_printfPQExpBuffer
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w1, [x19]
	mov	x0, x20
	bl	_executeQuery
	mov	x20, x0
	bl	_PQntuples
Lloh5:
	adrp	x24, _OPF@GOTPAGE
Lloh6:
	ldr	x24, [x24, _OPF@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x24]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	x0, x20
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.3:
	mov	w21, #0
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh11:
	adrp	x23, l_.str.3@PAGE
Lloh12:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh13:
	adrp	x26, l_.str.6@PAGE
Lloh14:
	add	x26, x26, l_.str.6@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3
	bl	_PQgetisnull
	cbz	w0, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	mov	x1, x26
	bl	_fprintf
	add	w21, w21, #1
	mov	x0, x20
	bl	_PQntuples
	cmp	w21, w0
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_PQgetvalue
	mov	x27, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_PQgetvalue
	mov	x28, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #2
	bl	_PQgetvalue
	mov	x19, x0
	ldr	w25, [x24]
	mov	x0, x27
	bl	_fmtId
	str	x0, [sp]
	mov	x0, x25
	mov	x1, x22
	bl	_fprintf
	ldr	w25, [x24]
	mov	x0, x28
	bl	_fmtId
	str	x0, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_fprintf
	ldrb	w8, [x19]
	cmp	w8, #116
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3
	bl	_PQgetvalue
	ldr	w19, [x24]
	bl	_fmtId
	str	x0, [sp]
	mov	x0, x19
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	b	LBB0_5
LBB0_9:
	mov	x0, x20
	bl	_PQclear
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_destroyPQExpBuffer
	ldr	w0, [x24]
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	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
	b	_fprintf
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT ur.rolname AS roleid, um.rolname AS member, a.admin_option, ug.rolname AS grantor FROM pg_auth_members a LEFT JOIN %s ur on ur.oid = a.roleid LEFT JOIN %s um on um.oid = a.member LEFT JOIN %s ug on ug.oid = a.grantor WHERE NOT (ur.rolname ~ '^pg_' AND um.rolname ~ '^pg_')ORDER BY 1,2,3"

	.comm	_role_catalog,4,2               ; @role_catalog
	.comm	_OPF,4,2                        ; @OPF
l_.str.1:                               ; @.str.1
	.asciz	"--\n-- Role memberships\n--\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"GRANT %s"

l_.str.3:                               ; @.str.3
	.asciz	" TO %s"

l_.str.4:                               ; @.str.4
	.asciz	" WITH ADMIN OPTION"

l_.str.5:                               ; @.str.5
	.asciz	" GRANTED BY %s"

l_.str.6:                               ; @.str.6
	.asciz	";\n"

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

	.no_dead_strip	_dumpRoleMembership
.subsections_via_symbols
