	.file	"extr_stm32-cryp.c_stm32_cryp_gcm_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Timeout (gcm init)\n"
	.text
	.p2align 4
	.type	stm32_cryp_gcm_init, @function
stm32_cryp_gcm_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	mov	edx, 12
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rbp, rsp
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	memcpy@PLT
	mov	edi, DWORD PTR GCM_CTR_INIT[rip]
	call	cpu_to_be32@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR GCM_CTR_INIT[rip]
	mov	DWORD PTR 4[rbx], eax
	call	stm32_cryp_hw_write_iv@PLT
	mov	edx, DWORD PTR CR_PH_INIT[rip]
	mov	esi, DWORD PTR CRYP_CR[rip]
	mov	rdi, rbx
	or	edx, DWORD PTR CR_CRYPEN[rip]
	or	edx, r12d
	call	stm32_cryp_write@PLT
	mov	rdi, rbx
	call	stm32_cryp_wait_enable@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L9
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	stm32_cryp_gcm_init, .-stm32_cryp_gcm_init
	.comm	GCM_CTR_INIT,4,4
	.comm	CR_PH_INIT,4,4
	.comm	CR_CRYPEN,4,4
	.comm	CRYP_CR,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_stm32-cryp.c_stm32_cryp_gcm_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Timeout (gcm init)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stm32_cryp_gcm_init, %function
stm32_cryp_gcm_init:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0, #8]
	sub	sp, sp, #24
	mov	r5, r1
	ldr	r6, .L11
	ldr	r1, [r3]
	ldr	r3, .L11+4
	mov	r4, r0
	mov	r2, #12
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	memcpy
	ldr	r0, [r6]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r2, [r6]
	add	r1, sp, #4
	str	r2, [r4, #4]
	mov	r0, r4
	str	r3, [sp, #16]
	bl	stm32_cryp_hw_write_iv
	ldr	r3, .L11+8
	ldr	r2, .L11+12
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, .L11+16
	orr	r2, r2, r1
	orr	r2, r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	stm32_cryp_write
	mov	r0, r4
	bl	stm32_cryp_wait_enable
	subs	r5, r0, #0
	bne	.L9
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r4]
	ldr	r1, .L11+20
	bl	dev_err
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	GCM_CTR_INIT
	.word	.LC1
	.word	CR_CRYPEN
	.word	CR_PH_INIT
	.word	CRYP_CR
	.word	.LC0
	.size	stm32_cryp_gcm_init, .-stm32_cryp_gcm_init
	.comm	GCM_CTR_INIT,4,4
	.comm	CR_PH_INIT,4,4
	.comm	CR_CRYPEN,4,4
	.comm	CRYP_CR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
