	.file	"73576328.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	","
	.text
	.globl	get_x_value
	.type	get_x_value, @function
get_x_value:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_x_value, .-get_x_value
	.globl	get_y_value
	.type	get_y_value, @function
get_y_value:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rsi, .LC0[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_y_value, .-get_y_value
	.globl	update_point_list
	.type	update_point_list, @function
update_point_list:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L7
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -64[rbp], rax
	jne	.L7
	mov	QWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 16[rax]
	add	rdx, 1
	mov	QWORD PTR 16[rax], rdx
	jmp	.L8
.L7:
	add	QWORD PTR -24[rbp], 1
.L6:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -24[rbp], rax
	jb	.L9
.L8:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR [rdx]
	mov	rsi, rcx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	sub	rax, 24
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	sub	rax, 24
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	sub	rax, 24
	add	rax, rcx
	mov	QWORD PTR 16[rax], 1
.L11:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	update_point_list, .-update_point_list
	.globl	get_overlap_count
	.type	get_overlap_count, @function
get_overlap_count:
.LFB9:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L13
.L15:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	cmp	rax, 1
	jbe	.L14
	add	QWORD PTR -16[rbp], 1
.L14:
	add	QWORD PTR -8[rbp], 1
.L13:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L15
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_overlap_count, .-get_overlap_count
	.section	.rodata
.LC1:
	.string	" -> "
.LC2:
	.string	"Starting analysis 1"
.LC3:
	.string	"Starting analysis 2"
.LC4:
	.string	"Starting analysis 3"
.LC5:
	.string	"Starting analysis 4"
	.text
	.globl	analyze_point
	.type	analyze_point, @function
analyze_point:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 15
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rsi, .LC1[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 15
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	get_x_value
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	get_y_value
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	get_x_value
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	get_y_value
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jne	.L18
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jle	.L23
	jmp	.L20
.L21:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -56[rbp], rdx
	mov	rdx, QWORD PTR -64[rbp]
	lea	rsi, -88[rbp]
	lea	rdi, -80[rbp]
	mov	rcx, rax
	call	update_point_list
.L20:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jge	.L21
	jmp	.L22
.L24:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -64[rbp]
	lea	rsi, -88[rbp]
	lea	rdi, -80[rbp]
	mov	rcx, rax
	call	update_point_list
.L23:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jge	.L24
	jmp	.L22
.L18:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jne	.L22
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jle	.L28
	jmp	.L26
.L27:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -64[rbp], rdx
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, -88[rbp]
	lea	rdi, -80[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	update_point_list
.L26:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jge	.L27
	jmp	.L22
.L29:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, -88[rbp]
	lea	rdi, -80[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	update_point_list
.L28:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jge	.L29
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	analyze_point, .-analyze_point
	.section	.rodata
.LC6:
	.string	"r"
.LC7:
	.string	"input_day5.txt"
.LC8:
	.string	"Number of overlaps: %zu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, -32[rbp]
	lea	rcx, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	analyze_point
.L31:
	mov	rdx, QWORD PTR -24[rbp]
	lea	rcx, -48[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], -1
	jne	.L32
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_overlap_count
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"73576328.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	",\000"
	.text
	.align	2
	.global	get_x_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_x_value, %function
get_x_value:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L3
	ldr	r0, [fp, #-16]
	bl	strtok
	str	r0, [fp, #-8]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	strtol
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	get_x_value, .-get_x_value
	.align	2
	.global	get_y_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_y_value, %function
get_y_value:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L7
	ldr	r0, [fp, #-16]
	bl	strtok
	str	r0, [fp, #-8]
	ldr	r1, .L7
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-8]
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	strtol
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	get_y_value, .-get_y_value
	.align	2
	.global	update_point_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_point_list, %function
update_point_list:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L13:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L11
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #8]
	add	r2, r2, #1
	str	r2, [r3, #8]
	b	.L12
.L11:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L13
.L12:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r4, [r3]
	mov	r1, r2
	bl	realloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #12
	add	r3, r1, r3
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #12
	add	r3, r1, r3
	ldr	r2, [fp, #-36]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #12
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3, #8]
.L15:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	update_point_list, .-update_point_list
	.align	2
	.global	get_overlap_count
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_overlap_count, %function
get_overlap_count:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L17
.L19:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bls	.L18
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L18:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L19
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_overlap_count, .-get_overlap_count
	.section	.rodata
	.align	2
.LC1:
	.ascii	" -> \000"
	.align	2
.LC2:
	.ascii	"Starting analysis 1\000"
	.align	2
.LC3:
	.ascii	"Starting analysis 2\000"
	.align	2
.LC4:
	.ascii	"Starting analysis 3\000"
	.align	2
.LC5:
	.ascii	"Starting analysis 4\000"
	.text
	.align	2
	.global	analyze_point
	.syntax unified
	.arm
	.fpu softvfp
	.type	analyze_point, %function
analyze_point:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, .L34
	ldr	r0, [fp, #-40]
	bl	strtok
	str	r0, [fp, #-20]
	mov	r0, #15
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	strcpy
	ldr	r1, .L34
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-16]
	mov	r0, #15
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r0, [fp, #-20]
	bl	get_x_value
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-12]
	bl	get_y_value
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-16]
	bl	get_x_value
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-8]
	bl	get_y_value
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L22
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L27
	b	.L24
.L25:
	ldr	r0, .L34+4
	bl	puts
	ldr	r3, [fp, #-32]
	sub	r2, r3, #1
	str	r2, [fp, #-32]
	sub	r1, fp, #48
	sub	r0, fp, #44
	ldr	r2, [fp, #-36]
	bl	update_point_list
.L24:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L25
	b	.L26
.L28:
	ldr	r0, .L34+8
	bl	puts
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	sub	r1, fp, #48
	sub	r0, fp, #44
	ldr	r2, [fp, #-36]
	bl	update_point_list
.L27:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bge	.L28
	b	.L26
.L22:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L26
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L32
	b	.L30
.L31:
	ldr	r0, .L34+12
	bl	puts
	ldr	r2, [fp, #-36]
	sub	r3, r2, #1
	str	r3, [fp, #-36]
	sub	r1, fp, #48
	sub	r0, fp, #44
	ldr	r3, [fp, #-32]
	bl	update_point_list
.L30:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L31
	b	.L26
.L33:
	ldr	r0, .L34+16
	bl	puts
	ldr	r2, [fp, #-28]
	sub	r3, r2, #1
	str	r3, [fp, #-28]
	sub	r1, fp, #48
	sub	r0, fp, #44
	ldr	r3, [fp, #-32]
	bl	update_point_list
.L32:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bge	.L33
.L26:
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	analyze_point, .-analyze_point
	.section	.rodata
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"input_day5.txt\000"
	.align	2
.LC8:
	.ascii	"Number of overlaps: %zu\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r1, .L41+4
	ldr	r0, .L41+8
	bl	fopen
	str	r0, [fp, #-16]
	b	.L37
.L38:
	ldr	r3, [fp, #-32]
	sub	r2, fp, #20
	sub	r1, fp, #24
	mov	r0, r3
	bl	analyze_point
.L37:
	sub	r1, fp, #28
	sub	r3, fp, #32
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L38
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	get_overlap_count
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L41+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC9
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
