	.file	"extr_crypt_blowfish.c_BF_encode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	BF_encode, @function
BF_encode:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rcx, edx
	add	rcx, rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	movzx	edx, BYTE PTR 1[rsi]
	mov	r8d, edx
	shr	r8d, 4
	or	eax, r8d
	mov	r8, QWORD PTR BF_itoa64[rip]
	mov	rax, QWORD PTR [r8+rax*8]
	mov	BYTE PTR 1[rdi], al
	lea	eax, 0[0+rdx*4]
	and	eax, 60
	mov	edx, eax
	lea	rax, 2[rsi]
	cmp	rcx, rax
	jbe	.L8
	movzx	eax, BYTE PTR 2[rsi]
	add	rsi, 3
	add	rdi, 4
	mov	r8d, eax
	shr	eax, 6
	or	eax, edx
	mov	rdx, QWORD PTR BF_itoa64[rip]
	and	r8d, 63
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	BYTE PTR -2[rdi], al
	mov	rax, QWORD PTR BF_itoa64[rip]
	mov	rax, QWORD PTR [rax+r8*8]
	mov	BYTE PTR -1[rdi], al
	cmp	rcx, rsi
	jbe	.L9
.L5:
	movzx	eax, BYTE PTR [rsi]
	mov	r8, QWORD PTR BF_itoa64[rip]
	mov	edx, eax
	sal	eax, 4
	shr	edx, 2
	and	eax, 48
	mov	rdx, QWORD PTR [r8+rdx*8]
	mov	BYTE PTR [rdi], dl
	lea	rdx, 1[rsi]
	cmp	rcx, rdx
	ja	.L2
	mov	rdx, QWORD PTR BF_itoa64[rip]
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	BYTE PTR 1[rdi], al
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, edx
	mov	rdx, QWORD PTR BF_itoa64[rip]
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	BYTE PTR 2[rdi], al
	ret
	.cfi_endproc
.LFE0:
	.size	BF_encode, .-BF_encode
	.comm	BF_itoa64,8,8
	.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_crypt_blowfish.c_BF_encode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	BF_encode, %function
BF_encode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	add	r2, r1, r2
	ldr	lr, .L10
	b	.L5
.L2:
	ldrb	ip, [r1, #1]	@ zero_extendqisi2
	ldr	r4, [lr]
	orr	r3, r3, ip, lsr #4
	ldr	r3, [r4, r3, lsl #2]
	lsl	ip, ip, #2
	cmp	r2, r5
	add	r1, r1, #3
	and	ip, ip, #60
	strb	r3, [r0, #1]
	bls	.L9
	ldrb	r3, [r1, #-1]	@ zero_extendqisi2
	ldr	r4, [lr]
	orr	ip, ip, r3, lsr #6
	ldr	ip, [r4, ip, lsl #2]
	and	r3, r3, #63
	strb	ip, [r0, #2]
	ldr	ip, [lr]
	add	r0, r0, #4
	ldr	r3, [ip, r3, lsl #2]
	cmp	r2, r1
	strb	r3, [r0, #-1]
	popls	{r4, r5, pc}
.L5:
	mov	ip, r1
	ldrb	r3, [ip], #1	@ zero_extendqisi2
	ldr	r4, [lr]
	lsr	r5, r3, #2
	ldr	r4, [r4, r5, lsl #2]
	lsl	r3, r3, #4
	cmp	r2, ip
	add	r5, r1, #2
	and	r3, r3, #48
	strb	r4, [r0]
	bhi	.L2
	ldr	r2, [lr]
	ldr	r3, [r2, r3, lsl #2]
	strb	r3, [r0, #1]
	pop	{r4, r5, pc}
.L9:
	ldr	r3, [lr]
	ldr	r3, [r3, ip, lsl #2]
	strb	r3, [r0, #2]
	pop	{r4, r5, pc}
.L11:
	.align	2
.L10:
	.word	BF_itoa64
	.size	BF_encode, .-BF_encode
	.comm	BF_itoa64,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
