	.file	"extr_lrw.c_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"lrw"
	.text
	.p2align 4
	.type	alloc, @function
alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR CRYPTO_ALG_TYPE_BLKCIPHER[rip]
	call	crypto_check_attr_type@PLT
	test	eax, eax
	jne	.L8
	mov	edx, DWORD PTR CRYPTO_ALG_TYPE_MASK[rip]
	mov	esi, DWORD PTR CRYPTO_ALG_TYPE_CIPHER[rip]
	mov	rdi, r12
	call	crypto_get_attr_alg@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	lea	rdi, .LC0[rip]
	mov	rsi, rbp
	call	crypto_alloc_instance@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR CRYPTO_ALG_TYPE_BLKCIPHER[rip]
	cmp	DWORD PTR 4[rbp], 7
	mov	edx, 7
	lea	rcx, crypto_blkcipher_type[rip]
	cmovge	edx, DWORD PTR 4[rbp]
	mov	DWORD PTR 76[r12], eax
	mov	eax, DWORD PTR 96[rbp]
	mov	DWORD PTR 72[r12], eax
	movsx	rax, DWORD PTR 0[rbp]
	mov	QWORD PTR 64[r12], rcx
	mov	ecx, edx
	or	ecx, 3
	test	al, 3
	mov	DWORD PTR 8[r12], eax
	cmove	edx, ecx
	mov	DWORD PTR 24[r12], eax
	mov	DWORD PTR 12[r12], edx
	mov	rdx, QWORD PTR 88[rbp]
	add	rdx, rax
	add	rax, QWORD PTR 80[rbp]
	mov	DWORD PTR 16[r12], 4
	mov	QWORD PTR 40[r12], rax
	mov	eax, DWORD PTR init_tfm[rip]
	mov	QWORD PTR 48[r12], rdx
	mov	DWORD PTR 60[r12], eax
	mov	eax, DWORD PTR exit_tfm[rip]
	mov	DWORD PTR 56[r12], eax
	mov	eax, DWORD PTR setkey[rip]
	mov	DWORD PTR 36[r12], eax
	mov	eax, DWORD PTR encrypt[rip]
	mov	DWORD PTR 32[r12], eax
	mov	eax, DWORD PTR decrypt[rip]
	mov	DWORD PTR 28[r12], eax
.L4:
	mov	rdi, rbp
	call	crypto_mod_put@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_CAST@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	alloc, .-alloc
	.comm	setkey,4,4
	.comm	init_tfm,4,4
	.comm	exit_tfm,4,4
	.comm	encrypt,4,4
	.comm	decrypt,4,4
	.comm	crypto_blkcipher_type,4,4
	.comm	CRYPTO_ALG_TYPE_MASK,4,4
	.comm	CRYPTO_ALG_TYPE_CIPHER,4,4
	.comm	CRYPTO_ALG_TYPE_BLKCIPHER,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_lrw.c_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"lrw\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc, %function
alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L10
	mov	r4, r0
	ldr	r1, [r6]
	bl	crypto_check_attr_type
	cmp	r0, #0
	bne	.L8
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	bl	crypto_get_attr_alg
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L9
	mov	r1, r5
	ldr	r0, .L10+12
	bl	crypto_alloc_instance
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L4
	ldm	r5, {r2, r3}
	cmp	r3, #7
	movlt	r3, #7
	ldr	r1, [r6]
	ldr	r0, [r5, #72]
	str	r1, [r4, #60]
	ldr	r1, .L10+16
	tst	r2, #3
	str	r1, [r4, #52]
	mov	r1, #4
	str	r3, [r4, #12]
	orreq	r3, r3, #3
	streq	r3, [r4, #12]
	ldr	r3, [r5, #68]
	str	r0, [r4, #56]
	ldr	r0, .L10+20
	add	r3, r3, r2
	ldr	ip, .L10+24
	ldr	r0, [r0]
	str	r3, [r4, #40]
	ldr	r3, [r5, #64]
	ldr	lr, [ip]
	str	r2, [r4, #8]
	ldr	ip, .L10+28
	str	r2, [r4, #20]
	str	r0, [r4, #48]
	add	r2, r3, r2
	ldr	r0, .L10+32
	ldr	r3, .L10+36
	ldr	ip, [ip]
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r2, [r4, #36]
	str	lr, [r4, #44]
	str	ip, [r4, #32]
	str	r0, [r4, #28]
	str	r3, [r4, #24]
	str	r1, [r4, #16]
.L4:
	mov	r0, r5
	bl	crypto_mod_put
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	ERR_CAST
.L8:
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L11:
	.align	2
.L10:
	.word	CRYPTO_ALG_TYPE_BLKCIPHER
	.word	CRYPTO_ALG_TYPE_CIPHER
	.word	CRYPTO_ALG_TYPE_MASK
	.word	.LC0
	.word	crypto_blkcipher_type
	.word	init_tfm
	.word	exit_tfm
	.word	setkey
	.word	encrypt
	.word	decrypt
	.size	alloc, .-alloc
	.comm	setkey,4,4
	.comm	init_tfm,4,4
	.comm	exit_tfm,4,4
	.comm	encrypt,4,4
	.comm	decrypt,4,4
	.comm	crypto_blkcipher_type,4,4
	.comm	CRYPTO_ALG_TYPE_MASK,4,4
	.comm	CRYPTO_ALG_TYPE_CIPHER,4,4
	.comm	CRYPTO_ALG_TYPE_BLKCIPHER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
