	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgoutput_startup
_pgoutput_startup:                      ## @pgoutput_startup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$24, %edi
	callq	_palloc0
	movq	%rax, %r15
	movl	16(%rbx), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, 16(%r15)
	movq	%r15, 8(%rbx)
	movq	_OUTPUT_PLUGIN_BINARY_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edi
	movq	%r15, %r14
	addq	$12, %r14
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_parse_output_parameters
	movq	(%r15), %rax
	movq	_LOGICALREP_PROTO_VERSION_NUM@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jle	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r15), %rsi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	(%r15), %rax
LBB0_3:
	movq	_LOGICALREP_PROTO_MIN_VERSION_NUM@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jge	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r15), %rsi
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movl	(%r14), %edi
	callq	_list_length
	testl	%eax, %eax
	jg	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_publications_valid@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_PUBLICATIONOID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_publication_invalidation_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_CacheRegisterSyscacheCallback
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_rel_sync_cache            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"logical replication output context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_OUTPUT_PLUGIN_BINARY_OUTPUT,4,2 ## @OUTPUT_PLUGIN_BINARY_OUTPUT
	.comm	_LOGICALREP_PROTO_VERSION_NUM,8,3 ## @LOGICALREP_PROTO_VERSION_NUM
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.1:                               ## @.str.1
	.asciz	"client sent proto_version=%d but we only support protocol %d or lower"

	.comm	_LOGICALREP_PROTO_MIN_VERSION_NUM,8,3 ## @LOGICALREP_PROTO_MIN_VERSION_NUM
L_.str.2:                               ## @.str.2
	.asciz	"client sent proto_version=%d but we only support protocol %d or higher"

	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
L_.str.3:                               ## @.str.3
	.asciz	"publication_names parameter missing"

	.comm	_NIL,4,2                        ## @NIL
	.comm	_publications_valid,4,2         ## @publications_valid
	.comm	_PUBLICATIONOID,4,2             ## @PUBLICATIONOID
	.comm	_publication_invalidation_cb,4,2 ## @publication_invalidation_cb
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.no_dead_strip	_pgoutput_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgoutput_startup
_pgoutput_startup:                      ; @pgoutput_startup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	w0, #24
	bl	_palloc0
	mov	x19, x0
	ldr	w0, [x20, #16]
Lloh0:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	str	w0, [x19, #16]
	str	x19, [x20, #8]
Lloh5:
	adrp	x8, _OUTPUT_PLUGIN_BINARY_OUTPUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OUTPUT_PLUGIN_BINARY_OUTPUT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22]
	cbz	w21, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	ldr	w0, [x20]
	add	x20, x19, #12
	mov	x1, x19
	mov	x2, x20
	bl	_parse_output_parameters
	ldr	x8, [x19]
Lloh8:
	adrp	x22, _LOGICALREP_PROTO_VERSION_NUM@GOTPAGE
Lloh9:
	ldr	x22, [x22, _LOGICALREP_PROTO_VERSION_NUM@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
Lloh13:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x19]
	ldr	x9, [x22]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	ldr	x8, [x19]
LBB0_4:
Lloh18:
	adrp	x22, _LOGICALREP_PROTO_MIN_VERSION_NUM@GOTPAGE
Lloh19:
	ldr	x22, [x22, _LOGICALREP_PROTO_MIN_VERSION_NUM@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.5:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
Lloh23:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x19]
	ldr	x9, [x22]
	stp	x8, x9, [sp]
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_6:
	ldr	w0, [x20]
	bl	_list_length
	cmp	w0, #0
	b.gt	LBB0_8
; %bb.7:
Lloh28:
	adrp	x8, _ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w20, [x8]
Lloh31:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_errcode
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_8:
Lloh36:
	adrp	x8, _NIL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh39:
	adrp	x8, _publications_valid@GOTPAGE
Lloh40:
	ldr	x8, [x8, _publications_valid@GOTPAGEOFF]
Lloh41:
	str	wzr, [x8]
Lloh42:
	adrp	x8, _PUBLICATIONOID@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PUBLICATIONOID@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x8, _publication_invalidation_cb@GOTPAGE
Lloh46:
	ldr	x8, [x8, _publication_invalidation_cb@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_CacheRegisterSyscacheCallback
Lloh48:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_init_rel_sync_cache
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"logical replication output context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_OUTPUT_PLUGIN_BINARY_OUTPUT,4,2 ; @OUTPUT_PLUGIN_BINARY_OUTPUT
	.comm	_LOGICALREP_PROTO_VERSION_NUM,8,3 ; @LOGICALREP_PROTO_VERSION_NUM
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.1:                               ; @.str.1
	.asciz	"client sent proto_version=%d but we only support protocol %d or lower"

	.comm	_LOGICALREP_PROTO_MIN_VERSION_NUM,8,3 ; @LOGICALREP_PROTO_MIN_VERSION_NUM
l_.str.2:                               ; @.str.2
	.asciz	"client sent proto_version=%d but we only support protocol %d or higher"

	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
l_.str.3:                               ; @.str.3
	.asciz	"publication_names parameter missing"

	.comm	_NIL,4,2                        ; @NIL
	.comm	_publications_valid,4,2         ; @publications_valid
	.comm	_PUBLICATIONOID,4,2             ; @PUBLICATIONOID
	.comm	_publication_invalidation_cb,4,2 ; @publication_invalidation_cb
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.no_dead_strip	_pgoutput_startup
.subsections_via_symbols
