	.file	"162643138.c"
	.intel_syntax noprefix
	.text
	.local	done
	.comm	done,8,8
	.local	repeats
	.comm	repeats,8,8
	.data
	.align 8
	.type	itimer, @object
	.size	itimer, 8
itimer:
	.long	0
	.long	1
	.align 8
	.type	alarm, @object
	.size	alarm, 8
alarm:
	.long	14
	.long	26
	.section	.rodata
.LC0:
	.string	"sigrepeat"
	.text
	.type	handler, @function
handler:
.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, 224
	mov	DWORD PTR -212[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -212[rbp], 14
	je	.L2
	cmp	DWORD PTR -212[rbp], 26
	je	.L3
	jmp	.L11
.L2:
	mov	DWORD PTR -196[rbp], 0
	jmp	.L5
.L3:
	mov	DWORD PTR -196[rbp], 1
	jmp	.L5
.L11:
	call	abort@PLT
.L5:
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, repeats[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, 1[rax]
	mov	ecx, DWORD PTR -196[rbp]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*4]
	lea	rcx, repeats[rip]
	mov	DWORD PTR [rsi+rcx], edx
	cmp	eax, 3
	jle	.L6
	lea	rax, -192[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, itimer[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rcx, -192[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	setitimer@PLT
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -160[rbp], 1
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sigaction@PLT
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	DWORD PTR [rdx+rax], 1
	jmp	.L1
.L6:
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	sigpending@PLT
	test	eax, eax
	jns	.L8
	lea	rdi, .LC0[rip]
	call	perror@PLT
	call	abort@PLT
.L8:
	mov	edx, DWORD PTR -212[rbp]
	lea	rax, -160[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	jne	.L12
	jmp	.L6
.L12:
	nop
.L1:
	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
.LFE6:
	.size	handler, .-handler
	.globl	main
	.type	main, @function
main:
.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -196[rbp], 0
	jmp	.L14
.L15:
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, handler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, alarm[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rcx, -160[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sigaction@PLT
	add	DWORD PTR -196[rbp], 1
.L14:
	cmp	DWORD PTR -196[rbp], 1
	jle	.L15
	mov	DWORD PTR -196[rbp], 0
	jmp	.L16
.L17:
	lea	rax, -192[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -184[rbp], 1
	mov	QWORD PTR -168[rbp], 250000
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, itimer[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rcx, -192[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	setitimer@PLT
	add	DWORD PTR -196[rbp], 1
.L16:
	cmp	DWORD PTR -196[rbp], 1
	jle	.L17
	nop
.L19:
	mov	eax, DWORD PTR done[rip]
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR done[rip+4]
	test	eax, eax
	je	.L19
.L18:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"162643138.c"
	.text
	.local	done
	.comm	done,8,4
	.local	repeats
	.comm	repeats,8,4
	.data
	.align	2
	.type	itimer, %object
	.size	itimer, 8
itimer:
	.word	0
	.word	1
	.align	2
	.type	alarm, %object
	.size	alarm, 8
alarm:
	.word	14
	.word	26
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sigrepeat\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-176]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-176]
	cmp	r3, #14
	beq	.L2
	ldr	r3, [fp, #-176]
	cmp	r3, #26
	beq	.L3
	b	.L11
.L2:
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L5
.L3:
	mov	r3, #1
	str	r3, [fp, #-168]
	b	.L5
.L11:
	bl	abort
.L5:
	ldr	r2, .L13+4
	ldr	r3, [fp, #-168]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #1
	ldr	r0, .L13+4
	ldr	r2, [fp, #-168]
	str	r1, [r0, r2, lsl #2]
	cmp	r3, #3
	ble	.L6
	sub	r3, fp, #164
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, .L13+8
	ldr	r3, [fp, #-168]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, fp, #164
	mov	r2, #0
	mov	r0, r3
	bl	setitimer
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-176]
	bl	sigaction
	ldr	r2, .L13+12
	ldr	r3, [fp, #-168]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	b	.L1
.L6:
	sub	r3, fp, #148
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #148
	mov	r0, r3
	bl	sigpending
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L13+16
	bl	perror
	bl	abort
.L8:
	sub	r3, fp, #148
	ldr	r1, [fp, #-176]
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	b	.L6
.L12:
	nop
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	repeats
	.word	itimer
	.word	done
	.word	.LC0
	.size	handler, .-handler
	.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 = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L16
.L17:
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L24+4
	str	r3, [fp, #-148]
	ldr	r2, .L24+8
	ldr	r3, [fp, #-168]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, fp, #148
	mov	r2, #0
	mov	r0, r3
	bl	sigaction
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L16:
	ldr	r3, [fp, #-168]
	cmp	r3, #1
	ble	.L17
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L18
.L19:
	sub	r3, fp, #164
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-160]
	ldr	r3, .L24+12
	str	r3, [fp, #-152]
	ldr	r2, .L24+16
	ldr	r3, [fp, #-168]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, fp, #164
	mov	r2, #0
	mov	r0, r3
	bl	setitimer
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L18:
	ldr	r3, [fp, #-168]
	cmp	r3, #1
	ble	.L19
	nop
.L21:
	ldr	r3, .L24+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L24+20
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L21
.L20:
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	handler
	.word	alarm
	.word	250000
	.word	itimer
	.word	done
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
