	.file	"870786.c"
	.intel_syntax noprefix
	.text
	.globl	nerrs
	.bss
	.align 4
	.type	nerrs, @object
	.size	nerrs, 4
nerrs:
	.zero	4
	.globl	vdso_clock_gettime
	.align 8
	.type	vdso_clock_gettime, @object
	.size	vdso_clock_gettime, 8
vdso_clock_gettime:
	.zero	8
	.globl	vdso_gettimeofday
	.align 8
	.type	vdso_gettimeofday, @object
	.size	vdso_gettimeofday, 8
vdso_gettimeofday:
	.zero	8
	.globl	vgetcpu
	.align 8
	.type	vgetcpu, @object
	.size	vgetcpu, 8
vgetcpu:
	.zero	8
	.globl	vdso_getcpu
	.align 8
	.type	vdso_getcpu, @object
	.size	vdso_getcpu, 8
vdso_getcpu:
	.zero	8
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"/proc/self/maps"
	.align 8
.LC2:
	.string	"%p-%p %c-%cp %*x %*x:%*x %*u %s"
.LC3:
	.string	"[vsyscall]"
	.align 8
.LC4:
	.string	"Warning: failed to find vsyscall getcpu"
	.text
	.type	vsyscall_getcpu, @function
vsyscall_getcpu:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -297[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L4
	mov	eax, 0
	jmp	.L11
.L9:
	lea	r8, -298[rbp]
	lea	rdi, -299[rbp]
	lea	rcx, -288[rbp]
	lea	rdx, -296[rbp]
	lea	rax, -272[rbp]
	sub	rsp, 8
	lea	rsi, -144[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 16
	cmp	eax, 5
	jne	.L13
	lea	rax, -144[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	BYTE PTR -297[rbp], 1
	jmp	.L8
.L13:
	nop
	jmp	.L4
.L14:
	nop
.L4:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L9
.L8:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movzx	eax, BYTE PTR -297[rbp]
	xor	eax, 1
	test	al, al
	je	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L11
.L10:
	mov	rax, -10483712
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	vsyscall_getcpu, .-vsyscall_getcpu
	.section	.rodata
.LC5:
	.string	"linux-vdso.so.1"
.LC6:
	.string	"linux-gate.so.1"
.LC7:
	.string	"[WARN]\tfailed to find vDSO"
.LC8:
	.string	"__vdso_getcpu"
	.align 8
.LC9:
	.string	"Warning: failed to find getcpu in vDSO"
.LC10:
	.string	"__vdso_clock_gettime"
	.align 8
.LC11:
	.string	"Warning: failed to find clock_gettime in vDSO"
.LC12:
	.string	"__vdso_gettimeofday"
	.align 8
.LC13:
	.string	"Warning: failed to find gettimeofday in vDSO"
	.text
	.type	fill_function_pointers, @function
fill_function_pointers:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	esi, 5
	lea	rdi, .LC5[rip]
	call	dlopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L16
	mov	esi, 5
	lea	rdi, .LC6[rip]
	call	dlopen@PLT
	mov	QWORD PTR -8[rbp], rax
.L16:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L15
.L17:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	dlsym@PLT
	mov	QWORD PTR vdso_getcpu[rip], rax
	mov	rax, QWORD PTR vdso_getcpu[rip]
	test	rax, rax
	jne	.L19
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L19:
	call	vsyscall_getcpu
	mov	QWORD PTR vgetcpu[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	dlsym@PLT
	mov	QWORD PTR vdso_clock_gettime[rip], rax
	mov	rax, QWORD PTR vdso_clock_gettime[rip]
	test	rax, rax
	jne	.L20
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L20:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	dlsym@PLT
	mov	QWORD PTR vdso_gettimeofday[rip], rax
	mov	rax, QWORD PTR vdso_gettimeofday[rip]
	test	rax, rax
	jne	.L15
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fill_function_pointers, .-fill_function_pointers
	.type	sys_getcpu, @function
sys_getcpu:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 309
	mov	eax, 0
	call	syscall@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sys_getcpu, .-sys_getcpu
	.type	sys_clock_gettime, @function
sys_clock_gettime:
.LFB9:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	edi, 228
	mov	eax, 0
	call	syscall@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	sys_clock_gettime, .-sys_clock_gettime
	.type	sys_gettimeofday, @function
sys_gettimeofday:
.LFB10:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 96
	mov	eax, 0
	call	syscall@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	sys_gettimeofday, .-sys_gettimeofday
	.section	.rodata
.LC14:
	.string	"[RUN]\tTesting getcpu..."
.LC15:
	.string	"OK"
.LC16:
	.string	"FAIL"
.LC17:
	.string	"[%s]\tCPU %u:"
.LC18:
	.string	" syscall: cpu %u, node %u"
.LC19:
	.string	" vdso: cpu %u, node %u"
.LC20:
	.string	" vsyscall: cpu %u, node %u"
	.text
	.type	test_getcpu, @function
test_getcpu:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR -184[rbp], 0
.L49:
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	mov	QWORD PTR -160[rbp], rax
	cmp	QWORD PTR -160[rbp], 1023
	ja	.L29
	mov	rax, QWORD PTR -160[rbp]
	shr	rax, 6
	lea	rdx, 0[0+rax*8]
	lea	rcx, -144[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -160[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	lea	rcx, 0[0+rax*8]
	lea	rax, -144[rbp]
	add	rax, rcx
	or	rdx, rsi
	mov	QWORD PTR [rax], rdx
.L29:
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 128
	mov	edi, 0
	call	sched_setaffinity@PLT
	test	eax, eax
	jne	.L52
	mov	QWORD PTR -176[rbp], 1
	mov	QWORD PTR -168[rbp], 1
	lea	rcx, -196[rbp]
	lea	rax, -208[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	sys_getcpu
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR vdso_getcpu[rip]
	test	rax, rax
	je	.L32
	mov	r8, QWORD PTR vdso_getcpu[rip]
	lea	rcx, -192[rbp]
	lea	rax, -204[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	mov	QWORD PTR -176[rbp], rax
.L32:
	mov	rax, QWORD PTR vgetcpu[rip]
	test	rax, rax
	je	.L33
	mov	r8, QWORD PTR vgetcpu[rip]
	lea	rcx, -188[rbp]
	lea	rax, -200[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	mov	QWORD PTR -168[rbp], rax
.L33:
	cmp	QWORD PTR -152[rbp], 0
	jne	.L34
	mov	eax, DWORD PTR -196[rbp]
	mov	DWORD PTR -180[rbp], eax
	jmp	.L35
.L34:
	cmp	QWORD PTR -176[rbp], 0
	jne	.L36
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR -180[rbp], eax
	jmp	.L35
.L36:
	cmp	QWORD PTR -168[rbp], 0
	jne	.L35
	mov	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR -180[rbp], eax
.L35:
	mov	BYTE PTR -209[rbp], 1
	cmp	QWORD PTR -152[rbp], 0
	jne	.L37
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -184[rbp]
	cmp	edx, eax
	jne	.L38
	mov	eax, DWORD PTR -196[rbp]
	cmp	DWORD PTR -180[rbp], eax
	je	.L37
.L38:
	mov	BYTE PTR -209[rbp], 0
.L37:
	cmp	QWORD PTR -176[rbp], 0
	jne	.L39
	mov	edx, DWORD PTR -204[rbp]
	mov	eax, DWORD PTR -184[rbp]
	cmp	edx, eax
	jne	.L40
	mov	eax, DWORD PTR -192[rbp]
	cmp	DWORD PTR -180[rbp], eax
	je	.L39
.L40:
	mov	BYTE PTR -209[rbp], 0
.L39:
	cmp	QWORD PTR -168[rbp], 0
	jne	.L41
	mov	edx, DWORD PTR -200[rbp]
	mov	eax, DWORD PTR -184[rbp]
	cmp	edx, eax
	jne	.L42
	mov	eax, DWORD PTR -188[rbp]
	cmp	DWORD PTR -180[rbp], eax
	je	.L41
.L42:
	mov	BYTE PTR -209[rbp], 0
.L41:
	cmp	BYTE PTR -209[rbp], 0
	je	.L43
	lea	rax, .LC15[rip]
	jmp	.L44
.L43:
	lea	rax, .LC16[rip]
.L44:
	mov	edx, DWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -152[rbp], 0
	jne	.L45
	mov	edx, DWORD PTR -196[rbp]
	mov	eax, DWORD PTR -208[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	cmp	QWORD PTR -176[rbp], 0
	jne	.L46
	mov	edx, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L46:
	cmp	QWORD PTR -168[rbp], 0
	jne	.L47
	mov	edx, DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -200[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L47:
	mov	edi, 10
	call	putchar@PLT
	movzx	eax, BYTE PTR -209[rbp]
	xor	eax, 1
	test	al, al
	je	.L48
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
.L48:
	add	DWORD PTR -184[rbp], 1
	jmp	.L49
.L52:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	test_getcpu, .-test_getcpu
	.type	ts_leq, @function
ts_leq:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L54
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	setl	al
	jmp	.L55
.L54:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	setle	al
.L55:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	ts_leq, .-ts_leq
	.type	tv_leq, @function
tv_leq:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L57
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	setl	al
	jmp	.L58
.L57:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	setle	al
.L58:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	tv_leq, .-tv_leq
	.section	.rodata
.LC21:
	.string	"CLOCK_REALTIME"
.LC22:
	.string	"CLOCK_MONOTONIC"
.LC23:
	.string	"CLOCK_PROCESS_CPUTIME_ID"
.LC24:
	.string	"CLOCK_THREAD_CPUTIME_ID"
.LC25:
	.string	"CLOCK_MONOTONIC_RAW"
.LC26:
	.string	"CLOCK_REALTIME_COARSE"
.LC27:
	.string	"CLOCK_MONOTONIC_COARSE"
.LC28:
	.string	"CLOCK_BOOTTIME"
.LC29:
	.string	"CLOCK_REALTIME_ALARM"
.LC30:
	.string	"CLOCK_BOOTTIME_ALARM"
.LC31:
	.string	"CLOCK_SGI_CYCLE"
.LC32:
	.string	"CLOCK_TAI"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	clocknames, @object
	.size	clocknames, 96
clocknames:
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC32
	.section	.rodata
	.align 8
.LC33:
	.string	"[RUN]\tTesting clock_gettime for clock %s (%d)...\n"
.LC34:
	.string	"[OK]\tNo such clock."
	.align 8
.LC35:
	.string	"[FAIL]\tNo such clock, but __vdso_clock_gettime returned %d\n"
	.align 8
.LC36:
	.string	"[WARN]\t clock_gettime(%d) syscall returned error %d\n"
	.align 8
.LC37:
	.string	"[FAIL]\tvDSO returned %d, syscall errno=%d\n"
	.align 8
.LC38:
	.string	"\t%llu.%09ld %llu.%09ld %llu.%09ld\n"
	.align 8
.LC39:
	.string	"[FAIL]\tTimes are out of sequence"
	.text
	.type	test_one_clock_gettime, @function
test_one_clock_gettime:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR -84[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	sys_clock_gettime
	test	eax, eax
	jns	.L60
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	jne	.L61
	mov	rcx, QWORD PTR vdso_clock_gettime[rip]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcx
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], -22
	jne	.L62
	lea	rdi, .LC34[rip]
	call	puts@PLT
	jmp	.L59
.L62:
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
	jmp	.L59
.L61:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L60:
	mov	rcx, QWORD PTR vdso_clock_gettime[rip]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcx
	mov	DWORD PTR -72[rbp], eax
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	sys_clock_gettime
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	jne	.L65
	cmp	DWORD PTR -68[rbp], 0
	je	.L66
.L65:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
	jmp	.L59
.L66:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r8, rax
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r10, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdi, rcx
	sub	rsp, 8
	push	rdx
	mov	r9, r8
	mov	r8, rsi
	mov	rcx, r10
	mov	rdx, rax
	mov	rsi, rdi
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rdx, -48[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ts_leq
	xor	eax, 1
	test	al, al
	jne	.L67
	lea	rdx, -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ts_leq
	xor	eax, 1
	test	al, al
	je	.L59
.L67:
	lea	rdi, .LC39[rip]
	call	puts@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
.L59:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	test_one_clock_gettime, .-test_one_clock_gettime
	.section	.rodata
	.align 8
.LC40:
	.string	"[SKIP]\tNo vDSO, so skipping clock_gettime() tests"
.LC41:
	.string	"invalid"
	.text
	.type	test_clock_gettime, @function
test_clock_gettime:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR vdso_clock_gettime[rip]
	test	rax, rax
	jne	.L72
	lea	rdi, .LC40[rip]
	call	puts@PLT
	jmp	.L71
.L72:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L74
.L75:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, clocknames[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	test_one_clock_gettime
	add	DWORD PTR -4[rbp], 1
.L74:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 11
	jbe	.L75
	lea	rsi, .LC41[rip]
	mov	edi, -1
	call	test_one_clock_gettime
	lea	rsi, .LC41[rip]
	mov	edi, -2147483648
	call	test_one_clock_gettime
	lea	rsi, .LC41[rip]
	mov	edi, 2147483647
	call	test_one_clock_gettime
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	test_clock_gettime, .-test_clock_gettime
	.section	.rodata
.LC42:
	.string	"[RUN]\tTesting gettimeofday..."
	.align 8
.LC43:
	.string	"[FAIL]\tsys_gettimeofday failed (%d)\n"
	.align 8
.LC44:
	.string	"\t%llu.%06ld %llu.%06ld %llu.%06ld\n"
	.align 8
.LC45:
	.string	"[OK]\ttimezones match: minuteswest=%d, dsttime=%d\n"
.LC46:
	.string	"[FAIL]\ttimezones do not match"
	.text
	.type	test_gettimeofday, @function
test_gettimeofday:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR vdso_gettimeofday[rip]
	test	rax, rax
	je	.L88
	lea	rdi, .LC42[rip]
	call	puts@PLT
	lea	rdx, -80[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sys_gettimeofday
	test	eax, eax
	jns	.L79
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
	jmp	.L76
.L79:
	mov	rcx, QWORD PTR vdso_gettimeofday[rip]
	lea	rdx, -72[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	DWORD PTR -88[rbp], eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sys_gettimeofday
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jne	.L80
	cmp	DWORD PTR -84[rbp], 0
	je	.L81
.L80:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
	jmp	.L76
.L81:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r8, rax
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r10, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdi, rcx
	sub	rsp, 8
	push	rdx
	mov	r9, r8
	mov	r8, rsi
	mov	rcx, r10
	mov	rdx, rax
	mov	rsi, rdi
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rdx, -48[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tv_leq
	xor	eax, 1
	test	al, al
	jne	.L82
	lea	rdx, -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tv_leq
	xor	eax, 1
	test	al, al
	je	.L83
.L82:
	lea	rdi, .LC39[rip]
	call	puts@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
.L83:
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cmp	edx, eax
	jne	.L84
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -68[rbp]
	cmp	edx, eax
	jne	.L84
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L85
.L84:
	lea	rdi, .LC46[rip]
	call	puts@PLT
	mov	eax, DWORD PTR nerrs[rip]
	add	eax, 1
	mov	DWORD PTR nerrs[rip], eax
.L85:
	mov	rdx, QWORD PTR vdso_gettimeofday[rip]
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	rdx
	jmp	.L76
.L88:
	nop
.L76:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	test_gettimeofday, .-test_gettimeofday
	.globl	main
	.type	main, @function
main:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 0
	call	fill_function_pointers
	call	test_clock_gettime
	call	test_gettimeofday
	call	test_getcpu
	mov	eax, DWORD PTR nerrs[rip]
	test	eax, eax
	setne	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"870786.c"
	.text
	.global	nerrs
	.bss
	.align	2
	.type	nerrs, %object
	.size	nerrs, 4
nerrs:
	.space	4
	.comm	vdso_clock_gettime,4,4
	.comm	vdso_gettimeofday,4,4
	.comm	vgetcpu,4,4
	.comm	vdso_getcpu,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vsyscall_getcpu, %function
vsyscall_getcpu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	vsyscall_getcpu, .-vsyscall_getcpu
	.section	.rodata
	.align	2
.LC0:
	.ascii	"linux-vdso.so.1\000"
	.align	2
.LC1:
	.ascii	"linux-gate.so.1\000"
	.align	2
.LC2:
	.ascii	"[WARN]\011failed to find vDSO\000"
	.align	2
.LC3:
	.ascii	"__vdso_getcpu\000"
	.align	2
.LC4:
	.ascii	"Warning: failed to find getcpu in vDSO\000"
	.align	2
.LC5:
	.ascii	"__vdso_clock_gettime\000"
	.align	2
.LC6:
	.ascii	"Warning: failed to find clock_gettime in vDSO\000"
	.align	2
.LC7:
	.ascii	"__vdso_gettimeofday\000"
	.align	2
.LC8:
	.ascii	"Warning: failed to find gettimeofday in vDSO\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_function_pointers, %function
fill_function_pointers:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r1, #5
	ldr	r0, .L9
	bl	dlopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	mov	r1, #5
	ldr	r0, .L9+4
	bl	dlopen
	str	r0, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L9+8
	bl	puts
	b	.L3
.L5:
	ldr	r1, .L9+12
	ldr	r0, [fp, #-8]
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9+16
	str	r2, [r3]
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L9+20
	bl	puts
.L7:
	bl	vsyscall_getcpu
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9+24
	str	r2, [r3]
	ldr	r1, .L9+28
	ldr	r0, [fp, #-8]
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9+32
	str	r2, [r3]
	ldr	r3, .L9+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L9+36
	bl	puts
.L8:
	ldr	r1, .L9+40
	ldr	r0, [fp, #-8]
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9+44
	str	r2, [r3]
	ldr	r3, .L9+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L9+48
	bl	puts
.L3:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	vdso_getcpu
	.word	.LC4
	.word	vgetcpu
	.word	.LC5
	.word	vdso_clock_gettime
	.word	.LC6
	.word	.LC7
	.word	vdso_gettimeofday
	.word	.LC8
	.size	fill_function_pointers, .-fill_function_pointers
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sys_getcpu, %function
sys_getcpu:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L13
	bl	syscall
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	345
	.size	sys_getcpu, .-sys_getcpu
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sys_clock_gettime, %function
sys_clock_gettime:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L17
	bl	syscall
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	263
	.size	sys_clock_gettime, .-sys_clock_gettime
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sys_gettimeofday, %function
sys_gettimeofday:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, #78
	bl	syscall
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sys_gettimeofday, .-sys_gettimeofday
	.section	.rodata
	.align	2
.LC9:
	.ascii	"[RUN]\011Testing getcpu...\000"
	.align	2
.LC10:
	.ascii	"OK\000"
	.align	2
.LC11:
	.ascii	"FAIL\000"
	.align	2
.LC12:
	.ascii	"[%s]\011CPU %u:\000"
	.align	2
.LC13:
	.ascii	" syscall: cpu %u, node %u\000"
	.align	2
.LC14:
	.ascii	" vdso: cpu %u, node %u\000"
	.align	2
.LC15:
	.ascii	" vsyscall: cpu %u, node %u\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_getcpu, %function
test_getcpu:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L47+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-160]
.L43:
	sub	r3, fp, #136
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-160]
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #1024
	bcs	.L23
	ldr	r3, [fp, #-144]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #136
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-144]
	and	r2, r2, #31
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r3, r3, #2
	sub	r0, fp, #136
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
.L23:
	sub	r3, fp, #136
	mov	r2, r3
	mov	r1, #128
	mov	r0, #0
	bl	sched_setaffinity
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	mov	r3, #1
	str	r3, [fp, #-156]
	mov	r3, #1
	str	r3, [fp, #-152]
	sub	r1, fp, #172
	sub	r3, fp, #184
	mov	r2, #0
	mov	r0, r3
	bl	sys_getcpu
	str	r0, [fp, #-140]
	ldr	r3, .L47+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L47+8
	ldr	r3, [r3]
	sub	r1, fp, #168
	sub	r0, fp, #180
	mov	r2, #0
	blx	r3
	str	r0, [fp, #-156]
.L26:
	ldr	r3, .L47+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L47+12
	ldr	r3, [r3]
	sub	r1, fp, #164
	sub	r0, fp, #176
	mov	r2, #0
	blx	r3
	str	r0, [fp, #-152]
.L27:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-148]
	b	.L29
.L28:
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-148]
	b	.L29
.L30:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-164]
	str	r3, [fp, #-148]
.L29:
	mov	r3, #1
	strb	r3, [fp, #-185]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L31
	ldr	r2, [fp, #-184]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	beq	.L31
.L32:
	mov	r3, #0
	strb	r3, [fp, #-185]
.L31:
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	bne	.L33
	ldr	r2, [fp, #-180]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	beq	.L33
.L34:
	mov	r3, #0
	strb	r3, [fp, #-185]
.L33:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L35
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bne	.L36
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	beq	.L35
.L36:
	mov	r3, #0
	strb	r3, [fp, #-185]
.L35:
	ldrb	r3, [fp, #-185]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L47+16
	b	.L38
.L37:
	ldr	r3, .L47+20
.L38:
	ldr	r2, [fp, #-160]
	mov	r1, r3
	ldr	r0, .L47+24
	bl	printf
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-172]
	mov	r1, r3
	ldr	r0, .L47+28
	bl	printf
.L39:
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-168]
	mov	r1, r3
	ldr	r0, .L47+32
	bl	printf
.L40:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-164]
	mov	r1, r3
	ldr	r0, .L47+36
	bl	printf
.L41:
	mov	r0, #10
	bl	putchar
	ldrb	r3, [fp, #-185]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L42
	ldr	r3, .L47+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47+40
	str	r3, [r2]
.L42:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
	b	.L43
.L46:
	nop
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC16
	.word	.LC9
	.word	vdso_getcpu
	.word	vgetcpu
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	nerrs
	.size	test_getcpu, .-test_getcpu
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ts_leq, %function
ts_leq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L50
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	b	.L51
.L50:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
.L51:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ts_leq, .-ts_leq
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tv_leq, %function
tv_leq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L53
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	b	.L54
.L53:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
.L54:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	tv_leq, .-tv_leq
	.section	.rodata
	.align	2
.LC17:
	.ascii	"CLOCK_REALTIME\000"
	.align	2
.LC18:
	.ascii	"CLOCK_MONOTONIC\000"
	.align	2
.LC19:
	.ascii	"CLOCK_PROCESS_CPUTIME_ID\000"
	.align	2
.LC20:
	.ascii	"CLOCK_THREAD_CPUTIME_ID\000"
	.align	2
.LC21:
	.ascii	"CLOCK_MONOTONIC_RAW\000"
	.align	2
.LC22:
	.ascii	"CLOCK_REALTIME_COARSE\000"
	.align	2
.LC23:
	.ascii	"CLOCK_MONOTONIC_COARSE\000"
	.align	2
.LC24:
	.ascii	"CLOCK_BOOTTIME\000"
	.align	2
.LC25:
	.ascii	"CLOCK_REALTIME_ALARM\000"
	.align	2
.LC26:
	.ascii	"CLOCK_BOOTTIME_ALARM\000"
	.align	2
.LC27:
	.ascii	"CLOCK_SGI_CYCLE\000"
	.align	2
.LC28:
	.ascii	"CLOCK_TAI\000"
	.align	2
	.type	clocknames, %object
	.size	clocknames, 48
clocknames:
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.align	2
.LC29:
	.ascii	"[RUN]\011Testing clock_gettime for clock %s (%d)..."
	.ascii	"\012\000"
	.align	2
.LC30:
	.ascii	"[OK]\011No such clock.\000"
	.align	2
.LC31:
	.ascii	"[FAIL]\011No such clock, but __vdso_clock_gettime r"
	.ascii	"eturned %d\012\000"
	.align	2
.LC32:
	.ascii	"[WARN]\011 clock_gettime(%d) syscall returned error"
	.ascii	" %d\012\000"
	.align	2
.LC33:
	.ascii	"[FAIL]\011vDSO returned %d, syscall errno=%d\012\000"
	.align	2
.LC34:
	.ascii	"\011%llu.%09ld %llu.%09ld %llu.%09ld\012\000"
	.align	2
.LC35:
	.ascii	"[FAIL]\011Times are out of sequence\000"
	.align	2
.LC36:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_one_clock_gettime, %function
test_one_clock_gettime:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #92
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-68]
	ldr	r0, .L67+4
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	sys_clock_gettime
	mov	r3, r0
	cmp	r3, #0
	bge	.L56
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	bne	.L57
	ldr	r3, .L67+8
	ldr	r3, [r3]
	sub	r2, fp, #40
	mov	r1, r2
	ldr	r0, [fp, #-64]
	blx	r3
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmn	r3, #22
	bne	.L58
	ldr	r0, .L67+12
	bl	puts
	b	.L55
.L58:
	ldr	r1, [fp, #-56]
	ldr	r0, .L67+16
	bl	printf
	ldr	r3, .L67+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+20
	str	r3, [r2]
	b	.L55
.L57:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-64]
	ldr	r0, .L67+24
	bl	printf
	b	.L55
.L56:
	ldr	r3, .L67+8
	ldr	r3, [r3]
	sub	r2, fp, #40
	mov	r1, r2
	ldr	r0, [fp, #-64]
	blx	r3
	str	r0, [fp, #-56]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	sys_clock_gettime
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L62
.L61:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-56]
	ldr	r0, .L67+28
	bl	printf
	ldr	r3, .L67+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+20
	str	r3, [r2]
	b	.L55
.L62:
	ldr	r3, [fp, #-48]
	mov	r4, r3
	asr	r5, r4, #31
	ldr	ip, [fp, #-44]
	ldr	r3, [fp, #-40]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	lr, [fp, #-36]
	ldr	r1, [fp, #-32]
	mov	r0, r1
	asr	r1, r0, #31
	ldr	r6, [fp, #-28]
	str	r6, [sp, #32]
	str	r0, [sp, #24]
	str	r1, [sp, #28]
	str	lr, [sp, #16]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	ip, [sp]
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L67+32
	bl	printf
	sub	r2, fp, #40
	sub	r3, fp, #48
	mov	r1, r2
	mov	r0, r3
	bl	ts_leq
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L63
	sub	r2, fp, #32
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	ts_leq
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L55
.L63:
	ldr	r0, .L67+36
	bl	puts
	ldr	r3, .L67+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+20
	str	r3, [r2]
.L55:
	ldr	r3, .L67
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC36
	.word	.LC29
	.word	vdso_clock_gettime
	.word	.LC30
	.word	.LC31
	.word	nerrs
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.size	test_one_clock_gettime, .-test_one_clock_gettime
	.section	.rodata
	.align	2
.LC37:
	.ascii	"[SKIP]\011No vDSO, so skipping clock_gettime() test"
	.ascii	"s\000"
	.align	2
.LC38:
	.ascii	"invalid\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_clock_gettime, %function
test_clock_gettime:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L74
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L70
	ldr	r0, .L74+4
	bl	puts
	b	.L69
.L70:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L72
.L73:
	ldr	r2, .L74+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	test_one_clock_gettime
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L72:
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	bls	.L73
	ldr	r1, .L74+12
	mvn	r0, #0
	bl	test_one_clock_gettime
	ldr	r1, .L74+12
	mov	r0, #-2147483648
	bl	test_one_clock_gettime
	ldr	r1, .L74+12
	mvn	r0, #-2147483648
	bl	test_one_clock_gettime
.L69:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	vdso_clock_gettime
	.word	.LC37
	.word	clocknames
	.word	.LC38
	.size	test_clock_gettime, .-test_clock_gettime
	.section	.rodata
	.align	2
.LC39:
	.ascii	"[RUN]\011Testing gettimeofday...\000"
	.align	2
.LC40:
	.ascii	"[FAIL]\011sys_gettimeofday failed (%d)\012\000"
	.align	2
.LC41:
	.ascii	"\011%llu.%06ld %llu.%06ld %llu.%06ld\012\000"
	.align	2
.LC42:
	.ascii	"[OK]\011timezones match: minuteswest=%d, dsttime=%d"
	.ascii	"\012\000"
	.align	2
.LC43:
	.ascii	"[FAIL]\011timezones do not match\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_gettimeofday, %function
test_gettimeofday:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #100
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, .L89+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L88
	ldr	r0, .L89+8
	bl	puts
	sub	r2, fp, #40
	sub	r3, fp, #64
	mov	r1, r2
	mov	r0, r3
	bl	sys_gettimeofday
	mov	r3, r0
	cmp	r3, #0
	bge	.L79
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L89+12
	bl	printf
	ldr	r3, .L89+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L89+16
	str	r3, [r2]
	b	.L76
.L79:
	ldr	r3, .L89+4
	ldr	r3, [r3]
	sub	r1, fp, #32
	sub	r2, fp, #56
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-72]
	sub	r3, fp, #48
	mov	r1, #0
	mov	r0, r3
	bl	sys_gettimeofday
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L81
.L80:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-72]
	ldr	r0, .L89+20
	bl	printf
	ldr	r3, .L89+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L89+16
	str	r3, [r2]
	b	.L76
.L81:
	ldr	r3, [fp, #-64]
	mov	r4, r3
	asr	r5, r4, #31
	ldr	ip, [fp, #-60]
	ldr	r3, [fp, #-56]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	lr, [fp, #-52]
	ldr	r1, [fp, #-48]
	mov	r0, r1
	asr	r1, r0, #31
	ldr	r6, [fp, #-44]
	str	r6, [sp, #32]
	str	r0, [sp, #24]
	str	r1, [sp, #28]
	str	lr, [sp, #16]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	ip, [sp]
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L89+24
	bl	printf
	sub	r2, fp, #56
	sub	r3, fp, #64
	mov	r1, r2
	mov	r0, r3
	bl	tv_leq
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L82
	sub	r2, fp, #48
	sub	r3, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	tv_leq
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L83
.L82:
	ldr	r0, .L89+28
	bl	puts
	ldr	r3, .L89+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L89+16
	str	r3, [r2]
.L83:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L84
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L84
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L89+32
	bl	printf
	b	.L85
.L84:
	ldr	r0, .L89+36
	bl	puts
	ldr	r3, .L89+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L89+16
	str	r3, [r2]
.L85:
	ldr	r3, .L89+4
	ldr	r3, [r3]
	sub	r2, fp, #56
	mov	r1, #0
	mov	r0, r2
	blx	r3
	b	.L76
.L88:
	nop
.L76:
	ldr	r3, .L89
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC44
	.word	vdso_gettimeofday
	.word	.LC39
	.word	.LC40
	.word	nerrs
	.word	.LC33
	.word	.LC41
	.word	.LC35
	.word	.LC42
	.word	.LC43
	.size	test_gettimeofday, .-test_gettimeofday
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	fill_function_pointers
	bl	test_clock_gettime
	bl	test_gettimeofday
	bl	test_getcpu
	ldr	r3, .L93
	ldr	r3, [r3]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L94:
	.align	2
.L93:
	.word	nerrs
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
