	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreatePublication              ## -- Begin function CreatePublication
	.p2align	4, 0x90
_CreatePublication:                     ## @CreatePublication
	.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, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_publication@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, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MyDatabaseId@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	xorl	%eax, %eax
	callq	_GetUserId
	movq	_ACL_CREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_pg_database_aclcheck
	movq	%rax, %rbx
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_2
## %bb.1:
	movq	_OBJECT_DATABASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %edi
	callq	_get_database_name
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_aclcheck_error
LBB0_2:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_superuser
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movq	_PublicationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_PUBLICATIONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_Anum_pg_publication_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	20(%r15), %edi
	callq	_CStringGetDatum
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_GetSysCacheOid1
	movl	%eax, %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DUPLICATE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	20(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	shll	$2, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	_namein@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	20(%r15), %edi
	callq	_CStringGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movq	_Anum_pg_publication_pubname@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%eax, %edi
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_publication_pubowner@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	16(%r15), %edi
	leaq	-92(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-56(%rbp), %r9
	callq	_parse_publication_options
	movq	_PublicationObjectIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Anum_pg_publication_oid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	_GetNewOidWithIndex
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ObjectIdGetDatum
	movslq	(%rbx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	(%r15), %edi
	callq	_BoolGetDatum
	movq	_Anum_pg_publication_puballtables@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	-68(%rbp), %edi
	callq	_BoolGetDatum
	movq	_Anum_pg_publication_pubinsert@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	-64(%rbp), %edi
	callq	_BoolGetDatum
	movq	_Anum_pg_publication_pubupdate@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	-60(%rbp), %edi
	callq	_BoolGetDatum
	movq	_Anum_pg_publication_pubdelete@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	-56(%rbp), %edi
	callq	_BoolGetDatum
	movq	_Anum_pg_publication_pubtruncate@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	%r12d, %edi
	callq	_RelationGetDescr
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_heap_form_tuple
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_CatalogTupleInsert
	movl	%ebx, %edi
	callq	_heap_freetuple
	movq	_PublicationRelationId@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_recordDependencyOnOwner
	movl	(%r14), %esi
	movl	%r13d, %edx
	callq	_ObjectAddressSet
	xorl	%eax, %eax
	callq	_CommandCounterIncrement
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_list_length
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_Assert
	movq	8(%r15), %rdi
	callq	_OpenTableList
	movq	%rax, %rbx
	movl	%r13d, %edi
	movq	%rax, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_PublicationAddTables
	movq	%rbx, %rdi
	callq	_CloseTableList
LBB0_9:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movl	(%r14), %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_InvokeObjectPostCreateHook
	movq	_wal_level@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WAL_LEVEL_LOGICAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.3(%rip), %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Natts_pg_publication,4,2       ## @Natts_pg_publication
	.comm	_MyDatabaseId,4,2               ## @MyDatabaseId
	.comm	_ACL_CREATE,4,2                 ## @ACL_CREATE
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_OBJECT_DATABASE,4,2            ## @OBJECT_DATABASE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ## @ERRCODE_INSUFFICIENT_PRIVILEGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"must be superuser to create FOR ALL TABLES publication"

	.comm	_PublicationRelationId,4,2      ## @PublicationRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_PUBLICATIONNAME,4,2            ## @PUBLICATIONNAME
	.comm	_Anum_pg_publication_oid,4,2    ## @Anum_pg_publication_oid
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ## @ERRCODE_DUPLICATE_OBJECT
L_.str.1:                               ## @.str.1
	.asciz	"publication \"%s\" already exists"

	.comm	_namein,4,2                     ## @namein
	.comm	_Anum_pg_publication_pubname,4,2 ## @Anum_pg_publication_pubname
	.comm	_Anum_pg_publication_pubowner,4,2 ## @Anum_pg_publication_pubowner
	.comm	_PublicationObjectIndexId,4,2   ## @PublicationObjectIndexId
	.comm	_Anum_pg_publication_puballtables,4,2 ## @Anum_pg_publication_puballtables
	.comm	_Anum_pg_publication_pubinsert,4,2 ## @Anum_pg_publication_pubinsert
	.comm	_Anum_pg_publication_pubupdate,4,2 ## @Anum_pg_publication_pubupdate
	.comm	_Anum_pg_publication_pubdelete,4,2 ## @Anum_pg_publication_pubdelete
	.comm	_Anum_pg_publication_pubtruncate,4,2 ## @Anum_pg_publication_pubtruncate
	.comm	_wal_level,8,3                  ## @wal_level
	.comm	_WAL_LEVEL_LOGICAL,8,3          ## @WAL_LEVEL_LOGICAL
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
L_.str.2:                               ## @.str.2
	.asciz	"wal_level is insufficient to publish logical changes"

L_.str.3:                               ## @.str.3
	.asciz	"Set wal_level to logical before creating subscriptions."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreatePublication              ; -- Begin function CreatePublication
	.p2align	2
_CreatePublication:                     ; @CreatePublication
	.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	x19, 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_publication@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Natts_pg_publication@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	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
Lloh10:
	adrp	x24, _MyDatabaseId@GOTPAGE
Lloh11:
	ldr	x24, [x24, _MyDatabaseId@GOTPAGEOFF]
	ldr	w22, [x24]
	bl	_GetUserId
	mov	x1, x0
Lloh12:
	adrp	x8, _ACL_CREATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACL_CREATE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_pg_database_aclcheck
Lloh15:
	adrp	x8, _ACLCHECK_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACLCHECK_OK@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x22, x0
Lloh18:
	adrp	x8, _OBJECT_DATABASE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OBJECT_DATABASE@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
	ldr	w0, [x24]
	bl	_get_database_name
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_aclcheck_error
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	bl	_superuser
	cbnz	w0, LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
Lloh24:
	adrp	x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_errcode
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_5:
Lloh29:
	adrp	x25, _PublicationRelationId@GOTPAGE
Lloh30:
	ldr	x25, [x25, _PublicationRelationId@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh31:
	adrp	x26, _RowExclusiveLock@GOTPAGE
Lloh32:
	ldr	x26, [x26, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_table_open
	mov	x22, x0
Lloh33:
	adrp	x8, _PUBLICATIONNAME@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PUBLICATIONNAME@GOTPAGEOFF]
Lloh35:
	ldr	w23, [x8]
Lloh36:
	adrp	x28, _Anum_pg_publication_oid@GOTPAGE
Lloh37:
	ldr	x28, [x28, _Anum_pg_publication_oid@GOTPAGEOFF]
	ldr	w24, [x28]
	ldr	w0, [x19, #20]
	bl	_CStringGetDatum
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_GetSysCacheOid1
	bl	_OidIsValid
	cbz	x0, LBB0_7
; %bb.6:
Lloh38:
	adrp	x8, _ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w23, [x8]
Lloh41:
	adrp	x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w8, [x19, #20]
	str	x8, [sp, #-16]!
Lloh44:
	adrp	x0, l_.str.1@PAGE
Lloh45:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_7:
	lsl	w23, w27, #2
	mov	x0, x21
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	mov	x0, x20
	mov	w1, #0
	mov	x2, x23
	bl	_memset
Lloh46:
	adrp	x8, _namein@GOTPAGE
Lloh47:
	ldr	x8, [x8, _namein@GOTPAGEOFF]
Lloh48:
	ldr	w23, [x8]
	ldr	w0, [x19, #20]
	bl	_CStringGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_DirectFunctionCall1
Lloh49:
	adrp	x8, _Anum_pg_publication_pubname@GOTPAGE
Lloh50:
	ldr	x8, [x8, _Anum_pg_publication_pubname@GOTPAGEOFF]
Lloh51:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	bl	_GetUserId
	bl	_ObjectIdGetDatum
Lloh52:
	adrp	x8, _Anum_pg_publication_pubowner@GOTPAGE
Lloh53:
	ldr	x8, [x8, _Anum_pg_publication_pubowner@GOTPAGEOFF]
Lloh54:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	ldr	w0, [x19, #16]
	sub	x1, x29, #92
	sub	x2, x29, #96
	sub	x3, x29, #100
	sub	x4, x29, #104
	sub	x5, x29, #108
	bl	_parse_publication_options
Lloh55:
	adrp	x8, _PublicationObjectIndexId@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PublicationObjectIndexId@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x22
	bl	_GetNewOidWithIndex
	mov	x23, x0
	bl	_ObjectIdGetDatum
	ldrsw	x8, [x28]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	ldr	w0, [x19]
	bl	_BoolGetDatum
Lloh58:
	adrp	x8, _Anum_pg_publication_puballtables@GOTPAGE
Lloh59:
	ldr	x8, [x8, _Anum_pg_publication_puballtables@GOTPAGEOFF]
Lloh60:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	ldur	w0, [x29, #-96]
	bl	_BoolGetDatum
Lloh61:
	adrp	x8, _Anum_pg_publication_pubinsert@GOTPAGE
Lloh62:
	ldr	x8, [x8, _Anum_pg_publication_pubinsert@GOTPAGEOFF]
Lloh63:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	ldur	w0, [x29, #-100]
	bl	_BoolGetDatum
Lloh64:
	adrp	x8, _Anum_pg_publication_pubupdate@GOTPAGE
Lloh65:
	ldr	x8, [x8, _Anum_pg_publication_pubupdate@GOTPAGEOFF]
Lloh66:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	ldur	w0, [x29, #-104]
	bl	_BoolGetDatum
Lloh67:
	adrp	x8, _Anum_pg_publication_pubdelete@GOTPAGE
Lloh68:
	ldr	x8, [x8, _Anum_pg_publication_pubdelete@GOTPAGEOFF]
Lloh69:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	ldur	w0, [x29, #-108]
	bl	_BoolGetDatum
Lloh70:
	adrp	x8, _Anum_pg_publication_pubtruncate@GOTPAGE
Lloh71:
	ldr	x8, [x8, _Anum_pg_publication_pubtruncate@GOTPAGEOFF]
Lloh72:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x22
	bl	_RelationGetDescr
	mov	x1, x21
	mov	x2, x20
	bl	_heap_form_tuple
	mov	x20, x0
	mov	x0, x22
	mov	x1, x20
	bl	_CatalogTupleInsert
	mov	x0, x20
	bl	_heap_freetuple
	ldr	w20, [x25]
	bl	_GetUserId
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_recordDependencyOnOwner
	ldr	w1, [x25]
	mov	x2, x23
	bl	_ObjectAddressSet
	bl	_CommandCounterIncrement
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_list_length
	cmp	x0, #0
	cset	w0, gt
	bl	_Assert
	ldr	x0, [x19, #8]
	bl	_OpenTableList
	mov	x19, x0
	mov	x0, x23
	mov	x1, x19
	mov	w2, #1
	mov	x3, #0
	bl	_PublicationAddTables
	mov	x0, x19
	bl	_CloseTableList
LBB0_9:
	ldr	w1, [x26]
	mov	x0, x22
	bl	_table_close
	ldr	w0, [x25]
	mov	x1, x23
	mov	w2, #0
	bl	_InvokeObjectPostCreateHook
Lloh73:
	adrp	x8, _wal_level@GOTPAGE
Lloh74:
	ldr	x8, [x8, _wal_level@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
Lloh76:
	adrp	x9, _WAL_LEVEL_LOGICAL@GOTPAGE
Lloh77:
	ldr	x9, [x9, _WAL_LEVEL_LOGICAL@GOTPAGEOFF]
Lloh78:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
Lloh79:
	adrp	x8, _WARNING@GOTPAGE
Lloh80:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh81:
	ldr	w19, [x8]
Lloh82:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
	bl	_errcode
Lloh85:
	adrp	x0, l_.str.2@PAGE
Lloh86:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
Lloh87:
	adrp	x0, l_.str.3@PAGE
Lloh88:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh89:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh90:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_Natts_pg_publication,4,2       ; @Natts_pg_publication
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
	.comm	_ACL_CREATE,4,2                 ; @ACL_CREATE
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_OBJECT_DATABASE,4,2            ; @OBJECT_DATABASE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ; @ERRCODE_INSUFFICIENT_PRIVILEGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"must be superuser to create FOR ALL TABLES publication"

	.comm	_PublicationRelationId,4,2      ; @PublicationRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_PUBLICATIONNAME,4,2            ; @PUBLICATIONNAME
	.comm	_Anum_pg_publication_oid,4,2    ; @Anum_pg_publication_oid
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ; @ERRCODE_DUPLICATE_OBJECT
l_.str.1:                               ; @.str.1
	.asciz	"publication \"%s\" already exists"

	.comm	_namein,4,2                     ; @namein
	.comm	_Anum_pg_publication_pubname,4,2 ; @Anum_pg_publication_pubname
	.comm	_Anum_pg_publication_pubowner,4,2 ; @Anum_pg_publication_pubowner
	.comm	_PublicationObjectIndexId,4,2   ; @PublicationObjectIndexId
	.comm	_Anum_pg_publication_puballtables,4,2 ; @Anum_pg_publication_puballtables
	.comm	_Anum_pg_publication_pubinsert,4,2 ; @Anum_pg_publication_pubinsert
	.comm	_Anum_pg_publication_pubupdate,4,2 ; @Anum_pg_publication_pubupdate
	.comm	_Anum_pg_publication_pubdelete,4,2 ; @Anum_pg_publication_pubdelete
	.comm	_Anum_pg_publication_pubtruncate,4,2 ; @Anum_pg_publication_pubtruncate
	.comm	_wal_level,8,3                  ; @wal_level
	.comm	_WAL_LEVEL_LOGICAL,8,3          ; @WAL_LEVEL_LOGICAL
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
l_.str.2:                               ; @.str.2
	.asciz	"wal_level is insufficient to publish logical changes"

l_.str.3:                               ; @.str.3
	.asciz	"Set wal_level to logical before creating subscriptions."

.subsections_via_symbols
