	.file	"extr_e_des.c_des_cfb1_cipher.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	des_cfb1_cipher, @function
des_cfb1_cipher:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 8[rsp], rdx
	mov	edx, DWORD PTR EVP_MAXCHUNK[rip]
	mov	QWORD PTR [rsp], rsi
	mov	QWORD PTR 40[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	edx, edx
	lea	eax, 7[rdx]
	cmovns	eax, edx
	sar	eax, 3
	cdqe
	cmp	rax, rcx
	cmova	rax, rcx
	mov	QWORD PTR 32[rsp], rax
	test	rcx, rcx
	je	.L4
	mov	rbx, rdi
	lea	rdi, 55[rsp]
	mov	QWORD PTR 24[rsp], rdi
	cmp	rax, rcx
	ja	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 32[rsp]
	xor	r13d, r13d
	lea	r14, 54[rsp]
	mov	r12, r13
	sal	rax, 3
	mov	QWORD PTR 16[rsp], rax
	je	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[rsp]
	mov	rbp, r12
	mov	ecx, r12d
	mov	rdi, rbx
	shr	rbp, 3
	not	ecx
	movzx	eax, BYTE PTR [rax+rbp]
	and	ecx, 7
	sar	eax, cl
	sal	eax, 7
	mov	BYTE PTR 54[rsp], al
	call	EVP_CIPHER_CTX_encrypting@PLT
	mov	rdi, rbx
	mov	r13d, eax
	call	EVP_CIPHER_CTX_iv_noconst@PLT
	mov	rdi, rbx
	mov	r15, rax
	call	EVP_CIPHER_CTX_get_cipher_data@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	r9, r15
	mov	rdi, r14
	push	r13
	.cfi_def_cfa_offset 144
	mov	rsi, QWORD PTR 40[rsp]
	mov	ecx, 1
	mov	r8d, eax
	mov	edx, 1
	call	DES_cfb_encrypt@PLT
	mov	rax, QWORD PTR 16[rsp]
	movzx	edx, BYTE PTR 71[rsp]
	mov	ecx, r12d
	and	ecx, 7
	add	r12, 1
	lea	rsi, [rax+rbp]
	and	edx, -128
	mov	eax, 128
	sar	eax, cl
	movzx	edx, dl
	sar	edx, cl
	not	eax
	and	al, BYTE PTR [rsi]
	or	eax, edx
	mov	BYTE PTR [rsi], al
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	cmp	r12, QWORD PTR 16[rsp]
	jne	.L5
.L6:
	mov	rax, QWORD PTR 32[rsp]
	sub	QWORD PTR 40[rsp], rax
	mov	rsi, QWORD PTR 40[rsp]
	add	QWORD PTR 8[rsp], rax
	add	QWORD PTR [rsp], rax
	cmp	rax, rsi
	cmova	rax, rsi
	mov	QWORD PTR 32[rsp], rax
	test	rsi, rsi
	je	.L4
	cmp	rax, rsi
	jbe	.L2
.L4:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	des_cfb1_cipher, .-des_cfb1_cipher
	.comm	EVP_MAXCHUNK,4,4
	.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_e_des.c_des_cfb1_cipher.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	des_cfb1_cipher, %function
des_cfb1_cipher:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, .L16
	sub	sp, sp, #44
	mov	lr, r3
	str	r3, [sp, #20]
	ldr	r3, [ip]
	mov	ip, lr
	add	r8, r3, #7
	cmp	r3, #0
	movlt	r3, r8
	asr	r8, r3, #3
	mov	r3, lr
	cmp	r8, lr
	movcs	lr, r3
	movcc	lr, r8
	cmp	lr, r3
	movhi	r3, #0
	movls	r3, #1
	cmp	ip, #0
	moveq	r3, #0
	cmp	r3, #0
	ldr	r3, .L16+4
	str	lr, [sp, #16]
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	beq	.L3
	mov	r5, r0
	mov	r6, r1
	mov	r7, r2
.L2:
	ldr	r3, [sp, #16]
	lsls	r9, r3, #3
	movne	r4, #0
	movne	r10, #128
	beq	.L5
.L4:
	mvn	r2, r4
	ldrb	r3, [r7, r4, lsr #3]	@ zero_extendqisi2
	and	r2, r2, #7
	asr	r3, r3, r2
	lsl	r3, r3, #7
	mov	r0, r5
	strb	r3, [sp, #28]
	bl	EVP_CIPHER_CTX_get_cipher_data
	mov	r8, r0
	mov	r0, r5
	bl	EVP_CIPHER_CTX_iv_noconst
	mov	fp, r0
	mov	r0, r5
	bl	EVP_CIPHER_CTX_encrypting
	mov	r3, #1
	str	r0, [sp, #8]
	mov	r2, r3
	add	r1, sp, #32
	stm	sp, {r8, fp}
	add	r0, sp, #28
	bl	DES_cfb_encrypt
	ldrb	r3, [r6, r4, lsr #3]	@ zero_extendqisi2
	ldrb	r2, [sp, #32]	@ zero_extendqisi2
	and	r1, r4, #7
	bic	r3, r3, r10, asr r1
	and	r2, r2, #128
	orr	r3, r3, r2, asr r1
	strb	r3, [r6, r4, lsr #3]
	add	r4, r4, #1
	cmp	r4, r9
	bne	.L4
.L5:
	ldr	r2, [sp, #16]
	ldr	r3, [sp, #20]
	add	r7, r7, r2
	sub	r3, r3, r2
	cmp	r2, r3
	movcs	r1, r3
	movcc	r1, r2
	add	r6, r6, r2
	mov	r2, r3
	cmp	r1, r3
	str	r3, [sp, #20]
	movhi	r3, #0
	movls	r3, #1
	cmp	r2, #0
	moveq	r3, #0
	cmp	r3, #0
	str	r1, [sp, #16]
	bne	.L2
.L3:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, #1
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	EVP_MAXCHUNK
	.word	.LC0
	.size	des_cfb1_cipher, .-des_cfb1_cipher
	.comm	EVP_MAXCHUNK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
