	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_output_sfx
_check_output_sfx:                      ## @check_output_sfx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %ebx
	callq	_find_idx_in_nid_list
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	L_.str.4(%rip), %r15
	cmpl	$1, %ebx
	je	LBB0_7
## %bb.3:
	movl	%eax, %r12d
	leaq	_check_output_sfx.channel_sfx(%rip), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jge	LBB0_6
## %bb.4:
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	movl	%r12d, (%r14)
	jmp	LBB0_7
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_6:
	movl	%r12d, %eax
	movq	(%r13,%rax,8), %r15
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @check_output_sfx.channel_sfx
_check_output_sfx.channel_sfx:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" Front"

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

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

L_.str.3:                               ## @.str.3
	.asciz	" Side"

L_.str.4:                               ## @.str.4
	.space	1

	.no_dead_strip	_check_output_sfx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_output_sfx
_check_output_sfx:                      ; @check_output_sfx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x3
	mov	x20, x2
	bl	_find_idx_in_nid_list
	tbnz	w0, #31, LBB0_6
; %bb.1:
	cmp	w20, #1
	b.eq	LBB0_5
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x22, _check_output_sfx.channel_sfx@PAGE
Lloh1:
	add	x22, x22, _check_output_sfx.channel_sfx@PAGEOFF
	mov	x0, x22
	bl	_ARRAY_SIZE
	cmp	w0, w20
	b.ge	LBB0_7
; %bb.3:
	cbz	x19, LBB0_5
; %bb.4:
	str	w21, [x19]
LBB0_5:
Lloh2:
	adrp	x0, l_.str.4@PAGE
Lloh3:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_6:
	mov	x0, #0
	b	LBB0_8
LBB0_7:
	ldr	x0, [x22, w21, uxtw #3]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @check_output_sfx.channel_sfx
_check_output_sfx.channel_sfx:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" Front"

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

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

l_.str.3:                               ; @.str.3
	.asciz	" Side"

l_.str.4:                               ; @.str.4
	.space	1

	.no_dead_strip	_check_output_sfx
.subsections_via_symbols
