	.file	"492233.c"
	.intel_syntax noprefix
	.text
	.globl	usrHandler
	.type	usrHandler, @function
usrHandler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -36[rbp], edi
	call	__libc_current_sigrtmin@PLT
	mov	r13d, eax
	call	rand@PLT
	mov	ebx, eax
	call	__libc_current_sigrtmax@PLT
	mov	r12d, eax
	call	__libc_current_sigrtmin@PLT
	mov	ecx, r12d
	sub	ecx, eax
	mov	eax, ebx
	cdq
	idiv	ecx
	mov	eax, edx
	lea	ebx, 0[r13+rax]
	call	getppid@PLT
	mov	esi, ebx
	mov	edi, eax
	call	kill@PLT
	nop
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usrHandler, .-usrHandler
	.section	.rodata
.LC0:
	.string	"Hi, Im %d, sleeping for %d\n"
	.text
	.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, usrHandler[rip]
	mov	edi, 10
	call	signal@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -144[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	sigdelset@PLT
	call	getpid@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -148[rbp], eax
	mov	ecx, DWORD PTR -148[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	add	eax, ecx
	sub	edx, eax
	mov	DWORD PTR -148[rbp], edx
	call	getpid@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	sleep@PLT
	call	getppid@PLT
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	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	"492233.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	usrHandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	usrHandler, %function
usrHandler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	str	r0, [fp, #-24]
	bl	getppid
	mov	r6, r0
	bl	__libc_current_sigrtmin
	mov	r4, r0
	bl	rand
	mov	r7, r0
	bl	__libc_current_sigrtmax
	mov	r5, r0
	bl	__libc_current_sigrtmin
	mov	r3, r0
	sub	r3, r5, r3
	mov	r1, r3
	mov	r0, r7
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r4, r3
	mov	r1, r3
	mov	r0, r6
	bl	kill
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	usrHandler, .-usrHandler
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hi, Im %d, sleeping for %d\012\000"
	.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 = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L5+4
	mov	r0, #10
	bl	signal
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #136
	mov	r1, #10
	mov	r0, r3
	bl	sigdelset
	bl	getpid
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r2, r0
	ldr	r3, .L5+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-140]
	bl	getpid
	mov	r3, r0
	ldr	r2, [fp, #-140]
	mov	r1, r3
	ldr	r0, .L5+12
	bl	printf
	ldr	r3, .L5+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-140]
	mov	r0, r3
	bl	sleep
	bl	getppid
	mov	r3, r0
	mov	r1, #10
	mov	r0, r3
	bl	kill
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigsuspend
	ldr	r3, [fp, #-140]
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	usrHandler
	.word	780903145
	.word	.LC0
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
