	.file	"150676.c"
	.intel_syntax noprefix
	.text
	.globl	b64table
	.section	.rodata
	.align 32
	.type	b64table, @object
	.size	b64table, 66
b64table:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
	.text
	.globl	b64_encode
	.type	b64_encode, @function
b64_encode:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 3
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	shr	eax
	add	eax, 1
	sal	eax, 2
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, 3
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L5:
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sal	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 2
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	or	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L4:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, edx
	sal	edx, 2
	sub	eax, edx
	add	eax, eax
	add	eax, 18
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 63
	mov	ecx, eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	ecx, ecx
	lea	rax, b64table[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -24[rbp], 1
.L3:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L4
	add	DWORD PTR -32[rbp], 3
	add	DWORD PTR -28[rbp], 4
.L2:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jbe	.L5
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, ecx
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	shr	eax
	mov	edx, eax
	add	edx, edx
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	cmp	eax, 2
	je	.L6
	cmp	eax, 2
	ja	.L7
	test	eax, eax
	je	.L8
	cmp	eax, 1
	jne	.L7
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 61
.L6:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 61
.L8:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L7:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	b64_encode, .-b64_encode
	.section	.rodata
	.align 8
.LC0:
	.string	"\344\275\240\347\237\245\351\201\223\347\275\221\347\273\234\344\270\212\346\234\200\345\270\270\350\247\201\347\232\204\347\224\250\344\272\216\344\274\240\350\276\2238Bit\345\255\227\350\212\202\344\273\243\347\240\201\347\232\204\347\274\226\347\240\201\346\226\271\345\274\217\346\230\257\344\273\200\344\271\210\345\220\227\357\274\237"
	.align 8
.LC1:
	.string	"\346\234\254\347\250\213\345\272\217\346\255\243\346\230\257\344\275\277\347\224\250\344\272\206\350\277\231\347\247\215\344\274\240\347\273\237\347\274\226\347\240\201\346\226\271\345\274\217"
.LC2:
	.string	"\350\256\260\344\275\217\357\274\214\350\277\231\344\270\215\346\230\257\345\212\240\345\257\206"
	.align 8
.LC3:
	.string	"\346\262\241\346\234\211\345\257\206\351\222\245\347\232\204\344\270\234\350\245\277\347\256\227\344\270\252\351\224\244\345\255\220\345\212\240\345\257\206"
.LC4:
	.string	"please input:"
.LC5:
	.string	"%256s"
	.align 8
.LC6:
	.string	"ZmxhZ3tCYXNlNjRfaXNfYV90cmFkaW9uYWxfY29kaW5nX2FsZ29yaXRobX0="
.LC7:
	.string	"Success!"
.LC8:
	.string	"failure!"
.LC9:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.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, 544
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L13:
	lea	rax, -528[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	lea	rax, -528[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	b64_encode
	mov	QWORD PTR -536[rbp], rax
	mov	rax, QWORD PTR -536[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
	lea	rdi, .LC9[rip]
	call	system@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	jmp	.L16
.L11:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L13
.L16:
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"150676.c"
	.text
	.global	b64table
	.section	.rodata
	.align	2
	.type	b64table, %object
	.size	b64table, 66
b64table:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/=\000"
	.text
	.align	2
	.global	b64_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	b64_encode, %function
b64_encode:
	@ 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, [fp, #-36]
	add	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r2, .L10
	umull	r1, r3, r2, r3
	lsr	r3, r3, #1
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-16]
	bl	memcpy
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #3
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r2, r3, #16
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r2, r2, #2
	ldr	r1, [fp, #-16]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L3
.L4:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #18
	ldr	r2, [fp, #-8]
	lsr	r3, r2, r3
	and	r2, r3, #63
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldr	r1, .L10+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L4
	ldr	r3, [fp, #-28]
	add	r3, r3, #3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bls	.L5
	ldr	r1, [fp, #-36]
	ldr	r3, .L10
	umull	r2, r3, r1, r3
	lsr	r3, r3, #1
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	sub	r3, r1, r2
	cmp	r3, #2
	beq	.L6
	cmp	r3, #2
	bhi	.L7
	cmp	r3, #0
	beq	.L8
	cmp	r3, #1
	bne	.L7
	ldr	r3, [fp, #-24]
	sub	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #61
	strb	r2, [r3]
.L6:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #61
	strb	r2, [r3]
.L8:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	free
.L7:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	-1431655765
	.word	b64table
	.size	b64_encode, .-b64_encode
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\344\275\240\347\237\245\351\201\223\347\275\221\347"
	.ascii	"\273\234\344\270\212\346\234\200\345\270\270\350\247"
	.ascii	"\201\347\232\204\347\224\250\344\272\216\344\274\240"
	.ascii	"\350\276\2238Bit\345\255\227\350\212\202\344\273\243"
	.ascii	"\347\240\201\347\232\204\347\274\226\347\240\201\346"
	.ascii	"\226\271\345\274\217\346\230\257\344\273\200\344\271"
	.ascii	"\210\345\220\227\357\274\237\000"
	.align	2
.LC1:
	.ascii	"\346\234\254\347\250\213\345\272\217\346\255\243\346"
	.ascii	"\230\257\344\275\277\347\224\250\344\272\206\350\277"
	.ascii	"\231\347\247\215\344\274\240\347\273\237\347\274\226"
	.ascii	"\347\240\201\346\226\271\345\274\217\000"
	.align	2
.LC2:
	.ascii	"\350\256\260\344\275\217\357\274\214\350\277\231\344"
	.ascii	"\270\215\346\230\257\345\212\240\345\257\206\000"
	.align	2
.LC3:
	.ascii	"\346\262\241\346\234\211\345\257\206\351\222\245\347"
	.ascii	"\232\204\344\270\234\350\245\277\347\256\227\344\270"
	.ascii	"\252\351\224\244\345\255\220\345\212\240\345\257\206"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"please input:\000"
	.align	2
.LC5:
	.ascii	"%256s\000"
	.align	2
.LC6:
	.ascii	"ZmxhZ3tCYXNlNjRfaXNfYV90cmFkaW9uYWxfY29kaW5nX2FsZ29"
	.ascii	"yaXRobX0=\000"
	.align	2
.LC7:
	.ascii	"Success!\000"
	.align	2
.LC8:
	.ascii	"failure!\000"
	.align	2
.LC9:
	.ascii	"pause\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 520
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #520
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	puts
	ldr	r0, .L19+12
	bl	puts
	ldr	r0, .L19+16
	bl	puts
	ldr	r0, .L19+20
	bl	puts
.L15:
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L19+24
	bl	__isoc99_scanf
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	b64_encode
	str	r0, [fp, #-524]
	ldr	r1, [fp, #-524]
	ldr	r0, .L19+28
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L19+32
	bl	puts
	nop
	ldr	r0, .L19+36
	bl	system
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	b	.L18
.L13:
	ldr	r0, .L19+40
	bl	puts
	b	.L15
.L18:
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC9
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
