	.file	"extr_sighandler.c_handle_signal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"i3 crashed. SIG: %d\n"
	.text
	.p2align 4
	.type	handle_signal, @function
handle_signal:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edi
	lea	rdi, .LC0[rip]
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	call	DLOG@PLT
	mov	eax, DWORD PTR SIG_DFL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], 0
	mov	DWORD PTR 16[rsp], eax
	call	sigemptyset@PLT
	xor	edx, edx
	mov	rsi, rbp
	mov	edi, ebx
	call	sigaction@PLT
	xor	eax, eax
	mov	DWORD PTR raised_signal[rip], ebx
	call	sighandler_setup@PLT
	xor	eax, eax
	call	sighandler_create_dialogs@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	call	free@PLT
.L2:
	mov	edi, DWORD PTR conn[rip]
	call	xcb_wait_for_event@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	handle_signal, .-handle_signal
	.comm	raised_signal,4,4
	.comm	conn,4,4
	.comm	SIG_DFL,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_sighandler.c_handle_signal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"i3 crashed. SIG: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_signal, %function
handle_signal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	mov	r4, #0
	ldr	r3, .L8
	sub	sp, sp, #20
	mov	r1, r0
	ldr	r0, .L8+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	DLOG
	ldr	r3, .L8+8
	mov	r0, sp
	ldr	r3, [r3]
	str	r4, [sp, #4]
	str	r3, [sp, #8]
	bl	sigemptyset
	mov	r2, r4
	mov	r1, sp
	mov	r0, r5
	bl	sigaction
	ldr	r3, .L8+12
	ldr	r4, .L8+16
	str	r5, [r3]
	bl	sighandler_setup
	bl	sighandler_create_dialogs
	b	.L2
.L3:
	bl	free
.L2:
	ldr	r0, [r4]
	bl	xcb_wait_for_event
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	SIG_DFL
	.word	raised_signal
	.word	conn
	.size	handle_signal, .-handle_signal
	.comm	raised_signal,4,4
	.comm	conn,4,4
	.comm	SIG_DFL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
