	.file	"901000.c"
	.intel_syntax noprefix
	.text
	.local	sig_count
	.comm	sig_count,4,4
	.local	sig_flag
	.comm	sig_flag,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"SIGUSR1 was raised %d times...\r\b"
	.text
	.globl	main
	.type	main, @function
main:
.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, user_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	lea	rsi, int_handler[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, stop_handler[rip]
	mov	edi, 20
	call	signal@PLT
.L3:
	mov	eax, DWORD PTR sig_flag[rip]
	cmp	eax, 1
	jne	.L2
	mov	DWORD PTR sig_flag[rip], 0
	mov	edi, 10
	call	raise@PLT
.L2:
	mov	eax, DWORD PTR sig_count[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	user_handler
	.type	user_handler, @function
user_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	eax, DWORD PTR sig_count[rip]
	add	eax, 1
	mov	DWORD PTR sig_count[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	user_handler, .-user_handler
	.section	.rodata
.LC1:
	.string	"\nExiting..."
	.text
	.globl	int_handler
	.type	int_handler, @function
int_handler:
.LFB8:
	.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
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	int_handler, .-int_handler
	.globl	stop_handler
	.type	stop_handler, @function
stop_handler:
.LFB9:
	.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 sig_flag[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	stop_handler, .-stop_handler
	.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	"901000.c"
	.text
	.local	sig_count
	.comm	sig_count,4,4
	.local	sig_flag
	.comm	sig_flag,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"SIGUSR1 was raised %d times...\015\010\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 = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L5+4
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	ldr	r1, .L5+8
	mov	r0, #2
	bl	signal
	ldr	r1, .L5+12
	mov	r0, #20
	bl	signal
.L3:
	ldr	r3, .L5+16
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L2
	ldr	r3, .L5+16
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #10
	bl	raise
.L2:
	ldr	r3, .L5+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+24
	bl	printf
	b	.L3
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	user_handler
	.word	int_handler
	.word	stop_handler
	.word	sig_flag
	.word	sig_count
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	user_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	user_handler, %function
user_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, .L8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	sig_count
	.size	user_handler, .-user_handler
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012Exiting...\000"
	.text
	.align	2
	.global	int_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	int_handler, %function
int_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	r0, .L11
	bl	puts
	mov	r0, #1
	bl	exit
.L12:
	.align	2
.L11:
	.word	.LC2
	.size	int_handler, .-int_handler
	.align	2
	.global	stop_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop_handler, %function
stop_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, .L14
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L15:
	.align	2
.L14:
	.word	sig_flag
	.size	stop_handler, .-stop_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
