	.file	"extr_Wpc.c_Safe64ToBase64.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Safe64ToBase64
	.type	Safe64ToBase64, @function
Safe64ToBase64:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L15
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	StrLen@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbx
	lea	rdx, [rbx+rax]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	cmp	al, 40
	je	.L19
.L5:
	add	rdi, 1
	cmp	rdi, rdx
	je	.L1
.L6:
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 41
	je	.L3
	cmp	al, 95
	jne	.L20
	mov	BYTE PTR [rdi], 47
	add	rdi, 1
	cmp	rdi, rdx
	jne	.L6
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	BYTE PTR [rdi], 43
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	mov	BYTE PTR [rdi], 61
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	ret
	.cfi_endproc
.LFE0:
	.size	Safe64ToBase64, .-Safe64ToBase64
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_Wpc.c_Safe64ToBase64.c"
	.text
	.align	2
	.global	Safe64ToBase64
	.syntax unified
	.arm
	.fpu softvfp
	.type	Safe64ToBase64, %function
Safe64ToBase64:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	popeq	{r4, pc}
	bl	StrLen
	cmp	r0, #0
	popeq	{r4, pc}
	mov	lr, #43
	mov	ip, #47
	mov	r1, #61
	sub	r3, r4, #1
	add	r0, r3, r0
.L6:
	ldrb	r2, [r3, #1]!	@ zero_extendqisi2
	cmp	r2, #41
	strbeq	lr, [r3]
	beq	.L5
	cmp	r2, #95
	strbeq	ip, [r3]
	beq	.L5
	cmp	r2, #40
	strbeq	r1, [r3]
.L5:
	cmp	r3, r0
	bne	.L6
	pop	{r4, pc}
	.size	Safe64ToBase64, .-Safe64ToBase64
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
