	.file	"extr_poll.c_uv__fast_poll_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	uv__fast_poll_set, @function
uv__fast_poll_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	edi, edi
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR UV_POLL[rip]
	cmp	QWORD PTR [rsi], rax
	sete	dil
	call	assert@PLT
	mov	eax, DWORD PTR 8[rbp]
	xor	edi, edi
	test	DWORD PTR UV_HANDLE_CLOSING[rip], eax
	sete	dil
	call	assert@PLT
	mov	eax, DWORD PTR UV_READABLE[rip]
	xor	edi, edi
	or	eax, DWORD PTR UV_WRITABLE[rip]
	or	eax, DWORD PTR UV_DISCONNECT[rip]
	not	eax
	test	eax, ebx
	sete	dil
	call	assert@PLT
	mov	DWORD PTR 12[rbp], ebx
	mov	rdi, rbp
	test	ebx, ebx
	je	.L2
	call	uv__handle_start@PLT
	mov	eax, DWORD PTR 16[rbp]
	or	eax, DWORD PTR 20[rbp]
	not	eax
	test	DWORD PTR 12[rbp], eax
	jne	.L10
.L4:
	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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	uv__handle_stop@PLT
	mov	eax, DWORD PTR 16[rbp]
	or	eax, DWORD PTR 20[rbp]
	not	eax
	test	DWORD PTR 12[rbp], eax
	je	.L4
.L10:
	mov	edi, DWORD PTR 24[rbp]
	mov	rsi, rbp
	call	uv__fast_poll_submit_poll_req@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	uv__fast_poll_set, .-uv__fast_poll_set
	.comm	UV_WRITABLE,4,4
	.comm	UV_READABLE,4,4
	.comm	UV_POLL,8,8
	.comm	UV_HANDLE_CLOSING,4,4
	.comm	UV_DISCONNECT,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_poll.c_uv__fast_poll_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uv__fast_poll_set, %function
uv__fast_poll_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	ldr	r0, [r1]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	sub	r0, r0, r3
	clz	r0, r0
	mov	r4, r1
	mov	r5, r2
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, .L11+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	assert
	ldr	r3, .L11+8
	ldr	r1, .L11+12
	ldr	r2, .L11+16
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	orr	r3, r3, r2
	bics	r3, r5, r3
	moveq	r0, #1
	movne	r0, #0
	bl	assert
	cmp	r5, #0
	mov	r0, r4
	str	r5, [r4, #8]
	beq	.L2
	bl	uv__handle_start
.L3:
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #16]
	ldr	r2, [r4, #8]
	orr	r3, r3, r1
	bics	r3, r2, r3
	bne	.L10
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	bl	uv__handle_stop
	b	.L3
.L10:
	mov	r1, r4
	ldr	r0, [r4, #20]
	bl	uv__fast_poll_submit_poll_req
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	UV_POLL
	.word	UV_HANDLE_CLOSING
	.word	UV_READABLE
	.word	UV_WRITABLE
	.word	UV_DISCONNECT
	.size	uv__fast_poll_set, .-uv__fast_poll_set
	.comm	UV_WRITABLE,4,4
	.comm	UV_READABLE,4,4
	.comm	UV_POLL,4,4
	.comm	UV_HANDLE_CLOSING,4,4
	.comm	UV_DISCONNECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
