	.file	"extr_scaler_filter.c_validate_filter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Out X = %d => In X = %d\n"
.LC1:
	.string	"Out Y = %d => In Y = %d\n"
	.text
	.p2align 4
	.type	validate_filter, @function
validate_filter:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	eax, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR [rdi]
	sub	esi, DWORD PTR 32[rdi]
	test	eax, eax
	jle	.L2
	lea	r9d, -1[rax]
	mov	r8, QWORD PTR 40[rdi]
	xor	eax, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	test	ecx, ecx
	js	.L13
	lea	rdx, 1[rax]
	cmp	r9, rax
	je	.L2
	mov	rax, rdx
.L6:
	mov	ecx, DWORD PTR [r8+rax*4]
	mov	edx, eax
	cmp	ecx, esi
	jle	.L17
.L13:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR 12[rdi]
	mov	esi, DWORD PTR 8[rdi]
	sub	esi, DWORD PTR 16[rdi]
	test	eax, eax
	jle	.L11
	lea	r8d, -1[rax]
	mov	rdi, QWORD PTR 24[rdi]
	xor	eax, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	ecx, esi
	jg	.L14
	lea	rdx, 1[rax]
	cmp	r8, rax
	je	.L11
	mov	rax, rdx
.L9:
	mov	ecx, DWORD PTR [rdi+rax*4]
	mov	edx, eax
	test	ecx, ecx
	jns	.L18
.L14:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	call	fprintf@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	validate_filter, .-validate_filter
	.comm	stderr,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_scaler_filter.c_validate_filter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Out X = %d => In X = %d\012\000"
	.align	2
.LC1:
	.ascii	"Out Y = %d => In Y = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_filter, %function
validate_filter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0, #4]
	ldr	lr, [r0]
	ldr	r3, [r0, #24]
	cmp	r4, #0
	sub	lr, lr, r3
	ble	.L2
	ldr	r1, [r0, #28]
	mov	r2, #0
	sub	r1, r1, #4
	b	.L5
.L3:
	add	r2, r2, #1
	cmp	r2, r4
	beq	.L2
.L5:
	ldr	r3, [r1, #4]!
	cmp	r3, lr
	movle	ip, #0
	movgt	ip, #1
	orrs	ip, ip, r3, lsr #31
	beq	.L3
	ldr	r1, .L13
	ldr	r0, [r1]
	ldr	r1, .L13+4
	bl	fprintf
	mov	r0, #0
	pop	{r4, pc}
.L2:
	ldr	lr, [r0, #12]
	ldr	ip, [r0, #8]
	ldr	r3, [r0, #16]
	cmp	lr, #0
	sub	ip, ip, r3
	ble	.L8
	ldr	r1, [r0, #20]
	mov	r2, #0
	sub	r1, r1, #4
	b	.L7
.L6:
	add	r2, r2, #1
	cmp	r2, lr
	beq	.L8
.L7:
	ldr	r3, [r1, #4]!
	cmp	r3, ip
	movle	r0, #0
	movgt	r0, #1
	orrs	r0, r0, r3, lsr #31
	beq	.L6
	ldr	r1, .L13
	ldr	r0, [r1]
	ldr	r1, .L13+8
	bl	fprintf
	mov	r0, #0
	pop	{r4, pc}
.L8:
	mov	r0, #1
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	validate_filter, .-validate_filter
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
