	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dumpGroups
_dumpGroups:                            ## @dumpGroups
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_executeQuery
	movq	%rax, %r14
	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	%r14, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_12
## %bb.3:
	xorl	%ebx, %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_PQclear
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	%r14, %rdi
	callq	_PQntuples
	cmpl	%eax, %ebx
	jge	LBB0_12
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%rax, %r12
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_PQgetvalue
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	cmpl	$3, %eax
	jl	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_pg_strdup
	movq	%rax, %rbx
	movb	$40, (%rax)
	movq	%rax, %rdi
	callq	_strlen
	cltq
	movb	$41, -1(%rax,%rbx)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_printfPQExpBuffer
	movq	%rbx, %rdi
	callq	_free
	movq	(%r14), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_executeQuery
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %r14
	xorl	%ebx, %ebx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	incl	%ebx
	movq	%r15, %rdi
	callq	_PQntuples
	cmpl	%eax, %ebx
	jge	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	_OPF@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movq	%r14, %rdi
	callq	_fmtId
	movl	%r13d, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %r15d
	movq	%r12, %rdi
	callq	_fmtId
	movl	%r15d, %edi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_9
LBB0_12:
	movq	%r14, %rdi
	callq	_PQclear
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	_OPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	addq	$40, %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 groname, grolist FROM pg_group ORDER BY 1"

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

L_.str.2:                               ## @.str.2
	.asciz	"SELECT usename FROM pg_shadow WHERE usesysid IN %s ORDER BY 1"

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

L_.str.4:                               ## @.str.4
	.asciz	" TO %s;\n"

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

	.no_dead_strip	_dumpGroups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dumpGroups
_dumpGroups:                            ; @dumpGroups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	bl	_createPQExpBuffer
	stp	x19, x0, [sp, #16]              ; 16-byte Folded Spill
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_executeQuery
	mov	x21, x0
	bl	_PQntuples
Lloh2:
	adrp	x19, _OPF@GOTPAGE
Lloh3:
	ldr	x19, [x19, _OPF@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	x0, x21
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.3:
	mov	w22, #0
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh8:
	adrp	x25, l_.str.4@PAGE
Lloh9:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_PQclear
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	mov	x0, x21
	bl	_PQntuples
	cmp	w22, w0
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	bl	_PQgetvalue
	mov	x26, x0
	mov	x0, x21
	mov	x1, x22
	mov	w2, #1
	bl	_PQgetvalue
	mov	x23, x0
	bl	_strlen
	cmp	w0, #3
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_pg_strdup
	mov	x23, x0
	mov	w8, #40
	strb	w8, [x0]
	bl	_strlen
	add	x8, x23, w0, sxtw
	mov	w9, #41
	sturb	w9, [x8, #-1]
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x20
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
	bl	_printfPQExpBuffer
	mov	x0, x23
	bl	_free
	ldr	x1, [x20]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_executeQuery
	mov	x27, x0
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w28, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w28, w28, #1
	mov	x0, x27
	bl	_PQntuples
	cmp	w28, w0
	b.ge	LBB0_4
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x27
	mov	x1, x28
	mov	w2, #0
	bl	_PQgetvalue
	mov	x23, x0
	mov	x0, x26
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w20, [x19]
	mov	x0, x26
	bl	_fmtId
	str	x0, [sp]
	mov	x0, x20
	mov	x1, x24
	bl	_fprintf
	ldr	w20, [x19]
	mov	x0, x23
	bl	_fmtId
	str	x0, [sp]
	mov	x0, x20
	mov	x1, x25
	bl	_fprintf
	b	LBB0_9
LBB0_12:
	mov	x0, x21
	bl	_PQclear
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_destroyPQExpBuffer
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_fprintf
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT groname, grolist FROM pg_group ORDER BY 1"

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

l_.str.2:                               ; @.str.2
	.asciz	"SELECT usename FROM pg_shadow WHERE usesysid IN %s ORDER BY 1"

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

l_.str.4:                               ; @.str.4
	.asciz	" TO %s;\n"

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

	.no_dead_strip	_dumpGroups
.subsections_via_symbols
