	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_softint
_do_softint:                            ## @do_softint
	.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	_PHDR@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	___raw_readb
	movq	_PHDR_TS_PEN_DOWN@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_3
## %bb.1:
	movq	_SCPDR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	___raw_readb
	movq	_SCPDR_TS_SCAN_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SCPDR_TS_SCAN_Y@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	notl	%edi
	andl	%eax, %edi
	movl	(%rbx), %esi
	callq	___raw_writeb
	movl	$30, %edi
	callq	_udelay
	movq	_ADC_CHANNEL_TS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adc_single
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	callq	___raw_readb
	orl	(%r13), %eax
	movq	_SCPDR_TS_SCAN_X@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	notl	%edi
	andl	%eax, %edi
	movl	(%rbx), %esi
	callq	___raw_writeb
	movl	$30, %edi
	callq	_udelay
	movq	_ADC_CHANNEL_TS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adc_single
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	___raw_readb
	orl	(%r14), %eax
	movq	_SCPDR_TS_SCAN_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movl	(%rbx), %esi
	callq	___raw_writeb
	movl	$100, %edi
	callq	_udelay
	movl	(%r15), %edi
	callq	___raw_readb
	testl	%eax, (%r12)
	je	LBB0_3
## %bb.2:
	movq	_hp680_ts_dev@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	callq	_input_report_abs
	movl	(%rbx), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	jmp	LBB0_4
LBB0_3:
	movq	_hp680_ts_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
LBB0_4:
	movq	_hp680_ts_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_input_sync
	movq	_HP680_TS_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enable_irq                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHDR,4,2                       ## @PHDR
	.comm	_PHDR_TS_PEN_DOWN,4,2           ## @PHDR_TS_PEN_DOWN
	.comm	_SCPDR,4,2                      ## @SCPDR
	.comm	_SCPDR_TS_SCAN_ENABLE,4,2       ## @SCPDR_TS_SCAN_ENABLE
	.comm	_SCPDR_TS_SCAN_Y,4,2            ## @SCPDR_TS_SCAN_Y
	.comm	_ADC_CHANNEL_TS_Y,4,2           ## @ADC_CHANNEL_TS_Y
	.comm	_SCPDR_TS_SCAN_X,4,2            ## @SCPDR_TS_SCAN_X
	.comm	_ADC_CHANNEL_TS_X,4,2           ## @ADC_CHANNEL_TS_X
	.comm	_hp680_ts_dev,4,2               ## @hp680_ts_dev
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_HP680_TS_IRQ,4,2               ## @HP680_TS_IRQ
	.no_dead_strip	_do_softint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_softint
_do_softint:                            ; @do_softint
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x22, _PHDR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PHDR@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	___raw_readb
Lloh2:
	adrp	x23, _PHDR_TS_PEN_DOWN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PHDR_TS_PEN_DOWN@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh4:
	adrp	x21, _hp680_ts_dev@GOTPAGE
Lloh5:
	ldr	x21, [x21, _hp680_ts_dev@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x24, _SCPDR@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SCPDR@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	___raw_readb
Lloh8:
	adrp	x25, _SCPDR_TS_SCAN_ENABLE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SCPDR_TS_SCAN_ENABLE@GOTPAGEOFF]
	ldr	w8, [x25]
	orr	w8, w8, w0
Lloh10:
	adrp	x20, _SCPDR_TS_SCAN_Y@GOTPAGE
Lloh11:
	ldr	x20, [x20, _SCPDR_TS_SCAN_Y@GOTPAGEOFF]
	ldr	w9, [x20]
	bic	w0, w8, w9
	ldr	w1, [x24]
	bl	___raw_writeb
	mov	w0, #30
	bl	_udelay
Lloh12:
	adrp	x8, _ADC_CHANNEL_TS_Y@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADC_CHANNEL_TS_Y@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_adc_single
	mov	x19, x0
	ldr	w0, [x24]
	bl	___raw_readb
	ldr	w8, [x20]
	orr	w8, w8, w0
Lloh15:
	adrp	x26, _SCPDR_TS_SCAN_X@GOTPAGE
Lloh16:
	ldr	x26, [x26, _SCPDR_TS_SCAN_X@GOTPAGEOFF]
	ldr	w9, [x26]
	bic	w0, w8, w9
	ldr	w1, [x24]
	bl	___raw_writeb
	mov	w0, #30
	bl	_udelay
Lloh17:
	adrp	x8, _ADC_CHANNEL_TS_X@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ADC_CHANNEL_TS_X@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_adc_single
	mov	x20, x0
	ldr	w0, [x24]
	bl	___raw_readb
	ldr	w8, [x26]
	orr	w8, w8, w0
	ldr	w9, [x25]
	bic	w0, w8, w9
	ldr	w1, [x24]
	bl	___raw_writeb
	mov	w0, #100
	bl	_udelay
	ldr	w0, [x22]
	bl	___raw_readb
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x21]
Lloh20:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_report_key
	ldr	w0, [x21]
Lloh23:
	adrp	x8, _ABS_X@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_input_report_abs
	ldr	w0, [x21]
Lloh26:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_input_report_abs
	b	LBB0_4
LBB0_3:
	ldr	w0, [x21]
Lloh29:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
LBB0_4:
	ldr	w0, [x21]
	bl	_input_sync
Lloh32:
	adrp	x8, _HP680_TS_IRQ@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HP680_TS_IRQ@GOTPAGEOFF]
Lloh34:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_enable_irq
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_PHDR,4,2                       ; @PHDR
	.comm	_PHDR_TS_PEN_DOWN,4,2           ; @PHDR_TS_PEN_DOWN
	.comm	_SCPDR,4,2                      ; @SCPDR
	.comm	_SCPDR_TS_SCAN_ENABLE,4,2       ; @SCPDR_TS_SCAN_ENABLE
	.comm	_SCPDR_TS_SCAN_Y,4,2            ; @SCPDR_TS_SCAN_Y
	.comm	_ADC_CHANNEL_TS_Y,4,2           ; @ADC_CHANNEL_TS_Y
	.comm	_SCPDR_TS_SCAN_X,4,2            ; @SCPDR_TS_SCAN_X
	.comm	_ADC_CHANNEL_TS_X,4,2           ; @ADC_CHANNEL_TS_X
	.comm	_hp680_ts_dev,4,2               ; @hp680_ts_dev
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_HP680_TS_IRQ,4,2               ; @HP680_TS_IRQ
	.no_dead_strip	_do_softint
.subsections_via_symbols
