	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makeDirectory
_makeDirectory:                         ## @makeDirectory
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_sqlite3_mprintf
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movslq	%eax, %rbx
	leal	1(%rbx), %r12d
	movl	$1, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$47, -1(%r13,%r15)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movslq	%r15d, %rcx
	movl	%r12d, %eax
	subl	%ecx, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rcx), %r15
	decl	%eax
	cmpb	$47, (%r13,%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%rbx, %rcx
	movq	%r15, %rcx
	jl	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, -1(%r13,%r15)
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_fileStat
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_mkdir
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movq	%r13, %rdi
	callq	_sqlite3_free
	jmp	LBB0_13
LBB0_1:
	movq	_SQLITE_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_NOMEM,4,2               ## @SQLITE_NOMEM
	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.no_dead_strip	_makeDirectory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makeDirectory
_makeDirectory:                         ; @makeDirectory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sqlite3_mprintf
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	bl	_strlen
Lloh2:
	adrp	x21, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SQLITE_OK@GOTPAGEOFF]
	ldr	w20, [x21]
	sxtw	x22, w0
	add	w23, w0, #1
	mov	w26, #1
Lloh4:
	adrp	x24, _SQLITE_ERROR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SQLITE_ERROR@GOTPAGEOFF]
	mov	w25, #47
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #511
	bl	_mkdir
	ldr	w8, [x24]
	cmp	x0, #0
	csel	w20, w20, w8, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sturb	w25, [x27, #-1]
	ldr	w8, [x21]
	cmp	w20, w8
	b.ne	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sxtw	x26, w26
	sub	w8, w23, w26
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x19, x26]
	cmp	w9, #47
	ccmp	x26, x22, #0, ne
	add	x26, x26, #1
	sub	w8, w8, #1
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x19, x26
	sturb	wzr, [x27, #-1]
	add	x1, sp, #8
	mov	x0, x19
	bl	_fileStat
	cbnz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	ldr	w8, [x24]
	cmp	w0, #0
	csel	w20, w8, w20, eq
	b	LBB0_3
LBB0_9:
	mov	x0, x19
	bl	_sqlite3_free
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x8, _SQLITE_NOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM,4,2               ; @SQLITE_NOMEM
	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.no_dead_strip	_makeDirectory
.subsections_via_symbols
