	.file	"extr_vf_pseudocolor.c_pseudocolor_filter_16.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pseudocolor_filter_16, @function
pseudocolor_filter_16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	mov	edx, DWORD PTR 56[rsp]
	mov	esi, DWORD PTR 48[rsp]
	mov	eax, DWORD PTR 64[rsp]
	mov	r11, QWORD PTR 72[rsp]
	test	ebp, ebp
	jle	.L1
	mov	r14d, esi
	mov	r13d, edx
	mov	r12d, eax
	shr	r14d, 31
	shr	r13d, 31
	shr	r12d, 31
	add	r14d, esi
	add	r13d, edx
	xor	esi, esi
	sar	r14d
	add	r12d, eax
	sar	r13d
	lea	edx, -1[rbx]
	sar	r12d
	movsx	r14, r14d
	movsx	r13, r13d
	sal	r14, 3
	movsx	r12, r12d
	sal	r13, 3
	sal	r12, 3
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	test	ebx, ebx
	jg	.L6
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L16:
	movsx	r10, r10d
	mov	QWORD PTR [r9+rax*8], r10
	lea	r10, 1[rax]
	cmp	rax, rdx
	je	.L8
.L9:
	mov	rax, r10
.L6:
	mov	r10, QWORD PTR [rcx+rax*8]
	cvttss2si	r10d, DWORD PTR [r11+r10*4]
	test	r10d, r10d
	js	.L4
	cmp	r10d, edi
	jle	.L16
.L4:
	mov	r10, QWORD PTR [r8+rax*8]
	mov	QWORD PTR [r9+rax*8], r10
	lea	r10, 1[rax]
	cmp	rax, rdx
	jne	.L9
.L8:
	add	esi, 1
	add	rcx, r14
	add	r8, r13
	add	r9, r12
	cmp	ebp, esi
	jne	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pseudocolor_filter_16, .-pseudocolor_filter_16
	.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_vf_pseudocolor.c_pseudocolor_filter_16.c"
	.text
	.global	__aeabi_f2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pseudocolor_filter_16, %function
pseudocolor_filter_16:
	@ args = 24, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	cmp	r2, #0
	mov	ip, r1
	str	r1, [sp, #4]
	add	r1, sp, #72
	mov	r6, r0
	str	r2, [sp, #8]
	mov	r0, r3
	str	r3, [sp]
	ldr	r8, [sp, #64]
	ldr	r5, [sp, #68]
	ldm	r1, {r1, r2, r3, r7}
	ble	.L1
	mov	r10, #0
	add	r1, r1, r1, lsr #31
	add	r2, r2, r2, lsr #31
	add	r3, r3, r3, lsr #31
	asr	fp, r1, #1
	asr	r2, r2, #1
	asr	r3, r3, #1
	add	r4, r0, ip, lsl #2
	lsl	r1, fp, #2
	lsl	r2, r2, #2
	lsl	r3, r3, #2
	str	r1, [sp, #12]
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r4, r4, #4
.L3:
	ldr	r3, [sp, #4]
	cmp	r3, #0
	ble	.L8
	mov	r9, #0
	ldr	r3, [sp]
	sub	fp, r3, #4
.L6:
	ldr	r3, [fp, #4]!
	ldr	r0, [r7, r3, lsl #2]	@ float
	bl	__aeabi_f2iz
	mvn	r3, r0
	cmp	r0, r6
	lsr	r3, r3, #31
	movgt	r3, #0
	cmp	r3, #0
	ldreq	r3, [r8, r9, lsl #2]
	strne	r0, [r5, r9, lsl #2]
	streq	r3, [r5, r9, lsl #2]
	cmp	r4, fp
	add	r9, r9, #1
	bne	.L6
.L8:
	ldr	r3, [sp, #8]
	add	r10, r10, #1
	ldr	r2, [sp]
	cmp	r3, r10
	ldr	r3, [sp, #12]
	add	r2, r2, r3
	str	r2, [sp]
	ldr	r2, [sp, #16]
	add	r4, r4, r3
	add	r8, r8, r2
	ldr	r2, [sp, #20]
	add	r5, r5, r2
	bne	.L3
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	pseudocolor_filter_16, .-pseudocolor_filter_16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
