	.file	"133570.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Configuring scheduler: Period: %llu ns, Runtime: %llu ns, Deadline: %llu ns\n"
	.text
	.globl	sched_setattr
	.type	sched_setattr, @function
sched_setattr:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -8[rbp], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	edi, 314
	mov	eax, 0
	call	syscall@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sched_setattr, .-sched_setattr
	.globl	sched_getattr
	.type	sched_getattr, @function
sched_getattr:
.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, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -8[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	esi, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, esi
	mov	esi, eax
	mov	edi, 315
	mov	eax, 0
	call	syscall@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sched_getattr, .-sched_getattr
	.section	.rodata
	.align 8
.LC1:
	.ascii	"runner [options]\t(All time constants in milliseconds)\n\t-i"
	.ascii	"\n\t--cpu-iterations <number> number of CPU iterations.\n\t\t"
	.ascii	"Typically you don't want to set this number manually.\n\n\t-"
	.ascii	"I\n\t--program-iterations <number> number of program loop it"
	.ascii	"erations.\n\t\tUsed to prevent the program running forever a"
	.ascii	"nd potentially freezing\n\t\tyour system. Set to 0 to run fo"
	.ascii	"rever.\n\n\t-s\n\t--sleeptime <number> sleep-time for xsleep"
	.ascii	"\n\n\t-c\n\t--calctime <number> time the program should calc"
	.ascii	"ulate uninterrupted.\n\n\t-p\n\t--period <number> period for"
	.ascii	" sched_dead\n\n\t-r\n\t--runtime <number> run-time for sche"
	.string	"d_dead\n\n\t-d\n\t--deadline <number> deadline for sched_dead\n\n\t-z\n\t--set-cpu Try to set the cpu-affinity to core0.Typically not used when testing with CPU-Sets\n\n\t-o\n\t--oak-iterations <number> NO. of iterations to oak cpu iterations to fit configured calctime.\n"
	.text
	.globl	print_help
	.type	print_help, @function
print_help:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_help, .-print_help
	.section	.rodata
.LC2:
	.string	"configure_cpu"
.LC3:
	.string	"Successfully set to cpu 0."
	.text
	.globl	configure_cpu
	.type	configure_cpu, @function
configure_cpu:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -156[rbp], 0
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	QWORD PTR -152[rbp], 0
	cmp	QWORD PTR -152[rbp], 1023
	ja	.L8
	mov	rax, QWORD PTR -152[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 -152[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
.L8:
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, 128
	mov	edi, eax
	call	sched_setaffinity@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	configure_cpu, .-configure_cpu
	.section	.rodata
	.align 8
.LC4:
	.string	"arguments wrong somehow, exiting...\n"
.LC5:
	.string	"c:i:I:s:r:p:d:hzo:"
	.text
	.globl	parse_args
	.type	parse_args, @function
parse_args:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L12
.L25:
	cmp	DWORD PTR -12[rbp], 122
	ja	.L13
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L15[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L15[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L13-.L15
	.long	.L20-.L15
	.long	.L24-.L15
	.long	.L16-.L15
	.long	.L17-.L15
	.long	.L23-.L15
	.long	.L22-.L15
	.long	.L18-.L15
	.long	.L19-.L15
	.long	.L14-.L15
	.long	.L21-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L24-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L23-.L15
	.long	.L22-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L21-.L15
	.long	.L20-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L19-.L15
	.long	.L18-.L15
	.long	.L13-.L15
	.long	.L17-.L15
	.long	.L16-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L13-.L15
	.long	.L14-.L15
	.text
.L20:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoll@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L12
.L24:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 56[rax], rdx
	jmp	.L12
.L16:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 64[rax], edx
	jmp	.L12
.L17:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L12
.L23:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoll@PLT
	imul	rdx, rax, 1000
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 72[rax], rdx
	jmp	.L12
.L22:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L12
.L18:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 40[rax], rdx
	jmp	.L12
.L19:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 68[rax], edx
	jmp	.L12
.L14:
	mov	eax, 0
	call	configure_cpu
	jmp	.L12
.L21:
	call	print_help
	mov	edi, 0
	call	exit@PLT
.L13:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	call	print_help
	mov	edi, 1
	call	exit@PLT
.L12:
	lea	rdx, -16[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	r8, rdx
	lea	rcx, long_options.0[rip]
	lea	rdx, .LC5[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L25
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parse_args, .-parse_args
	.section	.rodata
.LC6:
	.string	"sched_setattr"
	.text
	.globl	init_sched_dead
	.type	init_sched_dead, @function
init_sched_dead:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sched_setattr
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L29
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	init_sched_dead, .-init_sched_dead
	.globl	us_timediff
	.type	us_timediff, @function
us_timediff:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rsi
	mov	r8, rdi
	mov	rsi, r8
	mov	rdi, r9
	mov	rdi, rax
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -80[rbp], rdx
	mov	QWORD PTR -72[rbp], rcx
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	imul	edx, eax, 1000000
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	us_timediff, .-us_timediff
	.globl	busy_cycles
	.type	busy_cycles, @function
busy_cycles:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	nop
.L33:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -56[rbp], rdx
	test	rax, rax
	jne	.L33
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdi, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	us_timediff
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	busy_cycles, .-busy_cycles
	.type	five_perct_exact, @function
five_perct_exact:
.LFB14:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	test	rax, rax
	js	.L37
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L38
.L37:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L38:
	mov	eax, DWORD PTR -8[rbp]
	test	rax, rax
	js	.L39
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	jmp	.L40
.L39:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rdx
	addsd	xmm1, xmm1
.L40:
	movsd	xmm2, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L41
	mov	eax, DWORD PTR -4[rbp]
	test	rax, rax
	js	.L43
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L44
.L43:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L44:
	mov	eax, DWORD PTR -8[rbp]
	test	rax, rax
	js	.L45
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	jmp	.L46
.L45:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rdx
	addsd	xmm1, xmm1
.L46:
	movsd	xmm2, QWORD PTR .LC8[rip]
	mulsd	xmm1, xmm2
	comisd	xmm1, xmm0
	jbe	.L41
	mov	eax, 1
	jmp	.L48
.L41:
	mov	eax, 0
.L48:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	five_perct_exact, .-five_perct_exact
	.globl	oak_cpu
	.type	oak_cpu, @function
oak_cpu:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 72[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L52
.L56:
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, 1000
	mov	QWORD PTR -32[rbp], rax
.L55:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	busy_cycles
	mov	eax, eax
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jle	.L53
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	neg	rax
	add	QWORD PTR -32[rbp], rax
	jmp	.L54
.L53:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	add	QWORD PTR -32[rbp], rax
.L54:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	five_perct_exact
	xor	eax, 1
	test	al, al
	jne	.L55
	mov	rax, QWORD PTR -32[rbp]
	add	QWORD PTR -40[rbp], rax
	add	QWORD PTR -24[rbp], 1
.L52:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 68[rax]
	mov	eax, eax
	cmp	QWORD PTR -24[rbp], rax
	jl	.L56
	mov	rax, QWORD PTR -40[rbp]
	movabs	rdx, -3689348814741910323
	mul	rdx
	shr	rdx, 3
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	oak_cpu, .-oak_cpu
	.globl	xsleep
	.type	xsleep, @function
xsleep:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 64[rax]
	test	eax, eax
	je	.L61
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 64[rax]
	imul	eax, eax, 1000
	mov	edi, eax
	call	usleep@PLT
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	jmp	.L57
.L61:
	nop
.L57:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	xsleep, .-xsleep
	.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, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -153[rbp], 1
	mov	DWORD PTR -144[rbp], 48
	mov	DWORD PTR -140[rbp], 6
	mov	QWORD PTR -136[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -48[rbp], 1000
	mov	QWORD PTR -40[rbp], 1
	mov	DWORD PTR -32[rbp], 1000
	mov	DWORD PTR -28[rbp], 1
	mov	QWORD PTR -24[rbp], 100000
	mov	rdx, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -164[rbp]
	lea	rax, -96[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	parse_args
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	oak_cpu
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	je	.L63
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	je	.L63
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L63
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	init_sched_dead
.L63:
	mov	DWORD PTR -152[rbp], 0
	jmp	.L64
.L66:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	busy_cycles
	mov	DWORD PTR -148[rbp], eax
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	xsleep
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	je	.L65
	mov	edx, DWORD PTR -152[rbp]
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	jne	.L65
	mov	BYTE PTR -153[rbp], 0
.L65:
	add	DWORD PTR -152[rbp], 1
.L64:
	cmp	BYTE PTR -153[rbp], 0
	jne	.L66
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.section	.rodata
.LC9:
	.string	"cpu-iterations"
.LC10:
	.string	"program-iterations"
.LC11:
	.string	"sleeptime"
.LC12:
	.string	"runtime"
.LC13:
	.string	"calctime"
.LC14:
	.string	"deadline"
.LC15:
	.string	"period"
.LC16:
	.string	"oak-iterations"
.LC17:
	.string	"set-cpu"
.LC18:
	.string	"help"
	.section	.data.rel.local,"aw"
	.align 32
	.type	long_options.0, @object
	.size	long_options.0, 352
long_options.0:
	.quad	.LC9
	.long	1
	.zero	4
	.quad	0
	.long	1
	.zero	4
	.quad	.LC10
	.long	1
	.zero	4
	.quad	0
	.long	2
	.zero	4
	.quad	.LC11
	.long	1
	.zero	4
	.quad	0
	.long	3
	.zero	4
	.quad	.LC12
	.long	1
	.zero	4
	.quad	0
	.long	4
	.zero	4
	.quad	.LC13
	.long	1
	.zero	4
	.quad	0
	.long	5
	.zero	4
	.quad	.LC14
	.long	1
	.zero	4
	.quad	0
	.long	6
	.zero	4
	.quad	.LC15
	.long	1
	.zero	4
	.quad	0
	.long	7
	.zero	4
	.quad	.LC16
	.long	1
	.zero	4
	.quad	0
	.long	8
	.zero	4
	.quad	.LC17
	.long	0
	.zero	4
	.quad	0
	.long	9
	.zero	4
	.quad	.LC18
	.long	0
	.zero	4
	.quad	0
	.long	10
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.section	.rodata
	.align 8
.LC7:
	.long	1717986918
	.long	1072588390
	.align 8
.LC8:
	.long	-858993459
	.long	1072745676
	.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	"133570.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Configuring scheduler: Period: %llu ns, Runtime: %l"
	.ascii	"lu ns, Deadline: %llu ns\012\000"
	.text
	.align	2
	.global	sched_setattr
	.syntax unified
	.arm
	.fpu softvfp
	.type	sched_setattr, %function
sched_setattr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r5, r3, #40
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-20]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-20]
	add	r1, r1, #32
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L3
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #380
	bl	syscall
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC1
	.size	sched_setattr, .-sched_setattr
	.align	2
	.global	sched_getattr
	.syntax unified
	.arm
	.fpu softvfp
	.type	sched_getattr, %function
sched_getattr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L7
	bl	syscall
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	381
	.size	sched_getattr, .-sched_getattr
	.section	.rodata
	.align	2
.LC2:
	.ascii	"runner [options]\011(All time constants in millisec"
	.ascii	"onds)\012\011-i\012\011--cpu-iterations <number> nu"
	.ascii	"mber of CPU iterations.\012\011\011Typically you do"
	.ascii	"n't want to set this number manually.\012\012\011-I"
	.ascii	"\012\011--program-iterations <number> number of pro"
	.ascii	"gram loop iterations.\012\011\011Used to prevent th"
	.ascii	"e program running forever and potentially freezing\012"
	.ascii	"\011\011your system. Set to 0 to run forever.\012\012"
	.ascii	"\011-s\012\011--sleeptime <number> sleep-time for x"
	.ascii	"sleep\012\012\011-c\012\011--calctime <number> time"
	.ascii	" the program should calculate uninterrupted.\012\012"
	.ascii	"\011-p\012\011--period <number> period for sched_de"
	.ascii	"ad\012\012\011-r\012\011--runtime <number> run-time"
	.ascii	" for sched_dead\012\012\011-d\012\011--deadline <nu"
	.ascii	"mber> deadline for sched_dead\012\012\011-z\012\011"
	.ascii	"--set-cpu Try to set the cpu-affinity to core0.Typi"
	.ascii	"cally not used when testing with CPU-Sets\012\012\011"
	.ascii	"-o\012\011--oak-iterations <number> NO. of iteratio"
	.ascii	"ns to oak cpu iterations to fit configured calctime"
	.ascii	".\012\000"
	.text
	.align	2
	.global	print_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_help, %function
print_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L10
	bl	puts
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.size	print_help, .-print_help
	.section	.rodata
	.align	2
.LC3:
	.ascii	"configure_cpu\000"
	.align	2
.LC4:
	.ascii	"Successfully set to cpu 0.\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	configure_cpu
	.syntax unified
	.arm
	.fpu softvfp
	.type	configure_cpu, %function
configure_cpu:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-144]
	sub	r3, fp, #136
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #1024
	bcs	.L14
	ldr	r3, [fp, #-140]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #136
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-140]
	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]
.L14:
	sub	r3, fp, #136
	mov	r2, r3
	mov	r1, #128
	ldr	r0, [fp, #-144]
	bl	sched_setaffinity
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L17+4
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	ldr	r0, .L17+8
	bl	puts
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	configure_cpu, .-configure_cpu
	.section	.rodata
	.align	2
.LC6:
	.ascii	"arguments wrong somehow, exiting...\012\000"
	.align	2
.LC7:
	.ascii	"c:i:I:s:r:p:d:hzo:\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_args
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_args, %function
parse_args:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L20
.L33:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	cmp	r3, #121
	ldrls	pc, [pc, r3, asl #2]
	b	.L21
.L23:
	.word	.L28
	.word	.L32
	.word	.L24
	.word	.L25
	.word	.L31
	.word	.L30
	.word	.L26
	.word	.L27
	.word	.L22
	.word	.L29
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L32
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L31
	.word	.L30
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L29
	.word	.L28
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L27
	.word	.L26
	.word	.L21
	.word	.L25
	.word	.L24
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L22
.L28:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoll
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	b	.L20
.L32:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	mov	r3, #0
	ldr	r1, [fp, #-48]
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	b	.L20
.L24:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3, #64]
	b	.L20
.L25:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r4, r3
	asr	r5, r4, #31
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #9
	orr	r1, r1, r2, lsr #23
	lsl	r0, r2, #9
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	subs	r0, r0, r2
	sbc	r1, r1, r3
	adds	r6, r0, r4
	adc	r7, r1, r5
	ldr	r3, [fp, #-48]
	str	r6, [r3, #24]
	str	r7, [r3, #28]
	b	.L20
.L31:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoll
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	str	r2, [r1, #72]
	str	r3, [r1, #76]
	b	.L20
.L30:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r4, r3
	asr	r5, r4, #31
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #9
	orr	r1, r1, r2, lsr #23
	lsl	r0, r2, #9
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	subs	r0, r0, r2
	sbc	r1, r1, r3
	adds	r8, r0, r4
	adc	r9, r1, r5
	ldr	r3, [fp, #-48]
	str	r8, [r3, #32]
	str	r9, [r3, #36]
	b	.L20
.L26:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r4, r3
	asr	r5, r4, #31
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #9
	orr	r1, r1, r2, lsr #23
	lsl	r0, r2, #9
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	subs	r0, r0, r2
	sbc	r1, r1, r3
	adds	r3, r0, r4
	str	r3, [fp, #-68]
	adc	r3, r1, r5
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-48]
	sub	r2, fp, #68
	ldmia	r2, {r1-r2}
	str	r1, [r3, #40]
	str	r2, [r3, #44]
	b	.L20
.L27:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3, #68]
	b	.L20
.L22:
	bl	configure_cpu
	b	.L20
.L29:
	bl	print_help
	mov	r0, #0
	bl	exit
.L21:
	ldr	r3, .L35+8
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L35+12
	bl	fwrite
	bl	print_help
	mov	r0, #1
	bl	exit
.L20:
	sub	r3, fp, #40
	str	r3, [sp]
	ldr	r3, .L35+16
	ldr	r2, .L35+20
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-52]
	bl	getopt_long
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L33
	nop
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC8
	.word	optarg
	.word	stderr
	.word	.LC6
	.word	long_options.7060
	.word	.LC7
	.size	parse_args, .-parse_args
	.section	.rodata
	.align	2
.LC9:
	.ascii	"sched_setattr\000"
	.text
	.align	2
	.global	init_sched_dead
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_sched_dead, %function
init_sched_dead:
	@ 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, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sched_setattr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L39
	ldr	r0, .L40
	bl	perror
	mov	r0, #1
	bl	exit
.L39:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC9
	.size	init_sched_dead, .-init_sched_dead
	.align	2
	.global	us_timediff
	.syntax unified
	.arm
	.fpu softvfp
	.type	us_timediff, %function
us_timediff:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	sub	ip, fp, #36
	stm	ip, {r0, r1}
	sub	r1, fp, #44
	stm	r1, {r2, r3}
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	us_timediff, .-us_timediff
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	busy_cycles
	.syntax unified
	.arm
	.fpu softvfp
	.type	busy_cycles, %function
busy_cycles:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	nop
.L45:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
	orrs	r3, r2, r3
	bne	.L45
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #24
	ldm	r3, {r2, r3}
	sub	r1, fp, #32
	ldm	r1, {r0, r1}
	bl	us_timediff
	mov	r3, r0
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC10
	.size	busy_cycles, .-busy_cycles
	.global	__aeabi_ui2d
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	five_perct_exact, %function
five_perct_exact:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	__aeabi_ui2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]
	bl	__aeabi_ui2d
	ldr	r2, .L57
	ldr	r3, .L57+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r0, [fp, #-16]
	bl	__aeabi_ui2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]
	bl	__aeabi_ui2d
	ldr	r2, .L57+8
	ldr	r3, .L57+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	mov	r3, #1
	b	.L54
.L51:
	mov	r3, #0
.L54:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L58:
	.align	2
.L57:
	.word	1717986918
	.word	1072588390
	.word	-858993459
	.word	1072745676
	.size	five_perct_exact, .-five_perct_exact
	.global	__aeabi_uldivmod
	.align	2
	.global	oak_cpu
	.syntax unified
	.arm
	.fpu softvfp
	.type	oak_cpu, %function
oak_cpu:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	add	r3, r3, #72
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L60
.L64:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L63:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	busy_cycles
	mov	r3, r0
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L61
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	lsr	r3, r1, #31
	mov	r2, r3
	mov	r3, #0
	adds	r6, r2, r0
	adc	r7, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #1
	orr	r2, r2, r7, lsl #31
	asr	r3, r7, #1
	rsbs	r2, r2, #0
	rsc	r3, r3, #0
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	ip, r2, r0
	str	ip, [fp, #-84]
	adc	r3, r3, r1
	str	r3, [fp, #-80]
	sub	r4, fp, #84
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-60]
	str	r4, [fp, #-56]
	b	.L62
.L61:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	lsr	r3, r1, #31
	mov	r2, r3
	mov	r3, #0
	adds	r8, r2, r0
	adc	r9, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r8, #1
	orr	r2, r2, r9, lsl #31
	asr	r3, r9, #1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	ip, r2, r0
	str	ip, [fp, #-92]
	adc	r3, r3, r1
	str	r3, [fp, #-88]
	sub	r4, fp, #92
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-60]
	str	r4, [fp, #-56]
.L62:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	mov	r1, r3
	mov	r0, r2
	bl	five_perct_exact
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L63
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	ip, r2, r0
	str	ip, [fp, #-100]
	adc	r3, r3, r1
	str	r3, [fp, #-96]
	sub	r4, fp, #100
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-68]
	str	r4, [fp, #-64]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-108]
	adc	r3, r3, #0
	str	r3, [fp, #-104]
	sub	r4, fp, #108
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
.L60:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #68]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	blt	.L64
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	mov	r2, #10
	mov	r3, #0
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-72]
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	oak_cpu, .-oak_cpu
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	xsleep
	.syntax unified
	.arm
	.fpu softvfp
	.type	xsleep, %function
xsleep:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #64]
	cmp	r3, #0
	beq	.L69
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	b	.L65
.L69:
	nop
.L65:
	ldr	r3, .L70
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC11
	.size	xsleep, .-xsleep
	.section	.rodata
	.align	3
.LC0:
	.word	48
	.word	6
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-149]
	ldr	r3, .L79+4
	sub	ip, fp, #140
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	ip, fp, #92
	sub	lr, fp, #140
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r2, #1000
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #1000
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r2, .L79+8
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #92
	ldr	r2, [fp, #-164]
	ldr	r1, [fp, #-160]
	mov	r0, r3
	bl	parse_args
	sub	r3, fp, #92
	mov	r0, r3
	bl	oak_cpu
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L73
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L73
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L73
	sub	r3, fp, #92
	mov	r0, r3
	bl	init_sched_dead
.L73:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L74
.L76:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	busy_cycles
	str	r0, [fp, #-144]
	sub	r3, fp, #92
	mov	r0, r3
	bl	xsleep
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L75
	ldr	r3, [fp, #-148]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L75
	mov	r3, #0
	strb	r3, [fp, #-149]
.L75:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L74:
	ldrb	r3, [fp, #-149]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L76
	mov	r3, #0
	ldr	r2, .L79
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC12
	.word	.LC0
	.word	100000
	.size	main, .-main
	.section	.rodata
	.align	2
.LC13:
	.ascii	"cpu-iterations\000"
	.align	2
.LC14:
	.ascii	"program-iterations\000"
	.align	2
.LC15:
	.ascii	"sleeptime\000"
	.align	2
.LC16:
	.ascii	"runtime\000"
	.align	2
.LC17:
	.ascii	"calctime\000"
	.align	2
.LC18:
	.ascii	"deadline\000"
	.align	2
.LC19:
	.ascii	"period\000"
	.align	2
.LC20:
	.ascii	"oak-iterations\000"
	.align	2
.LC21:
	.ascii	"set-cpu\000"
	.align	2
.LC22:
	.ascii	"help\000"
	.data
	.align	2
	.type	long_options.7060, %object
	.size	long_options.7060, 176
long_options.7060:
	.word	.LC13
	.word	1
	.word	0
	.word	1
	.word	.LC14
	.word	1
	.word	0
	.word	2
	.word	.LC15
	.word	1
	.word	0
	.word	3
	.word	.LC16
	.word	1
	.word	0
	.word	4
	.word	.LC17
	.word	1
	.word	0
	.word	5
	.word	.LC18
	.word	1
	.word	0
	.word	6
	.word	.LC19
	.word	1
	.word	0
	.word	7
	.word	.LC20
	.word	1
	.word	0
	.word	8
	.word	.LC21
	.word	0
	.word	0
	.word	9
	.word	.LC22
	.word	0
	.word	0
	.word	10
	.word	0
	.word	0
	.word	0
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
