	.file	"184518728.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"input.txt"
	.align 8
.LC1:
	.string	"[P2] oxy: %d, co2: %d, oxy*co2: %d\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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	loadFromFile
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L2
.L4:
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getMostCommonBit
	mov	BYTE PTR -61[rbp], al
	movsx	ecx, BYTE PTR -61[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	filterByBit
	mov	QWORD PTR -48[rbp], rax
	add	DWORD PTR -60[rbp], 1
.L2:
	cmp	DWORD PTR -60[rbp], 11
	jg	.L3
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 1
	jne	.L4
.L3:
	mov	rdx, QWORD PTR -48[rbp]
	lea	rax, -34[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	loadFromFile
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L5
.L9:
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getMostCommonBit
	cmp	al, 49
	jne	.L6
	mov	BYTE PTR -61[rbp], 48
	jmp	.L7
.L6:
	mov	BYTE PTR -61[rbp], 49
.L7:
	movsx	ecx, BYTE PTR -61[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	filterByBit
	mov	QWORD PTR -48[rbp], rax
	add	DWORD PTR -60[rbp], 1
.L5:
	cmp	DWORD PTR -60[rbp], 11
	jg	.L8
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	length
	cmp	eax, 1
	jne	.L9
.L8:
	mov	rdx, QWORD PTR -48[rbp]
	lea	rax, -21[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -34[rbp]
	mov	rdi, rax
	call	binStrToInt
	mov	DWORD PTR -56[rbp], eax
	lea	rax, -21[rbp]
	mov	rdi, rax
	call	binStrToInt
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"Errore allocazione."
	.text
	.globl	push
	.type	push, @function
push:
.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	QWORD PTR -32[rbp], rsi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L14
.L13:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L14:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.globl	append
	.type	append, @function
append:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	push
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	append
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	append, .-append
	.section	.rodata
.LC3:
	.string	"r"
.LC4:
	.string	"%s"
	.align 8
.LC5:
	.string	"[loadFromFile] File access error."
	.text
	.globl	loadFromFile
	.type	loadFromFile, @function
loadFromFile:
.LFB9:
	.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	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L20
	lea	rdx, -21[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	jmp	.L21
.L22:
	lea	rdx, -21[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	append
	mov	QWORD PTR -40[rbp], rax
	lea	rdx, -21[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L23
.L20:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L23:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	loadFromFile, .-loadFromFile
	.globl	shift
	.type	shift, @function
shift:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L27:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	shift, .-shift
	.globl	length
	.type	length, @function
length:
.LFB11:
	.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	.L30
.L31:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
.L30:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L31
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	length, .-length
	.globl	getMostCommonBit
	.type	getMostCommonBit, @function
getMostCommonBit:
.LFB12:
	.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 -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L34
.L37:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 48
	jne	.L35
	sub	DWORD PTR -4[rbp], 1
	jmp	.L36
.L35:
	add	DWORD PTR -4[rbp], 1
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
.L34:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L37
	cmp	DWORD PTR -4[rbp], 0
	js	.L38
	mov	eax, 49
	jmp	.L39
.L38:
	mov	eax, 48
.L39:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getMostCommonBit, .-getMostCommonBit
	.globl	filterByBit
	.type	filterByBit, @function
filterByBit:
.LFB13:
	.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	DWORD PTR -32[rbp], edx
	mov	BYTE PTR -28[rbp], al
	cmp	QWORD PTR -24[rbp], 0
	je	.L41
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -28[rbp], al
	jne	.L42
	movsx	ecx, BYTE PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	filterByBit
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rdx], rax
	jmp	.L41
.L42:
	movsx	ebx, BYTE PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	shift
	mov	rcx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	mov	esi, ebx
	mov	rdi, rcx
	call	filterByBit
	mov	QWORD PTR -24[rbp], rax
.L41:
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	filterByBit, .-filterByBit
	.globl	binStrToInt
	.type	binStrToInt, @function
binStrToInt:
.LFB14:
	.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 -12[rbp], 11
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L45
.L47:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L46
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -4[rbp], eax
.L46:
	sub	DWORD PTR -12[rbp], 1
	sal	DWORD PTR -8[rbp]
.L45:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L47
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	binStrToInt, .-binStrToInt
	.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	"184518728.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"input.txt\000"
	.align	2
.LC1:
	.ascii	"[P2] oxy: %d, co2: %d, oxy*co2: %d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r1, .L12+4
	ldr	r0, [fp, #-56]
	bl	loadFromFile
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L2
.L4:
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	getMostCommonBit
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	filterByBit
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L2:
	ldr	r3, [fp, #-52]
	cmp	r3, #11
	bgt	.L3
	ldr	r0, [fp, #-56]
	bl	length
	mov	r3, r0
	cmp	r3, #1
	bne	.L4
.L3:
	ldr	r2, [fp, #-56]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L12+4
	ldr	r0, [fp, #-56]
	bl	loadFromFile
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L5
.L9:
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	getMostCommonBit
	mov	r3, r0
	cmp	r3, #49
	bne	.L6
	mov	r3, #48
	strb	r3, [fp, #-57]
	b	.L7
.L6:
	mov	r3, #49
	strb	r3, [fp, #-57]
.L7:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	filterByBit
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L5:
	ldr	r3, [fp, #-52]
	cmp	r3, #11
	bgt	.L8
	ldr	r0, [fp, #-56]
	bl	length
	mov	r3, r0
	cmp	r3, #1
	bne	.L9
.L8:
	ldr	r2, [fp, #-56]
	sub	r3, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #40
	mov	r0, r3
	bl	binStrToInt
	str	r0, [fp, #-48]
	sub	r3, fp, #24
	mov	r0, r3
	bl	binStrToInt
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-48]
	ldr	r0, .L12+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Errore allocazione.\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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]
	str	r1, [fp, #-20]
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L16
.L15:
	ldr	r0, .L18
	bl	puts
.L16:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.size	push, .-push
	.align	2
	.global	append
	.syntax unified
	.arm
	.fpu softvfp
	.type	append, %function
append:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L21
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	push
	mov	r3, r0
	b	.L22
.L21:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	append
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	append, .-append
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"[loadFromFile] File access error.\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	loadFromFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadFromFile, %function
loadFromFile:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L30+4
	ldr	r0, [fp, #-36]
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, .L30+8
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
	b	.L25
.L26:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	append
	str	r0, [fp, #-32]
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, .L30+8
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
.L25:
	ldr	r0, [fp, #-28]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r0, [fp, #-28]
	bl	fclose
	b	.L27
.L24:
	ldr	r0, .L30+12
	bl	puts
.L27:
	ldr	r3, [fp, #-32]
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	loadFromFile, .-loadFromFile
	.align	2
	.global	shift
	.syntax unified
	.arm
	.fpu softvfp
	.type	shift, %function
shift:
	@ 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	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	free
.L33:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	shift, .-shift
	.align	2
	.global	length
	.syntax unified
	.arm
	.fpu softvfp
	.type	length, %function
length:
	@ 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	.L36
.L37:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	length, .-length
	.align	2
	.global	getMostCommonBit
	.syntax unified
	.arm
	.fpu softvfp
	.type	getMostCommonBit, %function
getMostCommonBit:
	@ 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, #-8]
	b	.L40
.L43:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L41
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L42
.L41:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
.L40:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L44
	mov	r3, #49
	b	.L45
.L44:
	mov	r3, #48
.L45:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	getMostCommonBit, .-getMostCommonBit
	.align	2
	.global	filterByBit
	.syntax unified
	.arm
	.fpu softvfp
	.type	filterByBit, %function
filterByBit:
	@ 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, #-8]
	mov	r3, r1
	str	r2, [fp, #-16]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L47
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldrb	r1, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	filterByBit
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	b	.L47
.L48:
	ldr	r0, [fp, #-8]
	bl	shift
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	mov	r1, r3
	bl	filterByBit
	str	r0, [fp, #-8]
.L47:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	filterByBit, .-filterByBit
	.align	2
	.global	binStrToInt
	.syntax unified
	.arm
	.fpu softvfp
	.type	binStrToInt, %function
binStrToInt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #11
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L51
.L53:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L52
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L52:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
.L51:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L53
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	binStrToInt, .-binStrToInt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
