	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function migor_ts_isr
_migor_ts_isr:                          ## @migor_ts_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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	$0, -96(%rbp)
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_i2c_master_send
	movq	8(%r15), %rdi
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	leaq	-96(%rbp), %rsi
	movl	$64, %edx
	callq	_i2c_master_recv
	cmpl	$64, %eax
	jne	LBB0_3
## %bb.4:
	movb	-48(%rbp), %al
	cmpb	$-126, %al
	je	LBB0_7
## %bb.5:
	cmpb	$-127, %al
	je	LBB0_8
## %bb.6:
	cmpb	$-128, %al
	jne	LBB0_10
LBB0_7:
	movl	-60(%rbp), %eax
	movl	-52(%rbp), %ecx
	andl	$3, %ecx
	shll	$8, %ecx
	movzwl	-56(%rbp), %r14d
	orl	%ecx, %r14d
	andl	$3, %eax
	shll	$8, %eax
	movzwl	-64(%rbp), %ebx
	orl	%eax, %ebx
	movl	(%r15), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movl	(%r15), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_input_report_abs
	movl	(%r15), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_input_report_abs
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_10
LBB0_3:
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_10
LBB0_8:
	movl	(%r15), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
LBB0_9:
	movl	(%r15), %edi
	callq	_input_sync
LBB0_10:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to write i2c index\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to read i2c page\n"

	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_migor_ts_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function migor_ts_isr
_migor_ts_isr:                          ; @migor_ts_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	str	wzr, [sp, #8]
	ldr	x0, [x19, #8]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_master_send
	mov	x8, x0
	ldr	x0, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.1:
	add	x1, sp, #8
	mov	w2, #64
	bl	_i2c_master_recv
	cmp	w0, #64
	b.ne	LBB0_7
; %bb.2:
	ldrb	w8, [sp, #56]
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_10
LBB0_5:
	ldr	w8, [sp, #52]
	ubfiz	w8, w8, #8, #2
	ldrh	w9, [sp, #48]
	orr	w20, w8, w9
	ldr	w8, [sp, #44]
	ubfiz	w8, w8, #8, #2
	ldrh	w9, [sp, #40]
	orr	w21, w8, w9
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _ABS_X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_input_report_abs
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_input_report_abs
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_10
LBB0_7:
	ldr	x0, [x19, #8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_10
LBB0_8:
	ldr	w0, [x19]
Lloh16:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
LBB0_9:
	ldr	w0, [x19]
	bl	_input_sync
LBB0_10:
Lloh19:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to write i2c index\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to read i2c page\n"

	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_migor_ts_isr
.subsections_via_symbols
