	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cslots
_get_cslots:                            ## @get_cslots
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_ac97_is_audio
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_AC97_SLOT_PCM_LEFT@GOTPCREL(%rip), %rax
	movb	(%rax), %dl
	movq	_AC97_SLOT_PCM_RIGHT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	btsl	%edx, %eax
	movq	_AC97_SLOT_MIC@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movzwl	%ax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_SLOT_PCM_LEFT,4,2         ## @AC97_SLOT_PCM_LEFT
	.comm	_AC97_SLOT_PCM_RIGHT,4,2        ## @AC97_SLOT_PCM_RIGHT
	.comm	_AC97_SLOT_MIC,4,2              ## @AC97_SLOT_MIC
	.no_dead_strip	_get_cslots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cslots
_get_cslots:                            ; @get_cslots
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ac97_is_audio
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AC97_SLOT_PCM_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC97_SLOT_PCM_LEFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _AC97_SLOT_PCM_RIGHT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AC97_SLOT_PCM_RIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh6:
	adrp	x10, _AC97_SLOT_MIC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AC97_SLOT_MIC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	and	w0, w8, #0xffff
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_SLOT_PCM_LEFT,4,2         ; @AC97_SLOT_PCM_LEFT
	.comm	_AC97_SLOT_PCM_RIGHT,4,2        ; @AC97_SLOT_PCM_RIGHT
	.comm	_AC97_SLOT_MIC,4,2              ; @AC97_SLOT_MIC
	.no_dead_strip	_get_cslots
.subsections_via_symbols
