	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CreateReplicationSlot
_CreateReplicationSlot:                 ## @CreateReplicationSlot
	.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	$88, %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	_MAXFNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movl	$0, -84(%rbp)
	movq	_CRS_EXPORT_SNAPSHOT@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -112(%rbp)
	movq	_MyReplicationSlot@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_Assert
	leaq	-84(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movq	%r14, %rdi
	callq	_parseCreateReplSlotOptions
	movq	_sendTimeLineIsHistoric@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_ThisTimeLineID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_sendTimeLine@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r14), %rax
	movq	_REPLICATION_KIND_PHYSICAL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	movq	_RS_PERSISTENT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_CheckLogicalDecodingRequirements
	movl	$1, %esi
	movq	_RS_EPHEMERAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	24(%r14), %edi
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.4:
	movq	_RS_TEMPORARY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	callq	_ReplicationSlotCreate
	movq	(%r14), %rax
	movq	_REPLICATION_KIND_LOGICAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	jne	LBB0_26
## %bb.6:
	movq	-112(%rbp), %rax
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.7:
	xorl	%eax, %eax
	callq	_IsTransactionBlock
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_19
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_18
LBB0_26:
	xorl	%ecx, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	cmpq	(%rbx), %rax
	jne	LBB0_31
## %bb.27:
	cmpl	$0, -84(%rbp)
	je	LBB0_31
## %bb.28:
	xorl	%eax, %eax
	callq	_ReplicationSlotReserveWal
	xorl	%eax, %eax
	callq	_ReplicationSlotMarkDirty
	cmpq	$0, 16(%r14)
	je	LBB0_30
## %bb.29:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_31
LBB0_9:
	movq	_CRS_USE_SNAPSHOT@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.10:
	xorl	%eax, %eax
	callq	_IsTransactionBlock
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	movq	_XactIsoLevel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_XACT_REPEATABLE_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_14:
	movq	_FirstSnapshotSet@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_16:
	xorl	%eax, %eax
	callq	_IsSubTransaction
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
LBB0_18:
	callq	_errmsg
	movl	%r14d, %edi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_19:
	movq	8(%r14), %rdi
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_logical_read_xlog_page@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WalSndPrepareWrite@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_WalSndWriteData@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_WalSndUpdateProgress@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%r13d, %edx
	pushq	%rbx
	pushq	%rax
	callq	_CreateInitDecodingContext
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	_last_reply_timestamp@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	callq	_DecodingContextFindStartpoint
	movq	-112(%rbp), %rax
	cmpq	(%r15), %rax
	jne	LBB0_21
## %bb.20:
	movl	(%rbx), %edi
	callq	_SnapBuildExportSnapshot
	jmp	LBB0_24
LBB0_21:
	movq	_CRS_USE_SNAPSHOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movl	(%rbx), %edi
	callq	_SnapBuildInitialSnapshot
	movq	_MyProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_RestoreTransactionSnapshot
LBB0_23:
	xorl	%eax, %eax
LBB0_24:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_FreeDecodingContext
	cmpq	$0, 16(%r14)
	jne	LBB0_31
## %bb.25:
	xorl	%eax, %eax
	callq	_ReplicationSlotPersist
	jmp	LBB0_31
LBB0_30:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ReplicationSlotSave
LBB0_31:
	movq	_MyReplicationSlot@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r8d
	leaq	L_.str.7(%rip), %rdx
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_snprintf
	movq	_DestRemoteSimple@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CreateDestReceiver
	movq	%rax, %r14
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_MemSet
	movl	$4, %edi
	callq	_CreateTemplateTupleDesc
	movl	%eax, %r12d
	movq	_TEXTOID@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str.8(%rip), %rdx
	movl	%eax, %edi
	movl	$1, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitBuiltinEntry
	movl	(%r13), %ecx
	leaq	L_.str.9(%rip), %rdx
	movl	%r12d, %edi
	movl	$2, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitBuiltinEntry
	movl	(%r13), %ecx
	leaq	L_.str.10(%rip), %rdx
	movl	%r12d, %edi
	movl	$3, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitBuiltinEntry
	movl	(%r13), %ecx
	leaq	L_.str.11(%rip), %rdx
	movl	%r12d, %edi
	movl	$4, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitBuiltinEntry
	movq	_TTSOpsVirtual@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_begin_tup_output_tupdesc
	movq	%rax, %r14
	movq	_MyReplicationSlot@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_NameStr
	movq	%rax, %rdi
	callq	_CStringGetTextDatum
	movl	%eax, -64(%rbp)
	movq	%r15, %rdi
	callq	_CStringGetTextDatum
	movl	%eax, -60(%rbp)
	movq	%rbx, %rcx
	movl	$1, %eax
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:
	callq	_CStringGetTextDatum
	leaq	-64(%rbp), %rcx
LBB0_33:
	movl	%eax, 8(%rcx)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	movl	$1, %eax
	je	LBB0_35
## %bb.34:
	callq	_CStringGetTextDatum
	leaq	-64(%rbp), %rbx
LBB0_35:
	movl	%eax, 12(%rbx)
	leaq	-64(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	callq	_do_tup_output
	movq	%r14, %rdi
	callq	_end_tup_output
	xorl	%eax, %eax
	callq	_ReplicationSlotRelease
	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
                                        ## -- End function
	.comm	_MAXFNAMELEN,4,2                ## @MAXFNAMELEN
	.comm	_CRS_EXPORT_SNAPSHOT,8,3        ## @CRS_EXPORT_SNAPSHOT
	.comm	_MyReplicationSlot,8,3          ## @MyReplicationSlot
	.comm	_sendTimeLineIsHistoric,4,2     ## @sendTimeLineIsHistoric
	.comm	_ThisTimeLineID,4,2             ## @ThisTimeLineID
	.comm	_sendTimeLine,4,2               ## @sendTimeLine
	.comm	_REPLICATION_KIND_PHYSICAL,8,3  ## @REPLICATION_KIND_PHYSICAL
	.comm	_RS_TEMPORARY,4,2               ## @RS_TEMPORARY
	.comm	_RS_PERSISTENT,4,2              ## @RS_PERSISTENT
	.comm	_RS_EPHEMERAL,4,2               ## @RS_EPHEMERAL
	.comm	_REPLICATION_KIND_LOGICAL,8,3   ## @REPLICATION_KIND_LOGICAL
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s must not be called inside a transaction"

L_.str.1:                               ## @.str.1
	.asciz	"CREATE_REPLICATION_SLOT ... EXPORT_SNAPSHOT"

	.comm	_CRS_USE_SNAPSHOT,8,3           ## @CRS_USE_SNAPSHOT
L_.str.2:                               ## @.str.2
	.asciz	"%s must be called inside a transaction"

L_.str.3:                               ## @.str.3
	.asciz	"CREATE_REPLICATION_SLOT ... USE_SNAPSHOT"

	.comm	_XactIsoLevel,8,3               ## @XactIsoLevel
	.comm	_XACT_REPEATABLE_READ,8,3       ## @XACT_REPEATABLE_READ
L_.str.4:                               ## @.str.4
	.asciz	"%s must be called in REPEATABLE READ isolation mode transaction"

	.comm	_FirstSnapshotSet,8,3           ## @FirstSnapshotSet
L_.str.5:                               ## @.str.5
	.asciz	"%s must be called before any query"

L_.str.6:                               ## @.str.6
	.asciz	"%s must not be called in a subtransaction"

	.comm	_NIL,4,2                        ## @NIL
	.comm	_InvalidXLogRecPtr,4,2          ## @InvalidXLogRecPtr
	.comm	_logical_read_xlog_page,4,2     ## @logical_read_xlog_page
	.comm	_WalSndPrepareWrite,4,2         ## @WalSndPrepareWrite
	.comm	_WalSndWriteData,4,2            ## @WalSndWriteData
	.comm	_WalSndUpdateProgress,4,2       ## @WalSndUpdateProgress
	.comm	_last_reply_timestamp,8,3       ## @last_reply_timestamp
	.comm	_MyProc,4,2                     ## @MyProc
L_.str.7:                               ## @.str.7
	.asciz	"%X/%X"

	.comm	_DestRemoteSimple,4,2           ## @DestRemoteSimple
L_.str.8:                               ## @.str.8
	.asciz	"slot_name"

	.comm	_TEXTOID,4,2                    ## @TEXTOID
L_.str.9:                               ## @.str.9
	.asciz	"consistent_point"

L_.str.10:                              ## @.str.10
	.asciz	"snapshot_name"

L_.str.11:                              ## @.str.11
	.asciz	"output_plugin"

	.comm	_TTSOpsVirtual,4,2              ## @TTSOpsVirtual
	.no_dead_strip	_CreateReplicationSlot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CreateReplicationSlot
_CreateReplicationSlot:                 ; @CreateReplicationSlot
	.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, #64
	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, _MAXFNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXFNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	stur	wzr, [x29, #-124]
Lloh8:
	adrp	x24, _CRS_EXPORT_SNAPSHOT@GOTPAGE
Lloh9:
	ldr	x24, [x24, _CRS_EXPORT_SNAPSHOT@GOTPAGEOFF]
	ldr	x8, [x24]
	stur	x8, [x29, #-136]
Lloh10:
	adrp	x25, _MyReplicationSlot@GOTPAGE
Lloh11:
	ldr	x25, [x25, _MyReplicationSlot@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	sub	x1, x29, #124
	sub	x2, x29, #136
	mov	x0, x19
	bl	_parseCreateReplSlotOptions
Lloh12:
	adrp	x8, _sendTimeLineIsHistoric@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sendTimeLineIsHistoric@GOTPAGEOFF]
Lloh14:
	str	wzr, [x8]
Lloh15:
	adrp	x8, _ThisTimeLineID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ThisTimeLineID@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _sendTimeLine@GOTPAGE
Lloh19:
	ldr	x9, [x9, _sendTimeLine@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	ldr	x8, [x19]
Lloh21:
	adrp	x23, _REPLICATION_KIND_PHYSICAL@GOTPAGE
Lloh22:
	ldr	x23, [x23, _REPLICATION_KIND_PHYSICAL@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w1, #0
Lloh23:
	adrp	x8, _RS_PERSISTENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RS_PERSISTENT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	bl	_CheckLogicalDecodingRequirements
	mov	w1, #1
Lloh25:
	adrp	x8, _RS_EPHEMERAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RS_EPHEMERAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x19, #24]
	ldr	x9, [x19, #16]
Lloh27:
	adrp	x10, _RS_TEMPORARY@GOTPAGE
Lloh28:
	ldr	x10, [x10, _RS_TEMPORARY@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w2, [x8]
	bl	_ReplicationSlotCreate
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _REPLICATION_KIND_LOGICAL@GOTPAGE
Lloh30:
	ldr	x9, [x9, _REPLICATION_KIND_LOGICAL@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldur	x8, [x29, #-136]
	ldr	x9, [x24]
Lloh32:
	adrp	x26, _CRS_USE_SNAPSHOT@GOTPAGE
Lloh33:
	ldr	x26, [x26, _CRS_USE_SNAPSHOT@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.5:
	bl	_IsTransactionBlock
	cbz	x0, LBB0_22
; %bb.6:
Lloh34:
	adrp	x8, _ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w22, [x8]
Lloh37:
	adrp	x0, l_.str@PAGE
Lloh38:
	add	x0, x0, l_.str@PAGEOFF
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_7:
	mov	x22, #0
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.8:
	ldur	w8, [x29, #-124]
	cbz	w8, LBB0_31
; %bb.9:
	bl	_ReplicationSlotReserveWal
	bl	_ReplicationSlotMarkDirty
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_11
; %bb.10:
	bl	_ReplicationSlotSave
LBB0_11:
	mov	x22, #0
	b	LBB0_31
LBB0_12:
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.13:
	bl	_IsTransactionBlock
Lloh41:
	adrp	x23, _ERROR@GOTPAGE
Lloh42:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cbnz	x0, LBB0_15
; %bb.14:
	ldr	w22, [x23]
Lloh43:
	adrp	x0, l_.str.2@PAGE
Lloh44:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh45:
	adrp	x1, l_.str.3@PAGE
Lloh46:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_15:
Lloh47:
	adrp	x8, _XactIsoLevel@GOTPAGE
Lloh48:
	ldr	x8, [x8, _XactIsoLevel@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
Lloh50:
	adrp	x9, _XACT_REPEATABLE_READ@GOTPAGE
Lloh51:
	ldr	x9, [x9, _XACT_REPEATABLE_READ@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.16:
	ldr	w22, [x23]
Lloh53:
	adrp	x0, l_.str.4@PAGE
Lloh54:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh55:
	adrp	x1, l_.str.3@PAGE
Lloh56:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_17:
Lloh57:
	adrp	x8, _FirstSnapshotSet@GOTPAGE
Lloh58:
	ldr	x8, [x8, _FirstSnapshotSet@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w22, [x23]
Lloh60:
	adrp	x0, l_.str.5@PAGE
Lloh61:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh62:
	adrp	x1, l_.str.3@PAGE
Lloh63:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_19:
	bl	_IsSubTransaction
	cbz	x0, LBB0_22
; %bb.20:
	ldr	w22, [x23]
Lloh64:
	adrp	x0, l_.str.6@PAGE
Lloh65:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh66:
	adrp	x1, l_.str.3@PAGE
Lloh67:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_21:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_22:
	mov	w2, #1
	b	LBB0_24
LBB0_23:
	mov	w2, #0
LBB0_24:
	ldr	x0, [x19, #8]
Lloh68:
	adrp	x8, _NIL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
Lloh71:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh72:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh73:
	ldr	w3, [x8]
Lloh74:
	adrp	x8, _logical_read_xlog_page@GOTPAGE
Lloh75:
	ldr	x8, [x8, _logical_read_xlog_page@GOTPAGEOFF]
Lloh76:
	ldr	w4, [x8]
Lloh77:
	adrp	x8, _WalSndPrepareWrite@GOTPAGE
Lloh78:
	ldr	x8, [x8, _WalSndPrepareWrite@GOTPAGEOFF]
Lloh79:
	ldr	w5, [x8]
Lloh80:
	adrp	x8, _WalSndWriteData@GOTPAGE
Lloh81:
	ldr	x8, [x8, _WalSndWriteData@GOTPAGEOFF]
Lloh82:
	ldr	w6, [x8]
Lloh83:
	adrp	x8, _WalSndUpdateProgress@GOTPAGE
Lloh84:
	ldr	x8, [x8, _WalSndUpdateProgress@GOTPAGEOFF]
Lloh85:
	ldr	w7, [x8]
	bl	_CreateInitDecodingContext
	mov	x23, x0
Lloh86:
	adrp	x8, _last_reply_timestamp@GOTPAGE
Lloh87:
	ldr	x8, [x8, _last_reply_timestamp@GOTPAGEOFF]
Lloh88:
	str	xzr, [x8]
	bl	_DecodingContextFindStartpoint
	ldur	x8, [x29, #-136]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.25:
	ldr	w0, [x23]
	bl	_SnapBuildExportSnapshot
	mov	x22, x0
	b	LBB0_29
LBB0_26:
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.27:
	ldr	w0, [x23]
	bl	_SnapBuildInitialSnapshot
Lloh89:
	adrp	x8, _MyProc@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MyProc@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	bl	_RestoreTransactionSnapshot
LBB0_28:
	mov	x22, #0
LBB0_29:
	mov	x0, x23
	bl	_FreeDecodingContext
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_31
; %bb.30:
	bl	_ReplicationSlotPersist
LBB0_31:
	ldr	x8, [x25]
	ldr	w4, [x8]
Lloh92:
	adrp	x2, l_.str.7@PAGE
Lloh93:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_snprintf
Lloh94:
	adrp	x8, _DestRemoteSimple@GOTPAGE
Lloh95:
	ldr	x8, [x8, _DestRemoteSimple@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
	bl	_CreateDestReceiver
	mov	x23, x0
	sub	x26, x29, #120
	sub	x0, x29, #120
	mov	w1, #0
	mov	w2, #16
	bl	_MemSet
	mov	w0, #4
	bl	_CreateTemplateTupleDesc
	mov	x24, x0
Lloh97:
	adrp	x27, _TEXTOID@GOTPAGE
Lloh98:
	ldr	x27, [x27, _TEXTOID@GOTPAGEOFF]
	ldr	w3, [x27]
Lloh99:
	adrp	x2, l_.str.8@PAGE
Lloh100:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	w21, #1
	mov	w1, #1
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitBuiltinEntry
	ldr	w3, [x27]
Lloh101:
	adrp	x2, l_.str.9@PAGE
Lloh102:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x24
	mov	w1, #2
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitBuiltinEntry
	ldr	w3, [x27]
Lloh103:
	adrp	x2, l_.str.10@PAGE
Lloh104:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x24
	mov	w1, #3
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitBuiltinEntry
	ldr	w3, [x27]
Lloh105:
	adrp	x2, l_.str.11@PAGE
Lloh106:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x24
	mov	w1, #4
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitBuiltinEntry
Lloh107:
	adrp	x2, _TTSOpsVirtual@GOTPAGE
Lloh108:
	ldr	x2, [x2, _TTSOpsVirtual@GOTPAGEOFF]
	mov	x0, x23
	mov	x1, x24
	bl	_begin_tup_output_tupdesc
	mov	x23, x0
	ldr	x8, [x25]
	ldr	w0, [x8, #4]
	bl	_NameStr
	bl	_CStringGetTextDatum
	stur	w0, [x29, #-104]
	mov	x0, x20
	bl	_CStringGetTextDatum
	stur	w0, [x29, #-100]
	cbz	x22, LBB0_33
; %bb.32:
	mov	x0, x22
	bl	_CStringGetTextDatum
	mov	x21, x0
	sub	x26, x29, #104
LBB0_33:
	str	w21, [x26, #8]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_35
; %bb.34:
	bl	_CStringGetTextDatum
	sub	x8, x29, #104
	b	LBB0_36
LBB0_35:
	mov	w0, #1
	sub	x8, x29, #120
LBB0_36:
	str	w0, [x8, #12]
	sub	x1, x29, #104
	sub	x2, x29, #120
	mov	x0, x23
	bl	_do_tup_output
	mov	x0, x23
	bl	_end_tup_output
	bl	_ReplicationSlotRelease
	ldur	x8, [x29, #-88]
Lloh109:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh110:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh111:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.37:
	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_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	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 AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXFNAMELEN,4,2                ; @MAXFNAMELEN
	.comm	_CRS_EXPORT_SNAPSHOT,8,3        ; @CRS_EXPORT_SNAPSHOT
	.comm	_MyReplicationSlot,8,3          ; @MyReplicationSlot
	.comm	_sendTimeLineIsHistoric,4,2     ; @sendTimeLineIsHistoric
	.comm	_ThisTimeLineID,4,2             ; @ThisTimeLineID
	.comm	_sendTimeLine,4,2               ; @sendTimeLine
	.comm	_REPLICATION_KIND_PHYSICAL,8,3  ; @REPLICATION_KIND_PHYSICAL
	.comm	_RS_TEMPORARY,4,2               ; @RS_TEMPORARY
	.comm	_RS_PERSISTENT,4,2              ; @RS_PERSISTENT
	.comm	_RS_EPHEMERAL,4,2               ; @RS_EPHEMERAL
	.comm	_REPLICATION_KIND_LOGICAL,8,3   ; @REPLICATION_KIND_LOGICAL
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s must not be called inside a transaction"

l_.str.1:                               ; @.str.1
	.asciz	"CREATE_REPLICATION_SLOT ... EXPORT_SNAPSHOT"

	.comm	_CRS_USE_SNAPSHOT,8,3           ; @CRS_USE_SNAPSHOT
l_.str.2:                               ; @.str.2
	.asciz	"%s must be called inside a transaction"

l_.str.3:                               ; @.str.3
	.asciz	"CREATE_REPLICATION_SLOT ... USE_SNAPSHOT"

	.comm	_XactIsoLevel,8,3               ; @XactIsoLevel
	.comm	_XACT_REPEATABLE_READ,8,3       ; @XACT_REPEATABLE_READ
l_.str.4:                               ; @.str.4
	.asciz	"%s must be called in REPEATABLE READ isolation mode transaction"

	.comm	_FirstSnapshotSet,8,3           ; @FirstSnapshotSet
l_.str.5:                               ; @.str.5
	.asciz	"%s must be called before any query"

l_.str.6:                               ; @.str.6
	.asciz	"%s must not be called in a subtransaction"

	.comm	_NIL,4,2                        ; @NIL
	.comm	_InvalidXLogRecPtr,4,2          ; @InvalidXLogRecPtr
	.comm	_logical_read_xlog_page,4,2     ; @logical_read_xlog_page
	.comm	_WalSndPrepareWrite,4,2         ; @WalSndPrepareWrite
	.comm	_WalSndWriteData,4,2            ; @WalSndWriteData
	.comm	_WalSndUpdateProgress,4,2       ; @WalSndUpdateProgress
	.comm	_last_reply_timestamp,8,3       ; @last_reply_timestamp
	.comm	_MyProc,4,2                     ; @MyProc
l_.str.7:                               ; @.str.7
	.asciz	"%X/%X"

	.comm	_DestRemoteSimple,4,2           ; @DestRemoteSimple
l_.str.8:                               ; @.str.8
	.asciz	"slot_name"

	.comm	_TEXTOID,4,2                    ; @TEXTOID
l_.str.9:                               ; @.str.9
	.asciz	"consistent_point"

l_.str.10:                              ; @.str.10
	.asciz	"snapshot_name"

l_.str.11:                              ; @.str.11
	.asciz	"output_plugin"

	.comm	_TTSOpsVirtual,4,2              ; @TTSOpsVirtual
	.no_dead_strip	_CreateReplicationSlot
.subsections_via_symbols
