	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_error_rollback_hook
_on_error_rollback_hook:                ## @on_error_rollback_hook
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_Assert
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ParseVariableBool
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpl	$0, -20(%rbp)
	jne	LBB0_4
## %bb.5:
	movq	_PSQL_ERROR_ROLLBACK_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_PSQL_ERROR_ROLLBACK_INTERACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rsi
	callq	_PsqlVarEnumError
	jmp	LBB0_8
LBB0_4:
	movq	_PSQL_ERROR_ROLLBACK_ON@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	_pset@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interactive"

	.comm	_PSQL_ERROR_ROLLBACK_INTERACTIVE,4,2 ## @PSQL_ERROR_ROLLBACK_INTERACTIVE
	.comm	_pset,4,2                       ## @pset
	.comm	_PSQL_ERROR_ROLLBACK_ON,4,2     ## @PSQL_ERROR_ROLLBACK_ON
	.comm	_PSQL_ERROR_ROLLBACK_OFF,4,2    ## @PSQL_ERROR_ROLLBACK_OFF
L_.str.1:                               ## @.str.1
	.asciz	"ON_ERROR_ROLLBACK"

L_.str.2:                               ## @.str.2
	.asciz	"on, off, interactive"

	.no_dead_strip	_on_error_rollback_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_error_rollback_hook
_on_error_rollback_hook:                ; @on_error_rollback_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pg_strcasecmp
	cbz	x0, LBB0_3
; %bb.1:
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, #0
	bl	_ParseVariableBool
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _PSQL_ERROR_ROLLBACK_ON@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PSQL_ERROR_ROLLBACK_ON@GOTPAGEOFF]
Lloh4:
	adrp	x10, _PSQL_ERROR_ROLLBACK_OFF@GOTPAGE
Lloh5:
	ldr	x10, [x10, _PSQL_ERROR_ROLLBACK_OFF@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _PSQL_ERROR_ROLLBACK_INTERACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSQL_ERROR_ROLLBACK_INTERACTIVE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _pset@GOTPAGE
Lloh9:
	ldr	x9, [x9, _pset@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	mov	w0, #1
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_PsqlVarEnumError
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interactive"

	.comm	_PSQL_ERROR_ROLLBACK_INTERACTIVE,4,2 ; @PSQL_ERROR_ROLLBACK_INTERACTIVE
	.comm	_pset,4,2                       ; @pset
	.comm	_PSQL_ERROR_ROLLBACK_ON,4,2     ; @PSQL_ERROR_ROLLBACK_ON
	.comm	_PSQL_ERROR_ROLLBACK_OFF,4,2    ; @PSQL_ERROR_ROLLBACK_OFF
l_.str.1:                               ; @.str.1
	.asciz	"ON_ERROR_ROLLBACK"

l_.str.2:                               ; @.str.2
	.asciz	"on, off, interactive"

	.no_dead_strip	_on_error_rollback_hook
.subsections_via_symbols
