	.file	"extr_seq_timer.c_snd_seq_timer_get_cur_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_seq_timer_get_cur_time
	.type	snd_seq_timer_get_cur_time, @function
snd_seq_timer_get_cur_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	sub	rsp, 48
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 24[rdi]
	cmp	QWORD PTR 16[rdi], 0
	mov	QWORD PTR 8[rsp], rax
	jne	.L8
.L2:
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	mov	rax, QWORD PTR 8[rsp]
	jne	.L9
	add	rsp, 48
	.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	rbx, rdi
	lea	rdi, 16[rsp]
	call	do_gettimeofday@PLT
	mov	rax, QWORD PTR 24[rsp]
	sub	eax, DWORD PTR 8[rbx]
	js	.L10
	imul	eax, eax, 1000
	add	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR 16[rsp]
	sub	eax, DWORD PTR [rbx]
	add	DWORD PTR 12[rsp], eax
.L4:
	lea	rdi, 8[rsp]
	call	snd_seq_sanity_real_time@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	add	eax, 1000000
	imul	eax, eax, 1000
	add	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR 16[rsp]
	sub	eax, DWORD PTR [rbx]
	sub	eax, 1
	add	DWORD PTR 12[rsp], eax
	jmp	.L4
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_seq_timer_get_cur_time, .-snd_seq_timer_get_cur_time
	.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_get_cur_time.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	snd_seq_timer_get_cur_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_seq_timer_get_cur_time, %function
snd_seq_timer_get_cur_time:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r3, [r1, #8]
	sub	sp, sp, #24
	mov	r5, r0
	ldr	r1, [r1, #16]
	ldr	r0, [r4, #12]
	cmp	r3, #0
	ldr	r3, .L14
	add	r6, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	stm	r6, {r0, r1}
	bne	.L11
.L2:
	ldm	r6, {r0, r1}
	stm	r5, {r0, r1}
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	add	r0, sp, #12
	bl	do_gettimeofday
	ldr	r3, [sp, #16]
	ldr	r2, [r4, #4]
	subs	r3, r3, r2
	bmi	.L13
	ldr	r2, [r4]
	ldr	r0, [sp, #12]
	ldr	r1, [sp, #8]
	sub	r0, r0, r2
	rsb	r2, r3, r3, lsl #5
	add	r3, r3, r2, lsl #2
	ldr	r2, [sp, #4]
	add	r1, r1, r0
	add	r3, r2, r3, lsl #3
	str	r1, [sp, #8]
	str	r3, [sp, #4]
.L4:
	mov	r0, r6
	bl	snd_seq_sanity_real_time
	b	.L2
.L13:
	ldr	r1, [r4]
	ldr	r2, [sp, #12]
	add	r3, r3, #999424
	add	r3, r3, #576
	sub	r2, r2, r1
	rsb	r1, r3, r3, lsl #5
	ldr	r0, [sp, #8]
	add	r3, r3, r1, lsl #2
	ldr	r1, [sp, #4]
	sub	r2, r2, #1
	add	r2, r0, r2
	add	r3, r1, r3, lsl #3
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	b	.L4
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	snd_seq_timer_get_cur_time, .-snd_seq_timer_get_cur_time
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
