	.file	"729754.c"
	.intel_syntax noprefix
	.text
	.globl	it
	.section	.rodata
.LC0:
	.string	"<UNSET>"
	.section	.data.rel.local,"aw"
	.align 8
	.type	it, @object
	.size	it, 8
it:
	.quad	.LC0
	.globl	errors
	.bss
	.align 8
	.type	errors, @object
	.size	errors, 8
errors:
	.zero	8
	.section	.rodata
.LC1:
	.string	"%s: flunked test %d\n"
	.text
	.globl	check
	.type	check, @function
check:
.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
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR it[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR errors[rip]
	add	rax, 1
	mov	QWORD PTR errors[rip], rax
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	check, .-check
	.globl	equal
	.type	equal, @function
equal:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	cmp	QWORD PTR -8[rbp], 0
	je	.L5
	cmp	QWORD PTR -16[rbp], 0
	je	.L5
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	edx, 1
	jmp	.L6
.L5:
	mov	edx, 0
.L6:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, edx
	call	check
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	equal, .-equal
	.globl	global_int
	.bss
	.align 4
	.type	global_int, @object
	.size	global_int, 4
global_int:
	.zero	4
	.section	.rodata
.LC2:
	.string	"Received signal %d (%s).\n"
	.text
	.globl	set_global_int_to_one
	.type	set_global_int_to_one, @function
set_global_int_to_one:
.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
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR global_int[rip], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	set_global_int_to_one, .-set_global_int_to_one
	.section	.rodata
	.align 8
.LC3:
	.string	"global variable set from signal handler"
.LC4:
	.string	"signal(SIGUSR1) failed"
	.text
	.globl	signal_test_1
	.type	signal_test_1, @function
signal_test_1:
.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 global_int[rip], 0
	lea	rax, .LC3[rip]
	mov	QWORD PTR it[rip], rax
	lea	rsi, set_global_int_to_one[rip]
	mov	edi, 10
	call	signal@PLT
	cmp	rax, -1
	jne	.L10
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L10:
	mov	edi, 10
	call	raise@PLT
	mov	eax, DWORD PTR global_int[rip]
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	esi, 1
	mov	edi, eax
	call	check
	mov	DWORD PTR global_int[rip], 0
	mov	esi, 1
	mov	edi, 10
	call	signal@PLT
	cmp	rax, -1
	jne	.L11
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	mov	edi, 10
	call	raise@PLT
	mov	eax, DWORD PTR global_int[rip]
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, 1
	mov	edi, eax
	call	check
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	signal_test_1, .-signal_test_1
	.section	.rodata
.LC5:
	.string	"No errors."
.LC6:
	.string	"%lu errors.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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
	call	signal_test_1
	mov	rax, QWORD PTR errors[rip]
	test	rax, rax
	jne	.L13
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L14
.L13:
	mov	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR errors[rip]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.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	"729754.c"
	.text
	.global	it
	.section	.rodata
	.align	2
.LC0:
	.ascii	"<UNSET>\000"
	.data
	.align	2
	.type	it, %object
	.size	it, 4
it:
	.word	.LC0
	.global	errors
	.bss
	.align	2
	.type	errors, %object
	.size	errors, 4
errors:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s: flunked test %d\012\000"
	.text
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ 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	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	printf
	ldr	r3, .L4+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L4+8
	str	r3, [r2]
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	it
	.word	.LC1
	.word	errors
	.size	check, .-check
	.align	2
	.global	equal
	.syntax unified
	.arm
	.fpu softvfp
	.type	equal, %function
equal:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L7
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	mov	r3, #1
	b	.L8
.L7:
	mov	r3, #0
.L8:
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	check
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	equal, .-equal
	.global	global_int
	.bss
	.align	2
	.type	global_int, %object
	.size	global_int, 4
global_int:
	.space	4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Received signal %d (%s).\012\000"
	.text
	.align	2
	.global	set_global_int_to_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_global_int_to_one, %function
set_global_int_to_one:
	@ 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, [fp, #-8]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L11
	bl	printf
	ldr	r3, .L11+4
	mov	r2, #1
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	global_int
	.size	set_global_int_to_one, .-set_global_int_to_one
	.section	.rodata
	.align	2
.LC3:
	.ascii	"global variable set from signal handler\000"
	.align	2
.LC4:
	.ascii	"signal(SIGUSR1) failed\000"
	.text
	.align	2
	.global	signal_test_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_test_1, %function
signal_test_1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L16+4
	ldr	r2, .L16+8
	str	r2, [r3]
	ldr	r1, .L16+12
	mov	r0, #10
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L16+16
	bl	perror
	mvn	r0, #0
	bl	exit
.L14:
	mov	r0, #10
	bl	raise
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, #1
	mov	r0, r3
	bl	check
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3]
	mov	r1, #1
	mov	r0, #10
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L16+16
	bl	perror
	mvn	r0, #0
	bl	exit
.L15:
	mov	r0, #10
	bl	raise
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, #1
	mov	r0, r3
	bl	check
	nop
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	global_int
	.word	it
	.word	.LC3
	.word	set_global_int_to_one
	.word	.LC4
	.size	signal_test_1, .-signal_test_1
	.section	.rodata
	.align	2
.LC5:
	.ascii	"No errors.\000"
	.align	2
.LC6:
	.ascii	"%lu errors.\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	signal_test_1
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L21+4
	bl	puts
	b	.L20
.L19:
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L21
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+8
	bl	printf
.L20:
	ldr	r0, [fp, #-8]
	bl	exit
.L22:
	.align	2
.L21:
	.word	errors
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
