	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_multi_out_ctls
_create_multi_out_ctls:                 ## @create_multi_out_ctls
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movl	(%rsi), %edx
	movq	(%r15), %rsi
	xorl	%eax, %eax
	cmpl	$3, %edx
	movl	%esi, %ecx
	cmovgel	%eax, %ecx
	testq	%rsi, %rsi
	cmovlel	%eax, %ecx
	addl	%edx, %ecx
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.1:
	movq	%rdi, %r14
	movl	%ecx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_add_stereo_sw
	testl	%eax, %eax
	jns	LBB0_15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_snd_hda_get_path_from_idx
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	_NID_PATH_VOL_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	-44(%rbp), %rdx
	callq	_get_line_out_pfx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_add_stereo_vol
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	movq	%r12, %r8
	callq	_add_vol_ctl
	testl	%eax, %eax
	js	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_add_vol_ctl
	testl	%eax, %eax
	js	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NID_PATH_MUTE_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	-44(%rbp), %rdx
	callq	_get_line_out_pfx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	movq	%r12, %r8
	callq	_add_sw_ctl
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_add_sw_ctl
	testl	%eax, %eax
	js	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.16:
	xorl	%eax, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_PATH_VOL_CTL,4,2           ## @NID_PATH_VOL_CTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CLFE"

L_.str.1:                               ## @.str.1
	.asciz	"Center"

L_.str.2:                               ## @.str.2
	.asciz	"LFE"

	.comm	_NID_PATH_MUTE_CTL,4,2          ## @NID_PATH_MUTE_CTL
	.no_dead_strip	_create_multi_out_ctls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_multi_out_ctls
_create_multi_out_ctls:                 ; @create_multi_out_ctls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.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
	ldr	x26, [x0]
	ldr	w8, [x1]
	ldr	x9, [x26]
	cmp	w8, #3
	ccmp	x9, #0, #4, lt
	csel	w9, w9, wzr, gt
	add	w27, w9, w8
	cmp	w27, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x19, x0
	mov	x20, #0
Lloh0:
	adrp	x28, _NID_PATH_VOL_CTL@GOTPAGE
Lloh1:
	ldr	x28, [x28, _NID_PATH_VOL_CTL@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x25
	mov	x3, x24
	bl	_add_stereo_sw
	tbnz	w0, #31, LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x27, x20
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #8]
	ldr	w1, [x8, x20, lsl #2]
	mov	x0, x19
	bl	_snd_hda_get_path_from_idx
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	w3, [x28]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_get_line_out_pfx
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x25
	mov	x3, x24
	bl	_add_stereo_vol
	tbz	w0, #31, LBB0_10
	b	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	w3, #1
	mov	x4, x24
	bl	_add_vol_ctl
	tbnz	w0, #31, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	w3, #2
	mov	x4, x24
	bl	_add_vol_ctl
	tbnz	w0, #31, LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x8, _NID_PATH_MUTE_CTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_PATH_MUTE_CTL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_get_line_out_pfx
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	mov	x1, x23
	bl	_strcmp
	cbnz	w0, LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	w3, #1
	mov	x4, x24
	bl	_add_sw_ctl
	tbnz	w0, #31, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	w3, #2
	mov	x4, x24
	bl	_add_sw_ctl
	tbz	w0, #31, LBB0_3
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_PATH_VOL_CTL,4,2           ; @NID_PATH_VOL_CTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CLFE"

l_.str.1:                               ; @.str.1
	.asciz	"Center"

l_.str.2:                               ; @.str.2
	.asciz	"LFE"

	.comm	_NID_PATH_MUTE_CTL,4,2          ; @NID_PATH_MUTE_CTL
	.no_dead_strip	_create_multi_out_ctls
.subsections_via_symbols
