	.file	"575930.c"
	.intel_syntax noprefix
	.text
	.globl	prologix_boxes
	.bss
	.align 4
	.type	prologix_boxes, @object
	.size	prologix_boxes, 4
prologix_boxes:
	.zero	4
	.globl	prologix_address
	.align 32
	.type	prologix_address, @object
	.size	prologix_address, 800
prologix_address:
	.zero	800
	.globl	prologix_port
	.align 32
	.type	prologix_port, @object
	.size	prologix_port, 400
prologix_port:
	.zero	400
	.globl	prologix_socket
	.align 32
	.type	prologix_socket, @object
	.size	prologix_socket, 200
prologix_socket:
	.zero	200
	.globl	prologix_devices
	.align 4
	.type	prologix_devices, @object
	.size	prologix_devices, 4
prologix_devices:
	.zero	4
	.globl	prologix_mnemonic
	.align 32
	.type	prologix_mnemonic, @object
	.size	prologix_mnemonic, 150
prologix_mnemonic:
	.zero	150
	.globl	prologix_sequence
	.align 32
	.type	prologix_sequence, @object
	.size	prologix_sequence, 8000
prologix_sequence:
	.zero	8000
	.globl	prologix_check
	.align 32
	.type	prologix_check, @object
	.size	prologix_check, 4000
prologix_check:
	.zero	4000
	.globl	prologix_box
	.align 32
	.type	prologix_box, @object
	.size	prologix_box, 200
prologix_box:
	.zero	200
	.section	.rodata
	.align 8
.LC0:
	.string	"Too large lines in file ibad.ctl"
.LC1:
	.string	"net"
	.align 8
.LC2:
	.string	"Too many Prologix-devices declared in file ibad.ctl"
.LC3:
	.string	"Offending line: '%s'"
.LC4:
	.string	","
	.align 8
.LC5:
	.string	"No comma after word 'net' in file ibad.ctl"
	.align 8
.LC6:
	.string	"No comma after IP-address in file ibad.ctl"
.LC7:
	.string	"\n"
	.align 8
.LC8:
	.string	"No comma after port-number in file ibad.ctl"
	.align 8
.LC9:
	.string	"Bad IP-address in file ibad.ctl"
	.align 8
.LC10:
	.string	"Bad port-number in file ibad.ctl"
	.align 8
.LC11:
	.string	"Too many commands for device in file ibad.ctl"
.LC12:
	.string	"/"
	.align 8
.LC13:
	.string	"initiated GPIB-device %s on Prologix %s port %s (%d commands)"
	.text
	.globl	check_prologix__
	.type	check_prologix__, @function
check_prologix__:
.LFB6:
	.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, 1864
	.cfi_offset 3, -24
	mov	QWORD PTR -1864[rbp], rdi
	mov	QWORD PTR -1872[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1872[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 511
	jbe	.L2
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L2:
	mov	rax, QWORD PTR -1872[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -1864[rbp]
	lea	rax, -1568[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -1872[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	BYTE PTR -1568[rbp+rax], 0
	lea	rax, -1568[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	lea	rax, -1568[rbp]
	add	rax, 3
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L4
	mov	eax, 0
	jmp	.L19
.L4:
	mov	eax, DWORD PTR prologix_devices[rip]
	add	eax, 1
	mov	DWORD PTR prologix_devices[rip], eax
	mov	eax, DWORD PTR prologix_devices[rip]
	cmp	eax, 49
	jle	.L5
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L5:
	mov	eax, DWORD PTR prologix_devices[rip]
	mov	DWORD PTR -1844[rbp], eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, prologix_mnemonic[rip]
	lea	rcx, [rax+rdx]
	lea	rax, -1568[rbp]
	mov	edx, 2
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, prologix_mnemonic[rip+2]
	mov	BYTE PTR [rdx+rax], 0
	lea	rax, -1568[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strtok@PLT
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1832[rbp], rax
	cmp	QWORD PTR -1832[rbp], 0
	jne	.L6
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L6:
	mov	rcx, QWORD PTR -1832[rbp]
	lea	rax, -1824[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1832[rbp], rax
	cmp	QWORD PTR -1832[rbp], 0
	jne	.L7
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L7:
	mov	rcx, QWORD PTR -1832[rbp]
	lea	rax, -1696[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rsi, .LC7[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1832[rbp], rax
	cmp	QWORD PTR -1832[rbp], 0
	jne	.L8
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L8:
	mov	rcx, QWORD PTR -1832[rbp]
	lea	rax, -544[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	DWORD PTR -1852[rbp], -1
	mov	DWORD PTR -1848[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -1848[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, prologix_address[rip]
	add	rdx, rax
	lea	rax, -1824[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR -1848[rbp]
	mov	DWORD PTR -1852[rbp], eax
.L10:
	add	DWORD PTR -1848[rbp], 1
.L9:
	mov	eax, DWORD PTR prologix_boxes[rip]
	cmp	DWORD PTR -1848[rbp], eax
	jl	.L11
	cmp	DWORD PTR -1852[rbp], -1
	jne	.L12
	lea	rax, -1824[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 15
	jbe	.L13
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L13:
	lea	rax, -1696[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 7
	jbe	.L14
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L14:
	mov	eax, DWORD PTR prologix_boxes[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR prologix_boxes[rip], edx
	mov	DWORD PTR -1852[rbp], eax
	mov	eax, DWORD PTR -1852[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, prologix_address[rip]
	add	rdx, rax
	lea	rax, -1824[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -1852[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_port[rip]
	add	rdx, rax
	lea	rax, -1696[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -1852[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prologix_socket[rip]
	mov	DWORD PTR [rdx+rax], -1
.L12:
	mov	eax, DWORD PTR -1844[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, prologix_box[rip]
	mov	eax, DWORD PTR -1852[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	lea	rax, -544[rbp]
	mov	QWORD PTR -1840[rbp], rax
	mov	DWORD PTR -1848[rbp], 0
	jmp	.L15
.L18:
	cmp	DWORD PTR -1848[rbp], 18
	jle	.L16
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	logit@PLT
	lea	rdx, -1568[rbp]
	lea	rax, -1056[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, -1
	jmp	.L19
.L16:
	mov	rax, QWORD PTR -1832[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_sequence[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_sequence[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -1832[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, prologix_check[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_sequence[rip]
	mov	rbx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -1832[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	add	rax, rbx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 38
	jne	.L17
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_sequence[rip]
	mov	rbx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -1832[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	add	rax, rbx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, prologix_check[rip]
	mov	DWORD PTR [rdx+rax], 1
.L17:
	add	DWORD PTR -1848[rbp], 1
	mov	QWORD PTR -1840[rbp], 0
.L15:
	mov	rax, QWORD PTR -1840[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1832[rbp], rax
	cmp	QWORD PTR -1832[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR -1848[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_sequence[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -1852[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prologix_port[rip]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -1852[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, prologix_address[rip]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -1844[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, prologix_mnemonic[rip]
	add	rdx, rax
	mov	esi, DWORD PTR -1848[rbp]
	lea	rax, -1056[rbp]
	mov	r9d, esi
	mov	r8, rdi
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	logit@PLT
	mov	eax, DWORD PTR -1844[rbp]
.L19:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	check_prologix__, .-check_prologix__
	.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	"575930.c"
	.text
	.global	prologix_boxes
	.bss
	.align	2
	.type	prologix_boxes, %object
	.size	prologix_boxes, 4
prologix_boxes:
	.space	4
	.comm	prologix_address,800,4
	.comm	prologix_port,400,4
	.comm	prologix_socket,200,4
	.global	prologix_devices
	.align	2
	.type	prologix_devices, %object
	.size	prologix_devices, 4
prologix_devices:
	.space	4
	.comm	prologix_mnemonic,150,4
	.comm	prologix_sequence,4000,4
	.comm	prologix_check,4000,4
	.comm	prologix_box,200,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Too large lines in file ibad.ctl\000"
	.align	2
.LC1:
	.ascii	"net\000"
	.align	2
.LC2:
	.ascii	"Too many Prologix-devices declared in file ibad.ctl"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"Offending line: '%s'\000"
	.align	2
.LC4:
	.ascii	",\000"
	.align	2
.LC5:
	.ascii	"No comma after word 'net' in file ibad.ctl\000"
	.align	2
.LC6:
	.ascii	"No comma after IP-address in file ibad.ctl\000"
	.align	2
.LC7:
	.ascii	"\012\000"
	.align	2
.LC8:
	.ascii	"No comma after port-number in file ibad.ctl\000"
	.align	2
.LC9:
	.ascii	"Bad IP-address in file ibad.ctl\000"
	.align	2
.LC10:
	.ascii	"Bad port-number in file ibad.ctl\000"
	.align	2
.LC11:
	.ascii	"Too many commands for device in file ibad.ctl\000"
	.align	2
.LC12:
	.ascii	"/\000"
	.align	2
.LC13:
	.ascii	"initiated GPIB-device %s on Prologix %s port %s (%d"
	.ascii	" commands)\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	check_prologix__
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_prologix__, %function
check_prologix__:
	@ args = 0, pretend = 0, frame = 1824
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1824
	sub	sp, sp, #12
	str	r0, [fp, #-1832]
	str	r1, [fp, #-1836]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-1836]
	ldr	r3, [r3]
	cmp	r3, #512
	bcc	.L2
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+4
	bl	logit
	mvn	r3, #0
	b	.L19
.L2:
	ldr	r3, [fp, #-1836]
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [fp, #-1832]
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-1836]
	ldr	r3, [r3]
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1540]
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #3
	mov	r2, #3
	ldr	r1, .L21+8
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	mov	r3, #0
	b	.L19
.L4:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+12
	str	r3, [r2]
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r3, #49
	ble	.L5
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+16
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L5:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	str	r3, [fp, #-1816]
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L21+24
	add	r0, r3, r2
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2
	mov	r1, r3
	bl	strncpy
	ldr	r1, .L21+24
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+28
	mov	r0, r3
	bl	strtok
	ldr	r1, .L21+28
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1812]
	ldr	r3, [fp, #-1812]
	cmp	r3, #0
	bne	.L6
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+32
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L6:
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #128
	ldr	r1, [fp, #-1812]
	mov	r0, r3
	bl	strncpy
	ldr	r1, .L21+28
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1812]
	ldr	r3, [fp, #-1812]
	cmp	r3, #0
	bne	.L7
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+36
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L7:
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #128
	ldr	r1, [fp, #-1812]
	mov	r0, r3
	bl	strncpy
	ldr	r1, .L21+40
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1812]
	ldr	r3, [fp, #-1812]
	cmp	r3, #0
	bne	.L8
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+44
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L8:
	sub	r3, fp, #528
	mov	r2, #512
	ldr	r1, [fp, #-1812]
	mov	r0, r3
	bl	strncpy
	mvn	r3, #0
	str	r3, [fp, #-1824]
	mov	r3, #0
	str	r3, [fp, #-1820]
	b	.L9
.L11:
	ldr	r3, [fp, #-1820]
	lsl	r3, r3, #4
	ldr	r2, .L21+48
	add	r2, r3, r2
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-1820]
	str	r3, [fp, #-1824]
.L10:
	ldr	r3, [fp, #-1820]
	add	r3, r3, #1
	str	r3, [fp, #-1820]
.L9:
	ldr	r3, .L21+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-1820]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-1824]
	cmn	r3, #1
	bne	.L12
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #15
	bls	.L13
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+56
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L13:
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #7
	bls	.L14
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+60
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L14:
	ldr	r3, .L21+52
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L21+52
	str	r2, [r1]
	str	r3, [fp, #-1824]
	ldr	r3, [fp, #-1824]
	lsl	r3, r3, #4
	ldr	r2, .L21+48
	add	r2, r3, r2
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-1824]
	lsl	r3, r3, #3
	ldr	r2, .L21+64
	add	r2, r3, r2
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r2, .L21+68
	ldr	r3, [fp, #-1824]
	mvn	r1, #0
	str	r1, [r2, r3, lsl #2]
.L12:
	ldr	r1, .L21+72
	ldr	r3, [fp, #-1816]
	ldr	r2, [fp, #-1824]
	str	r2, [r1, r3, lsl #2]
	sub	r3, fp, #528
	str	r3, [fp, #-1828]
	mov	r3, #0
	str	r3, [fp, #-1820]
	b	.L15
.L18:
	ldr	r3, [fp, #-1820]
	cmp	r3, #18
	ble	.L16
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L21+76
	bl	logit
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L21+20
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	mvn	r3, #0
	b	.L19
.L16:
	ldr	r0, [fp, #-1812]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r0, r3
	ldr	r1, .L21+80
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	str	r0, [r1, r3, lsl #2]
	ldr	r1, .L21+80
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [fp, #-1812]
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L21+84
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L21+80
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	ldr	r4, [r1, r3, lsl #2]
	ldr	r0, [fp, #-1812]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #38
	bne	.L17
	ldr	r1, .L21+80
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	ldr	r4, [r1, r3, lsl #2]
	ldr	r0, [fp, #-1812]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L21+84
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
.L17:
	ldr	r3, [fp, #-1820]
	add	r3, r3, #1
	str	r3, [fp, #-1820]
	mov	r3, #0
	str	r3, [fp, #-1828]
.L15:
	ldr	r1, .L21+88
	ldr	r0, [fp, #-1828]
	bl	strtok
	str	r0, [fp, #-1812]
	ldr	r3, [fp, #-1812]
	cmp	r3, #0
	bne	.L18
	ldr	r1, .L21+80
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1820]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	ldr	r2, [fp, #-1816]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L21+24
	add	r1, r3, r2
	ldr	r3, [fp, #-1824]
	lsl	r3, r3, #4
	ldr	r2, .L21+48
	add	ip, r3, r2
	ldr	r3, [fp, #-1824]
	lsl	r3, r3, #3
	ldr	r2, .L21+64
	add	r3, r3, r2
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, [fp, #-1820]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L21+92
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	logit
	ldr	r3, [fp, #-1816]
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	prologix_devices
	.word	.LC2
	.word	.LC3
	.word	prologix_mnemonic
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	prologix_address
	.word	prologix_boxes
	.word	.LC9
	.word	.LC10
	.word	prologix_port
	.word	prologix_socket
	.word	prologix_box
	.word	.LC11
	.word	prologix_sequence
	.word	prologix_check
	.word	.LC12
	.word	.LC13
	.size	check_prologix__, .-check_prologix__
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
