	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ironlake_dp_detect
_ironlake_dp_detect:                    ## @ironlake_dp_detect
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_intel_dp_to_dev
	movq	%rax, %r14
	movq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_dp_to_dig_port
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_is_edp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_intel_panel_detect
	movq	_connector_status_unknown@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.2:
	movq	_connector_status_connected@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ibx_digital_port_connected
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_dp_detect_dpcd           ## TAILCALL
LBB0_4:
	movq	_connector_status_disconnected@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_connector_status_unknown,4,2   ## @connector_status_unknown
	.comm	_connector_status_connected,4,2 ## @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ## @connector_status_disconnected
	.no_dead_strip	_ironlake_dp_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ironlake_dp_detect
_ironlake_dp_detect:                    ; @ironlake_dp_detect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_intel_dp_to_dev
	mov	x20, x0
	ldr	x21, [x0]
	mov	x0, x19
	bl	_dp_to_dig_port
	mov	x22, x0
	mov	x0, x19
	bl	_is_edp
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_intel_panel_detect
Lloh0:
	adrp	x8, _connector_status_unknown@GOTPAGE
Lloh1:
	ldr	x8, [x8, _connector_status_unknown@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _connector_status_connected@GOTPAGE
Lloh4:
	ldr	x9, [x9, _connector_status_connected@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w0, w9, w0, eq
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x21
	mov	x1, x22
	bl	_ibx_digital_port_connected
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_intel_dp_detect_dpcd
LBB0_5:
Lloh6:
	adrp	x8, _connector_status_disconnected@GOTPAGE
Lloh7:
	ldr	x8, [x8, _connector_status_disconnected@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_connector_status_unknown,4,2   ; @connector_status_unknown
	.comm	_connector_status_connected,4,2 ; @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.no_dead_strip	_ironlake_dp_detect
.subsections_via_symbols
