	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loopback_mixing_put
_loopback_mixing_put:                   ## @loopback_mixing_put
	.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, %r15
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	(%rax), %rbx
	movq	(%r15), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	cmpl	(%rbx), %r15d
	je	LBB0_2
## %bb.1:
	movl	%r15d, (%rbx)
	movq	40(%rbx), %rax
	movl	(%rax), %edx
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	movl	32(%rbx), %r8d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_update_aamix_paths
	movq	8(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx), %edx
	movl	4(%rax), %ecx
	movq	_AUTO_PIN_HP_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_update_aamix_paths
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %edx
	movl	8(%rax), %ecx
	movq	_AUTO_PIN_SPEAKER_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_update_aamix_paths
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTO_PIN_HP_OUT,4,2            ## @AUTO_PIN_HP_OUT
	.comm	_AUTO_PIN_SPEAKER_OUT,4,2       ## @AUTO_PIN_SPEAKER_OUT
	.no_dead_strip	_loopback_mixing_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loopback_mixing_put
_loopback_mixing_put:                   ; @loopback_mixing_put
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	bl	_snd_kcontrol_chip
	ldr	x21, [x0]
	ldr	x8, [x20]
	ldr	w20, [x8]
	ldr	w8, [x21]
	cmp	w20, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	str	w20, [x21]
	ldr	x8, [x21, #40]
	ldr	w2, [x8]
	ldr	x8, [x21, #8]
	ldr	w3, [x8]
	ldr	w4, [x21, #32]
	mov	x1, x20
	bl	_update_aamix_paths
	ldr	x8, [x21, #24]
	ldr	w2, [x8]
	ldr	x8, [x21, #8]
	ldr	w3, [x8, #4]
Lloh0:
	adrp	x8, _AUTO_PIN_HP_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTO_PIN_HP_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_update_aamix_paths
	ldp	x9, x8, [x21, #8]
	ldr	w2, [x8]
	ldr	w3, [x9, #8]
Lloh3:
	adrp	x8, _AUTO_PIN_SPEAKER_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUTO_PIN_SPEAKER_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_update_aamix_paths
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTO_PIN_HP_OUT,4,2            ; @AUTO_PIN_HP_OUT
	.comm	_AUTO_PIN_SPEAKER_OUT,4,2       ; @AUTO_PIN_SPEAKER_OUT
	.no_dead_strip	_loopback_mixing_put
.subsections_via_symbols
