	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _ish_sync_fw_clock
__ish_sync_fw_clock:                    ## @_ish_sync_fw_clock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	__ish_sync_fw_clock.prev_sync(%rip), %rcx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdx
	subq	%rcx, %rdx
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	cmpq	%rcx, %rdx
	jb	LBB0_3
LBB0_2:
	movq	%rax, __ish_sync_fw_clock.prev_sync(%rip)
	xorl	%eax, %eax
	callq	_ktime_get_boottime
	movl	%eax, %edi
	callq	_ktime_to_us
	movl	%eax, -12(%rbp)
	movq	_MNG_SYNC_FW_CLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_ipc_send_mng_msg
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,__ish_sync_fw_clock.prev_sync,8,3 ## @_ish_sync_fw_clock.prev_sync
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_MNG_SYNC_FW_CLOCK,4,2          ## @MNG_SYNC_FW_CLOCK
	.no_dead_strip	__ish_sync_fw_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _ish_sync_fw_clock
__ish_sync_fw_clock:                    ; @_ish_sync_fw_clock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	adrp	x8, __ish_sync_fw_clock.prev_sync@PAGE
	ldr	x10, [x8, __ish_sync_fw_clock.prev_sync@PAGEOFF]
Lloh0:
	adrp	x9, _jiffies@GOTPAGE
Lloh1:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x10, LBB0_2
; %bb.1:
	sub	x10, x9, x10
Lloh3:
	adrp	x11, _HZ@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HZ@GOTPAGEOFF]
Lloh5:
	ldrsw	x11, [x11]
	add	x11, x11, x11, lsl #2
	cmp	x10, x11, lsl #2
	b.lo	LBB0_3
LBB0_2:
	str	x9, [x8, __ish_sync_fw_clock.prev_sync@PAGEOFF]
	bl	_ktime_get_boottime
	bl	_ktime_to_us
	str	w0, [sp, #12]
Lloh6:
	adrp	x8, _MNG_SYNC_FW_CLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MNG_SYNC_FW_CLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #4
	bl	_ipc_send_mng_msg
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,__ish_sync_fw_clock.prev_sync,8,3 ; @_ish_sync_fw_clock.prev_sync
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_MNG_SYNC_FW_CLOCK,4,2          ; @MNG_SYNC_FW_CLOCK
	.no_dead_strip	__ish_sync_fw_clock
.subsections_via_symbols
