	.file	"977155.c"
	.intel_syntax noprefix
	.text
	.local	expired
	.comm	expired,4,4
	.local	uc
	.comm	uc,2904,32
	.local	switches
	.comm	switches,4,4
	.section	.rodata
.LC0:
	.string	"\nswitching from %d to %d\n"
	.text
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
.L6:
	add	DWORD PTR -4[rbp], 1
	mov	edx, DWORD PTR -4[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L2
	mov	edi, 46
	call	putchar@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L2:
	mov	eax, DWORD PTR expired[rip]
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR switches[rip]
	add	eax, 1
	mov	DWORD PTR switches[rip], eax
	mov	eax, DWORD PTR switches[rip]
	cmp	eax, 20
	je	.L8
	mov	eax, 3
	sub	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR expired[rip], 0
	mov	eax, 3
	sub	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 968
	lea	rdx, uc[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 968
	lea	rcx, uc[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	swapcontext@PLT
	endbr64
	jmp	.L6
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	f, .-f
	.globl	handler
	.type	handler, @function
handler:
.LFB7:
	.cfi_startproc
	endbr64
	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 expired[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handler, .-handler
	.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, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16424[rbp], 268435456
	lea	rax, -16560[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, handler[rip]
	mov	QWORD PTR -16560[rbp], rax
	mov	QWORD PTR -16592[rbp], 0
	mov	QWORD PTR -16584[rbp], 1
	mov	rax, QWORD PTR -16592[rbp]
	mov	rdx, QWORD PTR -16584[rbp]
	mov	QWORD PTR -16576[rbp], rax
	mov	QWORD PTR -16568[rbp], rdx
	lea	rax, -16560[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 27
	call	sigaction@PLT
	test	eax, eax
	js	.L11
	lea	rax, -16592[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	setitimer@PLT
	test	eax, eax
	js	.L11
	lea	rdi, uc[rip+968]
	call	getcontext@PLT
	endbr64
	cmp	eax, -1
	je	.L11
	lea	rdi, uc[rip+1936]
	call	getcontext@PLT
	endbr64
	cmp	eax, -1
	jne	.L13
.L11:
	call	abort@PLT
.L13:
	lea	rax, uc[rip]
	mov	QWORD PTR uc[rip+976], rax
	lea	rax, -16400[rbp]
	mov	QWORD PTR uc[rip+984], rax
	mov	QWORD PTR uc[rip+1000], 8192
	mov	ecx, 1
	mov	edx, 1
	lea	rsi, f[rip]
	lea	rdi, uc[rip+968]
	mov	eax, 0
	call	makecontext@PLT
	lea	rax, uc[rip]
	mov	QWORD PTR uc[rip+1944], rax
	lea	rax, -8208[rbp]
	mov	QWORD PTR uc[rip+1952], rax
	mov	QWORD PTR uc[rip+1968], 8192
	mov	ecx, 2
	mov	edx, 1
	lea	rsi, f[rip]
	lea	rdi, uc[rip+1936]
	mov	eax, 0
	call	makecontext@PLT
	lea	rsi, uc[rip+968]
	lea	rdi, uc[rip]
	call	swapcontext@PLT
	endbr64
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"977155.c"
	.text
	.local	expired
	.comm	expired,4,4
	.local	uc
	.comm	uc,2232,8
	.local	switches
	.comm	switches,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012switching from %d to %d\012\000"
	.text
	.align	2
	.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]
	mov	r3, #0
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r3, .L9
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L2
	mov	r0, #46
	bl	putchar
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L2:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L9+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+12
	str	r3, [r2]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	cmp	r3, #20
	beq	.L8
	ldr	r3, [fp, #-16]
	rsb	r3, r3, #3
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, .L9+16
	bl	printf
	ldr	r3, .L9+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, .L9+20
	add	r0, r2, r3
	ldr	r3, [fp, #-16]
	rsb	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, .L9+20
	add	r3, r2, r3
	mov	r1, r3
	bl	swapcontext
	b	.L6
.L8:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	1374389535
	.word	stdout
	.word	expired
	.word	switches
	.word	.LC0
	.word	uc
	.size	f, .-f
	.align	2
	.global	handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ 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]
	ldr	r3, .L12
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	expired
	.size	handler, .-handler
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16384
	sub	sp, sp, #160
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #268435456
	str	r3, [r2, #-12]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r3, r3, #144
	add	r3, r3, #4
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L20+4
	str	r3, [r2, #-144]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-160]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-156]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r2, fp, #16384
	sub	r2, r2, #4
	sub	r3, r3, #152
	sub	r2, r2, #160
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r3, r3, #144
	mov	r2, #0
	mov	r1, r3
	mov	r0, #27
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	blt	.L15
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r3, r3, #160
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	setitimer
	mov	r3, r0
	cmp	r3, #0
	blt	.L15
	ldr	r0, .L20+8
	bl	getcontext
	mov	r3, r0
	cmn	r3, #1
	beq	.L15
	ldr	r0, .L20+12
	bl	getcontext
	mov	r3, r0
	cmn	r3, #1
	bne	.L17
.L15:
	bl	abort
.L17:
	ldr	r3, .L20+16
	ldr	r2, .L20+16
	str	r2, [r3, #748]
	ldr	r2, .L20+16
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [r2, #752]
	ldr	r3, .L20+16
	mov	r2, #8192
	str	r2, [r3, #760]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, .L20+20
	ldr	r0, .L20+8
	bl	makecontext
	ldr	r3, .L20+16
	ldr	r2, .L20+16
	str	r2, [r3, #1492]
	ldr	r2, .L20+16
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [r2, #1496]
	ldr	r3, .L20+16
	mov	r2, #8192
	str	r2, [r3, #1504]
	mov	r3, #2
	mov	r2, #1
	ldr	r1, .L20+20
	ldr	r0, .L20+12
	bl	makecontext
	ldr	r1, .L20+8
	ldr	r0, .L20+16
	bl	swapcontext
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	handler
	.word	uc+744
	.word	uc+1488
	.word	uc
	.word	f
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
