	.file	"12638011.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Client socket() failed"
.LC1:
	.string	"Client connent() failed"
.LC2:
	.string	"Client send: %s\n"
.LC3:
	.string	"Client send() failed"
.LC4:
	.string	"Client recv() failed"
.LC5:
	.string	"Client recv: %s\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, 416
	mov	DWORD PTR -404[rbp], edi
	mov	QWORD PTR -416[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -384[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -384[rbp], 1
	lea	rax, -384[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -400[rbp], eax
	cmp	DWORD PTR -400[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rcx, -384[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -396[rbp], eax
	cmp	DWORD PTR -396[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	movabs	rdx, 7960520399465291849
	movabs	rcx, 8319678406743713891
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	mov	DWORD PTR 16[rax], 1869373984
	mov	WORD PTR 20[rax], 27491
	mov	BYTE PTR 22[rax], 0
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -144[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -392[rbp], eax
	cmp	DWORD PTR -392[rbp], 0
	jns	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rax, -272[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -388[rbp], eax
	cmp	DWORD PTR -388[rbp], 0
	jns	.L5
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -388[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -400[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"12638011.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sock_server\000"
	.align	2
.LC1:
	.ascii	"Client socket() failed\000"
	.align	2
.LC2:
	.ascii	"Client connent() failed\000"
	.align	2
.LC3:
	.ascii	"I am synchronous block\000"
	.align	2
.LC4:
	.ascii	"Client send: %s\012\000"
	.align	2
.LC5:
	.ascii	"Client send() failed\000"
	.align	2
.LC6:
	.ascii	"Client recv() failed\000"
	.align	2
.LC7:
	.ascii	"Client recv: %s\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #400
	str	r0, [fp, #-400]
	str	r1, [fp, #-404]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #372
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #376
	add	r3, r3, #2
	ldr	r2, .L8+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L8+8
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-392]
	bl	connect
	str	r0, [fp, #-388]
	ldr	r3, [fp, #-388]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L8+12
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	ldr	r2, .L8+16
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strh	r1, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r1, #16
	strb	r3, [ip]
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L8+20
	bl	printf
	sub	r1, fp, #136
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [fp, #-392]
	bl	send
	str	r0, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L8+24
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #264
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [fp, #-392]
	bl	recv
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L8+28
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r2, fp, #264
	ldr	r3, [fp, #-380]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L8+32
	bl	printf
	ldr	r0, [fp, #-392]
	bl	close
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
