	.file	"extr_tox_sync.c_print_online.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\nOther went online.\n"
.LC1:
	.string	"\nOther went offline.\n"
	.text
	.p2align 4
	.globl	print_online
	.type	print_online, @function
print_online:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdx, rdx
	je	.L2
	lea	rdi, .LC0[rip]
	jmp	printf@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, .LC1[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	printf@PLT
	mov	eax, DWORD PTR NUM_FILE_SENDERS[rip]
	test	eax, eax
	je	.L1
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR file_recv[rip]
	mov	rdi, QWORD PTR [rax+rbp*8]
	test	rdi, rdi
	jne	.L17
.L5:
	add	ebx, 1
	cmp	DWORD PTR NUM_FILE_SENDERS[rip], ebx
	jbe	.L1
.L6:
	mov	rax, QWORD PTR file_senders[rip]
	mov	ebp, ebx
	mov	rdi, QWORD PTR [rax+rbp*8]
	test	rdi, rdi
	je	.L4
	call	fclose@PLT
	mov	rax, QWORD PTR file_senders[rip]
	mov	QWORD PTR [rax+rbp*8], 0
	mov	rax, QWORD PTR file_recv[rip]
	mov	rdi, QWORD PTR [rax+rbp*8]
	test	rdi, rdi
	je	.L5
.L17:
	call	fclose@PLT
	mov	rax, QWORD PTR file_recv[rip]
	add	ebx, 1
	cmp	DWORD PTR NUM_FILE_SENDERS[rip], ebx
	mov	QWORD PTR [rax+rbp*8], 0
	ja	.L6
.L1:
	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	print_online, .-print_online
	.comm	file_senders,8,8
	.comm	file_recv,8,8
	.comm	NUM_FILE_SENDERS,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_tox_sync.c_print_online.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012Other went online.\012\000"
	.align	2
.LC1:
	.ascii	"\012Other went offline.\012\000"
	.text
	.align	2
	.global	print_online
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_online, %function
print_online:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r4, r2, #0
	beq	.L2
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r0, .L20
	b	printf
.L2:
	ldr	r9, .L20+4
	ldr	r0, .L20+8
	bl	printf
	ldr	r3, [r9]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r6, r4
	ldr	r8, .L20+12
	ldr	r7, .L20+16
	b	.L6
.L4:
	ldr	r3, [r7]
	add	r4, r4, #1
	ldr	r0, [r3, r5]
	cmp	r0, #0
	bne	.L19
.L5:
	ldr	r3, [r9]
	cmp	r3, r4
	popls	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, [r8]
	lsl	r5, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	cmp	r0, #0
	beq	.L4
	bl	fclose
	ldr	r3, [r8]
	str	r6, [r3, r4, lsl #2]
	b	.L4
.L19:
	bl	fclose
	ldr	r3, [r7]
	str	r6, [r3, r5]
	b	.L5
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	NUM_FILE_SENDERS
	.word	.LC1
	.word	file_senders
	.word	file_recv
	.size	print_online, .-print_online
	.comm	file_senders,4,4
	.comm	file_recv,4,4
	.comm	NUM_FILE_SENDERS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
