	.file	"extr_plugins_d.c_pluginsd_worker_thread.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Cannot popen(\"%s\", \"r\")."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"connected to '%s' running on pid %d"
	.align 8
.LC2:
	.string	"'%s' (pid %d) disconnected after %zu successful data collections (ENDs)."
	.text
	.p2align 4
	.globl	pluginsd_worker_thread
	.type	pluginsd_worker_thread, @function
pluginsd_worker_thread:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdi
	lea	r12, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR pluginsd_worker_thread_cleanup[rip]
	call	netdata_thread_cleanup_push@PLT
	mov	QWORD PTR 24[rbx], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbx
	call	pluginsd_worker_thread_handle_success@PLT
.L6:
	mov	edx, DWORD PTR 8[rbx]
	mov	QWORD PTR [rbx], 0
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L4
.L2:
	mov	eax, DWORD PTR netdata_exit[rip]
	test	eax, eax
	jne	.L4
	mov	edi, DWORD PTR 16[rbx]
	mov	rsi, rbx
	call	mypopen@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L13
	mov	esi, DWORD PTR 12[rbx]
	mov	rdx, QWORD PTR [rbx]
	mov	rdi, r12
	call	info@PLT
	mov	edi, DWORD PTR localhost[rip]
	xor	ecx, ecx
	mov	rdx, rbp
	mov	rsi, rbx
	call	pluginsd_process@PLT
	mov	esi, DWORD PTR 12[rbx]
	mov	rdx, QWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	mov	rcx, rax
	xor	eax, eax
	call	error@PLT
	mov	rdi, QWORD PTR [rbx]
	call	killpid@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	call	mypclose@PLT
	xor	edi, edi
	test	eax, eax
	mov	ebp, eax
	sete	dil
	call	likely@PLT
	test	rax, rax
	jne	.L14
	mov	esi, ebp
	mov	rdi, rbx
	call	pluginsd_worker_thread_handle_error@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR 16[rbx]
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	error@PLT
.L4:
	mov	edi, 1
	call	netdata_thread_cleanup_pop@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pluginsd_worker_thread, .-pluginsd_worker_thread
	.comm	pluginsd_worker_thread_cleanup,4,4
	.comm	netdata_exit,4,4
	.comm	localhost,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.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot popen(\"%s\", \"r\").\000"
	.align	2
.LC1:
	.ascii	"connected to '%s' running on pid %d\000"
	.align	2
.LC2:
	.ascii	"'%s' (pid %d) disconnected after %zu successful dat"
	.ascii	"a collections (ENDs).\000"
	.text
	.align	2
	.global	pluginsd_worker_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	pluginsd_worker_thread, %function
pluginsd_worker_thread:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, r0
	mov	r4, r0
	ldr	r0, [r3]
	bl	netdata_thread_cleanup_push
	mov	r3, #0
	ldr	r6, .L15+4
	ldr	r9, .L15+8
	ldr	r8, .L15+12
	ldr	r7, .L15+16
	str	r3, [r4, #16]
	b	.L2
.L14:
	mov	r0, r4
	bl	pluginsd_worker_thread_handle_success
.L6:
	ldr	r0, [r4, #4]
	mov	r3, #0
	clz	r0, r0
	str	r3, [r4]
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L4
.L2:
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L4
	mov	r1, r4
	ldr	r0, [r4, #12]
	bl	mypopen
	mov	r10, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r5, r0, #0
	bne	.L13
	ldr	r2, [r4]
	ldr	r1, [r4, #8]
	mov	r0, r9
	bl	info
	mov	r3, r5
	mov	r2, r10
	mov	r1, r4
	ldr	r0, [r8]
	bl	pluginsd_process
	ldr	r2, [r4]
	mov	r3, r0
	ldr	r1, [r4, #8]
	mov	r0, r7
	bl	error
	ldr	r0, [r4]
	bl	killpid
	ldr	r1, [r4]
	mov	r0, r10
	bl	mypclose
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	likely
	cmp	r0, #0
	bne	.L14
	mov	r1, r5
	mov	r0, r4
	bl	pluginsd_worker_thread_handle_error
	b	.L6
.L13:
	ldr	r1, [r4, #12]
	ldr	r0, .L15+20
	bl	error
.L4:
	mov	r0, #1
	bl	netdata_thread_cleanup_pop
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	.align	2
.L15:
	.word	pluginsd_worker_thread_cleanup
	.word	netdata_exit
	.word	.LC1
	.word	localhost
	.word	.LC2
	.word	.LC0
	.size	pluginsd_worker_thread, .-pluginsd_worker_thread
	.comm	pluginsd_worker_thread_cleanup,4,4
	.comm	netdata_exit,4,4
	.comm	localhost,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
