	.file	"34217.c"
	.intel_syntax noprefix
	.text
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 4096
buf:
	.zero	4096
	.globl	replydelay
	.align 16
	.type	replydelay, @object
	.size	replydelay, 16
replydelay:
	.zero	16
	.section	.rodata
.LC0:
	.string	"chdir failed"
.LC1:
	.string	"h?C:"
	.align 8
.LC2:
	.string	"socket name longer than sun_path"
.LC3:
	.string	"event_base_new failed"
.LC4:
	.string	"could not listen on %s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L5:
	cmp	DWORD PTR -156[rbp], 67
	jne	.L3
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	chdir@PLT
	cmp	eax, -1
	jne	.L2
	lea	rsi, .LC0[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L3:
	call	emit_help
.L2:
	mov	rcx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -164[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -156[rbp], eax
	cmp	DWORD PTR -156[rbp], -1
	jne	.L5
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -176[rbp], rax
	cmp	DWORD PTR -164[rbp], 1
	je	.L6
	call	emit_help
.L6:
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 107
	jbe	.L7
	lea	rsi, .LC2[rip]
	mov	edi, 65
	mov	eax, 0
	call	errx@PLT
.L7:
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -152[rbp], rax
	call	event_base_new@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L8
	lea	rsi, .LC3[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L8:
	mov	DWORD PTR -160[rbp], 0
	jmp	.L9
.L10:
	mov	edi, 26
	mov	eax, 0
	call	arc4random_uniform@PLT
	add	eax, 97
	mov	ecx, eax
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
	add	DWORD PTR -160[rbp], 1
.L9:
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, 4095
	jbe	.L10
	lea	rax, -128[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -128[rbp], 1
	mov	rax, QWORD PTR -152[rbp]
	lea	rdx, -128[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 107
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	unlink@PLT
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -144[rbp]
	sub	rsp, 8
	push	110
	mov	r9, rdx
	mov	r8d, -1
	mov	ecx, 14
	mov	edx, 0
	lea	rsi, accept_cb[rip]
	mov	rdi, rax
	call	evconnlistener_new_bind@PLT
	add	rsp, 16
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L11:
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, accept_error_cb[rip]
	mov	rdi, rax
	call	evconnlistener_set_error_cb@PLT
	mov	esi, 1
	mov	edi, 13
	call	signal@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	event_base_dispatch@PLT
	mov	edi, 42
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	accept_cb
	.type	accept_cb, @function
accept_cb:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	evconnlistener_get_base@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	bufferevent_socket_new@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, 0
	lea	rcx, cross_event[rip]
	mov	edx, 0
	lea	rsi, cross_talk[rip]
	mov	rdi, rax
	call	bufferevent_setcb@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	bufferevent_enable@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	accept_cb, .-accept_cb
	.section	.rodata
.LC5:
	.string	"listener error (%d): %s"
	.text
	.globl	accept_error_cb
	.type	accept_error_cb, @function
accept_error_cb:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	evconnlistener_get_base@PLT
	mov	QWORD PTR -8[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	warnx@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	event_base_loopexit@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	accept_error_cb, .-accept_error_cb
	.section	.rodata
.LC6:
	.string	"bufferevent error"
	.text
	.globl	cross_event
	.type	cross_event, @function
cross_event:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	QWORD PTR -24[rbp], rdx
	mov	WORD PTR -12[rbp], ax
	movsx	eax, WORD PTR -12[rbp]
	and	eax, 48
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	bufferevent_free@PLT
.L16:
	movsx	eax, WORD PTR -12[rbp]
	and	eax, 32
	test	eax, eax
	je	.L18
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	warn@PLT
.L18:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	cross_event, .-cross_event
	.globl	cross_talk
	.type	cross_talk, @function
cross_talk:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	bufferevent_get_input@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	bufferevent_get_output@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR threshold.2[rip]
	test	rax, rax
	jne	.L20
	mov	edi, 30
	mov	eax, 0
	call	arc4random_uniform@PLT
	add	eax, 2
	cdqe
	mov	QWORD PTR threshold.2[rip], rax
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	evbuffer_get_length@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	eax, 0
	call	arc4random@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], -42949674
	jbe	.L21
	mov	eax, DWORD PTR -44[rbp]
	and	eax, 15
	add	eax, 1
	mov	DWORD PTR no_echo.1[rip], eax
.L21:
	mov	eax, DWORD PTR no_echo.1[rip]
	test	eax, eax
	jne	.L22
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	evbuffer_add_buffer@PLT
	jmp	.L23
.L22:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	evbuffer_drain@PLT
	mov	eax, DWORD PTR no_echo.1[rip]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR no_echo.1[rip], eax
	mov	eax, DWORD PTR no_echo.1[rip]
	test	eax, eax
	jns	.L23
	mov	DWORD PTR no_echo.1[rip], 0
.L23:
	mov	rdx, QWORD PTR seen.0[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR seen.0[rip], rax
	mov	rdx, QWORD PTR seen.0[rip]
	mov	rax, QWORD PTR threshold.2[rip]
	cmp	rdx, rax
	jbe	.L25
	mov	edi, 2047
	mov	eax, 0
	call	arc4random_uniform@PLT
	cdqe
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 2047
	mov	eax, 0
	call	arc4random_uniform@PLT
	add	eax, 1
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	edi, 1000000000
	mov	eax, 0
	call	arc4random_uniform@PLT
	cdqe
	mov	QWORD PTR replydelay[rip+8], rax
	mov	esi, 0
	lea	rdi, replydelay[rip]
	call	nanosleep@PLT
	lea	rdx, buf[rip]
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	evbuffer_add@PLT
	mov	QWORD PTR threshold.2[rip], 0
	mov	rax, QWORD PTR threshold.2[rip]
	mov	QWORD PTR seen.0[rip], rax
.L25:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	cross_talk, .-cross_talk
	.section	.rodata
	.align 8
.LC7:
	.string	"Usage: crosstalkd [-C dir] socket-file\n"
	.text
	.globl	emit_help
	.type	emit_help, @function
emit_help:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 64
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	emit_help, .-emit_help
	.local	threshold.2
	.comm	threshold.2,8,8
	.local	no_echo.1
	.comm	no_echo.1,4,4
	.local	seen.0
	.comm	seen.0,8,8
	.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	"34217.c"
	.text
	.comm	buf,4096,4
	.comm	replydelay,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"chdir failed\000"
	.align	2
.LC1:
	.ascii	"h?C:\000"
	.align	2
.LC2:
	.ascii	"socket name longer than sun_path\000"
	.align	2
.LC3:
	.ascii	"event_base_new failed\000"
	.align	2
.LC4:
	.ascii	"could not listen on %s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L5:
	ldr	r3, [fp, #-136]
	cmp	r3, #67
	bne	.L3
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	chdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r1, .L13+8
	mov	r0, #1
	bl	err
.L3:
	bl	emit_help
.L2:
	ldr	r2, .L13+12
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-144]
	bl	getopt
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmn	r3, #1
	bne	.L5
	ldr	r3, .L13+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	sub	r3, r2, r3
	str	r3, [fp, #-144]
	ldr	r3, .L13+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	beq	.L6
	bl	emit_help
.L6:
	ldr	r3, [fp, #-148]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #107
	bls	.L7
	ldr	r1, .L13+20
	mov	r0, #65
	bl	errx
.L7:
	ldr	r3, [fp, #-148]
	ldr	r3, [r3]
	str	r3, [fp, #-132]
	bl	event_base_new
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L8
	ldr	r1, .L13+24
	mov	r0, #1
	bl	err
.L8:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L9
.L10:
	mov	r0, #26
	bl	arc4random_uniform
	mov	r3, r0
	and	r3, r3, #255
	add	r3, r3, #97
	and	r1, r3, #255
	ldr	r2, .L13+28
	ldr	r3, [fp, #-140]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L9:
	ldr	r3, [fp, #-140]
	cmp	r3, #4096
	bcc	.L10
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	sub	r3, fp, #120
	add	r3, r3, #2
	mov	r2, #107
	ldr	r1, [fp, #-132]
	mov	r0, r3
	bl	strncpy
	ldr	r0, [fp, #-132]
	bl	unlink
	mov	r3, #110
	str	r3, [sp, #8]
	sub	r3, fp, #120
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #14
	mov	r2, #0
	ldr	r1, .L13+32
	ldr	r0, [fp, #-128]
	bl	evconnlistener_new_bind
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-148]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L13+36
	mov	r0, #1
	bl	err
.L11:
	ldr	r1, .L13+40
	ldr	r0, [fp, #-124]
	bl	evconnlistener_set_error_cb
	mov	r1, #1
	mov	r0, #13
	bl	signal
	ldr	r0, [fp, #-128]
	bl	event_base_dispatch
	mov	r0, #42
	bl	exit
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	optarg
	.word	.LC0
	.word	.LC1
	.word	optind
	.word	.LC2
	.word	.LC3
	.word	buf
	.word	accept_cb
	.word	.LC4
	.word	accept_error_cb
	.size	main, .-main
	.align	2
	.global	accept_cb
	.syntax unified
	.arm
	.fpu softvfp
	.type	accept_cb, %function
accept_cb:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	evconnlistener_get_base
	str	r0, [fp, #-12]
	mov	r2, #1
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	bufferevent_socket_new
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L16
	mov	r2, #0
	ldr	r1, .L16+4
	ldr	r0, [fp, #-8]
	bl	bufferevent_setcb
	mov	r1, #2
	ldr	r0, [fp, #-8]
	bl	bufferevent_enable
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	cross_event
	.word	cross_talk
	.size	accept_cb, .-accept_cb
	.section	.rodata
	.align	2
.LC6:
	.ascii	"listener error (%d): %s\000"
	.text
	.align	2
	.global	accept_error_cb
	.syntax unified
	.arm
	.fpu softvfp
	.type	accept_error_cb, %function
accept_error_cb:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	evconnlistener_get_base
	str	r0, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L19
	bl	warnx
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	event_base_loopexit
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC6
	.size	accept_error_cb, .-accept_error_cb
	.section	.rodata
	.align	2
.LC7:
	.ascii	"bufferevent error\000"
	.text
	.align	2
	.global	cross_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	cross_event, %function
cross_event:
	@ 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, #-8]
	mov	r3, r1
	str	r2, [fp, #-16]
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r3, [fp, #-10]
	and	r3, r3, #48
	cmp	r3, #0
	beq	.L22
	ldr	r0, [fp, #-8]
	bl	bufferevent_free
.L22:
	ldrh	r3, [fp, #-10]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L24
	ldr	r0, .L25
	bl	warn
.L24:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.size	cross_event, .-cross_event
	.align	2
	.global	cross_talk
	.syntax unified
	.arm
	.fpu softvfp
	.type	cross_talk, %function
cross_talk:
	@ 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, #-32]
	str	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	bufferevent_get_input
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	bufferevent_get_output
	str	r0, [fp, #-24]
	ldr	r3, .L34
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	mov	r0, #30
	bl	arc4random_uniform
	mov	r3, r0
	add	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L34
	str	r2, [r3]
.L28:
	ldr	r0, [fp, #-28]
	bl	evbuffer_get_length
	str	r0, [fp, #-20]
	bl	arc4random
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L34+4
	cmp	r3, r2
	bls	.L29
	ldr	r3, [fp, #-16]
	and	r3, r3, #15
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L34+8
	str	r2, [r3]
.L29:
	ldr	r3, .L34+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	evbuffer_add_buffer
	b	.L31
.L30:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	evbuffer_drain
	ldr	r3, .L34+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L34+8
	str	r2, [r3]
	ldr	r3, .L34+8
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L31
	ldr	r3, .L34+8
	mov	r2, #0
	str	r2, [r3]
.L31:
	ldr	r3, .L34+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, .L34+12
	str	r3, [r2]
	ldr	r3, .L34+12
	ldr	r2, [r3]
	ldr	r3, .L34
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L33
	ldr	r0, .L34+16
	bl	arc4random_uniform
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L34+16
	bl	arc4random_uniform
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r0, .L34+20
	bl	arc4random_uniform
	mov	r3, r0
	ldr	r2, .L34+24
	str	r3, [r2, #4]
	mov	r1, #0
	ldr	r0, .L34+24
	bl	nanosleep
	ldr	r3, [fp, #-12]
	ldr	r2, .L34+28
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	evbuffer_add
	ldr	r3, .L34
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L34
	ldr	r3, [r3]
	ldr	r2, .L34+12
	str	r3, [r2]
.L33:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	threshold.7977
	.word	-42949674
	.word	no_echo.7975
	.word	seen.7976
	.word	2047
	.word	1000000000
	.word	replydelay
	.word	buf
	.size	cross_talk, .-cross_talk
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Usage: crosstalkd [-C dir] socket-file\012\000"
	.text
	.align	2
	.global	emit_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_help, %function
emit_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L37+4
	bl	fwrite
	mov	r0, #64
	bl	exit
.L38:
	.align	2
.L37:
	.word	stderr
	.word	.LC8
	.size	emit_help, .-emit_help
	.local	threshold.7977
	.comm	threshold.7977,4,4
	.local	no_echo.7975
	.comm	no_echo.7975,4,4
	.local	seen.7976
	.comm	seen.7976,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
