	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdbeSorterOpenTempFile
_vdbeSorterOpenTempFile:                ## @vdbeSorterOpenTempFile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_SQLITE_OPEN_TEMP_JOURNAL@GOTPCREL(%rip), %rax
	movq	_SQLITE_OPEN_READWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SQLITE_OPEN_CREATE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rsi, %rdx
	movq	_SQLITE_OPEN_EXCLUSIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%rdi), %edi
	movq	_SQLITE_OPEN_DELETEONCLOSE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	-4(%rbp), %r8
	xorl	%esi, %esi
	callq	_sqlite3OsOpenMalloc
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OPEN_TEMP_JOURNAL,4,2   ## @SQLITE_OPEN_TEMP_JOURNAL
	.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
	.no_dead_strip	_vdbeSorterOpenTempFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdbeSorterOpenTempFile
_vdbeSorterOpenTempFile:                ; @vdbeSorterOpenTempFile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x2, x1
Lloh0:
	adrp	x8, _SQLITE_OPEN_TEMP_JOURNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OPEN_TEMP_JOURNAL@GOTPAGEOFF]
	ldr	w0, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SQLITE_OPEN_READWRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQLITE_OPEN_READWRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SQLITE_OPEN_CREATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SQLITE_OPEN_CREATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _SQLITE_OPEN_EXCLUSIVE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SQLITE_OPEN_EXCLUSIVE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SQLITE_OPEN_DELETEONCLOSE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SQLITE_OPEN_DELETEONCLOSE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w3, w8, w9
	sub	x4, x29, #4
	mov	w1, #0
	bl	_sqlite3OsOpenMalloc
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	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_TEMP_JOURNAL,4,2   ; @SQLITE_OPEN_TEMP_JOURNAL
	.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
	.no_dead_strip	_vdbeSorterOpenTempFile
.subsections_via_symbols
