	.file	"extr_camif-regs.c_camif_hw_enable_scaler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	camif_hw_enable_scaler
	.type	camif_hw_enable_scaler, @function
camif_hw_enable_scaler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	esi, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR 8[rdi]
	call	S3C_CAMIF_REG_CISCCTRL@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, eax
	mov	ebp, eax
	call	camif_read@PLT
	mov	edx, eax
	test	r12d, r12d
	je	.L2
	mov	edi, DWORD PTR [rbx]
	mov	esi, ebp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	or	edx, DWORD PTR CISCCTRL_SCALERSTART[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	camif_write@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR CISCCTRL_SCALERSTART[rip]
	mov	edi, DWORD PTR [rbx]
	mov	esi, ebp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	not	eax
	pop	r12
	.cfi_def_cfa_offset 8
	and	edx, eax
	jmp	camif_write@PLT
	.cfi_endproc
.LFE0:
	.size	camif_hw_enable_scaler, .-camif_hw_enable_scaler
	.comm	CISCCTRL_SCALERSTART,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_camif-regs.c_camif_hw_enable_scaler.c"
	.text
	.align	2
	.global	camif_hw_enable_scaler
	.syntax unified
	.arm
	.fpu softvfp
	.type	camif_hw_enable_scaler, %function
camif_hw_enable_scaler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r6, r1
	ldr	r0, [r0, #8]
	ldr	r1, [r4, #4]
	bl	S3C_CAMIF_REG_CISCCTRL
	mov	r5, r0
	ldr	r0, [r4]
	mov	r1, r5
	bl	camif_read
	ldr	r3, .L6
	cmp	r6, #0
	ldr	r2, [r3]
	mov	r1, r5
	orrne	r2, r0, r2
	biceq	r2, r0, r2
	ldr	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	camif_write
.L7:
	.align	2
.L6:
	.word	CISCCTRL_SCALERSTART
	.size	camif_hw_enable_scaler, .-camif_hw_enable_scaler
	.comm	CISCCTRL_SCALERSTART,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
