	.file	"932047.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input/day-6.input"
.LC2:
	.string	"PART 1: %ld\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, 2144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -2120[rbp], rax
	lea	rdx, -2112[rbp]
	mov	eax, 0
	mov	ecx, 262
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -2112[rbp], 1
	mov	QWORD PTR -2104[rbp], 1
	mov	QWORD PTR -2096[rbp], 1
	mov	QWORD PTR -2088[rbp], 1
	mov	QWORD PTR -2080[rbp], 1
	mov	QWORD PTR -2072[rbp], 1
	mov	QWORD PTR -2064[rbp], 1
	mov	QWORD PTR -2056[rbp], 2
	mov	QWORD PTR -2048[rbp], 2
	mov	QWORD PTR -2136[rbp], 9
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, 7
	mov	rdx, QWORD PTR -2112[rbp+rax*8]
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, 9
	mov	rax, QWORD PTR -2112[rbp+rax*8]
	add	rdx, rax
	mov	rax, QWORD PTR -2136[rbp]
	mov	QWORD PTR -2112[rbp+rax*8], rdx
	add	QWORD PTR -2136[rbp], 1
.L2:
	cmp	QWORD PTR -2136[rbp], 261
	jbe	.L3
	mov	QWORD PTR -2128[rbp], 0
.L6:
	mov	rax, QWORD PTR -2120[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	eax, 310
	sub	eax, edx
	cdqe
	mov	rax, QWORD PTR -2112[rbp+rax*8]
	add	QWORD PTR -2128[rbp], rax
	mov	rax, QWORD PTR -2120[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 44
	jne	.L10
	jmp	.L6
.L10:
	nop
	mov	rax, QWORD PTR -2128[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -2120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	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
.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	"932047.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input/day-6.input\000"
	.align	2
.LC2:
	.ascii	"PART 1: %ld\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	sub	sp, sp, #8
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	fopen
	str	r0, [fp, #-1060]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L11+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-1056]
	mov	r3, #1
	str	r3, [fp, #-1052]
	mov	r3, #1
	str	r3, [fp, #-1048]
	mov	r3, #1
	str	r3, [fp, #-1044]
	mov	r3, #1
	str	r3, [fp, #-1040]
	mov	r3, #1
	str	r3, [fp, #-1036]
	mov	r3, #1
	str	r3, [fp, #-1032]
	mov	r3, #2
	str	r3, [fp, #-1028]
	mov	r3, #2
	str	r3, [fp, #-1024]
	mov	r3, #9
	str	r3, [fp, #-1068]
	b	.L2
.L3:
	ldr	r3, [fp, #-1068]
	sub	r3, r3, #7
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1052]
	ldr	r3, [fp, #-1068]
	sub	r3, r3, #9
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1052]
	add	r2, r2, r3
	ldr	r3, [fp, #-1068]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1052]
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
.L2:
	ldr	r3, [fp, #-1068]
	ldr	r2, .L11+16
	cmp	r3, r2
	bls	.L3
	mov	r3, #0
	str	r3, [fp, #-1064]
.L6:
	ldr	r0, [fp, #-1060]
	bl	fgetc
	mov	r3, r0
	rsb	r3, r3, #308
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1052]
	ldr	r2, [fp, #-1064]
	add	r3, r2, r3
	str	r3, [fp, #-1064]
	ldr	r0, [fp, #-1060]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #44
	bne	.L10
	b	.L6
.L10:
	nop
	ldr	r1, [fp, #-1064]
	ldr	r0, .L11+20
	bl	printf
	ldr	r0, [fp, #-1060]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L11
	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}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	1048
	.word	261
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
