	.file	"219221.c"
	.intel_syntax noprefix
	.text
	.globl	mainTask
	.bss
	.align 32
	.type	mainTask, @object
	.size	mainTask, 200
mainTask:
	.zero	200
	.globl	childTask
	.align 32
	.type	childTask, @object
	.size	childTask, 200
childTask:
	.zero	200
	.local	done
	.comm	done,4,4
	.text
	.globl	resume
	.type	resume, @function
resume:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, mainTask[rip]
	call	_setjmp@PLT
	endbr64
	test	eax, eax
	jne	.L4
	mov	esi, 1
	lea	rdi, childTask[rip]
	call	longjmp@PLT
.L4:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	resume, .-resume
	.globl	yield
	.type	yield, @function
yield:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, childTask[rip]
	call	_setjmp@PLT
	endbr64
	test	eax, eax
	jne	.L8
	mov	esi, 1
	lea	rdi, mainTask[rip]
	call	longjmp@PLT
.L8:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	yield, .-yield
	.section	.rodata
.LC0:
	.string	"Length: %d\n"
	.text
	.globl	child
	.type	child, @function
child:
.LFB2:
	.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
	call	yield
	mov	DWORD PTR -8[rbp], 1000000
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -8[rbp], edx
	test	eax, eax
	jns	.L11
	mov	DWORD PTR done[rip], 1
	call	yield
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	child, .-child
	.section	.rodata
	.align 8
.LC2:
	.string	"==============================================================="
.LC3:
	.string	"=> Total time: %lfs\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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
	lea	rdi, mainTask[rip]
	call	_setjmp@PLT
	endbr64
	test	eax, eax
	jne	.L14
	call	child
.L14:
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L15
.L16:
	call	resume
.L15:
	mov	eax, DWORD PTR done[rip]
	test	eax, eax
	je	.L16
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	call	clock@PLT
	sub	rax, QWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	mulsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	-1598689907
	.long	1051772663
	.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	"219221.c"
	.text
	.comm	mainTask,392,8
	.comm	childTask,392,8
	.local	done
	.comm	done,4,4
	.align	2
	.global	resume
	.syntax unified
	.arm
	.fpu softvfp
	.type	resume, %function
resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	_setjmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	mov	r1, #1
	ldr	r0, .L5+4
	bl	longjmp
.L4:
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	mainTask
	.word	childTask
	.size	resume, .-resume
	.align	2
	.global	yield
	.syntax unified
	.arm
	.fpu softvfp
	.type	yield, %function
yield:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L11
	bl	_setjmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r1, #1
	ldr	r0, .L11+4
	bl	longjmp
.L10:
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	childTask
	.word	mainTask
	.size	yield, .-yield
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Length: %d\012\000"
	.text
	.align	2
	.global	child
	.syntax unified
	.arm
	.fpu softvfp
	.type	child, %function
child:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	yield
	ldr	r3, .L16
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r1, [fp, #-12]
	ldr	r0, .L16+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bge	.L15
	ldr	r3, .L16+8
	mov	r2, #1
	str	r2, [r3]
	bl	yield
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	1000000
	.word	.LC0
	.word	done
	.size	child, .-child
	.section	.rodata
	.align	2
.LC1:
	.ascii	"==================================================="
	.ascii	"============\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.align	2
.LC2:
	.ascii	"=> Total time: %lfs\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L24
	bl	_setjmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	bl	child
.L20:
	bl	clock
	str	r0, [fp, #-16]
	b	.L21
.L22:
	bl	resume
.L21:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	ldr	r2, .L24+8
	ldr	r3, .L24+12
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r0, .L24+16
	bl	puts
	bl	clock
	mov	r2, r0
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L24+20
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	mainTask
	.word	done
	.word	-1598689907
	.word	1051772663
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
