	.file	"extr_ipc.c__ish_sync_fw_clock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_ish_sync_fw_clock, @function
_ish_sync_fw_clock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR jiffies[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR prev_sync.1932[rip]
	test	rax, rax
	je	.L2
	mov	rcx, rdx
	sub	rcx, rax
	mov	eax, DWORD PTR HZ[rip]
	lea	eax, [rax+rax*4]
	sal	eax, 2
	cdqe
	cmp	rcx, rax
	jb	.L1
.L2:
	xor	eax, eax
	mov	QWORD PTR prev_sync.1932[rip], rdx
	call	ktime_get_boottime@PLT
	mov	edi, eax
	call	ktime_to_us@PLT
	mov	esi, DWORD PTR MNG_SYNC_FW_CLOCK[rip]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	mov	ecx, 4
	mov	DWORD PTR 4[rsp], eax
	call	ipc_send_mng_msg@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	_ish_sync_fw_clock, .-_ish_sync_fw_clock
	.local	prev_sync.1932
	.comm	prev_sync.1932,8,8
	.comm	jiffies,8,8
	.comm	MNG_SYNC_FW_CLOCK,4,4
	.comm	HZ,4,4
	.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_ipc.c__ish_sync_fw_clock.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_ish_sync_fw_clock, %function
_ish_sync_fw_clock:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r1, .L11
	mov	r4, r0
	ldr	r3, [r1]
	ldr	r0, .L11+4
	ldr	r2, .L11+8
	sub	sp, sp, #8
	cmp	r3, #0
	ldr	r0, [r0]
	str	r0, [sp, #4]
	mov	r0,#0
	ldr	r0, [r2]
	beq	.L2
	ldr	r2, .L11+12
	sub	r3, r0, r3
	ldr	r2, [r2]
	add	r2, r2, r2, lsl #2
	cmp	r3, r2, lsl #2
	bcc	.L1
.L2:
	str	r0, [r1]
	bl	ktime_get_boottime
	bl	ktime_to_us
	mov	ip, r0
	ldr	r3, .L11+16
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, sp
	mov	r3, #4
	str	ip, [sp]
	bl	ipc_send_mng_msg
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LANCHOR0
	.word	.LC0
	.word	jiffies
	.word	HZ
	.word	MNG_SYNC_FW_CLOCK
	.size	_ish_sync_fw_clock, .-_ish_sync_fw_clock
	.comm	jiffies,4,4
	.comm	MNG_SYNC_FW_CLOCK,4,4
	.comm	HZ,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	prev_sync.4216, %object
	.size	prev_sync.4216, 4
prev_sync.4216:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
