	.file	"extr_caamalg_desc.c_init_sh_desc_key_aead.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_sh_desc_key_aead, @function
init_sh_desc_key_aead:
.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, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14d, DWORD PTR [rsi]
	mov	esi, DWORD PTR HDR_SHARE_SERIAL[rip]
	or	esi, DWORD PTR HDR_SAVECTX[rip]
	mov	QWORD PTR 8[rsp], r8
	mov	DWORD PTR 4[rsp], r9d
	call	init_sh_desc@PLT
	mov	esi, DWORD PTR JUMP_JSL[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR JUMP_TEST_ALL[rip]
	or	esi, DWORD PTR JUMP_COND_SHRD[rip]
	call	append_jump@PLT
	mov	r15, rax
	test	r12d, r12d
	je	.L2
	sub	r14d, DWORD PTR CTR_RFC3686_NONCE_SIZE[rip]
.L2:
	cmp	DWORD PTR 4[rsp], 5
	jg	.L3
	mov	r8d, DWORD PTR CLASS_2[rip]
	or	r8d, DWORD PTR KEY_DEST_MDHA_SPLIT[rip]
	or	r8d, DWORD PTR KEY_ENC[rip]
	cmp	QWORD PTR 16[r13], 0
	mov	edx, DWORD PTR 0[r13]
	jne	.L17
	mov	esi, DWORD PTR 8[r13]
	mov	ecx, r8d
	mov	rdi, rbp
	call	append_key@PLT
.L5:
	mov	r8d, DWORD PTR CLASS_1[rip]
	or	r8d, DWORD PTR KEY_DEST_CLASS_REG[rip]
	cmp	QWORD PTR 16[rbx], 0
	je	.L6
	mov	esi, DWORD PTR 12[rbx]
	mov	ecx, r14d
	mov	edx, r14d
	mov	rdi, rbp
	call	append_key_as_imm@PLT
	test	r12d, r12d
	jne	.L18
.L8:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	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	set_jump_tgt_here@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	r11d, DWORD PTR 4[r13]
	mov	esi, DWORD PTR 12[r13]
	mov	ecx, edx
	mov	rdi, rbp
	mov	edx, r11d
	call	append_key_as_imm@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR 8[rbx]
	mov	ecx, r8d
	mov	edx, r14d
	mov	rdi, rbp
	call	append_key@PLT
	test	r12d, r12d
	je	.L8
.L18:
	mov	rsi, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR CTR_RFC3686_NONCE_SIZE[rip]
	mov	rdi, rbp
	mov	ecx, DWORD PTR LDST_CLASS_IND_CCB[rip]
	or	ecx, DWORD PTR LDST_SRCDST_BYTE_OUTFIFO[rip]
	or	ecx, DWORD PTR LDST_IMM[rip]
	call	append_load_as_imm@PLT
	mov	ecx, DWORD PTR MOVE_OFFSET_SHIFT[rip]
	mov	eax, 16
	mov	rdi, rbp
	mov	esi, DWORD PTR MOVE_SRC_OUTFIFO[rip]
	or	esi, DWORD PTR MOVE_DEST_CLASS1CTX[rip]
	sal	eax, cl
	mov	ecx, DWORD PTR MOVE_LEN_SHIFT[rip]
	or	esi, eax
	mov	eax, DWORD PTR CTR_RFC3686_NONCE_SIZE[rip]
	sal	eax, cl
	or	esi, eax
	call	append_move@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, r13
	mov	rdi, rbp
	call	append_proto_dkp@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	init_sh_desc_key_aead, .-init_sh_desc_key_aead
	.comm	MOVE_SRC_OUTFIFO,4,4
	.comm	MOVE_OFFSET_SHIFT,4,4
	.comm	MOVE_LEN_SHIFT,4,4
	.comm	MOVE_DEST_CLASS1CTX,4,4
	.comm	LDST_SRCDST_BYTE_OUTFIFO,4,4
	.comm	LDST_IMM,4,4
	.comm	LDST_CLASS_IND_CCB,4,4
	.comm	KEY_ENC,4,4
	.comm	KEY_DEST_MDHA_SPLIT,4,4
	.comm	KEY_DEST_CLASS_REG,4,4
	.comm	JUMP_TEST_ALL,4,4
	.comm	JUMP_JSL,4,4
	.comm	JUMP_COND_SHRD,4,4
	.comm	HDR_SHARE_SERIAL,4,4
	.comm	HDR_SAVECTX,4,4
	.comm	CTR_RFC3686_NONCE_SIZE,4,4
	.comm	CLASS_2,4,4
	.comm	CLASS_1,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_caamalg_desc.c_init_sh_desc_key_aead.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_sh_desc_key_aead, %function
init_sh_desc_key_aead:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	ip, .L19
	ldr	r1, .L19+4
	ldr	ip, [ip]
	ldr	r1, [r1]
	sub	sp, sp, #12
	orr	r1, ip, r1
	mov	r7, r3
	mov	r6, r2
	ldr	r9, [r5]
	ldr	fp, [sp, #52]
	ldr	r10, [sp, #48]
	bl	init_sh_desc
	ldr	r3, .L19+8
	ldr	r2, .L19+12
	ldr	r1, .L19+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r2
	orr	r1, r3, r1
	mov	r0, r4
	bl	append_jump
	cmp	r7, #0
	ldrne	r3, .L19+20
	mov	r8, r0
	ldrne	r3, [r3]
	subne	r9, r9, r3
	cmp	fp, #5
	bgt	.L3
	ldr	r3, .L19+24
	ldr	r2, .L19+28
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L19+32
	orr	r3, r3, r2
	ldr	r2, [r6, #16]
	ldr	r1, [r1]
	cmp	r2, #0
	orr	r3, r3, r1
	ldr	r2, [r6]
	bne	.L17
	mov	r0, r4
	ldr	r1, [r6, #8]
	bl	append_key
.L5:
	ldr	r3, .L19+36
	ldr	r2, .L19+40
	ldr	r1, [r5, #16]
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r1, #0
	orr	r3, r3, r2
	beq	.L6
	str	r3, [sp]
	mov	r2, r9
	mov	r3, r9
	mov	r0, r4
	ldr	r1, [r5, #12]
	bl	append_key_as_imm
	cmp	r7, #0
	bne	.L18
.L8:
	mov	r1, r8
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	set_jump_tgt_here
.L17:
	str	r3, [sp]
	mov	r0, r4
	mov	r3, r2
	ldr	r1, [r6, #12]
	ldr	r2, [r6, #4]
	bl	append_key_as_imm
	b	.L5
.L6:
	mov	r2, r9
	mov	r0, r4
	ldr	r1, [r5, #8]
	bl	append_key
	cmp	r7, #0
	beq	.L8
.L18:
	ldr	r2, .L19+44
	ldr	r3, .L19+48
	ldr	r1, .L19+52
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r0, [r1]
	ldr	r5, .L19+20
	orr	r3, r2, r3
	mov	r1, r10
	ldr	r2, [r5]
	orr	r3, r3, r0
	mov	r0, r4
	bl	append_load_as_imm
	mov	ip, #16
	ldr	r2, .L19+56
	ldr	r3, .L19+60
	ldr	r1, .L19+64
	ldr	lr, [r2]
	ldr	r3, [r3]
	ldr	r2, .L19+68
	ldr	r0, [r1]
	ldr	r2, [r2]
	ldr	r1, [r5]
	orr	r3, r3, lr
	orr	r3, r3, ip, lsl r0
	orr	r1, r3, r1, lsl r2
	mov	r0, r4
	bl	append_move
	b	.L8
.L3:
	mov	r1, r6
	mov	r0, r4
	bl	append_proto_dkp
	b	.L5
.L20:
	.align	2
.L19:
	.word	HDR_SHARE_SERIAL
	.word	HDR_SAVECTX
	.word	JUMP_JSL
	.word	JUMP_TEST_ALL
	.word	JUMP_COND_SHRD
	.word	CTR_RFC3686_NONCE_SIZE
	.word	CLASS_2
	.word	KEY_DEST_MDHA_SPLIT
	.word	KEY_ENC
	.word	CLASS_1
	.word	KEY_DEST_CLASS_REG
	.word	LDST_CLASS_IND_CCB
	.word	LDST_SRCDST_BYTE_OUTFIFO
	.word	LDST_IMM
	.word	MOVE_DEST_CLASS1CTX
	.word	MOVE_SRC_OUTFIFO
	.word	MOVE_OFFSET_SHIFT
	.word	MOVE_LEN_SHIFT
	.size	init_sh_desc_key_aead, .-init_sh_desc_key_aead
	.comm	MOVE_SRC_OUTFIFO,4,4
	.comm	MOVE_OFFSET_SHIFT,4,4
	.comm	MOVE_LEN_SHIFT,4,4
	.comm	MOVE_DEST_CLASS1CTX,4,4
	.comm	LDST_SRCDST_BYTE_OUTFIFO,4,4
	.comm	LDST_IMM,4,4
	.comm	LDST_CLASS_IND_CCB,4,4
	.comm	KEY_ENC,4,4
	.comm	KEY_DEST_MDHA_SPLIT,4,4
	.comm	KEY_DEST_CLASS_REG,4,4
	.comm	JUMP_TEST_ALL,4,4
	.comm	JUMP_JSL,4,4
	.comm	JUMP_COND_SHRD,4,4
	.comm	HDR_SHARE_SERIAL,4,4
	.comm	HDR_SAVECTX,4,4
	.comm	CTR_RFC3686_NONCE_SIZE,4,4
	.comm	CLASS_2,4,4
	.comm	CLASS_1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
