	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RollbackAndReleaseCurrentSubTransaction ## -- Begin function RollbackAndReleaseCurrentSubTransaction
	.p2align	4, 0x90
_RollbackAndReleaseCurrentSubTransaction: ## @RollbackAndReleaseCurrentSubTransaction
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CurrentTransactionState@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$19, %eax
	ja	LBB0_3
## %bb.1:
	movl	$1048315, %ecx                  ## imm = 0xFFEFB
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.2:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BlockStateAsString
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_elog
	movl	(%rbx), %edi
LBB0_3:
	cmpl	$130, %edi
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_AbortSubTransaction
LBB0_5:
	xorl	%eax, %eax
	callq	_CleanupSubTransaction
	movq	(%r14), %rax
	movl	(%rax), %eax
	leal	-130(%rax), %ecx
	cmpl	$11, %ecx
	ja	LBB0_7
## %bb.6:
	movl	$1, %edi
	movl	$3073, %edx                     ## imm = 0xC01
	btl	%ecx, %edx
	jb	LBB0_8
LBB0_7:
	xorl	%edi, %edi
	cmpl	$137, %eax
	sete	%dil
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AssertState                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentTransactionState,8,3    ## @CurrentTransactionState
	.comm	_FATAL,4,2                      ## @FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RollbackAndReleaseCurrentSubTransaction: unexpected state %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RollbackAndReleaseCurrentSubTransaction ; -- Begin function RollbackAndReleaseCurrentSubTransaction
	.p2align	2
_RollbackAndReleaseCurrentSubTransaction: ; @RollbackAndReleaseCurrentSubTransaction
	.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
Lloh0:
	adrp	x20, _CurrentTransactionState@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CurrentTransactionState@GOTPAGEOFF]
	ldr	x21, [x20]
	ldr	w0, [x21]
	sub	w8, w0, #128
	cmp	w8, #19
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #65275
	movk	w9, #15, lsl #16
	and	w8, w8, w9
	ccmp	w8, #0, #4, ls
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	bl	_BlockStateAsString
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_elog
	ldr	w0, [x21]
LBB0_2:
	cmp	w0, #130
	b.ne	LBB0_4
; %bb.3:
	bl	_AbortSubTransaction
LBB0_4:
	bl	_CleanupSubTransaction
	ldr	x8, [x20]
	ldr	w8, [x8]
	mov	w0, #1
	sub	w9, w8, #130
	cmp	w9, #11
	lsl	w9, w0, w9
	mov	w10, #3073
	and	w9, w9, w10
	ccmp	w9, #0, #4, ls
	b.ne	LBB0_6
; %bb.5:
	cmp	w8, #137
	cset	w0, eq
LBB0_6:
	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	_AssertState
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentTransactionState,8,3    ; @CurrentTransactionState
	.comm	_FATAL,4,2                      ; @FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RollbackAndReleaseCurrentSubTransaction: unexpected state %s"

.subsections_via_symbols
