	.file	"156392565.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	encoding_table, @object
	.size	encoding_table, 64
encoding_table:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567"
	.ascii	"89+/"
	.align 8
	.type	mod_table, @object
	.size	mod_table, 12
mod_table:
	.long	0
	.long	2
	.long	1
	.text
	.type	base64_encode, @function
base64_encode:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 2
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	rax, rdx
	shr	rax
	sal	rax, 2
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L9:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	jbe	.L3
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L4
.L3:
	mov	eax, 0
.L4:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	jbe	.L5
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	jbe	.L7
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 8
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 18
	and	eax, 63
	mov	edx, eax
	lea	rax, encoding_table[rip]
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 12
	and	eax, 63
	mov	edx, eax
	lea	rax, encoding_table[rip]
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 6
	and	eax, 63
	mov	edx, eax
	lea	rax, encoding_table[rip]
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 63
	mov	edx, eax
	lea	rax, encoding_table[rip]
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L2:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	ja	.L9
	mov	DWORD PTR -32[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 61
	add	DWORD PTR -32[rbp], 1
.L10:
	mov	rcx, QWORD PTR -56[rbp]
	movabs	rdx, -6148914691236517205
	mov	rax, rcx
	mul	rdx
	mov	rax, rdx
	shr	rax
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	sub	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mod_table[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L11
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	base64_encode, .-base64_encode
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"open file:%s error\n"
	.align 8
.LC2:
	.string	"read file len error, size=%d, path=%s\n"
	.align 8
.LC3:
	.string	"allocate memory error, path=%s\n"
.LC4:
	.string	"%s"
	.text
	.type	encode_file, @function
encode_file:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	jle	.L16
	cmp	DWORD PTR -40[rbp], 104857599
	jle	.L17
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -40[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L15
.L17:
	mov	edi, 3072
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 4097
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L18
	cmp	QWORD PTR -16[rbp], 0
	jne	.L19
.L18:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L15
.L19:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
.L21:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 3072
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jle	.L20
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	base64_encode
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	cmp	DWORD PTR -36[rbp], 0
	jg	.L21
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	encode_file, .-encode_file
	.section	.rodata
	.align 8
.LC5:
	.string	"wrong start position, size=%d,start=%d\n"
	.text
	.type	read_txt_file, @function
read_txt_file:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	edi, 4097
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L24
.L25:
	cmp	DWORD PTR -44[rbp], -1
	jne	.L26
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L27
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -48[rbp]
	neg	eax
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L28
.L26:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, -1
	jmp	.L24
.L29:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
.L28:
	mov	DWORD PTR -28[rbp], 0
.L32:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jle	.L30
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jle	.L30
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jge	.L33
.L30:
	cmp	DWORD PTR -20[rbp], 0
	jg	.L32
	jmp	.L31
.L33:
	nop
.L31:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_txt_file, .-read_txt_file
	.section	.rodata
.LC6:
	.string	"Failed to open MNT namespace\n"
	.align 8
.LC7:
	.string	"Failed to set MNT namespace: %s\n"
	.text
	.globl	nsget
	.type	nsget, @function
nsget:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	cmp	QWORD PTR -24[rbp], 0
	je	.L35
	cmp	QWORD PTR -32[rbp], 0
	jne	.L36
.L35:
	mov	eax, -1
	jmp	.L37
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L38
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 0
	mov	edi, eax
	call	setns@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -8[rbp], -1
	jne	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L37
.L39:
	cmp	DWORD PTR -36[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	encode_file
	mov	DWORD PTR -8[rbp], eax
	jmp	.L41
.L40:
	mov	edx, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	read_txt_file
	mov	DWORD PTR -8[rbp], eax
.L41:
	mov	eax, DWORD PTR -8[rbp]
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	nsget, .-nsget
	.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	"156392565.c"
	.text
	.data
	.align	2
	.type	encoding_table, %object
	.size	encoding_table, 64
encoding_table:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/"
	.align	2
	.type	mod_table, %object
	.size	mod_table, 12
mod_table:
	.word	0
	.word	2
	.word	1
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	base64_encode, %function
base64_encode:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #52
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, [fp, #-48]
	add	r3, r3, #2
	ldr	r2, .L13
	umull	r1, r3, r2, r3
	lsr	r3, r3, #1
	lsl	r3, r3, #2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L9:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bls	.L3
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L4
.L3:
	mov	r3, #0
.L4:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bls	.L5
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L6
.L5:
	mov	r3, #0
.L6:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bls	.L7
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L8
.L7:
	mov	r3, #0
.L8:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #16
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #18
	and	r2, r3, #63
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	ldr	r1, .L13+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #12
	and	r2, r3, #63
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	ldr	r1, .L13+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #6
	and	r2, r3, #63
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	ldr	r1, .L13+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r2, r3, #63
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r1
	ldr	r1, .L13+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L2:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bhi	.L9
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L10
.L11:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #61
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L10:
	ldr	r1, [fp, #-48]
	ldr	r3, .L13
	umull	r2, r3, r1, r3
	lsr	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L13+8
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-24]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	-1431655765
	.word	encoding_table
	.word	mod_table
	.size	base64_encode, .-base64_encode
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"open file:%s error\012\000"
	.align	2
.LC2:
	.ascii	"read file len error, size=%d, path=%s\012\000"
	.align	2
.LC3:
	.ascii	"allocate memory error, path=%s\012\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode_file, %function
encode_file:
	@ 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]
	ldr	r1, .L24
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L24+8
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L17
.L16:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	fseek
	ldr	r0, [fp, #-28]
	bl	ftell
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L18
	ldr	r3, [fp, #-24]
	cmp	r3, #104857600
	blt	.L19
.L18:
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r3, .L24+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	ldr	r1, .L24+12
	bl	fprintf
	mov	r3, #2
	b	.L17
.L19:
	mov	r0, #3072
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r0, .L24+16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L21
.L20:
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, .L24+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L24+20
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L17
.L21:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	fseek
.L23:
	ldr	r3, [fp, #-28]
	mov	r2, #3072
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L22
	ldr	r3, [fp, #-12]
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	base64_encode
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, .L24+24
	bl	printf
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L23
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	4097
	.word	.LC3
	.word	.LC4
	.size	encode_file, .-encode_file
	.section	.rodata
	.align	2
.LC5:
	.ascii	"wrong start position, size=%d,start=%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_txt_file, %function
read_txt_file:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r1, .L38
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L38+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L38+8
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L28
.L27:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	ftell
	str	r0, [fp, #-16]
	ldr	r0, .L38+12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L38+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L38+16
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-20]
	bl	fclose
	mvn	r3, #0
	b	.L28
.L29:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L30
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L31
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	b	.L32
.L31:
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	fseek
	b	.L32
.L30:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L33
	ldr	r3, .L38+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	ldr	r1, .L38+20
	bl	fprintf
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	free
	mvn	r3, #0
	b	.L28
.L33:
	mov	r2, #0
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-20]
	bl	fseek
.L32:
	mov	r3, #0
	str	r3, [fp, #-24]
.L36:
	ldr	r3, [fp, #-20]
	mov	r2, #4096
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L34
	ldr	r1, [fp, #-12]
	ldr	r0, .L38+24
	bl	printf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L34
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bge	.L37
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L36
	b	.L35
.L37:
	nop
.L35:
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	4097
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.size	read_txt_file, .-read_txt_file
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Failed to open MNT namespace\012\000"
	.align	2
.LC7:
	.ascii	"Failed to set MNT namespace: %s\012\000"
	.text
	.align	2
	.global	nsget
	.syntax unified
	.arm
	.fpu softvfp
	.type	nsget, %function
nsget:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L42
.L41:
	mvn	r3, #0
	b	.L43
.L42:
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	open
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L44
	ldr	r0, .L48
	bl	perror
	mvn	r3, #0
	b	.L43
.L44:
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	setns
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	close
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L45
	ldr	r3, .L48+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L48+8
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L45:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L46
	ldr	r0, [fp, #-28]
	bl	encode_file
	str	r0, [fp, #-20]
	b	.L47
.L46:
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-28]
	bl	read_txt_file
	str	r0, [fp, #-20]
.L47:
	ldr	r3, [fp, #-20]
.L43:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC6
	.word	stderr
	.word	.LC7
	.size	nsget, .-nsget
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
