	.file	"845241.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"f:"
.LC1:
	.string	"r"
.LC2:
	.string	"Couldn't open file "
.LC3:
	.string	"opening file %s\n"
.LC4:
	.string	"read %lu bytes\n"
.LC5:
	.string	"sendto Status = %s\n"
.LC6:
	.string	"VHW"
.LC7:
	.string	"VHW = %d\n"
.LC8:
	.string	"STAT %02x\n"
.LC9:
	.string	"statn2k"
	.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, 2464
	mov	DWORD PTR -2452[rbp], edi
	mov	QWORD PTR -2464[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2432[rbp], 1
	mov	DWORD PTR -2428[rbp], 0
	mov	DWORD PTR -2416[rbp], 2000
	movabs	rax, 3328210909095473713
	mov	QWORD PTR -2330[rbp], rax
	mov	WORD PTR -2322[rbp], 49
	mov	BYTE PTR -2435[rbp], 0
	mov	BYTE PTR -2434[rbp], 0
	jmp	.L2
.L5:
	movsx	eax, BYTE PTR -2434[rbp]
	cmp	eax, 102
	jne	.L21
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	jbe	.L2
	mov	rdx, QWORD PTR optarg[rip]
	lea	rax, -2320[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L2
.L21:
	nop
.L2:
	mov	rcx, QWORD PTR -2464[rbp]
	mov	eax, DWORD PTR -2452[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	BYTE PTR -2434[rbp], al
	cmp	BYTE PTR -2434[rbp], -1
	jne	.L5
	mov	DWORD PTR -2412[rbp], 16
	mov	eax, DWORD PTR -2412[rbp]
	movsx	rdx, eax
	lea	rax, -2368[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edx, 17
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -2408[rbp], eax
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -2364[rbp], eax
	mov	edi, 0
	call	htons@PLT
	mov	WORD PTR -2366[rbp], ax
	mov	WORD PTR -2368[rbp], 2
	lea	rax, -2330[rbp]
	mov	rdi, rax
	call	inet_addr@PLT
	mov	DWORD PTR -2364[rbp], eax
	mov	eax, DWORD PTR -2416[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -2366[rbp], ax
	mov	WORD PTR -2368[rbp], 2
	lea	rdx, -2432[rbp]
	mov	eax, DWORD PTR -2408[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 6
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -2404[rbp], eax
	lea	rax, -2320[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2392[rbp], rax
	cmp	QWORD PTR -2392[rbp], 0
	jne	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rax, -2320[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2064[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -2384[rbp], -1
	mov	QWORD PTR -2376[rbp], 411
	mov	DWORD PTR -2424[rbp], 0
	mov	DWORD PTR -2420[rbp], 0
	mov	DWORD PTR -2337[rbp], 1930625662
	mov	WORD PTR -2333[rbp], 24948
	mov	BYTE PTR -2331[rbp], 116
	jmp	.L7
.L18:
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, DWORD PTR -2412[rbp]
	lea	rcx, -2368[rbp]
	mov	rdx, QWORD PTR -2376[rbp]
	lea	rsi, -2064[rbp]
	mov	eax, DWORD PTR -2408[rbp]
	mov	r9d, edi
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	test	rax, rax
	jns	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	DWORD PTR -2420[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -2420[rbp]
	cdqe
	movzx	eax, BYTE PTR -2064[rbp+rax]
	mov	BYTE PTR -2433[rbp], al
	cmp	BYTE PTR -2433[rbp], 30
	setbe	dl
	movzx	eax, BYTE PTR -2433[rbp]
	shr	al, 7
	or	eax, edx
	movzx	edx, al
	cmp	BYTE PTR -2433[rbp], 10
	setne	al
	movzx	eax, al
	and	eax, edx
	test	eax, eax
	je	.L10
	mov	edi, 46
	call	putchar@PLT
	mov	eax, DWORD PTR -2420[rbp]
	cdqe
	mov	BYTE PTR -1040[rbp+rax], 46
	jmp	.L11
.L10:
	movzx	eax, BYTE PTR -2433[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR -2420[rbp]
	cdqe
	movzx	edx, BYTE PTR -2433[rbp]
	mov	BYTE PTR -1040[rbp+rax], dl
.L11:
	add	DWORD PTR -2420[rbp], 1
.L9:
	mov	eax, DWORD PTR -2420[rbp]
	cdqe
	cmp	QWORD PTR -2376[rbp], rax
	ja	.L12
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -1040[rbp]
	mov	QWORD PTR -2400[rbp], rax
	jmp	.L13
.L14:
	add	DWORD PTR -2424[rbp], 1
	add	QWORD PTR -2400[rbp], 1
.L13:
	mov	rax, QWORD PTR -2400[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -2400[rbp], rax
	cmp	QWORD PTR -2400[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -2424[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1040[rbp]
	mov	QWORD PTR -2400[rbp], rax
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -2400[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2400[rbp], 1
.L15:
	mov	rax, QWORD PTR -2400[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -2400[rbp], rax
	cmp	QWORD PTR -2400[rbp], 0
	jne	.L16
	add	DWORD PTR -2428[rbp], 1
	lea	rax, -2064[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L7:
	mov	rdx, QWORD PTR -2392[rbp]
	mov	rsi, QWORD PTR -2376[rbp]
	lea	rax, -2064[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -2384[rbp], rax
	cmp	QWORD PTR -2384[rbp], 0
	je	.L17
	cmp	DWORD PTR -2428[rbp], 19
	jle	.L18
.L17:
	mov	rax, QWORD PTR -2392[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"845241.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"f:\000"
	.align	2
.LC0:
	.ascii	"127.0.0.1\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1072
	sub	sp, sp, #8
	str	r0, [fp, #-1080]
	str	r1, [fp, #-1084]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-1072]
	mov	r3, #0
	str	r3, [fp, #-1068]
	mov	r3, #2000
	str	r3, [fp, #-1064]
	ldr	r2, .L8+4
	sub	r3, fp, #1040
	sub	r3, r3, #4
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-1073]
	mov	r3, #0
	strb	r3, [fp, #-1074]
	b	.L2
.L7:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	bls	.L2
	ldr	r3, .L8+8
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	b	.L2
.L3:
	nop
.L2:
	ldr	r2, .L8+12
	ldr	r1, [fp, #-1084]
	ldr	r0, [fp, #-1080]
	bl	getopt
	mov	r3, r0
	strb	r3, [fp, #-1074]
	ldrb	r3, [fp, #-1074]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L3
	b	.L7
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	.LC0
	.word	optarg
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
