	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h3_mixer_setrecsrc
_h3_mixer_setrecsrc:                    ## @h3_mixer_setrecsrc
	.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
	movl	%esi, %r12d
	callq	_mix_getdevinfo
	movq	%rax, %r14
	movq	_SOUND_MASK_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SOUND_MASK_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	orl	%r15d, %esi
	movq	_SOUND_MASK_LINE1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SOUND_MASK_IMIX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %ebx
	orl	%ecx, %ebx
	orl	%esi, %ebx
	andl	%r12d, %ebx
	andl	%ebx, %r15d
	jne	LBB0_1
## %bb.2:
	andl	%ebx, %edx
	jne	LBB0_3
LBB0_4:
	andl	%ebx, %eax
	je	LBB0_6
LBB0_5:
	movq	_H3_ADCMIXSC_MIC2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	orl	%edx, %r15d
	andl	%r12d, %ecx
	je	LBB0_8
## %bb.7:
	movq	_H3_ADCMIXSC_OMIXER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	orl	%ecx, %eax
	orl	%eax, %r15d
	movq	_H3_LADCMIXSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_h3_pr_write
	movq	_H3_RADCMIXSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_h3_pr_write
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_H3_ADCMIXSC_LINEIN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r15d
	andl	%ebx, %edx
	je	LBB0_4
LBB0_3:
	movq	_H3_ADCMIXSC_MIC1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %eax
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SOUND_MASK_LINE,4,2            ## @SOUND_MASK_LINE
	.comm	_SOUND_MASK_MIC,4,2             ## @SOUND_MASK_MIC
	.comm	_SOUND_MASK_LINE1,4,2           ## @SOUND_MASK_LINE1
	.comm	_SOUND_MASK_IMIX,4,2            ## @SOUND_MASK_IMIX
	.comm	_H3_ADCMIXSC_LINEIN,4,2         ## @H3_ADCMIXSC_LINEIN
	.comm	_H3_ADCMIXSC_MIC1,4,2           ## @H3_ADCMIXSC_MIC1
	.comm	_H3_ADCMIXSC_MIC2,4,2           ## @H3_ADCMIXSC_MIC2
	.comm	_H3_ADCMIXSC_OMIXER,4,2         ## @H3_ADCMIXSC_OMIXER
	.comm	_H3_LADCMIXSC,4,2               ## @H3_LADCMIXSC
	.comm	_H3_RADCMIXSC,4,2               ## @H3_RADCMIXSC
	.no_dead_strip	_h3_mixer_setrecsrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h3_mixer_setrecsrc
_h3_mixer_setrecsrc:                    ; @h3_mixer_setrecsrc
	.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	x19, x1
	bl	_mix_getdevinfo
	mov	x20, x0
Lloh0:
	adrp	x8, _SOUND_MASK_LINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOUND_MASK_LINE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SOUND_MASK_MIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOUND_MASK_MIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh6:
	adrp	x11, _SOUND_MASK_LINE1@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SOUND_MASK_LINE1@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _SOUND_MASK_IMIX@GOTPAGE
Lloh10:
	ldr	x12, [x12, _SOUND_MASK_IMIX@GOTPAGEOFF]
	orr	w10, w10, w11
Lloh11:
	ldr	w12, [x12]
	orr	w10, w10, w12
	and	w21, w10, w19
Lloh12:
	adrp	x10, _H3_ADCMIXSC_LINEIN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _H3_ADCMIXSC_LINEIN@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w21, w8
	csel	w8, wzr, w10, eq
Lloh15:
	adrp	x10, _H3_ADCMIXSC_MIC1@GOTPAGE
Lloh16:
	ldr	x10, [x10, _H3_ADCMIXSC_MIC1@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w21, w9
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _H3_ADCMIXSC_MIC2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _H3_ADCMIXSC_MIC2@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w21, w11
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _H3_ADCMIXSC_OMIXER@GOTPAGE
Lloh22:
	ldr	x9, [x9, _H3_ADCMIXSC_OMIXER@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w12, w19
	csel	w9, wzr, w9, eq
	orr	w19, w8, w9
Lloh24:
	adrp	x8, _H3_LADCMIXSC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _H3_LADCMIXSC@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_h3_pr_write
Lloh27:
	adrp	x8, _H3_RADCMIXSC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _H3_RADCMIXSC@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_h3_pr_write
	mov	x0, x21
	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	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOUND_MASK_LINE,4,2            ; @SOUND_MASK_LINE
	.comm	_SOUND_MASK_MIC,4,2             ; @SOUND_MASK_MIC
	.comm	_SOUND_MASK_LINE1,4,2           ; @SOUND_MASK_LINE1
	.comm	_SOUND_MASK_IMIX,4,2            ; @SOUND_MASK_IMIX
	.comm	_H3_ADCMIXSC_LINEIN,4,2         ; @H3_ADCMIXSC_LINEIN
	.comm	_H3_ADCMIXSC_MIC1,4,2           ; @H3_ADCMIXSC_MIC1
	.comm	_H3_ADCMIXSC_MIC2,4,2           ; @H3_ADCMIXSC_MIC2
	.comm	_H3_ADCMIXSC_OMIXER,4,2         ; @H3_ADCMIXSC_OMIXER
	.comm	_H3_LADCMIXSC,4,2               ; @H3_LADCMIXSC
	.comm	_H3_RADCMIXSC,4,2               ; @H3_RADCMIXSC
	.no_dead_strip	_h3_mixer_setrecsrc
.subsections_via_symbols
