	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st7789v_prepare
_st7789v_prepare:                       ## @st7789v_prepare
	.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
	callq	_panel_to_st7789v
	movq	%rax, %r15
	movl	4(%rax), %edi
	callq	_regulator_enable
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movl	$1, %esi
	callq	_gpiod_set_value
	movl	$30, %edi
	callq	_msleep
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_gpiod_set_value
	movl	$120, %edi
	callq	_msleep
	movq	_MIPI_DCS_EXIT_SLEEP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$120, %edi
	callq	_msleep
	movq	_MIPI_DCS_SET_ADDRESS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_MIPI_DCS_SET_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_MIPI_DCS_PIXEL_FMT_18BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shll	$4, %esi
	orl	%eax, %esi
	movq	%r15, %rdi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_PORCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$3, %edi
	callq	_ST7789V_PORCTRL_IDLE_BP
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_ST7789V_PORCTRL_IDLE_FP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$3, %edi
	callq	_ST7789V_PORCTRL_PARTIAL_BP
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_ST7789V_PORCTRL_PARTIAL_FP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_GCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$5, %edi
	callq	_ST7789V_GCTRL_VGLS
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_ST7789V_GCTRL_VGHS
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_VCOMS_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	movl	$43, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_LCMCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_LCMCTRL_XMH@GOTPCREL(%rip), %rax
	movq	_ST7789V_LCMCTRL_XMX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_ST7789V_LCMCTRL_XBGR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_VDVVRHEN_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_VDVVRHEN_CMDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_VRHS_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	movl	$15, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_VDVS_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_FRCTRL2_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	%r15, %rdi
	movl	$15, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_PWCTRL1_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_PWCTRL1_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$2, %edi
	callq	_ST7789V_PWCTRL1_AVDD
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_ST7789V_PWCTRL1_AVCL
	orl	%eax, %ebx
	movl	$1, %edi
	callq	_ST7789V_PWCTRL1_VDS
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_PVGAMCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$13, %edi
	callq	_ST7789V_PVGAMCTRL_VP63
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$202, %edi
	callq	_ST7789V_PVGAMCTRL_VP1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$14, %edi
	callq	_ST7789V_PVGAMCTRL_VP2
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$8, %edi
	callq	_ST7789V_PVGAMCTRL_VP4
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$9, %edi
	callq	_ST7789V_PVGAMCTRL_VP6
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$7, %edi
	callq	_ST7789V_PVGAMCTRL_VP13
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$45, %edi
	callq	_ST7789V_PVGAMCTRL_VP20
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$11, %edi
	callq	_ST7789V_PVGAMCTRL_VP27
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_ST7789V_PVGAMCTRL_VP36
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$61, %edi
	callq	_ST7789V_PVGAMCTRL_VP43
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$3, %edi
	callq	_ST7789V_PVGAMCTRL_JP1
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_ST7789V_PVGAMCTRL_VP50
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$10, %edi
	callq	_ST7789V_PVGAMCTRL_VP57
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$10, %edi
	callq	_ST7789V_PVGAMCTRL_VP59
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$27, %edi
	callq	_ST7789V_PVGAMCTRL_VP61
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$40, %edi
	callq	_ST7789V_PVGAMCTRL_VP62
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_NVGAMCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$13, %edi
	callq	_ST7789V_NVGAMCTRL_VN63
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$202, %edi
	callq	_ST7789V_NVGAMCTRL_VN1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$15, %edi
	callq	_ST7789V_NVGAMCTRL_VN2
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$8, %edi
	callq	_ST7789V_NVGAMCTRL_VN4
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$8, %edi
	callq	_ST7789V_NVGAMCTRL_VN6
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$7, %edi
	callq	_ST7789V_NVGAMCTRL_VN13
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$46, %edi
	callq	_ST7789V_NVGAMCTRL_VN20
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$12, %edi
	callq	_ST7789V_NVGAMCTRL_VN27
	movl	%eax, %ebx
	movl	$5, %edi
	callq	_ST7789V_NVGAMCTRL_VN36
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$64, %edi
	callq	_ST7789V_NVGAMCTRL_VN43
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$3, %edi
	callq	_ST7789V_NVGAMCTRL_JN1
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_ST7789V_NVGAMCTRL_VN50
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$9, %edi
	callq	_ST7789V_NVGAMCTRL_VN57
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$11, %edi
	callq	_ST7789V_NVGAMCTRL_VN59
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$27, %edi
	callq	_ST7789V_NVGAMCTRL_VN61
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$40, %edi
	callq	_ST7789V_NVGAMCTRL_VN62
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_MIPI_DCS_ENTER_INVERT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_RAMCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_RAMCTRL_DM_RGB@GOTPCREL(%rip), %rax
	movq	_ST7789V_RAMCTRL_RM_RGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$3, %edi
	callq	_ST7789V_RAMCTRL_EPF
	movq	_ST7789V_RAMCTRL_MAGIC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_RGBCTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_st7789v_write_command
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movq	_ST7789V_RGBCTRL_WO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$2, %edi
	callq	_ST7789V_RGBCTRL_RCM
	orl	%eax, %ebx
	movq	_ST7789V_RGBCTRL_VSYNC_HIGH@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ST7789V_RGBCTRL_HSYNC_HIGH@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ST7789V_RGBCTRL_PCLK_HIGH@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$8, %edi
	callq	_ST7789V_RGBCTRL_VBP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
	movl	$20, %edi
	callq	_ST7789V_RGBCTRL_HBP
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_st7789v_write_data
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ST7789V_TEST
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_DCS_EXIT_SLEEP_MODE,4,2   ## @MIPI_DCS_EXIT_SLEEP_MODE
	.comm	_MIPI_DCS_SET_ADDRESS_MODE,4,2  ## @MIPI_DCS_SET_ADDRESS_MODE
	.comm	_MIPI_DCS_SET_PIXEL_FORMAT,4,2  ## @MIPI_DCS_SET_PIXEL_FORMAT
	.comm	_MIPI_DCS_PIXEL_FMT_18BIT,4,2   ## @MIPI_DCS_PIXEL_FMT_18BIT
	.comm	_ST7789V_PORCTRL_CMD,4,2        ## @ST7789V_PORCTRL_CMD
	.comm	_ST7789V_GCTRL_CMD,4,2          ## @ST7789V_GCTRL_CMD
	.comm	_ST7789V_VCOMS_CMD,4,2          ## @ST7789V_VCOMS_CMD
	.comm	_ST7789V_LCMCTRL_CMD,4,2        ## @ST7789V_LCMCTRL_CMD
	.comm	_ST7789V_LCMCTRL_XMH,4,2        ## @ST7789V_LCMCTRL_XMH
	.comm	_ST7789V_LCMCTRL_XMX,4,2        ## @ST7789V_LCMCTRL_XMX
	.comm	_ST7789V_LCMCTRL_XBGR,4,2       ## @ST7789V_LCMCTRL_XBGR
	.comm	_ST7789V_VDVVRHEN_CMD,4,2       ## @ST7789V_VDVVRHEN_CMD
	.comm	_ST7789V_VDVVRHEN_CMDEN,4,2     ## @ST7789V_VDVVRHEN_CMDEN
	.comm	_ST7789V_VRHS_CMD,4,2           ## @ST7789V_VRHS_CMD
	.comm	_ST7789V_VDVS_CMD,4,2           ## @ST7789V_VDVS_CMD
	.comm	_ST7789V_FRCTRL2_CMD,4,2        ## @ST7789V_FRCTRL2_CMD
	.comm	_ST7789V_PWCTRL1_CMD,4,2        ## @ST7789V_PWCTRL1_CMD
	.comm	_ST7789V_PWCTRL1_MAGIC,4,2      ## @ST7789V_PWCTRL1_MAGIC
	.comm	_ST7789V_PVGAMCTRL_CMD,4,2      ## @ST7789V_PVGAMCTRL_CMD
	.comm	_ST7789V_NVGAMCTRL_CMD,4,2      ## @ST7789V_NVGAMCTRL_CMD
	.comm	_MIPI_DCS_ENTER_INVERT_MODE,4,2 ## @MIPI_DCS_ENTER_INVERT_MODE
	.comm	_ST7789V_RAMCTRL_CMD,4,2        ## @ST7789V_RAMCTRL_CMD
	.comm	_ST7789V_RAMCTRL_DM_RGB,4,2     ## @ST7789V_RAMCTRL_DM_RGB
	.comm	_ST7789V_RAMCTRL_RM_RGB,4,2     ## @ST7789V_RAMCTRL_RM_RGB
	.comm	_ST7789V_RAMCTRL_MAGIC,4,2      ## @ST7789V_RAMCTRL_MAGIC
	.comm	_ST7789V_RGBCTRL_CMD,4,2        ## @ST7789V_RGBCTRL_CMD
	.comm	_ST7789V_RGBCTRL_WO,4,2         ## @ST7789V_RGBCTRL_WO
	.comm	_ST7789V_RGBCTRL_VSYNC_HIGH,4,2 ## @ST7789V_RGBCTRL_VSYNC_HIGH
	.comm	_ST7789V_RGBCTRL_HSYNC_HIGH,4,2 ## @ST7789V_RGBCTRL_HSYNC_HIGH
	.comm	_ST7789V_RGBCTRL_PCLK_HIGH,4,2  ## @ST7789V_RGBCTRL_PCLK_HIGH
	.no_dead_strip	_st7789v_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st7789v_prepare
_st7789v_prepare:                       ; @st7789v_prepare
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_panel_to_st7789v
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_regulator_enable
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	mov	w1, #1
	bl	_gpiod_set_value
	mov	w0, #30
	bl	_msleep
	ldr	w0, [x20]
	mov	w1, #0
	bl	_gpiod_set_value
	mov	w0, #120
	bl	_msleep
Lloh0:
	adrp	x8, _MIPI_DCS_EXIT_SLEEP_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIPI_DCS_EXIT_SLEEP_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #120
	bl	_msleep
Lloh3:
	adrp	x8, _MIPI_DCS_SET_ADDRESS_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIPI_DCS_SET_ADDRESS_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #0
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh6:
	adrp	x8, _MIPI_DCS_SET_PIXEL_FORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIPI_DCS_SET_PIXEL_FORMAT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh9:
	adrp	x8, _MIPI_DCS_PIXEL_FMT_18BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MIPI_DCS_PIXEL_FMT_18BIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w1, w8, w8, lsl #4
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh12:
	adrp	x8, _ST7789V_PORCTRL_CMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ST7789V_PORCTRL_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #12
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #12
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #0
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #3
	bl	_ST7789V_PORCTRL_IDLE_BP
	mov	x21, x0
	mov	w0, #3
	bl	_ST7789V_PORCTRL_IDLE_FP
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #3
	bl	_ST7789V_PORCTRL_PARTIAL_BP
	mov	x21, x0
	mov	w0, #3
	bl	_ST7789V_PORCTRL_PARTIAL_FP
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh15:
	adrp	x8, _ST7789V_GCTRL_CMD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ST7789V_GCTRL_CMD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #5
	bl	_ST7789V_GCTRL_VGLS
	mov	x21, x0
	mov	w0, #3
	bl	_ST7789V_GCTRL_VGHS
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh18:
	adrp	x8, _ST7789V_VCOMS_CMD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ST7789V_VCOMS_CMD@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #43
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh21:
	adrp	x8, _ST7789V_LCMCTRL_CMD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ST7789V_LCMCTRL_CMD@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh24:
	adrp	x8, _ST7789V_LCMCTRL_XMH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ST7789V_LCMCTRL_XMH@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _ST7789V_LCMCTRL_XMX@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ST7789V_LCMCTRL_XMX@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh30:
	adrp	x9, _ST7789V_LCMCTRL_XBGR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ST7789V_LCMCTRL_XBGR@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh33:
	adrp	x8, _ST7789V_VDVVRHEN_CMD@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ST7789V_VDVVRHEN_CMD@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh36:
	adrp	x8, _ST7789V_VDVVRHEN_CMDEN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ST7789V_VDVVRHEN_CMDEN@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh39:
	adrp	x8, _ST7789V_VRHS_CMD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ST7789V_VRHS_CMD@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #15
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh42:
	adrp	x8, _ST7789V_VDVS_CMD@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ST7789V_VDVS_CMD@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #32
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh45:
	adrp	x8, _ST7789V_FRCTRL2_CMD@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ST7789V_FRCTRL2_CMD@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	x0, x20
	mov	w1, #15
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh48:
	adrp	x8, _ST7789V_PWCTRL1_CMD@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ST7789V_PWCTRL1_CMD@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh51:
	adrp	x8, _ST7789V_PWCTRL1_MAGIC@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ST7789V_PWCTRL1_MAGIC@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #2
	bl	_ST7789V_PWCTRL1_AVDD
	mov	x21, x0
	mov	w0, #2
	bl	_ST7789V_PWCTRL1_AVCL
	orr	w21, w0, w21
	mov	w0, #1
	bl	_ST7789V_PWCTRL1_VDS
	orr	w1, w21, w0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh54:
	adrp	x8, _ST7789V_PVGAMCTRL_CMD@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ST7789V_PVGAMCTRL_CMD@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #13
	bl	_ST7789V_PVGAMCTRL_VP63
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #202
	bl	_ST7789V_PVGAMCTRL_VP1
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #14
	bl	_ST7789V_PVGAMCTRL_VP2
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #8
	bl	_ST7789V_PVGAMCTRL_VP4
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #9
	bl	_ST7789V_PVGAMCTRL_VP6
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #7
	bl	_ST7789V_PVGAMCTRL_VP13
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #45
	bl	_ST7789V_PVGAMCTRL_VP20
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #11
	bl	_ST7789V_PVGAMCTRL_VP27
	mov	x21, x0
	mov	w0, #3
	bl	_ST7789V_PVGAMCTRL_VP36
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #61
	bl	_ST7789V_PVGAMCTRL_VP43
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #3
	bl	_ST7789V_PVGAMCTRL_JP1
	mov	x21, x0
	mov	w0, #4
	bl	_ST7789V_PVGAMCTRL_VP50
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #10
	bl	_ST7789V_PVGAMCTRL_VP57
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #10
	bl	_ST7789V_PVGAMCTRL_VP59
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #27
	bl	_ST7789V_PVGAMCTRL_VP61
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #40
	bl	_ST7789V_PVGAMCTRL_VP62
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh57:
	adrp	x8, _ST7789V_NVGAMCTRL_CMD@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ST7789V_NVGAMCTRL_CMD@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #13
	bl	_ST7789V_NVGAMCTRL_VN63
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #202
	bl	_ST7789V_NVGAMCTRL_VN1
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #15
	bl	_ST7789V_NVGAMCTRL_VN2
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #8
	bl	_ST7789V_NVGAMCTRL_VN4
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #8
	bl	_ST7789V_NVGAMCTRL_VN6
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #7
	bl	_ST7789V_NVGAMCTRL_VN13
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #46
	bl	_ST7789V_NVGAMCTRL_VN20
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #12
	bl	_ST7789V_NVGAMCTRL_VN27
	mov	x21, x0
	mov	w0, #5
	bl	_ST7789V_NVGAMCTRL_VN36
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #64
	bl	_ST7789V_NVGAMCTRL_VN43
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #3
	bl	_ST7789V_NVGAMCTRL_JN1
	mov	x21, x0
	mov	w0, #4
	bl	_ST7789V_NVGAMCTRL_VN50
	orr	w1, w0, w21
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #9
	bl	_ST7789V_NVGAMCTRL_VN57
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #11
	bl	_ST7789V_NVGAMCTRL_VN59
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #27
	bl	_ST7789V_NVGAMCTRL_VN61
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #40
	bl	_ST7789V_NVGAMCTRL_VN62
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh60:
	adrp	x8, _MIPI_DCS_ENTER_INVERT_MODE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MIPI_DCS_ENTER_INVERT_MODE@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh63:
	adrp	x8, _ST7789V_RAMCTRL_CMD@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ST7789V_RAMCTRL_CMD@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh66:
	adrp	x8, _ST7789V_RAMCTRL_DM_RGB@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ST7789V_RAMCTRL_DM_RGB@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _ST7789V_RAMCTRL_RM_RGB@GOTPAGE
Lloh70:
	ldr	x9, [x9, _ST7789V_RAMCTRL_RM_RGB@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #3
	bl	_ST7789V_RAMCTRL_EPF
Lloh72:
	adrp	x8, _ST7789V_RAMCTRL_MAGIC@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ST7789V_RAMCTRL_MAGIC@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh75:
	adrp	x8, _ST7789V_RGBCTRL_CMD@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ST7789V_RGBCTRL_CMD@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_st7789v_write_command
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
Lloh78:
	adrp	x8, _ST7789V_RGBCTRL_WO@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ST7789V_RGBCTRL_WO@GOTPAGEOFF]
Lloh80:
	ldr	w21, [x8]
	mov	w0, #2
	bl	_ST7789V_RGBCTRL_RCM
	orr	w8, w0, w21
Lloh81:
	adrp	x9, _ST7789V_RGBCTRL_VSYNC_HIGH@GOTPAGE
Lloh82:
	ldr	x9, [x9, _ST7789V_RGBCTRL_VSYNC_HIGH@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh84:
	adrp	x9, _ST7789V_RGBCTRL_HSYNC_HIGH@GOTPAGE
Lloh85:
	ldr	x9, [x9, _ST7789V_RGBCTRL_HSYNC_HIGH@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh87:
	adrp	x9, _ST7789V_RGBCTRL_PCLK_HIGH@GOTPAGE
Lloh88:
	ldr	x9, [x9, _ST7789V_RGBCTRL_PCLK_HIGH@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #8
	bl	_ST7789V_RGBCTRL_VBP
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
	mov	w0, #20
	bl	_ST7789V_RGBCTRL_HBP
	mov	x1, x0
	mov	x0, x20
	bl	_st7789v_write_data
	mov	x1, x0
	mov	w0, #0
	bl	_ST7789V_TEST
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPI_DCS_EXIT_SLEEP_MODE,4,2   ; @MIPI_DCS_EXIT_SLEEP_MODE
	.comm	_MIPI_DCS_SET_ADDRESS_MODE,4,2  ; @MIPI_DCS_SET_ADDRESS_MODE
	.comm	_MIPI_DCS_SET_PIXEL_FORMAT,4,2  ; @MIPI_DCS_SET_PIXEL_FORMAT
	.comm	_MIPI_DCS_PIXEL_FMT_18BIT,4,2   ; @MIPI_DCS_PIXEL_FMT_18BIT
	.comm	_ST7789V_PORCTRL_CMD,4,2        ; @ST7789V_PORCTRL_CMD
	.comm	_ST7789V_GCTRL_CMD,4,2          ; @ST7789V_GCTRL_CMD
	.comm	_ST7789V_VCOMS_CMD,4,2          ; @ST7789V_VCOMS_CMD
	.comm	_ST7789V_LCMCTRL_CMD,4,2        ; @ST7789V_LCMCTRL_CMD
	.comm	_ST7789V_LCMCTRL_XMH,4,2        ; @ST7789V_LCMCTRL_XMH
	.comm	_ST7789V_LCMCTRL_XMX,4,2        ; @ST7789V_LCMCTRL_XMX
	.comm	_ST7789V_LCMCTRL_XBGR,4,2       ; @ST7789V_LCMCTRL_XBGR
	.comm	_ST7789V_VDVVRHEN_CMD,4,2       ; @ST7789V_VDVVRHEN_CMD
	.comm	_ST7789V_VDVVRHEN_CMDEN,4,2     ; @ST7789V_VDVVRHEN_CMDEN
	.comm	_ST7789V_VRHS_CMD,4,2           ; @ST7789V_VRHS_CMD
	.comm	_ST7789V_VDVS_CMD,4,2           ; @ST7789V_VDVS_CMD
	.comm	_ST7789V_FRCTRL2_CMD,4,2        ; @ST7789V_FRCTRL2_CMD
	.comm	_ST7789V_PWCTRL1_CMD,4,2        ; @ST7789V_PWCTRL1_CMD
	.comm	_ST7789V_PWCTRL1_MAGIC,4,2      ; @ST7789V_PWCTRL1_MAGIC
	.comm	_ST7789V_PVGAMCTRL_CMD,4,2      ; @ST7789V_PVGAMCTRL_CMD
	.comm	_ST7789V_NVGAMCTRL_CMD,4,2      ; @ST7789V_NVGAMCTRL_CMD
	.comm	_MIPI_DCS_ENTER_INVERT_MODE,4,2 ; @MIPI_DCS_ENTER_INVERT_MODE
	.comm	_ST7789V_RAMCTRL_CMD,4,2        ; @ST7789V_RAMCTRL_CMD
	.comm	_ST7789V_RAMCTRL_DM_RGB,4,2     ; @ST7789V_RAMCTRL_DM_RGB
	.comm	_ST7789V_RAMCTRL_RM_RGB,4,2     ; @ST7789V_RAMCTRL_RM_RGB
	.comm	_ST7789V_RAMCTRL_MAGIC,4,2      ; @ST7789V_RAMCTRL_MAGIC
	.comm	_ST7789V_RGBCTRL_CMD,4,2        ; @ST7789V_RGBCTRL_CMD
	.comm	_ST7789V_RGBCTRL_WO,4,2         ; @ST7789V_RGBCTRL_WO
	.comm	_ST7789V_RGBCTRL_VSYNC_HIGH,4,2 ; @ST7789V_RGBCTRL_VSYNC_HIGH
	.comm	_ST7789V_RGBCTRL_HSYNC_HIGH,4,2 ; @ST7789V_RGBCTRL_HSYNC_HIGH
	.comm	_ST7789V_RGBCTRL_PCLK_HIGH,4,2  ; @ST7789V_RGBCTRL_PCLK_HIGH
	.no_dead_strip	_st7789v_prepare
.subsections_via_symbols
