	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_voltage_max           ## -- Begin function intel_dp_voltage_max
	.p2align	4, 0x90
_intel_dp_voltage_max:                  ## @intel_dp_voltage_max
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_dp_to_i915
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_dp_to_dig_port
	movq	%rax, %rbx
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_HAS_DDI
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_ddi_dp_voltage_max       ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_DP_TRAIN_VOLTAGE_SWING_LEVEL_3@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_IS_IVYBRIDGE
	movq	_PORT_A@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpl	(%rbx), %r15d
	je	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	callq	_HAS_PCH_CPT
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	cmpl	(%rbx), %r15d
	jne	LBB0_3
LBB0_8:
	movq	_DP_TRAIN_VOLTAGE_SWING_LEVEL_2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_3,4,2 ## @DP_TRAIN_VOLTAGE_SWING_LEVEL_3
	.comm	_PORT_A,4,2                     ## @PORT_A
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_2,4,2 ## @DP_TRAIN_VOLTAGE_SWING_LEVEL_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_voltage_max           ; -- Begin function intel_dp_voltage_max
	.p2align	2
_intel_dp_voltage_max:                  ; @intel_dp_voltage_max
	.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	x20, x0
	bl	_dp_to_i915
	mov	x19, x0
	mov	x0, x20
	bl	_dp_to_dig_port
	mov	x20, x0
	ldr	w21, [x0]
	mov	x0, x19
	bl	_HAS_DDI
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	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_ddi_dp_voltage_max
LBB0_2:
	mov	x0, x19
	bl	_IS_VALLEYVIEW
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_3@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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_6:
	mov	x0, x19
	bl	_IS_IVYBRIDGE
Lloh2:
	adrp	x20, _PORT_A@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PORT_A@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x20]
	cmp	w21, w8
	b.eq	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_HAS_PCH_CPT
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x20]
	cmp	w21, w8
	b.ne	LBB0_4
LBB0_10:
Lloh4:
	adrp	x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DP_TRAIN_VOLTAGE_SWING_LEVEL_2@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_3,4,2 ; @DP_TRAIN_VOLTAGE_SWING_LEVEL_3
	.comm	_PORT_A,4,2                     ; @PORT_A
	.comm	_DP_TRAIN_VOLTAGE_SWING_LEVEL_2,4,2 ; @DP_TRAIN_VOLTAGE_SWING_LEVEL_2
.subsections_via_symbols
