	.file	"extr_priv_sched_setpriority.c_priv_sched_setpriority_cleanup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"waitpid(%d (test), NULL, 0)"
	.text
	.p2align 4
	.globl	priv_sched_setpriority_cleanup
	.type	priv_sched_setpriority_cleanup, @function
priv_sched_setpriority_cleanup:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR childproc_running[rip], 0
	jne	.L11
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR childproc[rip]
	mov	esi, DWORD PTR SIGKILL[rip]
	call	kill@PLT
	mov	edi, DWORD PTR childproc[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR childproc[rip]
	cmp	edi, ebx
	je	.L12
.L4:
	xor	edx, edx
	xor	esi, esi
	call	waitpid@PLT
	mov	ebx, eax
	cmp	eax, -1
	jne	.L3
	mov	esi, DWORD PTR childproc[rip]
	mov	rdi, rbp
	call	warn@PLT
	mov	edi, DWORD PTR childproc[rip]
	cmp	edi, ebx
	jne	.L4
.L12:
	mov	QWORD PTR childproc_running[rip], 0
	mov	DWORD PTR childproc[rip], -1
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	priv_sched_setpriority_cleanup, .-priv_sched_setpriority_cleanup
	.comm	childproc_running,8,8
	.comm	childproc,4,4
	.comm	SIGKILL,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_priv_sched_setpriority.c_priv_sched_setpriority_cleanup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"waitpid(%d (test), NULL, 0)\000"
	.text
	.align	2
	.global	priv_sched_setpriority_cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	priv_sched_setpriority_cleanup, %function
priv_sched_setpriority_cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L12
	ldr	r3, [r6]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L12+4
	ldr	r5, .L12+8
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	kill
	ldr	r7, .L12+12
	ldr	r0, [r5]
	b	.L4
.L3:
	ldr	r0, [r5]
	cmp	r0, r4
	beq	.L11
.L4:
	mov	r2, #0
	mov	r1, r2
	bl	waitpid
	cmn	r0, #1
	mov	r4, r0
	bne	.L3
	mov	r0, r7
	ldr	r1, [r5]
	bl	warn
	ldr	r0, [r5]
	cmp	r0, r4
	bne	.L4
.L11:
	mov	r2, #0
	mvn	r3, #0
	str	r2, [r6]
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	childproc_running
	.word	SIGKILL
	.word	childproc
	.word	.LC0
	.size	priv_sched_setpriority_cleanup, .-priv_sched_setpriority_cleanup
	.comm	childproc_running,4,4
	.comm	childproc,4,4
	.comm	SIGKILL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
