	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_reread_subscription
_maybe_reread_subscription:             ## @maybe_reread_subscription
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MySubscriptionValid@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jne	LBB0_20
## %bb.1:
	xorl	%eax, %eax
	callq	_IsTransactionState
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_StartTransactionCommand
LBB0_3:
	movq	_ApplyContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MyLogicalRepWorker@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_GetSubscription
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	cmpl	$0, 28(%rbx)
	je	LBB0_6
LBB0_7:
	movl	24(%rbx), %edi
	movq	_MySubscription@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	24(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%r14), %rax
	movl	12(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_9:
	movl	12(%rbx), %edi
	movq	(%r14), %rax
	movl	12(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%r14), %rax
	movl	12(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_11:
	movl	20(%rbx), %edi
	callq	_Assert
	movl	20(%rbx), %edi
	movq	(%r14), %rax
	movl	20(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%r14), %rax
	movl	12(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_13:
	movl	16(%rbx), %edi
	movq	(%r14), %rax
	movl	16(%rax), %esi
	callq	_equal
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%r14), %rax
	movl	12(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_15:
	movq	(%rbx), %rax
	movq	(%r14), %rdi
	cmpq	(%rdi), %rax
	je	LBB0_17
## %bb.16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MyLogicalRepWorker@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rsi
	callq	_elog
	movq	(%r14), %rdi
LBB0_17:
	callq	_FreeSubscription
	movq	%rbx, (%r14)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	(%r14), %rax
	movl	8(%rax), %esi
	movq	_PGC_BACKEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PGC_S_OVERRIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rdi
	callq	_SetConfigOption
	testl	%r15d, %r15d
	jne	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_CommitTransactionCommand
LBB0_19:
	movl	$1, (%r13)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MySubscription@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
	cmpl	$0, 28(%rbx)
	jne	LBB0_7
LBB0_6:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MySubscription@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MySubscriptionValid,4,2        ## @MySubscriptionValid
	.comm	_ApplyContext,4,2               ## @ApplyContext
	.comm	_MyLogicalRepWorker,8,3         ## @MyLogicalRepWorker
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"logical replication apply worker for subscription \"%s\" will stop because the subscription was removed"

	.comm	_MySubscription,8,3             ## @MySubscription
L_.str.1:                               ## @.str.1
	.asciz	"logical replication apply worker for subscription \"%s\" will stop because the subscription was disabled"

L_.str.2:                               ## @.str.2
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because the connection information was changed"

L_.str.3:                               ## @.str.3
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because subscription was renamed"

L_.str.4:                               ## @.str.4
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because the replication slot name was changed"

L_.str.5:                               ## @.str.5
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because subscription's publications were changed"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.6:                               ## @.str.6
	.asciz	"subscription %u changed unexpectedly"

L_.str.7:                               ## @.str.7
	.asciz	"synchronous_commit"

	.comm	_PGC_BACKEND,4,2                ## @PGC_BACKEND
	.comm	_PGC_S_OVERRIDE,4,2             ## @PGC_S_OVERRIDE
	.no_dead_strip	_maybe_reread_subscription
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_reread_subscription
_maybe_reread_subscription:             ; @maybe_reread_subscription
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x23, _MySubscriptionValid@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MySubscriptionValid@GOTPAGEOFF]
	ldr	w8, [x23]
	cbnz	w8, LBB0_18
; %bb.1:
	bl	_IsTransactionState
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.2:
	bl	_StartTransactionCommand
LBB0_3:
Lloh2:
	adrp	x8, _ApplyContext@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ApplyContext@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
Lloh5:
	adrp	x25, _MyLogicalRepWorker@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MyLogicalRepWorker@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w0, [x8]
	mov	w1, #1
	bl	_GetSubscription
	mov	x21, x0
Lloh7:
	adrp	x26, _LOG@GOTPAGE
Lloh8:
	ldr	x26, [x26, _LOG@GOTPAGEOFF]
Lloh9:
	adrp	x24, _MySubscription@GOTPAGE
Lloh10:
	ldr	x24, [x24, _MySubscription@GOTPAGEOFF]
	cbz	x0, LBB0_19
; %bb.4:
	ldr	w8, [x21, #28]
	cbz	w8, LBB0_20
LBB0_5:
	ldr	w0, [x21, #24]
	ldr	x8, [x24]
	ldr	w1, [x8, #24]
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w22, [x26]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
LBB0_7:
	ldr	w0, [x21, #12]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w22, [x26]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
LBB0_9:
	ldr	w0, [x21, #20]
	bl	_Assert
	ldr	w0, [x21, #20]
	ldr	x8, [x24]
	ldr	w1, [x8, #20]
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w22, [x26]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
LBB0_11:
	ldr	w0, [x21, #16]
	ldr	x8, [x24]
	ldr	w1, [x8, #16]
	bl	_equal
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	w22, [x26]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
LBB0_13:
	ldr	x8, [x21]
	ldr	x0, [x24]
	ldr	x9, [x0]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.14:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	x8, [x25]
	ldr	w2, [x8]
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_elog
	ldr	x0, [x24]
LBB0_15:
	bl	_FreeSubscription
	str	x21, [x24]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldr	x8, [x24]
	ldr	w1, [x8, #8]
Lloh24:
	adrp	x8, _PGC_BACKEND@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PGC_BACKEND@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x8, _PGC_S_OVERRIDE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PGC_S_OVERRIDE@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_SetConfigOption
	cbnz	w19, LBB0_17
; %bb.16:
	bl	_CommitTransactionCommand
LBB0_17:
	mov	w8, #1
	str	w8, [x23]
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	w22, [x26]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
	ldr	w8, [x21, #28]
	cbnz	w8, LBB0_5
LBB0_20:
	ldr	w22, [x26]
	ldr	x8, [x24]
	ldr	w1, [x8, #12]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_MySubscriptionValid,4,2        ; @MySubscriptionValid
	.comm	_ApplyContext,4,2               ; @ApplyContext
	.comm	_MyLogicalRepWorker,8,3         ; @MyLogicalRepWorker
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"logical replication apply worker for subscription \"%s\" will stop because the subscription was removed"

	.comm	_MySubscription,8,3             ; @MySubscription
l_.str.1:                               ; @.str.1
	.asciz	"logical replication apply worker for subscription \"%s\" will stop because the subscription was disabled"

l_.str.2:                               ; @.str.2
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because the connection information was changed"

l_.str.3:                               ; @.str.3
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because subscription was renamed"

l_.str.4:                               ; @.str.4
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because the replication slot name was changed"

l_.str.5:                               ; @.str.5
	.asciz	"logical replication apply worker for subscription \"%s\" will restart because subscription's publications were changed"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.6:                               ; @.str.6
	.asciz	"subscription %u changed unexpectedly"

l_.str.7:                               ; @.str.7
	.asciz	"synchronous_commit"

	.comm	_PGC_BACKEND,4,2                ; @PGC_BACKEND
	.comm	_PGC_S_OVERRIDE,4,2             ; @PGC_S_OVERRIDE
	.no_dead_strip	_maybe_reread_subscription
.subsections_via_symbols
