	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc13783_ts_close
_mc13783_ts_close:                      ## @mc13783_ts_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	4(%rax), %edi
	callq	_mc13xxx_lock
	movl	4(%rbx), %edi
	movq	_MC13XXX_ADC0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MC13XXX_ADC0_TSMOD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_mc13xxx_reg_rmw
	movl	4(%rbx), %edi
	movq	_MC13XXX_IRQ_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_mc13xxx_irq_free
	movl	4(%rbx), %edi
	callq	_mc13xxx_unlock
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cancel_delayed_work_sync       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC13XXX_ADC0,4,2               ## @MC13XXX_ADC0
	.comm	_MC13XXX_ADC0_TSMOD_MASK,4,2    ## @MC13XXX_ADC0_TSMOD_MASK
	.comm	_MC13XXX_IRQ_TS,4,2             ## @MC13XXX_IRQ_TS
	.no_dead_strip	_mc13783_ts_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc13783_ts_close
_mc13783_ts_close:                      ; @mc13783_ts_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, #4]
	bl	_mc13xxx_lock
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _MC13XXX_ADC0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC13XXX_ADC0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MC13XXX_ADC0_TSMOD_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC13XXX_ADC0_TSMOD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_mc13xxx_reg_rmw
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _MC13XXX_IRQ_TS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MC13XXX_IRQ_TS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_mc13xxx_irq_free
	ldr	w0, [x19, #4]
	bl	_mc13xxx_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cancel_delayed_work_sync
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC13XXX_ADC0,4,2               ; @MC13XXX_ADC0
	.comm	_MC13XXX_ADC0_TSMOD_MASK,4,2    ; @MC13XXX_ADC0_TSMOD_MASK
	.comm	_MC13XXX_IRQ_TS,4,2             ; @MC13XXX_IRQ_TS
	.no_dead_strip	_mc13783_ts_close
.subsections_via_symbols
