	.file	"extr_subr_sleepqueue.c_sleepq_check_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sleepq_check_timeout, @function
sleepq_check_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR MA_OWNED[rip]
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR curthread[rip]
	mov	rdi, rbx
	call	THREAD_LOCK_ASSERT@PLT
	mov	rbp, QWORD PTR [rbx]
	test	rbp, rbp
	jne	.L11
	mov	edx, DWORD PTR 8[rbx]
	mov	eax, DWORD PTR TDF_TIMEOUT[rip]
	test	edx, eax
	je	.L4
.L12:
	not	eax
	and	eax, edx
	mov	DWORD PTR 8[rbx], eax
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	eax, eax
	call	sbinuptime@PLT
	mov	edx, DWORD PTR 8[rbx]
	cmp	rbp, rax
	mov	eax, DWORD PTR TDF_TIMEOUT[rip]
	cmovle	r12d, DWORD PTR EWOULDBLOCK[rip]
	mov	QWORD PTR [rbx], 0
	test	edx, eax
	jne	.L12
.L4:
	lea	rdi, 12[rbx]
	call	callout_stop@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sleepq_check_timeout, .-sleepq_check_timeout
	.comm	curthread,8,8
	.comm	TDF_TIMEOUT,4,4
	.comm	MA_OWNED,4,4
	.comm	EWOULDBLOCK,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_subr_sleepqueue.c_sleepq_check_timeout.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sleepq_check_timeout, %function
sleepq_check_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	push	{r4, r5, r6, lr}
	ldr	r3, .L13+4
	ldr	r4, [r2]
	ldr	r1, [r3]
	mov	r0, r4
	bl	THREAD_LOCK_ASSERT
	ldr	r5, [r4]
	cmp	r5, #0
	bne	.L12
.L2:
	ldr	r2, .L13+8
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L4
	bic	r3, r3, r2
	mov	r0, r5
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L12:
	bl	sbinuptime
	cmp	r5, r0
	ldrle	r3, .L13+12
	movgt	r5, #0
	ldrle	r5, [r3]
	mov	r3, #0
	str	r3, [r4]
	b	.L2
.L4:
	add	r0, r4, #8
	bl	callout_stop
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	curthread
	.word	MA_OWNED
	.word	TDF_TIMEOUT
	.word	EWOULDBLOCK
	.size	sleepq_check_timeout, .-sleepq_check_timeout
	.comm	curthread,4,4
	.comm	TDF_TIMEOUT,4,4
	.comm	MA_OWNED,4,4
	.comm	EWOULDBLOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
