	.file	"extr_mia_dsp.c_set_input_clock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"set_input_clock(%d)\n"
	.text
	.p2align 4
	.type	set_input_clock, @function
set_input_clock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	rdx, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR [rax]
	call	dev_dbg@PLT
	xor	edi, edi
	cmp	QWORD PTR ECHO_CLOCK_INTERNAL[rip], rbx
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR ECHO_CLOCK_SPDIF[rip], rbx
	setne	dil
.L2:
	call	snd_BUG_ON@PLT
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	QWORD PTR 8[rbp], rbx
	mov	esi, DWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	set_sample_rate@PLT
	.cfi_endproc
.LFE0:
	.size	set_input_clock, .-set_input_clock
	.comm	EINVAL,4,4
	.comm	ECHO_CLOCK_SPDIF,8,8
	.comm	ECHO_CLOCK_INTERNAL,8,8
	.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_mia_dsp.c_set_input_clock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"set_input_clock(%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_input_clock, %function
set_input_clock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r3, [r0, #8]
	mov	r2, r1
	mov	r5, r0
	ldr	r1, .L9
	ldr	r0, [r3]
	bl	dev_dbg
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, r4
	moveq	r0, #0
	beq	.L2
	ldr	r3, .L9+8
	ldr	r0, [r3]
	subs	r0, r0, r4
	movne	r0, #1
.L2:
	bl	snd_BUG_ON
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r5
	ldr	r1, [r5]
	str	r4, [r5, #4]
	pop	{r4, r5, r6, lr}
	b	set_sample_rate
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	ECHO_CLOCK_INTERNAL
	.word	ECHO_CLOCK_SPDIF
	.word	EINVAL
	.size	set_input_clock, .-set_input_clock
	.comm	EINVAL,4,4
	.comm	ECHO_CLOCK_SPDIF,4,4
	.comm	ECHO_CLOCK_INTERNAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
