	.file	"extr_fb_ddc.c_fb_ddc_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fb_ddc_read
	.type	fb_ddc_read, @function
fb_ddc_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, 1
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, 3
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 8[rbx]]
.L4:
	mov	esi, 1
	mov	edi, DWORD PTR [rbx]
	mov	ebp, 5
	call	[QWORD PTR 16[rbx]]
	mov	edi, 13
	call	msleep@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, 1
	call	[QWORD PTR 8[rbx]]
.L3:
	mov	edi, 10
	call	msleep@PLT
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 24[rbx]]
	test	rax, rax
	jne	.L2
	sub	ebp, 1
	jne	.L3
	sub	r12d, 1
	jne	.L4
.L19:
	xor	r14d, r14d
.L5:
	mov	edi, DWORD PTR [rbx]
	mov	esi, 1
	call	[QWORD PTR 16[rbx]]
	mov	edi, DWORD PTR [rbx]
	mov	esi, 1
	call	[QWORD PTR 8[rbx]]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR I2C_CLASS_DDC[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	or	DWORD PTR 0[r13], eax
	mov	rax, r14
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	esi, esi
	mov	edi, DWORD PTR [rbx]
	mov	ebp, 10
	call	[QWORD PTR 16[rbx]]
	mov	edi, 15
	call	msleep@PLT
	xor	esi, esi
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 8[rbx]]
	mov	edi, 15
	call	msleep@PLT
	mov	esi, 1
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 16[rbx]]
	mov	edi, 15
	call	msleep@PLT
	mov	rdi, r13
	call	fb_do_probe_ddc_edid@PLT
	mov	edi, DWORD PTR [rbx]
	xor	esi, esi
	mov	r14, rax
	call	[QWORD PTR 16[rbx]]
	xor	esi, esi
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 8[rbx]]
	mov	edi, 15
	call	msleep@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, 1
	call	[QWORD PTR 8[rbx]]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, 10
	call	msleep@PLT
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 24[rbx]]
	test	rax, rax
	jne	.L6
	sub	ebp, 1
	jne	.L7
.L6:
	mov	esi, 1
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 16[rbx]]
	mov	edi, 15
	call	msleep@PLT
	xor	esi, esi
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 8[rbx]]
	xor	esi, esi
	mov	edi, DWORD PTR [rbx]
	call	[QWORD PTR 16[rbx]]
	test	r14, r14
	jne	.L5
	sub	r12d, 1
	jne	.L4
	jmp	.L19
	.cfi_endproc
.LFE0:
	.size	fb_ddc_read, .-fb_ddc_read
	.comm	I2C_CLASS_DDC,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_fb_ddc.c_fb_ddc_read.c"
	.text
	.align	2
	.global	fb_ddc_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	fb_ddc_read, %function
fb_ddc_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0, #4]
	mov	r7, r0
	ldm	r4, {r0, r3}
	mov	r1, #1
	blx	r3
	mov	r6, #3
.L4:
	mov	r1, #1
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	blx	r3
	mov	r0, #13
	bl	msleep
	mov	r1, #1
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	blx	r3
	mov	r5, #5
.L3:
	mov	r0, #10
	bl	msleep
	ldr	r3, [r4, #12]
	ldr	r0, [r4]
	blx	r3
	cmp	r0, #0
	bne	.L2
	subs	r5, r5, #1
	bne	.L3
	subs	r6, r6, #1
	bne	.L4
.L19:
	mov	r8, r6
.L5:
	ldr	r3, [r4, #8]
	mov	r1, #1
	ldr	r0, [r4]
	blx	r3
	ldm	r4, {r0, r3}
	mov	r1, #1
	blx	r3
	ldr	r2, .L20
	ldr	r3, [r7]
	ldr	r2, [r2]
	mov	r0, r8
	orr	r3, r3, r2
	str	r3, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, #0
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	blx	r3
	mov	r0, #15
	bl	msleep
	mov	r1, #0
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	blx	r3
	mov	r0, #15
	bl	msleep
	mov	r1, #1
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	blx	r3
	mov	r0, #15
	bl	msleep
	mov	r0, r7
	bl	fb_do_probe_ddc_edid
	mov	r1, #0
	ldr	r3, [r4, #8]
	mov	r8, r0
	ldr	r0, [r4]
	blx	r3
	mov	r1, #0
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	blx	r3
	mov	r0, #15
	bl	msleep
	mov	r1, #1
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	blx	r3
	mov	r5, #10
.L7:
	mov	r0, #10
	bl	msleep
	ldr	r3, [r4, #12]
	ldr	r0, [r4]
	blx	r3
	cmp	r0, #0
	bne	.L6
	subs	r5, r5, #1
	bne	.L7
.L6:
	mov	r1, #1
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	blx	r3
	mov	r0, #15
	bl	msleep
	mov	r1, #0
	ldr	r3, [r4, #4]
	ldr	r0, [r4]
	blx	r3
	mov	r1, #0
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	blx	r3
	cmp	r8, #0
	bne	.L5
	subs	r6, r6, #1
	bne	.L4
	b	.L19
.L21:
	.align	2
.L20:
	.word	I2C_CLASS_DDC
	.size	fb_ddc_read, .-fb_ddc_read
	.comm	I2C_CLASS_DDC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
