	.file	"extr_kern_sig.c_thread_stopped.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	thread_stopped
	.type	thread_stopped, @function
thread_stopped:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR MA_OWNED[rip]
	mov	rbp, rdi
	call	PROC_LOCK_ASSERT@PLT
	mov	esi, DWORD PTR MA_OWNED[rip]
	mov	rdi, rbp
	call	PROC_SLOCK_ASSERT@PLT
	xor	eax, eax
	cmp	QWORD PTR curproc[rip], rbp
	mov	edx, DWORD PTR 4[rbp]
	sete	al
	add	eax, DWORD PTR 0[rbp]
	test	DWORD PTR P_STOPPED_SIG[rip], edx
	je	.L1
	cmp	DWORD PTR 8[rbp], eax
	je	.L11
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	PROC_SUNLOCK@PLT
	mov	eax, DWORD PTR P_WAITED[rip]
	mov	edi, DWORD PTR 12[rbp]
	not	eax
	and	DWORD PTR 4[rbp], eax
	call	PROC_LOCK@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR CLD_TRAPPED[rip]
	mov	rdi, rbp
	test	DWORD PTR P_TRACED[rip], eax
	cmove	esi, DWORD PTR CLD_STOPPED[rip]
	call	childproc_stopped@PLT
	mov	edi, DWORD PTR 12[rbp]
	call	PROC_UNLOCK@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	PROC_SLOCK@PLT
	.cfi_endproc
.LFE0:
	.size	thread_stopped, .-thread_stopped
	.comm	curproc,8,8
	.comm	P_WAITED,4,4
	.comm	P_TRACED,4,4
	.comm	P_STOPPED_SIG,4,4
	.comm	MA_OWNED,4,4
	.comm	CLD_TRAPPED,4,4
	.comm	CLD_STOPPED,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_kern_sig.c_thread_stopped.c"
	.text
	.align	2
	.global	thread_stopped
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_stopped, %function
thread_stopped:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L11
	ldr	r1, [r5]
	bl	PROC_LOCK_ASSERT
	ldr	r1, [r5]
	mov	r0, r4
	bl	PROC_SLOCK_ASSERT
	ldr	r2, .L11+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r1, [r4, #4]
	cmp	r2, r4
	ldr	r2, .L11+8
	addeq	r3, r3, #1
	ldr	r2, [r2]
	tst	r1, r2
	popeq	{r4, r5, r6, pc}
	ldr	r2, [r4, #8]
	cmp	r2, r3
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	bl	PROC_SUNLOCK
	ldr	r2, .L11+12
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	ldr	r0, [r4, #12]
	bic	r3, r3, r2
	str	r3, [r4, #4]
	bl	PROC_LOCK
	ldr	r3, .L11+16
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	mov	r0, r4
	tst	r2, r3
	ldrne	r3, .L11+20
	ldreq	r3, .L11+24
	ldr	r1, [r3]
	bl	childproc_stopped
	ldr	r0, [r4, #12]
	bl	PROC_UNLOCK
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	PROC_SLOCK
.L12:
	.align	2
.L11:
	.word	MA_OWNED
	.word	curproc
	.word	P_STOPPED_SIG
	.word	P_WAITED
	.word	P_TRACED
	.word	CLD_TRAPPED
	.word	CLD_STOPPED
	.size	thread_stopped, .-thread_stopped
	.comm	curproc,4,4
	.comm	P_WAITED,4,4
	.comm	P_TRACED,4,4
	.comm	P_STOPPED_SIG,4,4
	.comm	MA_OWNED,4,4
	.comm	CLD_TRAPPED,4,4
	.comm	CLD_STOPPED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
