	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function binary_upgrade_extension_member
_binary_upgrade_extension_member:       ## @binary_upgrade_extension_member
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 32(%rsi)
	je	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	cmpl	$0, (%rsi)
	jle	LBB0_6
## %bb.2:
	xorl	%r15d, %r15d
	movq	_DO_EXTENSION@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_findObjectByDumpId
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	8(%rax), %rax
	cmpq	(%r12), %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_fatal
	xorl	%r14d, %r14d
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	callq	_appendPQExpBufferStr
	movq	16(%r14), %rdi
	callq	_fmtId
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edi
	movq	%rax, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.9:
	callq	_fmtId
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendPQExpBuffer              ## TAILCALL
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DO_EXTENSION,8,3               ## @DO_EXTENSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not find parent extension for %s %s"

L_.str.1:                               ## @.str.1
	.asciz	"\n-- For binary upgrade, handle extension membership the hard way\n"

L_.str.2:                               ## @.str.2
	.asciz	"ALTER EXTENSION %s ADD %s "

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

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

	.no_dead_strip	_binary_upgrade_extension_member
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function binary_upgrade_extension_member
_binary_upgrade_extension_member:       ; @binary_upgrade_extension_member
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x1, #32]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x25, #0
Lloh0:
	adrp	x26, _DO_EXTENSION@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DO_EXTENSION@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x23]
	cmp	x25, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #24]
	ldr	w0, [x8, x25, lsl #2]
	bl	_findObjectByDumpId
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_3
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x19
	bl	_fatal
	mov	x24, #0
LBB0_7:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBufferStr
	ldr	x0, [x24, #16]
	bl	_fmtId
	mov	x2, x0
	str	x22, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBuffer
	cbz	x21, LBB0_10
; %bb.8:
	ldrb	w8, [x21]
	cbz	w8, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_fmtId
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_appendPQExpBuffer
LBB0_10:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_appendPQExpBuffer
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DO_EXTENSION,8,3               ; @DO_EXTENSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not find parent extension for %s %s"

l_.str.1:                               ; @.str.1
	.asciz	"\n-- For binary upgrade, handle extension membership the hard way\n"

l_.str.2:                               ; @.str.2
	.asciz	"ALTER EXTENSION %s ADD %s "

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

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

	.no_dead_strip	_binary_upgrade_extension_member
.subsections_via_symbols
