	.file	"extr_sched_ule.c_sched_setpreempt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sched_setpreempt, @function
sched_setpreempt:
.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
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR MA_OWNED[rip]
	mov	rdi, QWORD PTR curthread[rip]
	call	THREAD_LOCK_ASSERT@PLT
	mov	rbp, QWORD PTR curthread[rip]
	mov	r12d, DWORD PTR [rbx]
	mov	r13d, DWORD PTR 0[rbp]
	cmp	r12d, r13d
	jge	.L1
	mov	eax, DWORD PTR TDF_NEEDRESCHED[rip]
	or	DWORD PTR 8[rbp], eax
	cmp	QWORD PTR panicstr[rip], 0
	jne	.L1
	cmp	QWORD PTR cold[rip], 0
	je	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	TD_IS_INHIBITED@PLT
	test	rax, rax
	jne	.L1
	xor	edx, edx
	mov	esi, r13d
	mov	edi, r12d
	call	sched_shouldpreempt@PLT
	test	eax, eax
	je	.L1
	mov	DWORD PTR 4[rbp], 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sched_setpreempt, .-sched_setpreempt
	.comm	panicstr,8,8
	.comm	curthread,8,8
	.comm	cold,8,8
	.comm	TDF_NEEDRESCHED,4,4
	.comm	MA_OWNED,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_sched_ule.c_sched_setpreempt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sched_setpreempt, %function
sched_setpreempt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L10
	ldr	r5, .L10+4
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	THREAD_LOCK_ASSERT
	ldr	r5, [r5]
	ldr	r4, [r4]
	ldr	r6, [r5]
	cmp	r4, r6
	popge	{r4, r5, r6, pc}
	ldr	r3, .L10+8
	ldr	r2, .L10+12
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [r5, #8]
	cmp	r2, #0
	orr	r3, r3, r1
	str	r3, [r5, #8]
	popne	{r4, r5, r6, pc}
	ldr	r3, .L10+16
	ldr	r3, [r3]
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	mov	r0, r5
	bl	TD_IS_INHIBITED
	subs	r2, r0, #0
	popne	{r4, r5, r6, pc}
	mov	r1, r6
	mov	r0, r4
	bl	sched_shouldpreempt
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r5, #4]
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	MA_OWNED
	.word	curthread
	.word	TDF_NEEDRESCHED
	.word	panicstr
	.word	cold
	.size	sched_setpreempt, .-sched_setpreempt
	.comm	panicstr,4,4
	.comm	curthread,4,4
	.comm	cold,4,4
	.comm	TDF_NEEDRESCHED,4,4
	.comm	MA_OWNED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
