	.file	"extr_se401.c_se401_set_exposure.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	se401_set_exposure, @function
se401_set_exposure:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR flickerless[rip]
	mov	eax, esi
	sal	eax, 5
	cmp	edx, 50
	je	.L5
	cmp	edx, 60
	jne	.L3
	movsx	rsi, eax
	sar	eax, 31
	imul	rsi, rsi, 1583294765
	sar	rsi, 47
	sub	esi, eax
	imul	eax, esi, 88889
.L3:
	mov	edx, eax
	sar	edx, 5
	mov	DWORD PTR [rdi], edx
	mov	edx, eax
	sar	edx, 16
	and	edx, 255
	mov	DWORD PTR 4[rdi], edx
	movzx	edx, ah
	and	eax, 255
	mov	DWORD PTR 8[rdi], edx
	mov	DWORD PTR 12[rdi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	rsi, eax
	imul	rsi, rsi, -1656147635
	shr	rsi, 32
	add	esi, eax
	sar	eax, 31
	sar	esi, 16
	sub	esi, eax
	imul	eax, esi, 106667
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	se401_set_exposure, .-se401_set_exposure
	.comm	flickerless,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_se401.c_se401_set_exposure.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	se401_set_exposure, %function
se401_set_exposure:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L6
	lsl	r1, r1, #5
	ldr	r3, [r3]
	cmp	r3, #50
	beq	.L5
	cmp	r3, #60
	bne	.L3
	ldr	r2, .L6+4
	asr	r3, r1, #31
	smull	ip, r1, r2, r1
	ldr	r2, .L6+8
	rsb	r1, r3, r1, asr #15
	mul	r1, r2, r1
.L3:
	asr	r2, r1, #16
	asr	r3, r1, #8
	asr	ip, r1, #5
	and	r2, r2, #255
	and	r3, r3, #255
	and	r1, r1, #255
	stmib	r0, {r2, r3}
	str	ip, [r0]
	str	r1, [r0, #12]
	bx	lr
.L5:
	ldr	r3, .L6+12
	asr	r2, r1, #31
	smull	ip, r3, r1, r3
	ldr	ip, .L6+16
	add	r1, r3, r1
	rsb	r1, r2, r1, asr #16
	mul	r1, ip, r1
	b	.L3
.L7:
	.align	2
.L6:
	.word	flickerless
	.word	1583294765
	.word	88889
	.word	-1656147635
	.word	106667
	.size	se401_set_exposure, .-se401_set_exposure
	.comm	flickerless,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
