	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_XactIsoLevel             ## -- Begin function check_XactIsoLevel
	.p2align	4, 0x90
_check_XactIsoLevel:                    ## @check_XactIsoLevel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %ebx
	movq	_XactIsoLevel@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	callq	_IsTransactionState
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_FirstSnapshotSet@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ERRCODE_ACTIVE_SQL_TRANSACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GUC_check_errcode
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_IsSubTransaction
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	_ERRCODE_ACTIVE_SQL_TRANSACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GUC_check_errcode
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	callq	_GUC_check_errmsg
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_XACT_SERIALIZABLE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.10:
	xorl	%eax, %eax
	callq	_RecoveryInProgress
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GUC_check_errcode
	leaq	L_.str.2(%rip), %rdi
	callq	_GUC_check_errmsg
	leaq	L_.str.3(%rip), %rdi
	callq	_GUC_check_errhint
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_XactIsoLevel,4,2               ## @XactIsoLevel
	.comm	_FirstSnapshotSet,8,3           ## @FirstSnapshotSet
	.comm	_ERRCODE_ACTIVE_SQL_TRANSACTION,4,2 ## @ERRCODE_ACTIVE_SQL_TRANSACTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SET TRANSACTION ISOLATION LEVEL must be called before any query"

L_.str.1:                               ## @.str.1
	.asciz	"SET TRANSACTION ISOLATION LEVEL must not be called in a subtransaction"

	.comm	_XACT_SERIALIZABLE,4,2          ## @XACT_SERIALIZABLE
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.2:                               ## @.str.2
	.asciz	"cannot use serializable mode in a hot standby"

L_.str.3:                               ## @.str.3
	.asciz	"You can use REPEATABLE READ instead."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_XactIsoLevel             ; -- Begin function check_XactIsoLevel
	.p2align	2
_check_XactIsoLevel:                    ; @check_XactIsoLevel
	.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
	ldr	w19, [x0]
Lloh0:
	adrp	x8, _XactIsoLevel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XactIsoLevel@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_11
; %bb.1:
	bl	_IsTransactionState
	cbz	x0, LBB0_11
; %bb.2:
Lloh3:
	adrp	x8, _FirstSnapshotSet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FirstSnapshotSet@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _ERRCODE_ACTIVE_SQL_TRANSACTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_ACTIVE_SQL_TRANSACTION@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_GUC_check_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	bl	_IsSubTransaction
	cbz	x0, LBB0_8
; %bb.5:
Lloh11:
	adrp	x8, _ERRCODE_ACTIVE_SQL_TRANSACTION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERRCODE_ACTIVE_SQL_TRANSACTION@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_GUC_check_errcode
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_GUC_check_errmsg
LBB0_7:
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh16:
	adrp	x8, _XACT_SERIALIZABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _XACT_SERIALIZABLE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_11
; %bb.9:
	bl	_RecoveryInProgress
	cbz	x0, LBB0_11
; %bb.10:
Lloh19:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_GUC_check_errcode
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_GUC_check_errmsg
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_GUC_check_errhint
	b	LBB0_7
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_XactIsoLevel,4,2               ; @XactIsoLevel
	.comm	_FirstSnapshotSet,8,3           ; @FirstSnapshotSet
	.comm	_ERRCODE_ACTIVE_SQL_TRANSACTION,4,2 ; @ERRCODE_ACTIVE_SQL_TRANSACTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SET TRANSACTION ISOLATION LEVEL must be called before any query"

l_.str.1:                               ; @.str.1
	.asciz	"SET TRANSACTION ISOLATION LEVEL must not be called in a subtransaction"

	.comm	_XACT_SERIALIZABLE,4,2          ; @XACT_SERIALIZABLE
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.2:                               ; @.str.2
	.asciz	"cannot use serializable mode in a hot standby"

l_.str.3:                               ; @.str.3
	.asciz	"You can use REPEATABLE READ instead."

.subsections_via_symbols
