	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_mkdir                      ## -- Begin function cmd_mkdir
	.p2align	4, 0x90
_cmd_mkdir:                             ## @cmd_mkdir
	.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	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$2, %edx
	callq	__tcsncmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edi
	movl	%ecx, %edx
	callq	_split
	movq	%rax, %r15
	cmpq	$0, -48(%rbp)
	je	LBB0_3
## %bb.4:
	movq	_nErrorLevel@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	jle	LBB0_12
## %bb.5:
	movq	_ERROR_PATH_NOT_FOUND@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ErrorMessage
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	$1, (%r12)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	cmpq	-48(%rbp), %r14
	jge	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%r14,4), %edi
	callq	_MakeFullPath
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_GetLastError
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_STRING_MD_ERROR2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ConErrResPuts
	jmp	LBB0_10
LBB0_12:
	movq	%r15, %rdi
	callq	_freep
	movq	(%r12), %rax
	jmp	LBB0_13
LBB0_1:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STRING_MKDIR_HELP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ConOutResPaging
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_3:
	movq	_STRING_ERROR_REQ_PARAM_MISSING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ConErrResPuts
	movq	%r15, %rdi
	callq	_freep
	movq	_nErrorLevel@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	movl	$1, %eax
LBB0_13:
	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	"/?"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_STRING_MKDIR_HELP,4,2          ## @STRING_MKDIR_HELP
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_STRING_ERROR_REQ_PARAM_MISSING,4,2 ## @STRING_ERROR_REQ_PARAM_MISSING
	.comm	_nErrorLevel,8,3                ## @nErrorLevel
	.comm	_ERROR_PATH_NOT_FOUND,8,3       ## @ERROR_PATH_NOT_FOUND
	.comm	_STRING_MD_ERROR2,4,2           ## @STRING_MD_ERROR2
L_.str.1:                               ## @.str.1
	.asciz	"MD"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_mkdir                      ; -- Begin function cmd_mkdir
	.p2align	2
_cmd_mkdir:                             ; @cmd_mkdir
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x19
	mov	w2, #2
	bl	__tcsncmp
	cbz	w0, LBB0_11
; %bb.1:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, x2
	bl	_split
	mov	x19, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_12
; %bb.2:
Lloh5:
	adrp	x22, _nErrorLevel@GOTPAGE
Lloh6:
	ldr	x22, [x22, _nErrorLevel@GOTPAGEOFF]
	str	xzr, [x22]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x23, #0
Lloh7:
	adrp	x24, _ERROR_PATH_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x24, [x24, _ERROR_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh9:
	adrp	x25, _STRING_MD_ERROR2@GOTPAGE
Lloh10:
	ldr	x25, [x25, _STRING_MD_ERROR2@GOTPAGEOFF]
	mov	w26, #1
Lloh11:
	adrp	x20, l_.str.1@PAGE
Lloh12:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_GetLastError
	mov	x21, x0
	mov	x0, x20
	bl	__T
	mov	x1, x0
	mov	x0, x21
	bl	_ErrorMessage
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x26, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	ldr	x8, [sp, #8]
	cmp	x23, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, x23, lsl #2]
	bl	_MakeFullPath
	cbnz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_GetLastError
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25]
	bl	_ConErrResPuts
	b	LBB0_5
LBB0_10:
	mov	x0, x19
	bl	_freep
	ldr	x0, [x22]
	b	LBB0_13
LBB0_11:
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _STRING_MKDIR_HELP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STRING_MKDIR_HELP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_ConOutResPaging
	mov	x0, #0
	b	LBB0_13
LBB0_12:
Lloh19:
	adrp	x8, _STRING_ERROR_REQ_PARAM_MISSING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STRING_ERROR_REQ_PARAM_MISSING@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_ConErrResPuts
	mov	x0, x19
	bl	_freep
Lloh22:
	adrp	x8, _nErrorLevel@GOTPAGE
Lloh23:
	ldr	x8, [x8, _nErrorLevel@GOTPAGEOFF]
	mov	w0, #1
Lloh24:
	str	x0, [x8]
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/?"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_STRING_MKDIR_HELP,4,2          ; @STRING_MKDIR_HELP
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_STRING_ERROR_REQ_PARAM_MISSING,4,2 ; @STRING_ERROR_REQ_PARAM_MISSING
	.comm	_nErrorLevel,8,3                ; @nErrorLevel
	.comm	_ERROR_PATH_NOT_FOUND,8,3       ; @ERROR_PATH_NOT_FOUND
	.comm	_STRING_MD_ERROR2,4,2           ; @STRING_MD_ERROR2
l_.str.1:                               ; @.str.1
	.asciz	"MD"

.subsections_via_symbols
