	.file	"extr_cc_hash.c_cc_cmac_setkey.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"===== setkey (%d) ====\n"
	.text
	.p2align 4
	.type	cc_cmac_setkey, @function
cc_cmac_setkey:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	crypto_ahash_ctx@PLT
	mov	edi, DWORD PTR 24[rax]
	mov	rbx, rax
	call	drvdata_to_dev@PLT
	mov	edx, ebp
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	r12, rax
	call	dev_dbg@PLT
	lea	eax, -128[rbp]
	mov	DWORD PTR [rbx], 1
	cmp	eax, 2
	jbe	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	DWORD PTR 4[rbx], ebp
	mov	esi, DWORD PTR 8[rbx]
	mov	edx, ebp
	mov	rdi, r12
	mov	ecx, DWORD PTR DMA_TO_DEVICE[rip]
	call	dma_sync_single_for_cpu@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	edx, ebp
	mov	rsi, r13
	call	memcpy@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	ecx, DWORD PTR DMA_TO_DEVICE[rip]
	mov	edx, ebp
	mov	rdi, r12
	call	dma_sync_single_for_device@PLT
	mov	DWORD PTR 4[rbx], ebp
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cc_cmac_setkey, .-cc_cmac_setkey
	.comm	EINVAL,4,4
	.comm	DMA_TO_DEVICE,4,4
	.comm	CC_AES_KEY_SIZE_MAX,8,8
	.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_cc_hash.c_cc_cmac_setkey.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"===== setkey (%d) ====\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cc_cmac_setkey, %function
cc_cmac_setkey:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r2
	mov	r7, r1
	bl	crypto_ahash_ctx
	mov	r4, r0
	ldr	r0, [r0, #16]
	bl	drvdata_to_dev
	mov	r2, r6
	ldr	r1, .L6
	mov	r5, r0
	bl	dev_dbg
	mov	r3, #1
	sub	r0, r6, #128
	cmp	r0, #2
	str	r3, [r4]
	bls	.L2
	ldr	r3, .L6+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r8, .L6+8
	mov	r2, r6
	ldr	r3, [r8]
	ldr	r1, [r4, #8]
	mov	r0, r5
	str	r6, [r4, #4]
	bl	dma_sync_single_for_cpu
	mov	r2, r6
	mov	r1, r7
	ldr	r0, [r4, #12]
	bl	memcpy
	mov	r0, r5
	mov	r2, r6
	ldr	r3, [r8]
	ldr	r1, [r4, #8]
	bl	dma_sync_single_for_device
	mov	r0, #0
	str	r6, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	EINVAL
	.word	DMA_TO_DEVICE
	.size	cc_cmac_setkey, .-cc_cmac_setkey
	.comm	EINVAL,4,4
	.comm	DMA_TO_DEVICE,4,4
	.comm	CC_AES_KEY_SIZE_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
