	.file	"extr_algo_x.c_XDeintNxNDetect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	XDeintNxNDetect, @function
XDeintNxNDetect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	eax, -2[rdx]
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	DWORD PTR 28[rsp], ecx
	mov	DWORD PTR 24[rsp], eax
	test	eax, eax
	jle	.L7
	mov	eax, ecx
	lea	r14d, [rsi+rsi]
	mov	QWORD PTR 16[rsp], rdi
	xor	ebx, ebx
	shr	eax, 31
	movsx	r14, r14d
	mov	DWORD PTR 40[rsp], 0
	xor	ebp, ebp
	add	eax, ecx
	mov	DWORD PTR 12[rsp], 0
	movsx	r13, esi
	sar	eax
	mov	DWORD PTR 44[rsp], eax
	lea	rax, 0[0+r14*8]
	mov	QWORD PTR 32[rsp], rax
	lea	eax, -1[rcx]
	lea	r12, 8[rdi+rax*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR 28[rsp]
	test	eax, eax
	jle	.L3
	mov	r15, QWORD PTR 16[rsp]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR [r15]
	sub	rdi, QWORD PTR [r15+r13*8]
	call	ssd@PLT
	mov	rdi, QWORD PTR [r15]
	sub	rdi, QWORD PTR [r15+r14*8]
	add	r15, 8
	add	ebx, eax
	call	ssd@PLT
	add	ebp, eax
	cmp	r15, r12
	jne	.L4
.L3:
	cmp	ebp, ebx
	jge	.L5
	xor	eax, eax
	cmp	DWORD PTR 44[rsp], ebx
	setl	al
	add	DWORD PTR 40[rsp], eax
.L5:
	mov	rcx, QWORD PTR 32[rsp]
	add	DWORD PTR 12[rsp], 2
	add	QWORD PTR 16[rsp], rcx
	mov	eax, DWORD PTR 12[rsp]
	add	r12, rcx
	cmp	eax, DWORD PTR 24[rsp]
	jl	.L6
	xor	eax, eax
	cmp	DWORD PTR 40[rsp], 1
	setg	al
	add	rsp, 56
	.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
.L7:
	.cfi_restore_state
	add	rsp, 56
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	XDeintNxNDetect, .-XDeintNxNDetect
	.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_algo_x.c_XDeintNxNDetect.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	XDeintNxNDetect, %function
XDeintNxNDetect:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	r2, r2, #2
	sub	sp, sp, #36
	cmp	r2, #0
	str	r2, [sp, #4]
	str	r3, [sp, #8]
	ble	.L7
	mov	r2, #0
	mov	r8, r2
	mov	r7, r0
	mov	r10, r8
	add	r6, r0, r3, lsl #2
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	mov	r4, r2
	str	r2, [sp, #24]
	lsl	r2, r1, #3
	lsl	r1, r1, #2
	str	r3, [sp, #28]
	sub	r3, r1, #4
	str	r3, [sp, #16]
	sub	r3, r2, #4
	str	r2, [sp, #12]
	sub	r6, r6, #4
	str	r3, [sp, #20]
.L6:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	ble	.L3
	ldr	r3, [sp, #16]
	sub	r9, r7, #4
	add	fp, r3, r7
	ldr	r3, [sp, #20]
	add	r5, r3, r7
.L4:
	ldr	r0, [r9, #4]!
	ldr	r3, [fp, #4]!
	sub	r0, r0, r3
	bl	ssd
	ldr	r2, [r9]
	ldr	r3, [r5, #4]!
	add	r4, r4, r0
	sub	r0, r2, r3
	bl	ssd
	cmp	r9, r6
	add	r10, r10, r0
	bne	.L4
.L3:
	cmp	r10, r4
	bge	.L5
	ldr	r3, [sp, #28]
	cmp	r3, r4
	ldrlt	r3, [sp, #24]
	addlt	r3, r3, #1
	strlt	r3, [sp, #24]
.L5:
	ldr	r3, [sp, #4]
	add	r8, r8, #2
	cmp	r8, r3
	ldr	r3, [sp, #12]
	add	r7, r7, r3
	add	r6, r6, r3
	blt	.L6
	ldr	r3, [sp, #24]
	cmp	r3, #1
	movle	r0, #0
	movgt	r0, #1
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r0, #0
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	XDeintNxNDetect, .-XDeintNxNDetect
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
