	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getAggregates                  ## -- Begin function getAggregates
	.p2align	4, 0x90
_getAggregates:                         ## @getAggregates
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r14
	movl	(%rbx), %eax
	cmpl	$90600, %eax                    ## imm = 0x161E8
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	jl	LBB0_4
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %r10
	leaq	L_.str(%rip), %r8
	leaq	L_.str.1(%rip), %r9
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	pushq	(%rax)
	pushq	%r10
	callq	_buildACLQueries
	addq	$16, %rsp
	cmpl	$110000, (%rbx)                 ## imm = 0x1ADB0
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rbx
	cmovgeq	%rax, %rbx
	movq	_username_subquery@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rax
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movl	(%r12), %r9d
	movl	(%r15), %r10d
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_appendPQExpBuffer
	addq	$16, %rsp
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_appendPQExpBufferStr
LBB0_3:
	movq	%r14, %rdi
	movl	$41, %esi
	callq	_appendPQExpBufferChar
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	%r13, %rdi
	callq	_destroyPQExpBuffer
	movq	%r12, %rdi
	callq	_destroyPQExpBuffer
	movq	%r15, %rdi
	callq	_destroyPQExpBuffer
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_4:
	movq	_username_subquery@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	$80200, %eax                    ## imm = 0x13948
	jl	LBB0_9
## %bb.5:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	cmpl	$90100, (%rbx)                  ## imm = 0x15FF4
	jl	LBB0_8
## %bb.7:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_appendPQExpBufferStr
LBB0_8:
	movq	%r14, %rdi
	movl	$41, %esi
	callq	_appendPQExpBufferChar
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_10:
	movl	(%r14), %esi
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ExecuteSqlQuery
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	movl	%eax, %r15d
	movl	%eax, (%r12)
	imull	$120, %eax, %edi
	callq	_pg_malloc
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, %r13d
	leaq	L_.str.17(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str.18(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str.19(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_23
## %bb.11:
	movl	%r15d, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r15
	addq	$120, %r12
	cmpq	%r15, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_23
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_DO_AGG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r12), %r14
	movl	%eax, 48(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, 40(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, 32(%r12)
	movq	%r14, %rdi
	callq	_AssignDumpId
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 16(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_findNamespace
	movl	%eax, 24(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 112(%r12)
	cmpb	$0, (%rax)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%r12), %rsi
	leaq	L_.str.20(%rip), %rdi
	callq	_pg_log_warning
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, 104(%r12)
	movq	(%rcx), %rax
	movq	%rax, 96(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 88(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 80(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 72(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movq	%rax, 64(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atoi
	movl	%eax, (%r12)
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	shll	$2, %eax
	movl	%eax, %edi
	callq	_pg_malloc
	movq	%rax, 56(%r12)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	56(%r12), %rsi
	movl	(%r12), %edx
	movl	%eax, %edi
	callq	_parseOidArray
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	$0, 56(%r12)
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_selectDumpableObject
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_PQgetisnull
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetisnull
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetisnull
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetisnull
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_DUMP_COMPONENT_ACL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r12)
	jmp	LBB0_22
LBB0_23:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_destroyPQExpBuffer
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	$88, %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	"p.proacl"

L_.str.1:                               ## @.str.1
	.asciz	"p.proowner"

L_.str.2:                               ## @.str.2
	.asciz	"'f'"

L_.str.3:                               ## @.str.3
	.asciz	"p.prokind = 'a'"

L_.str.4:                               ## @.str.4
	.asciz	"p.proisagg"

L_.str.5:                               ## @.str.5
	.asciz	"SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, (%s p.proowner) AS rolname, %s AS aggacl, %s AS raggacl, %s AS initaggacl, %s AS initraggacl FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE %s AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs"

	.comm	_username_subquery,4,2          ## @username_subquery
L_.str.6:                               ## @.str.6
	.asciz	" OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')"

L_.str.7:                               ## @.str.7
	.asciz	"SELECT tableoid, oid, proname AS aggname, pronamespace AS aggnamespace, pronargs, proargtypes, (%s proowner) AS rolname, proacl AS aggacl, NULL AS raggacl, NULL AS initaggacl, NULL AS initraggacl FROM pg_proc p WHERE proisagg AND (pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog')"

L_.str.8:                               ## @.str.8
	.asciz	"SELECT tableoid, oid, proname AS aggname, pronamespace AS aggnamespace, CASE WHEN proargtypes[0] = 'pg_catalog.\"any\"'::pg_catalog.regtype THEN 0 ELSE 1 END AS pronargs, proargtypes, (%s proowner) AS rolname, proacl AS aggacl, NULL AS raggacl, NULL AS initaggacl, NULL AS initraggacl FROM pg_proc WHERE proisagg AND pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog')"

	.comm	_PGRES_TUPLES_OK,4,2            ## @PGRES_TUPLES_OK
L_.str.9:                               ## @.str.9
	.asciz	"tableoid"

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

L_.str.11:                              ## @.str.11
	.asciz	"aggname"

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

L_.str.13:                              ## @.str.13
	.asciz	"pronargs"

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

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

L_.str.16:                              ## @.str.16
	.asciz	"aggacl"

L_.str.17:                              ## @.str.17
	.asciz	"raggacl"

L_.str.18:                              ## @.str.18
	.asciz	"initaggacl"

L_.str.19:                              ## @.str.19
	.asciz	"initraggacl"

	.comm	_DO_AGG,4,2                     ## @DO_AGG
L_.str.20:                              ## @.str.20
	.asciz	"owner of aggregate function \"%s\" appears to be invalid"

	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.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	_getAggregates                  ; -- Begin function getAggregates
	.p2align	2
_getAggregates:                         ; @getAggregates
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x1
	mov	x19, x0
	mov	w21, #24563
	movk	w21, #1, lsl #16
	ldr	x25, [x0, #8]
	bl	_createPQExpBuffer
	mov	x26, x0
	ldr	w8, [x19]
	add	w9, w21, #500
	cmp	w8, w9
	b.le	LBB0_4
; %bb.1:
	bl	_createPQExpBuffer
	mov	x21, x0
	bl	_createPQExpBuffer
	mov	x22, x0
	bl	_createPQExpBuffer
	mov	x23, x0
	bl	_createPQExpBuffer
	mov	x24, x0
	ldr	x7, [x25]
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
Lloh2:
	adrp	x5, l_.str.1@PAGE
Lloh3:
	add	x5, x5, l_.str.1@PAGEOFF
Lloh4:
	adrp	x6, l_.str.2@PAGE
Lloh5:
	add	x6, x6, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_buildACLQueries
	ldr	w8, [x19]
Lloh6:
	adrp	x9, l_.str.4@PAGE
Lloh7:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh8:
	adrp	x10, l_.str.3@PAGE
Lloh9:
	add	x10, x10, l_.str.3@PAGEOFF
	mov	w11, #44463
	movk	w11, #1, lsl #16
	cmp	w8, w11
Lloh10:
	adrp	x8, _username_subquery@GOTPAGE
Lloh11:
	ldr	x8, [x8, _username_subquery@GOTPAGEOFF]
	csel	x9, x10, x9, gt
Lloh12:
	ldr	w2, [x8]
	ldr	w8, [x21]
	ldr	w10, [x22]
	ldr	w11, [x23]
	ldr	w12, [x24]
	stp	x12, x9, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x26
	bl	_appendPQExpBuffer
	ldr	x8, [x25]
	cbz	x8, LBB0_3
; %bb.2:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x26
	bl	_appendPQExpBufferStr
LBB0_3:
	mov	x0, x26
	mov	w1, #41
	bl	_appendPQExpBufferChar
	mov	x0, x21
	bl	_destroyPQExpBuffer
	mov	x0, x22
	bl	_destroyPQExpBuffer
	mov	x0, x23
	bl	_destroyPQExpBuffer
	mov	x0, x24
	bl	_destroyPQExpBuffer
	b	LBB0_10
LBB0_4:
Lloh17:
	adrp	x9, _username_subquery@GOTPAGE
Lloh18:
	ldr	x9, [x9, _username_subquery@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x9]
	mov	w9, #14664
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.5:
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x26
	bl	_appendPQExpBuffer
	ldr	x8, [x25]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x19]
	cmp	w8, w21
	b.le	LBB0_8
; %bb.7:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x26
	bl	_appendPQExpBufferStr
LBB0_8:
	mov	x0, x26
	mov	w1, #41
	bl	_appendPQExpBufferChar
	b	LBB0_10
LBB0_9:
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x26
	bl	_appendPQExpBuffer
LBB0_10:
	str	x26, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w1, [x26]
Lloh26:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ExecuteSqlQuery
	mov	x21, x0
	bl	_PQntuples
	mov	x26, x0
	str	w0, [x20]
	mov	w8, #120
	mul	w0, w0, w8
	bl	_pg_malloc
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	stur	w0, [x29, #-84]                 ; 4-byte Folded Spill
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	str	w0, [sp, #84]                   ; 4-byte Folded Spill
Lloh35:
	adrp	x1, l_.str.12@PAGE
Lloh36:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	str	w0, [sp, #80]                   ; 4-byte Folded Spill
Lloh37:
	adrp	x1, l_.str.13@PAGE
Lloh38:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	str	w0, [sp, #76]                   ; 4-byte Folded Spill
Lloh39:
	adrp	x1, l_.str.14@PAGE
Lloh40:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
Lloh41:
	adrp	x1, l_.str.15@PAGE
Lloh42:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	str	w0, [sp, #72]                   ; 4-byte Folded Spill
Lloh43:
	adrp	x1, l_.str.16@PAGE
Lloh44:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	mov	x20, x0
Lloh45:
	adrp	x1, l_.str.17@PAGE
Lloh46:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	mov	x28, x0
Lloh47:
	adrp	x1, l_.str.18@PAGE
Lloh48:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	mov	x23, x0
Lloh49:
	adrp	x1, l_.str.19@PAGE
Lloh50:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x21
	bl	_PQfnumber
	cmp	w26, #1
	b.lt	LBB0_23
; %bb.11:
	mov	x24, x0
	mov	x25, #0
	mov	w8, w26
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x22, x8, #56
Lloh51:
	adrp	x27, _InvalidOid@GOTPAGE
Lloh52:
	ldr	x27, [x27, _InvalidOid@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x25, x25, #1
	add	x22, x22, #120
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	x8, x25
	b.eq	LBB0_23
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
Lloh53:
	adrp	x8, _DO_AGG@GOTPAGE
Lloh54:
	ldr	x8, [x8, _DO_AGG@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	sub	x26, x22, #48
	stur	w8, [x22, #-8]
	mov	x0, x21
	mov	x1, x25
	ldur	w2, [x29, #-84]                 ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	stur	x0, [x22, #-16]
	mov	x0, x21
	mov	x1, x25
	ldr	w2, [sp, #88]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	stur	x0, [x22, #-24]
	mov	x0, x26
	bl	_AssignDumpId
	mov	x0, x21
	mov	x1, x25
	ldr	w2, [sp, #84]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_pg_strdup
	stur	x0, [x22, #-40]
	mov	x0, x21
	mov	x1, x25
	ldr	w2, [sp, #80]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	mov	x1, x0
	mov	x0, x19
	bl	_findNamespace
	stur	w0, [x22, #-32]
	mov	x0, x21
	mov	x1, x25
	ldr	w2, [sp, #72]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x22, #56]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	x1, [x22, #-40]
Lloh56:
	adrp	x0, l_.str.20@PAGE
Lloh57:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_pg_log_warning
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x27]
	str	x8, [x22, #48]
	ldr	x8, [x27]
	str	x8, [x22, #40]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x22, #32]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x28
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x22, #24]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x22, #16]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_PQgetvalue
	bl	_pg_strdup
	str	x0, [x22, #8]
	mov	x0, x21
	mov	x1, x25
	ldr	w2, [sp, #76]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atoi
	stur	w0, [x22, #-56]
	cbz	w0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	lsl	w0, w0, #2
	bl	_pg_malloc
	str	x0, [x22]
	mov	x0, x21
	mov	x1, x25
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	ldr	x1, [x22]
	ldur	w2, [x22, #-56]
	bl	_parseOidArray
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [x22]
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x26
	mov	x1, x19
	bl	_selectDumpableObject
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	bl	_PQgetisnull
	cbz	x0, LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x28
	bl	_PQgetisnull
	cbz	x0, LBB0_12
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_PQgetisnull
	cbz	x0, LBB0_12
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_PQgetisnull
	cbz	x0, LBB0_12
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh58:
	adrp	x8, _DUMP_COMPONENT_ACL@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DUMP_COMPONENT_ACL@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	ldur	w9, [x22, #-48]
	bic	w8, w9, w8
	stur	w8, [x22, #-48]
	b	LBB0_12
LBB0_23:
	mov	x0, x21
	bl	_PQclear
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_destroyPQExpBuffer
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"p.proacl"

l_.str.1:                               ; @.str.1
	.asciz	"p.proowner"

l_.str.2:                               ; @.str.2
	.asciz	"'f'"

l_.str.3:                               ; @.str.3
	.asciz	"p.prokind = 'a'"

l_.str.4:                               ; @.str.4
	.asciz	"p.proisagg"

l_.str.5:                               ; @.str.5
	.asciz	"SELECT p.tableoid, p.oid, p.proname AS aggname, p.pronamespace AS aggnamespace, p.pronargs, p.proargtypes, (%s p.proowner) AS rolname, %s AS aggacl, %s AS raggacl, %s AS initaggacl, %s AS initraggacl FROM pg_proc p LEFT JOIN pg_init_privs pip ON (p.oid = pip.objoid AND pip.classoid = 'pg_proc'::regclass AND pip.objsubid = 0) WHERE %s AND (p.pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') OR p.proacl IS DISTINCT FROM pip.initprivs"

	.comm	_username_subquery,4,2          ; @username_subquery
l_.str.6:                               ; @.str.6
	.asciz	" OR EXISTS(SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND refclassid = 'pg_extension'::regclass AND deptype = 'e')"

l_.str.7:                               ; @.str.7
	.asciz	"SELECT tableoid, oid, proname AS aggname, pronamespace AS aggnamespace, pronargs, proargtypes, (%s proowner) AS rolname, proacl AS aggacl, NULL AS raggacl, NULL AS initaggacl, NULL AS initraggacl FROM pg_proc p WHERE proisagg AND (pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog')"

l_.str.8:                               ; @.str.8
	.asciz	"SELECT tableoid, oid, proname AS aggname, pronamespace AS aggnamespace, CASE WHEN proargtypes[0] = 'pg_catalog.\"any\"'::pg_catalog.regtype THEN 0 ELSE 1 END AS pronargs, proargtypes, (%s proowner) AS rolname, proacl AS aggacl, NULL AS raggacl, NULL AS initaggacl, NULL AS initraggacl FROM pg_proc WHERE proisagg AND pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog')"

	.comm	_PGRES_TUPLES_OK,4,2            ; @PGRES_TUPLES_OK
l_.str.9:                               ; @.str.9
	.asciz	"tableoid"

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

l_.str.11:                              ; @.str.11
	.asciz	"aggname"

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

l_.str.13:                              ; @.str.13
	.asciz	"pronargs"

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

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

l_.str.16:                              ; @.str.16
	.asciz	"aggacl"

l_.str.17:                              ; @.str.17
	.asciz	"raggacl"

l_.str.18:                              ; @.str.18
	.asciz	"initaggacl"

l_.str.19:                              ; @.str.19
	.asciz	"initraggacl"

	.comm	_DO_AGG,4,2                     ; @DO_AGG
l_.str.20:                              ; @.str.20
	.asciz	"owner of aggregate function \"%s\" appears to be invalid"

	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_DUMP_COMPONENT_ACL,4,2         ; @DUMP_COMPONENT_ACL
.subsections_via_symbols
