	.file	"373441.c"
	.intel_syntax noprefix
	.text
	.local	syslog_init_mutex
	.comm	syslog_init_mutex,40,32
	.local	syslog_queue_inited
	.comm	syslog_queue_inited,4,4
	.local	syslog_queue
	.comm	syslog_queue,8,8
	.local	syslog_queue_cond
	.comm	syslog_queue_cond,48,32
	.local	syslog_queue_mutex
	.comm	syslog_queue_mutex,40,32
	.local	syslog_wi_free_cond
	.comm	syslog_wi_free_cond,48,32
	.local	syslog_wi_free_mutex
	.comm	syslog_wi_free_mutex,40,32
	.local	syslog_dropped_items
	.comm	syslog_dropped_items,4,4
	.local	syslog_wi_pool
	.comm	syslog_wi_pool,132608,32
	.local	syslog_wi_free
	.comm	syslog_wi_free,8,8
	.local	syslog_wi_queue
	.comm	syslog_wi_queue,8,8
	.local	syslog_wi_queue_tail
	.comm	syslog_wi_queue_tail,8,8
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.type	syslog_queue_run, @function
syslog_queue_run:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
.L9:
	lea	rdi, syslog_queue_mutex[rip]
	call	pthread_mutex_lock@PLT
	jmp	.L2
.L3:
	lea	rsi, syslog_queue_mutex[rip]
	lea	rdi, syslog_queue_cond[rip]
	call	pthread_cond_wait@PLT
.L2:
	mov	rax, QWORD PTR syslog_wi_queue[rip]
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR syslog_wi_queue[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 2064[rax]
	mov	QWORD PTR syslog_wi_queue[rip], rax
	lea	rdi, syslog_queue_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L4
	cmp	eax, 1
	je	.L10
	jmp	.L7
.L4:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 2056[rax]
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	eax, 0
	call	syslog@PLT
	nop
.L7:
	lea	rdi, syslog_wi_free_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	rdx, QWORD PTR syslog_wi_free[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 2064[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR syslog_wi_free[rip], rax
	lea	rdi, syslog_wi_free_cond[rip]
	call	pthread_cond_signal@PLT
	lea	rdi, syslog_wi_free_mutex[rip]
	call	pthread_mutex_unlock@PLT
	jmp	.L9
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	syslog_queue_run, .-syslog_queue_run
	.type	syslog_queue_init, @function
syslog_queue_init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edx, 132608
	mov	esi, 0
	lea	rdi, syslog_wi_pool[rip]
	call	memset@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	imul	rax, rax, 2072
	lea	rdx, syslog_wi_pool[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2072
	lea	rdx, syslog_wi_pool[rip+2064]
	mov	QWORD PTR [rax+rdx], rcx
	add	DWORD PTR -4[rbp], 1
.L12:
	cmp	DWORD PTR -4[rbp], 62
	jle	.L13
	mov	QWORD PTR syslog_wi_pool[rip+132600], 0
	lea	rax, syslog_wi_pool[rip]
	mov	QWORD PTR syslog_wi_free[rip], rax
	mov	QWORD PTR syslog_wi_queue[rip], 0
	mov	QWORD PTR syslog_wi_queue_tail[rip], 0
	mov	DWORD PTR syslog_dropped_items[rip], 0
	mov	esi, 0
	lea	rdi, syslog_queue_cond[rip]
	call	pthread_cond_init@PLT
	mov	esi, 0
	lea	rdi, syslog_queue_mutex[rip]
	call	pthread_mutex_init@PLT
	mov	esi, 0
	lea	rdi, syslog_wi_free_cond[rip]
	call	pthread_cond_init@PLT
	mov	esi, 0
	lea	rdi, syslog_wi_free_mutex[rip]
	call	pthread_mutex_init@PLT
	mov	ecx, 0
	lea	rdx, syslog_queue_run[rip]
	mov	esi, 0
	lea	rdi, syslog_queue[rip]
	call	pthread_create@PLT
	test	eax, eax
	je	.L14
	mov	eax, -1
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	syslog_queue_init, .-syslog_queue_init
	.type	syslog_queue_get_free_item, @function
syslog_queue_get_free_item:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	lea	rdi, syslog_wi_free_mutex[rip]
	call	pthread_mutex_lock@PLT
	jmp	.L17
.L20:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR syslog_dropped_items[rip]
	add	eax, 1
	mov	DWORD PTR syslog_dropped_items[rip], eax
	lea	rdi, syslog_wi_free_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, 0
	jmp	.L19
.L18:
	lea	rsi, syslog_wi_free_mutex[rip]
	lea	rdi, syslog_wi_free_cond[rip]
	call	pthread_cond_wait@PLT
.L17:
	mov	rax, QWORD PTR syslog_wi_free[rip]
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR syslog_wi_free[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR syslog_wi_free[rip]
	mov	rax, QWORD PTR 2064[rax]
	mov	QWORD PTR syslog_wi_free[rip], rax
	lea	rdi, syslog_wi_free_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR -8[rbp]
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	syslog_queue_get_free_item, .-syslog_queue_get_free_item
	.type	syslog_queue_put_item, @function
syslog_queue_put_item:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, syslog_queue_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 2064[rax], 0
	mov	rax, QWORD PTR syslog_wi_queue[rip]
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR syslog_wi_queue[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR syslog_wi_queue_tail[rip], rax
	jmp	.L23
.L22:
	mov	rax, QWORD PTR syslog_wi_queue_tail[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 2064[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR syslog_wi_queue_tail[rip], rax
.L23:
	lea	rdi, syslog_queue_cond[rip]
	call	pthread_cond_signal@PLT
	lea	rdi, syslog_queue_mutex[rip]
	call	pthread_mutex_unlock@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	syslog_queue_put_item, .-syslog_queue_put_item
	.type	syslog_async_atexit, @function
syslog_async_atexit:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, DWORD PTR syslog_queue_inited[rip]
	test	eax, eax
	je	.L27
	mov	edi, 1
	call	syslog_queue_get_free_item
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	syslog_queue_put_item
	mov	rax, QWORD PTR syslog_queue[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	jmp	.L24
.L27:
	nop
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	syslog_async_atexit, .-syslog_async_atexit
	.globl	syslog_async_init
	.type	syslog_async_init, @function
syslog_async_init:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	lea	rdi, syslog_init_mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR syslog_queue_inited[rip]
	test	eax, eax
	jne	.L29
	call	syslog_queue_init
	test	eax, eax
	je	.L29
	lea	rdi, syslog_init_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, -1
	jmp	.L30
.L29:
	mov	DWORD PTR syslog_queue_inited[rip], 1
	lea	rdi, syslog_init_mutex[rip]
	call	pthread_mutex_unlock@PLT
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	openlog@PLT
	lea	rdi, syslog_async_atexit[rip]
	call	atexit@PLT
	mov	eax, 0
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	syslog_async_init, .-syslog_async_init
	.globl	vsyslog_async
	.type	vsyslog_async, @function
vsyslog_async:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	edi, 0
	call	syslog_queue_get_free_item
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L35
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 2048
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	vsnprintf@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L34
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 2052[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 2056[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	syslog_queue_put_item
	jmp	.L31
.L35:
	nop
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	vsyslog_async, .-vsyslog_async
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"373441.c"
	.text
	.local	syslog_init_mutex
	.comm	syslog_init_mutex,24,4
	.local	syslog_queue_inited
	.comm	syslog_queue_inited,4,4
	.local	syslog_queue
	.comm	syslog_queue,4,4
	.local	syslog_queue_cond
	.comm	syslog_queue_cond,48,8
	.local	syslog_queue_mutex
	.comm	syslog_queue_mutex,24,4
	.local	syslog_wi_free_cond
	.comm	syslog_wi_free_cond,48,8
	.local	syslog_wi_free_mutex
	.comm	syslog_wi_free_mutex,24,4
	.local	syslog_dropped_items
	.comm	syslog_dropped_items,4,4
	.local	syslog_wi_pool
	.comm	syslog_wi_pool,132096,4
	.local	syslog_wi_free
	.comm	syslog_wi_free,4,4
	.local	syslog_wi_queue
	.comm	syslog_wi_queue,4,4
	.local	syslog_wi_queue_tail
	.comm	syslog_wi_queue_tail,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslog_queue_run, %function
syslog_queue_run:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
.L9:
	ldr	r0, .L11
	bl	pthread_mutex_lock
	b	.L2
.L3:
	ldr	r1, .L11
	ldr	r0, .L11+4
	bl	pthread_cond_wait
.L2:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L11+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #2060]
	ldr	r2, .L11+8
	str	r3, [r2]
	ldr	r0, .L11
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	cmp	r3, #1
	beq	.L10
	b	.L7
.L4:
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #2056]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L11+12
	bl	syslog
	nop
.L7:
	ldr	r0, .L11+16
	bl	pthread_mutex_lock
	ldr	r3, .L11+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #2060]
	ldr	r2, .L11+20
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r0, .L11+24
	bl	pthread_cond_signal
	ldr	r0, .L11+16
	bl	pthread_mutex_unlock
	b	.L9
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	syslog_queue_mutex
	.word	syslog_queue_cond
	.word	syslog_wi_queue
	.word	.LC0
	.word	syslog_wi_free_mutex
	.word	syslog_wi_free
	.word	syslog_wi_free_cond
	.size	syslog_queue_run, .-syslog_queue_run
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslog_queue_init, %function
syslog_queue_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r2, #132096
	mov	r1, #0
	ldr	r0, .L18
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #7
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L18
	add	r1, r3, r2
	ldr	r0, .L18
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #7
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #2048
	add	r3, r3, #12
	str	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #62
	ble	.L15
	ldr	r3, .L18
	add	r3, r3, #131072
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #1020]
	ldr	r3, .L18+4
	ldr	r2, .L18
	str	r2, [r3]
	ldr	r3, .L18+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L18+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L18+16
	mov	r2, #0
	str	r2, [r3]
	mov	r1, #0
	ldr	r0, .L18+20
	bl	pthread_cond_init
	mov	r1, #0
	ldr	r0, .L18+24
	bl	pthread_mutex_init
	mov	r1, #0
	ldr	r0, .L18+28
	bl	pthread_cond_init
	mov	r1, #0
	ldr	r0, .L18+32
	bl	pthread_mutex_init
	mov	r3, #0
	ldr	r2, .L18+36
	mov	r1, #0
	ldr	r0, .L18+40
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	mvn	r3, #0
	b	.L17
.L16:
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	syslog_wi_pool
	.word	syslog_wi_free
	.word	syslog_wi_queue
	.word	syslog_wi_queue_tail
	.word	syslog_dropped_items
	.word	syslog_queue_cond
	.word	syslog_queue_mutex
	.word	syslog_wi_free_cond
	.word	syslog_wi_free_mutex
	.word	syslog_queue_run
	.word	syslog_queue
	.size	syslog_queue_init, .-syslog_queue_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslog_queue_get_free_item, %function
syslog_queue_get_free_item:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L25
	bl	pthread_mutex_lock
	b	.L21
.L24:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
	ldr	r0, .L25
	bl	pthread_mutex_unlock
	mov	r3, #0
	b	.L23
.L22:
	ldr	r1, .L25
	ldr	r0, .L25+8
	bl	pthread_cond_wait
.L21:
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L25+12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	ldr	r3, [r3, #2060]
	ldr	r2, .L25+12
	str	r3, [r2]
	ldr	r0, .L25
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-8]
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	syslog_wi_free_mutex
	.word	syslog_dropped_items
	.word	syslog_wi_free_cond
	.word	syslog_wi_free
	.size	syslog_queue_get_free_item, .-syslog_queue_get_free_item
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslog_queue_put_item, %function
syslog_queue_put_item:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L30
	bl	pthread_mutex_lock
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #2060]
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	ldr	r2, .L30+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L30+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L29
.L28:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #2060]
	ldr	r2, .L30+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L29:
	ldr	r0, .L30+12
	bl	pthread_cond_signal
	ldr	r0, .L30
	bl	pthread_mutex_unlock
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	syslog_queue_mutex
	.word	syslog_wi_queue
	.word	syslog_wi_queue_tail
	.word	syslog_queue_cond
	.size	syslog_queue_put_item, .-syslog_queue_put_item
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslog_async_atexit, %function
syslog_async_atexit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	mov	r0, #1
	bl	syslog_queue_get_free_item
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	syslog_queue_put_item
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	b	.L32
.L35:
	nop
.L32:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	syslog_queue_inited
	.word	syslog_queue
	.size	syslog_async_atexit, .-syslog_async_atexit
	.align	2
	.global	syslog_async_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslog_async_init, %function
syslog_async_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, .L41
	bl	pthread_mutex_lock
	ldr	r3, .L41+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L39
	bl	syslog_queue_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r0, .L41
	bl	pthread_mutex_unlock
	mvn	r3, #0
	b	.L40
.L39:
	ldr	r3, .L41+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, .L41
	bl	pthread_mutex_unlock
	ldr	r2, [fp, #-12]
	mov	r1, #3
	ldr	r0, [fp, #-8]
	bl	openlog
	ldr	r0, .L41+8
	bl	atexit
	mov	r3, #0
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	syslog_init_mutex
	.word	syslog_queue_inited
	.word	syslog_async_atexit
	.size	syslog_async_init, .-syslog_async_init
	.align	2
	.global	vsyslog_async
	.syntax unified
	.arm
	.fpu softvfp
	.type	vsyslog_async, %function
vsyslog_async:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r0, #0
	bl	syslog_queue_get_free_item
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	mov	r3, #2048
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r0, [fp, #-12]
	bl	vsnprintf
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L46:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #2052]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #2056]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	syslog_queue_put_item
	b	.L43
.L47:
	nop
.L43:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	vsyslog_async, .-vsyslog_async
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
