	.file	"extr_lola_clock.c_lola_set_clock_index.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"error in set_clock %d\n"
	.text
	.p2align 4
	.globl	lola_set_clock_index
	.type	lola_set_clock_index, @function
lola_set_clock_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, esi
	xor	r8d, r8d
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 40
	mov	edx, DWORD PTR LOLA_VERB_SET_CLOCK_SELECT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	ecx, DWORD PTR [rax+rsi*4]
	mov	esi, DWORD PTR 16[rdi]
	push	0
	.cfi_def_cfa_offset 48
	lea	r9, 20[rsp]
	call	lola_codec_read@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	test	eax, eax
	js	.L1
	mov	edx, DWORD PTR 4[rsp]
	xor	eax, eax
	test	edx, edx
	jne	.L8
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [rax]
	call	dev_warn@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lola_set_clock_index, .-lola_set_clock_index
	.comm	LOLA_VERB_SET_CLOCK_SELECT,4,4
	.comm	EINVAL,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_lola_clock.c_lola_set_clock_index.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error in set_clock %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lola_set_clock_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	lola_set_clock_index, %function
lola_set_clock_index:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, lr}
	ldr	r3, [r0, #4]
	sub	sp, sp, #24
	ldr	lr, .L9
	ldr	r3, [r3, r1, lsl #2]
	add	ip, sp, #16
	ldr	r1, [r0, #8]
	str	r2, [sp, #8]
	str	r2, [sp]
	ldr	r2, [lr]
	str	ip, [sp, #4]
	ldr	ip, .L9+4
	mov	r4, r0
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	lola_codec_read
	cmp	r0, #0
	blt	.L1
	ldr	r0, [sp, #16]
	cmp	r0, #0
	bne	.L7
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L7:
	ldr	r3, [r4]
	mov	r2, r0
	ldr	r1, .L9+8
	ldr	r0, [r3]
	bl	dev_warn
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	LOLA_VERB_SET_CLOCK_SELECT
	.word	.LC1
	.word	.LC0
	.word	EINVAL
	.size	lola_set_clock_index, .-lola_set_clock_index
	.comm	LOLA_VERB_SET_CLOCK_SELECT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
