	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_training_pattern ## -- Begin function analogix_dp_set_training_pattern
	.p2align	4, 0x90
_analogix_dp_set_training_pattern:      ## @analogix_dp_set_training_pattern
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_10
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_SW_TRAINING_PATTERN_SET_PTN2@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	retq
LBB0_5:
	movq	_SW_TRAINING_PATTERN_SET_PTN1@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	_SCRAMBLING_DISABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_2:
	movq	_LINK_QUAL_PATTERN_SET_PRBS7@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_SCRAMBLING_ENABLE@GOTPCREL(%rip), %rcx
	movq	_LINK_QUAL_PATTERN_SET_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_SW_TRAINING_PATTERN_SET_NORMAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_4:
	movq	_LINK_QUAL_PATTERN_SET_D10_2@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_SCRAMBLING_ENABLE@GOTPCREL(%rip), %rcx
LBB0_9:
	orl	(%rcx), %eax
	movq	_ANALOGIX_DP_TRAINING_PTN_SET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_SCRAMBLING_ENABLE,4,2          ## @SCRAMBLING_ENABLE
	.comm	_LINK_QUAL_PATTERN_SET_PRBS7,4,2 ## @LINK_QUAL_PATTERN_SET_PRBS7
	.comm	_ANALOGIX_DP_TRAINING_PTN_SET,8,3 ## @ANALOGIX_DP_TRAINING_PTN_SET
	.comm	_LINK_QUAL_PATTERN_SET_D10_2,4,2 ## @LINK_QUAL_PATTERN_SET_D10_2
	.comm	_SCRAMBLING_DISABLE,4,2         ## @SCRAMBLING_DISABLE
	.comm	_SW_TRAINING_PATTERN_SET_PTN1,4,2 ## @SW_TRAINING_PATTERN_SET_PTN1
	.comm	_SW_TRAINING_PATTERN_SET_PTN2,4,2 ## @SW_TRAINING_PATTERN_SET_PTN2
	.comm	_LINK_QUAL_PATTERN_SET_DISABLE,4,2 ## @LINK_QUAL_PATTERN_SET_DISABLE
	.comm	_SW_TRAINING_PATTERN_SET_NORMAL,4,2 ## @SW_TRAINING_PATTERN_SET_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_training_pattern ; -- Begin function analogix_dp_set_training_pattern
	.p2align	2
_analogix_dp_set_training_pattern:      ; @analogix_dp_set_training_pattern
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _SW_TRAINING_PATTERN_SET_PTN2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SW_TRAINING_PATTERN_SET_PTN2@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ret
LBB0_4:
Lloh4:
	adrp	x8, _SW_TRAINING_PATTERN_SET_PTN1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SW_TRAINING_PATTERN_SET_PTN1@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SCRAMBLING_DISABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SCRAMBLING_DISABLE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh8:
	adrp	x8, _LINK_QUAL_PATTERN_SET_PRBS7@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LINK_QUAL_PATTERN_SET_PRBS7@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x8, _SCRAMBLING_ENABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SCRAMBLING_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _LINK_QUAL_PATTERN_SET_DISABLE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LINK_QUAL_PATTERN_SET_DISABLE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _SW_TRAINING_PATTERN_SET_NORMAL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SW_TRAINING_PATTERN_SET_NORMAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh18:
	adrp	x8, _LINK_QUAL_PATTERN_SET_D10_2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LINK_QUAL_PATTERN_SET_D10_2@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _SCRAMBLING_ENABLE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SCRAMBLING_ENABLE@GOTPAGEOFF]
LBB0_10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x0]
Lloh22:
	adrp	x10, _ANALOGIX_DP_TRAINING_PTN_SET@GOTPAGE
Lloh23:
	ldr	x10, [x10, _ANALOGIX_DP_TRAINING_PTN_SET@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	add	x1, x10, x9
	mov	x0, x8
	b	_writel
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_SCRAMBLING_ENABLE,4,2          ; @SCRAMBLING_ENABLE
	.comm	_LINK_QUAL_PATTERN_SET_PRBS7,4,2 ; @LINK_QUAL_PATTERN_SET_PRBS7
	.comm	_ANALOGIX_DP_TRAINING_PTN_SET,8,3 ; @ANALOGIX_DP_TRAINING_PTN_SET
	.comm	_LINK_QUAL_PATTERN_SET_D10_2,4,2 ; @LINK_QUAL_PATTERN_SET_D10_2
	.comm	_SCRAMBLING_DISABLE,4,2         ; @SCRAMBLING_DISABLE
	.comm	_SW_TRAINING_PATTERN_SET_PTN1,4,2 ; @SW_TRAINING_PATTERN_SET_PTN1
	.comm	_SW_TRAINING_PATTERN_SET_PTN2,4,2 ; @SW_TRAINING_PATTERN_SET_PTN2
	.comm	_LINK_QUAL_PATTERN_SET_DISABLE,4,2 ; @LINK_QUAL_PATTERN_SET_DISABLE
	.comm	_SW_TRAINING_PATTERN_SET_NORMAL,4,2 ; @SW_TRAINING_PATTERN_SET_NORMAL
.subsections_via_symbols
