	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterSubscription              ## -- Begin function AlterSubscription
	.p2align	4, 0x90
_AlterSubscription:                     ## @AlterSubscription
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_subscription@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_SubscriptionRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_SUBSCRIPTIONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %rdi
	callq	_CStringGetDatum
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SearchSysCacheCopy2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_GETSTRUCT
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_pg_subscription_ownercheck
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ACLCHECK_NOT_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OBJECT_SUBSCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	callq	_aclcheck_error
LBB0_4:
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_GetSubscription
	movq	%rax, %r12
	movq	_SubscriptionRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_LockSharedObject
	shll	$2, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movl	8(%r14), %edx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_30
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	jmpq	*%rax
LBB0_27:
	movq	%r12, %rbx
	cmpl	$0, (%r12)
	jne	LBB0_29
## %bb.28:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_29:
	movl	24(%r14), %edi
	subq	$32, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	leaq	-56(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	$0, (%rsp)
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_parse_subscription_options
	addq	$32, %rsp
	movl	-56(%rbp), %esi
	movq	%rbx, %rdi
	callq	_AlterSubscription_refresh
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	jmp	LBB0_35
LBB0_30:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_35
LBB0_22:
	movl	24(%r14), %edi
	leaq	-88(%rbp), %rax
	leaq	-56(%rbp), %r10
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	pushq	%r10
	pushq	$0
	callq	_parse_subscription_options
	addq	$32, %rsp
	movl	28(%r14), %edi
	callq	_publicationListToArray
	movq	_Anum_pg_subscription_subpublications@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, -4(%rdx,%rcx,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, -4(%rax,%rcx,4)
	cmpl	$0, -88(%rbp)
	je	LBB0_26
## %bb.23:
	cmpl	$0, (%r12)
	jne	LBB0_25
## %bb.24:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.6(%rip), %rdi
	callq	_errhint
	movl	%r13d, %edi
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_25:
	movl	28(%r14), %eax
	movl	%eax, 4(%r12)
	movl	-56(%rbp), %esi
	movq	%r12, %rdi
	callq	_AlterSubscription_refresh
LBB0_26:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_6:
	movl	24(%r14), %edi
	leaq	-88(%rbp), %rax
	leaq	-56(%rbp), %r10
	leaq	-100(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%rax
	pushq	$0
	pushq	%r10
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	callq	_parse_subscription_options
	addq	$32, %rsp
	cmpl	$0, -100(%rbp)
	je	LBB0_14
## %bb.7:
	cmpl	$0, (%r12)
	movq	-56(%rbp), %rdi
	je	LBB0_10
## %bb.8:
	testq	%rdi, %rdi
	jne	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-56(%rbp), %rdi
LBB0_10:
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movq	_namein@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_CStringGetDatum
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movq	_Anum_pg_subscription_subslotname@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, -4(%rdx,%rcx,4)
	jmp	LBB0_13
LBB0_16:
	movl	24(%r14), %edi
	subq	$32, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-88(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_parse_subscription_options
	addq	$32, %rsp
	movl	-88(%rbp), %edi
	callq	_Assert
	cmpl	$0, 8(%r12)
	movl	-56(%rbp), %edi
	jne	LBB0_17
## %bb.18:
	testl	%edi, %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
	je	LBB0_20
## %bb.19:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	-56(%rbp), %edi
	jmp	LBB0_20
LBB0_31:
	leaq	L_.str.4(%rip), %rdi
	xorl	%esi, %esi
	callq	_load_file
	movq	16(%r14), %rdi
	callq	_walrcv_check_conninfo
	movq	16(%r14), %rdi
	callq	_CStringGetTextDatum
	movq	_Anum_pg_subscription_subconninfo@GOTPCREL(%rip), %rcx
	jmp	LBB0_32
LBB0_17:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
LBB0_20:
	callq	_BoolGetDatum
	movq	_Anum_pg_subscription_subenabled@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, -4(%rdx,%rcx,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, -4(%rax,%rcx,4)
	cmpl	$0, -56(%rbp)
	je	LBB0_34
## %bb.21:
	xorl	%eax, %eax
	callq	_ApplyLauncherWakeupAtCommit
	jmp	LBB0_34
LBB0_12:
	movq	_Anum_pg_subscription_subslotname@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	$1, -4(%rbx,%rcx,4)
LBB0_13:
	decq	%rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax,%rcx,4)
LBB0_14:
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.15:
	callq	_CStringGetTextDatum
	movq	_Anum_pg_subscription_subsynccommit@GOTPCREL(%rip), %rcx
LBB0_32:
	movslq	(%rcx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, -4(%rdx,%rcx,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, -4(%rax,%rcx,4)
LBB0_33:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r12
LBB0_34:
	movl	%r13d, %edi
	callq	_RelationGetDescr
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_heap_modify_tuple
	movq	%rax, %rbx
	movl	%r13d, %edi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	_CatalogTupleUpdate
	movq	%rbx, %rdi
	callq	_heap_freetuple
LBB0_35:
	movl	(%r12), %esi
	movl	%r13d, %edi
	callq	_table_close
	movq	_SubscriptionRelationId@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r15d, %edx
	callq	_ObjectAddressSet
	movl	(%rbx), %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_37
## %bb.36:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_27
	.long	L0_0_set_22
	.long	L0_0_set_6
	.long	L0_0_set_16
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_Natts_pg_subscription,4,2      ## @Natts_pg_subscription
	.comm	_SubscriptionRelationId,4,2     ## @SubscriptionRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_SUBSCRIPTIONNAME,4,2           ## @SUBSCRIPTIONNAME
	.comm	_MyDatabaseId,4,2               ## @MyDatabaseId
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subscription \"%s\" does not exist"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ## @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_SUBSCRIPTION,4,2        ## @OBJECT_SUBSCRIPTION
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ## @ERRCODE_SYNTAX_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"cannot set %s for enabled subscription"

L_.str.2:                               ## @.str.2
	.asciz	"slot_name = NONE"

	.comm	_namein,4,2                     ## @namein
	.comm	_Anum_pg_subscription_subslotname,4,2 ## @Anum_pg_subscription_subslotname
	.comm	_Anum_pg_subscription_subsynccommit,4,2 ## @Anum_pg_subscription_subsynccommit
L_.str.3:                               ## @.str.3
	.asciz	"cannot enable subscription that does not have a slot name"

	.comm	_Anum_pg_subscription_subenabled,4,2 ## @Anum_pg_subscription_subenabled
L_.str.4:                               ## @.str.4
	.asciz	"libpqwalreceiver"

	.comm	_Anum_pg_subscription_subconninfo,4,2 ## @Anum_pg_subscription_subconninfo
	.comm	_Anum_pg_subscription_subpublications,4,2 ## @Anum_pg_subscription_subpublications
L_.str.5:                               ## @.str.5
	.asciz	"ALTER SUBSCRIPTION with refresh is not allowed for disabled subscriptions"

L_.str.6:                               ## @.str.6
	.asciz	"Use ALTER SUBSCRIPTION ... SET PUBLICATION ... WITH (refresh = false)."

L_.str.7:                               ## @.str.7
	.asciz	"ALTER SUBSCRIPTION ... REFRESH is not allowed for disabled subscriptions"

L_.str.8:                               ## @.str.8
	.asciz	"unrecognized ALTER SUBSCRIPTION kind %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterSubscription              ; -- Begin function AlterSubscription
	.p2align	2
_AlterSubscription:                     ; @AlterSubscription
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _Natts_pg_subscription@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Natts_pg_subscription@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	lsl	x8, x27, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
Lloh12:
	adrp	x28, _SubscriptionRelationId@GOTPAGE
Lloh13:
	ldr	x28, [x28, _SubscriptionRelationId@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh14:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_table_open
	mov	x19, x0
Lloh17:
	adrp	x8, _SUBSCRIPTIONNAME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SUBSCRIPTIONNAME@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh22:
	ldr	w24, [x8]
	ldr	x0, [x25]
	bl	_CStringGetDatum
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_SearchSysCacheCopy2
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh23:
	adrp	x8, _ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
Lloh26:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x25]
	str	x8, [sp, #-16]!
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_2:
	mov	x0, x24
	bl	_GETSTRUCT
	ldr	w20, [x0]
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x20
	bl	_pg_subscription_ownercheck
	cbnz	w0, LBB0_4
; %bb.3:
Lloh31:
	adrp	x8, _ACLCHECK_NOT_OWNER@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ACLCHECK_NOT_OWNER@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _OBJECT_SUBSCRIPTION@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OBJECT_SUBSCRIPTION@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	x2, [x25]
	bl	_aclcheck_error
LBB0_4:
	mov	x0, x20
	mov	w1, #0
	bl	_GetSubscription
	mov	x26, x0
	ldr	w0, [x28]
Lloh37:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_LockSharedObject
	lsl	w27, w27, #2
	mov	x0, x23
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	x0, x21
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	x0, x22
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	ldr	w2, [x25, #8]
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.5:
Lloh40:
	adrp	x9, lJTI0_0@PAGE
Lloh41:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	w8, [x26]
	cbnz	w8, LBB0_8
; %bb.7:
Lloh42:
	adrp	x8, _ERROR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh44:
	ldr	w21, [x8]
Lloh45:
	adrp	x8, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_errcode
Lloh48:
	adrp	x0, l_.str.7@PAGE
Lloh49:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_8:
	ldr	w0, [x25, #24]
	stp	xzr, xzr, [sp, #-16]!
	sub	x7, x29, #96
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_parse_subscription_options
	add	sp, sp, #16
	ldur	w1, [x29, #-96]
	mov	x0, x26
	bl	_AlterSubscription_refresh
	b	LBB0_10
LBB0_9:
Lloh50:
	adrp	x8, _ERROR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x1, l_.str.8@PAGE
Lloh54:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_elog
LBB0_10:
Lloh55:
	adrp	x25, _RowExclusiveLock@GOTPAGE
Lloh56:
	ldr	x25, [x25, _RowExclusiveLock@GOTPAGEOFF]
	b	LBB0_32
LBB0_11:
	ldr	w0, [x25, #24]
	sub	x8, x29, #112
	stp	xzr, x8, [sp, #-16]!
	sub	x7, x29, #96
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_parse_subscription_options
	add	sp, sp, #16
	ldr	w0, [x25, #28]
	bl	_publicationListToArray
Lloh57:
	adrp	x8, _Anum_pg_subscription_subpublications@GOTPAGE
Lloh58:
	ldr	x8, [x8, _Anum_pg_subscription_subpublications@GOTPAGEOFF]
Lloh59:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x23, x8]
	mov	w9, #1
	str	w9, [x22, x8]
	ldur	w8, [x29, #-112]
	cbz	w8, LBB0_30
; %bb.12:
	ldr	w8, [x26]
	cbnz	w8, LBB0_14
; %bb.13:
Lloh60:
	adrp	x8, _ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh62:
	ldr	w27, [x8]
Lloh63:
	adrp	x8, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	bl	_errcode
Lloh66:
	adrp	x0, l_.str.5@PAGE
Lloh67:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
Lloh68:
	adrp	x0, l_.str.6@PAGE
Lloh69:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
LBB0_14:
	ldr	w8, [x25, #28]
	str	w8, [x26, #4]
	ldur	w1, [x29, #-96]
	mov	x0, x26
	bl	_AlterSubscription_refresh
	b	LBB0_30
LBB0_15:
	ldr	w0, [x25, #24]
	sub	x8, x29, #112
	stp	x8, xzr, [sp, #-16]!
	sub	x5, x29, #100
	sub	x6, x29, #96
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x7, #0
	bl	_parse_subscription_options
	add	sp, sp, #16
	ldur	w8, [x29, #-100]
	cbz	w8, LBB0_27
; %bb.16:
	ldr	w8, [x26]
	ldur	x0, [x29, #-96]
	cmp	w8, #0
	ccmp	x0, #0, #0, ne
	b.ne	LBB0_18
; %bb.17:
Lloh70:
	adrp	x8, _ERROR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh72:
	ldr	w25, [x8]
Lloh73:
	adrp	x8, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	bl	_errcode
Lloh76:
	adrp	x8, l_.str.2@PAGE
Lloh77:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp, #-16]!
Lloh78:
	adrp	x0, l_.str.1@PAGE
Lloh79:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	ldur	x0, [x29, #-96]
LBB0_18:
	cbz	x0, LBB0_25
; %bb.19:
Lloh80:
	adrp	x8, _namein@GOTPAGE
Lloh81:
	ldr	x8, [x8, _namein@GOTPAGEOFF]
Lloh82:
	ldr	w25, [x8]
	bl	_CStringGetDatum
	mov	x1, x0
	mov	x0, x25
	bl	_DirectFunctionCall1
Lloh83:
	adrp	x8, _Anum_pg_subscription_subslotname@GOTPAGE
Lloh84:
	ldr	x8, [x8, _Anum_pg_subscription_subslotname@GOTPAGEOFF]
Lloh85:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	str	w0, [x23, x8, lsl #2]
	b	LBB0_26
LBB0_20:
	ldr	w0, [x25, #24]
	stp	xzr, xzr, [sp, #-16]!
	sub	x2, x29, #112
	sub	x3, x29, #96
	mov	x1, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_parse_subscription_options
	add	sp, sp, #16
	ldur	w0, [x29, #-112]
	bl	_Assert
	ldr	w8, [x26, #8]
	ldur	w0, [x29, #-96]
	cmp	w8, #0
	ccmp	w0, #0, #4, eq
	b.eq	LBB0_22
; %bb.21:
Lloh86:
	adrp	x8, _ERROR@GOTPAGE
Lloh87:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh88:
	ldr	w25, [x8]
Lloh89:
	adrp	x8, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	bl	_errcode
Lloh92:
	adrp	x0, l_.str.3@PAGE
Lloh93:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	ldur	w0, [x29, #-96]
LBB0_22:
	bl	_BoolGetDatum
Lloh94:
	adrp	x8, _Anum_pg_subscription_subenabled@GOTPAGE
Lloh95:
	ldr	x8, [x8, _Anum_pg_subscription_subenabled@GOTPAGEOFF]
Lloh96:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x23, x8]
	mov	w9, #1
	str	w9, [x22, x8]
	ldur	w8, [x29, #-96]
Lloh97:
	adrp	x25, _RowExclusiveLock@GOTPAGE
Lloh98:
	ldr	x25, [x25, _RowExclusiveLock@GOTPAGEOFF]
	cbz	w8, LBB0_31
; %bb.23:
	bl	_ApplyLauncherWakeupAtCommit
	b	LBB0_31
LBB0_24:
Lloh99:
	adrp	x0, l_.str.4@PAGE
Lloh100:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #0
	bl	_load_file
	ldr	x0, [x25, #16]
	bl	_walrcv_check_conninfo
	ldr	x0, [x25, #16]
	bl	_CStringGetTextDatum
Lloh101:
	adrp	x8, _Anum_pg_subscription_subconninfo@GOTPAGE
Lloh102:
	ldr	x8, [x8, _Anum_pg_subscription_subconninfo@GOTPAGEOFF]
	b	LBB0_29
LBB0_25:
Lloh103:
	adrp	x8, _Anum_pg_subscription_subslotname@GOTPAGE
Lloh104:
	ldr	x8, [x8, _Anum_pg_subscription_subslotname@GOTPAGEOFF]
Lloh105:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	mov	w9, #1
	str	w9, [x21, x8, lsl #2]
LBB0_26:
	mov	w9, #1
	str	w9, [x22, x8, lsl #2]
LBB0_27:
	ldur	x0, [x29, #-112]
	cbz	x0, LBB0_30
; %bb.28:
	bl	_CStringGetTextDatum
Lloh106:
	adrp	x8, _Anum_pg_subscription_subsynccommit@GOTPAGE
Lloh107:
	ldr	x8, [x8, _Anum_pg_subscription_subsynccommit@GOTPAGEOFF]
LBB0_29:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x23, x8]
	mov	w9, #1
	str	w9, [x22, x8]
LBB0_30:
Lloh108:
	adrp	x25, _RowExclusiveLock@GOTPAGE
Lloh109:
	ldr	x25, [x25, _RowExclusiveLock@GOTPAGEOFF]
LBB0_31:
	mov	x0, x19
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_heap_modify_tuple
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	bl	_CatalogTupleUpdate
	mov	x0, x21
	bl	_heap_freetuple
LBB0_32:
	ldr	w1, [x25]
	mov	x0, x19
	bl	_table_close
	ldr	w1, [x28]
	mov	x2, x20
	bl	_ObjectAddressSet
	ldr	w0, [x28]
	mov	x1, x20
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	ldur	x8, [x29, #-88]
Lloh110:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh111:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh112:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
	.byte	(LBB0_20-LBB0_6)>>2
	.byte	(LBB0_24-LBB0_6)>>2
                                        ; -- End function
	.comm	_Natts_pg_subscription,4,2      ; @Natts_pg_subscription
	.comm	_SubscriptionRelationId,4,2     ; @SubscriptionRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_SUBSCRIPTIONNAME,4,2           ; @SUBSCRIPTIONNAME
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subscription \"%s\" does not exist"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ; @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_SUBSCRIPTION,4,2        ; @OBJECT_SUBSCRIPTION
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ; @ERRCODE_SYNTAX_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"cannot set %s for enabled subscription"

l_.str.2:                               ; @.str.2
	.asciz	"slot_name = NONE"

	.comm	_namein,4,2                     ; @namein
	.comm	_Anum_pg_subscription_subslotname,4,2 ; @Anum_pg_subscription_subslotname
	.comm	_Anum_pg_subscription_subsynccommit,4,2 ; @Anum_pg_subscription_subsynccommit
l_.str.3:                               ; @.str.3
	.asciz	"cannot enable subscription that does not have a slot name"

	.comm	_Anum_pg_subscription_subenabled,4,2 ; @Anum_pg_subscription_subenabled
l_.str.4:                               ; @.str.4
	.asciz	"libpqwalreceiver"

	.comm	_Anum_pg_subscription_subconninfo,4,2 ; @Anum_pg_subscription_subconninfo
	.comm	_Anum_pg_subscription_subpublications,4,2 ; @Anum_pg_subscription_subpublications
l_.str.5:                               ; @.str.5
	.asciz	"ALTER SUBSCRIPTION with refresh is not allowed for disabled subscriptions"

l_.str.6:                               ; @.str.6
	.asciz	"Use ALTER SUBSCRIPTION ... SET PUBLICATION ... WITH (refresh = false)."

l_.str.7:                               ; @.str.7
	.asciz	"ALTER SUBSCRIPTION ... REFRESH is not allowed for disabled subscriptions"

l_.str.8:                               ; @.str.8
	.asciz	"unrecognized ALTER SUBSCRIPTION kind %d"

.subsections_via_symbols
