	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dropRoles
_dropRoles:                             ## @dropRoles
	.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	%rdi, %r14
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %rbx
	movq	_server_version@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$90600, %eax                    ## imm = 0x161E8
	jl	LBB0_3
## %bb.1:
	movq	_role_catalog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	cmpl	$80100, %eax                    ## imm = 0x138E4
	jl	LBB0_5
## %bb.4:
	movq	_role_catalog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
LBB0_6:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_executeQuery
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_PQfnumber
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_8
## %bb.7:
	movq	_OPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	movq	%r13, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_PQgetvalue
	movq	_OPF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_if_exists@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	leaq	L_.str.6(%rip), %r12
	leaq	L_.str.7(%rip), %rcx
	cmoveq	%rcx, %r12
	movq	%rax, %rdi
	callq	_fmtId
	movl	%r14d, %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	incl	%ebx
	movq	%r13, %rdi
	callq	_PQntuples
	cmpl	%eax, %ebx
	jl	LBB0_10
LBB0_11:
	movq	%r13, %rdi
	callq	_PQclear
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	_OPF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_server_version,4,2             ## @server_version
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT rolname FROM %s WHERE rolname !~ '^pg_' ORDER BY 1"

	.comm	_role_catalog,4,2               ## @role_catalog
L_.str.1:                               ## @.str.1
	.asciz	"SELECT rolname FROM %s ORDER BY 1"

L_.str.2:                               ## @.str.2
	.asciz	"SELECT usename as rolname FROM pg_shadow UNION SELECT groname as rolname FROM pg_group ORDER BY 1"

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

	.comm	_OPF,4,2                        ## @OPF
L_.str.4:                               ## @.str.4
	.asciz	"--\n-- Drop roles\n--\n\n"

L_.str.5:                               ## @.str.5
	.asciz	"DROP ROLE %s%s;\n"

	.comm	_if_exists,8,3                  ## @if_exists
L_.str.6:                               ## @.str.6
	.asciz	"IF EXISTS "

L_.str.7:                               ## @.str.7
	.space	1

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

	.no_dead_strip	_dropRoles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dropRoles
_dropRoles:                             ; @dropRoles
	.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	x20, x0
	bl	_createPQExpBuffer
	mov	x19, x0
Lloh0:
	adrp	x8, _server_version@GOTPAGE
Lloh1:
	ldr	x8, [x8, _server_version@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #25064
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _role_catalog@GOTPAGE
Lloh4:
	ldr	x8, [x8, _role_catalog@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:
	mov	w9, #14564
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _role_catalog@GOTPAGE
Lloh9:
	ldr	x8, [x8, _role_catalog@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_printfPQExpBuffer
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	ldr	w1, [x19]
	mov	x0, x20
	bl	_executeQuery
	mov	x20, x0
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_PQfnumber
	mov	x21, x0
	mov	x0, x20
	bl	_PQntuples
Lloh17:
	adrp	x25, _OPF@GOTPAGE
Lloh18:
	ldr	x25, [x25, _OPF@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	w0, [x25]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_7:
	mov	x0, x20
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w22, #0
Lloh21:
	adrp	x26, _if_exists@GOTPAGE
Lloh22:
	ldr	x26, [x26, _if_exists@GOTPAGEOFF]
Lloh23:
	adrp	x27, l_.str.6@PAGE
Lloh24:
	add	x27, x27, l_.str.6@PAGEOFF
Lloh25:
	adrp	x28, l_.str.7@PAGE
Lloh26:
	add	x28, x28, l_.str.7@PAGEOFF
Lloh27:
	adrp	x23, l_.str.5@PAGE
Lloh28:
	add	x23, x23, l_.str.5@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_PQgetvalue
	ldr	w24, [x25]
	ldr	x8, [x26]
	cmp	x8, #0
	csel	x19, x28, x27, eq
	bl	_fmtId
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_fprintf
	add	w22, w22, #1
	mov	x0, x20
	bl	_PQntuples
	cmp	w22, w0
	b.lt	LBB0_9
LBB0_10:
	mov	x0, x20
	bl	_PQclear
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_destroyPQExpBuffer
	ldr	w0, [x25]
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_server_version,4,2             ; @server_version
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT rolname FROM %s WHERE rolname !~ '^pg_' ORDER BY 1"

	.comm	_role_catalog,4,2               ; @role_catalog
l_.str.1:                               ; @.str.1
	.asciz	"SELECT rolname FROM %s ORDER BY 1"

l_.str.2:                               ; @.str.2
	.asciz	"SELECT usename as rolname FROM pg_shadow UNION SELECT groname as rolname FROM pg_group ORDER BY 1"

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

	.comm	_OPF,4,2                        ; @OPF
l_.str.4:                               ; @.str.4
	.asciz	"--\n-- Drop roles\n--\n\n"

l_.str.5:                               ; @.str.5
	.asciz	"DROP ROLE %s%s;\n"

	.comm	_if_exists,8,3                  ; @if_exists
l_.str.6:                               ; @.str.6
	.asciz	"IF EXISTS "

l_.str.7:                               ; @.str.7
	.space	1

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

	.no_dead_strip	_dropRoles
.subsections_via_symbols
