	.file	"extr_clock.c_vlc_clock_main_ChangePause.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vlc_clock_main_ChangePause
	.type	vlc_clock_main_ChangePause, @function
vlc_clock_main_ChangePause:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 16[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, r13
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	vlc_mutex_lock@PLT
	mov	rax, QWORD PTR VLC_TICK_INVALID[rip]
	cmp	QWORD PTR [rbx], rax
	sete	al
	xor	edi, edi
	movzx	eax, al
	cmp	eax, r12d
	sete	dil
	call	assert@PLT
	test	r12d, r12d
	je	.L2
	mov	QWORD PTR [rbx], rbp
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	vlc_mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR VLC_TICK_INVALID[rip]
	sub	rbp, QWORD PTR [rbx]
	cmp	rdx, rax
	je	.L4
	add	rdx, rbp
	add	DWORD PTR 40[rbx], ebp
	mov	QWORD PTR 8[rbx], rdx
.L4:
	mov	rdx, QWORD PTR 32[rbx]
	cmp	rax, rdx
	je	.L5
	add	rdx, rbp
	mov	QWORD PTR 32[rbx], rdx
.L5:
	mov	rsi, QWORD PTR 24[rbx]
	cmp	rax, rsi
	je	.L6
	add	rbp, rsi
	mov	QWORD PTR 24[rbx], rbp
.L6:
	mov	QWORD PTR [rbx], rax
	lea	rdi, 20[rbx]
	call	vlc_cond_broadcast@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vlc_clock_main_ChangePause, .-vlc_clock_main_ChangePause
	.comm	VLC_TICK_INVALID,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_clock.c_vlc_clock_main_ChangePause.c"
	.text
	.align	2
	.global	vlc_clock_main_ChangePause
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlc_clock_main_ChangePause, %function
vlc_clock_main_ChangePause:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r8, .L9
	add	r7, r0, #8
	mov	r0, r7
	mov	r6, r2
	mov	r5, r1
	bl	vlc_mutex_lock
	ldr	r0, [r4]
	ldr	r3, [r8]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	sub	r0, r0, r6
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	cmp	r6, #0
	strne	r5, [r4]
	bne	.L3
	ldm	r4, {r1, r2}
	mov	r0, r4
	ldr	r3, [r8]
	sub	r5, r5, r1
	cmp	r2, r3
	ldrne	r1, [r4, #24]
	addne	r2, r5, r2
	strne	r2, [r4, #4]
	ldr	r2, [r4, #20]
	addne	r1, r5, r1
	strne	r1, [r4, #24]
	ldr	r1, [r4, #16]
	cmp	r3, r2
	addne	r2, r5, r2
	strne	r2, [r4, #20]
	cmp	r3, r1
	addne	r5, r5, r1
	strne	r5, [r4, #16]
	str	r3, [r0], #12
	bl	vlc_cond_broadcast
.L3:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	vlc_mutex_unlock
.L10:
	.align	2
.L9:
	.word	VLC_TICK_INVALID
	.size	vlc_clock_main_ChangePause, .-vlc_clock_main_ChangePause
	.comm	VLC_TICK_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
