	.file	"extr_ffplay.c_sync_clock_to_slave.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sync_clock_to_slave, @function
sync_clock_to_slave:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	call	get_clock@PLT
	mov	rdi, rbx
	movsd	QWORD PTR 8[rsp], xmm0
	call	get_clock@PLT
	movsd	QWORD PTR [rsp], xmm0
	call	isnan@PLT
	test	rax, rax
	je	.L9
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movsd	xmm0, QWORD PTR 8[rsp]
	call	isnan@PLT
	movsd	xmm1, QWORD PTR [rsp]
	test	rax, rax
	je	.L4
.L5:
	mov	esi, DWORD PTR [rbx]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	movapd	xmm0, xmm1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	set_clock@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	movsd	xmm0, QWORD PTR 8[rsp]
	movsd	QWORD PTR [rsp], xmm1
	subsd	xmm0, xmm1
	call	fabs@PLT
	cmp	rax, QWORD PTR AV_NOSYNC_THRESHOLD[rip]
	movsd	xmm1, QWORD PTR [rsp]
	jg	.L5
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sync_clock_to_slave, .-sync_clock_to_slave
	.comm	AV_NOSYNC_THRESHOLD,8,8
	.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_ffplay.c_sync_clock_to_slave.c"
	.text
	.global	__aeabi_dsub
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sync_clock_to_slave, %function
sync_clock_to_slave:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r4, r1
	mov	r5, r0
	bl	get_clock
	mov	r6, r0
	mov	r0, r4
	mov	r7, r1
	bl	get_clock
	mov	r8, r0
	mov	r9, r1
	bl	isnan
	cmp	r0, #0
	beq	.L9
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	mov	r0, r6
	mov	r1, r7
	bl	isnan
	cmp	r0, #0
	beq	.L4
.L5:
	ldr	r1, [r4]
	mov	r2, r8
	mov	r3, r9
	mov	r0, r5
	str	r1, [sp]
	bl	set_clock
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	mov	r3, r9
	mov	r2, r8
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	bl	fabs
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r0, r3
	bgt	.L5
	b	.L1
.L11:
	.align	2
.L10:
	.word	AV_NOSYNC_THRESHOLD
	.size	sync_clock_to_slave, .-sync_clock_to_slave
	.comm	AV_NOSYNC_THRESHOLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
