	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uniqdosname                    ## -- Begin function uniqdosname
	.p2align	4, 0x90
_uniqdosname:                           ## @uniqdosname
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	movq	_MSDOSFSMNT_SHORTNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	xorl	%r13d, %r13d
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_unix2dosfn
	testq	%rax, %rax
	jne	LBB0_24
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_24
LBB0_3:
	movq	%rdi, %r13
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	movl	$1, %r12d
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_unix2dosfn
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=2
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	-56(%rbp), %rdi
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=2
	callq	_brelse
	incl	%r12d
	testl	%r13d, %r13d
	movq	%r15, %r13
	jne	LBB0_17
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
	movq	%r13, %rdi
	movl	%r12d, %esi
	leaq	-64(%rbp), %rdx
	xorl	%ecx, %ecx
	leaq	-44(%rbp), %r8
	callq	_pcbmap
	testl	%eax, %eax
	jne	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%r13, %r15
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movl	-64(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	_NOCRED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %r8
	callq	_bread
	testl	%eax, %eax
	jne	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	-56(%rbp), %rdi
	movq	(%rdi), %rax
	movslq	-44(%rbp), %rcx
	leaq	(%rax,%rcx), %rdx
	xorl	%r13d, %r13d
	cmpq	%rax, %rdx
	jbe	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	_SLOT_EMPTY@GOTPCREL(%rip), %r8
	movq	_ATTR_VOLUME@GOTPCREL(%rip), %r9
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=3
	movslq	%ecx, %rdx
	addq	(%rdi), %rdx
	addq	$16, %rax
	cmpq	%rax, %rdx
	jbe	LBB0_7
LBB0_13:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%rax), %rdx
	movq	(%rdx), %rsi
	cmpq	(%r8), %rsi
	je	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=3
	movl	(%r9), %esi
	testl	%esi, 8(%rax)
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	(%rdx), %rcx
	xorq	(%r14), %rcx
	movq	3(%rdx), %rdx
	xorq	3(%r14), %rdx
	orq	%rcx, %rdx
	je	LBB0_6
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %ecx
	jmp	LBB0_12
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	incl	%r12d
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	movq	%r14, %rsi
	movl	%r12d, %ecx
	callq	_unix2dosfn
	testq	%rax, %rax
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_5
LBB0_18:
	testq	%rax, %rax
	je	LBB0_2
## %bb.21:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_24
LBB0_20:
	callq	_brelse
	xorl	%r13d, %r13d
LBB0_24:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_E2BIG@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpl	(%rcx), %eax
	cmovnel	%eax, %r13d
	jmp	LBB0_24
LBB0_23:
	movl	%eax, %r13d
	movq	-56(%rbp), %rdi
	callq	_brelse
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_MSDOSFSMNT_SHORTNAME,4,2       ## @MSDOSFSMNT_SHORTNAME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_E2BIG,4,2                      ## @E2BIG
	.comm	_NOCRED,4,2                     ## @NOCRED
	.comm	_SLOT_EMPTY,8,3                 ## @SLOT_EMPTY
	.comm	_ATTR_VOLUME,4,2                ## @ATTR_VOLUME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uniqdosname                    ; -- Begin function uniqdosname
	.p2align	2
_uniqdosname:                           ; @uniqdosname
	.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	x19, x2
	mov	x20, x1
	ldr	x26, [x0]
	ldr	w8, [x26]
Lloh0:
	adrp	x9, _MSDOSFSMNT_SHORTNAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSDOSFSMNT_SHORTNAME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	ldr	w2, [x20]
	mov	x1, x19
	mov	w3, #0
	bl	_unix2dosfn
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w25, w8, wzr, eq
	b	LBB0_20
LBB0_2:
	mov	x21, x0
	ldr	x0, [x20, #8]
	ldr	w2, [x20]
	mov	x1, x19
	mov	w3, #1
	bl	_unix2dosfn
	mov	x22, x0
	cbz	x0, LBB0_18
; %bb.3:
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x27, _NOCRED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _NOCRED@GOTPAGEOFF]
Lloh8:
	adrp	x28, _SLOT_EMPTY@GOTPAGE
Lloh9:
	ldr	x28, [x28, _SLOT_EMPTY@GOTPAGEOFF]
Lloh10:
	adrp	x23, _ATTR_VOLUME@GOTPAGE
Lloh11:
	ldr	x23, [x23, _ATTR_VOLUME@GOTPAGEOFF]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	mov	w24, #0
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	add	x2, sp, #24
	add	x4, sp, #28
	mov	x0, x21
	mov	x1, x24
	mov	w3, #0
	bl	_pcbmap
	cbnz	w0, LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w0, [x26, #4]
	ldp	w1, w2, [sp, #24]
	ldr	w3, [x27]
	add	x4, sp, #16
	bl	_bread
	cbnz	w0, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x0, [sp, #16]
	ldr	x8, [x0]
	ldrsw	x9, [sp, #28]
	add	x10, x8, x9
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	ldr	x10, [x0]
	add	x10, x10, w9, sxtw
	add	x8, x8, #16
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x10, x8
	b.ls	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	x10, [x8]
	ldr	x11, [x10]
	ldr	x12, [x28]
	cmp	x11, x12
	b.eq	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	w11, [x8, #8]
	ldr	w12, [x23]
	tst	w12, w11
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	x9, [x10]
	ldr	x11, [x19]
	eor	x9, x9, x11
	ldur	x10, [x10, #3]
	ldur	x11, [x19, #3]
	eor	x10, x10, x11
	orr	x9, x9, x10
	cbz	x9, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	x0, [sp, #16]
	ldr	w9, [sp, #28]
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	w25, #0
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=2
	bl	_brelse
	add	w24, w24, #1
	cbz	w25, LBB0_5
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=2
Lloh12:
	adrp	x8, _EEXIST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh14:
	ldr	w25, [x8]
	ldr	x0, [sp, #16]
	b	LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	add	w3, w3, #1
	ldr	x0, [x20, #8]
	ldr	w2, [x20]
	mov	x1, x19
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	bl	_unix2dosfn
	cbnz	x0, LBB0_4
LBB0_18:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	adrp	x9, _EEXIST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x8, x9, eq
	ldr	w25, [x8]
	b	LBB0_20
LBB0_19:
	bl	_brelse
	mov	w25, #0
LBB0_20:
	mov	x0, x25
	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_21:
Lloh19:
	adrp	x8, _E2BIG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w25, wzr, w0, eq
	b	LBB0_20
LBB0_22:
	mov	x25, x0
	ldr	x0, [sp, #16]
	bl	_brelse
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MSDOSFSMNT_SHORTNAME,4,2       ; @MSDOSFSMNT_SHORTNAME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_E2BIG,4,2                      ; @E2BIG
	.comm	_NOCRED,4,2                     ; @NOCRED
	.comm	_SLOT_EMPTY,8,3                 ; @SLOT_EMPTY
	.comm	_ATTR_VOLUME,4,2                ; @ATTR_VOLUME
.subsections_via_symbols
