	.file	"918929.c"
	.intel_syntax noprefix
	.text
	.globl	make_zero
	.type	make_zero, @function
make_zero:
.LFB6:
	.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	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make_zero, .-make_zero
	.globl	bit_to_long
	.type	bit_to_long, @function
bit_to_long:
.LFB7:
	.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -16[rbp], 1
	mov	QWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L6
	mov	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -8[rbp], rax
.L6:
	sal	QWORD PTR -16[rbp]
	sub	DWORD PTR -20[rbp], 1
.L5:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L7
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bit_to_long, .-bit_to_long
	.section	.rodata
.LC0:
	.string	"the_stack_data/918929.c"
.LC1:
	.string	"bit_len < binary_limit"
.LC2:
	.string	"bits_len == bit_len"
.LC3:
	.string	"%s"
.LC4:
	.string	"count_one[i] != count_zero[i]"
	.align 8
.LC5:
	.string	"Part One Power consumptin is : %ld\n"
	.text
	.globl	part_one
	.type	part_one, @function
part_one:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -128[rbp], 15
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	rdx, rax
	mov	ecx, 0
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -112[rbp], rax
	mov	DWORD PTR -132[rbp], -1
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L13:
	cmp	rsp, rdx
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
.L14:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L15
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L15:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	rsi, rax
	mov	edi, 0
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L16:
	cmp	rsp, rdx
	je	.L17
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L16
.L17:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L18
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L18:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	mov	edx, DWORD PTR -128[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	make_zero
	mov	edx, DWORD PTR -128[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	make_zero
	jmp	.L19
.L27:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -128[rbp]
	jl	.L20
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 36
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L20:
	cmp	DWORD PTR -132[rbp], -1
	jne	.L21
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -132[rbp], eax
	jmp	.L22
.L21:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	je	.L22
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 38
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L22:
	mov	DWORD PTR -136[rbp], 0
	jmp	.L23
.L26:
	mov	rdx, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 48
	jne	.L24
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], rcx
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], rcx
.L25:
	add	DWORD PTR -136[rbp], 1
.L23:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jl	.L26
.L19:
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L27
	mov	DWORD PTR -140[rbp], 0
	jmp	.L28
.L32:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	cmp	rcx, rax
	jne	.L29
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 45
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L29:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	cmp	rcx, rax
	jle	.L30
	mov	ecx, 49
	jmp	.L31
.L30:
	mov	ecx, 48
.L31:
	mov	rdx, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	add	DWORD PTR -140[rbp], 1
.L28:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L32
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	bit_to_long
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -144[rbp], 0
	jmp	.L33
.L37:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	cmp	rcx, rax
	jne	.L34
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 50
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L34:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	cmp	rcx, rax
	jge	.L35
	mov	ecx, 49
	jmp	.L36
.L35:
	mov	ecx, 48
.L36:
	mov	rdx, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	add	DWORD PTR -144[rbp], 1
.L33:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L37
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	bit_to_long
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	imul	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	part_one, .-part_one
	.globl	bit
	.bss
	.align 32
	.type	bit, @object
	.size	bit, 30750
bit:
	.zero	30750
	.globl	available
	.align 32
	.type	available, @object
	.size	available, 2050
available:
	.zero	2050
	.text
	.globl	one_available
	.type	one_available, @function
one_available:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L40
.L42:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L41
	add	DWORD PTR -8[rbp], 1
.L41:
	add	DWORD PTR -4[rbp], 1
.L40:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L42
	cmp	DWORD PTR -8[rbp], 1
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	one_available, .-one_available
	.section	.rodata
.LC6:
	.string	"false"
	.text
	.globl	get_one
	.type	get_one, @function
get_one:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L45
.L48:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L46
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, bit[rip]
	add	rax, rdx
	jmp	.L49
.L46:
	add	DWORD PTR -4[rbp], 1
.L45:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L48
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 78
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_one, .-get_one
	.section	.rodata
	.align 8
.LC7:
	.string	"Part Two life support rating is : %ld\n"
	.text
	.globl	part_two
	.type	part_two, @function
part_two:
.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, 96
	mov	DWORD PTR -88[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -88[rbp], 1
.L51:
	cmp	DWORD PTR -88[rbp], 2049
	jle	.L52
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -84[rbp], 0
.L55:
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -84[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, bit[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	je	.L99
	jmp	.L55
.L99:
	nop
	sub	DWORD PTR -84[rbp], 1
	mov	DWORD PTR -80[rbp], 0
.L74:
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	one_available
	test	al, al
	jne	.L100
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L58
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 92
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L58:
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L59
.L62:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L60
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L60
	add	DWORD PTR -72[rbp], 1
	jmp	.L61
.L60:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L61
	add	DWORD PTR -76[rbp], 1
.L61:
	add	DWORD PTR -68[rbp], 1
.L59:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L62
	mov	DWORD PTR -64[rbp], 0
	jmp	.L63
.L73:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jne	.L64
	mov	DWORD PTR -60[rbp], 0
	jmp	.L65
.L67:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L66
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L66
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 0
.L66:
	add	DWORD PTR -60[rbp], 1
.L65:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L67
	jmp	.L68
.L64:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L69
.L72:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L70
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jle	.L71
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L70
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jle	.L70
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L70
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 0
.L70:
	add	DWORD PTR -56[rbp], 1
.L69:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L72
.L68:
	add	DWORD PTR -64[rbp], 1
.L63:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L73
	add	DWORD PTR -80[rbp], 1
	jmp	.L74
.L100:
	nop
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	get_one
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, bit[rip]
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	bit_to_long
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L75
.L76:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -52[rbp], 1
.L75:
	cmp	DWORD PTR -52[rbp], 2049
	jle	.L76
	mov	DWORD PTR -80[rbp], 0
.L95:
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	one_available
	test	al, al
	jne	.L101
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L79
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 127
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L79:
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L80
.L83:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L81
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L81
	add	DWORD PTR -44[rbp], 1
	jmp	.L82
.L81:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L82
	add	DWORD PTR -48[rbp], 1
.L82:
	add	DWORD PTR -40[rbp], 1
.L80:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L83
	mov	DWORD PTR -36[rbp], 0
	jmp	.L84
.L94:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jne	.L85
	mov	DWORD PTR -32[rbp], 0
	jmp	.L86
.L88:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L87
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L87
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 0
.L87:
	add	DWORD PTR -32[rbp], 1
.L86:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L88
	jmp	.L89
.L85:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L90
.L93:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, available[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L91
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jle	.L92
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L91
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 0
	jmp	.L91
.L92:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jle	.L91
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rax+rcx]
	lea	rax, bit[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L91
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, available[rip]
	mov	BYTE PTR [rax+rdx], 0
.L91:
	add	DWORD PTR -28[rbp], 1
.L90:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L93
.L89:
	add	DWORD PTR -36[rbp], 1
.L84:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L94
	add	DWORD PTR -80[rbp], 1
	jmp	.L95
.L101:
	nop
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	get_one
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, bit[rip]
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	bit_to_long
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	part_two, .-part_two
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	part_two
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 9
__PRETTY_FUNCTION__.2:
	.string	"part_one"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 8
__PRETTY_FUNCTION__.1:
	.string	"get_one"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 9
__PRETTY_FUNCTION__.0:
	.string	"part_two"
	.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	"918929.c"
	.text
	.align	2
	.global	make_zero
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_zero, %function
make_zero:
	@ 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	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	make_zero, .-make_zero
	.align	2
	.global	bit_to_long
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_to_long, %function
bit_to_long:
	@ 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]
	str	r1, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L5
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L6
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L7
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bit_to_long, .-bit_to_long
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/918929.c\000"
	.align	2
.LC1:
	.ascii	"bit_len < binary_limit\000"
	.align	2
.LC2:
	.ascii	"bits_len == bit_len\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"count_one[i] != count_zero[i]\000"
	.align	2
.LC5:
	.ascii	"Part One Power consumptin is : %ld\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	part_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	part_one, %function
part_one:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #15
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-56]
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-48]
	mvn	r3, #0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-40]
	bl	make_zero
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-32]
	bl	make_zero
	b	.L10
.L18:
	ldr	r0, [fp, #-48]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L11
	ldr	r3, .L30+4
	mov	r2, #36
	ldr	r1, .L30+8
	ldr	r0, .L30+12
	bl	__assert_fail
.L11:
	ldr	r3, [fp, #-60]
	cmn	r3, #1
	bne	.L12
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-60]
	b	.L13
.L12:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L13
	ldr	r3, .L30+4
	mov	r2, #38
	ldr	r1, .L30+8
	ldr	r0, .L30+16
	bl	__assert_fail
.L13:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L14
.L17:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L15
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-64]
	str	r1, [r3, r2, lsl #2]
	b	.L16
.L15:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-64]
	str	r1, [r3, r2, lsl #2]
.L16:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L14:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L17
.L10:
	ldr	r1, [fp, #-48]
	ldr	r0, .L30+20
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L19
.L23:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-68]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-68]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L20
	ldr	r3, .L30+4
	mov	r2, #45
	ldr	r1, .L30+8
	ldr	r0, .L30+24
	bl	__assert_fail
.L20:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-68]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-68]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	ble	.L21
	mov	r1, #49
	b	.L22
.L21:
	mov	r1, #48
.L22:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L19:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L23
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-48]
	bl	bit_to_long
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L24
.L28:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-72]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-72]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L25
	ldr	r3, .L30+4
	mov	r2, #50
	ldr	r1, .L30+8
	ldr	r0, .L30+24
	bl	__assert_fail
.L25:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-72]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-72]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L26
	mov	r1, #49
	b	.L27
.L26:
	mov	r1, #48
.L27:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L24:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L28
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-48]
	bl	bit_to_long
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+28
	bl	printf
	mov	sp, r4
	nop
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC6
	.word	__PRETTY_FUNCTION__.5335
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	part_one, .-part_one
	.comm	bit,30750,4
	.comm	available,2050,4
	.align	2
	.global	one_available
	.syntax unified
	.arm
	.fpu softvfp
	.type	one_available, %function
one_available:
	@ 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, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L33
.L35:
	ldr	r2, .L37
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L34:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L38:
	.align	2
.L37:
	.word	available
	.size	one_available, .-one_available
	.section	.rodata
	.align	2
.LC7:
	.ascii	"false\000"
	.text
	.align	2
	.global	get_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_one, %function
get_one:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L40
.L43:
	ldr	r2, .L45
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	ldr	r2, .L45+4
	add	r3, r3, r2
	b	.L44
.L41:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L43
	ldr	r3, .L45+8
	mov	r2, #78
	ldr	r1, .L45+12
	ldr	r0, .L45+16
	bl	__assert_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	available
	.word	bit
	.word	__PRETTY_FUNCTION__.5370
	.word	.LC0
	.word	.LC7
	.size	get_one, .-get_one
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Part Two life support rating is : %ld\012\000"
	.text
	.align	2
	.global	part_two
	.syntax unified
	.arm
	.fpu softvfp
	.type	part_two, %function
part_two:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L48
.L49:
	ldr	r2, .L99
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L48:
	ldr	r3, [fp, #-80]
	ldr	r2, .L99+4
	cmp	r3, r2
	ble	.L49
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-76]
.L52:
	ldr	r2, [fp, #-76]
	add	r3, r2, #1
	str	r3, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	ldr	r2, .L99+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L99+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	beq	.L96
	b	.L52
.L96:
	nop
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
.L71:
	ldr	r0, [fp, #-76]
	bl	one_available
	mov	r3, r0
	cmp	r3, #0
	bne	.L97
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L55
	ldr	r3, .L99+16
	mov	r2, #92
	ldr	r1, .L99+20
	ldr	r0, .L99+24
	bl	__assert_fail
.L55:
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L56
.L59:
	ldr	r2, .L99
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L57
	ldr	r1, .L99+8
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L57
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L58
.L57:
	ldr	r2, .L99
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L58:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L56:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L59
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L60
.L70:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bne	.L61
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L62
.L64:
	ldr	r2, .L99
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L63
	ldr	r1, .L99+8
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L63
	ldr	r2, .L99
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L63:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L62:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L64
	b	.L65
.L61:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L66
.L69:
	ldr	r2, .L99
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L67
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L68
	ldr	r1, .L99+8
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L67
	ldr	r2, .L99
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L67
.L68:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	ble	.L67
	ldr	r1, .L99+8
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L67
	ldr	r2, .L99
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L67:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L66:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L69
.L65:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L60:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L70
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	b	.L71
.L97:
	nop
	ldr	r0, [fp, #-76]
	bl	get_one
	str	r0, [fp, #-16]
	ldr	r0, .L99+8
	bl	strlen
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	bit_to_long
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L72
.L73:
	ldr	r2, .L99
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L72:
	ldr	r3, [fp, #-44]
	ldr	r2, .L99+4
	cmp	r3, r2
	ble	.L73
	mov	r3, #0
	str	r3, [fp, #-72]
.L92:
	ldr	r0, [fp, #-76]
	bl	one_available
	mov	r3, r0
	cmp	r3, #0
	bne	.L98
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L76
	ldr	r3, .L99+16
	mov	r2, #127
	ldr	r1, .L99+20
	ldr	r0, .L99+24
	bl	__assert_fail
.L76:
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L77
.L80:
	ldr	r2, .L99
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L78
	ldr	r1, .L99+8
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L78
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L79
.L78:
	ldr	r2, .L99
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L79
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L79:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L77:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L80
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L81
.L91:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bne	.L82
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L83
.L85:
	ldr	r2, .L99
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L84
	ldr	r1, .L99+8
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L84
	ldr	r2, .L99
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L84:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L83:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L85
	b	.L86
.L82:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L87
.L90:
	ldr	r2, .L99
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L88
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	ble	.L89
	ldr	r1, .L99+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L88
	ldr	r2, .L99
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L88
.L89:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L88
	ldr	r1, .L99+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L88
	ldr	r2, .L99
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L88:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L87:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L90
.L86:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L81:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L91
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	b	.L92
.L98:
	nop
	ldr	r0, [fp, #-76]
	bl	get_one
	str	r0, [fp, #-16]
	ldr	r0, .L99+8
	bl	strlen
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	bit_to_long
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L99+28
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L100:
	.align	2
.L99:
	.word	available
	.word	2049
	.word	bit
	.word	.LC3
	.word	__PRETTY_FUNCTION__.5382
	.word	.LC0
	.word	.LC7
	.word	.LC8
	.size	part_two, .-part_two
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	part_two
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5335, %object
	.size	__PRETTY_FUNCTION__.5335, 9
__PRETTY_FUNCTION__.5335:
	.ascii	"part_one\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5370, %object
	.size	__PRETTY_FUNCTION__.5370, 8
__PRETTY_FUNCTION__.5370:
	.ascii	"get_one\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5382, %object
	.size	__PRETTY_FUNCTION__.5382, 9
__PRETTY_FUNCTION__.5382:
	.ascii	"part_two\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
