	.file	"extr_s5k6aa.c_s5k6aa_set_user_exposure.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s5k6aa_set_user_exposure, @function
s5k6aa_set_user_exposure:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movsx	rbx, esi
	sar	esi, 31
	imul	rbx, rbx, 1717986919
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	sar	rbx, 34
	sub	ebx, esi
	mov	esi, DWORD PTR REG_SF_USR_EXPOSURE_L[rip]
	movzx	edx, bx
	call	s5k6aa_write@PLT
	test	eax, eax
	je	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, ebx
	mov	esi, DWORD PTR REG_SF_USR_EXPOSURE_H[rip]
	mov	rdi, rbp
	shr	edx, 16
	call	s5k6aa_write@PLT
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR REG_SF_USR_EXPOSURE_CHG[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	s5k6aa_write@PLT
	.cfi_endproc
.LFE0:
	.size	s5k6aa_set_user_exposure, .-s5k6aa_set_user_exposure
	.comm	REG_SF_USR_EXPOSURE_L,4,4
	.comm	REG_SF_USR_EXPOSURE_H,4,4
	.comm	REG_SF_USR_EXPOSURE_CHG,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_s5k6aa.c_s5k6aa_set_user_exposure.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s5k6aa_set_user_exposure, %function
s5k6aa_set_user_exposure:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, lr}
	asr	r4, r1, #31
	smull	r2, r1, r3, r1
	ldr	r3, .L5+4
	rsb	r4, r4, r1, asr #2
	lsl	r2, r4, #16
	ldr	r1, [r3]
	lsr	r2, r2, #16
	mov	r5, r0
	bl	s5k6aa_write
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L5+8
	mov	r0, r5
	ldr	r1, [r3]
	lsr	r2, r4, #16
	bl	s5k6aa_write
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L5+12
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r2, #1
	ldr	r1, [r3]
	b	s5k6aa_write
.L6:
	.align	2
.L5:
	.word	1717986919
	.word	REG_SF_USR_EXPOSURE_L
	.word	REG_SF_USR_EXPOSURE_H
	.word	REG_SF_USR_EXPOSURE_CHG
	.size	s5k6aa_set_user_exposure, .-s5k6aa_set_user_exposure
	.comm	REG_SF_USR_EXPOSURE_L,4,4
	.comm	REG_SF_USR_EXPOSURE_H,4,4
	.comm	REG_SF_USR_EXPOSURE_CHG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
