	.file	"extr_aes-spe-glue.c_ppc_ecb_encrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ppc_ecb_encrypt, @function
ppc_ecb_encrypt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 12[rsp]
	call	crypto_blkcipher_ctx@PLT
	mov	ecx, ebx
	mov	rdx, r15
	mov	rsi, r12
	mov	rbp, rax
	mov	eax, DWORD PTR CRYPTO_TFM_REQ_MAY_SLEEP[rip]
	mov	rdi, r14
	not	eax
	and	DWORD PTR 0[r13], eax
	call	blkcipher_walk_init@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	blkcipher_walk_virt@PLT
	mov	r8d, DWORD PTR 12[rsp]
	test	r8d, r8d
	jne	.L5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r12d, r8d
	sub	r12d, eax
.L4:
	mov	ebx, r8d
	xor	eax, eax
	call	spe_begin@PLT
	sub	ebx, r12d
	mov	edx, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR 20[rsp]
	mov	r8d, ebx
	call	ppc_encrypt_ecb@PLT
	xor	eax, eax
	call	spe_end@PLT
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, r13
	call	blkcipher_walk_done@PLT
	mov	r8d, DWORD PTR 12[rsp]
	test	r8d, r8d
	je	.L1
.L5:
	mov	eax, DWORD PTR MAX_BYTES[rip]
	cmp	eax, r8d
	jb	.L13
	mov	eax, DWORD PTR AES_BLOCK_SIZE[rip]
	lea	r12d, -1[rax]
	and	r12d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.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
.L14:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ppc_ecb_encrypt, .-ppc_ecb_encrypt
	.comm	MAX_BYTES,4,4
	.comm	CRYPTO_TFM_REQ_MAY_SLEEP,4,4
	.comm	AES_BLOCK_SIZE,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-spe-glue.c_ppc_ecb_encrypt.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppc_ecb_encrypt, %function
ppc_ecb_encrypt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r8, r3
	ldr	r3, .L14
	sub	sp, sp, #28
	mov	r7, r0
	ldr	r0, [r0, #4]
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	crypto_blkcipher_ctx
	ldr	r3, .L14+4
	mov	r6, r0
	ldr	r3, [r3]
	ldr	r0, [r7]
	mov	r2, r5
	bic	r0, r0, r3
	mov	r1, r4
	mov	r3, r8
	str	r0, [r7]
	add	r0, sp, #8
	bl	blkcipher_walk_init
	mov	r0, r7
	add	r1, sp, #8
	bl	blkcipher_walk_virt
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L1
	ldr	r8, .L14+8
	ldr	r9, .L14+12
.L5:
	ldr	r4, [r8]
	cmp	r4, r3
	ldrcs	r4, [r9]
	subcc	r4, r3, r4
	subcs	r4, r4, #1
	andcs	r4, r4, r3
	sub	r5, r3, r4
	bl	spe_begin
	ldr	r3, [r6]
	ldr	r2, [r6, #4]
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #16]
	str	r5, [sp]
	bl	ppc_encrypt_ecb
	bl	spe_end
	mov	r2, r4
	mov	r0, r7
	add	r1, sp, #8
	bl	blkcipher_walk_done
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L5
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	CRYPTO_TFM_REQ_MAY_SLEEP
	.word	MAX_BYTES
	.word	AES_BLOCK_SIZE
	.size	ppc_ecb_encrypt, .-ppc_ecb_encrypt
	.comm	MAX_BYTES,4,4
	.comm	CRYPTO_TFM_REQ_MAY_SLEEP,4,4
	.comm	AES_BLOCK_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
