	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_ts_handle_irq
_mxs_lradc_ts_handle_irq:               ## @mxs_lradc_ts_handle_irq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	16(%rsi), %r13
	movq	_LRADC_CTRL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rsi), %rdi
	callq	_readl
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_mxs_lradc_irq_mask
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_LRADC_CTRL1_TOUCH_DETECT_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LRADC_CTRL1_LRADC_IRQ
	movq	%rax, %rbx
	movq	_TOUCHSCREEN_VCHANNEL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LRADC_CTRL1_LRADC_IRQ
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_mxs_lradc_irq_mask
	testq	%r15, %rax
	je	LBB0_1
## %bb.2:
	orq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	orq	%r14, %rbx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	testq	%r15, %rbx
	je	LBB0_4
## %bb.3:
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r12, %rdi
	callq	_mxs_lradc_handle_touch
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_TOUCHSCREEN_VCHANNEL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LRADC_CTRL1_LRADC_IRQ
	movq	%rax, %rbx
	movq	_TOUCHSCREEN_VCHANNEL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LRADC_CTRL1_LRADC_IRQ
	orq	%rax, %rbx
	notq	%rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	andq	%r15, %rdi
	movq	_LRADC_CTRL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	andq	%rbx, %rdi
	movq	_STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_writel
	jmp	LBB0_4
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
LBB0_4:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LRADC_CTRL1,8,3                ## @LRADC_CTRL1
	.comm	_LRADC_CTRL1_TOUCH_DETECT_IRQ,8,3 ## @LRADC_CTRL1_TOUCH_DETECT_IRQ
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ## @TOUCHSCREEN_VCHANNEL1
	.comm	_TOUCHSCREEN_VCHANNEL2,4,2      ## @TOUCHSCREEN_VCHANNEL2
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_STMP_OFFSET_REG_CLR,8,3        ## @STMP_OFFSET_REG_CLR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mxs_lradc_ts_handle_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_lradc_ts_handle_irq
_mxs_lradc_ts_handle_irq:               ; @mxs_lradc_ts_handle_irq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldr	x24, [x1, #16]
	ldr	x8, [x1]
Lloh0:
	adrp	x25, _LRADC_CTRL1@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LRADC_CTRL1@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	mov	x0, x24
	bl	_mxs_lradc_irq_mask
	mov	x21, x0
Lloh2:
	adrp	x8, _LRADC_CTRL1_TOUCH_DETECT_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LRADC_CTRL1_TOUCH_DETECT_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	x28, [x8]
Lloh5:
	adrp	x26, _TOUCHSCREEN_VCHANNEL1@GOTPAGE
Lloh6:
	ldr	x26, [x26, _TOUCHSCREEN_VCHANNEL1@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_LRADC_CTRL1_LRADC_IRQ
	mov	x22, x0
Lloh7:
	adrp	x27, _TOUCHSCREEN_VCHANNEL2@GOTPAGE
Lloh8:
	ldr	x27, [x27, _TOUCHSCREEN_VCHANNEL2@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_LRADC_CTRL1_LRADC_IRQ
	mov	x23, x0
	mov	x0, x24
	bl	_mxs_lradc_irq_mask
	tst	x0, x20
	b.eq	LBB0_4
; %bb.1:
	orr	x8, x22, x28
	orr	x8, x8, x23
	tst	x8, x20
	b.eq	LBB0_3
; %bb.2:
	add	x22, x19, #8
	mov	x0, x22
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_mxs_lradc_handle_touch
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldr	w0, [x26]
	bl	_LRADC_CTRL1_LRADC_IRQ
	mov	x22, x0
	ldr	w0, [x27]
	bl	_LRADC_CTRL1_LRADC_IRQ
	orr	x8, x0, x22
	and	x9, x21, x20
	bic	x0, x9, x8
	ldr	x8, [x19]
	ldr	x9, [x25]
Lloh9:
	adrp	x10, _STMP_OFFSET_REG_CLR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _STMP_OFFSET_REG_CLR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
LBB0_3:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LRADC_CTRL1,8,3                ; @LRADC_CTRL1
	.comm	_LRADC_CTRL1_TOUCH_DETECT_IRQ,8,3 ; @LRADC_CTRL1_TOUCH_DETECT_IRQ
	.comm	_TOUCHSCREEN_VCHANNEL1,4,2      ; @TOUCHSCREEN_VCHANNEL1
	.comm	_TOUCHSCREEN_VCHANNEL2,4,2      ; @TOUCHSCREEN_VCHANNEL2
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_STMP_OFFSET_REG_CLR,8,3        ; @STMP_OFFSET_REG_CLR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mxs_lradc_ts_handle_irq
.subsections_via_symbols
