	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe_adc_isr
_stmpe_adc_isr:                         ## @stmpe_adc_isr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_STMPE_ADC_LAST_NR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.1:
	movq	_STMPE_TEMP_CHANNEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movl	24(%rbx), %edi
	movq	_STMPE_REG_TEMP_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rcx
	movl	$2, %edx
	callq	_stmpe_block_read
	jmp	LBB0_5
LBB0_3:
	movl	24(%rbx), %edi
	movq	_STMPE_REG_ADC_INT_STA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_stmpe_reg_read
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_STMPE_ADC_CH
	testl	%r14d, %eax
	je	LBB0_7
## %bb.4:
	movl	24(%rbx), %r15d
	movq	(%rbx), %rdi
	callq	_STMPE_REG_ADC_DATA_CH
	leaq	-36(%rbp), %rcx
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$2, %edx
	callq	_stmpe_block_read
	movl	24(%rbx), %edi
	movl	(%r12), %esi
	movl	%r14d, %edx
	callq	_stmpe_reg_write
LBB0_5:
	movl	-36(%rbp), %edi
	callq	_be16_to_cpu
	movq	%rax, 16(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_complete
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMPE_ADC_LAST_NR,8,3          ## @STMPE_ADC_LAST_NR
	.comm	_STMPE_REG_ADC_INT_STA,4,2      ## @STMPE_REG_ADC_INT_STA
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_STMPE_TEMP_CHANNEL,8,3         ## @STMPE_TEMP_CHANNEL
	.comm	_STMPE_REG_TEMP_DATA,4,2        ## @STMPE_REG_TEMP_DATA
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_stmpe_adc_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe_adc_isr
_stmpe_adc_isr:                         ; @stmpe_adc_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _STMPE_ADC_LAST_NR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STMPE_ADC_LAST_NR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _STMPE_TEMP_CHANNEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STMPE_TEMP_CHANNEL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [x19, #24]
Lloh6:
	adrp	x8, _STMPE_REG_TEMP_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STMPE_REG_TEMP_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #2
	bl	_stmpe_block_read
	b	LBB0_5
LBB0_3:
	ldr	w0, [x19, #24]
Lloh9:
	adrp	x22, _STMPE_REG_ADC_INT_STA@GOTPAGE
Lloh10:
	ldr	x22, [x22, _STMPE_REG_ADC_INT_STA@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_stmpe_reg_read
	mov	x20, x0
	ldr	x0, [x19]
	bl	_STMPE_ADC_CH
	tst	w0, w20
	b.eq	LBB0_6
; %bb.4:
	ldr	w21, [x19, #24]
	ldr	x0, [x19]
	bl	_STMPE_REG_ADC_DATA_CH
	mov	x1, x0
	add	x3, sp, #12
	mov	x0, x21
	mov	w2, #2
	bl	_stmpe_block_read
	ldr	w0, [x19, #24]
	ldr	w1, [x22]
	mov	x2, x20
	bl	_stmpe_reg_write
LBB0_5:
	ldr	w0, [sp, #12]
	bl	_be16_to_cpu
	str	x0, [x19, #16]
	add	x0, x19, #8
	bl	_complete
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STMPE_ADC_LAST_NR,8,3          ; @STMPE_ADC_LAST_NR
	.comm	_STMPE_REG_ADC_INT_STA,4,2      ; @STMPE_REG_ADC_INT_STA
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_STMPE_TEMP_CHANNEL,8,3         ; @STMPE_TEMP_CHANNEL
	.comm	_STMPE_REG_TEMP_DATA,4,2        ; @STMPE_REG_TEMP_DATA
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_stmpe_adc_isr
.subsections_via_symbols
