	.file	"793399.c"
	.intel_syntax noprefix
	.text
	.local	signal_current_pid
	.comm	signal_current_pid,4,4
	.section	.rodata
.LC0:
	.string	"<C-C>"
.LC1:
	.string	"<C-BREAK>"
.LC2:
	.string	"<C-\\>"
.LC3:
	.string	"<C-Z>"
.LC4:
	.string	"<INT_%d>\n"
	.text
	.globl	signal_handler
	.type	signal_handler, @function
signal_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, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 20
	je	.L2
	cmp	DWORD PTR -4[rbp], 20
	jg	.L3
	cmp	DWORD PTR -4[rbp], 15
	je	.L4
	cmp	DWORD PTR -4[rbp], 15
	jg	.L3
	cmp	DWORD PTR -4[rbp], 2
	je	.L5
	cmp	DWORD PTR -4[rbp], 3
	je	.L6
	jmp	.L3
.L5:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L7
.L4:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L7
.L6:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L7
.L2:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L7
.L3:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L7:
	mov	eax, DWORD PTR signal_current_pid[rip]
	test	eax, eax
	je	.L9
	mov	eax, DWORD PTR signal_current_pid[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	kill@PLT
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	signal_handler, .-signal_handler
	.globl	signal_register_pid
	.type	signal_register_pid, @function
signal_register_pid:
.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 -4[rbp]
	mov	DWORD PTR signal_current_pid[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	signal_register_pid, .-signal_register_pid
	.section	.rodata
	.align 8
.LC5:
	.string	"Warning: unable to signal install handler (%d times).\n"
	.text
	.globl	init_signal_handler
	.type	init_signal_handler, @function
init_signal_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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -164[rbp], 0
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, signal_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L13
	add	DWORD PTR -164[rbp], 1
.L13:
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L14
	add	DWORD PTR -164[rbp], 1
.L14:
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 3
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L15
	add	DWORD PTR -164[rbp], 1
.L15:
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 20
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L16
	add	DWORD PTR -164[rbp], 1
.L16:
	cmp	DWORD PTR -164[rbp], 0
	je	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -164[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L17:
	mov	eax, DWORD PTR -164[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	init_signal_handler, .-init_signal_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	"793399.c"
	.text
	.local	signal_current_pid
	.comm	signal_current_pid,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"<C-C>\000"
	.align	2
.LC1:
	.ascii	"<C-BREAK>\000"
	.align	2
.LC2:
	.ascii	"<C-\\>\000"
	.align	2
.LC3:
	.ascii	"<C-Z>\000"
	.align	2
.LC4:
	.ascii	"<INT_%d>\012\000"
	.text
	.align	2
	.global	signal_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_handler, %function
signal_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, [fp, #-8]
	sub	r3, r3, #2
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L5
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L3
.L7:
	ldr	r0, .L11
	bl	puts
	b	.L8
.L5:
	ldr	r0, .L11+4
	bl	puts
	b	.L8
.L6:
	ldr	r0, .L11+8
	bl	puts
	b	.L8
.L3:
	ldr	r0, .L11+12
	bl	puts
	b	.L8
.L2:
	ldr	r1, [fp, #-8]
	ldr	r0, .L11+16
	bl	printf
	nop
.L8:
	ldr	r3, .L11+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L11+20
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	kill
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	signal_current_pid
	.size	signal_handler, .-signal_handler
	.align	2
	.global	signal_register_pid
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_register_pid, %function
signal_register_pid:
	@ 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	r2, .L15
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	signal_current_pid
	.size	signal_register_pid, .-signal_register_pid
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Warning: unable to signal install handler (%d times"
	.ascii	").\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_signal_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_signal_handler, %function
init_signal_handler:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-152]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	ldr	r3, .L25+4
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L18
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L18:
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L19:
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #3
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L20
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L20:
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #20
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L21
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L21:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	fprintf
.L22:
	ldr	r3, [fp, #-152]
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC6
	.word	signal_handler
	.word	stderr
	.word	.LC5
	.size	init_signal_handler, .-init_signal_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
