	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdi_auto_training_started
_fdi_auto_training_started:             ## @fdi_auto_training_started
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_PORT_E@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_DDI_BUF_CTL
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_vgpu_vreg_t
	movl	%eax, %r15d
	movq	__FDI_RXA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_vgpu_vreg
	movl	%eax, %r14d
	movl	(%r12), %edi
	callq	_DP_TP_CTL
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_vgpu_vreg_t
	movq	_DDI_BUF_CTL_ENABLE@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	_FDI_RX_ENABLE@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	_FDI_AUTO_TRAINING@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	_DP_TP_CTL_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_DP_TP_CTL_FDI_AUTOTRAIN@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	testl	%eax, (%rdx)
	jne	LBB0_6
LBB0_5:
	xorl	%ecx, %ecx
LBB0_6:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_E,4,2                     ## @PORT_E
	.comm	__FDI_RXA_CTL,4,2               ## @_FDI_RXA_CTL
	.comm	_DDI_BUF_CTL_ENABLE,4,2         ## @DDI_BUF_CTL_ENABLE
	.comm	_FDI_RX_ENABLE,4,2              ## @FDI_RX_ENABLE
	.comm	_FDI_AUTO_TRAINING,4,2          ## @FDI_AUTO_TRAINING
	.comm	_DP_TP_CTL_ENABLE,4,2           ## @DP_TP_CTL_ENABLE
	.comm	_DP_TP_CTL_FDI_AUTOTRAIN,4,2    ## @DP_TP_CTL_FDI_AUTOTRAIN
	.no_dead_strip	_fdi_auto_training_started
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdi_auto_training_started
_fdi_auto_training_started:             ; @fdi_auto_training_started
	.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
Lloh0:
	adrp	x22, _PORT_E@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PORT_E@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DDI_BUF_CTL
	mov	x1, x0
	mov	x0, x20
	bl	_vgpu_vreg_t
	mov	x21, x0
Lloh2:
	adrp	x8, __FDI_RXA_CTL@GOTPAGE
Lloh3:
	ldr	x8, [x8, __FDI_RXA_CTL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_vgpu_vreg
	mov	x19, x0
	ldr	w0, [x22]
	bl	_DP_TP_CTL
	mov	x1, x0
	mov	x0, x20
	bl	_vgpu_vreg_t
Lloh5:
	adrp	x8, _DDI_BUF_CTL_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DDI_BUF_CTL_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.1:
Lloh8:
	adrp	x8, _FDI_RX_ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FDI_RX_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.2:
Lloh11:
	adrp	x8, _FDI_AUTO_TRAINING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FDI_AUTO_TRAINING@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.3:
Lloh14:
	adrp	x8, _DP_TP_CTL_ENABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DP_TP_CTL_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.4:
Lloh17:
	adrp	x8, _DP_TP_CTL_FDI_AUTOTRAIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DP_TP_CTL_FDI_AUTOTRAIN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_E,4,2                     ; @PORT_E
	.comm	__FDI_RXA_CTL,4,2               ; @_FDI_RXA_CTL
	.comm	_DDI_BUF_CTL_ENABLE,4,2         ; @DDI_BUF_CTL_ENABLE
	.comm	_FDI_RX_ENABLE,4,2              ; @FDI_RX_ENABLE
	.comm	_FDI_AUTO_TRAINING,4,2          ; @FDI_AUTO_TRAINING
	.comm	_DP_TP_CTL_ENABLE,4,2           ; @DP_TP_CTL_ENABLE
	.comm	_DP_TP_CTL_FDI_AUTOTRAIN,4,2    ; @DP_TP_CTL_FDI_AUTOTRAIN
	.no_dead_strip	_fdi_auto_training_started
.subsections_via_symbols
