	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_multi_cap_vol_ctl
_create_multi_cap_vol_ctl:              ## @create_multi_cap_vol_ctl
	.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), %r14
	movl	32(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rcx
	movslq	(%rcx,%rbx,4), %r12
	cmpl	24(%r14), %r12d
	jge	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_is_inv_dmic_pin
	movl	%eax, %r15d
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movl	(%rcx,%r12,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax,%r12,4), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_get_first_cap_ctl
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movl	%r15d, %r9d
	callq	_add_single_cap_ctl
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movl	(%rcx,%r12,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax,%r12,4), %r12d
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_get_first_cap_ctl
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	$1, %ecx
	movl	%eax, %r8d
	movl	%r15d, %r9d
	callq	_add_single_cap_ctl
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r14), %eax
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_create_multi_cap_vol_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_multi_cap_vol_ctl
_create_multi_cap_vol_ctl:              ; @create_multi_cap_vol_ctl
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x24, [x0]
	ldr	w8, [x24, #32]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24, #40]
	ldrsw	x22, [x9, x20, lsl #2]
	ldr	w9, [x24, #24]
	cmp	w22, w9
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #16]
	ldr	w1, [x8, x20, lsl #2]
	mov	x0, x19
	bl	_is_inv_dmic_pin
	mov	x21, x0
	lsl	x25, x22, #2
	ldp	x9, x8, [x24]
	ldr	w22, [x8, x25]
	ldr	w23, [x9, x25]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_get_first_cap_ctl
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x5, x21
	bl	_add_single_cap_ctl
	tbnz	w0, #31, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x24]
	ldr	w22, [x8, x25]
	ldr	w23, [x9, x25]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_get_first_cap_ctl
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	w3, #1
	mov	x5, x21
	bl	_add_single_cap_ctl
	tbnz	w0, #31, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #32]
	b	LBB0_2
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_create_multi_cap_vol_ctl
.subsections_via_symbols
