	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc_dir_part
_mc_dir_part:                           ## @mc_dir_part
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r8
	movq	(%r8), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	40(%rbp), %r15d
	movq	64(%rbp), %rdx
	movl	32(%rbp), %r12d
	shll	$3, %r12d
	addl	(%rdx), %r12d
	shll	$3, %r15d
	addl	4(%rdx), %r15d
	movl	%r12d, %edx
	andl	$3, %edx
	movl	%r15d, %esi
	andl	$3, %esi
	leal	(%rdx,%rsi,4), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %r10d
	sarl	$2, %r10d
	movslq	%r10d, %r9
	leaq	(%rax,%r9,4), %rsi
	movl	%r15d, %r14d
	sarl	$2, %r14d
	movslq	(%rdi), %rdx
	movslq	%r14d, %rdi
	imulq	%rdx, %rdi
	leaq	(%rsi,%rdi,4), %rsi
	movl	%r12d, %ecx
	sarl	$3, %ecx
	movl	%r15d, %eax
	sarl	$3, %eax
	movslq	4(%rbx), %rdi
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	cltq
	imulq	%rdi, %rax
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rdi
	shlq	$2, %rdi
	movq	8(%r8), %rcx
	addq	%rdi, %rcx
	addq	16(%r8), %rdi
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rdi,%rax,4), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	8(%rbx), %r11d
	movq	%r11, -144(%rbp)                ## 8-byte Spill
                                        ## kill: def $r11d killed $r11d killed $r11 def $r11
	shll	$4, %r11d
	movl	12(%rbx), %r13d
	movq	%r13, -136(%rbp)                ## 8-byte Spill
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	shll	$4, %r13d
	xorl	%eax, %eax
	andl	$7, %r12d
	setne	%al
	leal	(%rax,%rax,2), %eax
	xorl	%ecx, %ecx
	andl	$7, %r15d
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	setne	%r8b
	movq	56(%rbp), %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	48(%rbp), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %r9d
	jl	LBB0_5
## %bb.2:
	movb	%r8b, %cl
	leal	(%rcx,%rcx,2), %eax
	cmpl	%eax, %r14d
	jl	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	leal	(%rax,%rax,2), %eax
	leal	16(%r10), %ecx
	addl	%r11d, %eax
	addl	$-3, %eax
	cmpl	%eax, %ecx
	jg	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %al
	leal	(%rax,%rax,2), %eax
	addl	$-3, %eax
	leal	16(%r14), %ecx
	addl	%r13d, %eax
	cmpl	%eax, %ecx
	jle	LBB0_6
LBB0_5:
	movq	16(%rbx), %rdi
	movq	%rdx, %rax
	shlq	$3, %rax
	subq	%rax, %rsi
	addq	$-8, %rsi
	addl	$-2, %r10d
	addl	$-2, %r14d
	movl	%edx, %ecx
	movl	$21, %r8d
	movl	$21, %r9d
	pushq	%r13
	pushq	%r11
	pushq	%r14
	pushq	%r10
	callq	*24(%rbx)
	addq	$32, %rsp
	movq	16(%rbx), %rax
	movslq	(%rbx), %rdx
	leaq	(%rax,%rdx,8), %rsi
	addq	$8, %rsi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%rcx,%rax,8)
	movq	16(%rbx), %rdi
	movl	4(%rbx), %ecx
	movq	-144(%rbp), %r13                ## 8-byte Reload
	shll	$3, %r13d
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	-136(%rbp), %r12                ## 8-byte Reload
	shll	$3, %r12d
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%ecx, %edx
	movl	$9, %r8d
	movl	$9, %r9d
	pushq	%r12
	pushq	%r13
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	callq	*24(%rbx)
	addq	$32, %rsp
	movq	16(%rbx), %rsi
	movl	4(%rbx), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	callq	*%r14
	movq	16(%rbx), %rdi
	movl	4(%rbx), %ecx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%ecx, %edx
	movl	$9, %r8d
	movl	$9, %r9d
	pushq	%r12
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	pushq	%r13
	movl	%r15d, %r13d
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	callq	*24(%rbx)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rax
	addq	$32, %rsp
	movq	16(%rbx), %rsi
LBB0_7:
	movl	4(%rbx), %edx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%rcx,%rax,8)
	movl	4(%rbx), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	movq	-104(%rbp), %r14                ## 8-byte Reload
	callq	*%r14
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mc_dir_part
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc_dir_part
_mc_dir_part:                           ; @mc_dir_part
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldr	x10, [x1]
	ldr	x9, [x10]
	cbz	x9, LBB0_5
; %bb.1:
	mov	x21, x0
	stp	x6, x7, [sp, #32]               ; 16-byte Folded Spill
	str	w2, [sp, #52]                   ; 4-byte Folded Spill
	ldr	x0, [x29, #32]
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	ldr	x16, [x29, #24]
	ldp	w11, w8, [x29, #16]
	ldr	x12, [x29, #40]
	ldp	w13, w12, [x12]
	add	w13, w13, w11, lsl #3
	add	w12, w12, w8, lsl #3
	and	w22, w13, #0x3
	bfi	w22, w12, #2, #2
	asr	w8, w13, #2
	add	x11, x9, w8, sxtw #2
	asr	w9, w12, #2
	ldp	w2, w14, [x21]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	mul	w15, w2, w9
	add	x1, x11, w15, sxtw #2
	asr	w17, w13, #3
	sbfiz	x11, x17, #2, #32
	asr	w27, w12, #3
	mul	w14, w14, w27
	sbfiz	x14, x14, #2, #32
	ldp	x15, x10, [x10, #8]
	add	x15, x15, x11
	add	x26, x15, x14
	add	x10, x10, x11
	add	x25, x10, x14
	ldp	w19, w20, [x21, #8]
	lsl	w10, w19, #4
	lsl	w11, w20, #4
	ands	w23, w13, #0x7
	mov	w13, #3
	csel	w14, wzr, w13, eq
	ands	w24, w12, #0x7
	csel	w15, wzr, w13, eq
	mov	w13, #-3
	csel	w12, wzr, w13, eq
	cmp	w8, w14
	ccmp	w9, w15, #8, ge
	b.lt	LBB0_3
; %bb.2:
	cmp	w23, #0
	csel	w13, wzr, w13, eq
	add	w14, w8, #16
	add	w13, w10, w13
	cmp	w14, w13
	add	w13, w9, #16
	add	w12, w11, w12
	ccmp	w13, w12, #0, le
	b.le	LBB0_6
LBB0_3:
	ldp	x0, x12, [x21, #16]
	sub	x13, x1, x2, lsl #3
	sub	x1, x13, #8
	stp	x17, x25, [sp, #16]             ; 16-byte Folded Spill
	sub	w6, w8, #2
	sub	w7, w9, #2
	stp	w10, w11, [sp]
	mov	x3, x2
	mov	w4, #21
	mov	x25, x23
	mov	x23, x5
	mov	w5, #21
	mov	x28, x24
	mov	x24, x16
	blr	x12
	ldr	x8, [x21, #16]
	ldrsw	x2, [x21]
	add	x8, x8, x2, lsl #3
	add	x1, x8, #8
	ldr	x8, [x24, w22, uxtw #3]
	mov	x24, x28
	mov	x0, x23
	mov	x23, x25
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	ldp	x0, x8, [x21, #16]
	lsl	w19, w19, #3
	lsl	w20, w20, #3
	ldr	w2, [x21, #4]
	stp	w19, w20, [sp]
	mov	x1, x26
	mov	x3, x2
	mov	w4, #9
	mov	w5, #9
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
	mov	x6, x25
	mov	x7, x27
	blr	x8
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #4]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w22, [sp, #52]                  ; 4-byte Folded Reload
	mov	x3, x22
	mov	x4, x23
	mov	x5, x28
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	blr	x6
	ldp	x0, x8, [x21, #16]
	ldr	w2, [x21, #4]
	stp	w19, w20, [sp]
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x3, x2
	mov	w4, #9
	mov	w5, #9
	mov	x6, x25
	mov	x7, x27
	blr	x8
	ldr	x25, [x21, #16]
LBB0_4:
	ldr	w2, [x21, #4]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	br	x6
LBB0_5:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
	ldr	x8, [x16, w22, uxtw #3]
	mov	x0, x5
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	ldr	w2, [x21, #4]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x26
	ldr	w22, [sp, #52]                  ; 4-byte Folded Reload
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	blr	x6
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mc_dir_part
.subsections_via_symbols
