	.file	"extr_xcbc.c_xcbc_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"xcbc"
	.text
	.p2align 4
	.type	xcbc_create, @function
xcbc_create:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rdi, rbp
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR CRYPTO_ALG_TYPE_SHASH[rip]
	call	crypto_check_attr_type@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L14
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edx, DWORD PTR CRYPTO_ALG_TYPE_MASK[rip]
	mov	esi, DWORD PTR CRYPTO_ALG_TYPE_CIPHER[rip]
	mov	rdi, rbp
	call	crypto_get_attr_alg@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L15
	cmp	DWORD PTR 0[rbp], 128
	je	.L16
.L5:
	mov	rdi, rbp
	call	crypto_mod_put@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	shash_alloc_instance@PLT
	mov	r14, rax
	mov	rdi, rax
	call	PTR_ERR@PLT
	mov	rdi, r14
	mov	ebx, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, r14
	mov	ebx, DWORD PTR CRYPTO_ALG_TYPE_MASK[rip]
	call	shash_crypto_instance@PLT
	mov	rdi, r14
	mov	r15d, eax
	call	shash_instance_ctx@PLT
	mov	ecx, ebx
	mov	edx, r15d
	mov	rsi, rbp
	mov	edi, eax
	call	crypto_init_spawn@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L17
.L6:
	mov	rdi, r14
	mov	r12d, ebx
	call	shash_crypto_instance@PLT
	mov	edi, eax
	call	shash_free_instance@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r12d, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	mov	ebx, DWORD PTR 4[rbp]
	mov	eax, DWORD PTR 80[rbp]
	or	ebx, 3
	mov	DWORD PTR 64[r14], eax
	mov	eax, DWORD PTR 0[rbp]
	movsx	r15, ebx
	mov	DWORD PTR 40[r14], eax
	mov	DWORD PTR 8[r14], eax
	xor	eax, eax
	mov	QWORD PTR 32[r14], r15
	call	crypto_tfm_ctx_alignment@PLT
	mov	edi, 4
	movsx	rsi, eax
	call	ALIGN@PLT
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	crypto_tfm_ctx_alignment@PLT
	mov	ecx, DWORD PTR 0[rbp]
	lea	rsi, 1[r15]
	mov	edi, 4
	neg	eax
	lea	edx, [rcx+rcx]
	and	eax, ebx
	movsx	rdx, edx
	cdqe
	add	rax, rdx
	add	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 72[r14], rax
	call	ALIGN@PLT
	mov	rsi, r14
	mov	rdi, r13
	mov	r8, rax
	mov	eax, DWORD PTR 0[rbp]
	add	eax, eax
	cdqe
	add	rax, r8
	mov	QWORD PTR 56[r14], rax
	mov	eax, DWORD PTR xcbc_init_tfm[rip]
	mov	DWORD PTR 48[r14], eax
	mov	eax, DWORD PTR xcbc_exit_tfm[rip]
	mov	DWORD PTR 44[r14], eax
	mov	eax, DWORD PTR crypto_xcbc_digest_init[rip]
	mov	DWORD PTR 24[r14], eax
	mov	eax, DWORD PTR crypto_xcbc_digest_update[rip]
	mov	DWORD PTR 20[r14], eax
	mov	eax, DWORD PTR crypto_xcbc_digest_final[rip]
	mov	DWORD PTR 16[r14], eax
	mov	eax, DWORD PTR crypto_xcbc_digest_setkey[rip]
	mov	DWORD PTR 12[r14], eax
	call	shash_register_instance@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L5
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	xcbc_create, .-xcbc_create
	.comm	xcbc_init_tfm,4,4
	.comm	xcbc_exit_tfm,4,4
	.comm	crypto_xcbc_digest_update,4,4
	.comm	crypto_xcbc_digest_setkey,4,4
	.comm	crypto_xcbc_digest_init,4,4
	.comm	crypto_xcbc_digest_final,4,4
	.comm	CRYPTO_ALG_TYPE_SHASH,4,4
	.comm	CRYPTO_ALG_TYPE_MASK,4,4
	.comm	CRYPTO_ALG_TYPE_CIPHER,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_xcbc.c_xcbc_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"xcbc\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcbc_create, %function
xcbc_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L18
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r6, r0
	mov	r0, r1
	ldr	r1, [r2]
	bl	crypto_check_attr_type
	subs	r5, r0, #0
	beq	.L14
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	ldr	r3, .L18+4
	ldr	r8, .L18+8
	mov	r0, r4
	ldr	r2, [r8]
	ldr	r1, [r3]
	bl	crypto_get_attr_alg
	mov	r4, r0
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L15
	ldr	r3, [r4]
	cmp	r3, #128
	beq	.L16
.L5:
	mov	r0, r4
	bl	crypto_mod_put
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r1, r4
	ldr	r0, .L18+12
	bl	shash_alloc_instance
	mov	r7, r0
	bl	PTR_ERR
	mov	r9, r0
	mov	r0, r7
	bl	IS_ERR
	cmp	r0, #0
	movne	r5, r9
	bne	.L5
	mov	r0, r7
	bl	shash_instance_ctx
	mov	r9, r0
	mov	r0, r7
	bl	shash_crypto_instance
	ldr	r3, [r8]
	mov	r2, r0
	mov	r1, r4
	mov	r0, r9
	bl	crypto_init_spawn
	subs	r8, r0, #0
	beq	.L17
.L6:
	mov	r0, r7
	bl	shash_crypto_instance
	bl	shash_free_instance
	mov	r5, r8
	b	.L5
.L15:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PTR_ERR
.L17:
	ldr	r9, [r4, #4]
	ldr	r2, [r4, #56]
	ldr	r3, [r4]
	orr	r9, r9, #3
	str	r2, [r7, #48]
	str	r3, [r7, #32]
	str	r3, [r7, #8]
	str	r9, [r7, #28]
	bl	crypto_tfm_ctx_alignment
	mov	r1, r0
	mov	r0, #4
	bl	ALIGN
	mov	r8, r0
	bl	crypto_tfm_ctx_alignment
	ldr	r2, [r4]
	rsb	r3, r0, #0
	and	r3, r3, r9
	add	r3, r3, r2, lsl #1
	add	r3, r8, r3
	add	r1, r9, #1
	str	r3, [r7, #52]
	mov	r0, #4
	bl	ALIGN
	ldr	lr, .L18+16
	ldr	ip, .L18+20
	ldr	r1, .L18+24
	ldr	r2, .L18+28
	ldr	r8, [ip]
	ldr	r9, [lr]
	ldr	ip, [r2]
	ldr	lr, [r1]
	ldr	r2, .L18+32
	ldr	r1, .L18+36
	ldr	r3, [r4]
	ldr	r1, [r1]
	ldr	r2, [r2]
	add	r3, r0, r3, lsl #1
	str	r8, [r7, #36]
	str	r1, [r7, #16]
	mov	r0, r6
	mov	r1, r7
	str	r3, [r7, #44]
	str	r9, [r7, #40]
	str	lr, [r7, #24]
	str	ip, [r7, #20]
	str	r2, [r7, #12]
	bl	shash_register_instance
	subs	r8, r0, #0
	beq	.L5
	b	.L6
.L19:
	.align	2
.L18:
	.word	CRYPTO_ALG_TYPE_SHASH
	.word	CRYPTO_ALG_TYPE_CIPHER
	.word	CRYPTO_ALG_TYPE_MASK
	.word	.LC0
	.word	xcbc_init_tfm
	.word	xcbc_exit_tfm
	.word	crypto_xcbc_digest_init
	.word	crypto_xcbc_digest_update
	.word	crypto_xcbc_digest_setkey
	.word	crypto_xcbc_digest_final
	.size	xcbc_create, .-xcbc_create
	.comm	xcbc_init_tfm,4,4
	.comm	xcbc_exit_tfm,4,4
	.comm	crypto_xcbc_digest_update,4,4
	.comm	crypto_xcbc_digest_setkey,4,4
	.comm	crypto_xcbc_digest_init,4,4
	.comm	crypto_xcbc_digest_final,4,4
	.comm	CRYPTO_ALG_TYPE_SHASH,4,4
	.comm	CRYPTO_ALG_TYPE_MASK,4,4
	.comm	CRYPTO_ALG_TYPE_CIPHER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
