	.file	"extr_syscall_subr.c_thread_depress_abort_locked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	thread_depress_abort_locked
	.type	thread_depress_abort_locked, @function
thread_depress_abort_locked:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR TH_SFLAG_DEPRESSED_MASK[rip]
	mov	edx, eax
	and	edx, DWORD PTR [rdi]
	jne	.L2
	mov	eax, DWORD PTR KERN_NOT_DEPRESSED[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	xor	edi, edi
	cmp	eax, edx
	setne	dil
	call	assert@PLT
	mov	eax, DWORD PTR TH_SFLAG_DEPRESSED_MASK[rip]
	mov	esi, DWORD PTR SETPRI_LAZY[rip]
	mov	rdi, rbx
	not	eax
	and	DWORD PTR [rbx], eax
	call	thread_recompute_sched_pri@PLT
	lea	rdi, 8[rbx]
	call	timer_call_cancel@PLT
	test	rax, rax
	je	.L4
	sub	DWORD PTR 4[rbx], 1
.L4:
	mov	eax, DWORD PTR KERN_SUCCESS[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	thread_depress_abort_locked, .-thread_depress_abort_locked
	.comm	TH_SFLAG_DEPRESSED_MASK,4,4
	.comm	SETPRI_LAZY,4,4
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_NOT_DEPRESSED,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_syscall_subr.c_thread_depress_abort_locked.c"
	.text
	.align	2
	.global	thread_depress_abort_locked
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_depress_abort_locked, %function
thread_depress_abort_locked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L10
	ldr	r3, [r0]
	mov	r4, r0
	ldr	r0, [r5]
	ands	r3, r0, r3
	bne	.L2
	ldr	r3, .L10+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	subs	r0, r0, r3
	movne	r0, #1
	bl	assert
	ldr	r1, [r5]
	ldr	r3, [r4]
	ldr	r2, .L10+8
	bic	r3, r3, r1
	str	r3, [r4]
	ldr	r1, [r2]
	mov	r0, r4
	bl	thread_recompute_sched_pri
	add	r0, r4, #8
	bl	timer_call_cancel
	cmp	r0, #0
	ldrne	r3, [r4, #4]
	subne	r3, r3, #1
	strne	r3, [r4, #4]
	ldr	r3, .L10+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	TH_SFLAG_DEPRESSED_MASK
	.word	KERN_NOT_DEPRESSED
	.word	SETPRI_LAZY
	.word	KERN_SUCCESS
	.size	thread_depress_abort_locked, .-thread_depress_abort_locked
	.comm	TH_SFLAG_DEPRESSED_MASK,4,4
	.comm	SETPRI_LAZY,4,4
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_NOT_DEPRESSED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
