	.file	"extr_algapi.c___crypto_xor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__crypto_xor
	.type	__crypto_xor, @function
__crypto_xor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS[rip]
	call	IS_ENABLED@PLT
	test	rax, rax
	jne	.L21
	mov	edi, ebx
	mov	eax, ebx
	mov	edx, 7
	mov	r13d, 8
	xor	edi, ebp
	xor	eax, r12d
	or	edi, eax
	and	edi, 7
	jne	.L46
	test	rbx, rdx
	jne	.L44
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r14d, r13d
	and	r14d, 7
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR [rbx], ecx
	add	rbp, 32
	add	rbx, 32
	add	r12, 32
	sub	r15d, 8
.L6:
	mov	edi, DWORD PTR CONFIG_64BIT[rip]
	call	IS_ENABLED@PLT
	test	rax, rax
	je	.L7
	cmp	r15d, 7
	jbe	.L7
	mov	eax, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
	mov	ecx, eax
	xor	ecx, esi
	test	r14d, r14d
	je	.L8
.L9:
	test	r13b, 3
	jne	.L11
	lea	ecx, -4[r15]
	xor	edx, edx
	shr	ecx, 2
	add	rcx, 1
	sal	rcx, 4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR 0[rbp+rdx]
	mov	esi, DWORD PTR [r12+rdx]
.L13:
	xor	eax, esi
	mov	DWORD PTR [rbx+rdx], eax
	add	rdx, 16
	cmp	rdx, rcx
	jne	.L12
	add	rbx, rdx
	add	rbp, rdx
	add	r12, rdx
	and	r15d, 3
.L10:
	cmp	r15d, 1
	jbe	.L14
	mov	eax, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
.L11:
	and	r13d, 1
	jne	.L15
	lea	ecx, -2[r15]
	xor	edx, edx
	shr	ecx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR 8[rbp+rdx*8]
	mov	esi, DWORD PTR 8[r12+rdx*8]
	add	rdx, 1
.L17:
	xor	eax, esi
	mov	DWORD PTR [rbx+rdx*8], eax
	cmp	rdx, rcx
	jne	.L16
	lea	rax, 8[0+rdx*8]
	and	r15d, 1
	add	rbx, rax
	add	rbp, rax
	add	r12, rax
.L14:
	test	r15d, r15d
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
	xor	edx, edx
.L20:
	lea	rcx, 4[0+rdx*4]
	xor	edx, edx
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L47:
	mov	eax, DWORD PTR 0[rbp+rdx]
	mov	esi, DWORD PTR [r12+rdx]
.L19:
	xor	eax, esi
	mov	DWORD PTR [rbx+rdx], eax
	add	rdx, 4
	cmp	rdx, rcx
	jne	.L47
.L1:
	add	rsp, 8
	.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
.L48:
	.cfi_restore_state
	add	r12, 4
	mov	eax, DWORD PTR 0[rbp]
	add	rbx, 4
	add	rbp, 4
	xor	eax, DWORD PTR -4[r12]
	sub	r15d, 1
	mov	DWORD PTR -4[rbx], eax
	test	rbx, rdx
	je	.L2
.L44:
	test	r15d, r15d
	jne	.L48
	mov	edi, DWORD PTR CONFIG_64BIT[rip]
	add	rsp, 8
	.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
	jmp	IS_ENABLED@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	xor	r13d, r13d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	r15d, 3
	jbe	.L10
	mov	eax, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r12]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L46:
	call	__ffs@PLT
	mov	r13d, 1
	mov	ecx, eax
	sal	r13d, cl
	lea	edx, -1[r13]
	movsx	rdx, edx
	test	rbx, rdx
	jne	.L44
	jmp	.L2
.L15:
	lea	edx, -1[r15]
	jmp	.L20
	.cfi_endproc
.LFE0:
	.size	__crypto_xor, .-__crypto_xor
	.comm	CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS,4,4
	.comm	CONFIG_64BIT,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_algapi.c___crypto_xor.c"
	.text
	.align	2
	.global	__crypto_xor
	.syntax unified
	.arm
	.fpu softvfp
	.type	__crypto_xor, %function
__crypto_xor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L46
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	ldr	r0, [ip]
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	bl	IS_ENABLED
	cmp	r0, #0
	bne	.L21
	eor	r0, r5, fp
	eor	r3, r6, fp
	orr	r0, r0, r3
	ands	r0, r0, #3
	moveq	r1, #3
	moveq	r4, #4
	bne	.L43
	tst	fp, r1
	bne	.L41
.L2:
	ldr	r8, .L46+4
	and	r9, r4, #7
	b	.L6
.L44:
	ldr	r10, [r5]
	ldr	ip, [r6]
	cmp	r9, #0
	add	fp, fp, #32
	eor	ip, ip, r10
	bne	.L9
	str	ip, [fp, #-32]
	add	r5, r5, #32
	add	r6, r6, #32
	sub	r7, r7, #8
.L6:
	ldr	r0, [r8]
	bl	IS_ENABLED
	cmp	r0, #0
	cmpne	r7, #7
	mov	lr, fp
	bhi	.L44
	cmp	r7, #3
	bls	.L10
	ldr	r10, [r5]
	ldr	ip, [r6]
	eor	ip, ip, r10
.L9:
	ands	r3, r4, #3
	bne	.L11
	sub	r2, r7, #4
	lsr	r2, r2, #2
	add	r1, r2, #1
	b	.L13
.L12:
	ldr	r10, [r5, r3, lsl #4]
	ldr	ip, [r6, r3, lsl #4]
	eor	ip, ip, r10
.L13:
	cmp	r3, r2
	str	ip, [lr, r3, lsl #4]
	add	r3, r3, #1
	bne	.L12
	add	lr, lr, r1, lsl #4
	add	r5, r5, r1, lsl #4
	add	r6, r6, r1, lsl #4
	and	r7, r7, #3
.L10:
	cmp	r7, #1
	bls	.L14
	ldr	r10, [r5]
	ldr	ip, [r6]
	eor	ip, ip, r10
.L11:
	ands	r0, r4, #1
	bne	.L15
	sub	r3, r7, #2
	lsr	r3, r3, #1
	add	r2, r3, #1
	b	.L17
.L16:
	ldr	r10, [r5, r0, lsl #3]
	ldr	ip, [r6, r0, lsl #3]
	eor	ip, ip, r10
.L17:
	cmp	r0, r3
	str	ip, [lr, r0, lsl #3]
	add	r0, r0, #1
	bne	.L16
	add	lr, lr, r2, lsl #3
	add	r5, r5, r2, lsl #3
	add	r6, r6, r2, lsl #3
	and	r7, r7, #1
.L14:
	cmp	r7, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r7, #0
	ldr	r10, [r5]
	ldr	ip, [r6]
	eor	ip, ip, r10
.L19:
	sub	r7, r7, #1
	cmn	r7, #1
	str	ip, [lr], #4
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r10, [r5, #4]!
	ldr	ip, [r6, #4]!
	eor	ip, ip, r10
	b	.L19
.L45:
	ldr	r3, [r5], #4
	ldr	r2, [r6], #4
	sub	r7, r7, #1
	eor	r3, r3, r2
	str	r3, [fp], #4
	tst	fp, r1
	beq	.L2
.L41:
	cmp	r7, #0
	bne	.L45
	ldr	r3, .L46+4
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	IS_ENABLED
.L21:
	mov	r4, #0
	b	.L2
.L43:
	bl	__ffs
	mov	r4, #1
	lsl	r4, r4, r0
	sub	r1, r4, #1
	tst	fp, r1
	bne	.L41
	b	.L2
.L15:
	sub	r7, r7, #1
	b	.L19
.L47:
	.align	2
.L46:
	.word	CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
	.word	CONFIG_64BIT
	.size	__crypto_xor, .-__crypto_xor
	.comm	CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS,4,4
	.comm	CONFIG_64BIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
