	.file	"extr_buffalo-lib.c_bcrypt_process.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bcrypt_process
	.type	bcrypt_process, @function
bcrypt_process:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10, QWORD PTR 8[rdi]
	movzx	r8d, BYTE PTR 17[rdi]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, QWORD PTR [rdi]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movzx	ebx, BYTE PTR 16[rdi]
	test	rcx, rcx
	je	.L2
	mov	r13, rdx
	xor	r11d, r11d
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	ebx, bl
	xor	edx, edx
	lea	rax, 1[rbx]
	div	r10
	mov	ebx, edx
	movzx	edx, dl
	lea	r9, 0[rbp+rdx]
	movzx	edx, r8b
	movzx	eax, BYTE PTR [r9]
	add	edx, eax
	mov	r12d, eax
	movsx	rax, edx
	xor	edx, edx
	div	r10
	mov	r8d, edx
	movzx	edx, dl
	add	rdx, rbp
	movzx	r14d, BYTE PTR [rdx]
	mov	BYTE PTR [rdx], r12b
	mov	BYTE PTR [r9], r14b
	movzx	eax, BYTE PTR [rdx]
	xor	edx, edx
	add	eax, r14d
	cdqe
	div	r10
	movzx	eax, BYTE PTR 0[rbp+rdx]
	xor	al, BYTE PTR [rsi+r11]
	mov	BYTE PTR 0[r13+r11], al
	add	r11, 1
	cmp	rcx, r11
	jne	.L3
.L2:
	mov	BYTE PTR 16[rdi], bl
	mov	eax, ecx
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	BYTE PTR 17[rdi], r8b
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bcrypt_process, .-bcrypt_process
	.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_buffalo-lib.c_bcrypt_process.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	bcrypt_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcrypt_process, %function
bcrypt_process:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldm	r0, {r6, r7}
	sub	sp, sp, #12
	cmp	r3, #0
	ldrb	r5, [r0, #8]	@ zero_extendqisi2
	ldrb	r4, [r0, #9]	@ zero_extendqisi2
	str	r0, [sp]
	str	r3, [sp, #4]
	beq	.L2
	add	r8, r1, r3
	sub	r10, r2, #1
	sub	r8, r8, #1
	sub	fp, r1, #1
.L3:
	add	r0, r5, #1
	mov	r1, r7
	bl	__aeabi_uidivmod
	and	r5, r1, #255
	ldrb	r9, [r6, r5]	@ zero_extendqisi2
	mov	r1, r7
	add	r0, r4, r9
	bl	__aeabi_uidivmod
	and	r4, r1, #255
	ldrb	r0, [r6, r4]	@ zero_extendqisi2
	strb	r9, [r6, r4]
	strb	r0, [r6, r5]
	ldrb	r2, [r6, r4]	@ zero_extendqisi2
	mov	r1, r7
	add	r0, r2, r0
	bl	__aeabi_uidivmod
	ldrb	r0, [fp, #1]!	@ zero_extendqisi2
	ldrb	r2, [r6, r1]	@ zero_extendqisi2
	cmp	r8, fp
	eor	r2, r2, r0
	strb	r2, [r10, #1]!
	bne	.L3
.L2:
	ldr	r3, [sp]
	ldr	r0, [sp, #4]
	strb	r5, [r3, #8]
	strb	r4, [r3, #9]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	bcrypt_process, .-bcrypt_process
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
