	.file	"extr_ccm.c_crypto_ccm_init_crypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	crypto_ccm_init_crypt, @function
crypto_ccm_init_crypt:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	call	crypto_ccm_reqctx@PLT
	mov	r14, QWORD PTR [rbx]
	mov	rbp, rax
	mov	rdi, r14
	call	crypto_ccm_check_iv@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbx
	call	aead_request_flags@PLT
	mov	edx, 15
	xor	esi, esi
	mov	DWORD PTR 16[rbp], eax
	movsx	rax, DWORD PTR [r14]
	lea	r8d, 1[rax]
	sub	rdx, rax
	lea	rdi, [r14+rdx*4]
	mov	edx, r8d
	call	memset@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, 3
	call	sg_init_table@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	edx, 16
	mov	rsi, r13
	call	sg_set_buf@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 16[rbx]
	lea	rdi, 4[rax]
	call	scatterwalk_ffwd@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rdx, rax
	lea	rax, 4[rdi]
	cmp	rdx, rax
	je	.L3
	mov	esi, 2
	call	sg_chain@PLT
.L3:
	mov	eax, DWORD PTR 12[rbx]
	cmp	DWORD PTR 16[rbx], eax
	je	.L1
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, 3
	call	sg_init_table@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	edx, 16
	mov	rsi, r13
	call	sg_set_buf@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 12[rbx]
	lea	rdi, 4[rax]
	call	scatterwalk_ffwd@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	rdx, rax
	lea	rax, 4[rdi]
	cmp	rdx, rax
	je	.L1
	mov	esi, 2
	call	sg_chain@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	ret
	.cfi_endproc
.LFE0:
	.size	crypto_ccm_init_crypt, .-crypto_ccm_init_crypt
	.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_ccm.c_crypto_ccm_init_crypt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypto_ccm_init_crypt, %function
crypto_ccm_init_crypt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r7, r1
	bl	crypto_ccm_reqctx
	ldr	r8, [r4]
	mov	r5, r0
	mov	r0, r8
	bl	crypto_ccm_check_iv
	subs	r6, r0, #0
	beq	.L8
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	bl	aead_request_flags
	str	r0, [r5, #8]
	ldr	r2, [r8]
	mov	r1, r6
	rsb	r0, r2, #15
	add	r0, r8, r0, lsl #2
	add	r2, r2, #1
	bl	memset
	mov	r1, #3
	ldr	r0, [r5, #4]
	bl	sg_init_table
	mov	r2, #16
	mov	r1, r7
	ldr	r0, [r5, #4]
	bl	sg_set_buf
	ldr	r0, [r5, #4]
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #12]
	add	r0, r0, #4
	bl	scatterwalk_ffwd
	mov	r2, r0
	ldr	r0, [r5, #4]
	add	r3, r0, #4
	cmp	r2, r3
	beq	.L3
	mov	r1, #2
	bl	sg_chain
.L3:
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #8]
	cmp	r2, r3
	beq	.L1
	mov	r1, #3
	ldr	r0, [r5]
	bl	sg_init_table
	mov	r1, r7
	mov	r2, #16
	ldr	r0, [r5]
	bl	sg_set_buf
	ldr	r0, [r5]
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #8]
	add	r0, r0, #4
	bl	scatterwalk_ffwd
	mov	r2, r0
	ldr	r0, [r5]
	add	r3, r0, #4
	cmp	r2, r3
	beq	.L1
	mov	r1, #2
	bl	sg_chain
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
	.size	crypto_ccm_init_crypt, .-crypto_ccm_init_crypt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
