	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_training_aux_rd_interval
_get_training_aux_rd_interval:          ## @get_training_aux_rd_interval
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	_DPCD_REV_12@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_DP_TRAINING_AUX_RD_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_core_link_read_dpcd
	movl	-24(%rbp), %eax
	imull	$4000, %eax, %ecx               ## imm = 0xFA0
	testl	%eax, %eax
	cmovnel	%ecx, %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPCD_REV_12,8,3                ## @DPCD_REV_12
	.comm	_DP_TRAINING_AUX_RD_INTERVAL,4,2 ## @DP_TRAINING_AUX_RD_INTERVAL
	.no_dead_strip	_get_training_aux_rd_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_training_aux_rd_interval
_get_training_aux_rd_interval:          ; @get_training_aux_rd_interval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _DPCD_REV_12@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DPCD_REV_12@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _DP_TRAINING_AUX_RD_INTERVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DP_TRAINING_AUX_RD_INTERVAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #4
	bl	_core_link_read_dpcd
	ldr	w8, [sp, #8]
	mov	w9, #4000
	mul	w9, w8, w9
	cmp	w8, #0
	csel	w19, w19, w9, eq
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DPCD_REV_12,8,3                ; @DPCD_REV_12
	.comm	_DP_TRAINING_AUX_RD_INTERVAL,4,2 ; @DP_TRAINING_AUX_RD_INTERVAL
	.no_dead_strip	_get_training_aux_rd_interval
.subsections_via_symbols
