	.file	"122016621.c"
	.intel_syntax noprefix
	.text
	.globl	timer_func_handler_pntr
	.bss
	.align 8
	.type	timer_func_handler_pntr, @object
	.size	timer_func_handler_pntr, 8
timer_func_handler_pntr:
	.zero	8
	.globl	timervalue
	.align 32
	.type	timervalue, @object
	.size	timervalue, 32
timervalue:
	.zero	32
	.globl	new_handler
	.align 32
	.type	new_handler, @object
	.size	new_handler, 152
new_handler:
	.zero	152
	.globl	old_handler
	.align 32
	.type	old_handler, @object
	.size	old_handler, 152
old_handler:
	.zero	152
	.section	.rodata
.LC0:
	.string	"\nsetitimer() error"
.LC1:
	.string	"\nsigaction() error"
	.text
	.globl	start_timer
	.type	start_timer, @function
start_timer:
.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
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR timer_func_handler_pntr[rip], rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	QWORD PTR timervalue[rip], rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	imul	eax, edx, 1000
	cdqe
	mov	QWORD PTR timervalue[rip+8], rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	QWORD PTR timervalue[rip+16], rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	imul	eax, edx, 1000
	cdqe
	mov	QWORD PTR timervalue[rip+24], rax
	mov	edx, 0
	lea	rsi, timervalue[rip]
	mov	edi, 0
	call	setitimer@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	lea	rax, timer_sig_handler[rip]
	mov	QWORD PTR new_handler[rip], rax
	mov	DWORD PTR new_handler[rip+136], 1073741824
	lea	rdx, old_handler[rip]
	lea	rsi, new_handler[rip]
	mov	edi, 14
	call	sigaction@PLT
	test	eax, eax
	je	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L4:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	start_timer, .-start_timer
	.globl	timer_sig_handler
	.type	timer_sig_handler, @function
timer_sig_handler:
.LFB1:
	.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
	mov	rax, QWORD PTR timer_func_handler_pntr[rip]
	call	rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	timer_sig_handler, .-timer_sig_handler
	.globl	stop_timer
	.type	stop_timer, @function
stop_timer:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR timervalue[rip], 0
	mov	QWORD PTR timervalue[rip+8], 0
	mov	QWORD PTR timervalue[rip+16], 0
	mov	QWORD PTR timervalue[rip+24], 0
	mov	edx, 0
	lea	rsi, timervalue[rip]
	mov	edi, 0
	call	setitimer@PLT
	mov	edx, 0
	lea	rsi, old_handler[rip]
	mov	edi, 14
	call	sigaction@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	stop_timer, .-stop_timer
	.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	"122016621.c"
	.text
	.comm	timer_func_handler_pntr,4,4
	.comm	timervalue,16,4
	.comm	new_handler,140,4
	.comm	old_handler,140,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012setitimer() error\000"
	.align	2
.LC1:
	.ascii	"\012sigaction() error\000"
	.text
	.align	2
	.global	start_timer
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_timer, %function
start_timer:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r2, .L5
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	ldr	r2, .L5+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, .L5+8
	str	r3, [r2]
	ldr	r1, [fp, #-8]
	ldr	r3, .L5+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L5+8
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, .L5+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, .L5+8
	str	r3, [r2, #8]
	ldr	r1, [fp, #-8]
	ldr	r3, .L5+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L5+8
	str	r2, [r3, #12]
	mov	r2, #0
	ldr	r1, .L5+8
	mov	r0, #0
	bl	setitimer
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L5+12
	bl	puts
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, .L5+16
	ldr	r2, .L5+20
	str	r2, [r3]
	ldr	r3, .L5+16
	mov	r2, #1073741824
	str	r2, [r3, #132]
	ldr	r2, .L5+24
	ldr	r1, .L5+16
	mov	r0, #14
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L5+28
	bl	puts
	mov	r3, #1
	b	.L3
.L4:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	timer_func_handler_pntr
	.word	274877907
	.word	timervalue
	.word	.LC0
	.word	new_handler
	.word	timer_sig_handler
	.word	old_handler
	.word	.LC1
	.size	start_timer, .-start_timer
	.align	2
	.global	timer_sig_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_sig_handler, %function
timer_sig_handler:
	@ 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, .L8
	ldr	r3, [r3]
	blx	r3
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	timer_func_handler_pntr
	.size	timer_sig_handler, .-timer_sig_handler
	.align	2
	.global	stop_timer
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop_timer, %function
stop_timer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L11
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L11
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L11
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L11
	mov	r2, #0
	str	r2, [r3, #12]
	mov	r2, #0
	ldr	r1, .L11
	mov	r0, #0
	bl	setitimer
	mov	r2, #0
	ldr	r1, .L11+4
	mov	r0, #14
	bl	sigaction
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	timervalue
	.word	old_handler
	.size	stop_timer, .-stop_timer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
