	.file	"66848.c"
	.intel_syntax noprefix
	.text
	.globl	logexit
	.type	logexit, @function
logexit:
.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, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	logexit, .-logexit
	.section	.rodata
.LC0:
	.string	"150.164.0.135"
.LC1:
	.string	"pton"
.LC2:
	.string	"socket"
.LC3:
	.string	"connect"
.LC4:
	.string	"send"
.LC5:
	.string	"received %d bytes\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, 1136
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1136[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jg	.L3
	lea	rdi, .LC1[rip]
	call	logexit
.L3:
	mov	WORD PTR -1120[rbp], 2
	mov	edi, 80
	call	htons@PLT
	mov	WORD PTR -1118[rbp], ax
	mov	eax, DWORD PTR -1136[rbp]
	mov	DWORD PTR -1116[rbp], eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1132[rbp], eax
	cmp	DWORD PTR -1132[rbp], -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	logexit
.L4:
	lea	rcx, -1120[rbp]
	mov	eax, DWORD PTR -1132[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L5
	lea	rdi, .LC3[rip]
	call	logexit
.L5:
	movabs	rax, 7161677986017854791
	movabs	rdx, 7507070005745183023
	mov	QWORD PTR -1104[rbp], rax
	mov	QWORD PTR -1096[rbp], rdx
	movabs	rax, 5788344089836285300
	movabs	rdx, 8317946245388579119
	mov	QWORD PTR -1088[rbp], rax
	mov	QWORD PTR -1080[rbp], rdx
	movabs	rax, 7218838607704898164
	movabs	rdx, 3343761535165948771
	mov	QWORD PTR -1072[rbp], rax
	mov	QWORD PTR -1064[rbp], rdx
	mov	DWORD PTR -1056[rbp], 168456802
	mov	BYTE PTR -1052[rbp], 0
	lea	rax, -1104[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1104[rbp]
	mov	eax, DWORD PTR -1132[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	QWORD PTR -1128[rbp], rax
	lea	rax, -1104[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -1128[rbp]
	cmp	rax, rdx
	je	.L6
	lea	rdi, .LC4[rip]
	call	logexit
.L6:
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1132[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	recv@PLT
	mov	QWORD PTR -1128[rbp], rax
	mov	rax, QWORD PTR -1128[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.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	"66848.c"
	.text
	.align	2
	.global	logexit
	.syntax unified
	.arm
	.fpu softvfp
	.type	logexit, %function
logexit:
	@ 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, #1
	bl	exit
	.size	logexit, .-logexit
	.section	.rodata
	.align	2
.LC0:
	.ascii	"150.164.0.135\000"
	.align	2
.LC1:
	.ascii	"pton\000"
	.align	2
.LC2:
	.ascii	"socket\000"
	.align	2
.LC3:
	.ascii	"connect\000"
	.align	2
.LC5:
	.ascii	"send\000"
	.align	2
.LC6:
	.ascii	"received %d bytes\012\000"
	.align	2
.LC4:
	.ascii	"GET /dcc/index.html HTTP/1.1\012Host: www.dcc.ufmg."
	.ascii	"br\012\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1104
	sub	sp, sp, #8
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L8+4
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L3
	ldr	r0, .L8+8
	bl	logexit
.L3:
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #80
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #12
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-1116]
	str	r3, [fp, #-1100]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1112]
	ldr	r3, [fp, #-1112]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L8+12
	bl	logexit
.L4:
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1112]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L8+16
	bl	logexit
.L5:
	ldr	r3, .L8+20
	sub	ip, fp, #1072
	sub	ip, ip, #4
	sub	ip, ip, #12
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strb	r1, [ip]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1072
	sub	r1, r1, #4
	sub	r1, r1, #12
	mov	r3, #0
	ldr	r0, [fp, #-1112]
	bl	send
	str	r0, [fp, #-1108]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1108]
	cmp	r2, r3
	beq	.L6
	ldr	r0, .L8+24
	bl	logexit
.L6:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	ldr	r0, [fp, #-1112]
	bl	recv
	str	r0, [fp, #-1108]
	ldr	r1, [fp, #-1108]
	ldr	r0, .L8+28
	bl	printf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
	mov	r0, #0
	bl	exit
.L9:
	.align	2
.L8:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
