	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build
_build:                                 ## @build
	.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, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	xorl	%r13d, %r13d
	cmpb	$47, (%rdi)
	sete	%r13b
	addq	%rdi, %r13
	xorl	%r14d, %r14d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %ecx
	cmpb	$47, %cl
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_27
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%r13)
	movl	$1, %r12d
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%r13)
	xorl	%r12d, %r12d
	cmpb	$0, 1(%r13)
	setne	%r15b
	sete	%r12b
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	callq	_umask
	movl	%eax, %r14d
	movq	_S_IXUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_S_IWUSR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	notl	%edi
	andl	%r14d, %edi
	callq	_umask
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	%r15b, %r15b
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_S_IRWXG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_S_IRWXU@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_S_IRWXO@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_umask
	movl	-52(%rbp), %esi                 ## 4-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_mkdir
	testq	%rax, %rax
	js	LBB0_11
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	%r15b, %r15b
	jne	LBB0_26
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_EISDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	%r15b, %r15b
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	$2, %ecx
	cmovel	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testb	%r15b, %r15b
	je	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	$47, (%r13)
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_25:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_20
LBB0_15:
	testb	%r15b, %r15b
	je	LBB0_17
## %bb.16:
	movq	_ENOTDIR@GOTPCREL(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_17:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_18:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warn
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	jne	LBB0_20
## %bb.19:
	movl	%r14d, %edi
	callq	_umask
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_S_IXUSR,4,2                    ## @S_IXUSR
	.comm	_S_IRWXU,4,2                    ## @S_IRWXU
	.comm	_S_IRWXG,4,2                    ## @S_IRWXG
	.comm	_S_IRWXO,4,2                    ## @S_IRWXO
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
	.comm	_EISDIR,8,3                     ## @EISDIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_ENOTDIR,8,3                    ## @ENOTDIR
	.comm	_vflag,8,3                      ## @vflag
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build
_build:                                 ; @build
	.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	x21, x1
	mov	x19, x0
	mov	w20, #0
	mov	x8, x0
	ldrb	w9, [x8], #1
	cmp	w9, #47
	csel	x24, x0, x8, ne
	mov	w22, #1
	mov	w23, #47
Lloh0:
	adrp	x26, _S_IWUSR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _S_IWUSR@GOTPAGEOFF]
Lloh2:
	adrp	x28, _S_IXUSR@GOTPAGE
Lloh3:
	ldr	x28, [x28, _S_IXUSR@GOTPAGEOFF]
	mov	w8, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x24]
	cmp	w9, #47
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w9, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #0
	strb	wzr, [x24]
	mov	w27, #1
	cbnz	w8, LBB0_6
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	strb	wzr, [x24]
	ldrb	w9, [x24, #1]
	cmp	w9, #0
	cset	w25, ne
	cset	w27, eq
	cbz	w8, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	bl	_umask
	mov	x20, x0
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w8, w9, w8
	bic	w0, w0, w8
	bl	_umask
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	tbz	w25, #0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x8, _S_IRWXU@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_IRWXU@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _S_IRWXG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _S_IRWXG@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _S_IRWXO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _S_IRWXO@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w8, w9
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_umask
	mov	x1, x21
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_mkdir
	tbnz	x0, #63, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh13:
	adrp	x8, _vflag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vflag@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w25, LBB0_18
	b	LBB0_23
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _EEXIST@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _EISDIR@GOTPAGE
Lloh25:
	ldr	x10, [x10, _EISDIR@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	tbnz	x0, #63, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbz	w0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w25, #0
	mov	w8, #2
	csel	w22, w22, w8, ne
	cbz	w25, LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	strb	w23, [x24]
	b	LBB0_1
LBB0_19:
Lloh27:
	adrp	x8, _ENOTDIR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOTDIR@GOTPAGEOFF]
	cmp	w25, #0
Lloh29:
	adrp	x9, _EEXIST@GOTPAGE
Lloh30:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	ldr	x8, [x8]
Lloh31:
	adrp	x9, _errno@GOTPAGE
Lloh32:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh33:
	str	x8, [x9]
LBB0_20:
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warn
	cbnz	w27, LBB0_22
; %bb.21:
	mov	x0, x20
	bl	_umask
LBB0_22:
	mov	w22, #0
LBB0_23:
	mov	x0, x22
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_S_IXUSR,4,2                    ; @S_IXUSR
	.comm	_S_IRWXU,4,2                    ; @S_IRWXU
	.comm	_S_IRWXG,4,2                    ; @S_IRWXG
	.comm	_S_IRWXO,4,2                    ; @S_IRWXO
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
	.comm	_EISDIR,8,3                     ; @EISDIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_ENOTDIR,8,3                    ; @ENOTDIR
	.comm	_vflag,8,3                      ; @vflag
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_build
.subsections_via_symbols
