	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mi0283qt_enable
_mi0283qt_enable:                       ## @mi0283qt_enable
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_drm_to_mipi_dbi_dev
	movq	%rax, %r12
	movl	(%rbx), %edi
	leaq	-36(%rbp), %rsi
	callq	_drm_dev_enter
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%r12, %rdi
	callq	_mipi_dbi_poweron_conditional_reset
	testl	%eax, %eax
	js	LBB0_13
## %bb.2:
	movq	%r12, %rbx
	addq	$4, %rbx
	cmpl	$1, %eax
	je	LBB0_4
## %bb.3:
	movq	_MIPI_DCS_SET_DISPLAY_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_PWCTRLB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$131, %ecx
	movl	$48, %r8d
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_PWRSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$100, %edx
	movl	$3, %ecx
	movl	$18, %r8d
	movl	$129, %r9d
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_DTCTRLA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$133, %edx
	movl	$1, %ecx
	movl	$121, %r8d
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_PWCTRLA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$57, %edx
	movl	$44, %ecx
	xorl	%r8d, %r8d
	movl	$52, %r9d
	xorl	%eax, %eax
	pushq	$2
	callq	_mipi_dbi_command
	addq	$16, %rsp
	movq	_ILI9341_PUMPCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_DTCTRLB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_PWCTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$38, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_PWCTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$17, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_VMCTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$53, %edx
	movl	$62, %ecx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_VMCTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$190, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_MIPI_DCS_SET_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MIPI_DCS_PIXEL_FMT_16BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_FRMCTR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$27, %ecx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_EN3GAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_MIPI_DCS_SET_GAMMA_CURVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_PGAMCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$31, %edx
	movl	$26, %ecx
	movl	$24, %r8d
	movl	$10, %r9d
	xorl	%eax, %eax
	pushq	$0
	pushq	$5
	pushq	$7
	pushq	$2
	pushq	$7
	pushq	$10
	pushq	$50
	pushq	$135
	pushq	$69
	pushq	$6
	pushq	$15
	callq	_mipi_dbi_command
	addq	$96, %rsp
	movq	_ILI9341_NGAMCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subq	$8, %rsp
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$37, %ecx
	movl	$39, %r8d
	movl	$5, %r9d
	xorl	%eax, %eax
	pushq	$31
	pushq	$58
	pushq	$56
	pushq	$13
	pushq	$24
	pushq	$5
	pushq	$77
	pushq	$120
	pushq	$58
	pushq	$9
	pushq	$16
	callq	_mipi_dbi_command
	addq	$96, %rsp
	movq	_ILI9341_ETMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$7, %edx
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_ILI9341_DISCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$10, %edx
	movl	$130, %ecx
	movl	$39, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	_MIPI_DCS_EXIT_SLEEP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movl	$100, %edi
	callq	_msleep
	movq	_MIPI_DCS_SET_DISPLAY_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movl	$100, %edi
	callq	_msleep
LBB0_4:
	movl	(%r12), %eax
	cmpl	$90, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$180, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$270, %eax                      ## imm = 0x10E
	jne	LBB0_7
## %bb.10:
	movq	_ILI9341_MADCTL_MX@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_ILI9341_MADCTL_MY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_ILI9341_MADCTL_MV@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	jmp	LBB0_12
LBB0_7:
	movq	_ILI9341_MADCTL_MV@GOTPCREL(%rip), %rax
	movq	_ILI9341_MADCTL_MY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ILI9341_MADCTL_MX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
LBB0_12:
	movq	_ILI9341_MADCTL_BGR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_MIPI_DCS_SET_ADDRESS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mipi_dbi_command
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_mipi_dbi_enable_flush
LBB0_13:
	movl	-36(%rbp), %edi
	callq	_drm_dev_exit
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_MIPI_DCS_SET_DISPLAY_OFF,4,2   ## @MIPI_DCS_SET_DISPLAY_OFF
	.comm	_ILI9341_PWCTRLB,4,2            ## @ILI9341_PWCTRLB
	.comm	_ILI9341_PWRSEQ,4,2             ## @ILI9341_PWRSEQ
	.comm	_ILI9341_DTCTRLA,4,2            ## @ILI9341_DTCTRLA
	.comm	_ILI9341_PWCTRLA,4,2            ## @ILI9341_PWCTRLA
	.comm	_ILI9341_PUMPCTRL,4,2           ## @ILI9341_PUMPCTRL
	.comm	_ILI9341_DTCTRLB,4,2            ## @ILI9341_DTCTRLB
	.comm	_ILI9341_PWCTRL1,4,2            ## @ILI9341_PWCTRL1
	.comm	_ILI9341_PWCTRL2,4,2            ## @ILI9341_PWCTRL2
	.comm	_ILI9341_VMCTRL1,4,2            ## @ILI9341_VMCTRL1
	.comm	_ILI9341_VMCTRL2,4,2            ## @ILI9341_VMCTRL2
	.comm	_MIPI_DCS_SET_PIXEL_FORMAT,4,2  ## @MIPI_DCS_SET_PIXEL_FORMAT
	.comm	_MIPI_DCS_PIXEL_FMT_16BIT,4,2   ## @MIPI_DCS_PIXEL_FMT_16BIT
	.comm	_ILI9341_FRMCTR1,4,2            ## @ILI9341_FRMCTR1
	.comm	_ILI9341_EN3GAM,4,2             ## @ILI9341_EN3GAM
	.comm	_MIPI_DCS_SET_GAMMA_CURVE,4,2   ## @MIPI_DCS_SET_GAMMA_CURVE
	.comm	_ILI9341_PGAMCTRL,4,2           ## @ILI9341_PGAMCTRL
	.comm	_ILI9341_NGAMCTRL,4,2           ## @ILI9341_NGAMCTRL
	.comm	_ILI9341_ETMOD,4,2              ## @ILI9341_ETMOD
	.comm	_ILI9341_DISCTRL,4,2            ## @ILI9341_DISCTRL
	.comm	_MIPI_DCS_EXIT_SLEEP_MODE,4,2   ## @MIPI_DCS_EXIT_SLEEP_MODE
	.comm	_MIPI_DCS_SET_DISPLAY_ON,4,2    ## @MIPI_DCS_SET_DISPLAY_ON
	.comm	_ILI9341_MADCTL_MV,4,2          ## @ILI9341_MADCTL_MV
	.comm	_ILI9341_MADCTL_MY,4,2          ## @ILI9341_MADCTL_MY
	.comm	_ILI9341_MADCTL_MX,4,2          ## @ILI9341_MADCTL_MX
	.comm	_ILI9341_MADCTL_BGR,4,2         ## @ILI9341_MADCTL_BGR
	.comm	_MIPI_DCS_SET_ADDRESS_MODE,4,2  ## @MIPI_DCS_SET_ADDRESS_MODE
	.no_dead_strip	_mi0283qt_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mi0283qt_enable
_mi0283qt_enable:                       ; @mi0283qt_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x0]
	bl	_drm_to_mipi_dbi_dev
	mov	x21, x0
	ldr	w0, [x22]
	sub	x1, x29, #84
	bl	_drm_dev_enter
	cbz	w0, LBB0_14
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x21
	bl	_mipi_dbi_poweron_conditional_reset
	tbnz	w0, #31, LBB0_13
; %bb.2:
	add	x22, x21, #4
	cmp	w0, #1
	b.eq	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _MIPI_DCS_SET_DISPLAY_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MIPI_DCS_SET_DISPLAY_OFF@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh5:
	adrp	x8, _ILI9341_PWCTRLB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ILI9341_PWCTRLB@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w9, #48
	mov	w8, #131
	stp	x8, x9, [sp, #8]
	str	xzr, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh8:
	adrp	x8, _ILI9341_PWRSEQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ILI9341_PWRSEQ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w8, #129
	mov	w9, #18
	stp	x9, x8, [sp, #16]
	mov	w8, #3
	mov	w9, #100
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh11:
	adrp	x8, _ILI9341_DTCTRLA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ILI9341_DTCTRLA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w10, #121
	mov	w24, #1
	mov	w8, #133
	stp	x24, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh14:
	adrp	x8, _ILI9341_PWCTRLA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ILI9341_PWCTRLA@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w23, #2
	mov	w8, #52
	stp	x8, x23, [sp, #24]
	mov	w8, #44
	mov	w9, #57
	stp	x8, xzr, [sp, #8]
	str	x9, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh17:
	adrp	x8, _ILI9341_PUMPCTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ILI9341_PUMPCTRL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w8, #32
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh20:
	adrp	x8, _ILI9341_DTCTRLB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ILI9341_DTCTRLB@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	stp	xzr, xzr, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh23:
	adrp	x8, _ILI9341_PWCTRL1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ILI9341_PWCTRL1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w8, #38
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh26:
	adrp	x8, _ILI9341_PWCTRL2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ILI9341_PWCTRL2@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w8, #17
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh29:
	adrp	x8, _ILI9341_VMCTRL1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ILI9341_VMCTRL1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	w8, #62
	mov	w9, #53
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh32:
	adrp	x8, _ILI9341_VMCTRL2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ILI9341_VMCTRL2@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	w8, #190
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh35:
	adrp	x8, _MIPI_DCS_SET_PIXEL_FORMAT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MIPI_DCS_SET_PIXEL_FORMAT@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _MIPI_DCS_PIXEL_FMT_16BIT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MIPI_DCS_PIXEL_FMT_16BIT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh41:
	adrp	x8, _ILI9341_FRMCTR1@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ILI9341_FRMCTR1@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	w8, #27
	stp	xzr, x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh44:
	adrp	x8, _ILI9341_EN3GAM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ILI9341_EN3GAM@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w8, #8
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh47:
	adrp	x8, _MIPI_DCS_SET_GAMMA_CURVE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MIPI_DCS_SET_GAMMA_CURVE@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	str	x24, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh50:
	adrp	x8, _ILI9341_PGAMCTRL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ILI9341_PGAMCTRL@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	w25, #5
	mov	w24, #7
	stp	x25, xzr, [sp, #104]
	stp	x23, x24, [sp, #88]
	mov	w23, #10
	mov	w10, #50
	stp	x23, x24, [sp, #72]
	mov	w8, #135
	mov	w11, #69
	stp	x8, x10, [sp, #56]
	mov	w8, #6
	mov	w9, #15
	stp	x8, x11, [sp, #40]
	stp	x23, x9, [sp, #24]
	mov	w26, #24
	mov	w8, #26
	mov	w27, #31
	stp	x8, x26, [sp, #8]
	str	x27, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh53:
	adrp	x8, _ILI9341_NGAMCTRL@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ILI9341_NGAMCTRL@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	w11, #58
	mov	w10, #56
	stp	x11, x27, [sp, #104]
	mov	w9, #13
	stp	x9, x10, [sp, #88]
	stp	x25, x26, [sp, #72]
	mov	w10, #77
	mov	w9, #120
	stp	x9, x10, [sp, #56]
	mov	w8, #9
	mov	w9, #16
	stp	x8, x11, [sp, #40]
	stp	x25, x9, [sp, #24]
	mov	w26, #39
	mov	w8, #37
	stp	x8, x26, [sp, #8]
	str	xzr, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh56:
	adrp	x8, _ILI9341_ETMOD@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ILI9341_ETMOD@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	str	x24, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh59:
	adrp	x8, _ILI9341_DISCTRL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ILI9341_DISCTRL@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	stp	x26, xzr, [sp, #16]
	mov	w8, #130
	stp	x23, x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
Lloh62:
	adrp	x8, _MIPI_DCS_EXIT_SLEEP_MODE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MIPI_DCS_EXIT_SLEEP_MODE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mipi_dbi_command
	mov	w0, #100
	bl	_msleep
Lloh65:
	adrp	x8, _MIPI_DCS_SET_DISPLAY_ON@GOTPAGE
Lloh66:
	ldr	x8, [x8, _MIPI_DCS_SET_DISPLAY_ON@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mipi_dbi_command
	mov	w0, #100
	bl	_msleep
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, #90
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #180
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #270
	b.ne	LBB0_11
; %bb.7:
Lloh68:
	adrp	x8, _ILI9341_MADCTL_MX@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ILI9341_MADCTL_MX@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh70:
	adrp	x8, _ILI9341_MADCTL_MY@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ILI9341_MADCTL_MY@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh72:
	adrp	x8, _ILI9341_MADCTL_MV@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ILI9341_MADCTL_MV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	b	LBB0_12
LBB0_11:
Lloh74:
	adrp	x8, _ILI9341_MADCTL_MV@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ILI9341_MADCTL_MV@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _ILI9341_MADCTL_MY@GOTPAGE
Lloh78:
	ldr	x9, [x9, _ILI9341_MADCTL_MY@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh80:
	adrp	x9, _ILI9341_MADCTL_MX@GOTPAGE
Lloh81:
	ldr	x9, [x9, _ILI9341_MADCTL_MX@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_12:
Lloh83:
	adrp	x9, _ILI9341_MADCTL_BGR@GOTPAGE
Lloh84:
	ldr	x9, [x9, _ILI9341_MADCTL_BGR@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh86:
	adrp	x9, _MIPI_DCS_SET_ADDRESS_MODE@GOTPAGE
Lloh87:
	ldr	x9, [x9, _MIPI_DCS_SET_ADDRESS_MODE@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x9]
	str	x8, [sp]
	mov	x0, x22
	bl	_mipi_dbi_command
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_mipi_dbi_enable_flush
LBB0_13:
	ldur	w0, [x29, #-84]
	bl	_drm_dev_exit
LBB0_14:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_MIPI_DCS_SET_DISPLAY_OFF,4,2   ; @MIPI_DCS_SET_DISPLAY_OFF
	.comm	_ILI9341_PWCTRLB,4,2            ; @ILI9341_PWCTRLB
	.comm	_ILI9341_PWRSEQ,4,2             ; @ILI9341_PWRSEQ
	.comm	_ILI9341_DTCTRLA,4,2            ; @ILI9341_DTCTRLA
	.comm	_ILI9341_PWCTRLA,4,2            ; @ILI9341_PWCTRLA
	.comm	_ILI9341_PUMPCTRL,4,2           ; @ILI9341_PUMPCTRL
	.comm	_ILI9341_DTCTRLB,4,2            ; @ILI9341_DTCTRLB
	.comm	_ILI9341_PWCTRL1,4,2            ; @ILI9341_PWCTRL1
	.comm	_ILI9341_PWCTRL2,4,2            ; @ILI9341_PWCTRL2
	.comm	_ILI9341_VMCTRL1,4,2            ; @ILI9341_VMCTRL1
	.comm	_ILI9341_VMCTRL2,4,2            ; @ILI9341_VMCTRL2
	.comm	_MIPI_DCS_SET_PIXEL_FORMAT,4,2  ; @MIPI_DCS_SET_PIXEL_FORMAT
	.comm	_MIPI_DCS_PIXEL_FMT_16BIT,4,2   ; @MIPI_DCS_PIXEL_FMT_16BIT
	.comm	_ILI9341_FRMCTR1,4,2            ; @ILI9341_FRMCTR1
	.comm	_ILI9341_EN3GAM,4,2             ; @ILI9341_EN3GAM
	.comm	_MIPI_DCS_SET_GAMMA_CURVE,4,2   ; @MIPI_DCS_SET_GAMMA_CURVE
	.comm	_ILI9341_PGAMCTRL,4,2           ; @ILI9341_PGAMCTRL
	.comm	_ILI9341_NGAMCTRL,4,2           ; @ILI9341_NGAMCTRL
	.comm	_ILI9341_ETMOD,4,2              ; @ILI9341_ETMOD
	.comm	_ILI9341_DISCTRL,4,2            ; @ILI9341_DISCTRL
	.comm	_MIPI_DCS_EXIT_SLEEP_MODE,4,2   ; @MIPI_DCS_EXIT_SLEEP_MODE
	.comm	_MIPI_DCS_SET_DISPLAY_ON,4,2    ; @MIPI_DCS_SET_DISPLAY_ON
	.comm	_ILI9341_MADCTL_MV,4,2          ; @ILI9341_MADCTL_MV
	.comm	_ILI9341_MADCTL_MY,4,2          ; @ILI9341_MADCTL_MY
	.comm	_ILI9341_MADCTL_MX,4,2          ; @ILI9341_MADCTL_MX
	.comm	_ILI9341_MADCTL_BGR,4,2         ; @ILI9341_MADCTL_BGR
	.comm	_MIPI_DCS_SET_ADDRESS_MODE,4,2  ; @MIPI_DCS_SET_ADDRESS_MODE
	.no_dead_strip	_mi0283qt_enable
.subsections_via_symbols
