	.file	"extr_test_lru_dist.c_sched_next_online.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sched_next_online, @function
sched_next_online:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR nr_cpus[rip]
	cmp	eax, esi
	je	.L6
	mov	r13d, edi
	mov	ebp, esi
	lea	rbx, 4[rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbx
	lea	r12d, 1[rbp]
	call	CPU_ZERO@PLT
	mov	rsi, rbx
	mov	edi, ebp
	call	CPU_SET@PLT
	mov	rdx, rbx
	mov	esi, 4
	mov	edi, r13d
	call	sched_setaffinity@PLT
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR nr_cpus[rip]
	mov	ebp, r12d
.L3:
	cmp	ebp, eax
	jl	.L4
.L2:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, ebp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	ebp, r12d
	jmp	.L2
.L6:
	mov	ebp, -1
	jmp	.L2
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sched_next_online, .-sched_next_online
	.comm	nr_cpus,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_test_lru_dist.c_sched_next_online.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sched_next_online, %function
sched_next_online:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L11
	ldr	r2, .L11+4
	ldr	r3, [r6]
	sub	sp, sp, #8
	cmp	r3, r1
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	beq	.L6
	mov	r4, r1
	mov	r5, r0
	b	.L3
.L4:
	mov	r0, sp
	bl	CPU_ZERO
	mov	r1, sp
	mov	r0, r4
	bl	CPU_SET
	mov	r2, sp
	mov	r1, #4
	mov	r0, r5
	bl	sched_setaffinity
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L2
	ldr	r3, [r6]
.L3:
	cmp	r4, r3
	blt	.L4
.L2:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	mvn	r4, #0
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	nr_cpus
	.word	.LC0
	.size	sched_next_online, .-sched_next_online
	.comm	nr_cpus,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
