	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exc3000_interrupt
_exc3000_interrupt:                     ## @exc3000_interrupt
	.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, %r15
	movq	16(%rsi), %rbx
	movq	24(%rsi), %r14
	movl	8(%rsi), %edi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_exc3000_read_data
	leaq	4(%r15), %r12
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_EXC3000_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	jmp	LBB0_6
LBB0_2:
	movq	%r12, %rdi
	callq	_del_timer_sync
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	LBB0_5
## %bb.3:
	movq	_EXC3000_LEN_FRAME@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_EXC3000_SLOTS_PER_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_min
	movl	%eax, %r12d
	leaq	16(%rbx), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_exc3000_report_slots
	movl	-44(%rbp), %edi
	movslq	(%r13), %rax
	leaq	(%rbx,%rax,4), %rbx
	subl	%r12d, %edi
	movl	%edi, -44(%rbp)
	jg	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_input_mt_sync_frame
	movq	%r14, %rdi
	callq	_input_sync
LBB0_6:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_EXC3000_TIMEOUT_MS,4,2         ## @EXC3000_TIMEOUT_MS
	.comm	_EXC3000_SLOTS_PER_FRAME,4,2    ## @EXC3000_SLOTS_PER_FRAME
	.comm	_EXC3000_LEN_FRAME,4,2          ## @EXC3000_LEN_FRAME
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_exc3000_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exc3000_interrupt
_exc3000_interrupt:                     ; @exc3000_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	ldp	x21, x19, [x1, #16]
	ldr	w0, [x1, #8]
	add	x2, sp, #12
	mov	x1, x21
	bl	_exc3000_read_data
	add	x22, x20, #4
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _EXC3000_TIMEOUT_MS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXC3000_TIMEOUT_MS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x19
	mov	x0, x22
	bl	_mod_timer
	b	LBB0_6
LBB0_2:
	mov	x0, x22
	bl	_del_timer_sync
	ldr	w0, [sp, #12]
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
Lloh6:
	adrp	x23, _EXC3000_SLOTS_PER_FRAME@GOTPAGE
Lloh7:
	ldr	x23, [x23, _EXC3000_SLOTS_PER_FRAME@GOTPAGEOFF]
Lloh8:
	adrp	x24, _EXC3000_LEN_FRAME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _EXC3000_LEN_FRAME@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	bl	_min
	mov	x22, x0
	add	x2, x21, #16
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_exc3000_report_slots
	ldr	w8, [sp, #12]
	sub	w0, w8, w22
	str	w0, [sp, #12]
	ldrsw	x8, [x24]
	add	x21, x21, x8, lsl #2
	cmp	w0, #0
	b.gt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_input_mt_sync_frame
	mov	x0, x19
	bl	_input_sync
LBB0_6:
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_EXC3000_TIMEOUT_MS,4,2         ; @EXC3000_TIMEOUT_MS
	.comm	_EXC3000_SLOTS_PER_FRAME,4,2    ; @EXC3000_SLOTS_PER_FRAME
	.comm	_EXC3000_LEN_FRAME,4,2          ; @EXC3000_LEN_FRAME
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_exc3000_interrupt
.subsections_via_symbols
