	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4i_ts_open
_sun4i_ts_open:                         ## @sun4i_ts_open
	.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	_input_get_drvdata
	movq	%rax, %r14
	movl	$1, %edi
	callq	_TEMP_IRQ_EN
	movl	%eax, %r15d
	movl	$1, %edi
	callq	_DATA_IRQ_EN
	orl	%eax, %r15d
	movl	$1, %edi
	callq	_FIFO_TRIG
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_FIFO_FLUSH
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movl	$1, %edi
	callq	_TP_UP_IRQ_EN
	orl	%eax, %ebx
	movq	_TP_INT_FIFOC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_INT_FIFOC,8,3               ## @TP_INT_FIFOC
	.no_dead_strip	_sun4i_ts_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4i_ts_open
_sun4i_ts_open:                         ; @sun4i_ts_open
	.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
	bl	_input_get_drvdata
	mov	x19, x0
	mov	w0, #1
	bl	_TEMP_IRQ_EN
	mov	x20, x0
	mov	w0, #1
	bl	_DATA_IRQ_EN
	orr	w20, w0, w20
	mov	w0, #1
	bl	_FIFO_TRIG
	orr	w20, w20, w0
	mov	w0, #1
	bl	_FIFO_FLUSH
	orr	w20, w20, w0
	mov	w0, #1
	bl	_TP_UP_IRQ_EN
	orr	w0, w20, w0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TP_INT_FIFOC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TP_INT_FIFOC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_INT_FIFOC,8,3               ; @TP_INT_FIFOC
	.no_dead_strip	_sun4i_ts_open
.subsections_via_symbols
