	.file	"extr_skcipher.c_skcipher_prepare_alg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	skcipher_prepare_alg, @function
skcipher_prepare_alg:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR PAGE_SIZE[rip]
	test	edx, edx
	lea	eax, 7[rdx]
	cmovns	eax, edx
	sar	eax, 3
	cmp	DWORD PTR [rdi], eax
	jg	.L2
	mov	edx, DWORD PTR 4[rdi]
	cmp	eax, edx
	jl	.L2
	mov	ecx, DWORD PTR 8[rdi]
	cmp	eax, ecx
	jl	.L2
	test	edx, edx
	jne	.L5
	mov	eax, DWORD PTR 16[rdi]
	mov	DWORD PTR 4[rdi], eax
.L5:
	test	ecx, ecx
	jne	.L6
	mov	eax, DWORD PTR 4[rdi]
	mov	DWORD PTR 8[rdi], eax
.L6:
	lea	rax, crypto_skcipher_type2[rip]
	mov	QWORD PTR 24[rdi], rax
	mov	eax, DWORD PTR CRYPTO_ALG_TYPE_MASK[rip]
	not	eax
	and	eax, DWORD PTR 20[rdi]
	or	eax, DWORD PTR CRYPTO_ALG_TYPE_SKCIPHER[rip]
	mov	DWORD PTR 20[rdi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	skcipher_prepare_alg, .-skcipher_prepare_alg
	.comm	crypto_skcipher_type2,4,4
	.comm	PAGE_SIZE,4,4
	.comm	EINVAL,4,4
	.comm	CRYPTO_ALG_TYPE_SKCIPHER,4,4
	.comm	CRYPTO_ALG_TYPE_MASK,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_skcipher.c_skcipher_prepare_alg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skcipher_prepare_alg, %function
skcipher_prepare_alg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L8
	ldr	r1, [r0]
	ldr	r3, [r3]
	mov	r2, r0
	cmp	r3, #0
	add	r0, r3, #7
	movlt	r3, r0
	cmp	r1, r3, asr #3
	asr	r3, r3, #3
	bgt	.L2
	ldr	r1, [r2, #4]
	cmp	r3, r1
	blt	.L2
	ldr	r0, [r2, #8]
	cmp	r3, r0
	blt	.L2
	cmp	r1, #0
	ldreq	r3, [r2, #12]
	ldr	ip, .L8+4
	streq	r3, [r2, #4]
	cmp	r0, #0
	ldreq	r3, [r2, #4]
	ldr	ip, [ip]
	streq	r3, [r2, #8]
	ldr	r3, .L8+8
	mov	r0, #0
	ldr	r1, [r3]
	ldr	r3, [r2, #16]
	bic	r3, r3, r1
	ldr	r1, .L8+12
	orr	r3, r3, ip
	str	r3, [r2, #16]
	str	r1, [r2, #20]
	bx	lr
.L2:
	ldr	r3, .L8+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L9:
	.align	2
.L8:
	.word	PAGE_SIZE
	.word	CRYPTO_ALG_TYPE_SKCIPHER
	.word	CRYPTO_ALG_TYPE_MASK
	.word	crypto_skcipher_type2
	.word	EINVAL
	.size	skcipher_prepare_alg, .-skcipher_prepare_alg
	.comm	crypto_skcipher_type2,4,4
	.comm	PAGE_SIZE,4,4
	.comm	EINVAL,4,4
	.comm	CRYPTO_ALG_TYPE_SKCIPHER,4,4
	.comm	CRYPTO_ALG_TYPE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
