	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chv_signal_levels
_chv_signal_levels:                     ## @chv_signal_levels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_dp_to_dig_port
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	movq	_DP_TRAIN_PRE_EMPHASIS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	addl	$-132, %ecx
	cmpl	$3, %ecx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_DP_TRAIN_VOLTAGE_SWING_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	cmpl	$131, %edx
	jne	LBB0_13
## %bb.7:
	xorl	%ecx, %ecx
	movl	$154, %edx
	movl	$43, %esi
	jmp	LBB0_12
LBB0_10:
	movq	_DP_TRAIN_VOLTAGE_SWING_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	addl	$-129, %edx
	cmpl	$3, %edx
	jae	LBB0_13
## %bb.11:
	imull	$-38, %edx, %edx
	addl	$154, %edx
	xorl	%ecx, %ecx
	movl	$85, %esi
	jmp	LBB0_12
LBB0_2:
	movq	_DP_TRAIN_VOLTAGE_SWING_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	xorl	%ecx, %ecx
	movl	$64, %esi
	cmpl	$131, %edx
	je	LBB0_3
## %bb.4:
	cmpl	$130, %edx
	jne	LBB0_13
## %bb.5:
	movl	$154, %edx
	jmp	LBB0_12
LBB0_8:
	movq	_DP_TRAIN_VOLTAGE_SWING_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	addl	$-128, %edx
	cmpl	$4, %edx
	jae	LBB0_13
## %bb.9:
	movslq	%edx, %rcx
	leaq	L_switch.table.chv_signal_levels(%rip), %rdx
	movl	(%rdx,%rcx,4), %edx
	leaq	L_switch.table.chv_signal_levels.1(%rip), %rsi
	movl	(%rsi,%rcx,4), %ecx
	movl	$128, %esi
	jmp	LBB0_12
LBB0_3:
	movl	$104, %edx
LBB0_12:
	movq	%rax, %rdi
	callq	_chv_set_phy_signal_level
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_DP_TRAIN_PRE_EMPHASIS_MASK,4,2 ## @DP_TRAIN_PRE_EMPHASIS_MASK
	.comm	_DP_TRAIN_VOLTAGE_SWING_MASK,4,2 ## @DP_TRAIN_VOLTAGE_SWING_MASK
	.no_dead_strip	_chv_signal_levels
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.chv_signal_levels
L_switch.table.chv_signal_levels:
	.long	154                             ## 0x9a
	.long	102                             ## 0x66
	.long	77                              ## 0x4d
	.long	52                              ## 0x34

	.p2align	2                               ## @switch.table.chv_signal_levels.1
L_switch.table.chv_signal_levels.1:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chv_signal_levels
_chv_signal_levels:                     ; @chv_signal_levels
	.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, x0
	bl	_dp_to_dig_port
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _DP_TRAIN_PRE_EMPHASIS_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DP_TRAIN_PRE_EMPHASIS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	sub	w9, w9, #132
	cmp	w9, #3
	b.hi	LBB0_14
; %bb.1:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh5:
	adrp	x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #131
	b.ne	LBB0_14
; %bb.3:
	mov	w3, #0
	mov	w2, #154
	mov	w1, #43
	b	LBB0_13
LBB0_4:
Lloh8:
	adrp	x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #129
	cmp	w8, #3
	b.hs	LBB0_14
; %bb.5:
	mov	w3, #0
	mov	w9, #-38
	mul	w8, w8, w9
	add	w2, w8, #154
	mov	w1, #85
	b	LBB0_13
LBB0_6:
Lloh11:
	adrp	x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #131
	b.eq	LBB0_11
; %bb.7:
	cmp	w8, #130
	b.ne	LBB0_14
; %bb.8:
	mov	w3, #0
	mov	w2, #154
	b	LBB0_12
LBB0_9:
Lloh14:
	adrp	x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DP_TRAIN_VOLTAGE_SWING_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #4
	b.hs	LBB0_14
; %bb.10:
	sbfiz	x8, x8, #2, #32
Lloh17:
	adrp	x9, l_switch.table.chv_signal_levels@PAGE
Lloh18:
	add	x9, x9, l_switch.table.chv_signal_levels@PAGEOFF
	ldr	w2, [x9, x8]
Lloh19:
	adrp	x9, l_switch.table.chv_signal_levels.1@PAGE
Lloh20:
	add	x9, x9, l_switch.table.chv_signal_levels.1@PAGEOFF
	ldr	w3, [x9, x8]
	mov	w1, #128
	b	LBB0_13
LBB0_11:
	mov	w3, #0
	mov	w2, #104
LBB0_12:
	mov	w1, #64
LBB0_13:
	bl	_chv_set_phy_signal_level
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_DP_TRAIN_PRE_EMPHASIS_MASK,4,2 ; @DP_TRAIN_PRE_EMPHASIS_MASK
	.comm	_DP_TRAIN_VOLTAGE_SWING_MASK,4,2 ; @DP_TRAIN_VOLTAGE_SWING_MASK
	.no_dead_strip	_chv_signal_levels
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.chv_signal_levels
l_switch.table.chv_signal_levels:
	.long	154                             ; 0x9a
	.long	102                             ; 0x66
	.long	77                              ; 0x4d
	.long	52                              ; 0x34

	.p2align	2                               ; @switch.table.chv_signal_levels.1
l_switch.table.chv_signal_levels.1:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
