	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clusteralloc1
_clusteralloc1:                         ## @clusteralloc1
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movslq	%edx, %rdi
	callq	_MSDOSFS_DPRINTF
	xorl	%r11d, %r11d
	movl	$0, %eax
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	callq	_chainlength
	xorl	%r11d, %r11d
	cmpl	%r13d, %eax
	jge	LBB0_2
LBB0_3:
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %r14d
	movl	4(%r12), %r8d
	movl	$0, %esi
	cmpl	%r8d, %r14d
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jg	LBB0_13
## %bb.4:
	xorl	%esi, %esi
	movq	_N_INUSEBITS@GOTPCREL(%rip), %rax
	movq	_FULL_RUN@GOTPCREL(%rip), %rcx
	movl	%r14d, %ebx
	xorl	%r11d, %r11d
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	(%rax), %r15d
	movq	8(%r12), %r10
	movl	(%rcx), %r9d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %eax
	cltd
	idivl	%r15d
	movl	%eax, %r13d
	movslq	%eax, %rdi
	movl	$-1, %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	notl	%eax
	orl	(%r10,%rdi,4), %eax
	cmpl	%r9d, %eax
	jne	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	addl	%r15d, %ebx
	subl	%edx, %ebx
	cmpl	%r8d, %ebx
	jle	LBB0_6
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%r11d, -56(%rbp)                ## 4-byte Spill
	imull	%r15d, %r13d
	xorl	%r9d, %eax
	movq	%r12, %rdi
	bsfl	%eax, %r12d
	movl	$-1, %eax
	cmovel	%eax, %r12d
	leal	(%r12,%r13), %ebx
	movl	%ebx, %esi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_chainlength
	cmpl	%r15d, %eax
	jge	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-56(%rbp), %r11d                ## 4-byte Reload
	cmpl	%r11d, %eax
	cmovgl	%eax, %r11d
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	cmovgl	%ebx, %esi
	leal	(%r12,%r13), %ebx
	incl	%ebx
	addl	%eax, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %r8d
	cmpl	%r8d, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	_N_INUSEBITS@GOTPCREL(%rip), %rax
	movq	_FULL_RUN@GOTPCREL(%rip), %rcx
	jle	LBB0_5
	jmp	LBB0_13
LBB0_16:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_13:
	testl	%r14d, %r14d
	jle	LBB0_24
## %bb.14:
	xorl	%edi, %edi
	movq	_N_INUSEBITS@GOTPCREL(%rip), %rax
	movq	_FULL_RUN@GOTPCREL(%rip), %rcx
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movl	(%rax), %r10d
	movq	8(%r12), %r9
	movl	(%rcx), %r8d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, %eax
	cltd
	idivl	%r10d
	movl	%eax, %ebx
	movslq	%eax, %r15
	movl	$-1, %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	notl	%eax
	orl	(%r9,%r15,4), %eax
	cmpl	%r8d, %eax
	jne	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=2
	addl	%r10d, %edi
	subl	%edx, %edi
	cmpl	%r14d, %edi
	jl	LBB0_17
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%r11d, -56(%rbp)                ## 4-byte Spill
	imull	%r10d, %ebx
	xorl	%r8d, %eax
	bsfl	%eax, %r12d
	movl	$-1, %eax
	cmovel	%eax, %r12d
	movl	%r13d, %r15d
	leal	(%r12,%rbx), %r13d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_chainlength
	cmpl	%r15d, %eax
	jge	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	leal	(%r12,%rbx), %edi
	incl	%edi
	movl	-56(%rbp), %r11d                ## 4-byte Reload
	cmpl	%r11d, %eax
	cmovgl	%eax, %r11d
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	cmovgl	%r13d, %esi
	addl	%eax, %edi
	cmpl	%r14d, %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	_N_INUSEBITS@GOTPCREL(%rip), %rax
	movq	_FULL_RUN@GOTPCREL(%rip), %rcx
	jl	LBB0_21
	jmp	LBB0_24
LBB0_23:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_24:
	testl	%r11d, %r11d
	je	LBB0_28
## %bb.25:
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rdi
	testl	%edx, %edx
	je	LBB0_27
## %bb.26:
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_2:
	movq	%r12, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	%r15, %r8
	movq	%r14, %r9
	jmp	LBB0_11
LBB0_28:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movl	%r11d, %edx
LBB0_10:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chainalloc                     ## TAILCALL
LBB0_19:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	jmp	LBB0_9
LBB0_8:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
LBB0_9:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_N_INUSEBITS,4,2                ## @N_INUSEBITS
	.comm	_FULL_RUN,4,2                   ## @FULL_RUN
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_clusteralloc1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clusteralloc1
_clusteralloc1:                         ; @clusteralloc1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x5
	mov	x21, x4
	mov	x26, x3
	mov	x24, x2
	mov	x23, x1
	mov	x22, x0
	sxtw	x0, w24
	bl	_MSDOSFS_DPRINTF
	cbz	w23, LBB0_3
; %bb.1:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_chainlength
	cmp	w0, w24
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x26
	mov	x4, x21
	mov	x5, x20
	b	LBB0_25
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	w19, w8, [x22]
Lloh0:
	adrp	x25, _N_INUSEBITS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _N_INUSEBITS@GOTPAGEOFF]
Lloh2:
	adrp	x1, _FULL_RUN@GOTPAGE
Lloh3:
	ldr	x1, [x1, _FULL_RUN@GOTPAGEOFF]
	cmp	w19, w8
	stp	x21, x20, [sp, #16]             ; 16-byte Folded Spill
	stp	w0, w26, [sp, #8]               ; 8-byte Folded Spill
	str	w23, [sp, #4]                   ; 4-byte Folded Spill
	b.le	LBB0_16
; %bb.5:
	mov	w26, #0
	mov	w27, #0
LBB0_6:
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w8, #0
	mov	w20, #-1
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w9, [x25]
	ldr	x10, [x22, #8]
	ldr	w11, [x1]
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w12, w8, w9
	ldr	w14, [x10, w12, sxtw #2]
	msub	w13, w12, w9, w8
	lsl	w15, w20, w13
	orn	w14, w14, w15
	cmp	w14, w11
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w9, w8
	sub	w8, w8, w13
	cmp	w8, w19
	b.lt	LBB0_9
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x1
	eor	w8, w14, w11
	rbit	w10, w8
	clz	w10, w10
	cmp	w8, #0
	csinc	w8, wzr, w10, eq
	madd	w21, w12, w9, w8
	sub	w28, w21, #1
	mov	x0, x22
	mov	x1, x28
	mov	x2, x24
	bl	_chainlength
	cmp	w0, w24
	b.ge	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, w26
	csel	w26, w0, w26, gt
	csel	w27, w28, w27, gt
	add	w8, w0, w21
	cmp	w8, w19
	mov	x1, x23
	b.lt	LBB0_8
LBB0_13:
	cbz	w26, LBB0_22
; %bb.14:
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	cbz	w2, LBB0_23
; %bb.15:
	mov	x0, x22
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	b	LBB0_24
LBB0_16:
	mov	w27, #0
	mov	w26, #0
	mov	w20, #-1
	mov	x9, x19
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	w10, [x25]
	ldr	x11, [x22, #8]
	ldr	w12, [x1]
LBB0_18:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w13, w9, w10
	ldr	w15, [x11, w13, sxtw #2]
	msub	w14, w13, w10, w9
	lsl	w16, w20, w14
	orn	w15, w15, w16
	cmp	w15, w12
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	w9, w10, w9
	sub	w9, w9, w14
	cmp	w9, w8
	b.le	LBB0_18
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x23, x1
	eor	w8, w15, w12
	rbit	w9, w8
	clz	w9, w9
	cmp	w8, #0
	csinc	w8, wzr, w9, eq
	madd	w21, w13, w10, w8
	sub	w28, w21, #1
	mov	x0, x22
	mov	x1, x28
	mov	x2, x24
	bl	_chainlength
	cmp	w0, w24
	b.ge	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w0, w26
	csel	w26, w0, w26, gt
	csel	w27, w28, w27, gt
	ldr	w8, [x22, #4]
	add	w9, w0, w21
	cmp	w9, w8
	mov	x1, x23
	b.le	LBB0_17
	b	LBB0_6
LBB0_22:
Lloh4:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
	mov	x0, x22
	mov	x1, x27
	mov	x2, x26
LBB0_24:
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	ldp	x4, x5, [sp, #16]               ; 16-byte Folded Reload
LBB0_25:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_chainalloc
LBB0_26:
	mov	x0, x22
	mov	x1, x28
	mov	x2, x24
	b	LBB0_24
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_N_INUSEBITS,4,2                ; @N_INUSEBITS
	.comm	_FULL_RUN,4,2                   ; @FULL_RUN
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_clusteralloc1
.subsections_via_symbols
