	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mkdirs                         ## -- Begin function mkdirs
	.p2align	4, 0x90
_mkdirs:                                ## @mkdirs
	.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
	movl	%esi, %r15d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_xstrdup
	movq	%rax, %r12
	leaq	1(%rax), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_dlog
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$47, (%rbx)
	incq	%rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%rbx)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mkdir
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mkdir
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_dlog
	jmp	LBB0_10
LBB0_8:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_10:
	movq	%r12, %rdi
	callq	_XFREE
	leaq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	-48(%rbp), %ecx
	movq	_S_IFDIR@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_13
LBB0_12:
	movl	%r14d, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mkdir(%s)"

	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mkdirs                         ; -- Begin function mkdirs
	.p2align	2
_mkdirs:                                ; @mkdirs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x1
	mov	x19, x0
	bl	_xstrdup
	mov	x21, x0
	add	x0, x0, #1
	mov	w26, #47
	mov	w1, #47
	bl	_strchr
Lloh0:
	adrp	x25, _errno@GOTPAGE
Lloh1:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, x0
	mov	w20, #0
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x21
	bl	_dlog
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w26, [x23], #1
	mov	x0, x23
	mov	w1, #47
	bl	_strchr
	mov	x23, x0
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x23]
	mov	x0, x21
	mov	x1, x22
	bl	_mkdir
	tbz	x0, #63, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x25]
	b	LBB0_3
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x21
	mov	x1, x22
	bl	_mkdir
	tbnz	x0, #63, LBB0_9
; %bb.8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_dlog
	b	LBB0_10
LBB0_9:
	ldr	w20, [x25]
LBB0_10:
	mov	x0, x21
	bl	_XFREE
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	cbnz	x0, LBB0_13
; %bb.11:
	ldr	w8, [sp, #8]
Lloh6:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.12:
	mov	w20, #0
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mkdir(%s)"

	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
.subsections_via_symbols
