	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StartTransactionCommand        ## -- Begin function StartTransactionCommand
	.p2align	4, 0x90
_StartTransactionCommand:               ## @StartTransactionCommand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_CurrentTransactionState@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$18, %eax
	ja	LBB0_5
## %bb.1:
	movl	$478971, %ecx                   ## imm = 0x74EFB
	btl	%eax, %ecx
	jae	LBB0_2
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BlockStateAsString
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_elog
LBB0_5:
	movq	_CurTransactionContext@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_Assert
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
LBB0_2:
	cmpl	$15, %eax
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_StartTransaction
	movl	$137, (%rbx)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentTransactionState,8,3    ## @CurrentTransactionState
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"StartTransactionCommand: unexpected state %s"

	.comm	_CurTransactionContext,8,3      ## @CurTransactionContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StartTransactionCommand        ; -- Begin function StartTransactionCommand
	.p2align	2
_StartTransactionCommand:               ; @StartTransactionCommand
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _CurrentTransactionState@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentTransactionState@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldr	w0, [x19]
	sub	w8, w0, #128
	cmp	w8, #18
	b.hi	LBB0_3
; %bb.1:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #20219
	movk	w10, #7, lsl #16
	tst	w9, w10
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	bl	_BlockStateAsString
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_elog
LBB0_3:
Lloh8:
	adrp	x19, _CurTransactionContext@GOTPAGE
Lloh9:
	ldr	x19, [x19, _CurTransactionContext@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MemoryContextSwitchTo
LBB0_4:
	cmp	w8, #15
	b.ne	LBB0_3
; %bb.5:
	bl	_StartTransaction
	mov	w8, #137
	str	w8, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentTransactionState,8,3    ; @CurrentTransactionState
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"StartTransactionCommand: unexpected state %s"

	.comm	_CurTransactionContext,8,3      ; @CurTransactionContext
.subsections_via_symbols
