	.file	"205322.c"
	.intel_syntax noprefix
	.text
	.globl	task
	.bss
	.align 8
	.type	task, @object
	.size	task, 12
task:
	.zero	12
	.globl	cur
	.align 4
	.type	cur, @object
	.size	cur, 4
cur:
	.zero	4
	.section	.rodata
.LC0:
	.string	"hello,I'm fun1"
	.text
	.globl	fun1
	.type	fun1, @function
fun1:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L2:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	edi, 2
	call	switch_to@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	fun1, .-fun1
	.section	.rodata
.LC1:
	.string	"hello,I'm fun2"
	.text
	.globl	fun2
	.type	fun2, @function
fun2:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L4:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	edi, 1
	call	switch_to@PLT
	jmp	.L4
	.cfi_endproc
.LFE1:
	.size	fun2, .-fun2
	.globl	start
	.type	start, @function
start:
.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
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 1
	jne	.L6
	mov	eax, 0
	call	fun1
	jmp	.L8
.L6:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L8
	mov	eax, 0
	call	fun2
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	start, .-start
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -8208[rbp]
	mov	eax, 0
	mov	ecx, 512
	mov	rdi, rdx
	rep stosq
	lea	rdx, -4112[rbp]
	mov	eax, 0
	mov	ecx, 512
	mov	rdi, rdx
	rep stosq
	lea	rax, -8208[rbp]
	add	rax, 4052
	mov	DWORD PTR task[rip+4], eax
	lea	rax, -4112[rbp]
	add	rax, 4052
	mov	DWORD PTR task[rip+8], eax
	mov	DWORD PTR -4156[rbp], 7
	mov	DWORD PTR -4152[rbp], 6
	mov	DWORD PTR -4148[rbp], 5
	mov	DWORD PTR -4144[rbp], 4
	mov	DWORD PTR -4140[rbp], 3
	mov	DWORD PTR -4136[rbp], 2
	mov	DWORD PTR -4132[rbp], 1
	mov	DWORD PTR -4128[rbp], 0
	lea	rax, start[rip]
	mov	DWORD PTR -4124[rbp], eax
	mov	DWORD PTR -4120[rbp], 100
	mov	DWORD PTR -4116[rbp], 1
	mov	DWORD PTR -60[rbp], 7
	mov	DWORD PTR -56[rbp], 6
	mov	DWORD PTR -52[rbp], 5
	mov	DWORD PTR -48[rbp], 4
	mov	DWORD PTR -44[rbp], 3
	mov	DWORD PTR -40[rbp], 2
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -32[rbp], 0
	lea	rax, start[rip]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -24[rbp], 100
	mov	DWORD PTR -20[rbp], 2
	mov	edi, 1
	call	switch_to@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"205322.c"
	.text
	.global	task
	.bss
	.align	2
	.type	task, %object
	.size	task, 12
task:
	.space	12
	.global	cur
	.align	2
	.type	cur, %object
	.size	cur, 4
cur:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"hello,I'm fun1\000"
	.text
	.align	2
	.global	fun1
	.syntax unified
	.arm
	.fpu softvfp
	.type	fun1, %function
fun1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L2:
	ldr	r0, .L3
	bl	puts
	mov	r0, #1
	bl	sleep
	mov	r0, #2
	bl	switch_to
	b	.L2
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	fun1, .-fun1
	.section	.rodata
	.align	2
.LC1:
	.ascii	"hello,I'm fun2\000"
	.text
	.align	2
	.global	fun2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fun2, %function
fun2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L6:
	ldr	r0, .L7
	bl	puts
	mov	r0, #1
	bl	sleep
	mov	r0, #1
	bl	switch_to
	b	.L6
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	fun2, .-fun2
	.align	2
	.global	start
	.syntax unified
	.arm
	.fpu softvfp
	.type	start, %function
start:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L10
	bl	fun1
	b	.L12
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L12
	bl	fun2
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	start, .-start
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8192
	sub	sp, sp, #8
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #4048
	add	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L16+4
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #4048
	add	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L16+4
	str	r2, [r3, #8]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #7
	str	r3, [r2, #4048]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #4052]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #5
	str	r3, [r2, #4056]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #4
	str	r3, [r2, #4060]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #4064]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #4068]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #4072]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #4076]
	ldr	r3, .L16+8
	sub	r2, fp, #8192
	sub	r2, r2, #4
	str	r3, [r2, #4080]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #100
	str	r3, [r2, #4084]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #4088]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #7
	str	r3, [r2, #4048]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #4052]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #5
	str	r3, [r2, #4056]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #4
	str	r3, [r2, #4060]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #4064]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #4068]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #4072]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #4076]
	ldr	r3, .L16+8
	sub	r2, fp, #4096
	sub	r2, r2, #4
	str	r3, [r2, #4080]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #100
	str	r3, [r2, #4084]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #4088]
	mov	r0, #1
	bl	switch_to
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	task
	.word	start
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
