	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da9034_touch_close
_da9034_touch_close:                    ## @da9034_touch_close
	.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
	callq	_input_get_drvdata
	movq	%rax, %rbx
	movl	(%rax), %edi
	leaq	12(%rax), %rsi
	movq	_DA9034_EVENT_PEN_DOWN@GOTPCREL(%rip), %rax
	movq	_DA9034_EVENT_TSI_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_da903x_unregister_notifier
	leaq	8(%rbx), %rdi
	callq	_cancel_delayed_work_sync
	movq	_STATE_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_stop_tsi
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_detect_pen_down
	movl	(%rbx), %edi
	movq	_DA9034_MANUAL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DA9034_LDO_ADC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_da903x_clr_bits                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DA9034_EVENT_PEN_DOWN,4,2      ## @DA9034_EVENT_PEN_DOWN
	.comm	_DA9034_EVENT_TSI_READY,4,2     ## @DA9034_EVENT_TSI_READY
	.comm	_STATE_IDLE,4,2                 ## @STATE_IDLE
	.comm	_DA9034_MANUAL_CTRL,4,2         ## @DA9034_MANUAL_CTRL
	.comm	_DA9034_LDO_ADC_EN,4,2          ## @DA9034_LDO_ADC_EN
	.no_dead_strip	_da9034_touch_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da9034_touch_close
_da9034_touch_close:                    ; @da9034_touch_close
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _DA9034_EVENT_PEN_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DA9034_EVENT_PEN_DOWN@GOTPAGEOFF]
	add	x1, x19, #12
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DA9034_EVENT_TSI_READY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DA9034_EVENT_TSI_READY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_da903x_unregister_notifier
	add	x0, x19, #8
	bl	_cancel_delayed_work_sync
Lloh6:
	adrp	x8, _STATE_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STATE_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_stop_tsi
	mov	x0, x19
	mov	w1, #0
	bl	_detect_pen_down
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _DA9034_MANUAL_CTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DA9034_MANUAL_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _DA9034_LDO_ADC_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DA9034_LDO_ADC_EN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_da903x_clr_bits
	.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	_DA9034_EVENT_PEN_DOWN,4,2      ; @DA9034_EVENT_PEN_DOWN
	.comm	_DA9034_EVENT_TSI_READY,4,2     ; @DA9034_EVENT_TSI_READY
	.comm	_STATE_IDLE,4,2                 ; @STATE_IDLE
	.comm	_DA9034_MANUAL_CTRL,4,2         ; @DA9034_MANUAL_CTRL
	.comm	_DA9034_LDO_ADC_EN,4,2          ; @DA9034_LDO_ADC_EN
	.no_dead_strip	_da9034_touch_close
.subsections_via_symbols
