	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkdirs
_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_ecpyalloc
	movq	%rax, %r15
	movq	%rax, %rdi
	decq	%rdi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, 1(%rdi)
	leaq	1(%rdi), %rdi
	je	LBB0_1
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r13b
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$47, (%rbx)
	incq	%rbx
	movq	%rbx, %rdi
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	setne	%r13b
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r13b
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%rbx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MKDIR_UMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mkdir
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_EEXIST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_itsdir
	testl	%eax, %eax
	jne	LBB0_9
## %bb.12:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	_progname@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_strerror
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_error
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_11:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MKDIR_UMASK,4,2                ## @MKDIR_UMASK
	.comm	_errno,4,2                      ## @errno
	.comm	_EEXIST,4,2                     ## @EEXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Cannot create directory %s: %s"

	.comm	_progname,4,2                   ## @progname
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.no_dead_strip	_mkdirs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkdirs
_mkdirs:                                ; @mkdirs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	bl	_ecpyalloc
	mov	x19, x0
	sub	x0, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, #1]!
	cmp	w8, #47
	b.eq	LBB0_1
; %bb.2:
	mov	w23, #47
	mov	w1, #47
	bl	_strchr
	mov	x21, x0
	cmp	x0, #0
	cset	w27, ne
	cbz	w20, LBB0_4
; %bb.3:
	cbz	x21, LBB0_13
LBB0_4:
Lloh0:
	adrp	x24, _MKDIR_UMASK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MKDIR_UMASK@GOTPAGEOFF]
Lloh2:
	adrp	x25, _errno@GOTPAGE
Lloh3:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x26, _EEXIST@GOTPAGE
Lloh5:
	ldr	x26, [x26, _EEXIST@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w27, #0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x21]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_mkdir
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w22, [x25]
	ldr	w8, [x26]
	cmp	w22, w8
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_itsdir
	cbz	w0, LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	tbz	w27, #0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	strb	w23, [x21], #1
	mov	x0, x21
	mov	w1, #47
	bl	_strchr
	mov	x21, x0
	cmp	x0, #0
	cset	w27, ne
	cbz	w20, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x21, LBB0_5
LBB0_13:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_free
LBB0_14:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
Lloh8:
	adrp	x8, _progname@GOTPAGE
Lloh9:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	x0, x22
	bl	_strerror
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_error
Lloh11:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MKDIR_UMASK,4,2                ; @MKDIR_UMASK
	.comm	_errno,4,2                      ; @errno
	.comm	_EEXIST,4,2                     ; @EEXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Cannot create directory %s: %s"

	.comm	_progname,4,2                   ; @progname
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.no_dead_strip	_mkdirs
.subsections_via_symbols
