	.file	"10416.c"
	.intel_syntax noprefix
	.text
	.globl	sources
	.bss
	.align 32
	.type	sources, @object
	.size	sources, 40
sources:
	.zero	40
	.globl	source_count
	.align 4
	.type	source_count, @object
	.size	source_count, 4
source_count:
	.zero	4
	.globl	fork_a_daemon
	.align 4
	.type	fork_a_daemon, @object
	.size	fork_a_daemon, 4
fork_a_daemon:
	.zero	4
	.globl	packet
	.align 8
	.type	packet, @object
	.size	packet, 8
packet:
	.zero	8
	.globl	beaconfile
	.align 8
	.type	beaconfile, @object
	.size	beaconfile, 8
beaconfile:
	.zero	8
	.section	.rodata
.LC0:
	.string	"owfs-tlm: out of memory\n"
	.text
	.globl	hmalloc
	.type	hmalloc, @function
hmalloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	call	abort@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hmalloc, .-hmalloc
	.globl	hstrdup
	.type	hstrdup, @function
hstrdup:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	call	abort@PLT
.L5:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hstrdup, .-hstrdup
	.section	.rodata
.LC2:
	.string	"owfs-tlm version 1.0"
.LC3:
	.string	"t:p:b:f?h"
.LC4:
	.string	"owfs-tlm version 1.0help\n"
	.text
	.globl	parse_cmdline
	.type	parse_cmdline, @function
parse_cmdline:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -24[rbp], 0
	jmp	.L8
.L15:
	cmp	DWORD PTR -20[rbp], 63
	je	.L9
	cmp	DWORD PTR -20[rbp], 63
	jl	.L8
	cmp	DWORD PTR -20[rbp], 116
	jg	.L8
	cmp	DWORD PTR -20[rbp], 98
	jl	.L8
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 98
	cmp	eax, 18
	ja	.L8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L11[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L11[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L14-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L13-.L11
	.long	.L8-.L11
	.long	.L9-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L12-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L8-.L11
	.long	.L10-.L11
	.text
.L10:
	mov	ebx, DWORD PTR source_count[rip]
	mov	edi, 24
	call	hmalloc
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sources[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, DWORD PTR source_count[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sources[rip]
	mov	rbx, QWORD PTR [rcx+rdx]
	mov	rdi, rax
	call	hstrdup
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR source_count[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sources[rip]
	mov	rax, QWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	movsd	QWORD PTR 8[rax], xmm0
	mov	eax, DWORD PTR source_count[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sources[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	DWORD PTR 16[rax], 0
	mov	eax, DWORD PTR source_count[rip]
	add	eax, 1
	mov	DWORD PTR source_count[rip], eax
	jmp	.L8
.L12:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	hstrdup
	mov	QWORD PTR packet[rip], rax
	jmp	.L8
.L14:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	hstrdup
	mov	QWORD PTR beaconfile[rip], rax
	jmp	.L8
.L13:
	mov	DWORD PTR fork_a_daemon[rip], 1
	jmp	.L8
.L9:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	DWORD PTR -24[rbp], 1
.L8:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC3[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L15
	cmp	DWORD PTR -24[rbp], 0
	je	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	exit@PLT
.L17:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_cmdline, .-parse_cmdline
	.section	.rodata
	.align 8
.LC5:
	.string	"owfs-tlm Shutting down on signal %d\n"
.LC6:
	.string	"owfs-tlm SIG %d ignored\n"
	.text
	.globl	sighandler
	.type	sighandler, @function
sighandler:
.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	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 3
	jg	.L19
	cmp	DWORD PTR -4[rbp], 2
	jge	.L20
	jmp	.L21
.L19:
	cmp	DWORD PTR -4[rbp], 15
	jne	.L21
.L20:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	mov	eax, DWORD PTR -4[rbp]
	lea	rsi, sighandler[rip]
	mov	edi, eax
	call	signal@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	sighandler, .-sighandler
	.section	.rodata
.LC9:
	.string	"read %s: %.5f scaled %.0f\n"
	.text
	.globl	process_owfs_buf
	.type	process_owfs_buf, @function
process_owfs_buf:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR .LC7[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR -8[rbp]
	cvttsd2si	edx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	process_owfs_buf, .-process_owfs_buf
	.section	.rodata
	.align 8
.LC10:
	.string	"owfs-tlm failed to open %s: %s\n"
	.align 8
.LC11:
	.string	"owfs-tlm failed to close %s: %s\n"
	.text
	.globl	read_values
	.type	read_values, @function
read_values:
.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L25
.L30:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sources[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -96[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 16[rax], 0
	cmp	DWORD PTR -96[rbp], 0
	jns	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L27
.L26:
	lea	rcx, -80[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	edx, 63
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], 0
	mov	BYTE PTR -17[rbp], 0
	cmp	DWORD PTR -92[rbp], 4
	jle	.L28
	mov	edx, DWORD PTR -92[rbp]
	lea	rcx, -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	process_owfs_buf
.L28:
	mov	eax, DWORD PTR -96[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L27
.L29:
	add	DWORD PTR -100[rbp], 1
.L25:
	mov	eax, DWORD PTR source_count[rip]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L30
.L27:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	read_values, .-read_values
	.globl	base91
	.type	base91, @function
base91:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1274330955
	shr	rdx, 32
	add	edx, eax
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	ecx, 33[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -1274330955
	shr	rdx, 32
	add	edx, eax
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 91
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	lea	ecx, 33[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	base91, .-base91
	.globl	tlm_seq
	.bss
	.align 4
	.type	tlm_seq, @object
	.size	tlm_seq, 4
tlm_seq:
	.zero	4
	.text
	.globl	produce_tlm
	.type	produce_tlm, @function
produce_tlm:
.LFB13:
	.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
	lea	rax, tbuf.0[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 256
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 124
	mov	edx, DWORD PTR tlm_seq[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	base91
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sources[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	base91
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L35:
	mov	eax, DWORD PTR source_count[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L36
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 124
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR tlm_seq[rip]
	add	eax, 1
	and	eax, 8191
	mov	DWORD PTR tlm_seq[rip], eax
	lea	rax, tbuf.0[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	produce_tlm, .-produce_tlm
	.section	.rodata
.LC12:
	.string	"%s%s"
.LC13:
	.string	"%s.tmp"
	.align 8
.LC14:
	.string	"owfs-tlm failed to rename %s to %s: %s\n"
	.text
	.globl	produce_beacon
	.type	produce_beacon, @function
produce_beacon:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	produce_tlm
	mov	rcx, rax
	mov	rdx, QWORD PTR packet[rip]
	lea	rax, -272[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC12[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -288[rbp], eax
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR beaconfile[rip]
	test	rax, rax
	je	.L46
	mov	rax, QWORD PTR beaconfile[rip]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 10
	mov	rdi, rax
	call	hmalloc
	mov	QWORD PTR -280[rbp], rax
	mov	rdx, QWORD PTR beaconfile[rip]
	mov	rax, QWORD PTR -280[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], 0
	jns	.L41
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -280[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	hfree@PLT
	jmp	.L38
.L41:
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -284[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L42
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -280[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	hfree@PLT
	jmp	.L38
.L42:
	mov	rdx, QWORD PTR beaconfile[rip]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rename@PLT
	test	eax, eax
	je	.L43
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rcx, QWORD PTR beaconfile[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -280[rbp]
	mov	r8, rsi
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	hfree@PLT
	jmp	.L38
.L43:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	hfree@PLT
	jmp	.L38
.L46:
	nop
.L38:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	produce_beacon, .-produce_beacon
	.globl	main
	.type	main, @function
main:
.LFB15:
	.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	parse_cmdline
.L48:
	call	read_values
	call	produce_beacon
	mov	edi, 10
	call	sleep@PLT
	jmp	.L48
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.local	tbuf.0
	.comm	tbuf.0,256,32
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1078689792
	.align 8
.LC8:
	.long	0
	.long	1078394880
	.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	"10416.c"
	.text
	.comm	sources,20,4
	.global	source_count
	.bss
	.align	2
	.type	source_count, %object
	.size	source_count, 4
source_count:
	.space	4
	.global	fork_a_daemon
	.align	2
	.type	fork_a_daemon, %object
	.size	fork_a_daemon, 4
fork_a_daemon:
	.space	4
	.global	packet
	.align	2
	.type	packet, %object
	.size	packet, 4
packet:
	.space	4
	.global	beaconfile
	.align	2
	.type	beaconfile, %object
	.size	beaconfile, 4
beaconfile:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"owfs-tlm: out of memory\012\000"
	.text
	.align	2
	.global	hmalloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	hmalloc, %function
hmalloc:
	@ 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, [fp, #-16]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L4+4
	bl	fwrite
	bl	abort
.L2:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	stderr
	.word	.LC0
	.size	hmalloc, .-hmalloc
	.align	2
	.global	hstrdup
	.syntax unified
	.arm
	.fpu softvfp
	.type	hstrdup, %function
hstrdup:
	@ 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, [fp, #-16]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L9+4
	bl	fwrite
	bl	abort
.L7:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stderr
	.word	.LC0
	.size	hstrdup, .-hstrdup
	.section	.rodata
	.align	2
.LC1:
	.ascii	"owfs-tlm version 1.0\000"
	.align	2
.LC2:
	.ascii	"t:p:b:f?h\000"
	.align	2
.LC3:
	.ascii	"owfs-tlm version 1.0help\012\000"
	.text
	.align	2
	.global	parse_cmdline
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_cmdline, %function
parse_cmdline:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L12
.L19:
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	beq	.L13
	ldr	r3, [fp, #-16]
	cmp	r3, #63
	blt	.L12
	ldr	r3, [fp, #-16]
	cmp	r3, #116
	bgt	.L12
	ldr	r3, [fp, #-16]
	cmp	r3, #98
	blt	.L12
	ldr	r3, [fp, #-16]
	sub	r3, r3, #98
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L12
.L15:
	.word	.L18
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L17
	.word	.L12
	.word	.L13
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L16
	.word	.L12
	.word	.L12
	.word	.L12
	.word	.L14
.L14:
	ldr	r3, .L22
	ldr	r4, [r3]
	mov	r0, #24
	bl	hmalloc
	mov	r3, r0
	ldr	r2, .L22+4
	str	r3, [r2, r4, lsl #2]
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r1, .L22+4
	ldr	r4, [r1, r3, lsl #2]
	mov	r0, r2
	bl	hstrdup
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, .L22+4
	ldr	r1, [r2, r3, lsl #2]
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, .L22+4
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L22
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22
	str	r3, [r2]
	b	.L12
.L16:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	hstrdup
	mov	r3, r0
	ldr	r2, .L22+12
	str	r3, [r2]
	b	.L12
.L18:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	hstrdup
	mov	r3, r0
	ldr	r2, .L22+16
	str	r3, [r2]
	b	.L12
.L17:
	ldr	r3, .L22+20
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L13:
	ldr	r3, .L22+24
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L22+28
	bl	fwrite
	mov	r3, #1
	str	r3, [fp, #-20]
.L12:
	ldr	r2, .L22+32
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L19
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L22+24
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L22+36
	bl	fwrite
	ldr	r0, [fp, #-20]
	bl	exit
.L21:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	source_count
	.word	sources
	.word	optarg
	.word	packet
	.word	beaconfile
	.word	fork_a_daemon
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	parse_cmdline, .-parse_cmdline
	.section	.rodata
	.align	2
.LC4:
	.ascii	"owfs-tlm Shutting down on signal %d\012\000"
	.align	2
.LC5:
	.ascii	"owfs-tlm SIG %d ignored\012\000"
	.text
	.align	2
	.global	sighandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sighandler, %function
sighandler:
	@ 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	r3, [fp, #-8]
	cmp	r3, #3
	bgt	.L25
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bge	.L26
	b	.L27
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	bne	.L27
.L26:
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L29+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #0
	bl	exit
.L27:
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L29+8
	mov	r0, r3
	bl	fprintf
	nop
	ldr	r1, .L29+12
	ldr	r0, [fp, #-8]
	bl	signal
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	sighandler
	.size	sighandler, .-sighandler
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.section	.rodata
	.align	2
.LC6:
	.ascii	"read %s: %.5f scaled %.0f\012\000"
	.global	__aeabi_d2iz
	.text
	.align	2
	.global	process_owfs_buf
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_owfs_buf, %function
process_owfs_buf:
	@ args = 0, 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]
	ldr	r0, [fp, #-20]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L32
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L32+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	ip, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	mov	r1, ip
	ldr	r0, .L32+8
	bl	printf
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	1078689792
	.word	1078394880
	.word	.LC6
	.size	process_owfs_buf, .-process_owfs_buf
	.section	.rodata
	.align	2
.LC7:
	.ascii	"owfs-tlm failed to open %s: %s\012\000"
	.align	2
.LC8:
	.ascii	"owfs-tlm failed to close %s: %s\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_values
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_values, %function
read_values:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L35
.L40:
	ldr	r2, .L42+4
	ldr	r3, [fp, #-96]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-88]
	ldr	r1, [fp, #-92]
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-92]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bge	.L36
	ldr	r3, .L42+8
	ldr	r4, [r3]
	ldr	r3, [fp, #-92]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L42+12
	mov	r0, r4
	bl	fprintf
	b	.L37
.L36:
	sub	r3, fp, #80
	mov	r2, #63
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	read
	str	r0, [fp, #-84]
	sub	r2, fp, #80
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-84]
	cmp	r3, #4
	ble	.L38
	sub	r3, fp, #80
	ldr	r2, [fp, #-84]
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	process_owfs_buf
.L38:
	ldr	r0, [fp, #-88]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L42+8
	ldr	r4, [r3]
	ldr	r3, [fp, #-92]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L42+16
	mov	r0, r4
	bl	fprintf
	b	.L37
.L39:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L35:
	ldr	r3, .L42+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	blt	.L40
.L37:
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC9
	.word	sources
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	source_count
	.size	read_values, .-read_values
	.align	2
	.global	base91
	.syntax unified
	.arm
	.fpu softvfp
	.type	base91, %function
base91:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L46
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	add	r2, r2, #33
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r1, [fp, #-12]
	ldr	r3, .L46
	smull	r2, r3, r1, r3
	add	r3, r3, r1
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	sub	r2, r1, r2
	and	r2, r2, #255
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	add	r2, r2, #33
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L47:
	.align	2
.L46:
	.word	-1274330955
	.size	base91, .-base91
	.global	tlm_seq
	.bss
	.align	2
	.type	tlm_seq, %object
	.size	tlm_seq, 4
tlm_seq:
	.space	4
	.text
	.align	2
	.global	produce_tlm
	.syntax unified
	.arm
	.fpu softvfp
	.type	produce_tlm, %function
produce_tlm:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L52
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #256
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #124
	strb	r2, [r3]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	base91
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L49
.L50:
	ldr	r2, .L52+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	base91
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L49:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L50
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #124
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	ldr	r2, .L52+4
	str	r3, [r2]
	ldr	r3, .L52
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	tbuf.6449
	.word	tlm_seq
	.word	sources
	.word	source_count
	.size	produce_tlm, .-produce_tlm
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%s%s\000"
	.align	2
.LC11:
	.ascii	"%s.tmp\000"
	.align	2
.LC12:
	.ascii	"owfs-tlm failed to rename %s to %s: %s\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	produce_beacon
	.syntax unified
	.arm
	.fpu softvfp
	.type	produce_beacon, %function
produce_beacon:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #280
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L63+4
	ldr	r4, [r3]
	bl	produce_tlm
	mov	r3, r0
	sub	r0, fp, #272
	str	r3, [sp]
	mov	r3, r4
	ldr	r2, .L63+8
	mov	r1, #256
	bl	snprintf
	str	r0, [fp, #-284]
	sub	r3, fp, #272
	mov	r0, r3
	bl	puts
	ldr	r3, .L63+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #10
	mov	r0, r3
	bl	hmalloc
	str	r0, [fp, #-280]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L63+16
	ldr	r0, [fp, #-280]
	bl	sprintf
	ldr	r1, .L63+20
	ldr	r0, [fp, #-280]
	bl	open
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bge	.L57
	ldr	r3, .L63+24
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-280]
	ldr	r1, .L63+28
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-280]
	bl	hfree
	b	.L54
.L57:
	ldr	r2, [fp, #-284]
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	write
	ldr	r0, [fp, #-276]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L63+24
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-280]
	ldr	r1, .L63+32
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-280]
	bl	hfree
	b	.L54
.L58:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-280]
	bl	rename
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
	ldr	r3, .L63+24
	ldr	r4, [r3]
	ldr	r3, .L63+12
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	ldr	r2, [fp, #-280]
	ldr	r1, .L63+36
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-280]
	bl	hfree
	b	.L54
.L59:
	ldr	r0, [fp, #-280]
	bl	hfree
	b	.L54
.L62:
	nop
.L54:
	ldr	r3, .L63
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC13
	.word	packet
	.word	.LC10
	.word	beaconfile
	.word	.LC11
	.word	577
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC12
	.size	produce_beacon, .-produce_beacon
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	parse_cmdline
.L66:
	bl	read_values
	bl	produce_beacon
	mov	r0, #10
	bl	sleep
	b	.L66
	.size	main, .-main
	.local	tbuf.6449
	.comm	tbuf.6449,256,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
