	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_multi_io
_set_multi_io:                          ## @set_multi_io
	.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
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	(%r13), %rax
	movslq	%esi, %r15
	movl	4(%rax,%r15,8), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, %esi
	callq	_get_multiio_path
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	xorl	%eax, %eax
	cmpl	%r14d, (%r12)
	je	LBB0_7
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	movq	_PIN_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	$1, %ecx
	callq	_set_pin_target
	movq	%r13, %rdi
	callq	_aamix_default
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_snd_hda_activate_path
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_set_pin_eapd
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_set_pin_eapd
	movq	%r13, %rdi
	callq	_aamix_default
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_snd_hda_activate_path
	movq	(%r13), %rax
	movl	(%rax,%r15,8), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %ecx
	callq	_set_pin_target
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_path_power_down_sync
LBB0_6:
	movq	%rbx, %rdi
	callq	_update_automute_all
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PIN_OUT,4,2                    ## @PIN_OUT
	.no_dead_strip	_set_multi_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_multi_io
_set_multi_io:                          ; @set_multi_io
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x24, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x22, [x0]
	ldr	x8, [x22]
	add	x8, x8, w1, sxtw #3
	ldr	w20, [x8, #4]
	bl	_get_multiio_path
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, w24
	b.eq	LBB0_7
; %bb.2:
	cbz	w24, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _PIN_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIN_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_set_pin_target
	mov	x0, x22
	bl	_aamix_default
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_snd_hda_activate_path
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_set_pin_eapd
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_5:
	sxtw	x23, w23
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_set_pin_eapd
	mov	x0, x22
	bl	_aamix_default
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_snd_hda_activate_path
	ldr	x8, [x22]
	lsl	x9, x23, #3
	ldr	w2, [x8, x9]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_set_pin_target
	mov	x0, x19
	mov	x1, x21
	bl	_path_power_down_sync
LBB0_6:
	mov	x0, x19
	bl	_update_automute_all
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PIN_OUT,4,2                    ; @PIN_OUT
	.no_dead_strip	_set_multi_io
.subsections_via_symbols
