	.file	"extr_aes_impl.c_aes_init_keysched.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	aes_init_keysched
	.type	aes_init_keysched, @function
aes_init_keysched:
.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	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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, rdx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	aes_impl_get_ops@PLT
	mov	QWORD PTR 8[rsp], rax
	cmp	r13d, 192
	je	.L2
	cmp	r13d, 256
	je	.L3
	cmp	r13d, 128
	je	.L22
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	DWORD PTR [rbx], 12
.L5:
	mov	edi, r13d
	call	CRYPTO_BITS2BYTES@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L6
	xor	r15d, r15d
	lea	r14, 16[rsp]
	test	r12d, r12d
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR 0[rbp+r15*4]
	call	htonl@PLT
	mov	DWORD PTR [r14+r15], eax
	add	r15, 4
	cmp	r12d, r15d
	jg	.L7
.L11:
	mov	rsi, r14
	mov	r14, QWORD PTR 8[rsp]
	mov	edx, r13d
	mov	rdi, rbx
	mov	rax, r14
	call	[QWORD PTR [rax]]
	mov	eax, DWORD PTR AES_32BIT_KS[rip]
	mov	QWORD PTR 8[rbx], r14
	mov	DWORD PTR 4[rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	DWORD PTR [rbx], 10
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR [rbx], 14
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, 4
	mov	rdi, rbp
	lea	r14, 16[rsp]
	call	IS_P2ALIGNED@PLT
	test	rax, rax
	je	.L9
	mov	rdx, r14
	xor	eax, eax
	test	r12d, r12d
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ecx, DWORD PTR 0[rbp+rax*4]
	add	rax, 8
	add	rdx, 4
	mov	DWORD PTR -4[rdx], ecx
	cmp	r12d, eax
	jg	.L10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, rbp
	call	bcopy@PLT
	jmp	.L11
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	aes_init_keysched, .-aes_init_keysched
	.comm	AES_32BIT_KS,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_aes_impl.c_aes_init_keysched.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aes_init_keysched
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_init_keysched, %function
aes_init_keysched:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L23
	mov	r8, r1
	sub	sp, sp, #48
	mov	r6, r0
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	aes_impl_get_ops
	cmp	r8, #192
	mov	r10, r0
	beq	.L2
	cmp	r8, #256
	beq	.L3
	cmp	r8, #128
	moveq	r3, #10
	streq	r3, [r9]
	beq	.L5
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r3, #14
	str	r3, [r9]
.L5:
	mov	r0, r8
	bl	CRYPTO_BITS2BYTES
	ldr	r4, [r10, #4]
	mov	r7, r0
	cmp	r4, #0
	beq	.L6
	cmp	r0, #0
	movgt	r4, #0
	addgt	r5, sp, #8
	ble	.L20
.L12:
	ldr	r0, [r6, r4, lsl #2]
	bl	htonl
	add	r4, r4, #4
	cmp	r7, r4
	str	r0, [r5, #4]!
	bgt	.L12
.L20:
	add	r1, sp, #12
.L11:
	ldr	r3, [r10]
	mov	r2, r8
	mov	r0, r9
	blx	r3
	ldr	r3, .L23+4
	str	r10, [r9, #8]
	ldr	r3, [r3]
	str	r3, [r9, #4]
	b	.L1
.L2:
	mov	r3, #12
	str	r3, [r9]
	b	.L5
.L6:
	mov	r1, #4
	mov	r0, r6
	bl	IS_P2ALIGNED
	cmp	r0, #0
	add	r1, sp, #12
	beq	.L9
	cmp	r7, #0
	movgt	r3, r1
	ble	.L11
.L10:
	ldr	r2, [r6, r4, lsl #2]
	add	r4, r4, #8
	cmp	r7, r4
	str	r2, [r3], #4
	bgt	.L10
	b	.L11
.L9:
	mov	r2, r7
	mov	r0, r6
	str	r1, [sp, #4]
	bl	bcopy
	ldr	r1, [sp, #4]
	b	.L11
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	AES_32BIT_KS
	.size	aes_init_keysched, .-aes_init_keysched
	.comm	AES_32BIT_KS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
