	.file	"364844.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"SYS_rt_sigsuspend did not return EFAULT: ret=%d, errno=%d\n"
	.align 8
.LC1:
	.string	"SYS_rt_sigprocmask did not return EFAULT: ret=%d, errno=%d\n"
	.align 8
.LC2:
	.string	"SYS_rt_sigaction did not return EFAULT: ret=%d, errno=%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	edx, 8
	mov	esi, -1
	mov	edi, 130
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 14
	je	.L3
.L2:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L4
.L3:
	mov	r8d, 8
	mov	ecx, -1
	mov	edx, -1
	mov	esi, 2
	mov	edi, 14
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 14
	je	.L6
.L5:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L4
.L6:
	mov	r8d, 8
	mov	ecx, -1
	mov	edx, -1
	mov	esi, 10
	mov	edi, 13
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 14
	je	.L8
.L7:
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L4
.L8:
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"364844.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"SYS_rt_sigsuspend did not return EFAULT: ret=%d, er"
	.ascii	"rno=%d\012\000"
	.align	2
.LC1:
	.ascii	"SYS_sigsuspend did not return EFAULT: ret=%d, errno"
	.ascii	"=%d\012\000"
	.align	2
.LC2:
	.ascii	"SYS_rt_sigprocmask did not return EFAULT: ret=%d, e"
	.ascii	"rrno=%d\012\000"
	.align	2
.LC3:
	.ascii	"SYS_sigprocmask did not return EFAULT: ret=%d, errn"
	.ascii	"o=%d\012\000"
	.align	2
.LC4:
	.ascii	"SYS_rt_sigaction did not return EFAULT: ret=%d, err"
	.ascii	"no=%d\012\000"
	.align	2
.LC5:
	.ascii	"SYS_sigaction did not return EFAULT: ret=%d, errno="
	.ascii	"%d\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, #16
	mov	r2, #8
	mvn	r1, #0
	mov	r0, #179
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L3
.L2:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L15
	bl	printf
	mov	r3, #1
	b	.L4
.L3:
	mvn	r1, #0
	mov	r0, #72
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L6
.L5:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+4
	bl	printf
	mov	r3, #1
	b	.L4
.L6:
	mov	r3, #8
	str	r3, [sp]
	mvn	r3, #0
	mvn	r2, #0
	mov	r1, #2
	mov	r0, #175
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L7
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L8
.L7:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+8
	bl	printf
	mov	r3, #1
	b	.L4
.L8:
	mvn	r3, #0
	mvn	r2, #0
	mov	r1, #2
	mov	r0, #126
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L10
.L9:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+12
	bl	printf
	mov	r3, #1
	b	.L4
.L10:
	mov	r3, #8
	str	r3, [sp]
	mvn	r3, #0
	mvn	r2, #0
	mov	r1, #10
	mov	r0, #174
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L11
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L12
.L11:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+16
	bl	printf
	mov	r3, #1
	b	.L4
.L12:
	mvn	r3, #0
	mvn	r2, #0
	mov	r1, #10
	mov	r0, #67
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L14
.L13:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+20
	bl	printf
	mov	r3, #1
	b	.L4
.L14:
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
