	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6e3ha2_panel_init
_s6e3ha2_panel_init:                    ## @s6e3ha2_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_mipi_dsi_device
	movq	%rax, %rdi
	callq	_mipi_dsi_dcs_exit_sleep_mode
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	movl	$5000, %edi                     ## imm = 0x1388
	movl	$6000, %esi                     ## imm = 0x1770
	callq	_usleep_range
	movq	%rbx, %rdi
	callq	_s6e3ha2_test_key_on_f0
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	movq	%rbx, %rdi
	callq	_s6e3ha2_single_dsi_set
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	movq	%rbx, %rdi
	callq	_s6e3ha2_test_key_on_fc
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	movq	%rbx, %rdi
	callq	_s6e3ha2_freq_calibration
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	movq	%rbx, %rdi
	callq	_s6e3ha2_test_key_off_fc
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	movq	%rbx, %rdi
	callq	_s6e3ha2_test_key_off_f0
	movl	%eax, %esi
	callq	_s6e3ha2_call_write_func
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s6e3ha2_panel_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6e3ha2_panel_init
_s6e3ha2_panel_init:                    ; @s6e3ha2_panel_init
	.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	x19, x0
	ldr	w0, [x0]
	bl	_to_mipi_dsi_device
	bl	_mipi_dsi_dcs_exit_sleep_mode
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	w0, #5000
	mov	w1, #6000
	bl	_usleep_range
	mov	x0, x19
	bl	_s6e3ha2_test_key_on_f0
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	x0, x19
	bl	_s6e3ha2_single_dsi_set
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	x0, x19
	bl	_s6e3ha2_test_key_on_fc
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	x0, x19
	bl	_s6e3ha2_freq_calibration
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	x0, x19
	bl	_s6e3ha2_test_key_off_fc
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	x0, x19
	bl	_s6e3ha2_test_key_off_f0
	mov	x1, x0
	bl	_s6e3ha2_call_write_func
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s6e3ha2_panel_init
.subsections_via_symbols
