	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_result_error_code      ## -- Begin function sqlite3_result_error_code
	.p2align	4, 0x90
_sqlite3_result_error_code:             ## @sqlite3_result_error_code
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	cmpl	$1, %esi
	sbbl	%eax, %eax
	orl	%esi, %eax
	movl	%eax, (%rdi)
	movq	8(%rdi), %rbx
	movq	_MEM_Null@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movl	%esi, %edi
	callq	_sqlite3ErrStr
	movq	_SQLITE_UTF8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SQLITE_STATIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sqlite3VdbeMemSetStr           ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_Null,4,2                   ## @MEM_Null
	.comm	_SQLITE_UTF8,4,2                ## @SQLITE_UTF8
	.comm	_SQLITE_STATIC,4,2              ## @SQLITE_STATIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_result_error_code      ; -- Begin function sqlite3_result_error_code
	.p2align	2
_sqlite3_result_error_code:             ; @sqlite3_result_error_code
	.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
	cmp	w1, #0
	csinv	w8, w1, wzr, ne
	str	w8, [x0]
	ldr	x19, [x0, #8]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MEM_Null@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEM_Null@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x1
	bl	_sqlite3ErrStr
	mov	x1, x0
Lloh3:
	adrp	x8, _SQLITE_UTF8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _SQLITE_STATIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_STATIC@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w2, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sqlite3VdbeMemSetStr
LBB0_2:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_Null,4,2                   ; @MEM_Null
	.comm	_SQLITE_UTF8,4,2                ; @SQLITE_UTF8
	.comm	_SQLITE_STATIC,4,2              ; @SQLITE_STATIC
.subsections_via_symbols
