	.file	"extr_plugins_d.c_pluginsd_worker_thread_cleanup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"data collection thread exiting"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"killing child process pid %d"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"waiting for child process pid %d to exit..."
	.text
	.p2align 4
	.type	pluginsd_worker_thread_cleanup, @function
pluginsd_worker_thread_cleanup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 16[rdi], 0
	je	.L1
	mov	edx, DWORD PTR [rdi]
	mov	rbx, rdi
	test	edx, edx
	je	.L15
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	DWORD PTR [rdi], 1
	lea	rdi, .LC0[rip]
	call	info@PLT
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	je	.L1
	lea	rdi, .LC1[rip]
	call	[QWORD PTR [rsp]]
	mov	rdi, QWORD PTR 8[rbx]
	call	killpid@PLT
	cmp	eax, -1
	je	.L5
	mov	rsi, QWORD PTR 8[rbx]
	lea	rdi, .LC2[rip]
	call	[QWORD PTR [rsp]]
	mov	ecx, DWORD PTR WEXITED[rip]
	mov	esi, DWORD PTR 8[rbx]
	mov	rdx, rsp
	mov	edi, DWORD PTR P_PID[rip]
	call	waitid@PLT
.L5:
	mov	QWORD PTR 8[rbx], 0
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pluginsd_worker_thread_cleanup, .-pluginsd_worker_thread_cleanup
	.comm	WEXITED,4,4
	.comm	P_PID,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_plugins_d.c_pluginsd_worker_thread_cleanup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"data collection thread exiting\000"
	.align	2
.LC1:
	.ascii	"killing child process pid %d\000"
	.align	2
.LC2:
	.ascii	"waiting for child process pid %d to exit...\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pluginsd_worker_thread_cleanup, %function
pluginsd_worker_thread_cleanup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, [r0, #8]
	ldr	r2, .L17
	sub	sp, sp, #8
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	beq	.L1
	ldr	r3, [r0]
	mov	r4, r0
	cmp	r3, #0
	beq	.L15
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L15:
	mov	r3, #1
	ldr	r0, .L17+4
	str	r3, [r4]
	bl	info
	ldr	r1, [r4, #4]
	cmp	r1, #0
	beq	.L1
	ldr	r3, [sp]
	ldr	r0, .L17+8
	blx	r3
	ldr	r0, [r4, #4]
	bl	killpid
	cmn	r0, #1
	beq	.L5
	ldr	r3, [sp]
	ldr	r1, [r4, #4]
	ldr	r0, .L17+12
	blx	r3
	ldr	r2, .L17+16
	ldr	r3, .L17+20
	ldr	r0, [r2]
	ldr	r3, [r3]
	mov	r2, sp
	ldr	r1, [r4, #4]
	bl	waitid
.L5:
	mov	r3, #0
	str	r3, [r4, #4]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	P_PID
	.word	WEXITED
	.size	pluginsd_worker_thread_cleanup, .-pluginsd_worker_thread_cleanup
	.comm	WEXITED,4,4
	.comm	P_PID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
