	.file	"181394241.c"
	.intel_syntax noprefix
	.text
	.globl	error
	.type	error, @function
error:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	error, .-error
	.section	.rodata
.LC0:
	.string	"localhost"
	.align 8
.LC1:
	.string	"Parameters: <host> <port> <method> <path> [<data> [<headers>]]"
.LC2:
	.string	"GET"
.LC3:
	.string	""
.LC4:
	.string	"?"
.LC5:
	.string	"/"
.LC6:
	.string	"%s %s%s%s HTTP/1.0\r\n"
.LC7:
	.string	"%s %s HTTP/1.0\r\n"
.LC8:
	.string	"POST"
.LC9:
	.string	"Content-Length: %d\r\n"
.LC10:
	.string	"Request:\n%s\n"
.LC11:
	.string	"ERROR opening socket"
.LC12:
	.string	"ERROR, no such host"
.LC13:
	.string	"ERROR connecting"
	.align 8
.LC14:
	.string	"ERROR writing message to socket"
	.align 8
.LC15:
	.string	"ERROR reading response from socket"
	.align 8
.LC16:
	.string	"ERROR storing complete response from socket"
.LC17:
	.string	"Response:\n%s\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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	DWORD PTR -4212[rbp], edi
	mov	QWORD PTR -4224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	jle	.L3
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L4
.L3:
	mov	eax, 80
.L4:
	mov	DWORD PTR -4184[rbp], eax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L5
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 8[rax]
	jmp	.L6
.L5:
	lea	rax, .LC0[rip]
.L6:
	mov	QWORD PTR -4168[rbp], rax
	cmp	DWORD PTR -4212[rbp], 4
	jg	.L7
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	DWORD PTR -4188[rbp], 0
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, 20
	mov	DWORD PTR -4188[rbp], eax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	mov	DWORD PTR -4188[rbp], eax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	mov	DWORD PTR -4188[rbp], eax
	cmp	DWORD PTR -4212[rbp], 5
	jle	.L9
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	mov	DWORD PTR -4188[rbp], eax
.L9:
	mov	DWORD PTR -4200[rbp], 6
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4200[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR -4188[rbp], eax
	add	DWORD PTR -4200[rbp], 1
.L10:
	mov	eax, DWORD PTR -4200[rbp]
	cmp	eax, DWORD PTR -4212[rbp]
	jl	.L11
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, 2
	mov	DWORD PTR -4188[rbp], eax
	jmp	.L12
.L8:
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, 16
	mov	DWORD PTR -4188[rbp], eax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	mov	DWORD PTR -4188[rbp], eax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	mov	DWORD PTR -4188[rbp], eax
	mov	DWORD PTR -4200[rbp], 6
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -4200[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR -4188[rbp], eax
	add	DWORD PTR -4200[rbp], 1
.L13:
	mov	eax, DWORD PTR -4200[rbp]
	cmp	eax, DWORD PTR -4212[rbp]
	jl	.L14
	cmp	DWORD PTR -4212[rbp], 5
	jle	.L15
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, 30
	mov	DWORD PTR -4188[rbp], eax
.L15:
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, 2
	mov	DWORD PTR -4188[rbp], eax
	cmp	DWORD PTR -4212[rbp], 5
	jle	.L12
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4188[rbp]
	add	eax, edx
	mov	DWORD PTR -4188[rbp], eax
.L12:
	mov	eax, DWORD PTR -4188[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -4160[rbp], rax
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	cmp	DWORD PTR -4212[rbp], 5
	jle	.L17
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L18
	mov	rax, QWORD PTR -4224[rbp]
	mov	rcx, QWORD PTR 40[rax]
	jmp	.L19
.L18:
	lea	rcx, .LC3[rip]
.L19:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L20
	lea	rsi, .LC4[rip]
	jmp	.L21
.L20:
	lea	rsi, .LC3[rip]
.L21:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L22
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR 32[rax]
	jmp	.L23
.L22:
	lea	rdx, .LC5[rip]
.L23:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L24
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 24[rax]
	jmp	.L25
.L24:
	lea	rax, .LC2[rip]
.L25:
	mov	rdi, QWORD PTR -4160[rbp]
	mov	r9, rcx
	mov	r8, rsi
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC6[rip]
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L26
.L17:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L27
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR 32[rax]
	jmp	.L28
.L27:
	lea	rdx, .LC5[rip]
.L28:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L29
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 24[rax]
	jmp	.L30
.L29:
	lea	rax, .LC2[rip]
.L30:
	mov	rdi, QWORD PTR -4160[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC7[rip]
	mov	eax, 0
	call	sprintf@PLT
.L26:
	mov	DWORD PTR -4200[rbp], 6
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -4200[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4160[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	add	DWORD PTR -4200[rbp], 1
.L31:
	mov	eax, DWORD PTR -4200[rbp]
	cmp	eax, DWORD PTR -4212[rbp]
	jl	.L32
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4160[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	jmp	.L33
.L16:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L34
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR 32[rax]
	jmp	.L35
.L34:
	lea	rdx, .LC5[rip]
.L35:
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L36
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 24[rax]
	jmp	.L37
.L36:
	lea	rax, .LC8[rip]
.L37:
	mov	rdi, QWORD PTR -4160[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC7[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -4200[rbp], 6
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -4200[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4160[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	add	DWORD PTR -4200[rbp], 1
.L38:
	mov	eax, DWORD PTR -4200[rbp]
	cmp	eax, DWORD PTR -4212[rbp]
	jl	.L39
	cmp	DWORD PTR -4212[rbp], 5
	jle	.L40
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -4160[rbp]
	add	rax, rdx
	mov	rdx, rbx
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L40:
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4160[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	cmp	DWORD PTR -4212[rbp], 5
	jle	.L33
	mov	rax, QWORD PTR -4224[rbp]
	add	rax, 40
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L33:
	mov	rax, QWORD PTR -4160[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -4180[rbp], eax
	cmp	DWORD PTR -4180[rbp], 0
	jns	.L41
	lea	rdi, .LC11[rip]
	call	error
.L41:
	mov	rax, QWORD PTR -4168[rbp]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -4152[rbp], rax
	cmp	QWORD PTR -4152[rbp], 0
	jne	.L42
	lea	rdi, .LC12[rip]
	call	error
.L42:
	lea	rax, -4144[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -4144[rbp], 2
	mov	eax, DWORD PTR -4184[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -4142[rbp], ax
	mov	rax, QWORD PTR -4152[rbp]
	mov	eax, DWORD PTR 20[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4152[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -4144[rbp]
	add	rcx, 4
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	lea	rcx, -4144[rbp]
	mov	eax, DWORD PTR -4180[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L43
	lea	rdi, .LC13[rip]
	call	error
.L43:
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4176[rbp], eax
	mov	DWORD PTR -4196[rbp], 0
.L47:
	mov	eax, DWORD PTR -4176[rbp]
	sub	eax, DWORD PTR -4196[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4196[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -4160[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4180[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -4172[rbp], eax
	cmp	DWORD PTR -4172[rbp], 0
	jns	.L44
	lea	rdi, .LC14[rip]
	call	error
.L44:
	cmp	DWORD PTR -4172[rbp], 0
	je	.L55
	mov	eax, DWORD PTR -4172[rbp]
	add	DWORD PTR -4196[rbp], eax
	mov	eax, DWORD PTR -4196[rbp]
	cmp	eax, DWORD PTR -4176[rbp]
	jl	.L47
	jmp	.L46
.L55:
	nop
.L46:
	lea	rax, -4128[rbp]
	mov	edx, 4096
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -4176[rbp], 4095
	mov	DWORD PTR -4192[rbp], 0
.L51:
	mov	eax, DWORD PTR -4176[rbp]
	sub	eax, DWORD PTR -4192[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4192[rbp]
	cdqe
	lea	rcx, -4128[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -4180[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4172[rbp], eax
	cmp	DWORD PTR -4172[rbp], 0
	jns	.L48
	lea	rdi, .LC15[rip]
	call	error
.L48:
	cmp	DWORD PTR -4172[rbp], 0
	je	.L56
	mov	eax, DWORD PTR -4172[rbp]
	add	DWORD PTR -4192[rbp], eax
	mov	eax, DWORD PTR -4192[rbp]
	cmp	eax, DWORD PTR -4176[rbp]
	jl	.L51
	jmp	.L50
.L56:
	nop
.L50:
	mov	eax, DWORD PTR -4192[rbp]
	cmp	eax, DWORD PTR -4176[rbp]
	jne	.L52
	lea	rdi, .LC16[rip]
	call	error
.L52:
	mov	eax, DWORD PTR -4180[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -4128[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	mov	rbx, QWORD PTR -8[rbp]
	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	"181394241.c"
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ 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	r0, [fp, #-8]
	bl	perror
	mov	r0, #0
	bl	exit
	.size	error, .-error
	.section	.rodata
	.align	2
.LC0:
	.ascii	"localhost\000"
	.align	2
.LC1:
	.ascii	"Parameters: <host> <port> <method> <path> [<data> ["
	.ascii	"<headers>]]\000"
	.align	2
.LC2:
	.ascii	"GET\000"
	.align	2
.LC3:
	.ascii	"/\000"
	.align	2
.LC4:
	.ascii	"?\000"
	.align	2
.LC5:
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"%s %s%s%s HTTP/1.0\015\012\000"
	.align	2
.LC7:
	.ascii	"%s %s HTTP/1.0\015\012\000"
	.align	2
.LC8:
	.ascii	"\015\012\000"
	.align	2
.LC9:
	.ascii	"POST\000"
	.align	2
.LC10:
	.ascii	"Content-Length: %d\015\012\000"
	.align	2
.LC11:
	.ascii	"Request:\012%s\012\000"
	.align	2
.LC12:
	.ascii	"ERROR opening socket\000"
	.align	2
.LC13:
	.ascii	"ERROR, no such host\000"
	.align	2
.LC14:
	.ascii	"ERROR connecting\000"
	.align	2
.LC15:
	.ascii	"ERROR writing message to socket\000"
	.align	2
.LC16:
	.ascii	"ERROR reading response from socket\000"
	.align	2
.LC17:
	.ascii	"ERROR storing complete response from socket\000"
	.align	2
.LC18:
	.ascii	"Response:\012%s\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-72]
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	ble	.L3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	b	.L4
.L3:
	mov	r3, #80
.L4:
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r3, [r3, #4]
	b	.L6
.L5:
	ldr	r3, .L57+4
.L6:
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #4
	bgt	.L7
	ldr	r0, .L57+8
	bl	puts
	mov	r0, #0
	bl	exit
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L57+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #5
	ble	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #-64]
	b	.L10
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-72]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	add	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-68]
	cmp	r2, r3
	blt	.L11
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	b	.L12
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #16
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #-64]
	b	.L13
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-72]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	add	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-68]
	cmp	r2, r3
	blt	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #5
	ble	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #30
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #5
	ble	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-52]
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L57+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #5
	ble	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r2, [r3, #12]
	b	.L19
.L18:
	ldr	r2, .L57+12
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r1, [r3, #16]
	b	.L21
.L20:
	ldr	r1, .L57+16
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L57+20
	b	.L23
.L22:
	ldr	r0, .L57+24
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r3, [r3, #20]
	b	.L25
.L24:
	ldr	r3, .L57+24
.L25:
	sub	ip, fp, #4096
	sub	ip, ip, #12
	str	r3, [sp, #4]
	str	r0, [sp]
	mov	r3, r1
	ldr	r1, .L57+28
	ldr	r0, [ip, #-40]
	bl	sprintf
	b	.L26
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r2, [r3, #12]
	b	.L28
.L27:
	ldr	r2, .L57+12
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r3, [r3, #16]
	b	.L30
.L29:
	ldr	r3, .L57+16
.L30:
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L57+32
	ldr	r0, [r0, #-40]
	bl	sprintf
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #-64]
	b	.L31
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-72]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	strcat
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, r2
	ldr	r2, .L57+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-68]
	cmp	r2, r3
	blt	.L32
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, r2
	ldr	r2, .L57+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	b	.L33
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r2, [r3, #12]
	b	.L35
.L34:
	ldr	r2, .L57+40
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldr	r3, [r3, #16]
	b	.L37
.L36:
	ldr	r3, .L57+16
.L37:
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L57+32
	ldr	r0, [r0, #-40]
	bl	sprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #-64]
	b	.L38
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-72]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	strcat
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, r2
	ldr	r2, .L57+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-68]
	cmp	r2, r3
	blt	.L39
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #5
	ble	.L40
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r4, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L57+44
	mov	r0, r4
	bl	sprintf
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, r2
	ldr	r2, .L57+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #5
	ble	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #20
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	strcat
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-40]
	ldr	r0, .L57+48
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	bge	.L41
	ldr	r0, .L57+52
	bl	error
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-44]
	bl	gethostbyname
	str	r0, [r4, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L57+56
	bl	error
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3, #-20]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	strh	r2, [r3, #-18]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3, #16]
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r3, [r3, #12]
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	add	r3, r3, #4
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-36]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L43
	ldr	r0, .L57+60
	bl	error
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-60]
.L47:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-40]
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-28]
	ldr	r3, [r3, #-60]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	write
	str	r0, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bge	.L44
	ldr	r0, .L57+64
	bl	error
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	beq	.L55
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-60]
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	str	r3, [r1, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-60]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	blt	.L47
	b	.L46
.L55:
	nop
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L57+68
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-56]
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r1, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-28]
	ldr	r3, [r3, #-56]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	read
	str	r0, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bge	.L48
	ldr	r0, .L57+72
	bl	error
.L48:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	beq	.L56
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-56]
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	str	r3, [r1, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-56]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	blt	.L51
	b	.L50
.L56:
	nop
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-56]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	bne	.L52
	ldr	r0, .L57+76
	bl	error
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L57+80
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	free
	mov	r3, #0
	ldr	r2, .L57
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC19
	.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	4095
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
