	.file	"extr_ntp.c_ntp_update_frequency.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ntp_update_frequency, @function
ntp_update_frequency:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR NTP_SCALE_SHIFT[rip]
	mov	rdi, QWORD PTR time_freq[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, DWORD PTR tick_usec[rip]
	imul	ebp, DWORD PTR NSEC_PER_USEC[rip]
	imul	ebp, DWORD PTR USER_HZ[rip]
	add	edi, DWORD PTR ntp_tick_adj[rip]
	mov	esi, DWORD PTR HZ[rip]
	sal	ebp, cl
	add	ebp, edi
	mov	edi, ebp
	call	div_u64@PLT
	mov	ecx, DWORD PTR NTP_SCALE_SHIFT[rip]
	mov	esi, DWORD PTR NTP_INTERVAL_FREQ[rip]
	mov	edi, ebp
	sar	eax, cl
	mov	DWORD PTR tick_nsec[rip], eax
	call	div_u64@PLT
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	edx, eax
	sub	edx, DWORD PTR tick_length_base[rip]
	mov	DWORD PTR tick_length_base[rip], eax
	add	DWORD PTR tick_length[rip], edx
	ret
	.cfi_endproc
.LFE0:
	.size	ntp_update_frequency, .-ntp_update_frequency
	.comm	time_freq,8,8
	.comm	tick_usec,4,4
	.comm	tick_nsec,4,4
	.comm	tick_length_base,4,4
	.comm	tick_length,4,4
	.comm	ntp_tick_adj,8,8
	.comm	USER_HZ,4,4
	.comm	NTP_SCALE_SHIFT,4,4
	.comm	NTP_INTERVAL_FREQ,4,4
	.comm	NSEC_PER_USEC,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_ntp.c_ntp_update_frequency.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ntp_update_frequency, %function
ntp_update_frequency:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L4
	ldr	r3, .L4+4
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r4, [r2]
	ldr	r2, .L4+8
	mul	r4, r3, r4
	ldr	r3, [r2]
	ldr	r5, .L4+12
	mul	r3, r4, r3
	ldr	r0, .L4+16
	ldr	r2, .L4+20
	ldr	r1, [r5]
	ldr	r4, [r0]
	ldr	r2, [r2]
	add	r4, r4, r3, lsl r1
	ldr	r3, .L4+24
	add	r4, r4, r2
	ldr	r1, [r3]
	mov	r0, r4
	bl	div_u64
	mov	r3, r0
	ldr	ip, [r5]
	ldr	r1, .L4+28
	ldr	r2, .L4+32
	asr	r3, r3, ip
	ldr	r1, [r1]
	mov	r0, r4
	str	r3, [r2]
	bl	div_u64
	ldr	r1, .L4+36
	ldr	r2, .L4+40
	ldr	r3, [r1]
	ldr	ip, [r2]
	sub	r3, r0, r3
	add	r3, r3, ip
	str	r0, [r1]
	str	r3, [r2]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	tick_usec
	.word	NSEC_PER_USEC
	.word	USER_HZ
	.word	NTP_SCALE_SHIFT
	.word	ntp_tick_adj
	.word	time_freq
	.word	HZ
	.word	NTP_INTERVAL_FREQ
	.word	tick_nsec
	.word	tick_length_base
	.word	tick_length
	.size	ntp_update_frequency, .-ntp_update_frequency
	.comm	time_freq,4,4
	.comm	tick_usec,4,4
	.comm	tick_nsec,4,4
	.comm	tick_length_base,4,4
	.comm	tick_length,4,4
	.comm	ntp_tick_adj,4,4
	.comm	USER_HZ,4,4
	.comm	NTP_SCALE_SHIFT,4,4
	.comm	NTP_INTERVAL_FREQ,4,4
	.comm	NSEC_PER_USEC,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
