	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_input_mux_put          ## -- Begin function snd_hda_input_mux_put
	.p2align	4, 0x90
_snd_hda_input_mux_put:                 ## @snd_hda_input_mux_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
	movl	(%rsi), %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	%r8, %r14
	movq	(%rdx), %rdx
	movl	(%rdx), %edx
	leal	-1(%rbx), %r15d
	cmpl	%ebx, %edx
	cmovbl	%edx, %r15d
	cmpl	%r15d, (%r8)
	je	LBB0_3
## %bb.2:
	movq	_AC_VERB_SET_CONNECT_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rsi), %rdx
	movl	%r15d, %esi
	movl	(%rdx,%rsi,4), %r8d
	movl	%ecx, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_snd_hda_codec_write_cache
	movl	%r15d, (%r14)
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_SET_CONNECT_SEL,4,2    ## @AC_VERB_SET_CONNECT_SEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_input_mux_put          ; -- Begin function snd_hda_input_mux_put
	.p2align	2
_snd_hda_input_mux_put:                 ; @snd_hda_input_mux_put
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x4
	ldr	x9, [x2]
	ldr	w9, [x9]
	sub	w10, w8, #1
	cmp	w9, w8
	csel	w20, w9, w10, lo
	ldr	w8, [x4]
	cmp	w8, w20
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _AC_VERB_SET_CONNECT_SEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_SET_CONNECT_SEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x1, #8]
	ldr	w4, [x9, w20, uxtw #2]
	mov	x1, x3
	mov	w2, #0
	mov	x3, x8
	bl	_snd_hda_codec_write_cache
	str	w20, [x19]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_SET_CONNECT_SEL,4,2    ; @AC_VERB_SET_CONNECT_SEL
.subsections_via_symbols
