	.file	"107662.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"host :\t%s\n"
.LC1:
	.string	"path :\t%s\n"
.LC2:
	.string	"request :\n%s\n"
.LC3:
	.string	"response :\n%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2352
	mov	DWORD PTR -2340[rbp], edi
	mov	QWORD PTR -2352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 3400000511170344040
	movabs	rdx, 7526774399965820791
	mov	QWORD PTR -2320[rbp], rax
	mov	QWORD PTR -2312[rbp], rdx
	movabs	rax, 13343065094647407
	mov	QWORD PTR -2304[rbp], rax
	lea	rdx, -2320[rbp]
	lea	rcx, -2176[rbp]
	lea	rax, -2288[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	for_lookp@PLT
	lea	rax, -2288[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2176[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2064[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -2176[rbp]
	lea	rcx, -2288[rbp]
	lea	rax, -2064[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	create_get@PLT
	lea	rax, -2064[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2288[rbp]
	mov	rdi, rax
	call	connect_to_site@PLT
	mov	DWORD PTR -2324[rbp], eax
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2324[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	send_request
	lea	rdx, -1040[rbp]
	mov	eax, DWORD PTR -2324[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	receive_request
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
.LC4:
	.string	"sending..."
	.align 8
.LC5:
	.string	"ERROR writing message to socket"
	.text
	.type	send_request, @function
send_request:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -12[rbp], 0
.L7:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L4
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	cmp	DWORD PTR -4[rbp], 0
	je	.L8
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L7
	jmp	.L9
.L8:
	nop
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	send_request, .-send_request
	.section	.rodata
.LC6:
	.string	"receiving..."
	.align 8
.LC7:
	.string	"ERROR storing complete response from socket"
	.text
	.type	receive_request, @function
receive_request:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1072
	mov	DWORD PTR -1060[rbp], edi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1048[rbp], 1023
	mov	DWORD PTR -1052[rbp], 0
.L14:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -1048[rbp]
	sub	eax, DWORD PTR -1052[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1052[rbp]
	cdqe
	lea	rcx, -1040[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -1060[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1044[rbp], eax
	cmp	DWORD PTR -1044[rbp], 0
	jns	.L11
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	cmp	DWORD PTR -1044[rbp], 0
	je	.L17
	mov	eax, DWORD PTR -1044[rbp]
	add	DWORD PTR -1052[rbp], eax
	mov	eax, DWORD PTR -1052[rbp]
	cmp	eax, DWORD PTR -1048[rbp]
	jl	.L14
	jmp	.L13
.L17:
	nop
.L13:
	mov	eax, DWORD PTR -1052[rbp]
	cmp	eax, DWORD PTR -1048[rbp]
	jne	.L18
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L18:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	receive_request, .-receive_request
	.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	"107662.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"host :\011%s\012\000"
	.align	2
.LC2:
	.ascii	"path :\011%s\012\000"
	.align	2
.LC3:
	.ascii	"request :\012%s\012\000"
	.align	2
.LC4:
	.ascii	"response :\012%s\012\000"
	.align	2
.LC0:
	.ascii	"https://www.python.org/\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2288
	str	r0, [fp, #-2288]
	str	r1, [fp, #-2292]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L3+4
	sub	ip, fp, #2272
	sub	ip, ip, #4
	sub	ip, ip, #4
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r2, fp, #2272
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r1, fp, #2144
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r3, fp, #2240
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	for_lookp
	sub	r3, fp, #2240
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L3+8
	bl	printf
	sub	r3, fp, #2144
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L3+12
	bl	printf
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #2144
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r1, fp, #2240
	sub	r1, r1, #4
	sub	r1, r1, #12
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	create_get
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L3+16
	bl	printf
	sub	r3, fp, #2240
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	connect_to_site
	str	r0, [fp, #-2284]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-2284]
	bl	send_request
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2284]
	bl	receive_request
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L3+20
	bl	printf
	mov	r0, #0
	bl	exit
.L4:
	.align	2
.L3:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"sending...\000"
	.align	2
.LC7:
	.ascii	"ERROR writing message to socket\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_request, %function
send_request:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
.L9:
	ldr	r0, .L12
	bl	puts
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r0, [fp, #-24]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L12+4
	bl	puts
	mvn	r0, #0
	bl	exit
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L10
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L9
	b	.L11
.L10:
	nop
.L11:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC7
	.size	send_request, .-send_request
	.section	.rodata
	.align	2
.LC8:
	.ascii	"receiving...\000"
	.align	2
.LC9:
	.ascii	"ERROR storing complete response from socket\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	receive_request, %function
receive_request:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L23+4
	str	r3, [fp, #-1040]
	mov	r3, #0
	str	r3, [fp, #-1044]
.L18:
	ldr	r0, .L23+8
	bl	puts
	ldr	r2, [fp, #-1044]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r1, r3, r2
	ldr	r2, [fp, #-1040]
	ldr	r3, [fp, #-1044]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r0, [fp, #-1048]
	bl	read
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bge	.L15
	ldr	r0, .L23+12
	bl	puts
	mvn	r0, #0
	bl	exit
.L15:
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	beq	.L21
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1036]
	add	r3, r2, r3
	str	r3, [fp, #-1044]
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1040]
	cmp	r2, r3
	blt	.L18
	b	.L17
.L21:
	nop
.L17:
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1040]
	cmp	r2, r3
	bne	.L22
	ldr	r0, .L23+16
	bl	puts
.L22:
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC10
	.word	1023
	.word	.LC8
	.word	.LC7
	.word	.LC9
	.size	receive_request, .-receive_request
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
