	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_echo_channels_info_get
_snd_echo_channels_info_get:            ## @snd_echo_channels_info_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_num_busses_in
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	callq	_num_analog_busses_in
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx)
	movq	%r15, %rdi
	callq	_num_busses_out
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	movq	%r15, %rdi
	callq	_num_analog_busses_out
	movq	(%r14), %rcx
	movl	%eax, 12(%rcx)
	movq	%r15, %rdi
	callq	_num_pipes_out
	movq	(%r14), %rcx
	movl	%eax, 16(%rcx)
	movq	%r15, %rdi
	callq	_detect_input_clocks
	movq	_ECHO_CLOCK_NUMBER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	(%r15), %esi
	decl	%esi
	xorl	%r8d, %r8d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	btsl	%esi, %r8d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %edi
	jle	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%edx, %edi
	leal	-1(%rdi), %edx
	btl	%edx, %eax
	jae	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%esi, %esi
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ecx
	shlq	$2, %rcx
	addq	8(%r15), %rcx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	(%rcx), %edx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	leal	-1(%rsi), %ebx
	addq	$-4, %rcx
	testl	%esi, %esi
	movl	%ebx, %esi
	jg	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$-1, %esi
	jmp	LBB0_10
LBB0_1:
	xorl	%r8d, %r8d
LBB0_11:
	movq	(%r14), %rax
	movl	%r8d, 20(%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECHO_CLOCK_NUMBER,4,2          ## @ECHO_CLOCK_NUMBER
	.no_dead_strip	_snd_echo_channels_info_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_echo_channels_info_get
_snd_echo_channels_info_get:            ; @snd_echo_channels_info_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	bl	_num_busses_in
	ldr	x8, [x19]
	str	w0, [x8]
	mov	x0, x20
	bl	_num_analog_busses_in
	ldr	x8, [x19]
	str	w0, [x8, #4]
	mov	x0, x20
	bl	_num_busses_out
	ldr	x8, [x19]
	str	w0, [x8, #8]
	mov	x0, x20
	bl	_num_analog_busses_out
	ldr	x8, [x19]
	str	w0, [x8, #12]
	mov	x0, x20
	bl	_num_pipes_out
	ldr	x8, [x19]
	str	w0, [x8, #16]
	mov	x0, x20
	bl	_detect_input_clocks
Lloh0:
	adrp	x8, _ECHO_CLOCK_NUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECHO_CLOCK_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w8, #0
	ldr	w10, [x20]
	sub	w10, w10, #1
	mov	w11, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w13, w11, w10
	orr	w8, w13, w8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #1
	mov	x9, x12
	b.le	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	sub	w12, w9, #1
	lsr	w13, w0, w12
	tbz	w13, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w10, #31, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x20, #8]
	add	x13, x13, w10, uxtw #2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x13]
	cmp	w12, w14
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	sub	w14, w10, #1
	sub	x13, x13, #4
	cmp	w10, #0
	mov	x10, x14
	b.gt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #-1
	b	LBB0_3
LBB0_10:
	mov	w8, #0
LBB0_11:
	ldr	x9, [x19]
	str	w8, [x9, #20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ECHO_CLOCK_NUMBER,4,2          ; @ECHO_CLOCK_NUMBER
	.no_dead_strip	_snd_echo_channels_info_get
.subsections_via_symbols
