	.file	"68569.c"
	.intel_syntax noprefix
	.text
	.globl	pfReplaySignal1
	.bss
	.align 8
	.type	pfReplaySignal1, @object
	.size	pfReplaySignal1, 8
pfReplaySignal1:
	.zero	8
	.data
	.align 4
	.type	First, @object
	.size	First, 4
First:
	.long	1
	.section	.rodata
.LC0:
	.string	"Unable to handle signal\n"
.LC1:
	.string	"Should not get here (1)\n"
	.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, Handle[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L4
.L2:
	mov	edi, 10
	call	raise@PLT
	lea	rax, ReplaySignal1[rip]
	mov	QWORD PTR pfReplaySignal1[rip], rax
	mov	rdx, QWORD PTR pfReplaySignal1[rip]
	mov	eax, 0
	call	rdx
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
.L4:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.string	"Expected signal %d (SIGUSR1), but got %d\n"
.LC3:
	.string	"Got signal SIGUSR1"
.LC4:
	.string	"Should not get here (2)\n"
	.text
	.globl	Handle
	.type	Handle, @function
Handle:
.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
	cmp	DWORD PTR -4[rbp], 10
	je	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	mov	edx, 10
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR First[rip]
	test	eax, eax
	je	.L8
	mov	DWORD PTR First[rip], 0
	jmp	.L10
.L8:
	lea	rax, ReplaySignal2[rip]
	mov	QWORD PTR pfReplaySignal1[rip], rax
	mov	rdx, QWORD PTR pfReplaySignal1[rip]
	mov	eax, 0
	call	rdx
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Handle, .-Handle
	.globl	ReplaySignal1
	.type	ReplaySignal1, @function
ReplaySignal1:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ReplaySignal1, .-ReplaySignal1
	.globl	ReplaySignal2
	.type	ReplaySignal2, @function
ReplaySignal2:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ReplaySignal2, .-ReplaySignal2
	.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	"68569.c"
	.text
	.comm	pfReplaySignal1,4,4
	.data
	.align	2
	.type	First, %object
	.size	First, 4
First:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unable to handle signal\012\000"
	.align	2
.LC1:
	.ascii	"Should not get here (1)\012\000"
	.align	2
.LC2:
	.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, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r3, .L6+8
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L6+12
	bl	fwrite
	mov	r3, #1
	b	.L4
.L2:
	mov	r0, #10
	bl	raise
	ldr	r3, .L6+16
	ldr	r2, .L6+20
	str	r2, [r3]
	ldr	r3, .L6+16
	ldr	r3, [r3]
	blx	r3
	ldr	r3, .L6+8
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L6+24
	bl	fwrite
	mov	r3, #1
.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	.LC2
	.word	Handle
	.word	stderr
	.word	.LC0
	.word	pfReplaySignal1
	.word	ReplaySignal1
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Expected signal %d (SIGUSR1), but got %d\012\000"
	.align	2
.LC4:
	.ascii	"Got signal SIGUSR1\000"
	.align	2
.LC5:
	.ascii	"Should not get here (2)\012\000"
	.text
	.align	2
	.global	Handle
	.syntax unified
	.arm
	.fpu softvfp
	.type	Handle, %function
Handle:
	@ 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]
	cmp	r3, #10
	beq	.L9
	ldr	r3, .L13
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #10
	ldr	r1, .L13+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	ldr	r0, .L13+8
	bl	puts
	ldr	r3, .L13+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L13+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L13+16
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L10:
	ldr	r3, .L13+20
	ldr	r2, .L13+24
	str	r2, [r3]
	ldr	r3, .L13+20
	ldr	r3, [r3]
	blx	r3
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L13+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	stdout
	.word	First
	.word	pfReplaySignal1
	.word	ReplaySignal2
	.word	.LC5
	.size	Handle, .-Handle
	.align	2
	.global	ReplaySignal1
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReplaySignal1, %function
ReplaySignal1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ReplaySignal1, .-ReplaySignal1
	.align	2
	.global	ReplaySignal2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReplaySignal2, %function
ReplaySignal2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ReplaySignal2, .-ReplaySignal2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
