	.file	"extr_atmel-aes.c_atmel_aes_gcm_process.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atmel_aes_gcm_process, @function
atmel_aes_gcm_process:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 8[rdi]
	call	atmel_aes_gcm_ctx_cast@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	r12, rax
	call	aead_request_cast@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	crypto_aead_reqtfm@PLT
	mov	rdi, rbp
	mov	r14, rax
	call	atmel_aes_is_encrypt@PLT
	mov	rdi, r14
	mov	r13d, eax
	call	crypto_aead_authsize@PLT
	mov	r8, rax
	mov	rax, QWORD PTR [rbx]
	mov	rdx, rax
	sub	rdx, r8
	test	r13d, r13d
	cmove	rax, rdx
	xor	edi, edi
	mov	QWORD PTR [r12], rax
	or	rax, QWORD PTR 8[rbx]
	setne	dil
	call	likely@PLT
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR AES_FLAGS_GTAGEN[rip]
	or	DWORD PTR 0[rbp], eax
.L3:
	mov	rdi, rbp
	xor	esi, esi
	xor	edx, edx
	call	atmel_aes_write_ctrl@PLT
	mov	esi, DWORD PTR atmel_aes_gcm_length[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	atmel_aes_wait_for_data_ready@PLT
	.cfi_endproc
.LFE0:
	.size	atmel_aes_gcm_process, .-atmel_aes_gcm_process
	.comm	atmel_aes_gcm_length,4,4
	.comm	AES_FLAGS_GTAGEN,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_atmel-aes.c_atmel_aes_gcm_process.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atmel_aes_gcm_process, %function
atmel_aes_gcm_process:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	atmel_aes_gcm_ctx_cast
	mov	r6, r0
	ldr	r0, [r4, #4]
	bl	aead_request_cast
	mov	r5, r0
	bl	crypto_aead_reqtfm
	mov	r8, r0
	mov	r0, r4
	bl	atmel_aes_is_encrypt
	mov	r7, r0
	mov	r0, r8
	bl	crypto_aead_authsize
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	cmp	r7, #0
	subeq	r3, r3, r0
	str	r3, [r6]
	orrs	r3, r3, r2
	movne	r0, #1
	moveq	r0, #0
	bl	likely
	cmp	r0, #0
	ldrne	r2, .L9
	ldrne	r3, [r4]
	ldrne	r2, [r2]
	mov	r0, r4
	orrne	r3, r3, r2
	mov	r2, #0
	strne	r3, [r4]
	mov	r1, r2
	bl	atmel_aes_write_ctrl
	ldr	r3, .L9+4
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	b	atmel_aes_wait_for_data_ready
.L10:
	.align	2
.L9:
	.word	AES_FLAGS_GTAGEN
	.word	atmel_aes_gcm_length
	.size	atmel_aes_gcm_process, .-atmel_aes_gcm_process
	.comm	atmel_aes_gcm_length,4,4
	.comm	AES_FLAGS_GTAGEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
