	.file	"extr_seq_timer.c_snd_seq_timer_set_tick_resolution.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_seq_timer_set_tick_resolution, @function
snd_seq_timer_set_tick_resolution:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	esi, DWORD PTR 4[rdi]
	cmp	eax, 999999
	jg	.L2
	imul	eax, eax, 1000
	cdq
	idiv	esi
.L3:
	test	eax, eax
	mov	edx, 1
	cmovle	eax, edx
	add	rdi, 8
	xor	esi, esi
	mov	DWORD PTR [rdi], eax
	jmp	snd_seq_timer_update_tick@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	cdq
	idiv	esi
	imul	edx, edx, 1000
	imul	ecx, eax, 1000
	mov	eax, edx
	xor	edx, edx
	div	esi
	add	eax, ecx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	snd_seq_timer_set_tick_resolution, .-snd_seq_timer_set_tick_resolution
	.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_tick_resolution.c"
	.text
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_seq_timer_set_tick_resolution, %function
snd_seq_timer_set_tick_resolution:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r3, .L8
	ldr	r0, [r0]
	ldr	r6, [r5, #4]
	cmp	r0, r3
	bge	.L2
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	mov	r1, r6
	lsl	r0, r0, #3
	bl	__aeabi_idiv
.L3:
	cmp	r0, #0
	movle	r3, #1
	strgt	r0, [r5, #8]
	strle	r3, [r5, #8]
	add	r0, r5, #8
	mov	r1, #0
	pop	{r4, r5, r6, lr}
	b	snd_seq_timer_update_tick
.L2:
	mov	r1, r6
	bl	__aeabi_idivmod
	mov	r3, r0
	rsb	r0, r1, r1, lsl #5
	add	r0, r1, r0, lsl #2
	rsb	r4, r3, r3, lsl #5
	add	r3, r3, r4, lsl #2
	mov	r1, r6
	lsl	r0, r0, #3
	lsl	r4, r3, #3
	bl	__aeabi_uidiv
	add	r0, r4, r0
	b	.L3
.L9:
	.align	2
.L8:
	.word	1000000
	.size	snd_seq_timer_set_tick_resolution, .-snd_seq_timer_set_tick_resolution
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
