	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_mg_phy_ddi_vswing_sequence
_icl_mg_phy_ddi_vswing_sequence:        ## @icl_mg_phy_ddi_vswing_sequence
	.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
	movl	%edx, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movl	(%rbx), %r12d
	movq	_icl_mg_phy_ddi_translations@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	movq	(%r14), %r13
	cmpl	%r15d, %eax
	jle	LBB0_3
## %bb.1:
	cmpl	$9, %r15d
	je	LBB0_3
## %bb.2:
	cmpl	$3, %r15d
	jne	LBB0_4
LBB0_3:
	addl	$-2, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_DRM_DEBUG_KMS
	movl	%ebx, %r15d
LBB0_4:
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_LINK_PARAMS
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CRI_USE_FS32@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_LINK_PARAMS
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_LINK_PARAMS
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_LINK_PARAMS
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_LINK_PARAMS
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_LINK_PARAMS
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_LINK_PARAMS
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_LINK_PARAMS
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %r15
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_SWINGCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CRI_TXDEEMPH_OVERRIDE_17_12_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	8(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_17_12
	orl	%eax, %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_SWINGCTRL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_SWINGCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	8(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_17_12
	orl	%eax, %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_SWINGCTRL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_SWINGCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	8(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_17_12
	orl	%eax, %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_SWINGCTRL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_SWINGCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	8(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_17_12
	orl	%eax, %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_SWINGCTRL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DRVCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CRI_TXDEEMPH_OVERRIDE_11_6_MASK@GOTPCREL(%rip), %rcx
	movq	_CRI_TXDEEMPH_OVERRIDE_5_0_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	orl	(%rcx), %r14d
	notl	%r14d
	andl	%eax, %r14d
	movl	4(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_5_0
	movl	%eax, %ebx
	movl	(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_11_6
	movq	_CRI_TXDEEMPH_OVERRIDE_EN@GOTPCREL(%rip), %rcx
	orl	%r14d, %ebx
	orl	%eax, %ebx
	orl	(%rcx), %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DRVCTRL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DRVCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CRI_TXDEEMPH_OVERRIDE_5_0_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_CRI_TXDEEMPH_OVERRIDE_11_6_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	4(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_5_0
	movl	%eax, %r14d
	movl	(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_11_6
	orl	%ebx, %r14d
	orl	%eax, %r14d
	movq	_CRI_TXDEEMPH_OVERRIDE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DRVCTRL
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DRVCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CRI_TXDEEMPH_OVERRIDE_5_0_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_CRI_TXDEEMPH_OVERRIDE_11_6_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	4(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_5_0
	movl	%eax, %r14d
	movl	(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_11_6
	orl	%ebx, %r14d
	orl	%eax, %r14d
	movq	_CRI_TXDEEMPH_OVERRIDE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DRVCTRL
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DRVCTRL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CRI_TXDEEMPH_OVERRIDE_5_0_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_CRI_TXDEEMPH_OVERRIDE_11_6_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	4(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_5_0
	movl	%eax, %r14d
	movl	(%r13,%r15,4), %edi
	callq	_CRI_TXDEEMPH_OVERRIDE_11_6
	orl	%ebx, %r14d
	orl	%eax, %r14d
	movq	_CRI_TXDEEMPH_OVERRIDE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DRVCTRL
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_CLKHUB
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CFG_LOW_RATE_LKREN_EN@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movl	%ebx, %ecx
	orl	%eax, %ecx
	notl	%ebx
	andl	%eax, %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	cmpl	$300000, %r15d                  ## imm = 0x493E0
	cmovll	%ecx, %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_CLKHUB
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_CLKHUB
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r14), %ebx
	movl	%ebx, %ecx
	orl	%eax, %ecx
	notl	%ebx
	andl	%eax, %ebx
	cmpl	$300000, %r15d                  ## imm = 0x493E0
	cmovll	%ecx, %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_CLKHUB
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DCC
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_CFG_AMI_CK_DIV_OVERRIDE_EN@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	cmpl	$500000, %r15d                  ## imm = 0x7A120
	jg	LBB0_6
## %bb.5:
	notl	%r14d
	andl	%r14d, %ebx
	jmp	LBB0_7
LBB0_6:
	movl	$1, %edi
	callq	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orl	%ebx, %r14d
	orl	%eax, %r14d
	movl	%r14d, %ebx
LBB0_7:
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DCC
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DCC
	movl	%eax, %edi
	callq	_I915_READ
	movq	_CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r13), %r14d
	cmpl	$500000, -44(%rbp)              ## 4-byte Folded Reload
                                        ## imm = 0x7A120
	jg	LBB0_9
## %bb.8:
	notl	%r14d
	andl	%r14d, %ebx
	jmp	LBB0_10
LBB0_9:
	movl	$1, %edi
	callq	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orl	%ebx, %r14d
	orl	%eax, %r14d
	movl	%r14d, %ebx
LBB0_10:
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DCC
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DCC
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r15), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r13), %r14d
	cmpl	$500001, -44(%rbp)              ## 4-byte Folded Reload
                                        ## imm = 0x7A121
	jge	LBB0_11
## %bb.12:
	notl	%r14d
	andl	%ebx, %r14d
	jmp	LBB0_13
LBB0_11:
	movl	$1, %edi
	callq	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orl	%ebx, %r14d
	orl	%eax, %r14d
LBB0_13:
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_DCC
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DCC
	movl	%eax, %edi
	callq	_I915_READ
	movl	(%r15), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r13), %r14d
	cmpl	$500001, -44(%rbp)              ## 4-byte Folded Reload
                                        ## imm = 0x7A121
	jge	LBB0_14
## %bb.15:
	notl	%r14d
	andl	%ebx, %r14d
	jmp	LBB0_16
LBB0_14:
	movl	$1, %edi
	callq	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orl	%ebx, %r14d
	orl	%eax, %r14d
LBB0_16:
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_DCC
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_PISO_READLOAD
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	_CRI_CALCINIT@GOTPCREL(%rip), %r14
	orl	(%r14), %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_PISO_READLOAD
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_PISO_READLOAD
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %ebx
	orl	(%r14), %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_PISO_READLOAD
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_PISO_READLOAD
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %ebx
	orl	(%r14), %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX1_PISO_READLOAD
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_PISO_READLOAD
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %ebx
	orl	(%r14), %ebx
	movl	$1, %edi
	movl	%r12d, %esi
	callq	_MG_TX2_PISO_READLOAD
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_icl_mg_phy_ddi_translations,8,3 ## @icl_mg_phy_ddi_translations
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DDI translation not found for level %d. Using %d instead."

	.comm	_CRI_USE_FS32,4,2               ## @CRI_USE_FS32
	.comm	_CRI_TXDEEMPH_OVERRIDE_17_12_MASK,4,2 ## @CRI_TXDEEMPH_OVERRIDE_17_12_MASK
	.comm	_CRI_TXDEEMPH_OVERRIDE_11_6_MASK,4,2 ## @CRI_TXDEEMPH_OVERRIDE_11_6_MASK
	.comm	_CRI_TXDEEMPH_OVERRIDE_5_0_MASK,4,2 ## @CRI_TXDEEMPH_OVERRIDE_5_0_MASK
	.comm	_CRI_TXDEEMPH_OVERRIDE_EN,4,2   ## @CRI_TXDEEMPH_OVERRIDE_EN
	.comm	_CFG_LOW_RATE_LKREN_EN,4,2      ## @CFG_LOW_RATE_LKREN_EN
	.comm	_CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK,4,2 ## @CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK
	.comm	_CFG_AMI_CK_DIV_OVERRIDE_EN,4,2 ## @CFG_AMI_CK_DIV_OVERRIDE_EN
	.comm	_CRI_CALCINIT,4,2               ## @CRI_CALCINIT
	.no_dead_strip	_icl_mg_phy_ddi_vswing_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_mg_phy_ddi_vswing_sequence
_icl_mg_phy_ddi_vswing_sequence:        ; @icl_mg_phy_ddi_vswing_sequence
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	ldr	w19, [x19]
Lloh0:
	adrp	x22, _icl_mg_phy_ddi_translations@GOTPAGE
Lloh1:
	ldr	x22, [x22, _icl_mg_phy_ddi_translations@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	ldr	x23, [x22]
	cmp	w0, w21
	ccmp	w21, #9, #4, gt
	ccmp	w21, #3, #4, ne
	b.ne	LBB0_2
; %bb.1:
	sub	w22, w0, #2
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	bl	_DRM_DEBUG_KMS
	mov	x21, x22
LBB0_2:
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_LINK_PARAMS
	bl	_I915_READ
Lloh4:
	adrp	x24, _CRI_USE_FS32@GOTPAGE
Lloh5:
	ldr	x24, [x24, _CRI_USE_FS32@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w22, w0, w8
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_LINK_PARAMS
	mov	x1, x22
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_LINK_PARAMS
	bl	_I915_READ
	ldr	w8, [x24]
	bic	w22, w0, w8
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_LINK_PARAMS
	mov	x1, x22
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_LINK_PARAMS
	bl	_I915_READ
	ldr	w8, [x24]
	bic	w22, w0, w8
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_LINK_PARAMS
	mov	x1, x22
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_LINK_PARAMS
	bl	_I915_READ
	ldr	w8, [x24]
	bic	w22, w0, w8
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_LINK_PARAMS
	mov	x1, x22
	bl	_I915_WRITE
	mov	w8, #12
	smaddl	x22, w21, w8, x23
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_SWINGCTRL
	bl	_I915_READ
Lloh6:
	adrp	x23, _CRI_TXDEEMPH_OVERRIDE_17_12_MASK@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CRI_TXDEEMPH_OVERRIDE_17_12_MASK@GOTPAGEOFF]
	ldr	w8, [x23]
	bic	w21, w0, w8
	ldr	w0, [x22, #8]
	bl	_CRI_TXDEEMPH_OVERRIDE_17_12
	orr	w21, w0, w21
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_SWINGCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_SWINGCTRL
	bl	_I915_READ
	ldr	w8, [x23]
	bic	w21, w0, w8
	ldr	w0, [x22, #8]
	bl	_CRI_TXDEEMPH_OVERRIDE_17_12
	orr	w21, w0, w21
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_SWINGCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_SWINGCTRL
	bl	_I915_READ
	ldr	w8, [x23]
	bic	w21, w0, w8
	ldr	w0, [x22, #8]
	bl	_CRI_TXDEEMPH_OVERRIDE_17_12
	orr	w21, w0, w21
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_SWINGCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_SWINGCTRL
	bl	_I915_READ
	ldr	w8, [x23]
	bic	w21, w0, w8
	ldr	w0, [x22, #8]
	bl	_CRI_TXDEEMPH_OVERRIDE_17_12
	orr	w21, w0, w21
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_SWINGCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_DRVCTRL
	bl	_I915_READ
Lloh8:
	adrp	x23, _CRI_TXDEEMPH_OVERRIDE_11_6_MASK@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CRI_TXDEEMPH_OVERRIDE_11_6_MASK@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh10:
	adrp	x24, _CRI_TXDEEMPH_OVERRIDE_5_0_MASK@GOTPAGE
Lloh11:
	ldr	x24, [x24, _CRI_TXDEEMPH_OVERRIDE_5_0_MASK@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w9, w8
	bic	w26, w0, w8
	ldr	w0, [x22, #4]
	bl	_CRI_TXDEEMPH_OVERRIDE_5_0
	mov	x21, x0
	ldr	w0, [x22]
	bl	_CRI_TXDEEMPH_OVERRIDE_11_6
Lloh12:
	adrp	x25, _CRI_TXDEEMPH_OVERRIDE_EN@GOTPAGE
Lloh13:
	ldr	x25, [x25, _CRI_TXDEEMPH_OVERRIDE_EN@GOTPAGEOFF]
	ldr	w8, [x25]
	orr	w9, w26, w21
	orr	w9, w9, w0
	orr	w21, w9, w8
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_DRVCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_DRVCTRL
	bl	_I915_READ
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	bic	w26, w0, w8
	ldr	w0, [x22, #4]
	bl	_CRI_TXDEEMPH_OVERRIDE_5_0
	mov	x21, x0
	ldr	w0, [x22]
	bl	_CRI_TXDEEMPH_OVERRIDE_11_6
	ldr	w8, [x25]
	orr	w9, w26, w21
	orr	w9, w9, w0
	orr	w21, w9, w8
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_DRVCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_DRVCTRL
	bl	_I915_READ
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	bic	w26, w0, w8
	ldr	w0, [x22, #4]
	bl	_CRI_TXDEEMPH_OVERRIDE_5_0
	mov	x21, x0
	ldr	w0, [x22]
	bl	_CRI_TXDEEMPH_OVERRIDE_11_6
	ldr	w8, [x25]
	orr	w9, w26, w21
	orr	w9, w9, w0
	orr	w21, w9, w8
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_DRVCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_DRVCTRL
	bl	_I915_READ
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	bic	w23, w0, w8
	ldr	w0, [x22, #4]
	bl	_CRI_TXDEEMPH_OVERRIDE_5_0
	mov	x21, x0
	ldr	w0, [x22]
	bl	_CRI_TXDEEMPH_OVERRIDE_11_6
	ldr	w8, [x25]
	orr	w9, w23, w21
	orr	w9, w9, w0
	orr	w21, w9, w8
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_DRVCTRL
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_CLKHUB
	bl	_I915_READ
Lloh14:
	adrp	x22, _CFG_LOW_RATE_LKREN_EN@GOTPAGE
Lloh15:
	ldr	x22, [x22, _CFG_LOW_RATE_LKREN_EN@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w9, w8, w0
	bic	w8, w0, w8
	mov	w23, #37856
	movk	w23, #4, lsl #16
	cmp	w20, w23
	csel	w21, w9, w8, lt
	mov	w0, #0
	mov	x1, x19
	bl	_MG_CLKHUB
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_CLKHUB
	bl	_I915_READ
	ldr	w8, [x22]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, w23
	csel	w21, w9, w8, lt
	mov	w0, #1
	mov	x1, x19
	bl	_MG_CLKHUB
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_DCC
	bl	_I915_READ
Lloh16:
	adrp	x22, _CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK@GOTPAGE
Lloh17:
	ldr	x22, [x22, _CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w21, w0, w8
Lloh18:
	adrp	x23, _CFG_AMI_CK_DIV_OVERRIDE_EN@GOTPAGE
Lloh19:
	ldr	x23, [x23, _CFG_AMI_CK_DIV_OVERRIDE_EN@GOTPAGEOFF]
	ldr	w24, [x23]
	mov	w8, #41248
	movk	w8, #7, lsl #16
	cmp	w20, w8
	b.gt	LBB0_4
; %bb.3:
	bic	w21, w21, w24
	b	LBB0_5
LBB0_4:
	mov	w0, #1
	bl	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orr	w8, w24, w21
	orr	w21, w8, w0
LBB0_5:
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_DCC
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_DCC
	bl	_I915_READ
	ldr	w8, [x22]
	bic	w21, w0, w8
	ldr	w24, [x23]
	mov	w8, #41248
	movk	w8, #7, lsl #16
	cmp	w20, w8
	b.gt	LBB0_7
; %bb.6:
	bic	w21, w21, w24
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orr	w8, w24, w21
	orr	w21, w8, w0
LBB0_8:
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_DCC
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_DCC
	bl	_I915_READ
	ldr	w8, [x22]
	bic	w21, w0, w8
	ldr	w24, [x23]
	mov	w8, #41249
	movk	w8, #7, lsl #16
	cmp	w20, w8
	b.ge	LBB0_10
; %bb.9:
	bic	w21, w21, w24
	b	LBB0_11
LBB0_10:
	mov	w0, #1
	bl	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orr	w8, w24, w21
	orr	w21, w8, w0
LBB0_11:
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_DCC
	mov	x1, x21
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_DCC
	bl	_I915_READ
	ldr	w8, [x22]
	bic	w21, w0, w8
	ldr	w22, [x23]
	mov	w8, #41249
	movk	w8, #7, lsl #16
	cmp	w20, w8
	b.ge	LBB0_13
; %bb.12:
	bic	w20, w21, w22
	b	LBB0_14
LBB0_13:
	mov	w0, #1
	bl	_CFG_AMI_CK_DIV_OVERRIDE_VAL
	orr	w8, w22, w21
	orr	w20, w8, w0
LBB0_14:
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_DCC
	mov	x1, x20
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_PISO_READLOAD
	bl	_I915_READ
Lloh20:
	adrp	x21, _CRI_CALCINIT@GOTPAGE
Lloh21:
	ldr	x21, [x21, _CRI_CALCINIT@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w20, w8, w0
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX1_PISO_READLOAD
	mov	x1, x20
	bl	_I915_WRITE
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_PISO_READLOAD
	bl	_I915_READ
	ldr	w8, [x21]
	orr	w20, w8, w0
	mov	w0, #0
	mov	x1, x19
	bl	_MG_TX2_PISO_READLOAD
	mov	x1, x20
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_PISO_READLOAD
	bl	_I915_READ
	ldr	w8, [x21]
	orr	w20, w8, w0
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX1_PISO_READLOAD
	mov	x1, x20
	bl	_I915_WRITE
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_PISO_READLOAD
	bl	_I915_READ
	ldr	w8, [x21]
	orr	w20, w8, w0
	mov	w0, #1
	mov	x1, x19
	bl	_MG_TX2_PISO_READLOAD
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_I915_WRITE
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_icl_mg_phy_ddi_translations,8,3 ; @icl_mg_phy_ddi_translations
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DDI translation not found for level %d. Using %d instead."

	.comm	_CRI_USE_FS32,4,2               ; @CRI_USE_FS32
	.comm	_CRI_TXDEEMPH_OVERRIDE_17_12_MASK,4,2 ; @CRI_TXDEEMPH_OVERRIDE_17_12_MASK
	.comm	_CRI_TXDEEMPH_OVERRIDE_11_6_MASK,4,2 ; @CRI_TXDEEMPH_OVERRIDE_11_6_MASK
	.comm	_CRI_TXDEEMPH_OVERRIDE_5_0_MASK,4,2 ; @CRI_TXDEEMPH_OVERRIDE_5_0_MASK
	.comm	_CRI_TXDEEMPH_OVERRIDE_EN,4,2   ; @CRI_TXDEEMPH_OVERRIDE_EN
	.comm	_CFG_LOW_RATE_LKREN_EN,4,2      ; @CFG_LOW_RATE_LKREN_EN
	.comm	_CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK,4,2 ; @CFG_AMI_CK_DIV_OVERRIDE_VAL_MASK
	.comm	_CFG_AMI_CK_DIV_OVERRIDE_EN,4,2 ; @CFG_AMI_CK_DIV_OVERRIDE_EN
	.comm	_CRI_CALCINIT,4,2               ; @CRI_CALCINIT
	.no_dead_strip	_icl_mg_phy_ddi_vswing_sequence
.subsections_via_symbols
