	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa930_trkball_interrupt
_pxa930_trkball_interrupt:              ## @pxa930_trkball_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	8(%rsi), %r14
	movq	_TBCNTR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%rsi), %rdi
	callq	___raw_readl
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	addq	(%r15), %rdi
	callq	___raw_readl
	cmpl	%eax, %r12d
	jne	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_TBCNTR_XP
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_TBCNTR_XM
	subl	%eax, %ebx
	movl	%ebx, %r13d
	shrl	$31, %r13d
	addl	%ebx, %r13d
	sarl	%r13d
	movl	%r12d, %edi
	callq	_TBCNTR_YP
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_TBCNTR_YM
	subl	%eax, %r14d
	movl	%r14d, %ebx
	shrl	$31, %ebx
	addl	%r14d, %ebx
	sarl	%ebx
	movq	_REL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_input_report_rel
	movq	_REL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_input_report_rel
	movq	%r14, %rdi
	callq	_input_sync
LBB0_2:
	movq	_TBSBC_TBSBC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TBSBC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	(%r15), %rsi
	callq	___raw_writel
	movq	(%rbx), %rsi
	addq	(%r15), %rsi
	xorl	%edi, %edi
	callq	___raw_writel
	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	_TBCNTR,8,3                     ## @TBCNTR
	.comm	_REL_X,4,2                      ## @REL_X
	.comm	_REL_Y,4,2                      ## @REL_Y
	.comm	_TBSBC_TBSBC,4,2                ## @TBSBC_TBSBC
	.comm	_TBSBC,8,3                      ## @TBSBC
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_pxa930_trkball_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa930_trkball_interrupt
_pxa930_trkball_interrupt:              ; @pxa930_trkball_interrupt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	ldp	x8, x20, [x1]
Lloh0:
	adrp	x22, _TBCNTR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TBCNTR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	___raw_readl
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	___raw_readl
	cmp	w21, w0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_TBCNTR_XP
	mov	x22, x0
	mov	x0, x21
	bl	_TBCNTR_XM
	sub	w8, w22, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w22, w8, #1
	mov	x0, x21
	bl	_TBCNTR_YP
	mov	x23, x0
	mov	x0, x21
	bl	_TBCNTR_YM
	sub	w8, w23, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w21, w8, #1
Lloh2:
	adrp	x8, _REL_X@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REL_X@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_input_report_rel
Lloh5:
	adrp	x8, _REL_Y@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REL_Y@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_input_report_rel
	mov	x0, x20
	bl	_input_sync
LBB0_2:
Lloh8:
	adrp	x8, _TBSBC_TBSBC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TBSBC_TBSBC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh11:
	adrp	x20, _TBSBC@GOTPAGE
Lloh12:
	ldr	x20, [x20, _TBSBC@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	___raw_writel
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	w0, #0
	bl	___raw_writel
Lloh13:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TBCNTR,8,3                     ; @TBCNTR
	.comm	_REL_X,4,2                      ; @REL_X
	.comm	_REL_Y,4,2                      ; @REL_Y
	.comm	_TBSBC_TBSBC,4,2                ; @TBSBC_TBSBC
	.comm	_TBSBC,8,3                      ; @TBSBC
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_pxa930_trkball_interrupt
.subsections_via_symbols
