	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ImportSoundLabel               ## -- Begin function ImportSoundLabel
	.p2align	4, 0x90
_ImportSoundLabel:                      ## @ImportSoundLabel
	.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	%rcx, %r13
	movl	%edx, %r14d
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	shlq	$2, %r12
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	__tcsicmp
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	__tcsicmp
	movl	%eax, %ebx
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %r8
	movl	%r14d, %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyEx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	movq	_FALSE@GOTPCREL(%rip), %r14
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.1:
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, -104(%rbp)
	movl	-64(%rbp), %edi
	leaq	-104(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %r8d
	callq	_RegQueryValueEx
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.2:
	movq	%rbx, %r15
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
## %bb.3:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
LBB0_4:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	callq	_FindSoundProfile
	testl	%eax, %eax
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_10
## %bb.5:
	movq	24(%rbp), %rcx
	movq	16(%rbp), %rdx
	movl	(%rdx), %edx
	movl	(%rcx), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_FindLabelContext
	movq	%rax, %r12
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	__countof
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ExpandEnvironmentStrings
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	movq	%rax, %rbx
	movq	%rdi, %r15
	callq	__countof
	cmpq	%rax, %rbx
	jg	LBB0_10
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %r14
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:
	testl	%r13d, %r13d
	je	LBB0_10
LBB0_9:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	__tcscpy
LBB0_10:
	movl	(%r14), %eax
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".Current"

	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ImportSoundLabel               ; -- Begin function ImportSoundLabel
	.p2align	2
_ImportSoundLabel:                      ; @ImportSoundLabel
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	stur	x7, [x29, #-112]                ; 8-byte Folded Spill
	mov	x21, x6
	mov	x24, x3
	mov	x28, x2
	mov	x25, x1
	mov	x22, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
	ldr	w9, [x8]
	lsl	x20, x9, #2
	mov	x9, x20
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x20, #15
	and	x10, x10, #0x7fffffff0
	sub	x23, x9, x10
	mov	sp, x23
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcsicmp
	mov	x26, x0
	ldr	x1, [x22]
	mov	x0, x24
	bl	__tcsicmp
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
Lloh11:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	sub	x4, x29, #92
	mov	x0, x28
	mov	x1, x24
	mov	w2, #0
	bl	_RegOpenKeyEx
Lloh14:
	adrp	x28, _ERROR_SUCCESS@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	stur	x20, [x29, #-104]
	ldur	w0, [x29, #-92]
	sub	x5, x29, #104
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x23
	bl	_RegQueryValueEx
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	cbnz	w26, LBB0_4
; %bb.3:
	ldr	x24, [x22]
LBB0_4:
	mov	x0, x25
	mov	x1, x24
	bl	_FindSoundProfile
	cbz	w0, LBB0_7
; %bb.5:
	mov	x1, x0
	ldr	w2, [x21]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	w3, [x8]
	mov	x0, x22
	bl	_FindLabelContext
	mov	x20, x0
	mov	x0, x19
	bl	__countof
	mov	x2, x0
	mov	x0, x23
	mov	x1, x19
	bl	_ExpandEnvironmentStrings
	cbz	x0, LBB0_7
; %bb.6:
	mov	x21, x0
	mov	x0, x19
	bl	__countof
	cmp	x21, x0
	b.le	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.9:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	cbz	w26, LBB0_12
; %bb.11:
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cbz	w8, LBB0_13
LBB0_12:
	ldr	w0, [x20]
	mov	x1, x19
	bl	__tcscpy
LBB0_13:
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".Current"

	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
