	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BeginInternalSubTransaction    ## -- Begin function BeginInternalSubTransaction
	.p2align	4, 0x90
_BeginInternalSubTransaction:           ## @BeginInternalSubTransaction
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CurrentTransactionState@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INVALID_TRANSACTION_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$19, %eax
	ja	LBB0_7
## %bb.3:
	movl	$1018363, %ecx                  ## imm = 0xF89FB
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.6:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BlockStateAsString
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_elog
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
	callq	_PushTransaction
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rbx
	movq	_TopTransactionContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_MemoryContextStrdup
	movl	%eax, 4(%rbx)
LBB0_7:
	xorl	%eax, %eax
	callq	_CommitTransactionCommand
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_StartTransactionCommand        ## TAILCALL
	.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 start subtransactions during a parallel operation"

	.comm	_TopTransactionContext,4,2      ## @TopTransactionContext
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"BeginInternalSubTransaction: unexpected state %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BeginInternalSubTransaction    ; -- Begin function BeginInternalSubTransaction
	.p2align	2
_BeginInternalSubTransaction:           ; @BeginInternalSubTransaction
	.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, x0
Lloh0:
	adrp	x21, _CurrentTransactionState@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CurrentTransactionState@GOTPAGEOFF]
	ldr	x22, [x21]
	bl	_IsInParallelMode
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	adrp	x8, _ERRCODE_INVALID_TRANSACTION_STATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRCODE_INVALID_TRANSACTION_STATE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_errcode
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_2:
	ldr	w0, [x22]
	sub	w8, w0, #128
	cmp	w8, #19
	b.hi	LBB0_7
; %bb.3:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #35323
	movk	w9, #15, lsl #16
	tst	w8, w9
	b.eq	LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _FATAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	bl	_BlockStateAsString
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_elog
	b	LBB0_7
LBB0_5:
	bl	_PushTransaction
	cbz	x19, LBB0_7
; %bb.6:
	ldr	x20, [x21]
Lloh15:
	adrp	x8, _TopTransactionContext@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TopTransactionContext@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_MemoryContextStrdup
	str	w0, [x20, #4]
LBB0_7:
	bl	_CommitTransactionCommand
	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	_StartTransactionCommand
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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 start subtransactions during a parallel operation"

	.comm	_TopTransactionContext,4,2      ; @TopTransactionContext
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"BeginInternalSubTransaction: unexpected state %s"

.subsections_via_symbols
