	.file	"778927.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"8989"
.LC1:
	.string	"127.0.0.1"
	.align 8
.LC2:
	.string	"error : cannot get socket address!\n"
	.align 8
.LC3:
	.string	"error : cannot get socket file descriptor!\n"
	.align 8
.LC4:
	.string	"error : cannot connect the server!\n"
.LC5:
	.string	"write < %s > to server\n"
	.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -112[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -108[rbp], 2
	mov	DWORD PTR -104[rbp], 1
	lea	rdx, -120[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	getaddrinfo@PLT
	mov	DWORD PTR -128[rbp], eax
	cmp	DWORD PTR -128[rbp], -1
	jne	.L2
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], -1
	jne	.L3
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -124[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -128[rbp], eax
	cmp	DWORD PTR -128[rbp], -1
	jne	.L4
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rax, -64[rbp]
	movabs	rsi, 7301215083830207816
	movabs	rdi, 7810728437234366066
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rsi, 7311156824594476908
	movabs	rdi, 2337205944440070514
	mov	QWORD PTR 16[rax], rsi
	mov	QWORD PTR 24[rax], rdi
	movabs	rsi, 5197561225066734931
	movabs	rdi, 8243086091744996453
	mov	QWORD PTR 32[rax], rsi
	mov	QWORD PTR 40[rax], rdi
	mov	DWORD PTR 48[rax], 561145206
	mov	BYTE PTR 52[rax], 0
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	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	"778927.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"8989\000"
	.align	2
.LC1:
	.ascii	"127.0.0.1\000"
	.align	2
.LC2:
	.ascii	"error : cannot get socket address!\012\000"
	.align	2
.LC3:
	.ascii	"error : cannot get socket file descriptor!\012\000"
	.align	2
.LC4:
	.ascii	"error : cannot connect the server!\012\000"
	.align	2
.LC5:
	.ascii	"Hello Server!Hello Server!Hello Server!Hello Server"
	.ascii	"!\000"
	.align	2
.LC6:
	.ascii	"write < %s > to server\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 = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #92
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-88]
	mov	r3, #1
	str	r3, [fp, #-84]
	sub	r3, fp, #104
	sub	r2, fp, #92
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	getaddrinfo
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L7+12
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-104]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-104]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L7+16
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-104]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-96]
	bl	connect
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L7+20
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #60
	ldr	r2, .L7+24
	mov	ip, r3
	mov	lr, r2
	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, #60
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, [fp, #-96]
	bl	write
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L7+28
	bl	printf
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.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
