	.file	"extr_ov534.c_sccb_reg_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sccb write: %02x %02x"
.LC1:
	.string	"sccb_reg_write failed"
	.text
	.p2align 4
	.type	sccb_reg_write, @function
sccb_reg_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, edx
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	mov	edx, esi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR D_USBO[rip]
	call	PDEBUG@PLT
	mov	esi, DWORD PTR OV534_REG_SUBADDR[rip]
	mov	edx, r13d
	mov	rdi, rbx
	call	ov534_reg_write@PLT
	mov	esi, DWORD PTR OV534_REG_WRITE[rip]
	mov	edx, r12d
	mov	rdi, rbx
	call	ov534_reg_write@PLT
	mov	edx, DWORD PTR OV534_OP_WRITE_3[rip]
	mov	esi, DWORD PTR OV534_REG_OPERATION[rip]
	mov	rdi, rbx
	call	ov534_reg_write@PLT
	mov	rdi, rbx
	call	sccb_check_status@PLT
	test	eax, eax
	je	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	err@PLT
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sccb_reg_write, .-sccb_reg_write
	.comm	OV534_REG_WRITE,4,4
	.comm	OV534_REG_SUBADDR,4,4
	.comm	OV534_REG_OPERATION,4,4
	.comm	OV534_OP_WRITE_3,4,4
	.comm	EIO,4,4
	.comm	D_USBO,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_ov534.c_sccb_reg_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sccb write: %02x %02x\000"
	.align	2
.LC1:
	.ascii	"sccb_reg_write failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sccb_reg_write, %function
sccb_reg_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	mov	r5, r2
	ldr	r1, .L5
	mov	r3, r2
	ldr	r0, [r1]
	mov	r2, r6
	ldr	r1, .L5+4
	bl	PDEBUG
	ldr	r3, .L5+8
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	bl	ov534_reg_write
	ldr	r3, .L5+12
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	ov534_reg_write
	ldr	r3, .L5+16
	ldr	r2, .L5+20
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	bl	ov534_reg_write
	mov	r0, r4
	bl	sccb_check_status
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r0, .L5+24
	bl	err
	ldr	r3, .L5+28
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	D_USBO
	.word	.LC0
	.word	OV534_REG_SUBADDR
	.word	OV534_REG_WRITE
	.word	OV534_REG_OPERATION
	.word	OV534_OP_WRITE_3
	.word	.LC1
	.word	EIO
	.size	sccb_reg_write, .-sccb_reg_write
	.comm	OV534_REG_WRITE,4,4
	.comm	OV534_REG_SUBADDR,4,4
	.comm	OV534_REG_OPERATION,4,4
	.comm	OV534_OP_WRITE_3,4,4
	.comm	EIO,4,4
	.comm	D_USBO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
