	.file	"1134841.c"
	.intel_syntax noprefix
	.text
	.globl	HariMain
	.type	HariMain, @function
HariMain:
.LFB0:
	.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	api_alloctimer@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 128
	mov	edi, eax
	call	api_inittimer@PLT
	mov	DWORD PTR -8[rbp], 200000000
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	api_beep@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 1
	mov	edi, eax
	call	api_settimer@PLT
	mov	edi, 1
	call	api_getkey@PLT
	cmp	eax, 128
	jne	.L6
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	sub	eax, edx
	add	DWORD PTR -8[rbp], eax
.L2:
	cmp	DWORD PTR -8[rbp], 19999
	jg	.L5
	jmp	.L4
.L6:
	nop
.L4:
	mov	edi, 0
	call	api_beep@PLT
	call	api_end@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	HariMain, .-HariMain
	.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	"1134841.c"
	.text
	.align	2
	.global	HariMain
	.syntax unified
	.arm
	.fpu softvfp
	.type	HariMain, %function
HariMain:
	@ 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	api_alloctimer
	str	r0, [fp, #-8]
	mov	r1, #128
	ldr	r0, [fp, #-8]
	bl	api_inittimer
	ldr	r3, .L7
	str	r3, [fp, #-12]
	b	.L2
.L5:
	ldr	r0, [fp, #-12]
	bl	api_beep
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	api_settimer
	mov	r0, #1
	bl	api_getkey
	mov	r3, r0
	cmp	r3, #128
	bne	.L6
	ldr	r3, [fp, #-12]
	ldr	r2, .L7+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	ldr	r2, .L7+8
	cmp	r3, r2
	bgt	.L5
	b	.L4
.L6:
	nop
.L4:
	mov	r0, #0
	bl	api_beep
	bl	api_end
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	200000000
	.word	1374389535
	.word	19999
	.size	HariMain, .-HariMain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
