	.file	"extr_intelfb_i2c.c_intelfb_create_i2c_busses.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CRTDDC_A"
.LC1:
	.string	"DVODDC_D"
.LC2:
	.string	"DVOI2C_E"
.LC3:
	.string	"SDVOCTRL_E"
	.text
	.p2align 4
	.globl	intelfb_create_i2c_busses
	.type	intelfb_create_i2c_busses, @function
intelfb_create_i2c_busses:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR INTELFB_OUTPUT_ANALOG[rip]
	mov	rbx, rdi
	lea	rcx, .LC0[rip]
	mov	rsi, QWORD PTR 8[rdi]
	mov	DWORD PTR [rdi], 1
	mov	r8d, DWORD PTR I2C_CLASS_DDC[rip]
	mov	edx, DWORD PTR GPIOA[rip]
	mov	QWORD PTR 8[rsi], rax
	add	rsi, 16
	call	intelfb_setup_i2c_bus@PLT
	mov	eax, DWORD PTR 4[rbx]
	cmp	eax, 134
	jle	.L8
	sub	eax, 135
	mov	edx, 1
	cmp	eax, 4
	ja	.L4
	mov	rsi, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR INTELFB_OUTPUT_DVO[rip]
	mov	rdi, rbx
	lea	rcx, .LC1[rip]
	mov	r8d, DWORD PTR I2C_CLASS_DDC[rip]
	mov	edx, DWORD PTR GPIOD[rip]
	mov	QWORD PTR 32[rsi], rax
	add	rsi, 40
	call	intelfb_setup_i2c_bus@PLT
	mov	rax, QWORD PTR 8[rbx]
	xor	r8d, r8d
	mov	rdi, rbx
	mov	edx, DWORD PTR GPIOE[rip]
	lea	rcx, .LC2[rip]
	lea	rsi, 24[rax]
	call	intelfb_setup_i2c_bus@PLT
	mov	edx, 2
.L4:
	mov	DWORD PTR [rbx], edx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, 1
	cmp	eax, 127
	jle	.L4
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR GPIOE[rip]
	mov	rdi, rbx
	xor	r8d, r8d
	mov	rax, QWORD PTR INTELFB_OUTPUT_SDVO[rip]
	lea	rcx, .LC3[rip]
	add	rsi, 24
	mov	QWORD PTR 8[rsi], rax
	call	intelfb_setup_i2c_bus@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR INTELFB_OUTPUT_SDVO[rip]
	mov	QWORD PTR 56[rax], rdx
	mov	edx, DWORD PTR 24[rax]
	mov	DWORD PTR 48[rax], edx
	mov	edx, 3
	mov	DWORD PTR [rbx], edx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	intelfb_create_i2c_busses, .-intelfb_create_i2c_busses
	.comm	INTELFB_OUTPUT_SDVO,8,8
	.comm	INTELFB_OUTPUT_DVO,8,8
	.comm	INTELFB_OUTPUT_ANALOG,8,8
	.comm	I2C_CLASS_DDC,4,4
	.comm	GPIOE,4,4
	.comm	GPIOD,4,4
	.comm	GPIOA,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_intelfb_i2c.c_intelfb_create_i2c_busses.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CRTDDC_A\000"
	.align	2
.LC1:
	.ascii	"DVODDC_D\000"
	.align	2
.LC2:
	.ascii	"DVOI2C_E\000"
	.align	2
.LC3:
	.ascii	"SDVOCTRL_E\000"
	.text
	.align	2
	.global	intelfb_create_i2c_busses
	.syntax unified
	.arm
	.fpu softvfp
	.type	intelfb_create_i2c_busses, %function
intelfb_create_i2c_busses:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, #1
	mov	r4, r0
	ldr	r3, .L9
	ldr	r6, .L9+4
	ldr	ip, [r3]
	ldr	r1, [r0, #8]
	ldr	r3, [r6]
	ldr	r2, .L9+8
	sub	sp, sp, #8
	str	r5, [r0]
	ldr	r2, [r2]
	str	ip, [r1, #4]
	str	r3, [sp]
	add	r1, r1, #8
	ldr	r3, .L9+12
	bl	intelfb_setup_i2c_bus
	ldr	r3, [r4, #4]
	cmp	r3, #134
	ble	.L8
	sub	r3, r3, #135
	cmp	r3, #4
	bhi	.L4
	ldr	r3, .L9+16
	ldr	r1, [r4, #8]
	ldr	r0, [r3]
	ldr	r2, [r6]
	ldr	r3, .L9+20
	str	r0, [r1, #16]
	str	r2, [sp]
	ldr	r2, [r3]
	add	r1, r1, #20
	ldr	r3, .L9+24
	mov	r0, r4
	bl	intelfb_setup_i2c_bus
	mov	r2, #0
	ldr	r1, [r4, #8]
	ldr	r3, .L9+28
	str	r2, [sp]
	ldr	r2, [r3]
	mov	r0, r4
	ldr	r3, .L9+32
	add	r1, r1, #12
	bl	intelfb_setup_i2c_bus
	mov	r5, #2
.L4:
	str	r5, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	cmp	r3, #127
	ble	.L4
	mov	r2, #0
	ldr	r5, .L9+36
	ldr	r1, [r4, #8]
	ldr	r0, [r5]
	ldr	r3, .L9+28
	str	r0, [r1, #16]
	str	r2, [sp]
	ldr	r2, [r3]
	mov	r0, r4
	ldr	r3, .L9+40
	add	r1, r1, #12
	bl	intelfb_setup_i2c_bus
	ldr	r1, [r5]
	mov	r5, #3
	ldr	r3, [r4, #8]
	ldr	r2, [r3, #12]
	str	r1, [r3, #28]
	str	r2, [r3, #24]
	str	r5, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	INTELFB_OUTPUT_ANALOG
	.word	I2C_CLASS_DDC
	.word	GPIOA
	.word	.LC0
	.word	INTELFB_OUTPUT_DVO
	.word	GPIOD
	.word	.LC1
	.word	GPIOE
	.word	.LC2
	.word	INTELFB_OUTPUT_SDVO
	.word	.LC3
	.size	intelfb_create_i2c_busses, .-intelfb_create_i2c_busses
	.comm	INTELFB_OUTPUT_SDVO,4,4
	.comm	INTELFB_OUTPUT_DVO,4,4
	.comm	INTELFB_OUTPUT_ANALOG,4,4
	.comm	I2C_CLASS_DDC,4,4
	.comm	GPIOE,4,4
	.comm	GPIOD,4,4
	.comm	GPIOA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
