	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReleaseSavepoint               ## -- Begin function ReleaseSavepoint
	.p2align	4, 0x90
_ReleaseSavepoint:                      ## @ReleaseSavepoint
	.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	%rdi, %r15
	movq	_CurrentTransactionState@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_TRANSACTION_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	(%r14), %edi
	leal	-128(%rdi), %eax
	cmpl	$19, %eax
	ja	LBB0_10
## %bb.3:
	movl	$1036283, %ecx                  ## imm = 0xFCFFB
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.9:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BlockStateAsString
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_elog
LBB0_10:
	movq	%r14, %rdi
	callq	_PointerIsValid
	movq	%r14, %r12
	testl	%eax, %eax
	je	LBB0_15
## %bb.11:
	movq	%r14, %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%r12), %r12
	movq	%r12, %rdi
	callq	_PointerIsValid
	testl	%eax, %eax
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rdi
	callq	_PointerIsValid
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	24(%r12), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
LBB0_15:
	movq	%r12, %rdi
	callq	_PointerIsValid
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_S_E_INVALID_SPECIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_17:
	movq	8(%r12), %rax
	cmpq	8(%r14), %rax
	je	LBB0_19
## %bb.18:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_S_E_INVALID_SPECIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_19:
	movq	(%r13), %rbx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpl	$130, (%rbx)
	sete	%dil
	callq	_Assert
	movl	$129, (%rbx)
	cmpq	%r12, %rbx
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	16(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_PointerIsValid
	movl	%eax, %edi
	callq	_Assert
	jmp	LBB0_21
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	$12, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$13, %eax
	jne	LBB0_10
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_NO_ACTIVE_SQL_TRANSACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_S_E_INVALID_SPECIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentTransactionState,8,3    ## @CurrentTransactionState
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TRANSACTION_STATE,4,2 ## @ERRCODE_INVALID_TRANSACTION_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot release savepoints during a parallel operation"

	.comm	_ERRCODE_S_E_INVALID_SPECIFICATION,4,2 ## @ERRCODE_S_E_INVALID_SPECIFICATION
L_.str.1:                               ## @.str.1
	.asciz	"savepoint \"%s\" does not exist"

	.comm	_ERRCODE_NO_ACTIVE_SQL_TRANSACTION,4,2 ## @ERRCODE_NO_ACTIVE_SQL_TRANSACTION
L_.str.2:                               ## @.str.2
	.asciz	"%s can only be used in transaction blocks"

L_.str.3:                               ## @.str.3
	.asciz	"RELEASE SAVEPOINT"

	.comm	_FATAL,4,2                      ## @FATAL
L_.str.4:                               ## @.str.4
	.asciz	"ReleaseSavepoint: unexpected state %s"

L_.str.5:                               ## @.str.5
	.asciz	"savepoint \"%s\" does not exist within current savepoint level"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReleaseSavepoint               ; -- Begin function ReleaseSavepoint
	.p2align	2
_ReleaseSavepoint:                      ; @ReleaseSavepoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _CurrentTransactionState@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CurrentTransactionState@GOTPAGEOFF]
	ldr	x20, [x23]
	bl	_IsInParallelMode
Lloh2:
	adrp	x24, _ERROR@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERROR@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w21, [x24]
Lloh4:
	adrp	x8, _ERRCODE_INVALID_TRANSACTION_STATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRCODE_INVALID_TRANSACTION_STATE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_errcode
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldr	w0, [x20]
	sub	w8, w0, #128
	cmp	w8, #19
	b.hi	LBB0_5
; %bb.3:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #53243
	movk	w10, #15, lsl #16
	tst	w9, w10
	b.eq	LBB0_18
; %bb.4:
Lloh9:
	adrp	x8, _FATAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	bl	_BlockStateAsString
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_elog
LBB0_5:
	mov	x0, x20
	bl	_PointerIsValid
	mov	x21, x20
	cbz	w0, LBB0_10
; %bb.6:
	mov	x21, x20
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [x21, #16]
	mov	x0, x21
	bl	_PointerIsValid
	cbz	w0, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, #24]
	bl	_PointerIsValid
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21, #24]
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_7
LBB0_10:
	mov	x0, x21
	bl	_PointerIsValid
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	w22, [x24]
Lloh14:
	adrp	x8, _ERRCODE_S_E_INVALID_SPECIFICATION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERRCODE_S_E_INVALID_SPECIFICATION@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_errcode
	str	x19, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_12:
	ldr	x8, [x21, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
	ldr	w20, [x24]
Lloh19:
	adrp	x8, _ERRCODE_S_E_INVALID_SPECIFICATION@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERRCODE_S_E_INVALID_SPECIFICATION@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_errcode
	str	x19, [sp]
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_14:
	ldr	x19, [x23]
	ldr	w8, [x19]
	cmp	w8, #130
	cset	w0, eq
	bl	_Assert
	mov	w20, #129
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	w20, [x19]
	cmp	x19, x21
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x19, [x19, #16]
	mov	x0, x19
	bl	_PointerIsValid
	bl	_Assert
	ldr	w8, [x19]
	cmp	w8, #130
	cset	w0, eq
	bl	_Assert
	b	LBB0_15
LBB0_17:
	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
	add	sp, sp, #80
	ret
LBB0_18:
	cmp	w8, #12
	b.eq	LBB0_21
; %bb.19:
	cmp	w8, #13
	b.ne	LBB0_5
; %bb.20:
	ldr	w21, [x24]
Lloh24:
	adrp	x8, _ERRCODE_NO_ACTIVE_SQL_TRANSACTION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERRCODE_NO_ACTIVE_SQL_TRANSACTION@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_errcode
Lloh27:
	adrp	x8, l_.str.3@PAGE
Lloh28:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_22
LBB0_21:
	ldr	w21, [x24]
Lloh31:
	adrp	x8, _ERRCODE_S_E_INVALID_SPECIFICATION@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERRCODE_S_E_INVALID_SPECIFICATION@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_errcode
	str	x19, [sp]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_22:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentTransactionState,8,3    ; @CurrentTransactionState
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TRANSACTION_STATE,4,2 ; @ERRCODE_INVALID_TRANSACTION_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot release savepoints during a parallel operation"

	.comm	_ERRCODE_S_E_INVALID_SPECIFICATION,4,2 ; @ERRCODE_S_E_INVALID_SPECIFICATION
l_.str.1:                               ; @.str.1
	.asciz	"savepoint \"%s\" does not exist"

	.comm	_ERRCODE_NO_ACTIVE_SQL_TRANSACTION,4,2 ; @ERRCODE_NO_ACTIVE_SQL_TRANSACTION
l_.str.2:                               ; @.str.2
	.asciz	"%s can only be used in transaction blocks"

l_.str.3:                               ; @.str.3
	.asciz	"RELEASE SAVEPOINT"

	.comm	_FATAL,4,2                      ; @FATAL
l_.str.4:                               ; @.str.4
	.asciz	"ReleaseSavepoint: unexpected state %s"

l_.str.5:                               ; @.str.5
	.asciz	"savepoint \"%s\" does not exist within current savepoint level"

.subsections_via_symbols
