	.file	"extr_pwm_bl.c_pwm_backlight_is_linear.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pwm_backlight_is_linear, @function
pwm_backlight_is_linear:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	rsi, QWORD PTR 8[rdi]
	xor	edx, edx
	mov	r8d, DWORD PTR [rsi+rax*4]
	mov	r10d, DWORD PTR [rsi]
	lea	ecx, 1[rax]
	mov	r9, rax
	sub	r8d, r10d
	mov	eax, r8d
	sal	eax, 7
	div	ecx
	mov	edx, 3435973837
	imul	r8, rdx
	shr	r8, 36
	cmp	ecx, 1
	jbe	.L5
	mov	ecx, eax
	mov	edx, r10d
	sub	edx, DWORD PTR 4[rsi]
	shr	ecx, 7
	add	edx, ecx
	cmp	r8d, edx
	jb	.L7
	add	rsi, 8
	lea	edx, -1[r9]
	lea	edi, [rax+rax]
	lea	r9, [rsi+rdx*4]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, edi
	add	rsi, 4
	add	edi, eax
	shr	ecx, 7
	add	ecx, r10d
	sub	ecx, DWORD PTR -4[rsi]
	cmp	r8d, ecx
	jb	.L7
.L3:
	cmp	rsi, r9
	jne	.L4
.L5:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	pwm_backlight_is_linear, .-pwm_backlight_is_linear
	.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_pwm_bl.c_pwm_backlight_is_linear.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pwm_backlight_is_linear, %function
pwm_backlight_is_linear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r3, r4}
	ldr	r5, [r4, r3, lsl #2]
	ldr	r6, [r4]
	add	r7, r3, #1
	sub	r5, r5, r6
	lsl	r0, r5, #7
	mov	r1, r7
	bl	__aeabi_uidiv
	ldr	r3, .L10
	cmp	r7, #1
	umull	r2, r5, r3, r5
	bls	.L5
	ldr	r3, [r4, #4]
	lsr	r5, r5, #4
	sub	r3, r6, r3
	add	r3, r3, r0, lsr #7
	cmp	r5, r3
	bcc	.L7
	mov	r2, #1
	add	lr, r4, #4
	lsl	ip, r0, #1
	b	.L3
.L4:
	ldr	r3, [lr, #4]!
	sub	r3, r6, r3
	add	r3, r3, ip, lsr #7
	cmp	r5, r3
	add	ip, ip, r0
	bcc	.L7
.L3:
	add	r2, r2, #1
	cmp	r2, r7
	bne	.L4
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	-858993459
	.size	pwm_backlight_is_linear, .-pwm_backlight_is_linear
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
