	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcbmap                         ## -- Begin function pcbmap
	.p2align	4, 0x90
_pcbmap:                                ## @pcbmap
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	$0, -64(%rbp)
	movq	24(%rdi), %rbx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	orq	%rcx, %rax
	xorl	%edi, %edi
	orq	%r8, %rax
	setne	%dil
	callq	_assert
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)
	movq	_MSDOSFSROOT@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_9
## %bb.1:
	movq	_ATTR_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_34
## %bb.2:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_de_cn2off
	cmpq	16(%r15), %rax
	jge	LBB0_36
## %bb.3:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	24(%rbx), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_de_cn2bn
	addq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_5:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	movq	%rax, (%rcx)
LBB0_7:
	xorl	%r14d, %r14d
	testq	%r12, %r12
	je	LBB0_46
## %bb.8:
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	16(%r15), %r15
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_de_cn2off
	subq	%rax, %r15
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	callq	_MIN
	movl	%eax, (%r12)
	jmp	LBB0_46
LBB0_9:
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:
	movl	(%rbx), %eax
	movl	%eax, (%r12)
LBB0_11:
	movq	$0, -72(%rbp)
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_fc_lookup
	cmpq	%r13, -72(%rbp)
	jge	LBB0_25
## %bb.12:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rsi
	movq	8(%rbx), %rax
	movq	_CLUST_RSRVD@GOTPCREL(%rip), %r13
	notq	%rax
	orq	%rsi, %rax
	cmpq	(%r13), %rax
	jge	LBB0_38
## %bb.13:
	movq	$-1, %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_FATOFS
	movq	%rbx, %rdi
	movq	%rax, %rsi
	leaq	-96(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	leaq	-112(%rbp), %r8
	callq	_fatblock
	movq	-96(%rbp), %rsi
	cmpq	%r14, %rsi
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_brelse
	movq	-96(%rbp), %rsi
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	16(%rbx), %edi
	movq	-104(%rbp), %rdx
	movq	_NOCRED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %r8
	callq	_bread
	testl	%eax, %eax
	jne	LBB0_50
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %r14
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %rax
	cmpq	-104(%rbp), %rax
	jge	LBB0_47
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %r12
	movq	%rbx, %rdi
	callq	_FAT32
	movq	-64(%rbp), %rcx
	movq	-112(%rbp), %rdi
	addq	(%rcx), %rdi
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_getulong
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_getushort
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_FAT12
	movq	-48(%rbp), %rcx
	movq	%rcx, %rsi
	sarq	$4, %rsi
	testb	$1, %r12b
	cmoveq	%rcx, %rsi
	testq	%rax, %rax
	cmoveq	%rcx, %rsi
	movq	8(%rbx), %rax
	movq	%rsi, %rdx
	andq	%rax, %rdx
	notq	%rax
	orq	%rax, %rsi
	movq	(%r13), %rcx
	cmpq	%rcx, %rsi
	cmovlq	%rdx, %rsi
	movq	%rsi, -48(%rbp)
	movq	-72(%rbp), %rdx
	incq	%rdx
	movq	%rdx, -72(%rbp)
	cmpq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	jge	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	orq	%rsi, %rax
	cmpq	%rcx, %rax
	jl	LBB0_14
	jmp	LBB0_39
LBB0_25:
	movq	-48(%rbp), %rsi
	xorl	%r12d, %r12d
LBB0_26:
	movq	%rbx, %rdi
	callq	_MSDOSFSEOF
	testl	%eax, %eax
	jne	LBB0_39
## %bb.27:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_brelse
LBB0_29:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_31
## %bb.30:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cntobn
	movq	%rax, (%r14)
LBB0_31:
	movq	-48(%rbp), %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	%rcx, (%rax)
LBB0_33:
	movq	_FC_LASTMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdx
	movq	%r15, %rdi
	callq	_fc_setcache
	xorl	%r14d, %r14d
	jmp	LBB0_46
LBB0_34:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_44
## %bb.35:
	movq	$0, (%rax)
	jmp	LBB0_44
LBB0_36:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_44
## %bb.37:
	movl	32(%rbx), %esi
	movq	%rbx, %rdi
	movq	%rax, %rbx
	callq	_de_bn2cn
	movq	%rax, (%rbx)
	jmp	LBB0_44
LBB0_38:
	xorl	%r12d, %r12d
LBB0_39:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_41
## %bb.40:
	movq	-72(%rbp), %rax
	movq	%rax, (%rcx)
LBB0_41:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_43
## %bb.42:
	callq	_brelse
LBB0_43:
	movq	_FC_LASTFC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdx
	decq	%rdx
	movq	%r15, %rdi
	movq	%r12, %rcx
	callq	_fc_setcache
LBB0_44:
	movq	_E2BIG@GOTPCREL(%rip), %rax
LBB0_45:
	movl	(%rax), %r14d
LBB0_46:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_49
## %bb.48:
	callq	_brelse
LBB0_49:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_50:
	movl	%eax, %r14d
	movq	-64(%rbp), %rdi
	callq	_brelse
	jmp	LBB0_46
	.cfi_endproc
                                        ## -- End function
	.comm	_MSDOSFSROOT,8,3                ## @MSDOSFSROOT
	.comm	_ATTR_DIRECTORY,4,2             ## @ATTR_DIRECTORY
	.comm	_E2BIG,4,2                      ## @E2BIG
	.comm	_CLUST_RSRVD,8,3                ## @CLUST_RSRVD
	.comm	_NOCRED,4,2                     ## @NOCRED
	.comm	_EIO,4,2                        ## @EIO
	.comm	_FC_LASTMAP,4,2                 ## @FC_LASTMAP
	.comm	_FC_LASTFC,4,2                  ## @FC_LASTFC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcbmap                         ; -- Begin function pcbmap
	.p2align	2
_pcbmap:                                ; @pcbmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x24, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x21, [x0, #24]
	orr	x8, x2, x3
	orr	x8, x8, x4
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19]
	str	x8, [sp, #32]
Lloh0:
	adrp	x25, _MSDOSFSROOT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSDOSFSROOT@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _ATTR_DIRECTORY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ATTR_DIRECTORY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.2:
	mov	x0, x21
	mov	x1, x23
	bl	_de_cn2off
	ldr	x8, [x19, #16]
	cmp	x0, x8
	b.ge	LBB0_37
; %bb.3:
	cbz	x22, LBB0_5
; %bb.4:
	ldr	x26, [x21, #24]
	mov	x0, x21
	mov	x1, x23
	bl	_de_cn2bn
	add	x8, x0, x26
	str	x8, [x22]
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	x8, [x25]
	str	x8, [x20]
LBB0_7:
	cbz	x24, LBB0_34
; %bb.8:
	ldr	w20, [x21]
	ldr	x19, [x19, #16]
	mov	x0, x21
	mov	x1, x23
	bl	_de_cn2off
	sub	x1, x19, x0
	mov	x0, x20
	bl	_MIN
	mov	w25, #0
	str	w0, [x24]
	b	LBB0_47
LBB0_9:
	cbz	x24, LBB0_11
; %bb.10:
	ldr	w8, [x21]
	str	w8, [x24]
LBB0_11:
	str	xzr, [sp, #40]
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x23
	bl	_fc_lookup
	ldr	x8, [sp, #40]
	cmp	x8, x23
	b.ge	LBB0_25
; %bb.12:
	ldr	x1, [sp, #32]
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x26, _CLUST_RSRVD@GOTPAGE
Lloh6:
	ldr	x26, [x26, _CLUST_RSRVD@GOTPAGEOFF]
	ldr	x9, [x26]
	orn	x8, x1, x8
	cmp	x8, x9
	b.ge	LBB0_39
; %bb.13:
	mov	x25, #-1
Lloh7:
	adrp	x27, _NOCRED@GOTPAGE
Lloh8:
	ldr	x27, [x27, _NOCRED@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_FATOFS
	mov	x1, x0
	add	x2, sp, #24
	mov	x3, sp
	add	x4, sp, #16
	mov	x0, x21
	bl	_fatblock
	ldr	x1, [sp, #24]
	cmp	x1, x25
	b.eq	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	bl	_brelse
	ldr	x1, [sp, #24]
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x21, #16]
	ldr	x2, [sp]
	ldr	w3, [x27]
	add	x4, sp, #8
	bl	_bread
	cbnz	w0, LBB0_51
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x25, [sp, #24]
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [sp]
	cmp	x8, x9
	b.ge	LBB0_48
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x24, [sp, #32]
	mov	x0, x21
	bl	_FAT32
	mov	x8, x0
	ldp	x9, x10, [sp, #8]
	ldr	x9, [x9]
	add	x0, x10, x9
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	bl	_getulong
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_getushort
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=1
	str	x0, [sp, #32]
	mov	x0, x21
	bl	_FAT12
	tst	x24, #0x1
	ccmp	x0, #0, #4, ne
	ldr	x8, [sp, #32]
	asr	x9, x8, #4
	csel	x9, x8, x9, eq
	ldr	x8, [x21, #8]
	and	x10, x9, x8
	orn	x11, x9, x8
	ldr	x9, [x26]
	cmp	x11, x9
	csel	x1, x10, x11, lt
	ldr	x10, [sp, #40]
	add	x10, x10, #1
	stp	x1, x10, [sp, #32]
	cmp	x10, x23
	b.ge	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	orn	x8, x1, x8
	cmp	x8, x9
	b.lt	LBB0_14
	b	LBB0_40
LBB0_25:
	mov	x24, #0
	ldr	x1, [sp, #32]
LBB0_26:
	mov	x0, x21
	bl	_MSDOSFSEOF
	cbnz	w0, LBB0_40
; %bb.27:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_29
; %bb.28:
	bl	_brelse
LBB0_29:
	cbz	x22, LBB0_31
; %bb.30:
	ldr	x1, [sp, #32]
	mov	x0, x21
	bl	_cntobn
	str	x0, [x22]
LBB0_31:
	ldr	x3, [sp, #32]
	cbz	x20, LBB0_33
; %bb.32:
	str	x3, [x20]
LBB0_33:
Lloh9:
	adrp	x8, _FC_LASTMAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FC_LASTMAP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x2, [sp, #40]
	mov	x0, x19
	bl	_fc_setcache
LBB0_34:
	mov	w25, #0
	b	LBB0_47
LBB0_35:
	cbz	x20, LBB0_45
; %bb.36:
	str	xzr, [x20]
	b	LBB0_45
LBB0_37:
	cbz	x20, LBB0_45
; %bb.38:
	ldr	w1, [x21, #32]
	mov	x0, x21
	bl	_de_bn2cn
	str	x0, [x20]
	b	LBB0_45
LBB0_39:
	mov	x24, #0
LBB0_40:
	cbz	x20, LBB0_42
; %bb.41:
	ldr	x8, [sp, #40]
	str	x8, [x20]
LBB0_42:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_44
; %bb.43:
	bl	_brelse
LBB0_44:
Lloh12:
	adrp	x8, _FC_LASTFC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FC_LASTFC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	x8, [sp, #40]
	sub	x2, x8, #1
	mov	x0, x19
	mov	x3, x24
	bl	_fc_setcache
LBB0_45:
Lloh15:
	adrp	x8, _E2BIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
LBB0_46:
	ldr	w25, [x8]
LBB0_47:
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_48:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_50
; %bb.49:
	bl	_brelse
LBB0_50:
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_46
LBB0_51:
	mov	x25, x0
	ldr	x0, [sp, #8]
	bl	_brelse
	b	LBB0_47
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MSDOSFSROOT,8,3                ; @MSDOSFSROOT
	.comm	_ATTR_DIRECTORY,4,2             ; @ATTR_DIRECTORY
	.comm	_E2BIG,4,2                      ; @E2BIG
	.comm	_CLUST_RSRVD,8,3                ; @CLUST_RSRVD
	.comm	_NOCRED,4,2                     ; @NOCRED
	.comm	_EIO,4,2                        ; @EIO
	.comm	_FC_LASTMAP,4,2                 ; @FC_LASTMAP
	.comm	_FC_LASTFC,4,2                  ; @FC_LASTFC
.subsections_via_symbols
