	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_aamix_paths
_update_aamix_paths:                    ## @update_aamix_paths
	.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
	movl	%r8d, %r13d
	movl	%ecx, %ebx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	callq	_snd_hda_get_path_from_idx
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_snd_hda_get_path_from_idx
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_7
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_8
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_snd_hda_activate_path
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_snd_hda_activate_path
	jmp	LBB0_9
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
LBB0_8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_snd_hda_activate_path
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_snd_hda_activate_path
	movq	%r14, %r15
LBB0_9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_path_power_down_sync           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTO_PIN_HP_OUT,4,2            ## @AUTO_PIN_HP_OUT
	.no_dead_strip	_update_aamix_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_aamix_paths
_update_aamix_paths:                    ; @update_aamix_paths
	.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	x23, x4
	mov	x21, x3
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x0]
	mov	x1, x2
	bl	_snd_hda_get_path_from_idx
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_snd_hda_get_path_from_idx
	cbz	x20, LBB0_7
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_8
; %bb.3:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_8
; %bb.4:
	cbz	w22, LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_snd_hda_activate_path
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	bl	_snd_hda_activate_path
	b	LBB0_10
LBB0_7:
	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
LBB0_8:
	cbz	w22, LBB0_6
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #1
	bl	_snd_hda_activate_path
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	mov	w3, #1
	bl	_snd_hda_activate_path
	mov	x21, x20
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	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
	b	_path_power_down_sync
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTO_PIN_HP_OUT,4,2            ; @AUTO_PIN_HP_OUT
	.no_dead_strip	_update_aamix_paths
.subsections_via_symbols
