	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pc110pad_interrupt
_pc110pad_interrupt:                    ## @pc110pad_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pc110pad_io@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_inb_p
	movl	%eax, %r14d
	movl	(%r15), %edi
	addl	$2, %edi
	callq	_inb_p
	movl	%eax, %ebx
	movl	%eax, %edi
	orl	$1, %edi
	movl	(%r15), %esi
	addl	$2, %esi
	callq	_outb
	movl	$2, %edi
	callq	_udelay
	andl	$-2, %ebx
	movl	(%r15), %esi
	addl	$2, %esi
	movl	%ebx, %edi
	callq	_outb
	movl	$2, %edi
	callq	_udelay
	movl	$100, %edi
	callq	_inb_p
	movq	_pc110pad_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_pc110pad_count@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movl	%r14d, (%rax,%rcx,4)
	cmpl	$3, (%rbx)
	jl	LBB0_2
## %bb.1:
	movq	_pc110pad_dev@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%r14), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rsi
	movq	(%r15), %rcx
	movl	(%rcx), %edx
	movl	%edx, %eax
	andl	$16, %eax
	shll	$3, %eax
	orl	4(%rcx), %eax
	movl	(%rsi), %esi
	addl	%edx, %edx
	andl	$256, %edx                      ## imm = 0x100
	orl	%eax, %edx
	callq	_input_report_abs
	movl	(%r14), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rax
	movl	(%rax), %edx
	andl	$8, %edx
	shll	$4, %edx
	orl	8(%rax), %edx
	callq	_input_report_abs
	movl	(%r14), %edi
	callq	_input_sync
	movl	$0, (%rbx)
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pc110pad_io,4,2                ## @pc110pad_io
	.comm	_pc110pad_data,8,3              ## @pc110pad_data
	.comm	_pc110pad_count,4,2             ## @pc110pad_count
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_pc110pad_dev,4,2               ## @pc110pad_dev
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.no_dead_strip	_pc110pad_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pc110pad_interrupt
_pc110pad_interrupt:                    ; @pc110pad_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _pc110pad_io@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pc110pad_io@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_inb_p
	mov	x19, x0
	ldr	w8, [x21]
	add	w0, w8, #2
	bl	_inb_p
	mov	x20, x0
	orr	w0, w0, #0x1
	ldr	w8, [x21]
	add	w1, w8, #2
	bl	_outb
	mov	w0, #2
	bl	_udelay
	and	w0, w20, #0xfffffffe
	ldr	w8, [x21]
	add	w1, w8, #2
	bl	_outb
	mov	w0, #2
	bl	_udelay
	mov	w0, #100
	bl	_inb_p
Lloh2:
	adrp	x21, _pc110pad_data@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pc110pad_data@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh4:
	adrp	x20, _pc110pad_count@GOTPAGE
Lloh5:
	ldr	x20, [x20, _pc110pad_count@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	w10, w9, #1
	str	w10, [x20]
	str	w19, [x8, x9, lsl #2]
	ldr	w9, [x20]
	cmp	w9, #3
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x19, _pc110pad_dev@GOTPAGE
Lloh7:
	ldr	x19, [x19, _pc110pad_dev@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh8:
	adrp	x9, _BTN_TOUCH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BTN_TOUCH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	ldr	w8, [x8]
	and	w2, w8, #0x1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _ABS_X@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldp	w8, w9, [x8]
	lsl	w10, w8, #3
	and	w10, w10, #0x80
	orr	w9, w10, w9
	lsl	w8, w8, #1
	and	w8, w8, #0x100
	orr	w2, w9, w8
	bl	_input_report_abs
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldr	w9, [x8, #8]
	ldr	w8, [x8]
	lsl	w8, w8, #4
	and	w8, w8, #0x80
	orr	w2, w8, w9
	bl	_input_report_abs
	ldr	w0, [x19]
	bl	_input_sync
	str	wzr, [x20]
LBB0_2:
Lloh17:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_pc110pad_io,4,2                ; @pc110pad_io
	.comm	_pc110pad_data,8,3              ; @pc110pad_data
	.comm	_pc110pad_count,4,2             ; @pc110pad_count
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_pc110pad_dev,4,2               ; @pc110pad_dev
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.no_dead_strip	_pc110pad_interrupt
.subsections_via_symbols
