	.file	"176706919.c"
	.intel_syntax noprefix
	.text
	.local	sigNum
	.comm	sigNum,4,4
	.globl	hdlthreadSignalProcessor
	.bss
	.align 8
	.type	hdlthreadSignalProcessor, @object
	.size	hdlthreadSignalProcessor, 8
hdlthreadSignalProcessor:
	.zero	8
	.globl	signalMutex
	.align 32
	.type	signalMutex, @object
	.size	signalMutex, 40
signalMutex:
	.zero	40
	.text
	.type	staticSimpleSigaction, @function
staticSimpleSigaction:
.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, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	cmp	QWORD PTR -176[rbp], 0
	jne	.L2
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 5
	mov	eax, -1
	jmp	.L4
.L2:
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sigaction@PLT
.L4:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	staticSimpleSigaction, .-staticSimpleSigaction
	.type	staticSignalCatcher, @function
staticSignalCatcher:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, signalMutex[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR sigNum[rip], eax
	lea	rdi, signalMutex[rip]
	call	pthread_mutex_unlock@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	staticSignalCatcher, .-staticSignalCatcher
	.section	.rodata
.LC0:
	.string	"<SIGALRM>"
.LC1:
	.string	"<SIGFPE>"
.LC2:
	.string	"<SIGHUP>"
.LC3:
	.string	"<SIGILL>"
.LC4:
	.string	"<SIGINT>"
.LC5:
	.string	"<SIGPIPE>"
.LC6:
	.string	"<SIGQUIT>"
.LC7:
	.string	"<SIGSEGV>"
.LC8:
	.string	"<SIGTERM>"
.LC9:
	.string	"<SIGUSR1>"
.LC10:
	.string	"<SIGUSR2>"
.LC11:
	.string	"Catch unknown signal %d.\n"
	.text
	.type	threadSignalProcessor, @function
threadSignalProcessor:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
.L23:
	mov	eax, DWORD PTR sigNum[rip]
	test	eax, eax
	je	.L23
	lea	rdi, signalMutex[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR sigNum[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR sigNum[rip], 0
	lea	rdi, signalMutex[rip]
	call	pthread_mutex_unlock@PLT
	cmp	DWORD PTR -4[rbp], 15
	ja	.L9
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L11[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L11[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L9-.L11
	.long	.L21-.L11
	.long	.L20-.L11
	.long	.L19-.L11
	.long	.L18-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L17-.L11
	.long	.L9-.L11
	.long	.L16-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.text
.L12:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L8
.L17:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	jmp	.L23
	.cfi_endproc
.LFE8:
	.size	threadSignalProcessor, .-threadSignalProcessor
	.globl	AMCSignalRegister
	.type	AMCSignalRegister, @function
AMCSignalRegister:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 14
	mov	DWORD PTR -60[rbp], 8
	mov	DWORD PTR -56[rbp], 1
	mov	DWORD PTR -52[rbp], 4
	mov	DWORD PTR -48[rbp], 2
	mov	DWORD PTR -44[rbp], 13
	mov	DWORD PTR -40[rbp], 3
	mov	DWORD PTR -36[rbp], 11
	mov	DWORD PTR -32[rbp], 15
	mov	DWORD PTR -28[rbp], 10
	mov	DWORD PTR -24[rbp], 12
	mov	esi, 0
	lea	rdi, signalMutex[rip]
	call	pthread_mutex_init@PLT
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	je	.L25
	mov	eax, -1
	jmp	.L32
.L25:
	mov	ecx, 0
	lea	rdx, threadSignalProcessor[rip]
	mov	esi, 0
	lea	rdi, hdlthreadSignalProcessor[rip]
	call	pthread_create@PLT
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	je	.L27
	mov	eax, -1
	jmp	.L32
.L27:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L28
.L31:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	lea	rsi, staticSignalCatcher[rip]
	mov	edi, eax
	call	staticSimpleSigaction
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	js	.L34
	add	DWORD PTR -68[rbp], 1
.L28:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, 10
	jbe	.L31
	jmp	.L30
.L34:
	nop
.L30:
	mov	eax, DWORD PTR -72[rbp]
.L32:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	AMCSignalRegister, .-AMCSignalRegister
	.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	"176706919.c"
	.text
	.local	sigNum
	.comm	sigNum,4,4
	.global	hdlthreadSignalProcessor
	.bss
	.align	2
	.type	hdlthreadSignalProcessor, %object
	.size	hdlthreadSignalProcessor, 4
hdlthreadSignalProcessor:
	.space	4
	.global	signalMutex
	.align	2
	.type	signalMutex, %object
	.size	signalMutex, 24
signalMutex:
	.space	24
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	staticSimpleSigaction, %function
staticSimpleSigaction:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L6
	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, [fp, #-156]
	cmp	r3, #0
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	mov	r2, #5
	str	r2, [r3]
	mvn	r3, #0
	b	.L4
.L2:
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	ldr	r3, [fp, #-156]
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-152]
	bl	sigaction
	mov	r3, r0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.size	staticSimpleSigaction, .-staticSimpleSigaction
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	staticSignalCatcher, %function
staticSignalCatcher:
	@ 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, .L9
	bl	pthread_mutex_lock
	ldr	r2, .L9+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r0, .L9
	bl	pthread_mutex_unlock
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	signalMutex
	.word	sigNum
	.size	staticSignalCatcher, .-staticSignalCatcher
	.section	.rodata
	.align	2
.LC2:
	.ascii	"<SIGALRM>\000"
	.align	2
.LC3:
	.ascii	"<SIGFPE>\000"
	.align	2
.LC4:
	.ascii	"<SIGHUP>\000"
	.align	2
.LC5:
	.ascii	"<SIGILL>\000"
	.align	2
.LC6:
	.ascii	"<SIGINT>\000"
	.align	2
.LC7:
	.ascii	"<SIGPIPE>\000"
	.align	2
.LC8:
	.ascii	"<SIGQUIT>\000"
	.align	2
.LC9:
	.ascii	"<SIGSEGV>\000"
	.align	2
.LC10:
	.ascii	"<SIGTERM>\000"
	.align	2
.LC11:
	.ascii	"<SIGUSR1>\000"
	.align	2
.LC12:
	.ascii	"<SIGUSR2>\000"
	.align	2
.LC13:
	.ascii	"Catch unknown signal %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	threadSignalProcessor, %function
threadSignalProcessor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
.L27:
	ldr	r3, .L28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	ldr	r0, .L28+4
	bl	pthread_mutex_lock
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L28
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L28+4
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	cmp	r3, #14
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L15:
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L21
	.word	.L13
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L14
.L16:
	ldr	r0, .L28+8
	bl	puts
	b	.L12
.L21:
	ldr	r0, .L28+12
	bl	puts
	mov	r0, #1
	bl	exit
.L25:
	ldr	r0, .L28+16
	bl	puts
	mov	r0, #1
	bl	exit
.L22:
	ldr	r0, .L28+20
	bl	puts
	mov	r0, #1
	bl	exit
.L24:
	ldr	r0, .L28+24
	bl	puts
	mov	r0, #1
	bl	exit
.L17:
	ldr	r0, .L28+28
	bl	puts
	mov	r0, #1
	bl	exit
.L23:
	ldr	r0, .L28+32
	bl	puts
	mov	r0, #1
	bl	exit
.L19:
	ldr	r0, .L28+36
	bl	puts
	mov	r0, #1
	bl	exit
.L14:
	ldr	r0, .L28+40
	bl	puts
	mov	r0, #1
	bl	exit
.L20:
	ldr	r0, .L28+44
	bl	puts
	mov	r0, #1
	bl	exit
.L18:
	ldr	r0, .L28+48
	bl	puts
	mov	r0, #1
	bl	exit
.L13:
	ldr	r1, [fp, #-8]
	ldr	r0, .L28+52
	bl	printf
	mov	r0, #1
	bl	exit
.L12:
	b	.L27
.L29:
	.align	2
.L28:
	.word	sigNum
	.word	signalMutex
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	threadSignalProcessor, .-threadSignalProcessor
	.section	.rodata
	.align	2
.LC0:
	.word	14
	.word	8
	.word	1
	.word	4
	.word	2
	.word	13
	.word	3
	.word	11
	.word	15
	.word	10
	.word	12
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AMCSignalRegister
	.syntax unified
	.arm
	.fpu softvfp
	.type	AMCSignalRegister, %function
AMCSignalRegister:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L41+4
	sub	ip, fp, #52
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	r1, #0
	ldr	r0, .L41+8
	bl	pthread_mutex_init
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L31
	mvn	r3, #0
	b	.L38
.L31:
	mov	r3, #0
	ldr	r2, .L41+12
	mov	r1, #0
	ldr	r0, .L41+16
	bl	pthread_create
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L33
	mvn	r3, #0
	b	.L38
.L33:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L34
.L37:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	ldr	r1, .L41+20
	mov	r0, r3
	bl	staticSimpleSigaction
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	blt	.L40
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L34:
	ldr	r3, [fp, #-56]
	cmp	r3, #10
	bls	.L37
	b	.L36
.L40:
	nop
.L36:
	ldr	r3, [fp, #-60]
.L38:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC14
	.word	.LC0
	.word	signalMutex
	.word	threadSignalProcessor
	.word	hdlthreadSignalProcessor
	.word	staticSignalCatcher
	.size	AMCSignalRegister, .-AMCSignalRegister
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
