	.file	"125141822.c"
	.intel_syntax noprefix
	.text
	.globl	putty_signal
	.type	putty_signal, @function
putty_signal:
.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, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR -320[rbp], rax
	lea	rax, -320[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	test	eax, eax
	jns	.L2
	mov	rax, -1
	jmp	.L5
.L2:
	mov	DWORD PTR -184[rbp], 268435456
	lea	rdx, -160[rbp]
	lea	rcx, -320[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	sigaction@PLT
	test	eax, eax
	jns	.L4
	mov	rax, -1
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -160[rbp]
.L5:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	putty_signal, .-putty_signal
	.section	.rodata
.LC0:
	.string	"sigprocmask"
	.text
	.globl	block_signal
	.type	block_signal, @function
block_signal:
.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, 160
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	edx, DWORD PTR -148[rbp]
	lea	rax, -144[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigaddset@PLT
	cmp	DWORD PTR -152[rbp], 0
	sete	al
	movzx	eax, al
	lea	rcx, -144[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sigprocmask@PLT
	test	eax, eax
	jns	.L10
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	block_signal, .-block_signal
	.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	"125141822.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	putty_signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	putty_signal, %function
putty_signal:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-296]
	str	r1, [fp, #-300]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-300]
	str	r3, [fp, #-288]
	sub	r3, fp, #288
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	mvn	r3, #0
	b	.L5
.L2:
	mov	r3, #268435456
	str	r3, [fp, #-156]
	sub	r2, fp, #148
	sub	r3, fp, #288
	mov	r1, r3
	ldr	r0, [fp, #-296]
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	mvn	r3, #0
	b	.L5
.L4:
	ldr	r3, [fp, #-148]
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	putty_signal, .-putty_signal
	.section	.rodata
	.align	2
.LC1:
	.ascii	"sigprocmask\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	block_signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	block_signal, %function
block_signal:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #136
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	sigaddset
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	bl	sigprocmask
	mov	r3, r0
	cmp	r3, #0
	bge	.L12
	ldr	r0, .L13+4
	bl	perror
	mov	r0, #1
	bl	exit
.L12:
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC1
	.size	block_signal, .-block_signal
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
