	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CommandCounterIncrement        ## -- Begin function CommandCounterIncrement
	.p2align	4, 0x90
_CommandCounterIncrement:               ## @CommandCounterIncrement
	.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	_currentCommandIdUsed@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_IsParallelWorker
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_4:
	movq	_currentCommandId@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	leaq	1(%rax), %rdi
	movq	%rdi, (%rbx)
	movq	_InvalidCommandId@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_6
## %bb.5:
	movq	%rax, (%rbx)
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	(%rbx), %rdi
LBB0_6:
	movl	$0, (%r14)
	callq	_SnapshotSetCommandId
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AtCCI_LocalCache               ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_currentCommandIdUsed,4,2       ## @currentCommandIdUsed
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot start commands during a parallel operation"

	.comm	_currentCommandId,8,3           ## @currentCommandId
	.comm	_InvalidCommandId,8,3           ## @InvalidCommandId
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
L_.str.1:                               ## @.str.1
	.asciz	"cannot have more than 2^32-2 commands in a transaction"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CommandCounterIncrement        ; -- Begin function CommandCounterIncrement
	.p2align	2
_CommandCounterIncrement:               ; @CommandCounterIncrement
	.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, _currentCommandIdUsed@GOTPAGE
Lloh1:
	ldr	x20, [x20, _currentCommandIdUsed@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.1:
	bl	_IsInParallelMode
Lloh2:
	adrp	x19, _ERROR@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ERROR@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_IsParallelWorker
	cbz	x0, LBB0_4
LBB0_3:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_4:
Lloh6:
	adrp	x21, _currentCommandId@GOTPAGE
Lloh7:
	ldr	x21, [x21, _currentCommandId@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, #1
	str	x0, [x21]
Lloh8:
	adrp	x9, _InvalidCommandId@GOTPAGE
Lloh9:
	ldr	x9, [x9, _InvalidCommandId@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_6
; %bb.5:
	str	x8, [x21]
	ldr	w19, [x19]
Lloh11:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_errcode
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldr	x0, [x21]
LBB0_6:
	str	wzr, [x20]
	bl	_SnapshotSetCommandId
	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	_AtCCI_LocalCache
LBB0_7:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_currentCommandIdUsed,4,2       ; @currentCommandIdUsed
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot start commands during a parallel operation"

	.comm	_currentCommandId,8,3           ; @currentCommandId
	.comm	_InvalidCommandId,8,3           ; @InvalidCommandId
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
l_.str.1:                               ; @.str.1
	.asciz	"cannot have more than 2^32-2 commands in a transaction"

.subsections_via_symbols
