	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6e63j0x03_panel_init
_s6e63j0x03_panel_init:                 ## @s6e63j0x03_panel_init
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_mipi_dsi_device
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_s6e63j0x03_enable_lv2_command
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_s6e63j0x03_apply_mtp_key
	testl	%eax, %eax
	js	LBB0_13
## %bb.2:
	movq	%rbx, %rdi
	movl	$242, %esi
	movl	$28, %edx
	movl	$40, %ecx
	xorl	%eax, %eax
	callq	_s6e63j0x03_dcs_write_seq_static
	testl	%eax, %eax
	js	LBB0_13
## %bb.3:
	movq	%rbx, %rdi
	movl	$181, %esi
	xorl	%edx, %edx
	movl	$2, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_s6e63j0x03_dcs_write_seq_static
	testl	%eax, %eax
	js	LBB0_13
## %bb.4:
	movq	_FIRST_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_default_mode@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	leal	(%rsi,%rax), %edx
	decl	%edx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mipi_dsi_dcs_set_column_address
	testl	%eax, %eax
	js	LBB0_13
## %bb.5:
	movq	8(%r15), %rdx
	decq	%rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mipi_dsi_dcs_set_page_address
	testl	%eax, %eax
	js	LBB0_13
## %bb.6:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$248, %esi
	movl	$8, %edx
	movl	$8, %ecx
	movl	$8, %r8d
	movl	$23, %r9d
	xorl	%eax, %eax
	pushq	$0
	pushq	$0
	pushq	$2
	pushq	$0
	pushq	$0
	pushq	$38
	pushq	$2
	pushq	$42
	pushq	$0
	callq	_s6e63j0x03_dcs_write_seq_static
	addq	$80, %rsp
	testl	%eax, %eax
	js	LBB0_13
## %bb.7:
	movq	%rbx, %rdi
	movl	$247, %esi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_s6e63j0x03_dcs_write_seq_static
	testl	%eax, %eax
	js	LBB0_13
## %bb.8:
	movq	%rbx, %rdi
	movl	$176, %esi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_s6e63j0x03_dcs_write_seq_static
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movq	%rbx, %rdi
	movl	$226, %esi
	movl	$15, %edx
	xorl	%eax, %eax
	callq	_s6e63j0x03_dcs_write_seq_static
	testl	%eax, %eax
	js	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	movl	$176, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_s6e63j0x03_dcs_write_seq_static
	testl	%eax, %eax
	js	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_mipi_dsi_dcs_exit_sleep_mode
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_s6e63j0x03_apply_mtp_key
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_COLUMN,4,2               ## @FIRST_COLUMN
	.comm	_default_mode,16,3              ## @default_mode
	.no_dead_strip	_s6e63j0x03_panel_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6e63j0x03_panel_init
_s6e63j0x03_panel_init:                 ; @s6e63j0x03_panel_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_to_mipi_dsi_device
	mov	x20, x0
	mov	x0, x19
	bl	_s6e63j0x03_enable_lv2_command
	tbnz	w0, #31, LBB0_13
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_s6e63j0x03_apply_mtp_key
	tbnz	w0, #31, LBB0_13
; %bb.2:
	mov	w8, #40
	str	x8, [sp]
	mov	x0, x19
	mov	w1, #242
	mov	w2, #28
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.3:
	mov	w8, #2
	stp	x8, xzr, [sp]
	mov	x0, x19
	mov	w1, #181
	mov	w2, #0
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.4:
Lloh0:
	adrp	x8, _FIRST_COLUMN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRST_COLUMN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _default_mode@GOTPAGE
Lloh4:
	ldr	x21, [x21, _default_mode@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w1, w8
	sub	w2, w8, #1
	mov	x0, x20
	bl	_mipi_dsi_dcs_set_column_address
	tbnz	w0, #31, LBB0_13
; %bb.5:
	ldr	x8, [x21, #8]
	sub	x2, x8, #1
	mov	x0, x20
	mov	w1, #0
	bl	_mipi_dsi_dcs_set_page_address
	tbnz	w0, #31, LBB0_13
; %bb.6:
	stp	xzr, xzr, [sp, #80]
	mov	w8, #2
	stp	xzr, x8, [sp, #64]
	mov	w9, #38
	stp	x9, xzr, [sp, #48]
	mov	w9, #42
	stp	x9, x8, [sp, #32]
	mov	w8, #23
	stp	x8, xzr, [sp, #16]
	mov	w8, #8
	stp	x8, x8, [sp]
	mov	x0, x19
	mov	w1, #248
	mov	w2, #8
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.7:
	mov	x0, x19
	mov	w1, #247
	mov	w2, #2
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.8:
	mov	x0, x19
	mov	w1, #176
	mov	w2, #1
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.9:
	mov	x0, x19
	mov	w1, #226
	mov	w2, #15
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.10:
	mov	x0, x19
	mov	w1, #176
	mov	w2, #0
	bl	_s6e63j0x03_dcs_write_seq_static
	tbnz	w0, #31, LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_mipi_dsi_dcs_exit_sleep_mode
	tbnz	w0, #31, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #0
	bl	_s6e63j0x03_apply_mtp_key
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_COLUMN,4,2               ; @FIRST_COLUMN
	.comm	_default_mode,16,3              ; @default_mode
	.no_dead_strip	_s6e63j0x03_panel_init
.subsections_via_symbols
