	.file	"extr_s5k4ecgx.c_s5k4ecgx_i2c_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"i2c_write: 0x%04x : 0x%04x\n"
	.text
	.p2align 4
	.type	s5k4ecgx_i2c_write, @function
s5k4ecgx_i2c_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, esi
	sar	eax, 8
	mov	DWORD PTR [rsp], eax
	movzx	eax, sil
	mov	rsi, rsp
	mov	DWORD PTR 4[rsp], eax
	mov	eax, edx
	sar	eax, 8
	mov	DWORD PTR 8[rsp], eax
	movzx	eax, dl
	mov	edx, 4
	mov	DWORD PTR 12[rsp], eax
	call	i2c_master_send@PLT
	mov	r9d, ebp
	mov	r8d, ebx
	mov	rdx, r13
	mov	esi, DWORD PTR debug[rip]
	mov	r12d, eax
	mov	edi, 4
	lea	rcx, .LC0[rip]
	call	v4l2_dbg@PLT
	cmp	r12d, 4
	mov	eax, 0
	cmove	r12d, eax
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	s5k4ecgx_i2c_write, .-s5k4ecgx_i2c_write
	.comm	debug,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_s5k4ecgx.c_s5k4ecgx_i2c_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"i2c_write: 0x%04x : 0x%04x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s5k4ecgx_i2c_write, %function
s5k4ecgx_i2c_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r2
	ldr	ip, .L7
	sub	sp, sp, #36
	asr	r3, r1, #8
	and	r2, r1, #255
	mov	r6, r1
	asr	r1, r5, #8
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	str	r3, [sp, #12]
	str	r2, [sp, #16]
	and	r3, r5, #255
	mov	r2, #4
	str	r1, [sp, #20]
	add	r1, sp, #12
	mov	r7, r0
	str	r3, [sp, #24]
	bl	i2c_master_send
	mov	r4, r0
	ldr	r3, .L7+4
	str	r6, [sp]
	str	r5, [sp, #4]
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, #4
	ldr	r3, .L7+8
	bl	v4l2_dbg
	ldr	r3, .L7
	cmp	r4, #4
	moveq	r4, #0
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	debug
	.word	.LC0
	.size	s5k4ecgx_i2c_write, .-s5k4ecgx_i2c_write
	.comm	debug,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
