	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct
_construct:                             ## @construct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	(%rsi), %edi
	callq	_dal_graphics_object_id_get_connector_id
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	8(%rax), %r15
	movq	(%rax), %rdi
	movl	16(%rbx), %ecx
	movl	%ecx, 40(%r12)
	movq	%rax, 32(%r12)
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rdi), %rax
	movl	(%rbx), %esi
	leaq	-64(%rbp), %rdx
	callq	*(%rax)
	cmpq	%rax, %r13
	jne	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rax
	movq	%rax, -48(%rbp)
	movl	-60(%rbp), %esi
	movb	-64(%rbp), %cl
	movl	$1, %edx
	shll	%cl, %edx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	callq	_dal_gpio_create_ddc
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 24(%r12)
	movq	$0, 8(%r12)
	movl	$0, 16(%r12)
	movq	_CONNECTOR_ID_EDP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	sete	%al
	movq	_CONNECTOR_ID_LVDS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	movl	%eax, 20(%r12)
	movq	$0, (%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BP_RESULT_OK,8,3               ## @BP_RESULT_OK
	.comm	_CONNECTOR_ID_EDP,4,2           ## @CONNECTOR_ID_EDP
	.comm	_CONNECTOR_ID_LVDS,4,2          ## @CONNECTOR_ID_LVDS
	.no_dead_strip	_construct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct
_construct:                             ; @construct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_dal_graphics_object_id_get_connector_id
	mov	x20, x0
	ldr	x8, [x22, #8]
	ldp	x0, x21, [x8]
	ldr	w9, [x22, #16]
	str	w9, [x19, #40]
	str	x8, [x19, #32]
Lloh0:
	adrp	x8, _BP_RESULT_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BP_RESULT_OK@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w1, [x22]
	add	x2, sp, #16
	blr	x8
	cmp	x23, x0
	b.ne	LBB0_2
; %bb.1:
	ldr	d0, [sp, #24]
	str	d0, [sp, #8]
	ldp	w8, w1, [sp, #16]
	mov	w9, #1
	lsl	w2, w9, w8
	add	x3, sp, #8
	mov	x0, x21
	bl	_dal_gpio_create_ddc
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	str	x0, [x19, #24]
	str	xzr, [x19, #8]
Lloh3:
	adrp	x8, _CONNECTOR_ID_EDP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONNECTOR_ID_EDP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w20, w8
Lloh6:
	adrp	x8, _CONNECTOR_ID_LVDS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONNECTOR_ID_LVDS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w20, w8, #4, ne
	cset	w8, eq
	stp	wzr, w8, [x19, #16]
	str	xzr, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BP_RESULT_OK,8,3               ; @BP_RESULT_OK
	.comm	_CONNECTOR_ID_EDP,4,2           ; @CONNECTOR_ID_EDP
	.comm	_CONNECTOR_ID_LVDS,4,2          ; @CONNECTOR_ID_LVDS
	.no_dead_strip	_construct
.subsections_via_symbols
