	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_multi_ios
_fill_multi_ios:                        ## @fill_multi_ios
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %r14
	callq	_snd_hda_codec_get_pincfg
	movl	%eax, %edi
	callq	_get_defcfg_location
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	(%r14), %rbx
	cmpq	$1, %rbx
	jg	LBB0_27
## %bb.1:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_count_multiio_pins
	cmpl	$2, %eax
	jl	LBB0_27
## %bb.2:
	movq	_AUTO_PIN_LINE_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AUTO_PIN_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jl	LBB0_27
## %bb.3:
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_AUTO_PIN_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	leal	-1(%rdx), %ecx
	cmpl	%eax, %edx
	movl	%ecx, %edx
	jle	LBB0_25
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
	cmpl	$0, 40(%r14)
	jle	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r12d, %r12d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=2
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=2
	incq	%r12
	movslq	40(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_4
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
	movq	56(%r14), %rax
	movq	%r12, %rcx
	shlq	$4, %rcx
	cmpl	%edx, 8(%rax,%rcx)
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%rax,%rcx), %rbx
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_can_be_multiio_pin
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	24(%r14), %rcx
	shlq	$4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	(%rcx,%rdx), %rbx
	je	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=2
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_get_dac_if_single
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_look_for_dac
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=2
	xorl	%ecx, %ecx
	subl	32(%r14), %ecx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_snd_hda_add_new_path
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	24(%r14), %rcx
	movslq	(%r14), %rdx
	shlq	$4, %rdx
	movq	%rbx, (%rcx,%rdx)
	movq	%r13, 8(%rcx,%rdx)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_snd_hda_get_path_idx
	movq	8(%r14), %rcx
	movslq	(%r14), %rdx
	addq	48(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	(%r14), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	testl	%eax, %eax
	movq	%r15, %r13
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_9
	jmp	LBB0_4
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_8
LBB0_25:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_27
## %bb.26:
	movq	_BAD_MULTI_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_28
LBB0_27:
	xorl	%r15d, %r15d
LBB0_28:
	movl	(%r14), %eax
	movl	%ebx, %ecx
	subl	%eax, %ecx
	jne	LBB0_30
## %bb.29:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movl	$1, %eax
	cmovnel	%eax, %r15d
	jmp	LBB0_35
LBB0_30:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_33
## %bb.31:
	cmpl	$2, %eax
	jge	LBB0_33
## %bb.32:
	addl	%ecx, 16(%r14)
	movl	%ebx, (%r14)
	jmp	LBB0_35
LBB0_33:
	cmpl	%eax, %ebx
	jge	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	48(%r14), %rcx
	addq	%rbx, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r13, %rdi
	callq	_snd_hda_get_path_from_idx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_assign_out_path_ctls
	addl	%eax, %r15d
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_34
LBB0_35:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTO_PIN_LINE_IN,4,2           ## @AUTO_PIN_LINE_IN
	.comm	_AUTO_PIN_MIC,4,2               ## @AUTO_PIN_MIC
	.comm	_BAD_MULTI_IO,4,2               ## @BAD_MULTI_IO
	.no_dead_strip	_fill_multi_ios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_multi_ios
_fill_multi_ios:                        ; @fill_multi_ios
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x0]
	bl	_snd_hda_codec_get_pincfg
	bl	_get_defcfg_location
	ldr	w8, [x24]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w8, #1
	b.gt	LBB0_23
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	bl	_count_multiio_pins
	cmp	w0, #2
	b.lt	LBB0_23
; %bb.2:
Lloh0:
	adrp	x8, _AUTO_PIN_LINE_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTO_PIN_LINE_IN@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x25, _AUTO_PIN_MIC@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AUTO_PIN_MIC@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w27, w8
	b.lt	LBB0_23
; %bb.3:
	mov	w28, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w9, w27, #1
	cmp	w27, w8
	mov	x27, x9
	b.le	LBB0_21
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
	ldr	w9, [x24, #40]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w28, w28, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x24, #40]
	cmp	x26, x8
	b.ge	LBB0_4
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
	ldr	x8, [x24, #56]
	add	x8, x8, x26, lsl #4
	ldr	w9, [x8, #8]
	cmp	w9, w27
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x22, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_can_be_multiio_pin
	cbz	w0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x9, [x24, #24]
LBB0_14:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x10, [x9]
	cmp	x22, x10
	b.eq	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x19
	mov	x1, x22
	cbz	w20, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=2
	bl	_get_dac_if_single
	mov	x23, x0
	cbnz	x0, LBB0_19
	b	LBB0_8
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w2, #0
	bl	_look_for_dac
	mov	x23, x0
	cbz	x0, LBB0_8
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x24, #32]
	neg	w3, w8
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_snd_hda_add_new_path
	cbz	x0, LBB0_8
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x1, x0
	ldr	x8, [x24, #24]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #4
	stp	x22, x23, [x8]
	mov	x0, x19
	bl	_snd_hda_get_path_idx
	ldr	x8, [x24, #8]
	ldr	x9, [x24, #48]
	ldrsw	x10, [x24]
	add	x9, x9, x10
	str	w0, [x8, x9, lsl #2]
	ldr	w8, [x24]
	add	w9, w8, #1
	str	w9, [x24]
	cmp	w8, #0
	b.le	LBB0_9
	b	LBB0_4
LBB0_21:
	cbz	w28, LBB0_23
; %bb.22:
Lloh5:
	adrp	x8, _BAD_MULTI_IO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BAD_MULTI_IO@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	b	LBB0_24
LBB0_23:
	mov	w21, #0
LBB0_24:
	ldr	w9, [x24]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	subs	w8, w10, w9
	b.ne	LBB0_26
; %bb.25:
	cmp	w20, #0
	csinc	w21, w21, wzr, eq
	b	LBB0_32
LBB0_26:
	cbnz	w20, LBB0_29
; %bb.27:
	cmp	w9, #2
	b.ge	LBB0_29
; %bb.28:
	ldr	w9, [x24, #16]
	add	w8, w8, w9
	str	w8, [x24, #16]
	str	w10, [x24]
	b	LBB0_32
LBB0_29:
	cmp	w10, w9
	b.ge	LBB0_32
; %bb.30:
	sxtw	x20, w10
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #8]
	ldr	x9, [x24, #48]
	add	x9, x20, x9
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_snd_hda_get_path_from_idx
	mov	x1, x0
	mov	x0, x19
	bl	_assign_out_path_ctls
	add	w21, w21, w0
	add	x20, x20, #1
	ldrsw	x8, [x24]
	cmp	x20, x8
	b.lt	LBB0_31
LBB0_32:
	mov	x0, x21
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTO_PIN_LINE_IN,4,2           ; @AUTO_PIN_LINE_IN
	.comm	_AUTO_PIN_MIC,4,2               ; @AUTO_PIN_MIC
	.comm	_BAD_MULTI_IO,4,2               ; @BAD_MULTI_IO
	.no_dead_strip	_fill_multi_ios
.subsections_via_symbols
