	.file	"extr_exec.c_exec_UpdateSet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: fdset(w) %d\n"
.LC1:
	.string	"%s: fdset(e) %d\n"
	.text
	.p2align 4
	.type	exec_UpdateSet, @function
exec_UpdateSet:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], r8
	call	descriptor2physical@PLT
	mov	edi, DWORD PTR 4[rax]
	mov	r13, rax
	call	device2exec@PLT
	test	r12, r12
	mov	r8, QWORD PTR [rsp]
	mov	rbx, rax
	je	.L16
	mov	edi, DWORD PTR [rax]
	mov	DWORD PTR [rsp], 0
	test	edi, edi
	jns	.L17
.L4:
	mov	rcx, r15
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, rbp
	xor	r9d, r9d
	call	physical_doUpdateSet@PLT
	add	eax, DWORD PTR [rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L17:
	.cfi_restore_state
	mov	rsi, r12
	mov	QWORD PTR [rsp], r8
	call	FD_SET@PLT
	mov	edi, DWORD PTR LogTIMER[rip]
	mov	ecx, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR 0[r13]
	call	log_Printf@PLT
	test	r15, r15
	mov	edi, DWORD PTR [rbx]
	mov	r8, QWORD PTR [rsp]
	je	.L14
	test	edi, edi
	jns	.L11
.L14:
	mov	DWORD PTR [rsp], 1
.L6:
	xor	r12d, r12d
	cmp	DWORD PTR [r8], edi
	jg	.L4
	add	edi, 1
	mov	DWORD PTR [r8], edi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	test	r15, r15
	je	.L18
	mov	edi, DWORD PTR [rax]
	test	edi, edi
	js	.L19
	mov	DWORD PTR [rsp], 1
.L7:
	mov	rsi, r15
	mov	QWORD PTR 8[rsp], r8
	call	FD_SET@PLT
	mov	edi, DWORD PTR LogTIMER[rip]
	mov	ecx, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	mov	edx, DWORD PTR 0[r13]
	call	log_Printf@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR [rsp], 2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	mov	DWORD PTR [rsp], 0
	mov	r12, r15
	jmp	.L4
.L19:
	mov	DWORD PTR [rsp], 0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	exec_UpdateSet, .-exec_UpdateSet
	.comm	LogTIMER,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_exec.c_exec_UpdateSet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: fdset(w) %d\012\000"
	.align	2
.LC1:
	.ascii	"%s: fdset(e) %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exec_UpdateSet, %function
exec_UpdateSet:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	mov	fp, r2
	mov	r8, r1
	mov	r5, r3
	mov	r7, r0
	ldr	r9, [sp, #56]
	bl	descriptor2physical
	mov	r6, r0
	ldr	r0, [r0, #4]
	bl	device2exec
	cmp	fp, #0
	mov	r4, r0
	beq	.L16
	ldr	r0, [r0]
	cmp	r0, #0
	bge	.L17
.L8:
	mov	r10, #0
.L4:
	mov	ip, #0
	mov	r3, r5
	mov	r2, fp
	mov	r1, r8
	mov	r0, r7
	str	r9, [sp]
	str	ip, [sp, #4]
	bl	physical_doUpdateSet
	add	r0, r0, r10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r3, .L18
	mov	r1, fp
	mov	r10, r3
	str	r3, [sp, #12]
	bl	FD_SET
	ldr	r0, [r10]
	ldr	r3, [r4]
	ldr	r2, [r6]
	ldr	r1, .L18+4
	bl	log_Printf
	cmp	r5, #0
	ldr	r0, [r4]
	beq	.L14
	cmp	r0, #0
	bge	.L11
.L14:
	mov	r10, #1
.L6:
	ldr	r3, [r9]
	cmp	r3, r0
	movgt	fp, #0
	addle	r0, r0, #1
	movle	fp, #0
	strle	r0, [r9]
	b	.L4
.L16:
	cmp	r5, #0
	moveq	fp, r5
	moveq	r10, r5
	beq	.L4
	ldr	r0, [r0]
	cmp	r0, #0
	blt	.L8
	mov	r10, #1
	ldr	r3, .L18
	str	r3, [sp, #12]
.L7:
	mov	r1, r5
	bl	FD_SET
	ldr	r3, [sp, #12]
	ldr	r2, [r6]
	ldr	r0, [r3]
	ldr	r1, .L18+8
	ldr	r3, [r4]
	bl	log_Printf
	ldr	r0, [r4]
	b	.L6
.L11:
	mov	r10, #2
	b	.L7
.L19:
	.align	2
.L18:
	.word	LogTIMER
	.word	.LC0
	.word	.LC1
	.size	exec_UpdateSet, .-exec_UpdateSet
	.comm	LogTIMER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
