	.file	"extr_tridentfb.c_tridentfb_setup_ddc_bus.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tridentfb_setup_ddc_bus, @function
tridentfb_setup_ddc_bus:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 4
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR 24[rbp]
	call	strlcpy@PLT
	mov	eax, DWORD PTR THIS_MODULE[rip]
	mov	edi, DWORD PTR 64[rbp]
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR I2C_CLASS_DDC[rip]
	mov	DWORD PTR 16[rbp], eax
	lea	rax, 32[rbp]
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 0[rbp], eax
	call	is_oldclock@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR tridentfb_ddc_setsda_tgui[rip]
	mov	DWORD PTR 60[rbp], eax
	mov	eax, DWORD PTR tridentfb_ddc_setscl_tgui[rip]
	mov	DWORD PTR 56[rbp], eax
	mov	eax, DWORD PTR tridentfb_ddc_getsda_tgui[rip]
	mov	DWORD PTR 52[rbp], eax
.L3:
	movabs	rax, 85899345930
	mov	QWORD PTR 40[rbp], rbp
	mov	rdi, rbp
	mov	rsi, rbp
	mov	QWORD PTR 32[rbp], rax
	call	i2c_set_adapdata@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	i2c_bit_add_bus@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR tridentfb_ddc_setsda[rip]
	mov	DWORD PTR 60[rbp], eax
	mov	eax, DWORD PTR tridentfb_ddc_setscl[rip]
	mov	DWORD PTR 56[rbp], eax
	mov	eax, DWORD PTR tridentfb_ddc_getsda[rip]
	mov	DWORD PTR 52[rbp], eax
	mov	eax, DWORD PTR tridentfb_ddc_getscl[rip]
	mov	DWORD PTR 48[rbp], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tridentfb_setup_ddc_bus, .-tridentfb_setup_ddc_bus
	.comm	tridentfb_ddc_setsda_tgui,4,4
	.comm	tridentfb_ddc_setsda,4,4
	.comm	tridentfb_ddc_setscl_tgui,4,4
	.comm	tridentfb_ddc_setscl,4,4
	.comm	tridentfb_ddc_getsda_tgui,4,4
	.comm	tridentfb_ddc_getsda,4,4
	.comm	tridentfb_ddc_getscl,4,4
	.comm	THIS_MODULE,4,4
	.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_tridentfb.c_tridentfb_setup_ddc_bus.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tridentfb_setup_ddc_bus, %function
tridentfb_setup_ddc_bus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldmib	r0, {r1, r4}
	mov	r5, r0
	mov	r2, #4
	ldr	r0, [r4, #16]
	bl	strlcpy
	ldr	r1, .L6
	ldr	r3, .L6+4
	ldr	r0, [r1]
	ldr	r2, [r5]
	ldr	r1, [r3]
	add	r3, r4, #20
	str	r0, [r4, #12]
	stm	r4, {r2, r3}
	ldr	r0, [r4, #48]
	str	r1, [r4, #8]
	bl	is_oldclock
	cmp	r0, #0
	beq	.L2
	ldr	r1, .L6+8
	ldr	r2, .L6+12
	ldr	r3, .L6+16
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r1, [r4, #44]
	str	r2, [r4, #40]
	str	r3, [r4, #36]
.L3:
	mov	r2, #10
	mov	r3, #20
	mov	r1, r4
	mov	r0, r4
	str	r4, [r4, #28]
	str	r2, [r4, #20]
	str	r3, [r4, #24]
	bl	i2c_set_adapdata
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	i2c_bit_add_bus
.L2:
	ldr	r0, .L6+20
	ldr	r1, .L6+24
	ldr	r2, .L6+28
	ldr	r3, .L6+32
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #44]
	str	r1, [r4, #40]
	str	r2, [r4, #36]
	str	r3, [r4, #32]
	b	.L3
.L7:
	.align	2
.L6:
	.word	THIS_MODULE
	.word	I2C_CLASS_DDC
	.word	tridentfb_ddc_setsda_tgui
	.word	tridentfb_ddc_setscl_tgui
	.word	tridentfb_ddc_getsda_tgui
	.word	tridentfb_ddc_setsda
	.word	tridentfb_ddc_setscl
	.word	tridentfb_ddc_getsda
	.word	tridentfb_ddc_getscl
	.size	tridentfb_setup_ddc_bus, .-tridentfb_setup_ddc_bus
	.comm	tridentfb_ddc_setsda_tgui,4,4
	.comm	tridentfb_ddc_setsda,4,4
	.comm	tridentfb_ddc_setscl_tgui,4,4
	.comm	tridentfb_ddc_setscl,4,4
	.comm	tridentfb_ddc_getsda_tgui,4,4
	.comm	tridentfb_ddc_getsda,4,4
	.comm	tridentfb_ddc_getscl,4,4
	.comm	THIS_MODULE,4,4
	.comm	I2C_CLASS_DDC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
