	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DropReplicationSlot            ## -- Begin function DropReplicationSlot
	.p2align	4, 0x90
_DropReplicationSlot:                   ## @DropReplicationSlot
	.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	%rsi, %r15
	movq	%rdi, %r13
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_Assert
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	_appendPQExpBuffer
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_PQexec
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_COMMAND_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_PQntuples
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_PQnfields
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_PQntuples
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_PQnfields
	leaq	L_.str.2(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_6
LBB0_1:
	movslq	(%r14), %r15
	movq	%r13, %rdi
	callq	_PQerrorMessage
	movslq	%eax, %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_6:
	movq	%r14, %rdi
	callq	_destroyPQExpBuffer
	movq	%rbx, %rdi
	callq	_PQclear
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %r12d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DROP_REPLICATION_SLOT \"%s\""

	.comm	_PGRES_COMMAND_OK,8,3           ## @PGRES_COMMAND_OK
L_.str.1:                               ## @.str.1
	.asciz	"could not send replication command \"%s\": %s"

L_.str.2:                               ## @.str.2
	.asciz	"could not drop replication slot \"%s\": got %d rows and %d fields, expected %d rows and %d fields"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DropReplicationSlot            ; -- Begin function DropReplicationSlot
	.p2align	2
_DropReplicationSlot:                   ; @DropReplicationSlot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x1
	mov	x22, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_Assert
	bl	_createPQExpBuffer
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_appendPQExpBuffer
	ldr	w1, [x19]
	mov	x0, x22
	bl	_PQexec
	mov	x20, x0
	bl	_PQresultStatus
Lloh2:
	adrp	x8, _PGRES_COMMAND_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PGRES_COMMAND_OK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_PQntuples
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_PQnfields
	cbz	x0, LBB0_7
LBB0_3:
	mov	x0, x20
	bl	_PQntuples
	mov	x22, x0
	mov	x0, x20
	bl	_PQnfields
	stp	xzr, xzr, [sp, #8]
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	b	LBB0_5
LBB0_4:
	ldrsw	x21, [x19]
	mov	x0, x22
	bl	_PQerrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
LBB0_5:
	bl	_pg_log_error
	mov	w21, #0
LBB0_6:
	mov	x0, x19
	bl	_destroyPQExpBuffer
	mov	x0, x20
	bl	_PQclear
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_7:
	mov	w21, #1
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DROP_REPLICATION_SLOT \"%s\""

	.comm	_PGRES_COMMAND_OK,8,3           ; @PGRES_COMMAND_OK
l_.str.1:                               ; @.str.1
	.asciz	"could not send replication command \"%s\": %s"

l_.str.2:                               ; @.str.2
	.asciz	"could not drop replication slot \"%s\": got %d rows and %d fields, expected %d rows and %d fields"

.subsections_via_symbols
