	.file	"extr_layla24_dsp.c_detect_input_clocks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	detect_input_clocks, @function
detect_input_clocks:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rax]
	call	le32_to_cpu@PLT
	mov	r8d, DWORD PTR ECHO_CLOCK_BIT_INTERNAL[rip]
	test	DWORD PTR GML_CLOCK_DETECT_BIT_SPDIF[rip], eax
	je	.L2
	or	r8d, DWORD PTR ECHO_CLOCK_BIT_SPDIF[rip]
.L2:
	test	DWORD PTR GML_CLOCK_DETECT_BIT_ADAT[rip], eax
	je	.L3
	or	r8d, DWORD PTR ECHO_CLOCK_BIT_ADAT[rip]
.L3:
	test	DWORD PTR GML_CLOCK_DETECT_BIT_WORD[rip], eax
	je	.L1
	or	r8d, DWORD PTR ECHO_CLOCK_BIT_WORD[rip]
.L1:
	mov	eax, r8d
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	detect_input_clocks, .-detect_input_clocks
	.comm	GML_CLOCK_DETECT_BIT_WORD,4,4
	.comm	GML_CLOCK_DETECT_BIT_SPDIF,4,4
	.comm	GML_CLOCK_DETECT_BIT_ADAT,4,4
	.comm	ECHO_CLOCK_BIT_WORD,4,4
	.comm	ECHO_CLOCK_BIT_SPDIF,4,4
	.comm	ECHO_CLOCK_BIT_INTERNAL,4,4
	.comm	ECHO_CLOCK_BIT_ADAT,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_layla24_dsp.c_detect_input_clocks.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_input_clocks, %function
detect_input_clocks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, lr}
	ldr	r0, [r3]
	bl	le32_to_cpu
	mov	r3, r0
	ldr	r2, .L16
	ldr	r1, .L16+4
	ldr	r2, [r2]
	ldr	r0, [r1]
	tst	r3, r2
	ldrne	r2, .L16+8
	ldrne	r2, [r2]
	orrne	r0, r0, r2
	ldr	r2, .L16+12
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r2, .L16+16
	ldrne	r2, [r2]
	orrne	r0, r0, r2
	ldr	r2, .L16+20
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r3, .L16+24
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	pop	{r4, pc}
.L17:
	.align	2
.L16:
	.word	GML_CLOCK_DETECT_BIT_SPDIF
	.word	ECHO_CLOCK_BIT_INTERNAL
	.word	ECHO_CLOCK_BIT_SPDIF
	.word	GML_CLOCK_DETECT_BIT_ADAT
	.word	ECHO_CLOCK_BIT_ADAT
	.word	GML_CLOCK_DETECT_BIT_WORD
	.word	ECHO_CLOCK_BIT_WORD
	.size	detect_input_clocks, .-detect_input_clocks
	.comm	GML_CLOCK_DETECT_BIT_WORD,4,4
	.comm	GML_CLOCK_DETECT_BIT_SPDIF,4,4
	.comm	GML_CLOCK_DETECT_BIT_ADAT,4,4
	.comm	ECHO_CLOCK_BIT_WORD,4,4
	.comm	ECHO_CLOCK_BIT_SPDIF,4,4
	.comm	ECHO_CLOCK_BIT_INTERNAL,4,4
	.comm	ECHO_CLOCK_BIT_ADAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
