	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun6i_dsi_start
_sun6i_dsi_start:                       ## @sun6i_dsi_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	(%r15), %edi
	movq	_SUN6I_DSI_INST_JUMP_SEL_REG@GOTPCREL(%rip), %rdx
	movq	_DSI_INST_ID_LPDT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movl	(%r15), %edi
	movq	_SUN6I_DSI_INST_JUMP_SEL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DSI_INST_ID_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DSI_INST_ID_LP11@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlb	$2, %cl
	shll	%cl, %edx
	jmp	LBB0_9
LBB0_4:
	movq	_DSI_INST_ID_LPDT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DSI_INST_ID_LP11@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlb	$2, %cl
	movl	%eax, %r8d
	shll	%cl, %r8d
	movq	_DSI_INST_ID_DLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shll	$2, %eax
	movl	%edx, %ebx
	movl	%eax, %ecx
	shll	%cl, %ebx
	movq	_DSI_INST_ID_TBA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %edx
	movl	%eax, %r9d
	movl	%edx, %ecx
	shll	%cl, %r9d
	movl	(%r15), %edi
	movq	_SUN6I_DSI_INST_JUMP_SEL_REG@GOTPCREL(%rip), %rsi
	movq	_DSI_INST_ID_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shll	$2, %eax
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	(%rsi), %esi
	orl	%r8d, %ebx
	orl	%r9d, %edx
	jmp	LBB0_8
LBB0_5:
	movq	_DSI_INST_ID_NOP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_DSI_INST_ID_LP11@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlb	$2, %cl
	movl	%ebx, %r8d
	shll	%cl, %r8d
	movl	(%r15), %edi
	movq	_DSI_INST_ID_HSD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leal	(,%rbx,4), %ecx
	movl	%r9d, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movq	_SUN6I_DSI_INST_JUMP_SEL_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DSI_INST_ID_DLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shll	$2, %r9d
	movl	%edx, %r10d
	movl	%r9d, %ecx
	shll	%cl, %r10d
	shll	$2, %edx
	movl	%edx, %ecx
	shll	%cl, %ebx
	orl	%r8d, %eax
	orl	%r10d, %ebx
	orl	%eax, %ebx
	movq	_DSI_INST_ID_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DSI_INST_ID_HSCEXIT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlb	$2, %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	jmp	LBB0_9
LBB0_6:
	movl	(%r15), %edi
	movq	_SUN6I_DSI_INST_JUMP_SEL_REG@GOTPCREL(%rip), %rdx
	movq	_DSI_INST_ID_HSC@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movq	_DSI_INST_ID_LP11@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlb	$2, %cl
	movl	%eax, %ebx
	shll	%cl, %ebx
	movl	(%rdx), %esi
	movq	_DSI_INST_ID_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shll	$2, %eax
	movl	%eax, %ecx
	shll	%cl, %edx
LBB0_8:
	orl	%ebx, %edx
LBB0_9:
	callq	_regmap_write
	movq	%r15, %rdi
	callq	_sun6i_dsi_inst_abort
	movq	%r15, %rdi
	callq	_sun6i_dsi_inst_commit
	cmpl	$131, %r14d
	jne	LBB0_11
## %bb.10:
	movl	(%r15), %ebx
	movq	_DSI_INST_ID_LP11@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SUN6I_DSI_INST_FUNC_REG
	movq	_SUN6I_DSI_INST_FUNC_LANE_CEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_SUN6I_DSI_INST_JUMP_SEL_REG,4,2 ## @SUN6I_DSI_INST_JUMP_SEL_REG
	.comm	_DSI_INST_ID_LPDT,4,2           ## @DSI_INST_ID_LPDT
	.comm	_DSI_INST_ID_LP11,4,2           ## @DSI_INST_ID_LP11
	.comm	_DSI_INST_ID_END,4,2            ## @DSI_INST_ID_END
	.comm	_DSI_INST_ID_DLY,4,2            ## @DSI_INST_ID_DLY
	.comm	_DSI_INST_ID_TBA,4,2            ## @DSI_INST_ID_TBA
	.comm	_DSI_INST_ID_HSC,4,2            ## @DSI_INST_ID_HSC
	.comm	_DSI_INST_ID_NOP,4,2            ## @DSI_INST_ID_NOP
	.comm	_DSI_INST_ID_HSD,4,2            ## @DSI_INST_ID_HSD
	.comm	_DSI_INST_ID_HSCEXIT,4,2        ## @DSI_INST_ID_HSCEXIT
	.comm	_SUN6I_DSI_INST_FUNC_LANE_CEN,4,2 ## @SUN6I_DSI_INST_FUNC_LANE_CEN
	.no_dead_strip	_sun6i_dsi_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun6i_dsi_start
_sun6i_dsi_start:                       ; @sun6i_dsi_start
	.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
	sub	w8, w1, #128
	cmp	w8, #3
	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:
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _DSI_INST_ID_LPDT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DSI_INST_ID_LPDT@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	ldr	w0, [x19]
Lloh7:
	adrp	x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _DSI_INST_ID_END@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSI_INST_ID_END@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _DSI_INST_ID_LP11@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DSI_INST_ID_LP11@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	lsl	w9, w9, #2
	lsl	w2, w8, w9
	b	LBB0_8
LBB0_4:
	ldr	w0, [x19]
Lloh16:
	adrp	x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _DSI_INST_ID_LPDT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DSI_INST_ID_LPDT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _DSI_INST_ID_LP11@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DSI_INST_ID_LP11@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	lsl	w9, w9, #2
	lsl	w9, w8, w9
Lloh25:
	adrp	x10, _DSI_INST_ID_DLY@GOTPAGE
Lloh26:
	ldr	x10, [x10, _DSI_INST_ID_DLY@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	lsl	w8, w8, #2
	lsl	w8, w10, w8
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _DSI_INST_ID_TBA@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DSI_INST_ID_TBA@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	lsl	w10, w10, #2
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh31:
	adrp	x10, _DSI_INST_ID_END@GOTPAGE
Lloh32:
	ldr	x10, [x10, _DSI_INST_ID_END@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	lsl	w9, w9, #2
	lsl	w9, w10, w9
	orr	w2, w8, w9
	b	LBB0_8
LBB0_5:
	ldr	w0, [x19]
Lloh34:
	adrp	x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _DSI_INST_ID_NOP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DSI_INST_ID_NOP@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _DSI_INST_ID_LP11@GOTPAGE
Lloh41:
	ldr	x9, [x9, _DSI_INST_ID_LP11@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	lsl	w9, w9, #2
	lsl	w9, w8, w9
Lloh43:
	adrp	x10, _DSI_INST_ID_HSD@GOTPAGE
Lloh44:
	ldr	x10, [x10, _DSI_INST_ID_HSD@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	lsl	w11, w8, #2
	lsl	w11, w10, w11
	orr	w9, w9, w11
Lloh46:
	adrp	x11, _DSI_INST_ID_DLY@GOTPAGE
Lloh47:
	ldr	x11, [x11, _DSI_INST_ID_DLY@GOTPAGEOFF]
Lloh48:
	ldr	w11, [x11]
	lsl	w10, w10, #2
	lsl	w10, w11, w10
	orr	w9, w9, w10
	lsl	w10, w11, #2
	lsl	w8, w8, w10
	orr	w8, w9, w8
Lloh49:
	adrp	x9, _DSI_INST_ID_END@GOTPAGE
Lloh50:
	ldr	x9, [x9, _DSI_INST_ID_END@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
Lloh52:
	adrp	x10, _DSI_INST_ID_HSCEXIT@GOTPAGE
Lloh53:
	ldr	x10, [x10, _DSI_INST_ID_HSCEXIT@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	lsl	w10, w10, #2
	lsl	w9, w9, w10
	orr	w2, w8, w9
	b	LBB0_8
LBB0_6:
	ldr	w0, [x19]
Lloh55:
	adrp	x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SUN6I_DSI_INST_JUMP_SEL_REG@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x8, _DSI_INST_ID_HSC@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DSI_INST_ID_HSC@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _DSI_INST_ID_LP11@GOTPAGE
Lloh61:
	ldr	x9, [x9, _DSI_INST_ID_LP11@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	lsl	w9, w9, #2
	lsl	w9, w8, w9
Lloh63:
	adrp	x10, _DSI_INST_ID_END@GOTPAGE
Lloh64:
	ldr	x10, [x10, _DSI_INST_ID_END@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
	lsl	w8, w8, #2
	lsl	w8, w10, w8
	orr	w2, w9, w8
LBB0_8:
	bl	_regmap_write
	mov	x0, x19
	bl	_sun6i_dsi_inst_abort
	mov	x0, x19
	bl	_sun6i_dsi_inst_commit
	cmp	w20, #131
	b.ne	LBB0_10
; %bb.9:
	ldr	w19, [x19]
Lloh66:
	adrp	x8, _DSI_INST_ID_LP11@GOTPAGE
Lloh67:
	ldr	x8, [x8, _DSI_INST_ID_LP11@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	bl	_SUN6I_DSI_INST_FUNC_REG
	mov	x1, x0
Lloh69:
	adrp	x8, _SUN6I_DSI_INST_FUNC_LANE_CEN@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SUN6I_DSI_INST_FUNC_LANE_CEN@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_regmap_write_bits
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_SUN6I_DSI_INST_JUMP_SEL_REG,4,2 ; @SUN6I_DSI_INST_JUMP_SEL_REG
	.comm	_DSI_INST_ID_LPDT,4,2           ; @DSI_INST_ID_LPDT
	.comm	_DSI_INST_ID_LP11,4,2           ; @DSI_INST_ID_LP11
	.comm	_DSI_INST_ID_END,4,2            ; @DSI_INST_ID_END
	.comm	_DSI_INST_ID_DLY,4,2            ; @DSI_INST_ID_DLY
	.comm	_DSI_INST_ID_TBA,4,2            ; @DSI_INST_ID_TBA
	.comm	_DSI_INST_ID_HSC,4,2            ; @DSI_INST_ID_HSC
	.comm	_DSI_INST_ID_NOP,4,2            ; @DSI_INST_ID_NOP
	.comm	_DSI_INST_ID_HSD,4,2            ; @DSI_INST_ID_HSD
	.comm	_DSI_INST_ID_HSCEXIT,4,2        ; @DSI_INST_ID_HSCEXIT
	.comm	_SUN6I_DSI_INST_FUNC_LANE_CEN,4,2 ; @SUN6I_DSI_INST_FUNC_LANE_CEN
	.no_dead_strip	_sun6i_dsi_start
.subsections_via_symbols
