	.file	"extr_dc_link_ddc.c_construct.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	construct, @function
construct:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	dal_graphics_object_id_get_connector_id@PLT
	mov	edx, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR 0[rbp]
	mov	r12d, eax
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	r13, QWORD PTR 8[rax]
	mov	QWORD PTR 32[rbx], rax
	mov	DWORD PTR 40[rbx], edx
	lea	rdx, 16[rsp]
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR [rax]]
	cmp	rax, QWORD PTR BP_RESULT_OK[rip]
	je	.L2
	mov	QWORD PTR 24[rbx], 0
.L3:
	cmp	r12d, DWORD PTR CONNECTOR_ID_EDP[rip]
	mov	QWORD PTR 8[rbx], 0
	mov	eax, 1
	mov	DWORD PTR 16[rbx], 0
	je	.L4
	xor	eax, eax
	cmp	DWORD PTR CONNECTOR_ID_LVDS[rip], r12d
	sete	al
.L4:
	mov	DWORD PTR 20[rbx], eax
	mov	QWORD PTR [rbx], 0
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR 16[rsp]
	lea	r8, 8[rsp]
	mov	esi, DWORD PTR 20[rsp]
	mov	rdi, r13
	mov	rax, QWORD PTR 24[rsp]
	mov	edx, 1
	sal	edx, cl
	mov	rcx, r8
	mov	QWORD PTR 8[rsp], rax
	call	dal_gpio_create_ddc@PLT
	mov	QWORD PTR 24[rbx], rax
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	construct, .-construct
	.comm	CONNECTOR_ID_LVDS,4,4
	.comm	CONNECTOR_ID_EDP,4,4
	.comm	BP_RESULT_OK,8,8
	.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_construct.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	construct, %function
construct:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	sub	sp, sp, #32
	mov	r4, r0
	ldr	r0, [r1]
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	dal_graphics_object_id_get_connector_id
	mov	ip, r0
	ldr	r3, [r5, #4]
	ldr	r1, [r5, #8]
	ldm	r3, {r0, r6}
	ldr	r2, [r0]
	str	r1, [r4, #28]
	str	r3, [r4, #24]
	ldr	r1, [r5]
	ldr	r3, [r2]
	add	r2, sp, #12
	mov	r5, ip
	blx	r3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	mov	r3, #0
	str	r3, [r4, #20]
.L3:
	mov	r3, #0
	ldr	r2, .L10+8
	str	r3, [r4, #4]
	ldr	r2, [r2]
	str	r3, [r4, #8]
	cmp	r5, r2
	str	r3, [r4, #12]
	ldrne	r3, .L10+12
	moveq	r5, #1
	ldrne	r3, [r3]
	subne	r5, r3, r5
	clzne	r5, r5
	mov	r3, #0
	lsrne	r5, r5, #5
	str	r3, [r4]
	ldr	r3, .L10
	str	r5, [r4, #16]
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r2, #1
	ldr	r3, [sp, #12]
	ldr	r1, [sp, #24]
	ldr	ip, [sp, #20]
	lsl	r2, r2, r3
	str	r1, [sp, #8]
	mov	r0, r6
	ldr	r1, [sp, #16]
	add	r3, sp, #4
	str	ip, [sp, #4]
	bl	dal_gpio_create_ddc
	str	r0, [r4, #20]
	b	.L3
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	BP_RESULT_OK
	.word	CONNECTOR_ID_EDP
	.word	CONNECTOR_ID_LVDS
	.size	construct, .-construct
	.comm	CONNECTOR_ID_LVDS,4,4
	.comm	CONNECTOR_ID_EDP,4,4
	.comm	BP_RESULT_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
