	.file	"129466.c"
	.intel_syntax noprefix
	.text
	.type	compute_revents, @function
compute_revents:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	QWORD PTR -112[rbp], rdx
	mov	QWORD PTR -120[rbp], rcx
	mov	QWORD PTR -128[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -92[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	rax, QWORD PTR -112[rbp]
	movsx	rdx, edx
	mov	rsi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -100[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L2
	lea	rsi, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	ecx, 2
	mov	edx, 64
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jns	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L4
.L3:
	mov	eax, 0
.L4:
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jne	.L5
	or	DWORD PTR -92[rbp], 16
	jmp	.L2
.L5:
	cmp	DWORD PTR -88[rbp], 0
	jg	.L7
	cmp	DWORD PTR -84[rbp], 107
	jne	.L8
.L7:
	mov	eax, DWORD PTR -104[rbp]
	and	eax, 65
	or	DWORD PTR -92[rbp], eax
	jmp	.L2
.L8:
	cmp	DWORD PTR -84[rbp], 108
	je	.L9
	cmp	DWORD PTR -84[rbp], 104
	je	.L9
	cmp	DWORD PTR -84[rbp], 103
	je	.L9
	cmp	DWORD PTR -84[rbp], 102
	jne	.L10
.L9:
	or	DWORD PTR -92[rbp], 16
	jmp	.L2
.L10:
	or	DWORD PTR -92[rbp], 8
.L2:
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	rsi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -100[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L11
	mov	eax, DWORD PTR -104[rbp]
	and	eax, 772
	or	DWORD PTR -92[rbp], eax
.L11:
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	movsx	rdx, edx
	mov	rsi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -100[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L12
	mov	eax, DWORD PTR -104[rbp]
	and	eax, 130
	or	DWORD PTR -92[rbp], eax
.L12:
	mov	eax, DWORD PTR -92[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compute_revents, .-compute_revents
	.globl	poll
	.type	poll, @function
poll:
.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, 512
	mov	QWORD PTR -488[rbp], rdi
	mov	QWORD PTR -496[rbp], rsi
	mov	DWORD PTR -500[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR sc_open_max.0[rip]
	cdqe
	cmp	QWORD PTR -496[rbp], rax
	jbe	.L16
	mov	eax, DWORD PTR sc_open_max.0[rip]
	cmp	eax, -1
	jne	.L17
	mov	edi, 4
	call	sysconf@PLT
	mov	DWORD PTR sc_open_max.0[rip], eax
	mov	eax, DWORD PTR sc_open_max.0[rip]
	cdqe
	cmp	QWORD PTR -496[rbp], rax
	jbe	.L16
.L17:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, -1
	jmp	.L36
.L16:
	cmp	QWORD PTR -488[rbp], 0
	jne	.L19
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 14
	mov	eax, -1
	jmp	.L36
.L19:
	cmp	DWORD PTR -500[rbp], 0
	jne	.L20
	lea	rax, -416[rbp]
	mov	QWORD PTR -432[rbp], rax
	mov	rax, QWORD PTR -432[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	QWORD PTR 8[rax], 0
	jmp	.L21
.L20:
	cmp	DWORD PTR -500[rbp], 0
	jle	.L22
	lea	rax, -416[rbp]
	mov	QWORD PTR -432[rbp], rax
	mov	eax, DWORD PTR -500[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -500[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	imul	eax, edx, 1000
	movsx	rdx, eax
	mov	rax, QWORD PTR -432[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L21
.L22:
	cmp	DWORD PTR -500[rbp], -1
	jne	.L23
	mov	QWORD PTR -432[rbp], 0
	jmp	.L21
.L23:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, -1
	jmp	.L36
.L21:
	mov	DWORD PTR -468[rbp], -1
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -400[rbp]
	mov	rdi, rdx
#APP
# 382 "the_stack_data/129466.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -460[rbp], edx
	mov	DWORD PTR -456[rbp], eax
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -272[rbp]
	mov	rdi, rdx
#APP
# 383 "the_stack_data/129466.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -452[rbp], edx
	mov	DWORD PTR -448[rbp], eax
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 384 "the_stack_data/129466.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -444[rbp], edx
	mov	DWORD PTR -440[rbp], eax
	mov	QWORD PTR -424[rbp], 0
	jmp	.L24
.L30:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L38
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 4[rax]
	cwde
	and	eax, 65
	test	eax, eax
	je	.L27
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -400[rbp+rax*8]
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -400[rbp+rax*8], rdx
.L27:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 4[rax]
	cwde
	and	eax, 772
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -272[rbp+rax*8]
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -272[rbp+rax*8], rdx
.L28:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 4[rax]
	cwde
	and	eax, 130
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
.L29:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -468[rbp], eax
	jg	.L26
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 4[rax]
	cwde
	and	eax, 967
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -468[rbp], eax
	cmp	DWORD PTR -468[rbp], 1024
	jle	.L26
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 75
	mov	eax, -1
	jmp	.L36
.L38:
	nop
.L26:
	add	QWORD PTR -424[rbp], 1
.L24:
	mov	rax, QWORD PTR -424[rbp]
	cmp	rax, QWORD PTR -496[rbp]
	jb	.L30
	mov	eax, DWORD PTR -468[rbp]
	lea	edi, 1[rax]
	mov	rsi, QWORD PTR -432[rbp]
	lea	rcx, -144[rbp]
	lea	rdx, -272[rbp]
	lea	rax, -400[rbp]
	mov	r8, rsi
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -464[rbp], eax
	cmp	DWORD PTR -464[rbp], 0
	jns	.L31
	mov	eax, DWORD PTR -464[rbp]
	jmp	.L36
.L31:
	mov	DWORD PTR -464[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	jmp	.L32
.L35:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L33
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	WORD PTR 6[rax], 0
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 4[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	rdi, -144[rbp]
	lea	rcx, -272[rbp]
	lea	rdx, -400[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	compute_revents
	mov	DWORD PTR -436[rbp], eax
	cmp	DWORD PTR -436[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -436[rbp]
	mov	WORD PTR 6[rax], dx
	add	DWORD PTR -464[rbp], 1
.L34:
	add	QWORD PTR -424[rbp], 1
.L32:
	mov	rax, QWORD PTR -424[rbp]
	cmp	rax, QWORD PTR -496[rbp]
	jb	.L35
	mov	eax, DWORD PTR -464[rbp]
.L36:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	poll, .-poll
	.data
	.align 4
	.type	sc_open_max.0, @object
	.size	sc_open_max.0, 4
sc_open_max.0:
	.long	-1
	.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	"129466.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_revents, %function
compute_revents:
	@ args = 4, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-104]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-88]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-88]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L2
	sub	r1, fp, #72
	mov	r3, #2
	mov	r2, #64
	ldr	r0, [fp, #-88]
	bl	recv
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L4
.L3:
	mov	r3, #0
.L4:
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-84]
	orr	r3, r3, #16
	str	r3, [fp, #-84]
	b	.L2
.L5:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bgt	.L7
	ldr	r3, [fp, #-76]
	cmp	r3, #107
	bne	.L8
.L7:
	ldr	r3, [fp, #-92]
	and	r3, r3, #65
	ldr	r2, [fp, #-84]
	orr	r3, r2, r3
	str	r3, [fp, #-84]
	b	.L2
.L8:
	ldr	r3, [fp, #-76]
	cmp	r3, #108
	beq	.L9
	ldr	r3, [fp, #-76]
	cmp	r3, #104
	beq	.L9
	ldr	r3, [fp, #-76]
	cmp	r3, #103
	beq	.L9
	ldr	r3, [fp, #-76]
	cmp	r3, #102
	bne	.L10
.L9:
	ldr	r3, [fp, #-84]
	orr	r3, r3, #16
	str	r3, [fp, #-84]
	b	.L2
.L10:
	ldr	r3, [fp, #-84]
	orr	r3, r3, #8
	str	r3, [fp, #-84]
.L2:
	ldr	r3, [fp, #-88]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-100]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-88]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-92]
	and	r3, r3, #772
	ldr	r2, [fp, #-84]
	orr	r3, r2, r3
	str	r3, [fp, #-84]
.L11:
	ldr	r3, [fp, #-88]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-104]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-88]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-92]
	and	r3, r3, #130
	ldr	r2, [fp, #-84]
	orr	r3, r2, r3
	str	r3, [fp, #-84]
.L12:
	ldr	r3, [fp, #-84]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	compute_revents, .-compute_revents
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	poll
	.syntax unified
	.arm
	.fpu softvfp
	.type	poll, %function
poll:
	@ args = 0, pretend = 0, frame = 456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #464
	str	r0, [fp, #-448]
	str	r1, [fp, #-452]
	str	r2, [fp, #-456]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L47+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-452]
	cmp	r3, r2
	bls	.L18
	ldr	r3, .L47+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L19
	mov	r0, #4
	bl	sysconf
	mov	r3, r0
	ldr	r2, .L47+4
	str	r3, [r2]
	ldr	r3, .L47+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-452]
	cmp	r3, r2
	bls	.L18
.L19:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mvn	r3, #0
	b	.L44
.L18:
	ldr	r3, [fp, #-448]
	cmp	r3, #0
	bne	.L21
	bl	__errno_location
	mov	r3, r0
	mov	r2, #14
	str	r2, [r3]
	mvn	r3, #0
	b	.L44
.L21:
	ldr	r3, [fp, #-456]
	cmp	r3, #0
	bne	.L22
	sub	r3, fp, #400
	str	r3, [fp, #-444]
	ldr	r3, [fp, #-444]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-444]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L23
.L22:
	ldr	r3, [fp, #-456]
	cmp	r3, #0
	ble	.L24
	sub	r3, fp, #400
	str	r3, [fp, #-444]
	ldr	r3, [fp, #-456]
	ldr	r2, .L47+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-444]
	str	r2, [r3]
	ldr	r1, [fp, #-456]
	ldr	r3, .L47+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-444]
	str	r2, [r3, #4]
	b	.L23
.L24:
	ldr	r3, [fp, #-456]
	cmn	r3, #1
	bne	.L25
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L23
.L25:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mvn	r3, #0
	b	.L44
.L23:
	mvn	r3, #0
	str	r3, [fp, #-440]
	sub	r3, fp, #392
	str	r3, [fp, #-416]
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L26
.L27:
	ldr	r3, [fp, #-416]
	ldr	r2, [fp, #-428]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L26:
	ldr	r3, [fp, #-428]
	cmp	r3, #31
	bls	.L27
	sub	r3, fp, #264
	str	r3, [fp, #-412]
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L28
.L29:
	ldr	r3, [fp, #-412]
	ldr	r2, [fp, #-424]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L28:
	ldr	r3, [fp, #-424]
	cmp	r3, #31
	bls	.L29
	sub	r3, fp, #136
	str	r3, [fp, #-408]
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L30
.L31:
	ldr	r3, [fp, #-408]
	ldr	r2, [fp, #-420]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L30:
	ldr	r3, [fp, #-420]
	cmp	r3, #31
	bls	.L31
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L32
.L38:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L46
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldrsh	r3, [r3, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #65
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-388]
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r0, [fp, #-448]
	add	r3, r0, r3
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-388]
.L35:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldrsh	r3, [r3, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #772
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-260]
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r0, [fp, #-448]
	add	r3, r0, r3
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-260]
.L36:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldrsh	r3, [r3, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #130
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r0, [fp, #-448]
	add	r3, r0, r3
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
.L37:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-440]
	cmp	r2, r3
	bgt	.L34
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldrsh	r3, [r3, #4]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	ldr	r3, .L47+12
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-440]
	ldr	r3, [fp, #-440]
	cmp	r3, #1024
	ble	.L34
	bl	__errno_location
	mov	r3, r0
	mov	r2, #75
	str	r2, [r3]
	mvn	r3, #0
	b	.L44
.L46:
	nop
.L34:
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L32:
	ldr	r2, [fp, #-432]
	ldr	r3, [fp, #-452]
	cmp	r2, r3
	bcc	.L38
	ldr	r3, [fp, #-440]
	add	r0, r3, #1
	sub	ip, fp, #136
	sub	r2, fp, #264
	sub	r1, fp, #392
	ldr	r3, [fp, #-444]
	str	r3, [sp]
	mov	r3, ip
	bl	select
	str	r0, [fp, #-436]
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	bge	.L39
	ldr	r3, [fp, #-436]
	b	.L44
.L39:
	mov	r3, #0
	str	r3, [fp, #-436]
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L40
.L43:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L41
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	mov	r2, #0
	strh	r2, [r3, #6]	@ movhi
	b	.L42
.L41:
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldrsh	r3, [r3, #4]
	mov	ip, r3
	sub	r1, fp, #264
	sub	r2, fp, #392
	sub	r3, fp, #136
	str	r3, [sp]
	mov	r3, r1
	mov	r1, ip
	bl	compute_revents
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldr	r2, [fp, #-404]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
.L42:
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L40:
	ldr	r2, [fp, #-432]
	ldr	r3, [fp, #-452]
	cmp	r2, r3
	bcc	.L43
	ldr	r3, [fp, #-436]
.L44:
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC1
	.word	sc_open_max.5850
	.word	274877907
	.word	967
	.size	poll, .-poll
	.data
	.align	2
	.type	sc_open_max.5850, %object
	.size	sc_open_max.5850, 4
sc_open_max.5850:
	.word	-1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
