	.file	"extr_seq_timer.c_snd_seq_timer_set_tempo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_seq_timer_set_tempo
	.type	snd_seq_timer_set_tempo, @function
snd_seq_timer_set_tempo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	test	rdi, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sete	dil
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movzx	edi, dil
	mov	ebx, esi
	call	snd_BUG_ON@PLT
	test	rax, rax
	jne	.L4
	test	ebx, ebx
	jle	.L4
	lea	r12, 4[rbp]
	xor	esi, esi
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jne	.L8
	xor	esi, esi
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
	xor	eax, eax
.L9:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	DWORD PTR 0[rbp], ebx
	mov	rdi, rbp
	call	snd_seq_timer_set_tick_resolution@PLT
	xor	esi, esi
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
	xor	eax, eax
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	snd_seq_timer_set_tempo, .-snd_seq_timer_set_tempo
	.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_seq_timer.c_snd_seq_timer_set_tempo.c"
	.text
	.align	2
	.global	snd_seq_timer_set_tempo
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_seq_timer_set_tempo, %function
snd_seq_timer_set_tempo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	mov	r6, r1
	bl	snd_BUG_ON
	subs	r4, r0, #0
	bne	.L4
	cmp	r6, #0
	ble	.L4
	add	r7, r5, #4
	mov	r0, r7
	mov	r1, #0
	bl	spin_lock_irqsave
	ldr	r3, [r5]
	cmp	r3, r6
	bne	.L8
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
.L9:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r5
	str	r6, [r5]
	bl	snd_seq_timer_set_tick_resolution
	mov	r0, r7
	mov	r1, #0
	bl	spin_unlock_irqrestore
	b	.L9
.L11:
	.align	2
.L10:
	.word	EINVAL
	.size	snd_seq_timer_set_tempo, .-snd_seq_timer_set_tempo
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
