	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_loadable_libraries         ## -- Begin function get_loadable_libraries
	.p2align	4, 0x90
_get_loadable_libraries:                ## @get_loadable_libraries
	.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	_old_cluster@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$3, %edi
	callq	_pg_malloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	cmpl	$0, (%rbx)
	movl	$0, %r13d
	jle	LBB0_12
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_pg_log
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_PQclear
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_PQfinish
	incq	%r14
	movslq	%r13d, %r15
	movq	_old_cluster@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax,%r14,4), %esi
	movq	%rbx, %rdi
	callq	_connectToServer
	movq	%rax, %r12
	movq	_ClanguageId@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FirstNormalObjectId@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_executeQueryOrDie
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
	movq	%rax, %rdi
	callq	_PQntuples
	movq	%rax, %r13
	addq	%r15, %r13
	movl	16(%rbx), %edi
	callq	_GET_MAJOR_VERSION
	cmpl	$900, %eax                      ## imm = 0x384
	jg	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ClanguageId@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FirstNormalObjectId@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_executeQueryOrDie
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	testq	%rax, %rax
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_pg_log
	jmp	LBB0_6
LBB0_9:
	shll	$3, %r13d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	callq	_pg_fatal
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r13d, %edi
	callq	_pg_malloc
	movq	_os_info@GOTPCREL(%rip), %r13
	movq	%rax, 8(%r13)
	cmpl	$0, (%rbx)
	jle	LBB0_19
## %bb.13:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	callq	_PQclear
	incq	%r12
	movq	_old_cluster@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jge	LBB0_19
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r15
	movq	%r15, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rcx
	leaq	4(,%rcx,8), %r14
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	movq	%rax, %r15
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_pg_strdup
	movq	8(%r13), %rcx
	addq	%r14, %rcx
	movl	%eax, (%rcx,%rbx,8)
	movl	%r12d, -4(%rcx,%rbx,8)
	movq	%r15, %rax
	incq	%rbx
	cmpl	%ebx, %eax
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	addl	%ebx, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_19:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pg_free
	movl	%r14d, (%r13)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_old_cluster,24,3               ## @old_cluster
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = %u AND probin IS NOT NULL AND oid >= %u;"

	.comm	_ClanguageId,4,2                ## @ClanguageId
	.comm	_FirstNormalObjectId,4,2        ## @FirstNormalObjectId
L_.str.1:                               ## @.str.1
	.asciz	"SELECT 1 FROM pg_catalog.pg_proc p     JOIN pg_catalog.pg_namespace n     ON pronamespace = n.oid WHERE proname = 'plpython_call_handler' AND nspname = 'public' AND prolang = %u AND probin = '$libdir/plpython' AND p.oid >= %u;"

	.comm	_PG_WARNING,4,2                 ## @PG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"\nThe old cluster has a \"plpython_call_handler\" function defined\nin the \"public\" schema which is a duplicate of the one defined\nin the \"pg_catalog\" schema.  You can confirm this by executing\nin psql:\n\n    \\df *.plpython_call_handler\n\nThe \"public\" schema version of this function was created by a\npre-8.1 install of plpython, and must be removed for pg_upgrade\nto complete because it references a now-obsolete \"plpython\"\nshared object file.  You can remove the \"public\" schema version\nof this function by running the following command:\n\n    DROP FUNCTION public.plpython_call_handler()\n\nin each affected database:\n\n"

L_.str.3:                               ## @.str.3
	.asciz	"    %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Remove the problem functions from the old cluster to continue.\n"

	.comm	_os_info,16,3                   ## @os_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_loadable_libraries         ; -- Begin function get_loadable_libraries
	.p2align	2
_get_loadable_libraries:                ; @get_loadable_libraries
	.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
Lloh0:
	adrp	x20, _old_cluster@GOTPAGE
Lloh1:
	ldr	x20, [x20, _old_cluster@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #3
	bl	_pg_malloc
	mov	x19, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x28, #0
	mov	x22, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
Lloh2:
	adrp	x23, _ClanguageId@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ClanguageId@GOTPAGEOFF]
Lloh4:
	adrp	x24, _FirstNormalObjectId@GOTPAGE
Lloh5:
	ldr	x24, [x24, _FirstNormalObjectId@GOTPAGEOFF]
Lloh6:
	adrp	x27, l_.str@PAGE
Lloh7:
	add	x27, x27, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x8, _PG_WARNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PG_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w8, [x21, x28, lsl #2]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pg_log
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	bl	_PQclear
	mov	x27, x23
	mov	x23, x19
	mov	x19, x20
Lloh13:
	adrp	x20, _old_cluster@GOTPAGE
Lloh14:
	ldr	x20, [x20, _old_cluster@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x26, x22
	mov	x0, x25
	bl	_PQfinish
	add	x28, x28, #1
	sxtw	x22, w21
	ldrsw	x8, [x20]
	cmp	x28, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20, #8]
	ldr	w1, [x21, x28, lsl #2]
	mov	x0, x20
	bl	_connectToServer
	mov	x25, x0
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x1, x27
	bl	_executeQueryOrDie
	str	x0, [x19, x28, lsl #3]
	bl	_PQntuples
	mov	x26, x0
	ldr	w0, [x20, #16]
	bl	_GET_MAJOR_VERSION
	cmp	w0, #900
	b.gt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, x19
	mov	x8, x23
	mov	x23, x27
	mov	x19, x8
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x0, x25
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_executeQueryOrDie
	mov	x27, x0
	bl	_PQntuples
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x8, _PG_WARNING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PG_WARNING@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pg_log
	b	LBB0_2
LBB0_9:
	lsl	w22, w21, #3
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_12
; %bb.10:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pg_fatal
	b	LBB0_12
LBB0_11:
	mov	w22, #0
LBB0_12:
	mov	x0, x22
	bl	_pg_malloc
Lloh24:
	adrp	x24, _os_info@GOTPAGE
Lloh25:
	ldr	x24, [x24, _os_info@GOTPAGEOFF]
	str	x0, [x24, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.13:
	mov	x26, #0
	mov	w25, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	bl	_PQclear
	add	x26, x26, #1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.ge	LBB0_20
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x21, [x19, x26, lsl #3]
	mov	x0, x21
	bl	_PQntuples
	mov	x22, x0
	cmp	w22, #1
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w23, #0
	sbfiz	x27, x25, #3, #32
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_PQgetvalue
	bl	_pg_strdup
	ldr	x8, [x24, #8]
	add	x8, x8, x27
	stp	w26, w0, [x8]
	add	w23, w23, #1
	add	x27, x27, #8
	cmp	w22, w23
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w25, w25, w23
	b	LBB0_14
LBB0_19:
	mov	w25, #0
LBB0_20:
	mov	x0, x19
	bl	_pg_free
	str	w25, [x24]
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_old_cluster,24,3               ; @old_cluster
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT DISTINCT probin FROM pg_catalog.pg_proc WHERE prolang = %u AND probin IS NOT NULL AND oid >= %u;"

	.comm	_ClanguageId,4,2                ; @ClanguageId
	.comm	_FirstNormalObjectId,4,2        ; @FirstNormalObjectId
l_.str.1:                               ; @.str.1
	.asciz	"SELECT 1 FROM pg_catalog.pg_proc p     JOIN pg_catalog.pg_namespace n     ON pronamespace = n.oid WHERE proname = 'plpython_call_handler' AND nspname = 'public' AND prolang = %u AND probin = '$libdir/plpython' AND p.oid >= %u;"

	.comm	_PG_WARNING,4,2                 ; @PG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"\nThe old cluster has a \"plpython_call_handler\" function defined\nin the \"public\" schema which is a duplicate of the one defined\nin the \"pg_catalog\" schema.  You can confirm this by executing\nin psql:\n\n    \\df *.plpython_call_handler\n\nThe \"public\" schema version of this function was created by a\npre-8.1 install of plpython, and must be removed for pg_upgrade\nto complete because it references a now-obsolete \"plpython\"\nshared object file.  You can remove the \"public\" schema version\nof this function by running the following command:\n\n    DROP FUNCTION public.plpython_call_handler()\n\nin each affected database:\n\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"Remove the problem functions from the old cluster to continue.\n"

	.comm	_os_info,16,3                   ; @os_info
.subsections_via_symbols
