	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_logical_replication_slot
_create_logical_replication_slot:       ## @create_logical_replication_slot
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_MyReplicationSlot@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_Assert
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_RS_EPHEMERAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_RS_TEMPORARY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_ReplicationSlotCreate
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_logical_read_local_xlog_page@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	xorl	%r9d, %r9d
	callq	_CreateInitDecodingContext
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_DecodingContextFindStartpoint
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FreeDecodingContext            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MyReplicationSlot,4,2          ## @MyReplicationSlot
	.comm	_RS_TEMPORARY,4,2               ## @RS_TEMPORARY
	.comm	_RS_EPHEMERAL,4,2               ## @RS_EPHEMERAL
	.comm	_NIL,4,2                        ## @NIL
	.comm	_logical_read_local_xlog_page,4,2 ## @logical_read_local_xlog_page
	.no_dead_strip	_create_logical_replication_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_logical_replication_slot
_create_logical_replication_slot:       ; @create_logical_replication_slot
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MyReplicationSlot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyReplicationSlot@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _RS_TEMPORARY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RS_TEMPORARY@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RS_EPHEMERAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RS_EPHEMERAL@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #1
	bl	_ReplicationSlotCreate
Lloh7:
	adrp	x8, _NIL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _logical_read_local_xlog_page@GOTPAGE
Lloh11:
	ldr	x8, [x8, _logical_read_local_xlog_page@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_CreateInitDecodingContext
	mov	x19, x0
	bl	_DecodingContextFindStartpoint
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_FreeDecodingContext
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MyReplicationSlot,4,2          ; @MyReplicationSlot
	.comm	_RS_TEMPORARY,4,2               ; @RS_TEMPORARY
	.comm	_RS_EPHEMERAL,4,2               ; @RS_EPHEMERAL
	.comm	_NIL,4,2                        ; @NIL
	.comm	_logical_read_local_xlog_page,4,2 ; @logical_read_local_xlog_page
	.no_dead_strip	_create_logical_replication_slot
.subsections_via_symbols
