	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_bios_is_port_edp         ## -- Begin function intel_bios_is_port_edp
	.p2align	4, 0x90
_intel_bios_is_port_edp:                ## @intel_bios_is_port_edp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_HAS_DDI
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %eax
	jmp	LBB0_9
LBB0_2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	8(%rbx), %rcx
	movl	%r14d, %edx
	leaq	_intel_bios_is_port_edp.port_mapping(%rip), %rsi
	movzwl	(%rsi,%rdx,2), %edx
	movq	_DEVICE_TYPE_eDP_BITS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	_DEVICE_TYPE_eDP@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpw	%dx, (%rcx,%rbx,8)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rcx,%rbx,8), %esi
	xorl	%edi, %esi
	testl	%r8d, %esi
	jne	LBB0_7
## %bb.6:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @intel_bios_is_port_edp.port_mapping
_intel_bios_is_port_edp.port_mapping:
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	0                               ## 0x0
	.short	133                             ## 0x85
	.short	134                             ## 0x86
	.short	135                             ## 0x87
	.short	136                             ## 0x88
	.short	137                             ## 0x89

	.comm	_DEVICE_TYPE_eDP_BITS,4,2       ## @DEVICE_TYPE_eDP_BITS
	.comm	_DEVICE_TYPE_eDP,4,2            ## @DEVICE_TYPE_eDP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_bios_is_port_edp         ; -- Begin function intel_bios_is_port_edp
	.p2align	2
_intel_bios_is_port_edp:                ; @intel_bios_is_port_edp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_HAS_DDI
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	w0, [x8, w19, uxtw #2]
	b	LBB0_9
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
Lloh0:
	adrp	x9, _intel_bios_is_port_edp.port_mapping@PAGE
Lloh1:
	add	x9, x9, _intel_bios_is_port_edp.port_mapping@PAGEOFF
	ldrh	w9, [x9, w19, uxtw #1]
Lloh2:
	adrp	x10, _DEVICE_TYPE_eDP_BITS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DEVICE_TYPE_eDP_BITS@GOTPAGEOFF]
	ldr	x12, [x20, #8]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x11, _DEVICE_TYPE_eDP@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DEVICE_TYPE_eDP@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	add	x12, x12, #4
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x12, #8
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldurh	w13, [x12, #-4]
	cmp	w13, w9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w13, [x12]
	eor	w13, w11, w13
	tst	w13, w10
	b.ne	LBB0_4
; %bb.7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	1                               ; @intel_bios_is_port_edp.port_mapping
_intel_bios_is_port_edp.port_mapping:
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	0                               ; 0x0
	.short	133                             ; 0x85
	.short	134                             ; 0x86
	.short	135                             ; 0x87
	.short	136                             ; 0x88
	.short	137                             ; 0x89

	.comm	_DEVICE_TYPE_eDP_BITS,4,2       ; @DEVICE_TYPE_eDP_BITS
	.comm	_DEVICE_TYPE_eDP,4,2            ; @DEVICE_TYPE_eDP
.subsections_via_symbols
