	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkXactStatus
_checkXactStatus:                       ## @checkXactStatus
	.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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	_PQTRANS_INTRANS@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	_PQTRANS_IDLE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	%r15, %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	_PQTRANS_INERROR@GOTPCREL(%rip), %r12
	jmp	LBB0_7
LBB0_1:
	movq	%r15, %r12
LBB0_7:
	movq	(%r12), %rax
	movq	%rax, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BEGIN"

	.comm	_PQTRANS_INTRANS,8,3            ## @PQTRANS_INTRANS
L_.str.1:                               ## @.str.1
	.asciz	"COMMIT"

	.comm	_PQTRANS_IDLE,8,3               ## @PQTRANS_IDLE
L_.str.2:                               ## @.str.2
	.asciz	"ROLLBACK"

L_.str.3:                               ## @.str.3
	.asciz	"START TRANSACTION"

L_.str.4:                               ## @.str.4
	.asciz	"*ABORT STATE*"

	.comm	_PQTRANS_INERROR,8,3            ## @PQTRANS_INERROR
	.no_dead_strip	_checkXactStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkXactStatus
_checkXactStatus:                       ; @checkXactStatus
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.5:
Lloh10:
	adrp	x8, _PQTRANS_INERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PQTRANS_INERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh12:
	adrp	x8, _PQTRANS_INTRANS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PQTRANS_INTRANS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _PQTRANS_IDLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PQTRANS_IDLE@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BEGIN"

	.comm	_PQTRANS_INTRANS,8,3            ; @PQTRANS_INTRANS
l_.str.1:                               ; @.str.1
	.asciz	"COMMIT"

	.comm	_PQTRANS_IDLE,8,3               ; @PQTRANS_IDLE
l_.str.2:                               ; @.str.2
	.asciz	"ROLLBACK"

l_.str.3:                               ; @.str.3
	.asciz	"START TRANSACTION"

l_.str.4:                               ; @.str.4
	.asciz	"*ABORT STATE*"

	.comm	_PQTRANS_INERROR,8,3            ; @PQTRANS_INERROR
	.no_dead_strip	_checkXactStatus
.subsections_via_symbols
