	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pagerOpentemp
_pagerOpentemp:                         ## @pagerOpentemp
	.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	%edx, %ecx
	movq	%rsi, %r14
	movq	_SQLITE_OPEN_READWRITE@GOTPCREL(%rip), %rax
	movq	_SQLITE_OPEN_CREATE@GOTPCREL(%rip), %rdx
	movq	_SQLITE_OPEN_EXCLUSIVE@GOTPCREL(%rip), %rsi
	orl	(%rax), %ecx
	orl	(%rdx), %ecx
	orl	(%rsi), %ecx
	movq	_SQLITE_OPEN_DELETEONCLOSE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%rdi), %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_sqlite3OsOpen
	movl	%eax, %ebx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_isOpen
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_2:
	callq	_assert
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OPEN_READWRITE,4,2      ## @SQLITE_OPEN_READWRITE
	.comm	_SQLITE_OPEN_CREATE,4,2         ## @SQLITE_OPEN_CREATE
	.comm	_SQLITE_OPEN_EXCLUSIVE,4,2      ## @SQLITE_OPEN_EXCLUSIVE
	.comm	_SQLITE_OPEN_DELETEONCLOSE,4,2  ## @SQLITE_OPEN_DELETEONCLOSE
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_sqlite3_opentemp_count,4,2     ## @sqlite3_opentemp_count
	.no_dead_strip	_pagerOpentemp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pagerOpentemp
_pagerOpentemp:                         ; @pagerOpentemp
	.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	x19, x1
Lloh0:
	adrp	x8, _SQLITE_OPEN_READWRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OPEN_READWRITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SQLITE_OPEN_CREATE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQLITE_OPEN_CREATE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SQLITE_OPEN_EXCLUSIVE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SQLITE_OPEN_EXCLUSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _SQLITE_OPEN_DELETEONCLOSE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _SQLITE_OPEN_DELETEONCLOSE@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w8, w8, w2
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w3, w8, w11
	ldr	w0, [x0]
	mov	w1, #0
	mov	x2, x19
	mov	w4, #0
	bl	_sqlite3OsOpen
	mov	x20, x0
Lloh12:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_isOpen
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_assert
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OPEN_READWRITE,4,2      ; @SQLITE_OPEN_READWRITE
	.comm	_SQLITE_OPEN_CREATE,4,2         ; @SQLITE_OPEN_CREATE
	.comm	_SQLITE_OPEN_EXCLUSIVE,4,2      ; @SQLITE_OPEN_EXCLUSIVE
	.comm	_SQLITE_OPEN_DELETEONCLOSE,4,2  ; @SQLITE_OPEN_DELETEONCLOSE
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_sqlite3_opentemp_count,4,2     ; @sqlite3_opentemp_count
	.no_dead_strip	_pagerOpentemp
.subsections_via_symbols
