	.file	"extr_vsp1_hgt.c_hgt_hue_areas_try_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hgt_hue_areas_try_ctrl, @function
hgt_hue_areas_try_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR HGT_NUM_HUE_AREAS[rip]
	mov	rdx, QWORD PTR [rdi]
	lea	edi, -2[rax+rax]
	xor	eax, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	lea	ecx, 2[rax]
	mov	rsi, QWORD PTR 8[rdx+rax*8]
	add	rax, 1
	cmp	rsi, QWORD PTR [rdx+rcx*8]
	jg	.L5
.L2:
	cmp	rax, rdi
	jne	.L4
	mov	rcx, QWORD PTR [rdx]
	xor	eax, eax
	cmp	rcx, QWORD PTR 8[rdx]
	jle	.L1
	cmp	rcx, QWORD PTR 88[rdx]
	jl	.L5
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	hgt_hue_areas_try_ctrl, .-hgt_hue_areas_try_ctrl
	.comm	HGT_NUM_HUE_AREAS,4,4
	.comm	EINVAL,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_vsp1_hgt.c_hgt_hue_areas_try_ctrl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hgt_hue_areas_try_ctrl, %function
hgt_hue_areas_try_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	str	lr, [sp, #-4]!
	ldr	ip, [r3]
	ldr	lr, [r0]
	lsl	ip, ip, #1
	mov	r3, #1
	add	r2, lr, #4
	sub	ip, ip, #1
	b	.L2
.L4:
	ldr	r0, [r2]
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r0, r1
	bgt	.L5
.L2:
	cmp	r3, ip
	bne	.L4
	ldr	r3, [lr]
	ldr	r2, [lr, #4]
	cmp	r3, r2
	ble	.L6
	ldr	r2, [lr, #44]
	cmp	r3, r2
	blt	.L5
.L6:
	mov	r0, #0
	ldr	pc, [sp], #4
.L5:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	ldr	pc, [sp], #4
.L11:
	.align	2
.L10:
	.word	HGT_NUM_HUE_AREAS
	.word	EINVAL
	.size	hgt_hue_areas_try_ctrl, .-hgt_hue_areas_try_ctrl
	.comm	HGT_NUM_HUE_AREAS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
