	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StartupDecodingContext
_StartupDecodingContext:                ## @StartupDecodingContext
	.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
	movl	%r9d, %r13d
	movl	%r8d, %r12d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_MyReplicationSlot@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$64, %edi
	callq	_palloc0
	movq	%rax, %rbx
	movl	%r14d, 60(%rax)
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.1:
	leaq	56(%rbx), %r14
	movl	(%r15), %edi
	callq	_NameStr
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_LoadOutputPlugin
LBB0_2:
	xorl	%eax, %eax
	callq	_IsTransactionOrTransactionBlock
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ProcArrayLock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_PROC_IN_LOGICAL_DECODING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MyPgXact@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orl	%eax, (%rcx)
	movl	(%r14), %edi
	callq	_LWLockRelease
LBB0_4:
	movl	32(%rbp), %r14d
	movq	%r15, 48(%rbx)
	movq	_wal_segment_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	callq	_XLogReaderAllocate
	movl	%eax, 44(%rbx)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	%r14d, %r15d
	movl	(%rax), %r14d
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%r15d, %r14d
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	xorl	%eax, %eax
	callq	_ReorderBufferAllocate
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_AllocateSnapshotBuilder
	movl	%eax, 40(%rbx)
	movq	32(%rbx), %rax
	movq	%rbx, 24(%rax)
	movq	_begin_cb_wrapper@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_change_cb_wrapper@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_truncate_cb_wrapper@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_commit_cb_wrapper@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_message_cb_wrapper@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	callq	_makeStringInfo
	movl	%eax, 28(%rbx)
	movl	16(%rbp), %eax
	movl	%eax, 24(%rbx)
	movl	24(%rbp), %eax
	movl	%eax, 20(%rbx)
	movl	%r14d, 16(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movl	%r12d, (%rbx)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyReplicationSlot,8,3          ## @MyReplicationSlot
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Logical decoding context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_PROC_IN_LOGICAL_DECODING,4,2   ## @PROC_IN_LOGICAL_DECODING
	.comm	_MyPgXact,8,3                   ## @MyPgXact
	.comm	_wal_segment_size,4,2           ## @wal_segment_size
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

	.comm	_begin_cb_wrapper,4,2           ## @begin_cb_wrapper
	.comm	_change_cb_wrapper,4,2          ## @change_cb_wrapper
	.comm	_truncate_cb_wrapper,4,2        ## @truncate_cb_wrapper
	.comm	_commit_cb_wrapper,4,2          ## @commit_cb_wrapper
	.comm	_message_cb_wrapper,4,2         ## @message_cb_wrapper
	.no_dead_strip	_StartupDecodingContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StartupDecodingContext
_StartupDecodingContext:                ; @StartupDecodingContext
	.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
	stp	w6, w7, [sp, #8]                ; 8-byte Folded Spill
	mov	x28, x5
	mov	x19, x4
	mov	x25, x3
	mov	x27, x2
	mov	x26, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _MyReplicationSlot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyReplicationSlot@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	mov	x20, x0
	bl	_MemoryContextSwitchTo
	mov	x23, x0
	mov	w0, #64
	bl	_palloc0
	mov	x24, x0
	str	w20, [x0, #60]
	cbz	w19, LBB0_5
; %bb.1:
	bl	_IsTransactionOrTransactionBlock
	cbz	w0, LBB0_6
LBB0_2:
	ldr	w21, [x29, #16]
	str	x22, [x24, #48]
Lloh11:
	adrp	x8, _wal_segment_size@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wal_segment_size@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, x28
	mov	x3, x24
	bl	_XLogReaderAllocate
	str	w0, [x24, #44]
	cbnz	w0, LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_4:
	bl	_ReorderBufferAllocate
	str	x0, [x24, #32]
	mov	x1, x27
	mov	x2, x26
	mov	x3, x25
	bl	_AllocateSnapshotBuilder
	str	w0, [x24, #40]
	ldr	x8, [x24, #32]
	str	x24, [x8, #24]
Lloh22:
	adrp	x9, _begin_cb_wrapper@GOTPAGE
Lloh23:
	ldr	x9, [x9, _begin_cb_wrapper@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	str	w9, [x8, #16]
Lloh25:
	adrp	x9, _change_cb_wrapper@GOTPAGE
Lloh26:
	ldr	x9, [x9, _change_cb_wrapper@GOTPAGEOFF]
Lloh27:
	adrp	x10, _truncate_cb_wrapper@GOTPAGE
Lloh28:
	ldr	x10, [x10, _truncate_cb_wrapper@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
Lloh31:
	adrp	x9, _commit_cb_wrapper@GOTPAGE
Lloh32:
	ldr	x9, [x9, _commit_cb_wrapper@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _message_cb_wrapper@GOTPAGE
Lloh35:
	ldr	x10, [x10, _message_cb_wrapper@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	bl	_makeStringInfo
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	stp	w8, w0, [x24, #24]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	stp	w21, w8, [x24, #16]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x8, [x24, #8]
	str	w19, [x24]
	mov	x0, x23
	bl	_MemoryContextSwitchTo
	mov	x0, 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
LBB0_5:
	add	x20, x24, #56
	ldr	w0, [x22]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x20
	bl	_LoadOutputPlugin
	bl	_IsTransactionOrTransactionBlock
	cbnz	w0, LBB0_2
LBB0_6:
Lloh37:
	adrp	x20, _ProcArrayLock@GOTPAGE
Lloh38:
	ldr	x20, [x20, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh39:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh42:
	adrp	x8, _PROC_IN_LOGICAL_DECODING@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PROC_IN_LOGICAL_DECODING@GOTPAGEOFF]
Lloh44:
	adrp	x9, _MyPgXact@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MyPgXact@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	ldr	x9, [x9]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	w0, [x20]
	bl	_LWLockRelease
	b	LBB0_2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_MyReplicationSlot,8,3          ; @MyReplicationSlot
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Logical decoding context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_PROC_IN_LOGICAL_DECODING,4,2   ; @PROC_IN_LOGICAL_DECODING
	.comm	_MyPgXact,8,3                   ; @MyPgXact
	.comm	_wal_segment_size,4,2           ; @wal_segment_size
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

	.comm	_begin_cb_wrapper,4,2           ; @begin_cb_wrapper
	.comm	_change_cb_wrapper,4,2          ; @change_cb_wrapper
	.comm	_truncate_cb_wrapper,4,2        ; @truncate_cb_wrapper
	.comm	_commit_cb_wrapper,4,2          ; @commit_cb_wrapper
	.comm	_message_cb_wrapper,4,2         ; @message_cb_wrapper
	.no_dead_strip	_StartupDecodingContext
.subsections_via_symbols
