	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copymkdir                      ## -- Begin function copymkdir
	.p2align	4, 0x90
_copymkdir:                             ## @copymkdir
	.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
	movl	$4152, %eax                     ## imm = 0x1038
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -4160(%rbp)               ## 4-byte Spill
	movl	%r8d, -4156(%rbp)               ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, -4148(%rbp)               ## 4-byte Spill
	movq	%rsi, %r12
	movl	%edi, %r14d
	movl	16(%rbp), %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -4176(%rbp)               ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -4184(%rbp)               ## 8-byte Spill
	xorl	%ebx, %ebx
	cmpb	$47, (%r12)
	sete	%bl
	addq	%r12, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_mkdirat
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_4:
	movq	_AT_SYMLINK_NOFOLLOW@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	-4156(%rbp), %edx               ## 4-byte Reload
	movl	-4160(%rbp), %ecx               ## 4-byte Reload
	callq	_fchownat
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.5:
	movl	(%r12), %ecx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_chflagsat
LBB0_6:
	movl	-4148(%rbp), %r15d              ## 4-byte Reload
	cmpl	$-1, %r15d
	je	LBB0_14
## %bb.7:
	movq	_O_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_openat
	movl	%eax, -4152(%rbp)               ## 4-byte Spill
	movl	%r15d, %edi
	callq	_fdopendir
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %r14
	movq	-4176(%rbp), %rax               ## 8-byte Reload
	decl	%eax
	movq	%rax, -4176(%rbp)               ## 8-byte Spill
	jmp	LBB0_10
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rsi
	movq	_O_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-4148(%rbp), %edi               ## 4-byte Reload
	xorl	%eax, %eax
	callq	_openat
	movq	__DEF_DIRMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-4168(%rbp), %ecx
	movl	-4164(%rbp), %ebx
	subq	$8, %rsp
	movl	-4152(%rbp), %edi               ## 4-byte Reload
	movq	%r15, %rsi
	movl	%eax, %edx
	movl	-4156(%rbp), %r8d               ## 4-byte Reload
	movl	-4160(%rbp), %r9d               ## 4-byte Reload
	pushq	%rbx
	callq	_copymkdir
	addq	$16, %rsp
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_readdir
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rbx
	movl	(%r12), %ecx
	movl	-4148(%rbp), %edi               ## 4-byte Reload
	movq	%rbx, %rsi
	leaq	-4168(%rbp), %rdx
	callq	_fstatat
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leaq	(%rcx,%rcx,2), %r15
	addq	%rbx, %r15
	movl	-4168(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-4168(%rbp), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rsi
	movl	-4148(%rbp), %edi               ## 4-byte Reload
	movq	-4184(%rbp), %rdx               ## 8-byte Reload
	movq	-4176(%rbp), %rcx               ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_readlinkat
	cmpl	$-1, %eax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	cltq
	movq	-4184(%rbp), %rdi               ## 8-byte Reload
	movb	$0, (%rdi,%rax)
	movl	-4152(%rbp), %ebx               ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_symlinkat
	movl	(%r12), %r8d
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	-4156(%rbp), %edx               ## 4-byte Reload
	movl	-4160(%rbp), %ecx               ## 4-byte Reload
	callq	_fchownat
	jmp	LBB0_12
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-4168(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_12
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rsi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-4148(%rbp), %edi               ## 4-byte Reload
	xorl	%eax, %eax
	callq	_openat
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %r14d
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	-4168(%rbp), %ecx
	movl	-4152(%rbp), %edi               ## 4-byte Reload
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_openat
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %r15d
	movl	%r14d, %edi
	leaq	-4144(%rbp), %rbx
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_read
	testl	%eax, %eax
	jle	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_30 Depth=2
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_write
	movl	%r14d, %edi
	jmp	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r14d, %edi
	callq	_close
	movl	%r15d, %edi
	movl	-4156(%rbp), %esi               ## 4-byte Reload
	movl	-4160(%rbp), %edx               ## 4-byte Reload
	callq	_fchown
	movl	-4164(%rbp), %esi
	movl	%r15d, %edi
	callq	_fchflags
	movl	%r15d, %edi
	callq	_close
	jmp	LBB0_12
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r14d, %edi
	callq	_close
	jmp	LBB0_12
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_13:
	movq	%r13, %rdi
	callq	_closedir
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	%r15d, %edi
	callq	_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.17:
	movl	-4152(%rbp), %edi               ## 4-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close                          ## TAILCALL
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mkdir(%s)"

	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ## @AT_SYMLINK_NOFOLLOW
	.comm	_O_DIRECTORY,4,2                ## @O_DIRECTORY
L_.str.1:                               ## @.str.1
	.asciz	"."

L_.str.2:                               ## @.str.2
	.asciz	".."

L_.str.3:                               ## @.str.3
	.asciz	"dot."

	.comm	__DEF_DIRMODE,4,2               ## @_DEF_DIRMODE
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copymkdir                      ; -- Begin function copymkdir
	.p2align	2
_copymkdir:                             ; @copymkdir
	.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	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x19, sp
	mov	x26, x6
	mov	x20, x5
	mov	x22, x4
	mov	x21, x2
	mov	x25, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
	mov	x9, x24
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	mov	x8, x1
	ldrb	w9, [x8], #1
	cmp	w9, #47
	csel	x27, x1, x8, ne
	mov	x1, x27
	mov	x2, x3
	bl	_mkdirat
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _EEXIST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
LBB0_2:
Lloh16:
	adrp	x28, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh17:
	ldr	x28, [x28, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
	ldr	w4, [x28]
	mov	x0, x25
	mov	x1, x27
	mov	x2, x22
	mov	x3, x20
	bl	_fchownat
	cmp	w26, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	w3, [x28]
	mov	x0, x25
	mov	x1, x27
	mov	x2, x26
	bl	_chflagsat
LBB0_4:
	cmn	w21, #1
	b.eq	LBB0_27
; %bb.5:
Lloh18:
	adrp	x8, _O_DIRECTORY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _O_DIRECTORY@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, x27
	bl	_openat
	str	w0, [x19, #4]                   ; 4-byte Folded Spill
	mov	x0, x21
	bl	_fdopendir
	cbz	x0, LBB0_29
; %bb.6:
	mov	x25, x0
	bl	_readdir
	cbz	x0, LBB0_26
; %bb.7:
	mov	x26, x0
	sub	w8, w24, #1
	str	w8, [x19]                       ; 4-byte Folded Spill
Lloh21:
	adrp	x27, l_.str.1@PAGE
Lloh22:
	add	x27, x27, l_.str.1@PAGEOFF
Lloh23:
	adrp	x28, l_.str.2@PAGE
Lloh24:
	add	x28, x28, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x26]
Lloh25:
	adrp	x8, _O_DIRECTORY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _O_DIRECTORY@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_openat
	mov	x2, x0
Lloh28:
	adrp	x8, __DEF_DIRMODE@GOTPAGE
Lloh29:
	ldr	x8, [x8, __DEF_DIRMODE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldp	w9, w6, [x19, #8]
	and	w3, w8, w9
	ldr	w0, [x19, #4]                   ; 4-byte Folded Reload
	mov	x1, x24
	mov	x4, x22
	mov	x5, x20
	bl	_copymkdir
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_readdir
	mov	x26, x0
	cbz	x0, LBB0_26
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	ldr	x0, [x26]
	mov	x1, x27
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x26]
	mov	x1, x28
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x24, [x26]
Lloh31:
	adrp	x8, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	add	x2, x19, #8
	mov	x0, x21
	mov	x1, x24
	bl	_fstatat
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x24
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cmp	x0, #0
	mov	w8, #3
	csel	x8, x8, xzr, eq
	add	x24, x24, x8
	ldr	w0, [x19, #8]
	bl	_S_ISDIR
	cbnz	x0, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, #8]
	bl	_S_ISLNK
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x26]
	mov	x0, x21
	mov	x2, x23
	ldr	w3, [x19]                       ; 4-byte Folded Reload
	bl	_readlinkat
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	wzr, [x23, w0, sxtw]
	mov	x0, x23
	ldr	w26, [x19, #4]                  ; 4-byte Folded Reload
	mov	x1, x26
	mov	x2, x24
	bl	_symlinkat
Lloh36:
	adrp	x8, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
Lloh38:
	ldr	w4, [x8]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x22
	mov	x3, x20
	bl	_fchownat
	b	LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, #8]
	bl	_S_ISREG
	cbz	w0, LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x26]
Lloh39:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_openat
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, x0
Lloh42:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh46:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh48:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w8, [x19, #8]
	str	x8, [sp, #-16]!
	ldr	w0, [x19, #4]                   ; 4-byte Folded Reload
	mov	x1, x24
	bl	_openat
	add	sp, sp, #16
	cmn	w0, #1
	b.eq	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, x0
	add	x1, x19, #16
	mov	x0, x26
	mov	w2, #4096
	bl	_read
	mov	x2, x0
	cmp	w0, #1
	b.lt	LBB0_22
LBB0_21:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x19, #16
	mov	x0, x24
	bl	_write
	add	x1, x19, #16
	mov	x0, x26
	mov	w2, #4096
	bl	_read
	mov	x2, x0
	cmp	w0, #0
	b.gt	LBB0_21
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x26
	bl	_close
	mov	x0, x24
	mov	x1, x22
	mov	x2, x20
	bl	_fchown
	ldr	w1, [x19, #12]
	mov	x0, x24
	bl	_fchflags
	mov	x0, x24
	bl	_close
	b	LBB0_9
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x26
	bl	_close
	b	LBB0_9
LBB0_24:
	ldur	x8, [x29, #-96]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.25:
Lloh54:
	adrp	x0, l_.str@PAGE
Lloh55:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x27
	sub	sp, x29, #80
	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	_warn
LBB0_26:
	mov	x0, x25
	bl	_closedir
LBB0_27:
	ldur	x8, [x29, #-96]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.28:
	sub	sp, x29, #80
	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
	ret
LBB0_29:
	mov	x0, x21
	bl	_close
	ldur	x8, [x29, #-96]
Lloh59:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh60:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	ldr	w0, [x19, #4]                   ; 4-byte Folded Reload
	sub	sp, x29, #80
	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	_close
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mkdir(%s)"

	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ; @AT_SYMLINK_NOFOLLOW
	.comm	_O_DIRECTORY,4,2                ; @O_DIRECTORY
l_.str.1:                               ; @.str.1
	.asciz	"."

l_.str.2:                               ; @.str.2
	.asciz	".."

l_.str.3:                               ; @.str.3
	.asciz	"dot."

	.comm	__DEF_DIRMODE,4,2               ; @_DEF_DIRMODE
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
.subsections_via_symbols
