	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_input
_init_input:                            ## @init_input
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	_PIN_VREF80@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_snd_hda_set_pin_ctl
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_wcaps
	movq	_AC_WCAP_IN_AMP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_AC_VERB_SET_AMP_GAIN_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	callq	_AMP_IN_UNMUTE
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_snd_hda_codec_write
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_wcaps
	movq	_AC_WCAP_IN_AMP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.6:
	movq	_AC_VERB_SET_AMP_GAIN_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_AMP_IN_UNMUTE
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_snd_hda_codec_write
	movq	_HDA_INPUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_HDA_AMP_VOLMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$90, %r9d
	callq	_snd_hda_codec_amp_stereo
	movl	(%rbx), %edx
	movq	_HDA_AMP_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_codec_amp_stereo       ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIN_VREF80,4,2                 ## @PIN_VREF80
	.comm	_AC_WCAP_IN_AMP,4,2             ## @AC_WCAP_IN_AMP
	.comm	_AC_VERB_SET_AMP_GAIN_MUTE,4,2  ## @AC_VERB_SET_AMP_GAIN_MUTE
	.comm	_HDA_INPUT,4,2                  ## @HDA_INPUT
	.comm	_HDA_AMP_VOLMASK,4,2            ## @HDA_AMP_VOLMASK
	.comm	_HDA_AMP_MUTE,4,2               ## @HDA_AMP_MUTE
	.no_dead_strip	_init_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_input
_init_input:                            ; @init_input
	.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	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x23, _AC_WCAP_IN_AMP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AC_WCAP_IN_AMP@GOTPAGEOFF]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x21, x1
Lloh2:
	adrp	x8, _PIN_VREF80@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PIN_VREF80@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_snd_hda_set_pin_ctl
	mov	x0, x20
	mov	x1, x21
	bl	_get_wcaps
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _AC_VERB_SET_AMP_GAIN_MUTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AC_VERB_SET_AMP_GAIN_MUTE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	w0, #0
	bl	_AMP_IN_UNMUTE
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	bl	_snd_hda_codec_write
LBB0_3:
	cbz	x19, LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_get_wcaps
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _AC_VERB_SET_AMP_GAIN_MUTE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AC_VERB_SET_AMP_GAIN_MUTE@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	w0, #0
	bl	_AMP_IN_UNMUTE
	mov	x4, x0
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, x21
	bl	_snd_hda_codec_write
Lloh11:
	adrp	x21, _HDA_INPUT@GOTPAGE
Lloh12:
	ldr	x21, [x21, _HDA_INPUT@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh13:
	adrp	x8, _HDA_AMP_VOLMASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDA_AMP_VOLMASK@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	mov	w5, #90
	bl	_snd_hda_codec_amp_stereo
	ldr	w2, [x21]
Lloh16:
	adrp	x8, _HDA_AMP_MUTE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HDA_AMP_MUTE@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	mov	w5, #0
	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	_snd_hda_codec_amp_stereo
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PIN_VREF80,4,2                 ; @PIN_VREF80
	.comm	_AC_WCAP_IN_AMP,4,2             ; @AC_WCAP_IN_AMP
	.comm	_AC_VERB_SET_AMP_GAIN_MUTE,4,2  ; @AC_VERB_SET_AMP_GAIN_MUTE
	.comm	_HDA_INPUT,4,2                  ; @HDA_INPUT
	.comm	_HDA_AMP_VOLMASK,4,2            ; @HDA_AMP_VOLMASK
	.comm	_HDA_AMP_MUTE,4,2               ; @HDA_AMP_MUTE
	.no_dead_strip	_init_input
.subsections_via_symbols
