	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getDependencies
_getDependencies:                       ## @getDependencies
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_pg_log_info
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_appendPQExpBufferStr
	cmpl	$80300, (%r14)                  ## imm = 0x139AC
	jl	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_appendPQExpBufferStr
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_appendPQExpBufferStr
LBB0_2:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_appendPQExpBufferStr
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ExecuteSqlQuery
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_PQfnumber
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.3:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	cmpl	%r13d, -64(%rbp)                ## 4-byte Folded Reload
	je	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atooid
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atooid
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atooid
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atooid
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movzbl	(%rax), %ebx
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r12, 16(%r14)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r15, 24(%r14)
	je	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_findObjectByCatalogId
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_findObjectByCatalogId
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$105, %bl
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	movq	_DO_TABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rcx
	movq	_DO_TYPE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rcx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rcx
	movq	%r14, %rax
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rcx), %esi
	movq	%rax, %rdi
	callq	_addObjectDependency
	jmp	LBB0_16
LBB0_17:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_PQclear
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_destroyPQExpBuffer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading dependency data"

L_.str.1:                               ## @.str.1
	.asciz	"SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e'\n"

L_.str.2:                               ## @.str.2
	.asciz	"UNION ALL\nSELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid)\n"

L_.str.3:                               ## @.str.3
	.asciz	"UNION ALL\nSELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid)\n"

L_.str.4:                               ## @.str.4
	.asciz	"ORDER BY 1,2"

	.comm	_PGRES_TUPLES_OK,4,2            ## @PGRES_TUPLES_OK
L_.str.5:                               ## @.str.5
	.asciz	"classid"

L_.str.6:                               ## @.str.6
	.asciz	"objid"

L_.str.7:                               ## @.str.7
	.asciz	"refclassid"

L_.str.8:                               ## @.str.8
	.asciz	"refobjid"

L_.str.9:                               ## @.str.9
	.asciz	"deptype"

	.comm	_DO_TABLE,8,3                   ## @DO_TABLE
	.comm	_DO_TYPE,8,3                    ## @DO_TYPE
	.no_dead_strip	_getDependencies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getDependencies
_getDependencies:                       ; @getDependencies
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_info
	bl	_createPQExpBuffer
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_appendPQExpBufferStr
	ldr	w8, [x19]
	mov	w9, #14764
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBufferStr
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBufferStr
LBB0_2:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBufferStr
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ExecuteSqlQuery
	mov	x20, x0
	bl	_PQntuples
	mov	x19, x0
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_PQfnumber
	cmp	w19, #1
	b.lt	LBB0_16
; %bb.3:
	mov	x26, x0
	mov	x25, x19
	mov	w27, #0
	mov	x28, #0
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, x0
	mov	x0, x28
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x8, #8]
	bl	_addObjectDependency
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w27, #1
	cmp	w25, w27
	b.eq	LBB0_16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x27
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	mov	x19, x0
	mov	x0, x20
	mov	x1, x27
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	mov	x22, x0
	mov	x0, x20
	mov	x1, x27
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	mov	x21, x0
	mov	x0, x20
	mov	x1, x27
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_PQgetvalue
	bl	_atooid
	mov	x23, x0
	mov	x0, x20
	mov	x1, x27
	mov	x2, x26
	bl	_PQgetvalue
	ldrb	w24, [x0]
	cbz	x28, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x28, #16]
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x28, #24]
	cmp	x8, x22
	b.eq	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_findObjectByCatalogId
	mov	x28, x0
	cbz	x0, LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_findObjectByCatalogId
	cbz	x0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, #105
	b.ne	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x28]
Lloh23:
	adrp	x9, _DO_TABLE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DO_TABLE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x0]
Lloh26:
	adrp	x9, _DO_TYPE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DO_TYPE@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, x28
	b	LBB0_5
LBB0_16:
	mov	x0, x20
	bl	_PQclear
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	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	_destroyPQExpBuffer
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading dependency data"

l_.str.1:                               ; @.str.1
	.asciz	"SELECT classid, objid, refclassid, refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e'\n"

l_.str.2:                               ; @.str.2
	.asciz	"UNION ALL\nSELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid)\n"

l_.str.3:                               ; @.str.3
	.asciz	"UNION ALL\nSELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid, refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid)\n"

l_.str.4:                               ; @.str.4
	.asciz	"ORDER BY 1,2"

	.comm	_PGRES_TUPLES_OK,4,2            ; @PGRES_TUPLES_OK
l_.str.5:                               ; @.str.5
	.asciz	"classid"

l_.str.6:                               ; @.str.6
	.asciz	"objid"

l_.str.7:                               ; @.str.7
	.asciz	"refclassid"

l_.str.8:                               ; @.str.8
	.asciz	"refobjid"

l_.str.9:                               ; @.str.9
	.asciz	"deptype"

	.comm	_DO_TABLE,8,3                   ; @DO_TABLE
	.comm	_DO_TYPE,8,3                    ; @DO_TYPE
	.no_dead_strip	_getDependencies
.subsections_via_symbols
