	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft5406ts_callout
_ft5406ts_callout:                      ## @ft5406ts_callout
	.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	%rdi, %r15
	callq	_FT5406_LOCK_ASSERT
	movl	24(%r15), %edi
	movq	(%r15), %rsi
	movq	_FT5406_WINDOW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_NO_POINTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	(%r15), %rcx
	movq	_FT5406_NUM_POINTS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	24(%r15), %edi
	callq	_GET_NUM_POINTS
	cmpl	(%rbx), %eax
	je	LBB0_8
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r15), %edi
	movq	_EV_ABS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ABS_MT_SLOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %ecx
	callq	_evdev_push_event
	movl	16(%r15), %edi
	movl	(%r12), %esi
	movq	_ABS_MT_TRACKING_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %ecx
	callq	_evdev_push_event
	movl	16(%r15), %edi
	movl	(%r12), %esi
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %ecx
	callq	_evdev_push_event
	movl	16(%r15), %edi
	movl	(%r12), %esi
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_evdev_push_event
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%ebx
	cmpl	%ebx, %eax
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r15), %edi
	movl	%ebx, %esi
	callq	_GET_TOUCH_ID
	movl	%eax, %r13d
	movl	24(%r15), %edi
	movl	%ebx, %esi
	callq	_GET_X
	movl	%eax, %r14d
	movl	24(%r15), %edi
	movl	%ebx, %esi
	callq	_GET_Y
	movl	%eax, %ecx
	movq	_MAX_TOUCH_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_device_printf
	jmp	LBB0_6
LBB0_7:
	movl	16(%r15), %edi
	callq	_evdev_sync
LBB0_8:
	leaq	12(%r15), %rdi
	movl	8(%r15), %esi
	leaq	_ft5406ts_callout(%rip), %rdx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_callout_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FT5406_WINDOW_SIZE,4,2         ## @FT5406_WINDOW_SIZE
	.comm	_NO_POINTS,4,2                  ## @NO_POINTS
	.comm	_FT5406_NUM_POINTS,8,3          ## @FT5406_NUM_POINTS
	.comm	_MAX_TOUCH_ID,4,2               ## @MAX_TOUCH_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad touch id: %d"

	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_MT_SLOT,4,2                ## @ABS_MT_SLOT
	.comm	_ABS_MT_TRACKING_ID,4,2         ## @ABS_MT_TRACKING_ID
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.no_dead_strip	_ft5406ts_callout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ft5406ts_callout
_ft5406ts_callout:                      ; @ft5406ts_callout
	.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
	mov	x19, x0
	bl	_FT5406_LOCK_ASSERT
	ldr	w0, [x19, #24]
	ldr	x1, [x19]
Lloh0:
	adrp	x8, _FT5406_WINDOW_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT5406_WINDOW_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
Lloh3:
	adrp	x21, _NO_POINTS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NO_POINTS@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	x9, [x19]
Lloh5:
	adrp	x10, _FT5406_NUM_POINTS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FT5406_NUM_POINTS@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	ldr	w0, [x19, #24]
	bl	_GET_NUM_POINTS
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.1:
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w21, #0
Lloh8:
	adrp	x26, _MAX_TOUCH_ID@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MAX_TOUCH_ID@GOTPAGEOFF]
Lloh10:
	adrp	x27, _EV_ABS@GOTPAGE
Lloh11:
	ldr	x27, [x27, _EV_ABS@GOTPAGEOFF]
Lloh12:
	adrp	x22, _ABS_MT_POSITION_X@GOTPAGE
Lloh13:
	ldr	x22, [x22, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh14:
	adrp	x28, _ABS_MT_POSITION_Y@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ABS_MT_POSITION_Y@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	ldr	w0, [x19, #16]
	ldr	w1, [x27]
Lloh16:
	adrp	x8, _ABS_MT_SLOT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ABS_MT_SLOT@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x3, x23
	bl	_evdev_push_event
	ldr	w0, [x19, #16]
	ldr	w1, [x27]
Lloh19:
	adrp	x8, _ABS_MT_TRACKING_ID@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ABS_MT_TRACKING_ID@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x3, x23
	bl	_evdev_push_event
	ldr	w0, [x19, #16]
	ldr	w1, [x27]
	ldr	w2, [x22]
	mov	x3, x25
	bl	_evdev_push_event
	ldr	w0, [x19, #16]
	ldr	w1, [x27]
	ldr	w2, [x28]
	mov	x3, x24
	bl	_evdev_push_event
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	cmp	w20, w21
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_GET_TOUCH_ID
	mov	x23, x0
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_GET_X
	mov	x25, x0
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_GET_Y
	ldr	w8, [x26]
	cmp	w23, w8
	b.le	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #20]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_device_printf
	b	LBB0_4
LBB0_7:
	ldr	w0, [x19, #16]
	bl	_evdev_sync
LBB0_8:
	add	x0, x19, #12
	ldr	w1, [x19, #8]
Lloh24:
	adrp	x2, _ft5406ts_callout@PAGE
Lloh25:
	add	x2, x2, _ft5406ts_callout@PAGEOFF
	mov	x3, x19
	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
	b	_callout_reset
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_FT5406_WINDOW_SIZE,4,2         ; @FT5406_WINDOW_SIZE
	.comm	_NO_POINTS,4,2                  ; @NO_POINTS
	.comm	_FT5406_NUM_POINTS,8,3          ; @FT5406_NUM_POINTS
	.comm	_MAX_TOUCH_ID,4,2               ; @MAX_TOUCH_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad touch id: %d"

	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_MT_SLOT,4,2                ; @ABS_MT_SLOT
	.comm	_ABS_MT_TRACKING_ID,4,2         ; @ABS_MT_TRACKING_ID
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.no_dead_strip	_ft5406ts_callout
.subsections_via_symbols
