	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mx25_tcq_irq
_mx25_tcq_irq:                          ## @mx25_tcq_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rsi), %edi
	movq	_MX25_ADCQ_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	-44(%rbp), %eax
	movq	_MX25_ADCQ_SR_FRR@GOTPCREL(%rip), %rdx
	movq	_MX25_ADCQ_SR_FUR@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%rdx), %ecx
	movq	_MX25_ADCQ_SR_FOR@GOTPCREL(%rip), %r15
	orl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_mx25_tcq_re_enable_touch_detection
	movl	-44(%rbp), %eax
LBB0_2:
	movq	_MX25_ADCQ_SR_PD@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_mx25_tcq_disable_touch_irq
	movq	%rbx, %rdi
	callq	_mx25_tcq_force_queue_start
	movq	%rbx, %rdi
	callq	_mx25_tcq_enable_fifo_irq
	movl	-44(%rbp), %eax
LBB0_4:
	movq	_MX25_ADCQ_SR_FDRY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_mx25_tcq_disable_fifo_irq
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	(%rbx), %edi
	movq	_MX25_ADCQ_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	_MX25_ADCQ_SR_FRR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	(%r15), %ecx
	orl	(%r12), %ecx
	movl	%ecx, %edx
	callq	_regmap_update_bits
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_MX25_ADCQ_SR,4,2               ## @MX25_ADCQ_SR
	.comm	_MX25_ADCQ_SR_FRR,4,2           ## @MX25_ADCQ_SR_FRR
	.comm	_MX25_ADCQ_SR_FUR,4,2           ## @MX25_ADCQ_SR_FUR
	.comm	_MX25_ADCQ_SR_FOR,4,2           ## @MX25_ADCQ_SR_FOR
	.comm	_MX25_ADCQ_SR_PD,4,2            ## @MX25_ADCQ_SR_PD
	.comm	_MX25_ADCQ_SR_FDRY,4,2          ## @MX25_ADCQ_SR_FDRY
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.no_dead_strip	_mx25_tcq_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mx25_tcq_irq
_mx25_tcq_irq:                          ; @mx25_tcq_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w0, [x1]
Lloh3:
	adrp	x21, _MX25_ADCQ_SR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MX25_ADCQ_SR@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x22, _MX25_ADCQ_SR_FRR@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MX25_ADCQ_SR_FRR@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh7:
	adrp	x23, _MX25_ADCQ_SR_FUR@GOTPAGE
Lloh8:
	ldr	x23, [x23, _MX25_ADCQ_SR_FUR@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w10, w9
Lloh9:
	adrp	x24, _MX25_ADCQ_SR_FOR@GOTPAGE
Lloh10:
	ldr	x24, [x24, _MX25_ADCQ_SR_FOR@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_mx25_tcq_re_enable_touch_detection
	ldr	w8, [sp, #12]
LBB0_2:
Lloh11:
	adrp	x25, _MX25_ADCQ_SR_PD@GOTPAGE
Lloh12:
	ldr	x25, [x25, _MX25_ADCQ_SR_PD@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_mx25_tcq_disable_touch_irq
	mov	x0, x20
	bl	_mx25_tcq_force_queue_start
	mov	x0, x20
	bl	_mx25_tcq_enable_fifo_irq
	ldr	w8, [sp, #12]
LBB0_4:
Lloh13:
	adrp	x9, _MX25_ADCQ_SR_FDRY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MX25_ADCQ_SR_FDRY@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_mx25_tcq_disable_fifo_irq
Lloh16:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
LBB0_6:
	ldr	w0, [x20]
	ldr	w1, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x25]
	orr	w2, w8, w9
	mov	x3, x2
	bl	_regmap_update_bits
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_MX25_ADCQ_SR,4,2               ; @MX25_ADCQ_SR
	.comm	_MX25_ADCQ_SR_FRR,4,2           ; @MX25_ADCQ_SR_FRR
	.comm	_MX25_ADCQ_SR_FUR,4,2           ; @MX25_ADCQ_SR_FUR
	.comm	_MX25_ADCQ_SR_FOR,4,2           ; @MX25_ADCQ_SR_FOR
	.comm	_MX25_ADCQ_SR_PD,4,2            ; @MX25_ADCQ_SR_PD
	.comm	_MX25_ADCQ_SR_FDRY,4,2          ; @MX25_ADCQ_SR_FDRY
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.no_dead_strip	_mx25_tcq_irq
.subsections_via_symbols
