	.file	"extr_sort.c_set_signal_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sigaction"
	.text
	.p2align 4
	.type	set_signal_handler, @function
set_signal_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	esi, esi
	mov	edx, 16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	memset@PLT
	mov	edi, DWORD PTR SIGTERM[rip]
	xor	edx, edx
	mov	rsi, rbp
	lea	rax, sig_handler[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR SA_SIGINFO[rip]
	mov	DWORD PTR [rsp], eax
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGHUP[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGINT[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGQUIT[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGABRT[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGBUS[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGSEGV[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGUSR1[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	js	.L4
	mov	edi, DWORD PTR SIGUSR2[rip]
	xor	edx, edx
	mov	rsi, rbp
	call	sigaction@PLT
	test	rax, rax
	jns	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_signal_handler, .-set_signal_handler
	.comm	sig_handler,4,4
	.comm	SIGUSR2,4,4
	.comm	SIGUSR1,4,4
	.comm	SIGTERM,4,4
	.comm	SIGSEGV,4,4
	.comm	SIGQUIT,4,4
	.comm	SIGINT,4,4
	.comm	SIGHUP,4,4
	.comm	SIGBUS,4,4
	.comm	SIGABRT,4,4
	.comm	SA_SIGINFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sort.c_set_signal_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sigaction\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_signal_handler, %function
set_signal_handler:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L9
	ldr	r2, .L9+4
	sub	sp, sp, #16
	ldr	ip, [r3]
	ldr	lr, .L9+8
	ldr	r3, .L9+12
	ldr	r0, [r2]
	add	r1, sp, #4
	mov	r2, #0
	ldr	lr, [lr]
	str	lr, [sp, #12]
	mov	lr,#0
	str	ip, [sp, #4]
	str	r3, [sp, #8]
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+16
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+20
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+24
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+28
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+32
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+36
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+40
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+44
	mov	r2, #0
	ldr	r0, [r3]
	add	r1, sp, #4
	bl	sigaction
	cmp	r0, #0
	bge	.L1
.L4:
	ldr	r0, .L9+48
	bl	perror
.L1:
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	SA_SIGINFO
	.word	SIGTERM
	.word	.LC1
	.word	sig_handler
	.word	SIGHUP
	.word	SIGINT
	.word	SIGQUIT
	.word	SIGABRT
	.word	SIGBUS
	.word	SIGSEGV
	.word	SIGUSR1
	.word	SIGUSR2
	.word	.LC0
	.size	set_signal_handler, .-set_signal_handler
	.comm	sig_handler,4,4
	.comm	SIGUSR2,4,4
	.comm	SIGUSR1,4,4
	.comm	SIGTERM,4,4
	.comm	SIGSEGV,4,4
	.comm	SIGQUIT,4,4
	.comm	SIGINT,4,4
	.comm	SIGHUP,4,4
	.comm	SIGBUS,4,4
	.comm	SIGABRT,4,4
	.comm	SA_SIGINFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
