	.file	"287128.c"
	.intel_syntax noprefix
	.text
	.globl	bitmask
	.bss
	.align 32
	.type	bitmask, @object
	.size	bitmask, 250000
bitmask:
	.zero	250000
	.section	.rodata
.LC0:
	.string	"%lli\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	edx, 250000
	mov	esi, 0
	lea	rdi, bitmask[rip]
	call	memset@PLT
	mov	DWORD PTR -12[rbp], 1414
	mov	DWORD PTR -20[rbp], 2
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 3
	cdqe
	lea	rdx, bitmask[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	edx, al
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 7
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax
	mov	DWORD PTR -16[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 3
	cdqe
	lea	rdx, bitmask[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 7
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	mov	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 3
	or	ecx, edx
	cdqe
	lea	rdx, bitmask[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -16[rbp], eax
.L4:
	cmp	DWORD PTR -16[rbp], 2000000
	jle	.L5
.L3:
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L6
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 3
	cdqe
	lea	rdx, bitmask[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	edx, al
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 7
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	QWORD PTR -8[rbp], rax
.L8:
	add	DWORD PTR -20[rbp], 1
.L7:
	cmp	DWORD PTR -20[rbp], 2000000
	jle	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"287128.c"
	.text
	.comm	bitmask,250000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lli\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L11
	mov	r1, #0
	ldr	r0, .L11+4
	bl	memset
	ldr	r3, .L11+8
	str	r3, [fp, #-32]
	mov	r3, #2
	str	r3, [fp, #-40]
	b	.L2
.L6:
	ldr	r3, [fp, #-40]
	asr	r3, r3, #3
	ldr	r2, .L11+4
	ldrsb	r3, [r2, r3]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	and	r3, r3, #7
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-40]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-28]
	str	r7, [fp, #-24]
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-36]
	b	.L4
.L5:
	ldr	r3, [fp, #-36]
	asr	r3, r3, #3
	ldr	r2, .L11+4
	ldrsb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	and	r3, r3, #7
	mov	r2, #1
	lsl	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-36]
	asr	r3, r3, #3
	orr	r2, r1, r2
	lsl	r2, r2, #24
	asr	r1, r2, #24
	ldr	r2, .L11+4
	strb	r1, [r2, r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-36]
.L4:
	ldr	r3, [fp, #-36]
	ldr	r2, .L11+12
	cmp	r3, r2
	ble	.L5
.L3:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L6
	b	.L7
.L9:
	ldr	r3, [fp, #-40]
	asr	r3, r3, #3
	ldr	r2, .L11+4
	ldrsb	r3, [r2, r3]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	and	r3, r3, #7
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-40]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
.L8:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L7:
	ldr	r3, [fp, #-40]
	ldr	r2, .L11+12
	cmp	r3, r2
	ble	.L9
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L11+16
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L12:
	.align	2
.L11:
	.word	250000
	.word	bitmask
	.word	1414
	.word	2000000
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
