	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetDeviceFriendlyName
_GetDeviceFriendlyName:                 ## @GetDeviceFriendlyName
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	$0, -48(%rbp)
	movq	$0, -80(%rbp)
	movq	%rdi, -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), %r12
	movl	(%r12), %edx
	orl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	xorl	%edi, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mciSendCommand
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	$0, -88(%rbp)
	movq	%r15, -96(%rbp)
	movq	%r14, -104(%rbp)
	movq	-80(%rbp), %rdi
	movq	_MCI_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCI_INFO_PRODUCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-104(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mciSendCommand
	movq	%rax, %rbx
	movq	$0, -40(%rbp)
	movq	-80(%rbp), %rdi
	movq	_MCI_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	leaq	-40(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_mciSendCommand
LBB0_2:
	movq	%rbx, %rax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_MCI_INFO,4,2                   ## @MCI_INFO
	.comm	_MCI_INFO_PRODUCT,4,2           ## @MCI_INFO_PRODUCT
	.comm	_MCI_CLOSE,4,2                  ## @MCI_CLOSE
	.no_dead_strip	_GetDeviceFriendlyName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetDeviceFriendlyName
_GetDeviceFriendlyName:                 ; @GetDeviceFriendlyName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x2
	mov	x20, x1
	stp	x0, xzr, [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	x22, _MCI_WAIT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MCI_WAIT@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w2, w9, w8
	add	x3, sp, #40
	mov	x0, #0
	bl	_mciSendCommand
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
	stp	x20, xzr, [sp, #24]
	str	x19, [sp, #16]
	ldr	x0, [sp, #40]
Lloh8:
	adrp	x8, _MCI_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MCI_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _MCI_INFO_PRODUCT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MCI_INFO_PRODUCT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x3, sp, #16
	bl	_mciSendCommand
	mov	x21, x0
	str	xzr, [sp, #8]
	ldr	x0, [sp, #40]
Lloh14:
	adrp	x8, _MCI_CLOSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MCI_CLOSE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x22]
	add	x3, sp, #8
	bl	_mciSendCommand
LBB0_2:
	mov	x0, x21
	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
	add	sp, sp, #128
	ret
	.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
	.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	_MCI_INFO,4,2                   ; @MCI_INFO
	.comm	_MCI_INFO_PRODUCT,4,2           ; @MCI_INFO_PRODUCT
	.comm	_MCI_CLOSE,4,2                  ; @MCI_CLOSE
	.no_dead_strip	_GetDeviceFriendlyName
.subsections_via_symbols
