	.file	"extr_irq.c_sigio_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sigio_handler
	.type	sigio_handler, @function
sigio_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	smp_sigio_handler@PLT
	test	rax, rax
	jne	.L1
.L5:
	mov	rbp, QWORD PTR active_fds[rip]
.L3:
	mov	rdi, rbp
	call	os_waiting_for_events@PLT
	test	eax, eax
	jg	.L4
	add	eax, DWORD PTR EINTR[rip]
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	free_irqs@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rbp, QWORD PTR active_fds[rip]
	test	rbp, rbp
	jne	.L9
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rbp, QWORD PTR 16[rbp]
	test	rbp, rbp
	je	.L5
.L9:
	cmp	QWORD PTR 0[rbp], 0
	je	.L8
	mov	QWORD PTR 0[rbp], 0
	mov	edi, DWORD PTR 8[rbp]
	mov	rsi, rbx
	call	do_IRQ@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sigio_handler, .-sigio_handler
	.comm	active_fds,8,8
	.comm	EINTR,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_irq.c_sigio_handler.c"
	.text
	.align	2
	.global	sigio_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigio_handler, %function
sigio_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	bl	smp_sigio_handler
	subs	r5, r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r7, .L21
	ldr	r8, .L21+4
	ldr	r4, [r7]
.L3:
	mov	r0, r4
	bl	os_waiting_for_events
	cmp	r0, #0
	bgt	.L4
.L20:
	ldr	r3, [r8]
	cmn	r0, r3
	beq	.L5
	pop	{r4, r5, r6, r7, r8, lr}
	b	free_irqs
.L5:
	ldr	r4, [r7]
	mov	r0, r4
	bl	os_waiting_for_events
	cmp	r0, #0
	ble	.L20
.L4:
	ldr	r4, [r7]
	cmp	r4, #0
	bne	.L9
	b	.L3
.L8:
	ldr	r4, [r4, #8]
	cmp	r4, #0
	beq	.L5
.L9:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L8
	mov	r1, r6
	ldr	r0, [r4, #4]
	str	r5, [r4]
	bl	do_IRQ
	b	.L8
.L22:
	.align	2
.L21:
	.word	active_fds
	.word	EINTR
	.size	sigio_handler, .-sigio_handler
	.comm	active_fds,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
