	.file	"extr_drm_edid.c_drm_do_probe_ddc_edid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"drm: skipping non-existent adapter %s\n"
	.text
	.p2align 4
	.type	drm_do_probe_ddc_edid, @function
drm_do_probe_ddc_edid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR [rsp], rsi
	mov	DWORD PTR 12[rsp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR EDID_LENGTH[rip]
	imul	eax, edx
	sar	edx
	mov	BYTE PTR 31[rsp], dl
	mov	BYTE PTR 30[rsp], al
	test	dl, dl
	je	.L7
	lea	r15, 32[rsp]
	mov	ebp, 3
.L2:
	mov	ebx, 5
	lea	r14, 31[rsp]
	lea	r13, 30[rsp]
.L5:
	mov	rsi, QWORD PTR [rsp]
	mov	ecx, DWORD PTR 12[rsp]
	mov	rdi, r12
	mov	QWORD PTR 40[rsp], r14
	mov	eax, DWORD PTR DDC_SEGMENT_ADDR[rip]
	mov	edx, DWORD PTR I2C_M_RD[rip]
	mov	DWORD PTR 32[rsp], 1
	mov	QWORD PTR 88[rsp], rsi
	mov	rsi, r15
	mov	DWORD PTR 52[rsp], eax
	mov	eax, DWORD PTR DDC_ADDR[rip]
	mov	DWORD PTR 96[rsp], edx
	mov	edx, ebp
	mov	DWORD PTR 48[rsp], 0
	mov	DWORD PTR 56[rsp], 1
	mov	QWORD PTR 64[rsp], r13
	mov	DWORD PTR 72[rsp], 0
	mov	DWORD PTR 76[rsp], eax
	mov	DWORD PTR 80[rsp], ecx
	mov	DWORD PTR 100[rsp], eax
	call	i2c_transfer@PLT
	mov	edx, DWORD PTR ENXIO[rip]
	neg	edx
	cmp	edx, eax
	je	.L12
	cmp	eax, ebp
	je	.L8
	sub	ebx, 1
	jne	.L5
	mov	eax, -1
.L1:
	mov	rbx, QWORD PTR 104[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR [r12]
	lea	rdi, .LC0[rip]
	mov	DWORD PTR [rsp], edx
	call	DRM_DEBUG_KMS@PLT
	mov	edx, DWORD PTR [rsp]
	xor	eax, eax
	cmp	edx, ebp
	setne	al
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	r15, 56[rsp]
	mov	ebp, 2
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	drm_do_probe_ddc_edid, .-drm_do_probe_ddc_edid
	.comm	I2C_M_RD,4,4
	.comm	ENXIO,4,4
	.comm	EDID_LENGTH,4,4
	.comm	DDC_SEGMENT_ADDR,4,4
	.comm	DDC_ADDR,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_drm_edid.c_drm_do_probe_ddc_edid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"drm: skipping non-existent adapter %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_do_probe_ddc_edid, %function
drm_do_probe_ddc_edid:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	asr	ip, r2, #1
	sub	sp, sp, #76
	and	ip, ip, #255
	str	r3, [sp, #12]
	ldr	r3, .L14
	cmp	ip, #0
	str	r1, [sp, #8]
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	movne	r3, #3
	moveq	r3, #2
	addne	r1, sp, #20
	addeq	r1, sp, #36
	mov	r8, r0
	mov	r5, #5
	mov	r7, #1
	mov	r6, #0
	mov	r4, r1
	ldr	lr, .L14+4
	strne	r3, [sp, #4]
	ldr	lr, [lr]
	streq	r3, [sp, #4]
	mul	r2, lr, r2
	ldr	fp, .L14+8
	strb	r2, [sp, #18]
	ldr	r10, .L14+12
	movne	r2, r3
	moveq	r2, r3
	ldr	r9, .L14+16
	ldr	r3, .L14+20
	strb	ip, [sp, #19]
.L5:
	ldr	lr, [r3]
	add	r3, sp, #19
	str	r3, [sp, #24]
	add	r3, sp, #18
	str	r3, [sp, #40]
	ldr	r3, [sp, #12]
	ldr	r0, [fp]
	ldr	ip, [r10]
	str	r3, [sp, #52]
	ldr	r3, [sp, #8]
	str	r0, [sp, #48]
	str	r0, [sp, #64]
	mov	r1, r4
	mov	r0, r8
	str	r2, [sp]
	str	r3, [sp, #56]
	str	ip, [sp, #60]
	str	r7, [sp, #20]
	str	r6, [sp, #28]
	str	r7, [sp, #36]
	str	r6, [sp, #44]
	str	lr, [sp, #32]
	bl	i2c_transfer
	ldr	ip, [r9]
	ldr	r2, [sp]
	cmn	r0, ip
	ldr	r3, .L14+20
	rsb	ip, ip, #0
	beq	.L12
	ldr	r1, [sp, #4]
	cmp	r0, r1
	beq	.L8
	subs	r5, r5, #1
	bne	.L5
	mvn	r0, #0
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r4, ip
	ldr	r1, [r8]
	ldr	r0, .L14+24
	bl	DRM_DEBUG_KMS
	ldr	r3, [sp, #4]
	subs	r0, r4, r3
	mvnne	r0, #0
	b	.L1
.L8:
	mov	r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	EDID_LENGTH
	.word	DDC_ADDR
	.word	I2C_M_RD
	.word	ENXIO
	.word	DDC_SEGMENT_ADDR
	.word	.LC0
	.size	drm_do_probe_ddc_edid, .-drm_do_probe_ddc_edid
	.comm	I2C_M_RD,4,4
	.comm	ENXIO,4,4
	.comm	EDID_LENGTH,4,4
	.comm	DDC_SEGMENT_ADDR,4,4
	.comm	DDC_ADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
