	.file	"416719.c"
	.intel_syntax noprefix
	.text
	.globl	get_in_addr
	.type	get_in_addr, @function
get_in_addr:
.LFB6:
	.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	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 2
	jne	.L2
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_in_addr, .-get_in_addr
	.section	.rodata
.LC0:
	.string	"usage: client hostname\n"
.LC1:
	.string	":"
.LC2:
	.string	"protocal:%s\n"
.LC3:
	.string	"http"
.LC4:
	.string	"not http connection"
.LC5:
	.string	"/"
.LC6:
	.string	"%s"
.LC7:
	.string	"host: %s\n"
.LC8:
	.string	""
	.string	""
.LC9:
	.string	"index.html"
.LC10:
	.string	"path:%s\n"
.LC11:
	.string	"80"
.LC12:
	.string	"port: %s\n"
.LC13:
	.string	"getaddrinfo: %s\n"
.LC14:
	.string	"client: socket"
.LC15:
	.string	"client: connect"
.LC16:
	.string	"client: failed to connect\n"
.LC17:
	.string	"client: connecting to %s\n"
.LC18:
	.string	"GET /%s HTTP/1.0\r\n"
	.align 8
.LC19:
	.string	"User-Agent: Wget/1.15 (linux-gnu)\r\n"
.LC20:
	.string	"Accept: */*\r\n"
.LC21:
	.string	"Host: %s:%s\r\n"
.LC22:
	.string	"Connection: Keep-Alive\r\n\r\n"
.LC23:
	.string	"send"
.LC24:
	.string	"wb"
.LC25:
	.string	"output"
.LC26:
	.string	"recv"
.LC27:
	.string	"RECEIVED: %d bytes\n"
.LC28:
	.string	"HTTP/1.0 400 Bad Request\r\n\r\n"
.LC29:
	.string	"HTTP/1.0 400 Bad Request"
.LC30:
	.string	"HTTP/1.0 404 Not Found\r\n\r\n"
.LC31:
	.string	"HTTP/1.0 404 Not Found"
.LC32:
	.string	"\r\n\r\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -8228[rbp], edi
	mov	QWORD PTR -8240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -8228[rbp], 2
	je	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	QWORD PTR -8192[rbp], 0
	mov	rax, QWORD PTR -8240[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8192[rbp], rax
	mov	rax, QWORD PTR -8192[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -8192[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8192[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8192[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rsi, .LC5[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8192[rbp], rax
	mov	rax, QWORD PTR -8192[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rdx, QWORD PTR -8192[rbp]
	lea	rax, -8080[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8080[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8192[rbp], rax
	cmp	QWORD PTR -8192[rbp], 0
	je	.L7
	mov	rdx, QWORD PTR -8192[rbp]
	lea	rax, -7056[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L8
.L7:
	lea	rax, -7056[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L8:
	lea	rax, -7056[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -8080[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8192[rbp], rax
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8192[rbp], rax
	cmp	QWORD PTR -8192[rbp], 0
	jne	.L9
	lea	rax, -6032[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L10
.L9:
	mov	rdx, QWORD PTR -8192[rbp]
	lea	rax, -6032[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L10:
	lea	rax, -6032[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -8176[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -8172[rbp], 0
	mov	DWORD PTR -8168[rbp], 1
	lea	rcx, -8208[rbp]
	lea	rdx, -8176[rbp]
	lea	rsi, -6032[rbp]
	lea	rax, -8080[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -8216[rbp], eax
	cmp	DWORD PTR -8216[rbp], 0
	je	.L11
	mov	eax, DWORD PTR -8216[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L28
.L11:
	mov	rax, QWORD PTR -8208[rbp]
	mov	QWORD PTR -8200[rbp], rax
	jmp	.L13
.L18:
	mov	rax, QWORD PTR -8200[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8200[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8200[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -8224[rbp], eax
	cmp	DWORD PTR -8224[rbp], -1
	jne	.L14
	lea	rdi, .LC14[rip]
	call	perror@PLT
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -8200[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -8200[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -8224[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L30
	mov	eax, DWORD PTR -8224[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC15[rip]
	call	perror@PLT
	nop
.L15:
	mov	rax, QWORD PTR -8200[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8200[rbp], rax
.L13:
	cmp	QWORD PTR -8200[rbp], 0
	jne	.L18
	jmp	.L17
.L30:
	nop
.L17:
	cmp	QWORD PTR -8200[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L28
.L19:
	mov	rax, QWORD PTR -8200[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	get_in_addr
	mov	rsi, rax
	mov	rax, QWORD PTR -8200[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	rdx, -8128[rbp]
	mov	ecx, 46
	mov	edi, eax
	call	inet_ntop@PLT
	lea	rax, -8128[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8208[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	lea	rdx, -7056[rbp]
	lea	rax, -5008[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -5008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -5008[rbp]
	add	rax, rdx
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -5008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -5008[rbp]
	add	rax, rdx
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -5008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -5008[rbp]
	lea	rdi, [rdx+rax]
	lea	rdx, -6032[rbp]
	lea	rax, -8080[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC21[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -5008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -5008[rbp]
	add	rax, rdx
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -5008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -5008[rbp]
	mov	eax, DWORD PTR -8224[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -8212[rbp], eax
	cmp	DWORD PTR -8212[rbp], -1
	jne	.L20
	lea	rdi, .LC23[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	lea	rsi, .LC24[rip]
	lea	rdi, .LC25[rip]
	call	fopen@PLT
	mov	QWORD PTR -8184[rbp], rax
	mov	DWORD PTR -8220[rbp], 0
.L27:
	lea	rax, -5008[rbp]
	mov	edx, 5000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -5008[rbp]
	mov	eax, DWORD PTR -8224[rbp]
	mov	ecx, 0
	mov	edx, 4999
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -8212[rbp], eax
	cmp	DWORD PTR -8212[rbp], -1
	jne	.L21
	lea	rdi, .LC26[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR -8212[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -5008[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L22
	mov	rax, QWORD PTR -8184[rbp]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	jmp	.L23
.L22:
	lea	rax, -5008[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -8184[rbp]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	jmp	.L23
.L24:
	cmp	DWORD PTR -8220[rbp], 0
	jne	.L25
	lea	rax, -5008[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strstr@PLT
	add	rax, 4
	mov	QWORD PTR -8192[rbp], rax
	mov	eax, DWORD PTR -8212[rbp]
	cdqe
	lea	rdx, -5008[rbp]
	add	rax, rdx
	sub	rax, QWORD PTR -8192[rbp]
	mov	rsi, rax
	mov	rdx, QWORD PTR -8184[rbp]
	mov	rax, QWORD PTR -8192[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -8220[rbp], 1
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -8212[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -8184[rbp]
	lea	rax, -5008[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L26:
	cmp	DWORD PTR -8212[rbp], 0
	jne	.L27
.L23:
	mov	rax, QWORD PTR -8184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -8224[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L28:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"416719.c"
	.text
	.align	2
	.global	get_in_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_in_addr, %function
get_in_addr:
	@ 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]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3]
	cmp	r3, #2
	bne	.L2
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_in_addr, .-get_in_addr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: client hostname\012\000"
	.align	2
.LC1:
	.ascii	":\000"
	.align	2
.LC2:
	.ascii	"protocal:%s\012\000"
	.align	2
.LC3:
	.ascii	"http\000"
	.align	2
.LC4:
	.ascii	"not http connection\000"
	.align	2
.LC5:
	.ascii	"/\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.ascii	"host: %s\012\000"
	.align	2
.LC8:
	.ascii	"\000\000"
	.align	2
.LC9:
	.ascii	"index.html\000"
	.align	2
.LC10:
	.ascii	"path:%s\012\000"
	.align	2
.LC11:
	.ascii	"80\000"
	.align	2
.LC12:
	.ascii	"port: %s\012\000"
	.align	2
.LC13:
	.ascii	"getaddrinfo: %s\012\000"
	.align	2
.LC14:
	.ascii	"client: socket\000"
	.align	2
.LC15:
	.ascii	"client: connect\000"
	.align	2
.LC16:
	.ascii	"client: failed to connect\012\000"
	.align	2
.LC17:
	.ascii	"client: connecting to %s\012\000"
	.align	2
.LC18:
	.ascii	"GET /%s HTTP/1.0\015\012\000"
	.align	2
.LC19:
	.ascii	"User-Agent: Wget/1.15 (linux-gnu)\015\012\000"
	.align	2
.LC20:
	.ascii	"Accept: */*\015\012\000"
	.align	2
.LC21:
	.ascii	"Host: %s:%s\015\012\000"
	.align	2
.LC22:
	.ascii	"Connection: Keep-Alive\015\012\015\012\000"
	.align	2
.LC23:
	.ascii	"send\000"
	.align	2
.LC24:
	.ascii	"wb\000"
	.align	2
.LC25:
	.ascii	"output\000"
	.align	2
.LC26:
	.ascii	"recv\000"
	.align	2
.LC27:
	.ascii	"RECEIVED: %d bytes\012\000"
	.align	2
.LC28:
	.ascii	"HTTP/1.0 400 Bad Request\015\012\015\012\000"
	.align	2
.LC29:
	.ascii	"HTTP/1.0 400 Bad Request\000"
	.align	2
.LC30:
	.ascii	"HTTP/1.0 404 Not Found\015\012\015\012\000"
	.align	2
.LC31:
	.ascii	"HTTP/1.0 404 Not Found\000"
	.align	2
.LC32:
	.ascii	"\015\012\015\012\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #12
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-8]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-4]
	cmp	r3, #2
	beq	.L5
	ldr	r3, .L31+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L31+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4076]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L31+12
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4076]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4076]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-4076]
	ldr	r0, .L31+16
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L31+20
	ldr	r0, [r3, #-4076]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L31+24
	bl	puts
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L31+28
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4076]
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, [r2, #-4076]
	ldr	r1, .L31+32
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L31+36
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L31+40
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4076]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #7040
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, [r2, #-4076]
	ldr	r1, .L31+32
	mov	r0, r3
	bl	sprintf
	b	.L8
.L7:
	sub	r3, fp, #7040
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+44
	mov	r0, r3
	bl	sprintf
.L8:
	sub	r3, fp, #7040
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L31+48
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+12
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L31+40
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4076]
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #6016
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+52
	mov	r0, r3
	bl	sprintf
	b	.L10
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #6016
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, [r2, #-4076]
	ldr	r1, .L31+32
	mov	r0, r3
	bl	sprintf
.L10:
	sub	r3, fp, #6016
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L31+56
	bl	printf
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #28
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-4052]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #60
	sub	r2, fp, #8128
	sub	r2, r2, #12
	sub	r2, r2, #28
	sub	r1, fp, #6016
	sub	r1, r1, #12
	sub	r1, r1, #12
	sub	r0, fp, #8064
	sub	r0, r0, #12
	sub	r0, r0, #12
	bl	getaddrinfo
	str	r0, [r4, #-4072]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4072]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L31+4
	ldr	r4, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4072]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L31+60
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4092]
	str	r3, [r2, #-4084]
	b	.L13
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r0, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r1, [r3, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r3, [r3, #12]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, r3
	bl	socket
	str	r0, [r4, #-4088]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L31+64
	bl	perror
	b	.L15
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r1, [r3, #20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r3, [r3, #16]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r0, [r0, #-4088]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L30
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4088]
	bl	close
	ldr	r0, .L31+68
	bl	perror
	nop
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r3, [r3, #28]
	str	r3, [r2, #-4084]
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	cmp	r3, #0
	bne	.L18
	b	.L17
.L30:
	nop
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L31+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L31+72
	bl	fwrite
	mov	r3, #2
	b	.L28
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r4, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	get_in_addr
	mov	r1, r0
	sub	r2, fp, #8064
	sub	r2, r2, #12
	sub	r2, r2, #60
	mov	r3, #46
	mov	r0, r4
	bl	inet_ntop
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r1, r3
	ldr	r0, .L31+76
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4092]
	mov	r0, r3
	bl	freeaddrinfo
	sub	r2, fp, #7040
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+80
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	add	r3, r3, r2
	ldr	r1, .L31+84
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	add	r3, r3, r2
	ldr	r1, .L31+88
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	add	r0, r3, r2
	sub	r3, fp, #6016
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r2, fp, #8064
	sub	r2, r2, #12
	sub	r2, r2, #12
	ldr	r1, .L31+92
	bl	sprintf
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	add	r3, r3, r2
	ldr	r1, .L31+96
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #4992
	sub	r1, r1, #12
	sub	r1, r1, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-4088]
	bl	send
	str	r0, [r4, #-4068]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4068]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L31+100
	bl	perror
	mov	r0, #1
	bl	exit
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L31+104
	ldr	r0, .L31+108
	bl	fopen
	str	r0, [r4, #-4064]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4080]
.L27:
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, .L31+112
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #4992
	sub	r1, r1, #12
	sub	r1, r1, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r2, .L31+116
	ldr	r0, [r0, #-4088]
	bl	recv
	str	r0, [r4, #-4068]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4068]
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L31+120
	bl	perror
	mov	r0, #1
	bl	exit
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-4068]
	ldr	r0, .L31+124
	bl	printf
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+128
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4064]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L31+132
	bl	fwrite
	b	.L23
.L22:
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+136
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4064]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L31+140
	bl	fwrite
	b	.L23
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4080]
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L31+144
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	add	r3, r3, #4
	str	r3, [r2, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-4068]
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	add	r2, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4076]
	sub	r3, r2, r3
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r3, [r3, #-4064]
	mov	r2, r1
	mov	r1, #1
	ldr	r0, [r0, #-4076]
	bl	fwrite
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-4080]
	b	.L26
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-4068]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, fp, #4992
	sub	r0, r0, #12
	sub	r0, r0, #12
	ldr	r3, [r3, #-4064]
	mov	r1, #1
	bl	fwrite
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4068]
	cmp	r3, #0
	bne	.L27
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4064]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4088]
	bl	close
	mov	r3, #0
.L28:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC33
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	5000
	.word	4999
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
