	.file	"154737.c"
	.intel_syntax noprefix
	.text
	.globl	clearBuf
	.type	clearBuf, @function
clearBuf:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 31
	jle	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	clearBuf, .-clearBuf
	.section	.rodata
.LC0:
	.string	"127.0.0.1"
	.align 8
.LC1:
	.string	"\nClient is using Hostname as %s and PORT NO. as %d\n\n"
	.align 8
.LC2:
	.string	"\nPlease enter the name of the file to be sent:"
.LC3:
	.string	"%s"
	.align 8
.LC4:
	.string	"\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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 16
	mov	WORD PTR -64[rbp], 2
	mov	edi, 8098
	call	htons@PLT
	mov	WORD PTR -62[rbp], ax
	lea	rdi, .LC0[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	edx, 8098
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L6:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -72[rbp]
	lea	rdx, -64[rbp]
	lea	rsi, -48[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 32
	mov	edi, eax
	call	sendto@PLT
	add	DWORD PTR -76[rbp], 1
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L5:
	cmp	DWORD PTR -76[rbp], 0
	je	.L6
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"154737.c"
	.text
	.align	2
	.global	clearBuf
	.syntax unified
	.arm
	.fpu softvfp
	.type	clearBuf, %function
clearBuf:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	ble	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	clearBuf, .-clearBuf
	.section	.rodata
	.align	2
.LC0:
	.ascii	"127.0.0.1\000"
	.align	2
.LC1:
	.ascii	"\012Client is using Hostname as %s and PORT NO. as "
	.ascii	"%d\012\012\000"
	.align	2
.LC2:
	.ascii	"\012Please enter the name of the file to be sent:\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"\012-------------------------------\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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #16
	str	r3, [fp, #-64]
	mov	r3, #2
	strh	r3, [fp, #-56]	@ movhi
	ldr	r0, .L9+4
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-54]	@ movhi
	ldr	r0, .L9+8
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-52]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-60]
	ldr	r2, .L9+4
	ldr	r1, .L9+8
	ldr	r0, .L9+12
	bl	printf
	b	.L5
.L6:
	ldr	r0, .L9+16
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L9+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-64]
	sub	r1, fp, #40
	str	r3, [sp, #4]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #32
	ldr	r0, [fp, #-60]
	bl	sendto
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r0, .L9+24
	bl	puts
.L5:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L6
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	8098
	.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
