	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_edp
_parse_edp:                             ## @parse_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movslq	(%rdi), %r14
	movq	_BDB_EDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_find_section
	testq	%rax, %rax
	je	LBB0_35
## %bb.1:
	movq	%rax, %r15
	movq	8(%rax), %rbx
	movq	16(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movl	%eax, 28(%r13)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	shlq	$4, %r14
	movl	(%rbx,%r14), %esi
	cmpl	$132, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$133, %esi
	jne	LBB0_6
## %bb.3:
	movq	_DP_LINK_BW_1_62@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_DP_LINK_BW_2_7@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
LBB0_7:
	movl	4(%rbx,%r14), %esi
	cmpl	$138, %esi
	je	LBB0_12
## %bb.8:
	cmpl	$139, %esi
	je	LBB0_11
## %bb.9:
	cmpl	$140, %esi
	jne	LBB0_13
## %bb.10:
	movl	$1, 8(%r13)
	jmp	LBB0_14
LBB0_12:
	movl	$4, 8(%r13)
	jmp	LBB0_14
LBB0_11:
	movl	$2, 8(%r13)
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG_KMS
LBB0_14:
	movl	8(%rbx,%r14), %esi
	leal	-134(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_21
## %bb.15:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	_DP_TRAIN_PRE_EMPH_LEVEL_0@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_21:
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DRM_DEBUG_KMS
	jmp	LBB0_22
LBB0_20:
	movq	_DP_TRAIN_PRE_EMPH_LEVEL_3@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_19:
	movq	_DP_TRAIN_PRE_EMPH_LEVEL_2@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_18:
	movq	_DP_TRAIN_PRE_EMPH_LEVEL_1@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
LBB0_22:
	movl	12(%rbx,%r14), %esi
	leal	-128(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_29
## %bb.23:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmpq	*%rax
LBB0_28:
	movq	_DP_TRAIN_VOLTAGE_SWING_LEVEL_3@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_29:
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DRM_DEBUG_KMS
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$173, (%r12)
	jge	LBB0_31
	jmp	LBB0_35
LBB0_27:
	movq	_DP_TRAIN_VOLTAGE_SWING_LEVEL_2@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_26:
	movq	_DP_TRAIN_VOLTAGE_SWING_LEVEL_1@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_24:
	movq	_DP_TRAIN_VOLTAGE_SWING_LEVEL_0@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	cmpl	$173, (%r12)
	jl	LBB0_35
LBB0_31:
	movq	_i915_modparams@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	cmpl	$1, %eax
	jmp	LBB0_34
LBB0_33:
	movl	4(%r15), %eax
	shll	$2, %ecx
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %eax
	testb	$15, %al
LBB0_34:
	sete	%al
	movzbl	%al, %eax
	movl	%eax, 12(%r13)
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_19
	.long	L0_0_set_18
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
LJTI0_1:
	.long	L0_1_set_28
	.long	L0_1_set_27
	.long	L0_1_set_26
	.long	L0_1_set_24
	.end_data_region
                                        ## -- End function
	.comm	_BDB_EDP,4,2                    ## @BDB_EDP
	.comm	_DP_LINK_BW_1_62,4,2            ## @DP_LINK_BW_1_62
	.comm	_DP_LINK_BW_2_7,4,2             ## @DP_LINK_BW_2_7
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VBT has unknown eDP link rate value %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"VBT has unknown eDP lane count value %u\n"

	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_0,4,2  ## @DP_TRAIN_PRE_EMPH_LEVEL_0
	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_1,4,2  ## @DP_TRAIN_PRE_EMPH_LEVEL_1
	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_2,4,2  ## @DP_TRAIN_PRE_EMPH_LEVEL_2
	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_3,4,2  ## @DP_TRAIN_PRE_EMPH_LEVEL_3
L_.str.2:                               ## @.str.2
	.asciz	"VBT has unknown eDP pre-emphasis value %u\n"

	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_0,4,2 ## @DP_TRAIN_VOLTAGE_SWING_LEVEL_0
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_1,4,2 ## @DP_TRAIN_VOLTAGE_SWING_LEVEL_1
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_2,4,2 ## @DP_TRAIN_VOLTAGE_SWING_LEVEL_2
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_3,4,2 ## @DP_TRAIN_VOLTAGE_SWING_LEVEL_3
L_.str.3:                               ## @.str.3
	.asciz	"VBT has unknown eDP voltage swing value %u\n"

	.comm	_i915_modparams,4,2             ## @i915_modparams
	.no_dead_strip	_parse_edp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_edp
_parse_edp:                             ; @parse_edp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	ldrsw	x22, [x0]
Lloh0:
	adrp	x8, _BDB_EDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BDB_EDP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_find_section
	cbz	x0, LBB0_35
; %bb.1:
	mov	x20, x0
	ldp	x23, x8, [x0, #8]
	ldr	w8, [x8, x22, lsl #2]
	str	w8, [x19, #28]
	lsl	x8, x22, #4
	ldr	w1, [x23, x8]
	cmp	w1, #132
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #133
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _DP_LINK_BW_1_62@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DP_LINK_BW_1_62@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _DP_LINK_BW_2_7@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DP_LINK_BW_2_7@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
LBB0_7:
	add	x8, x23, x22, lsl #4
	ldr	w1, [x8, #4]
	cmp	w1, #138
	b.eq	LBB0_11
; %bb.8:
	cmp	w1, #139
	b.eq	LBB0_12
; %bb.9:
	cmp	w1, #140
	b.ne	LBB0_13
; %bb.10:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_14
LBB0_11:
	mov	w8, #4
	str	w8, [x19, #8]
	b	LBB0_14
LBB0_12:
	mov	w8, #2
	str	w8, [x19, #8]
	b	LBB0_14
LBB0_13:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
LBB0_14:
	add	x8, x23, x22, lsl #4
	ldr	w1, [x8, #8]
	sub	w8, w1, #134
	cmp	w8, #3
	b.hi	LBB0_17
; %bb.15:
Lloh11:
	adrp	x9, lJTI0_0@PAGE
Lloh12:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
Lloh13:
	adrp	x8, _DP_TRAIN_PRE_EMPH_LEVEL_0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DP_TRAIN_PRE_EMPH_LEVEL_0@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_KMS
	b	LBB0_22
LBB0_18:
Lloh17:
	adrp	x8, _DP_TRAIN_PRE_EMPH_LEVEL_3@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DP_TRAIN_PRE_EMPH_LEVEL_3@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
Lloh19:
	adrp	x8, _DP_TRAIN_PRE_EMPH_LEVEL_2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DP_TRAIN_PRE_EMPH_LEVEL_2@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh21:
	adrp	x8, _DP_TRAIN_PRE_EMPH_LEVEL_1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DP_TRAIN_PRE_EMPH_LEVEL_1@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	str	w8, [x19, #20]
LBB0_22:
	add	x8, x23, x22, lsl #4
	ldr	w1, [x8, #12]
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_25
; %bb.23:
Lloh23:
	adrp	x9, lJTI0_1@PAGE
Lloh24:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_24
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_24:
Lloh25:
	adrp	x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_3@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_3@GOTPAGEOFF]
	b	LBB0_29
LBB0_25:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG_KMS
	b	LBB0_30
LBB0_26:
Lloh29:
	adrp	x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_2@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:
Lloh31:
	adrp	x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_1@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:
Lloh33:
	adrp	x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_0@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_0@GOTPAGEOFF]
LBB0_29:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_30:
	ldr	w8, [x21]
	cmp	w8, #173
	b.lt	LBB0_35
; %bb.31:
Lloh35:
	adrp	x8, _i915_modparams@GOTPAGE
Lloh36:
	ldr	x8, [x8, _i915_modparams@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cbz	w8, LBB0_33
; %bb.32:
	cmp	w8, #1
	b	LBB0_34
LBB0_33:
	ldr	w8, [x20, #4]
	lsl	w9, w22, #2
	asr	w8, w8, w9
	tst	w8, #0xf
LBB0_34:
	cset	w8, eq
	str	w8, [x19, #12]
LBB0_35:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_18-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
lJTI0_1:
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_26-LBB0_24)>>2
	.byte	(LBB0_27-LBB0_24)>>2
	.byte	(LBB0_28-LBB0_24)>>2
                                        ; -- End function
	.comm	_BDB_EDP,4,2                    ; @BDB_EDP
	.comm	_DP_LINK_BW_1_62,4,2            ; @DP_LINK_BW_1_62
	.comm	_DP_LINK_BW_2_7,4,2             ; @DP_LINK_BW_2_7
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VBT has unknown eDP link rate value %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"VBT has unknown eDP lane count value %u\n"

	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_0,4,2  ; @DP_TRAIN_PRE_EMPH_LEVEL_0
	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_1,4,2  ; @DP_TRAIN_PRE_EMPH_LEVEL_1
	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_2,4,2  ; @DP_TRAIN_PRE_EMPH_LEVEL_2
	.comm	_DP_TRAIN_PRE_EMPH_LEVEL_3,4,2  ; @DP_TRAIN_PRE_EMPH_LEVEL_3
l_.str.2:                               ; @.str.2
	.asciz	"VBT has unknown eDP pre-emphasis value %u\n"

	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_0,4,2 ; @DP_TRAIN_VOLTAGE_SWING_LEVEL_0
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_1,4,2 ; @DP_TRAIN_VOLTAGE_SWING_LEVEL_1
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_2,4,2 ; @DP_TRAIN_VOLTAGE_SWING_LEVEL_2
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_3,4,2 ; @DP_TRAIN_VOLTAGE_SWING_LEVEL_3
l_.str.3:                               ; @.str.3
	.asciz	"VBT has unknown eDP voltage swing value %u\n"

	.comm	_i915_modparams,4,2             ; @i915_modparams
	.no_dead_strip	_parse_edp
.subsections_via_symbols
