	.file	"extr_skl-sst-dsp.c_is_skl_dsp_core_enable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DSP core(s) enabled? %d : core_mask %x\n"
	.text
	.p2align 4
	.type	is_skl_dsp_core_enable, @function
is_skl_dsp_core_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR SKL_ADSP_REG_ADSPCS[rip]
	call	sst_dsp_shim_read_unlocked@PLT
	mov	edi, r12d
	mov	ebp, eax
	call	SKL_ADSPCS_CPA_MASK@PLT
	test	eax, ebp
	jne	.L2
.L4:
	xor	r13d, r13d
.L3:
	mov	edi, DWORD PTR [rbx]
	mov	ecx, r12d
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, r12d
	call	SKL_ADSPCS_SPA_MASK@PLT
	test	eax, ebp
	je	.L4
	mov	edi, r12d
	call	SKL_ADSPCS_CRST_MASK@PLT
	test	eax, ebp
	jne	.L4
	mov	edi, r12d
	xor	r13d, r13d
	call	SKL_ADSPCS_CSTALL_MASK@PLT
	test	eax, ebp
	sete	r13b
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	is_skl_dsp_core_enable, .-is_skl_dsp_core_enable
	.comm	SKL_ADSP_REG_ADSPCS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_skl-sst-dsp.c_is_skl_dsp_core_enable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DSP core(s) enabled? %d : core_mask %x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_skl_dsp_core_enable, %function
is_skl_dsp_core_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r1, [r2]
	mov	r6, r0
	bl	sst_dsp_shim_read_unlocked
	mov	r5, r0
	mov	r0, r4
	bl	SKL_ADSPCS_CPA_MASK
	tst	r0, r5
	bne	.L2
.L4:
	mov	r5, #0
.L3:
	mov	r3, r4
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, .L10+4
	bl	dev_dbg
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	bl	SKL_ADSPCS_SPA_MASK
	tst	r0, r5
	beq	.L4
	mov	r0, r4
	bl	SKL_ADSPCS_CRST_MASK
	tst	r0, r5
	bne	.L4
	mov	r0, r4
	bl	SKL_ADSPCS_CSTALL_MASK
	tst	r0, r5
	moveq	r5, #1
	movne	r5, #0
	b	.L3
.L11:
	.align	2
.L10:
	.word	SKL_ADSP_REG_ADSPCS
	.word	.LC0
	.size	is_skl_dsp_core_enable, .-is_skl_dsp_core_enable
	.comm	SKL_ADSP_REG_ADSPCS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
