	.file	"extr_dc_link_ddc.c_i2c_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i2c_read, @function
i2c_read:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 120
	.cfi_def_cfa_offset 128
	mov	r8, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	lea	rax, 12[rsp]
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR [r8]
	mov	DWORD PTR 52[rsp], esi
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 76[rsp], esi
	mov	esi, DWORD PTR [rdi]
	mov	QWORD PTR 88[rsp], rdx
	mov	rdi, r8
	lea	rdx, 16[rsp]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR DDC_I2C_COMMAND_ENGINE[rip]
	mov	DWORD PTR 80[rsp], ecx
	mov	DWORD PTR 24[rsp], eax
	lea	rax, 48[rsp]
	mov	DWORD PTR 48[rsp], 1
	mov	DWORD PTR 56[rsp], 1
	mov	DWORD PTR 72[rsp], 0
	mov	DWORD PTR 16[rsp], 2
	mov	QWORD PTR 32[rsp], rax
	call	dm_helpers_submit_i2c@PLT
	mov	rcx, QWORD PTR 104[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i2c_read, .-i2c_read
	.comm	DDC_I2C_COMMAND_ENGINE,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_dc_link_ddc.c_i2c_read.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_read, %function
i2c_read:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, r6, lr}
	mov	r5, #0
	mov	lr, r0
	mov	r4, #1
	mov	r6, #2
	ldr	r0, [r0, #4]
	sub	sp, sp, #56
	str	ip, [sp, #24]
	str	ip, [sp, #40]
	ldr	ip, [r0]
	str	r5, [sp]
	ldr	ip, [ip]
	str	r2, [sp, #48]
	ldr	r2, .L6
	str	r3, [sp, #44]
	ldr	r3, [r2]
	ldr	r2, .L6+4
	ldr	r1, [lr]
	ldr	r2, [r2]
	str	r2, [sp, #52]
	mov	r2,#0
	str	r3, [sp, #12]
	add	r2, sp, #4
	add	r3, sp, #20
	str	r3, [sp, #16]
	str	ip, [sp, #8]
	str	r5, [sp, #36]
	str	r4, [sp, #20]
	str	r4, [sp, #28]
	str	r6, [sp, #4]
	str	sp, [sp, #32]
	bl	dm_helpers_submit_i2c
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #56
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	DDC_I2C_COMMAND_ENGINE
	.word	.LC0
	.size	i2c_read, .-i2c_read
	.comm	DDC_I2C_COMMAND_ENGINE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
