	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_directory               ## -- Begin function create_directory
	.p2align	4, 0x90
_create_directory:                      ## @create_directory
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpb	$47, (%rbx)
	sete	%dil
	callq	_assert
	incq	%rbx
	movq	%rbx, %rdi
	callq	_checked_strdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_checked_strdup
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	L_.str.1(%rip), %r15
	leaq	-48(%rbp), %r12
	movq	_EEXIST@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movq	%r13, %rdi
	movl	$47, %esi
	movq	%rax, %rdx
	callq	_concat
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_free
	movq	%r13, %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_mkdir
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	callq	_log_warn
	jmp	LBB0_7
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_7:
	addq	$24, %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
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"/"

	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
L_.str.2:                               ## @.str.2
	.asciz	"cannot create %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_directory               ; -- Begin function create_directory
	.p2align	2
_create_directory:                      ; @create_directory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldrb	w8, [x19], #1
	cmp	w8, #47
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_checked_strdup
	mov	x19, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_checked_strdup
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_6
; %bb.1:
	mov	x2, x0
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, _errno@GOTPAGE
Lloh7:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x24, _EEXIST@GOTPAGE
Lloh9:
	ldr	x24, [x24, _EEXIST@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_strsep
	mov	x2, x0
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	mov	x0, x20
	mov	w1, #47
	bl	_concat
	mov	x20, x0
	mov	x0, x22
	bl	_free
	mov	x0, x20
	mov	w1, #493
	bl	_mkdir
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.5:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_log_warn
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_free
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"/"

	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
l_.str.2:                               ; @.str.2
	.asciz	"cannot create %s"

.subsections_via_symbols
