	.file	"232956484.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"socket error"
.LC1:
	.string	"/tmp/us_xfr"
.LC2:
	.string	"connect error"
.LC3:
	.string	"write error"
.LC4:
	.string	"read error"
	.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, 256
	mov	DWORD PTR -244[rbp], edi
	mov	QWORD PTR -256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -236[rbp], eax
	cmp	DWORD PTR -236[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L2:
	lea	rax, -224[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -224[rbp], 1
	lea	rax, -224[rbp]
	add	rax, 2
	mov	edx, 107
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rcx, -224[rbp]
	mov	eax, DWORD PTR -236[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR -232[rbp]
	lea	rcx, -112[rbp]
	mov	eax, DWORD PTR -236[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	QWORD PTR -232[rbp], rax
	je	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
.L4:
	lea	rax, -112[rbp]
	mov	edx, 100
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jg	.L5
	cmp	QWORD PTR -232[rbp], -1
	jne	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
.L6:
	mov	edi, 0
	call	exit@PLT
	.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	"232956484.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"socket error\000"
	.align	2
.LC1:
	.ascii	"/tmp/us_xfr\000"
	.align	2
.LC2:
	.ascii	"connect error\000"
	.align	2
.LC3:
	.ascii	"write error\000"
	.align	2
.LC4:
	.ascii	"read error\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 = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L8+4
	bl	perror
.L2:
	sub	r3, fp, #220
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-220]	@ movhi
	sub	r3, fp, #220
	add	r3, r3, #2
	mov	r2, #107
	ldr	r1, .L8+8
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #220
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L8+12
	bl	perror
	b	.L4
.L5:
	ldr	r2, [fp, #-224]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	write
	mov	r2, r0
	ldr	r3, [fp, #-224]
	cmp	r3, r2
	beq	.L4
	ldr	r0, .L8+16
	bl	perror
.L4:
	sub	r3, fp, #108
	mov	r2, #100
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bgt	.L5
	ldr	r3, [fp, #-224]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L8+20
	bl	perror
.L6:
	mov	r0, #0
	bl	exit
.L9:
	.align	2
.L8:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
