	.file	"extr_13286.c_arg1_imul_key_xor_arg2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	arg1_imul_key_xor_arg2
	.type	arg1_imul_key_xor_arg2, @function
arg1_imul_key_xor_arg2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	edx, edx
	jle	.L8
	movsx	r9, r9d
	movsx	r8, r8d
	xor	ebp, ebp
	xor	r10d, r10d
	lea	r11, [rdi+r9*8]
	lea	rbx, [rdi+r8*8]
	xor	r9d, r9d
	.p2align 4,,10
	.p2align 3
.L3:
	movsx	rax, r9d
	cmp	QWORD PTR [rdi+rax*8], 0
	jne	.L7
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r8, QWORD PTR 8[rbx+rax*8]
	imul	r8, rcx
	xor	r8, QWORD PTR 8[r11+rax*8]
	cmp	r12, r8
	je	.L14
	add	rax, 1
	add	r9d, 1
	xor	r10d, r10d
	xor	ebp, ebp
	cmp	QWORD PTR [rdi+rax*8], 0
	je	.L15
.L7:
	movsx	r8, r10d
	mov	r9d, eax
	mov	r12, QWORD PTR [rsi+r8*8]
	mov	r8, QWORD PTR [rbx+rax*8]
	imul	r8, rcx
	xor	r8, QWORD PTR [r11+rax*8]
	cmp	r8, r12
	jne	.L4
	add	r9d, 2
	add	ebp, 1
	add	r10d, 1
.L5:
	cmp	edx, r10d
	jg	.L3
	xor	eax, eax
	cmp	edx, ebp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	sete	al
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	add	r9d, 3
	add	ebp, 1
	add	r10d, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r10d, 1
	jmp	.L5
.L13:
	add	r10d, 1
	jmp	.L5
.L8:
	xor	ebp, ebp
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	cmp	edx, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	sete	al
	ret
	.cfi_endproc
.LFE0:
	.size	arg1_imul_key_xor_arg2, .-arg1_imul_key_xor_arg2
	.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_13286.c_arg1_imul_key_xor_arg2.c"
	.text
	.align	2
	.global	arg1_imul_key_xor_arg2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arg1_imul_key_xor_arg2, %function
arg1_imul_key_xor_arg2:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, #0
	subs	r10, r2, #0
	movgt	r4, r9
	movgt	r6, r9
	ldr	fp, [sp, #40]
	ble	.L3
.L2:
	ldr	r2, [r0, r6, lsl #2]
	cmp	r2, #0
	addeq	r4, r4, #1
	beq	.L5
	ldr	r2, [sp, #36]
	add	ip, fp, r6
	add	lr, r2, r6
	add	lr, r0, lr, lsl #2
	add	ip, r0, ip, lsl #2
	add	r8, r0, r6, lsl #2
	b	.L7
.L4:
	ldr	r2, [lr]
	ldr	r7, [ip]
	mul	r2, r3, r2
	eor	r2, r2, r7
	cmp	r5, r2
	beq	.L13
	mov	r4, #0
	ldr	r2, [r8, #4]!
	mov	r9, r4
	cmp	r2, r4
	add	r6, r6, #1
	beq	.L14
.L7:
	ldr	r2, [lr], #4
	ldr	r7, [ip], #4
	mul	r2, r3, r2
	ldr	r5, [r1, r4, lsl #2]
	eor	r2, r2, r7
	cmp	r2, r5
	bne	.L4
	add	r6, r6, #2
	add	r9, r9, #1
	add	r4, r4, #1
.L5:
	cmp	r10, r4
	bgt	.L2
.L3:
	sub	r0, r10, r9
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	add	r6, r6, #3
	add	r9, r9, #1
	add	r4, r4, #1
	b	.L5
.L14:
	mov	r4, #1
	b	.L5
	.size	arg1_imul_key_xor_arg2, .-arg1_imul_key_xor_arg2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
