	.file	"extr_dsoundrender.c_pos_from_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pos_from_time, @function
pos_from_time:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	rdi, QWORD PTR [rax]
	imul	esi, DWORD PTR [rdi]
	movsx	rcx, esi
	sar	esi, 31
	imul	rcx, rcx, 1801439851
	sar	rcx, 54
	sub	ecx, esi
	mov	eax, ecx
	cdq
	idiv	DWORD PTR 4[rdi]
	mov	eax, ecx
	sub	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	pos_from_time, .-pos_from_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_dsoundrender.c_pos_from_time.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pos_from_time, %function
pos_from_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	ldr	r2, [r0]
	push	{r4, lr}
	ldr	r2, [r2]
	ldr	r4, .L4
	ldm	r2, {r0, r1}
	mul	r3, r0, r3
	smull	r2, r4, r3, r4
	asr	r3, r3, #31
	rsb	r4, r3, r4, asr #22
	mov	r0, r4
	bl	__aeabi_idivmod
	sub	r0, r4, r1
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	1801439851
	.size	pos_from_time, .-pos_from_time
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
