	.file	"extr_dce_i2c_sw.c_i2c_write_sw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i2c_write_sw, @function
i2c_write_sw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	write_byte_sw@PLT
	test	eax, eax
	je	.L2
	xor	ebx, ebx
	test	r14, r14
	jne	.L3
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	add	rbx, 1
	cmp	r14, rbx
	je	.L5
.L3:
	mov	ecx, DWORD PTR [r15+rbx*4]
	mov	edx, r13d
	mov	rsi, r12
	mov	rdi, rbp
	call	write_byte_sw@PLT
	test	eax, eax
	jne	.L17
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	i2c_write_sw, .-i2c_write_sw
	.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_dce_i2c_sw.c_i2c_write_sw.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_write_sw, %function
i2c_write_sw:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [sp, #32]
	mov	r6, r0
	mov	r7, r1
	mov	r8, r2
	bl	write_byte_sw
	cmp	r0, #0
	beq	.L2
	cmp	r9, #0
	beq	.L6
	ldr	r3, [sp, #36]
	mov	r4, #0
	sub	r5, r3, #4
	b	.L5
.L16:
	cmp	r9, r4
	beq	.L6
.L5:
	mov	r2, r8
	mov	r1, r7
	mov	r0, r6
	ldr	r3, [r5, #4]!
	bl	write_byte_sw
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L16
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	i2c_write_sw, .-i2c_write_sw
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
