	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad1843_get_outsrc
_ad1843_get_outsrc:                     ## @ad1843_get_outsrc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ad1843_LDA1GM@GOTPCREL(%rip), %rsi
	callq	_ad1843_read_bits
	xorl	%r12d, %r12d
	movl	$0, %r15d
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_SOUND_MASK_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	_ad1843_LX1MM@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_ad1843_read_bits
	movl	$0, %ebx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_SOUND_MASK_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	_ad1843_LX2MM@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_ad1843_read_bits
	movl	$0, %r13d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_SOUND_MASK_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_6:
	movq	_ad1843_LMCMM@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_ad1843_read_bits
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_SOUND_MASK_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_8:
	orl	%r12d, %r13d
	orl	%r15d, %ebx
	orl	%r13d, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ad1843_LDA1GM,4,2              ## @ad1843_LDA1GM
	.comm	_SOUND_MASK_PCM,4,2             ## @SOUND_MASK_PCM
	.comm	_ad1843_LX1MM,4,2               ## @ad1843_LX1MM
	.comm	_SOUND_MASK_LINE,4,2            ## @SOUND_MASK_LINE
	.comm	_ad1843_LX2MM,4,2               ## @ad1843_LX2MM
	.comm	_SOUND_MASK_CD,4,2              ## @SOUND_MASK_CD
	.comm	_ad1843_LMCMM,4,2               ## @ad1843_LMCMM
	.comm	_SOUND_MASK_MIC,4,2             ## @SOUND_MASK_MIC
	.no_dead_strip	_ad1843_get_outsrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad1843_get_outsrc
_ad1843_get_outsrc:                     ; @ad1843_get_outsrc
	.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, x0
Lloh0:
	adrp	x1, _ad1843_LDA1GM@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ad1843_LDA1GM@GOTPAGEOFF]
	bl	_ad1843_read_bits
Lloh2:
	adrp	x8, _SOUND_MASK_PCM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SOUND_MASK_PCM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w8, wzr, eq
Lloh5:
	adrp	x1, _ad1843_LX1MM@GOTPAGE
Lloh6:
	ldr	x1, [x1, _ad1843_LX1MM@GOTPAGEOFF]
	mov	x0, x19
	bl	_ad1843_read_bits
Lloh7:
	adrp	x8, _SOUND_MASK_LINE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOUND_MASK_LINE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w21, w8, wzr, eq
Lloh10:
	adrp	x1, _ad1843_LX2MM@GOTPAGE
Lloh11:
	ldr	x1, [x1, _ad1843_LX2MM@GOTPAGEOFF]
	mov	x0, x19
	bl	_ad1843_read_bits
Lloh12:
	adrp	x8, _SOUND_MASK_CD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOUND_MASK_CD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w22, w8, wzr, eq
Lloh15:
	adrp	x1, _ad1843_LMCMM@GOTPAGE
Lloh16:
	ldr	x1, [x1, _ad1843_LMCMM@GOTPAGEOFF]
	mov	x0, x19
	bl	_ad1843_read_bits
Lloh17:
	adrp	x8, _SOUND_MASK_MIC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SOUND_MASK_MIC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	orr	w9, w21, w20
	orr	w9, w9, w22
	orr	w0, w9, w8
	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	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ad1843_LDA1GM,4,2              ; @ad1843_LDA1GM
	.comm	_SOUND_MASK_PCM,4,2             ; @SOUND_MASK_PCM
	.comm	_ad1843_LX1MM,4,2               ; @ad1843_LX1MM
	.comm	_SOUND_MASK_LINE,4,2            ; @SOUND_MASK_LINE
	.comm	_ad1843_LX2MM,4,2               ; @ad1843_LX2MM
	.comm	_SOUND_MASK_CD,4,2              ; @SOUND_MASK_CD
	.comm	_ad1843_LMCMM,4,2               ; @ad1843_LMCMM
	.comm	_SOUND_MASK_MIC,4,2             ; @SOUND_MASK_MIC
	.no_dead_strip	_ad1843_get_outsrc
.subsections_via_symbols
