	.file	"75137239.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"/home/hanmeng/Documents/tinyFPS/hls/FPS/source/%d.txt"
.LC1:
	.string	"r"
.LC2:
	.string	"file open failed"
.LC3:
	.string	"%d %d %d"
	.text
	.globl	pointcloud_read
	.type	pointcloud_read, @function
pointcloud_read:
.LFB0:
	.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	QWORD PTR -136[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -140[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	edx, WORD PTR -140[rbp]
	lea	rax, -96[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -96[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L2:
	mov	WORD PTR -124[rbp], 3
	mov	WORD PTR -122[rbp], 1024
	mov	rax, QWORD PTR -136[rbp]
	movzx	edx, WORD PTR -124[rbp]
	mov	WORD PTR 3072[rax], dx
	mov	rax, QWORD PTR -136[rbp]
	movzx	edx, WORD PTR -122[rbp]
	mov	WORD PTR 3074[rax], dx
.L3:
	mov	DWORD PTR -108[rbp], 0
	jmp	.L4
.L5:
	lea	rsi, -112[rbp]
	lea	rcx, -116[rbp]
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -120[rbp]
	mov	ecx, eax
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR -116[rbp]
	mov	ecx, eax
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR -112[rbp]
	mov	ecx, eax
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	add	rax, 2
	mov	BYTE PTR [rax], cl
	add	DWORD PTR -108[rbp], 1
.L4:
	movzx	eax, WORD PTR -122[rbp]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L5
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pointcloud_read, .-pointcloud_read
	.section	.rodata
.LC4:
	.string	"w"
	.align 8
.LC5:
	.string	"/home/hanmeng/Documents/tinyFPS/hls/FPS/result/output.txt"
.LC6:
	.string	"%d\n"
.LC7:
	.string	"%d %d %d\n"
	.text
	.globl	pointcloud_write
	.type	pointcloud_write, @function
pointcloud_write:
.LFB1:
	.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	QWORD PTR -40[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -44[rbp], ax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L8:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 3072[rax]
	mov	WORD PTR -16[rbp], ax
	movzx	edx, WORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 3074[rax]
	mov	WORD PTR -14[rbp], ax
	movzx	edx, WORD PTR -14[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L9:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L11:
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -19[rbp], al
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -18[rbp], al
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	movzx	esi, BYTE PTR -17[rbp]
	movzx	ecx, BYTE PTR -18[rbp]
	movzx	edx, BYTE PTR -19[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, esi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L10:
	movzx	eax, WORD PTR -14[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	pointcloud_write, .-pointcloud_write
	.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	"75137239.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/home/hanmeng/Documents/tinyFPS/hls/FPS/source/%d.t"
	.ascii	"xt\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"file open failed\000"
	.align	2
.LC3:
	.ascii	"%d %d %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pointcloud_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	pointcloud_read, %function
pointcloud_read:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-120]
	mov	r3, r1
	strh	r3, [fp, #-122]	@ movhi
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrh	r2, [fp, #-122]
	sub	r3, fp, #88
	ldr	r1, .L7+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #88
	ldr	r1, .L7+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L7+12
	bl	puts
.L2:
	mov	r3, #3
	strh	r3, [fp, #-112]	@ movhi
	mov	r3, #1024
	strh	r3, [fp, #-110]	@ movhi
	ldr	r3, [fp, #-120]
	add	r3, r3, #3072
	ldrh	r2, [fp, #-112]	@ movhi
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-120]
	add	r3, r3, #3072
	add	r3, r3, #2
	ldrh	r2, [fp, #-110]	@ movhi
	strh	r2, [r3]	@ movhi
.L3:
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L4
.L5:
	sub	r1, fp, #104
	sub	r2, fp, #108
	sub	r3, fp, #100
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L7+16
	ldr	r0, [fp, #-92]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-108]
	and	r0, r3, #255
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-104]
	and	r0, r3, #255
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-100]
	and	r0, r3, #255
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #2
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L4:
	ldrh	r3, [fp, #-110]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	blt	.L5
	ldr	r0, [fp, #-92]
	bl	fclose
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	pointcloud_read, .-pointcloud_read
	.section	.rodata
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"/home/hanmeng/Documents/tinyFPS/hls/FPS/result/outp"
	.ascii	"ut.txt\000"
	.align	2
.LC7:
	.ascii	"%d\012\000"
	.align	2
.LC8:
	.ascii	"%d %d %d\012\000"
	.text
	.align	2
	.global	pointcloud_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	pointcloud_write, %function
pointcloud_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	mov	r3, r1
	strh	r3, [fp, #-26]	@ movhi
	ldr	r1, .L14
	ldr	r0, .L14+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L14+8
	bl	puts
.L10:
	ldr	r3, [fp, #-24]
	add	r3, r3, #3072
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-16]	@ movhi
	ldrh	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, .L14+12
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-24]
	add	r3, r3, #3072
	add	r3, r3, #2
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-14]	@ movhi
	ldrh	r3, [fp, #-14]
	mov	r2, r3
	ldr	r1, .L14+12
	ldr	r0, [fp, #-8]
	bl	fprintf
.L11:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L12
.L13:
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-19]
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	ldrb	r3, [r3]
	strb	r3, [fp, #-18]
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #2
	ldrb	r3, [r3]
	strb	r3, [fp, #-17]
	ldrb	r2, [fp, #-19]	@ zero_extendqisi2
	ldrb	r1, [fp, #-18]	@ zero_extendqisi2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L14+16
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldrh	r3, [fp, #-14]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L13
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC5
	.word	.LC6
	.word	.LC2
	.word	.LC7
	.word	.LC8
	.size	pointcloud_write, .-pointcloud_write
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
