	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dp_enable_port
_intel_dp_enable_port:                  ## @intel_dp_enable_port
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_dp_to_i915
	movq	_DP_TRAINING_PATTERN_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_dp_program_link_training_pattern
	movq	_DP_PORT_EN@GOTPCREL(%rip), %rax
	movl	4(%rbx), %esi
	orl	(%rax), %esi
	movl	%esi, 4(%rbx)
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movq	_DP_AUDIO_OUTPUT_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, 4(%rbx)
LBB0_2:
	movl	(%rbx), %edi
	callq	_I915_WRITE
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_TRAINING_PATTERN_1,4,2      ## @DP_TRAINING_PATTERN_1
	.comm	_DP_PORT_EN,4,2                 ## @DP_PORT_EN
	.comm	_DP_AUDIO_OUTPUT_ENABLE,4,2     ## @DP_AUDIO_OUTPUT_ENABLE
	.no_dead_strip	_intel_dp_enable_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dp_enable_port
_intel_dp_enable_port:                  ; @intel_dp_enable_port
	.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	x20, x1
	mov	x19, x0
	bl	_dp_to_i915
Lloh0:
	adrp	x8, _DP_TRAINING_PATTERN_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_TRAINING_PATTERN_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_dp_program_link_training_pattern
Lloh3:
	adrp	x8, _DP_PORT_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DP_PORT_EN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w1, w9, w8
	str	w1, [x19, #4]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DP_AUDIO_OUTPUT_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DP_AUDIO_OUTPUT_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w1, w8, w1
	str	w1, [x19, #4]
LBB0_2:
	ldr	w0, [x19]
	bl	_I915_WRITE
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_POSTING_READ
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_TRAINING_PATTERN_1,4,2      ; @DP_TRAINING_PATTERN_1
	.comm	_DP_PORT_EN,4,2                 ; @DP_PORT_EN
	.comm	_DP_AUDIO_OUTPUT_ENABLE,4,2     ; @DP_AUDIO_OUTPUT_ENABLE
	.no_dead_strip	_intel_dp_enable_port
.subsections_via_symbols
