	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dp_set_hw_training_pattern     ## -- Begin function dp_set_hw_training_pattern
	.p2align	4, 0x90
_dp_set_hw_training_pattern:            ## @dp_set_hw_training_pattern
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.dp_set_hw_training_pattern(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DP_TEST_PATTERN_UNSUPPORTED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_dp_set_hw_test_pattern
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_TEST_PATTERN_UNSUPPORTED,4,2 ## @DP_TEST_PATTERN_UNSUPPORTED
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN1,4,2 ## @DP_TEST_PATTERN_TRAINING_PATTERN1
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN2,4,2 ## @DP_TEST_PATTERN_TRAINING_PATTERN2
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN3,4,2 ## @DP_TEST_PATTERN_TRAINING_PATTERN3
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN4,4,2 ## @DP_TEST_PATTERN_TRAINING_PATTERN4
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.dp_set_hw_training_pattern
l_switch.table.dp_set_hw_training_pattern:
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN4
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN3
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN2
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dp_set_hw_training_pattern     ; -- Begin function dp_set_hw_training_pattern
	.p2align	2
_dp_set_hw_training_pattern:            ; @dp_set_hw_training_pattern
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.dp_set_hw_training_pattern@PAGE
Lloh1:
	add	x9, x9, l_switch.table.dp_set_hw_training_pattern@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _DP_TEST_PATTERN_UNSUPPORTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_TEST_PATTERN_UNSUPPORTED@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	mov	x2, #0
	mov	w3, #0
	bl	_dp_set_hw_test_pattern
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_TEST_PATTERN_UNSUPPORTED,4,2 ; @DP_TEST_PATTERN_UNSUPPORTED
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN1,4,2 ; @DP_TEST_PATTERN_TRAINING_PATTERN1
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN2,4,2 ; @DP_TEST_PATTERN_TRAINING_PATTERN2
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN3,4,2 ; @DP_TEST_PATTERN_TRAINING_PATTERN3
	.comm	_DP_TEST_PATTERN_TRAINING_PATTERN4,4,2 ; @DP_TEST_PATTERN_TRAINING_PATTERN4
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.dp_set_hw_training_pattern
l_switch.table.dp_set_hw_training_pattern:
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN4
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN3
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN2
	.quad	_DP_TEST_PATTERN_TRAINING_PATTERN1

.subsections_via_symbols
