	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function waveartist_select_input
_waveartist_select_input:               ## @waveartist_select_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SOUND_MASK_IMIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_2
## %bb.1:
	movq	_ADC_MUX_MIXER@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	jmp	LBB0_12
LBB0_2:
	movq	_SOUND_MASK_LINE2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_4
## %bb.3:
	movq	_ADC_MUX_AUX2@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	jmp	LBB0_12
LBB0_4:
	movq	_SOUND_MASK_LINE1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_6
## %bb.5:
	movq	_ADC_MUX_AUX1@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	jmp	LBB0_12
LBB0_6:
	movq	_SOUND_MASK_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_8
## %bb.7:
	movq	_ADC_MUX_LINE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	jmp	LBB0_12
LBB0_8:
	movq	_SOUND_MASK_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_9
## %bb.10:
	movq	_ADC_MUX_MIC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	movl	%eax, %esi
	jmp	LBB0_11
LBB0_9:
	movq	_ADC_MUX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_11:
	movl	%esi, %eax
LBB0_12:
	movb	%dil, (%rcx)
	movb	%dil, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADC_MUX_NONE,4,2               ## @ADC_MUX_NONE
	.comm	_SOUND_MASK_IMIX,4,2            ## @SOUND_MASK_IMIX
	.comm	_ADC_MUX_MIXER,4,2              ## @ADC_MUX_MIXER
	.comm	_SOUND_MASK_LINE2,4,2           ## @SOUND_MASK_LINE2
	.comm	_ADC_MUX_AUX2,4,2               ## @ADC_MUX_AUX2
	.comm	_SOUND_MASK_LINE1,4,2           ## @SOUND_MASK_LINE1
	.comm	_ADC_MUX_AUX1,4,2               ## @ADC_MUX_AUX1
	.comm	_SOUND_MASK_LINE,4,2            ## @SOUND_MASK_LINE
	.comm	_ADC_MUX_LINE,4,2               ## @ADC_MUX_LINE
	.comm	_SOUND_MASK_MIC,4,2             ## @SOUND_MASK_MIC
	.comm	_ADC_MUX_MIC,4,2                ## @ADC_MUX_MIC
	.no_dead_strip	_waveartist_select_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function waveartist_select_input
_waveartist_select_input:               ; @waveartist_select_input
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SOUND_MASK_IMIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOUND_MASK_IMIX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	tst	w0, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ADC_MUX_MIXER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADC_MUX_MIXER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_2:
Lloh6:
	adrp	x8, _SOUND_MASK_LINE2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOUND_MASK_LINE2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	tst	w0, w1
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ADC_MUX_AUX2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADC_MUX_AUX2@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_4:
Lloh12:
	adrp	x8, _SOUND_MASK_LINE1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOUND_MASK_LINE1@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	tst	w0, w1
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _ADC_MUX_AUX1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADC_MUX_AUX1@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_6:
Lloh18:
	adrp	x8, _SOUND_MASK_LINE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SOUND_MASK_LINE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	tst	w0, w1
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _ADC_MUX_LINE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ADC_MUX_LINE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x8, _ADC_MUX_NONE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ADC_MUX_NONE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _SOUND_MASK_MIC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SOUND_MASK_MIC@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _ADC_MUX_MIC@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ADC_MUX_MIC@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w0, w1, w9, eq
	csel	w8, w8, w10, eq
LBB0_9:
	strb	w8, [x3]
	strb	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ADC_MUX_NONE,4,2               ; @ADC_MUX_NONE
	.comm	_SOUND_MASK_IMIX,4,2            ; @SOUND_MASK_IMIX
	.comm	_ADC_MUX_MIXER,4,2              ; @ADC_MUX_MIXER
	.comm	_SOUND_MASK_LINE2,4,2           ; @SOUND_MASK_LINE2
	.comm	_ADC_MUX_AUX2,4,2               ; @ADC_MUX_AUX2
	.comm	_SOUND_MASK_LINE1,4,2           ; @SOUND_MASK_LINE1
	.comm	_ADC_MUX_AUX1,4,2               ; @ADC_MUX_AUX1
	.comm	_SOUND_MASK_LINE,4,2            ; @SOUND_MASK_LINE
	.comm	_ADC_MUX_LINE,4,2               ; @ADC_MUX_LINE
	.comm	_SOUND_MASK_MIC,4,2             ; @SOUND_MASK_MIC
	.comm	_ADC_MUX_MIC,4,2                ; @ADC_MUX_MIC
	.no_dead_strip	_waveartist_select_input
.subsections_via_symbols
