	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makedir                        ## -- Begin function makedir
	.p2align	4, 0x90
_makedir:                               ## @makedir
	.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, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_DIRBLKSIZ@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	_iobuf@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	(%r12), %r12
	cmpl	$2, %ebx
	jl	LBB0_4
## %bb.1:
	movl	%ebx, %r14d
	decl	%r14d
	movq	%r14, %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_DIRSIZ
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memmove
	movslq	(%rbx), %rax
	addq	%rax, %r12
	subl	%eax, %r15d
	addq	$4, %rbx
	decq	%r13
	jne	LBB0_2
## %bb.3:
	movq	_DIRBLKSIZ@GOTPCREL(%rip), %r13
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rbx
	movl	%r15d, (%rax,%r14,4)
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_DIRSIZ
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memmove
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRBLKSIZ,4,2                  ## @DIRBLKSIZ
	.comm	_iobuf,8,3                      ## @iobuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makedir                        ; -- Begin function makedir
	.p2align	2
_makedir:                               ; @makedir
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x23, _DIRBLKSIZ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DIRBLKSIZ@GOTPAGEOFF]
	ldr	w20, [x23]
Lloh2:
	adrp	x21, _iobuf@GOTPAGE
Lloh3:
	ldr	x21, [x21, _iobuf@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	ldr	x21, [x21]
	cmp	w22, #2
	b.lt	LBB0_3
; %bb.1:
	sub	w24, w22, #1
	mov	x25, x24
	mov	x22, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	mov	x1, x22
	bl	_DIRSIZ
	mov	x2, x0
	str	w0, [x22]
	mov	x0, x21
	mov	x1, x22
	bl	_memmove
	ldrsw	x8, [x22], #4
	add	x21, x21, x8
	sub	w20, w20, w8
	subs	x25, x25, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x24, #0
LBB0_4:
	add	x19, x19, x24, lsl #2
	str	w20, [x19]
	mov	w0, #0
	mov	x1, x19
	bl	_DIRSIZ
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_memmove
	ldr	w0, [x23]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRBLKSIZ,4,2                  ; @DIRBLKSIZ
	.comm	_iobuf,8,3                      ; @iobuf
.subsections_via_symbols
