	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DeviceUsesFiles
_DeviceUsesFiles:                       ## @DeviceUsesFiles
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -48(%rbp)
	movq	$0, -80(%rbp)
	movl	%edi, -56(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movq	_MCI_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCI_OPEN_TYPE@GOTPCREL(%rip), %rax
	movq	_MCI_WAIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	xorl	%edi, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mciSendCommand
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	$0, -24(%rbp)
	movq	$0, -40(%rbp)
	movq	_MCI_GETDEVCAPS_USES_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	-80(%rbp), %rdi
	movq	_MCI_GETDEVCAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCI_GETDEVCAPS_ITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%rbx), %edx
	leaq	-40(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mciSendCommand
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	$0, -16(%rbp)
	movq	-80(%rbp), %rdi
	movq	_MCI_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	-16(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mciSendCommand
	movl	-40(%rbp), %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_OPEN,4,2                   ## @MCI_OPEN
	.comm	_MCI_OPEN_TYPE,4,2              ## @MCI_OPEN_TYPE
	.comm	_MCI_WAIT,4,2                   ## @MCI_WAIT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MCI_GETDEVCAPS_USES_FILES,4,2  ## @MCI_GETDEVCAPS_USES_FILES
	.comm	_MCI_GETDEVCAPS,4,2             ## @MCI_GETDEVCAPS
	.comm	_MCI_GETDEVCAPS_ITEM,4,2        ## @MCI_GETDEVCAPS_ITEM
	.comm	_MCI_CLOSE,4,2                  ## @MCI_CLOSE
	.no_dead_strip	_DeviceUsesFiles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DeviceUsesFiles
_DeviceUsesFiles:                       ; @DeviceUsesFiles
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #72]
	str	w0, [sp, #64]
	stp	xzr, xzr, [sp, #48]
	str	xzr, [sp, #40]
Lloh0:
	adrp	x8, _MCI_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCI_OPEN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MCI_OPEN_TYPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MCI_OPEN_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x19, _MCI_WAIT@GOTPAGE
Lloh7:
	ldr	x19, [x19, _MCI_WAIT@GOTPAGEOFF]
	ldr	w9, [x19]
	orr	w2, w9, w8
	add	x3, sp, #40
	mov	x0, #0
	bl	_mciSendCommand
	cbnz	x0, LBB0_2
; %bb.1:
	str	xzr, [sp, #32]
Lloh8:
	adrp	x8, _MCI_GETDEVCAPS_USES_FILES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MCI_GETDEVCAPS_USES_FILES@GOTPAGEOFF]
	str	xzr, [sp, #16]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x0, [sp, #40]
Lloh11:
	adrp	x8, _MCI_GETDEVCAPS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MCI_GETDEVCAPS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _MCI_GETDEVCAPS_ITEM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MCI_GETDEVCAPS_ITEM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x3, sp, #16
	bl	_mciSendCommand
	cbz	x0, LBB0_4
LBB0_2:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	str	xzr, [sp, #8]
	ldr	x0, [sp, #40]
Lloh20:
	adrp	x8, _MCI_CLOSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MCI_CLOSE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x19]
	add	x3, sp, #8
	bl	_mciSendCommand
	ldr	w0, [sp, #16]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_OPEN,4,2                   ; @MCI_OPEN
	.comm	_MCI_OPEN_TYPE,4,2              ; @MCI_OPEN_TYPE
	.comm	_MCI_WAIT,4,2                   ; @MCI_WAIT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MCI_GETDEVCAPS_USES_FILES,4,2  ; @MCI_GETDEVCAPS_USES_FILES
	.comm	_MCI_GETDEVCAPS,4,2             ; @MCI_GETDEVCAPS
	.comm	_MCI_GETDEVCAPS_ITEM,4,2        ; @MCI_GETDEVCAPS_ITEM
	.comm	_MCI_CLOSE,4,2                  ; @MCI_CLOSE
	.no_dead_strip	_DeviceUsesFiles
.subsections_via_symbols
