	.file	"extr_timekeeping.c_tk_normalize_xtime.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tk_normalize_xtime, @function
tk_normalize_xtime:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rsi, QWORD PTR NSEC_PER_SEC[rip]
	mov	ecx, DWORD PTR 20[rdi]
	mov	eax, DWORD PTR 16[rdi]
	mov	edx, esi
	sal	edx, cl
	mov	ecx, edx
	cmp	eax, edx
	jl	.L2
	mov	edx, DWORD PTR 12[rdi]
	add	edx, 1
	.p2align 4,,10
	.p2align 3
.L3:
	sub	eax, ecx
	mov	r8d, edx
	add	edx, 1
	cmp	eax, ecx
	jge	.L3
	mov	DWORD PTR 16[rdi], eax
	mov	DWORD PTR 12[rdi], r8d
.L2:
	mov	ecx, DWORD PTR 8[rdi]
	mov	eax, DWORD PTR 4[rdi]
	sal	esi, cl
	mov	ecx, esi
	cmp	esi, eax
	jg	.L1
	mov	esi, DWORD PTR [rdi]
	lea	edx, 1[rsi]
	.p2align 4,,10
	.p2align 3
.L5:
	sub	eax, ecx
	mov	esi, edx
	add	edx, 1
	cmp	eax, ecx
	jge	.L5
	mov	DWORD PTR 4[rdi], eax
	mov	DWORD PTR [rdi], esi
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	tk_normalize_xtime, .-tk_normalize_xtime
	.comm	NSEC_PER_SEC,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_timekeeping.c_tk_normalize_xtime.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tk_normalize_xtime, %function
tk_normalize_xtime:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L10
	ldr	ip, [r0, #20]
	ldr	r1, [r2]
	ldr	r3, [r0, #16]
	str	lr, [sp, #-4]!
	cmp	r3, r1, lsl ip
	lsl	ip, r1, ip
	blt	.L2
	ldr	r2, [r0, #12]
	add	r2, r2, #1
.L3:
	sub	r3, r3, ip
	cmp	r3, ip
	mov	lr, r2
	add	r2, r2, #1
	bge	.L3
	str	r3, [r0, #16]
	str	lr, [r0, #12]
.L2:
	ldr	r2, [r0, #8]
	ldr	r3, [r0, #4]
	cmp	r3, r1, lsl r2
	lsl	r1, r1, r2
	ldrlt	pc, [sp], #4
	ldr	r2, [r0]
	add	r2, r2, #1
.L5:
	sub	r3, r3, r1
	cmp	r3, r1
	mov	ip, r2
	add	r2, r2, #1
	bge	.L5
	str	r3, [r0, #4]
	str	ip, [r0]
	ldr	pc, [sp], #4
.L11:
	.align	2
.L10:
	.word	NSEC_PER_SEC
	.size	tk_normalize_xtime, .-tk_normalize_xtime
	.comm	NSEC_PER_SEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
