	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdbpIsPathOnRemovableMedia     ## -- Begin function SdbpIsPathOnRemovableMedia
	.p2align	4, 0x90
_SdbpIsPathOnRemovableMedia:            ## @SdbpIsPathOnRemovableMedia
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$6044225, -4(%rbp)              ## imm = 0x5C3A41
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rsi
	movl	(%rdi), %eax
	movq	_UNICODE_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_SHIM_ERR
	jmp	LBB0_7
LBB0_3:
	movl	4(%rsi), %ecx
	cmpl	$58, %ecx
	je	LBB0_9
## %bb.4:
	cmpl	$92, %ecx
	jne	LBB0_8
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_9:
	movb	%al, -4(%rbp)
	leaq	-4(%rbp), %rdi
	callq	_GetDriveTypeW
	movq	_DRIVE_REMOVABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_DRIVE_CDROM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	callq	_SHIM_INFO
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNICODE_NULL,4,2               ## @UNICODE_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid argument\n"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"\"%S\" is a network path.\n"

L_.str.2:                               ## @.str.2
	.asciz	"\"%S\" not a full path we can operate on.\n"

	.comm	_DRIVE_REMOVABLE,8,3            ## @DRIVE_REMOVABLE
	.comm	_DRIVE_CDROM,8,3                ## @DRIVE_CDROM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdbpIsPathOnRemovableMedia     ; -- Begin function SdbpIsPathOnRemovableMedia
	.p2align	2
_SdbpIsPathOnRemovableMedia:            ; @SdbpIsPathOnRemovableMedia
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #14913
	movk	w8, #92, lsl #16
	stur	w8, [x29, #-4]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _UNICODE_NULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNICODE_NULL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SHIM_ERR
	b	LBB0_9
LBB0_3:
	ldr	w9, [x1, #4]
	cmp	w9, #58
	b.eq	LBB0_6
; %bb.4:
	cmp	w9, #92
	b.ne	LBB0_7
; %bb.5:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
	sturb	w8, [x29, #-4]
	sub	x0, x29, #4
	bl	_GetDriveTypeW
Lloh7:
	adrp	x8, _DRIVE_REMOVABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DRIVE_REMOVABLE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
Lloh10:
	adrp	x8, _DRIVE_CDROM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRIVE_CDROM@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ccmp	x0, x8, #4, ne
	cset	w0, eq
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_SHIM_INFO
LBB0_9:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_UNICODE_NULL,4,2               ; @UNICODE_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid argument\n"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"\"%S\" is a network path.\n"

l_.str.2:                               ; @.str.2
	.asciz	"\"%S\" not a full path we can operate on.\n"

	.comm	_DRIVE_REMOVABLE,8,3            ; @DRIVE_REMOVABLE
	.comm	_DRIVE_CDROM,8,3                ; @DRIVE_CDROM
.subsections_via_symbols
