	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgoutput_change
_pgoutput_change:                       ## @pgoutput_change
	.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	%rcx, %r12
	movl	%edx, %ebx
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movl	%edx, %edi
	callq	_is_publishable_relation
	testl	%eax, %eax
	je	LBB0_19
## %bb.1:
	movl	%ebx, %edi
	callq	_RelationGetRelid
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_get_rel_sync_entry
	movq	%rax, %r13
	movl	(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_18
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	cmpl	$0, 8(%r13)
	jne	LBB0_7
	jmp	LBB0_19
LBB0_18:
	cmpl	$0, 4(%r13)
	jne	LBB0_7
	jmp	LBB0_19
LBB0_5:
	cmpl	$0, (%r13)
	jne	LBB0_7
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%edi, %edi
	callq	_Assert
LBB0_7:
	movl	(%r14), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	callq	_maybe_send_schema
	movl	(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.8:
	cmpl	$130, %eax
	je	LBB0_13
## %bb.9:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.10:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_OutputPluginPrepareWrite
	movl	(%r15), %edi
	movq	16(%r12), %rdx
	movl	%ebx, %esi
	callq	_logicalrep_write_insert
	jmp	LBB0_11
LBB0_12:
	movq	8(%r12), %r13
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_OutputPluginPrepareWrite
	movl	(%r15), %edi
	movq	16(%r12), %rcx
	movl	%ebx, %esi
	movq	%r13, %rdx
	callq	_logicalrep_write_update
	jmp	LBB0_11
LBB0_13:
	cmpq	$0, 8(%r12)
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_OutputPluginPrepareWrite
	movl	(%r15), %edi
	movq	8(%r12), %rdx
	movl	%ebx, %esi
	callq	_logicalrep_write_delete
LBB0_11:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_OutputPluginWrite
	jmp	LBB0_17
LBB0_16:
	xorl	%edi, %edi
	callq	_Assert
	jmp	LBB0_17
LBB0_15:
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_17:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextReset             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG1,4,2                     ## @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"didn't send DELETE change because of missing oldtuple"

	.no_dead_strip	_pgoutput_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgoutput_change
_pgoutput_change:                       ; @pgoutput_change
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x2
	bl	_is_publishable_relation
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x21
	bl	_RelationGetRelid
	mov	x1, x0
	mov	x0, x19
	bl	_get_rel_sync_entry
	mov	x24, x0
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x24, #8]
	cbnz	w8, LBB0_9
	b	LBB0_7
LBB0_5:
	ldr	w8, [x24, #4]
	cbnz	w8, LBB0_9
	b	LBB0_7
LBB0_6:
	ldr	w8, [x24]
	cbnz	w8, LBB0_9
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	bl	_Assert
LBB0_9:
	ldr	w0, [x19]
	bl	_MemoryContextSwitchTo
	mov	x23, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	_maybe_send_schema
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.10:
	cmp	w8, #130
	b.eq	LBB0_14
; %bb.11:
	cmp	w8, #129
	b.ne	LBB0_17
; %bb.12:
	mov	x0, x20
	mov	w1, #1
	bl	_OutputPluginPrepareWrite
	ldr	w0, [x20]
	ldr	x2, [x22, #16]
	mov	x1, x21
	bl	_logicalrep_write_insert
	b	LBB0_16
LBB0_13:
	ldr	x24, [x22, #8]
	mov	x0, x20
	mov	w1, #1
	bl	_OutputPluginPrepareWrite
	ldr	w0, [x20]
	ldr	x3, [x22, #16]
	mov	x1, x21
	mov	x2, x24
	bl	_logicalrep_write_update
	b	LBB0_16
LBB0_14:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_18
; %bb.15:
	mov	x0, x20
	mov	w1, #1
	bl	_OutputPluginPrepareWrite
	ldr	w0, [x20]
	ldr	x2, [x22, #8]
	mov	x1, x21
	bl	_logicalrep_write_delete
LBB0_16:
	mov	x0, x20
	mov	w1, #1
	bl	_OutputPluginWrite
	b	LBB0_19
LBB0_17:
	mov	w0, #0
	bl	_Assert
	b	LBB0_19
LBB0_18:
Lloh0:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_19:
	mov	x0, x23
	bl	_MemoryContextSwitchTo
	ldr	w0, [x19]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_MemoryContextReset
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG1,4,2                     ; @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"didn't send DELETE change because of missing oldtuple"

	.no_dead_strip	_pgoutput_change
.subsections_via_symbols
