	.file	"36680.c"
	.intel_syntax noprefix
	.text
	.globl	f
	.type	f, @function
f:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	nop
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L2
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	f, .-f
	.section	.rodata
.LC0:
	.string	"%Y-%m-%d %H:%M:%S"
.LC1:
	.string	"[%s] %s\n"
	.text
	.globl	log_msg
	.type	log_msg, @function
log_msg:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -144[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 128
	mov	rdi, rax
	call	strftime@PLT
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	log_msg, .-log_msg
	.section	.rodata
	.align 8
.LC2:
	.string	"Usage: cpuinterference [min_threads] [max_threads] [thread_step] [period_in_sec] [duration_in_ms]"
	.align 8
.LC3:
	.string	"Starting CPU interference program"
.LC4:
	.string	"    min_threads = %d\n"
.LC5:
	.string	"    max_threads = %d\n"
.LC6:
	.string	"    thread_step = %d\n"
.LC7:
	.string	"    period_in_sec = %d\n"
.LC8:
	.string	"    duration_in_ms = %d\n"
.LC11:
	.string	"Spawning threads"
.LC13:
	.string	"Joining threads"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -262144[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 112
	mov	DWORD PTR -262244[rbp], edi
	mov	QWORD PTR -262256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -262244[rbp], 6
	je	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -262256[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -262216[rbp], eax
	mov	rax, QWORD PTR -262256[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -262212[rbp], eax
	mov	rax, QWORD PTR -262256[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -262208[rbp], eax
	mov	rax, QWORD PTR -262256[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -262204[rbp], eax
	mov	rax, QWORD PTR -262256[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -262200[rbp], eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -262216[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -262212[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -262208[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -262204[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -262200[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L21:
	mov	eax, DWORD PTR -262216[rbp]
	mov	DWORD PTR -262228[rbp], eax
	jmp	.L7
.L20:
	mov	BYTE PTR -262229[rbp], 0
	lea	rax, -262192[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	pxor	xmm0, xmm0
	movss	DWORD PTR -262196[rbp], xmm0
.L11:
	lea	rax, -262176[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -262176[rbp]
	mov	rdx, QWORD PTR -262192[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -262168[rbp]
	mov	rdx, QWORD PTR -262184[rbp]
	sub	rax, rdx
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -262196[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -262204[rbp]
	movss	xmm0, DWORD PTR -262196[rbp]
	comiss	xmm0, xmm1
	ja	.L23
	mov	edi, 1
	call	sleep@PLT
	jmp	.L11
.L23:
	nop
	lea	rdi, .LC11[rip]
	call	log_msg
	mov	DWORD PTR -262224[rbp], 0
	jmp	.L12
.L13:
	lea	rdx, -262160[rbp]
	mov	eax, DWORD PTR -262224[rbp]
	cdqe
	sal	rax, 3
	lea	rdi, [rdx+rax]
	lea	rax, -262229[rbp]
	mov	rcx, rax
	lea	rdx, f[rip]
	mov	esi, 0
	call	pthread_create@PLT
	add	DWORD PTR -262224[rbp], 1
.L12:
	mov	eax, DWORD PTR -262224[rbp]
	cmp	eax, DWORD PTR -262228[rbp]
	jl	.L13
	lea	rax, -262192[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	pxor	xmm0, xmm0
	movss	DWORD PTR -262196[rbp], xmm0
.L17:
	lea	rax, -262176[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -262176[rbp]
	mov	rdx, QWORD PTR -262192[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -262168[rbp]
	mov	rdx, QWORD PTR -262184[rbp]
	sub	rax, rdx
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -262196[rbp], xmm0
	movss	xmm1, DWORD PTR -262196[rbp]
	movss	xmm0, DWORD PTR .LC12[rip]
	mulss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -262200[rbp]
	comiss	xmm0, xmm1
	ja	.L24
	jmp	.L17
.L24:
	nop
	mov	BYTE PTR -262229[rbp], 1
	lea	rdi, .LC13[rip]
	call	log_msg
	mov	DWORD PTR -262220[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -262220[rbp]
	cdqe
	mov	rax, QWORD PTR -262160[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -262220[rbp], 1
.L18:
	mov	eax, DWORD PTR -262220[rbp]
	cmp	eax, DWORD PTR -262228[rbp]
	jl	.L19
	mov	eax, DWORD PTR -262208[rbp]
	add	DWORD PTR -262228[rbp], eax
.L7:
	mov	eax, DWORD PTR -262228[rbp]
	cmp	eax, DWORD PTR -262212[rbp]
	jle	.L20
	jmp	.L21
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC10:
	.long	-400107883
	.long	1041313291
	.align 4
.LC12:
	.long	1148846080
	.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	"36680.c"
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ 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]
	str	r3, [fp, #-8]
	nop
.L2:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	mov	r0, #0
	bl	pthread_exit
	.size	f, .-f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%Y-%m-%d %H:%M:%S\000"
	.align	2
.LC1:
	.ascii	"[%s] %s\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	log_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	log_msg, %function
log_msg:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #144
	mov	r0, r3
	bl	time
	sub	r3, fp, #144
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-140]
	sub	r0, fp, #136
	ldr	r3, [fp, #-140]
	ldr	r2, .L5+4
	mov	r1, #128
	bl	strftime
	sub	r3, fp, #136
	ldr	r2, [fp, #-152]
	mov	r1, r3
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, .L5+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	stdout
	.size	log_msg, .-log_msg
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Usage: cpuinterference [min_threads] [max_threads] "
	.ascii	"[thread_step] [period_in_sec] [duration_in_ms]\000"
	.align	2
.LC4:
	.ascii	"Starting CPU interference program\000"
	.align	2
.LC5:
	.ascii	"    min_threads = %d\012\000"
	.align	2
.LC6:
	.ascii	"    max_threads = %d\012\000"
	.align	2
.LC7:
	.ascii	"    thread_step = %d\012\000"
	.align	2
.LC8:
	.ascii	"    period_in_sec = %d\012\000"
	.align	2
.LC9:
	.ascii	"    duration_in_ms = %d\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.global	__aeabi_i2f
	.global	__aeabi_fcmpgt
	.align	2
.LC10:
	.ascii	"Spawning threads\000"
	.global	__aeabi_fmul
	.align	2
.LC11:
	.ascii	"Joining threads\000"
	.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 = 131144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #131072
	sub	sp, sp, #72
	sub	r3, fp, #131072
	sub	r3, r3, #12
	str	r0, [r3, #-68]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	str	r1, [r3, #-72]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #6
	beq	.L8
	ldr	r0, .L27+4
	bl	puts
	mov	r0, #1
	bl	exit
.L8:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #131072
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-44]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #131072
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-40]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #131072
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-36]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #16
	ldr	r3, [r3]
	sub	r2, fp, #131072
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-32]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	sub	r2, fp, #131072
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-28]
	ldr	r0, .L27+8
	bl	puts
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r1, [r3, #-44]
	ldr	r0, .L27+12
	bl	printf
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r1, [r3, #-40]
	ldr	r0, .L27+16
	bl	printf
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r1, [r3, #-36]
	ldr	r0, .L27+20
	bl	printf
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r1, [r3, #-32]
	ldr	r0, .L27+24
	bl	printf
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	ldr	r0, .L27+28
	bl	printf
	ldr	r3, .L27+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L23:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	str	r3, [r2, #-56]
	b	.L9
.L22:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-57]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]	@ float
.L13:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r3, #-12]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r3, #-8]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L27+36
	ldr	r3, .L27+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #131072
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-24]	@ float
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	sub	r2, fp, #131072
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-24]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	mov	r0, #1
	bl	sleep
	b	.L13
.L25:
	nop
	ldr	r0, .L27+44
	bl	log_msg
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	b	.L14
.L15:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #131072
	sub	r2, r2, #12
	ldr	r2, [r2, #-52]
	lsl	r2, r2, #2
	add	r0, r3, r2
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #57
	ldr	r2, .L27+48
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #1
	str	r3, [r2, #-52]
.L14:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r2, #-52]
	ldr	r3, [r3, #-56]
	cmp	r2, r3
	blt	.L15
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]	@ float
.L19:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r3, #-12]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r3, #-8]
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L27+36
	ldr	r3, .L27+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #131072
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-24]	@ float
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r1, .L27+52
	ldr	r0, [r3, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r0, [r3, #-28]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	b	.L19
.L26:
	nop
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, #1
	strb	r2, [r3, #-57]
	ldr	r0, .L27+56
	bl	log_msg
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	b	.L20
.L21:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #1
	str	r3, [r2, #-48]
.L20:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r2, #-48]
	ldr	r3, [r3, #-56]
	cmp	r2, r3
	blt	.L21
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r2, #-56]
	ldr	r3, [r3, #-36]
	add	r3, r2, r3
	str	r3, [r1, #-56]
.L9:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldr	r2, [r2, #-56]
	ldr	r3, [r3, #-40]
	cmp	r2, r3
	ble	.L22
	b	.L23
.L28:
	.align	2
.L27:
	.word	.LC12
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	stdout
	.word	-400107883
	.word	1041313291
	.word	.LC10
	.word	f
	.word	1148846080
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
