	.file	"extr_..select-base.c__pselect_emulated.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_pselect_emulated, @function
_pselect_emulated:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10d, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	rsi, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	r8, r8
	je	.L2
	mov	eax, DWORD PTR 4[r8]
	lea	rbx, 32[rsp]
	mov	DWORD PTR 40[rsp], eax
	movsx	rax, DWORD PTR [r8]
	mov	rdx, rax
	imul	rax, rax, 274877907
	sar	edx, 31
	sar	rax, 38
	sub	eax, edx
	cdqe
	mov	QWORD PTR 32[rsp], rax
.L2:
	test	rsi, rsi
	je	.L3
	mov	edi, DWORD PTR SIG_SETMASK[rip]
	lea	rbp, 28[rsp]
	mov	DWORD PTR 12[rsp], r10d
	mov	rdx, rbp
	call	__pthread_sigmask@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L1
	mov	r10d, DWORD PTR 12[rsp]
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	mov	edi, r10d
	call	select@PLT
	mov	ebx, DWORD PTR errno[rip]
	xor	edx, edx
	mov	rsi, rbp
	mov	edi, DWORD PTR SIG_SETMASK[rip]
	mov	r15d, eax
	call	__pthread_sigmask@PLT
	mov	DWORD PTR errno[rip], ebx
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	mov	edi, r10d
	call	select@PLT
	mov	r15d, eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	_pselect_emulated, .-_pselect_emulated
	.comm	errno,4,4
	.comm	SIG_SETMASK,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_..select-base.c__pselect_emulated.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_pselect_emulated, %function
_pselect_emulated:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #24
	ldr	r10, [sp, #56]
	mov	r8, r3
	ldr	r3, .L13
	cmp	r10, #0
	mov	r6, r1
	mov	r5, r0
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r1, [sp, #60]
	beq	.L2
	ldr	ip, [r10]
	ldr	r3, .L13+4
	ldr	r2, [r10, #4]
	smull	r0, r3, ip, r3
	asr	ip, ip, #31
	rsb	ip, ip, r3, asr #6
	str	r2, [sp, #16]
	str	ip, [sp, #12]
	add	r10, sp, #12
.L2:
	cmp	r1, #0
	beq	.L3
	ldr	r9, .L13+8
	add	r2, sp, #8
	ldr	r0, [r9]
	bl	__pthread_sigmask
	subs	r4, r0, #0
	bne	.L1
	mov	r1, r6
	mov	r3, r8
	mov	r2, r7
	mov	r0, r5
	str	r10, [sp]
	bl	select
	ldr	r5, .L13+12
	mov	r4, r0
	ldr	r6, [r5]
	mov	r2, #0
	ldr	r0, [r9]
	add	r1, sp, #8
	bl	__pthread_sigmask
	str	r6, [r5]
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	str	r10, [sp]
	bl	select
	mov	r4, r0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	274877907
	.word	SIG_SETMASK
	.word	errno
	.size	_pselect_emulated, .-_pselect_emulated
	.comm	errno,4,4
	.comm	SIG_SETMASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
