	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auo_pixcir_interrupt
_auo_pixcir_interrupt:                  ## @auo_pixcir_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AUO_PIXCIR_REPORT_POINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	cmpl	$0, (%r15)
	je	LBB0_1
LBB0_17:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	24(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	addq	$32, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$-1, -52(%rbp)                  ## 4-byte Folded Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_gpio_get_value
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_auo_pixcir_collect_data
	testl	%eax, %eax
	jns	LBB0_6
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r15)
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %r12d
	movl	4(%r15), %ebx
	movq	_AUO_PIXCIR_PENUP_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_wait_event_timeout
	cmpl	$0, (%r15)
	je	LBB0_2
	jmp	LBB0_17
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AUO_PIXCIR_REPORT_POINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jle	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	16(%r15), %edi
	movl	%esi, %r14d
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_report_abs
	movl	16(%r15), %edi
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-24(%rbx), %rdx
	callq	_input_report_abs
	movl	16(%r15), %edi
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-16(%rbx), %rdx
	callq	_input_report_abs
	movl	16(%r15), %edi
	movq	_ABS_MT_TOUCH_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-8(%rbx), %rdx
	callq	_input_report_abs
	movl	16(%r15), %edi
	movq	_ABS_MT_ORIENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	callq	_input_report_abs
	movl	16(%r15), %edi
	callq	_input_mt_sync
	movl	%r14d, %esi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testl	%r13d, %r13d
	cmovel	%r12d, %esi
	incl	%r13d
	movq	_AUO_PIXCIR_REPORT_POINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r12
	movslq	%eax, %rcx
	addq	$40, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-32(%rbx), %rdx
	testq	%rdx, %rdx
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpq	$0, -24(%rbx)
	jg	LBB0_10
	jmp	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r15), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	%esi, %ebx
	movl	(%rax), %esi
	xorl	%edx, %edx
	testl	%r13d, %r13d
	setg	%dl
	callq	_input_report_key
	testl	%ebx, %ebx
	js	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r15), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %eax
	leaq	(%rax,%rax,4), %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdx
	callq	_input_report_abs
	movl	16(%r15), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r14,8), %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	callq	_input_report_abs
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	16(%r15), %edi
	callq	_input_sync
	cmpq	$0, 8(%r15)
	jne	LBB0_16
	jmp	LBB0_17
LBB0_4:
	movl	16(%r15), %edi
	callq	_input_mt_sync
	movl	16(%r15), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movl	16(%r15), %edi
	callq	_input_sync
	jmp	LBB0_17
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AUO_PIXCIR_REPORT_POINTS,4,2   ## @AUO_PIXCIR_REPORT_POINTS
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_AUO_PIXCIR_PENUP_TIMEOUT_MS,4,2 ## @AUO_PIXCIR_PENUP_TIMEOUT_MS
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ## @ABS_MT_TOUCH_MINOR
	.comm	_ABS_MT_ORIENTATION,4,2         ## @ABS_MT_ORIENTATION
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_auo_pixcir_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auo_pixcir_interrupt
_auo_pixcir_interrupt:                  ; @auo_pixcir_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	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, #-88]
Lloh3:
	adrp	x23, _AUO_PIXCIR_REPORT_POINTS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AUO_PIXCIR_REPORT_POINTS@GOTPAGEOFF]
	ldr	w8, [x23]
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7ffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x1]
	cbz	w8, LBB0_3
LBB0_1:
Lloh7:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.2:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w24, #0
	ldr	x25, [x19, #24]
	add	x8, x20, #16
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
Lloh13:
	adrp	x28, _AUO_PIXCIR_PENUP_TIMEOUT_MS@GOTPAGE
Lloh14:
	ldr	x28, [x28, _AUO_PIXCIR_PENUP_TIMEOUT_MS@GOTPAGEOFF]
Lloh15:
	adrp	x27, _ABS_MT_ORIENTATION@GOTPAGE
Lloh16:
	ldr	x27, [x27, _ABS_MT_ORIENTATION@GOTPAGEOFF]
	mov	w26, #-1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	bl	_gpio_get_value
	cbz	x0, LBB0_18
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_auo_pixcir_collect_data
	tbz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w22, w21, [x19]
	ldr	w0, [x28]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_wait_event_timeout
	ldr	w8, [x19]
	cbz	w8, LBB0_4
	b	LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	ldur	x22, [x29, #-96]                ; 8-byte Folded Reload
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x19, #16]
Lloh17:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_input_report_abs
	ldr	w0, [x19, #16]
Lloh20:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldur	x2, [x22, #-8]
	bl	_input_report_abs
	ldr	w0, [x19, #16]
Lloh23:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	x2, [x22]
	bl	_input_report_abs
	ldr	w0, [x19, #16]
Lloh26:
	adrp	x8, _ABS_MT_TOUCH_MINOR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ABS_MT_TOUCH_MINOR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x2, [x22, #8]
	bl	_input_report_abs
	ldr	w0, [x19, #16]
	ldr	w1, [x27]
	ldr	x2, [x22, #16]
	bl	_input_report_abs
	ldr	w0, [x19, #16]
	bl	_input_mt_sync
	cmp	w24, #0
	csel	w26, w21, w26, eq
	add	w24, w24, #1
	ldr	w8, [x23]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x21, x21, #1
	add	x22, x22, #40
	cmp	x21, w8, sxtw
	b.ge	LBB0_15
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x2, [x22, #-16]
	cmp	x2, #0
	b.gt	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldur	x9, [x22, #-8]
	cmp	x9, #1
	b.ge	LBB0_11
	b	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #16]
Lloh29:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	cmp	w24, #0
	cset	w2, gt
	bl	_input_report_key
	tbnz	w26, #31, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #16]
Lloh32:
	adrp	x8, _ABS_X@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	w8, #40
	umaddl	x21, w26, w8, x20
	ldr	x2, [x21]
	bl	_input_report_abs
	ldr	w0, [x19, #16]
Lloh35:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	x2, [x21, #8]
	bl	_input_report_abs
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #16]
	bl	_input_sync
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_8
	b	LBB0_1
LBB0_18:
	ldr	w0, [x19, #16]
	bl	_input_mt_sync
	ldr	w0, [x19, #16]
Lloh38:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
	ldr	w0, [x19, #16]
	bl	_input_sync
	b	LBB0_1
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_AUO_PIXCIR_REPORT_POINTS,4,2   ; @AUO_PIXCIR_REPORT_POINTS
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_AUO_PIXCIR_PENUP_TIMEOUT_MS,4,2 ; @AUO_PIXCIR_PENUP_TIMEOUT_MS
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ; @ABS_MT_TOUCH_MINOR
	.comm	_ABS_MT_ORIENTATION,4,2         ; @ABS_MT_ORIENTATION
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_auo_pixcir_interrupt
.subsections_via_symbols
