	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elan_report_absolute
_elan_report_absolute:                  ## @elan_report_absolute
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_ETP_TOUCH_INFO_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %r13d
	movq	_ETP_HOVER_INFO_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ETP_MAX_FINGERS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.1:
	movq	%rdi, %r12
	movq	_ETP_FINGER_DATA_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rsi,%rax,4), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cltq
	leaq	(%rbx,%rax,4), %rbx
	incl	%r14d
	movq	_ETP_MAX_FINGERS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$8, %r15d
	movl	%r14d, %ecx
	shll	%cl, %r15d
	movl	%r15d, %edx
	andl	%r13d, %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rcx
	callq	_elan_report_contact
	movl	$0, %eax
	andl	%r13d, %r15d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ETP_FINGER_DATA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	callq	_BIT
	andl	%r13d, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_input_report_key
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$2, %edi
	callq	_BIT
	andl	%r13d, %eax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_input_report_key
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$1, %edi
	callq	_BIT
	andl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_input_report_key
	movq	_ABS_DISTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	shrl	$6, %edx
	andl	$1, %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_input_mt_report_pointer_emulation
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETP_FINGER_DATA_OFFSET,8,3     ## @ETP_FINGER_DATA_OFFSET
	.comm	_ETP_TOUCH_INFO_OFFSET,8,3      ## @ETP_TOUCH_INFO_OFFSET
	.comm	_ETP_HOVER_INFO_OFFSET,8,3      ## @ETP_HOVER_INFO_OFFSET
	.comm	_ETP_MAX_FINGERS,4,2            ## @ETP_MAX_FINGERS
	.comm	_ETP_FINGER_DATA_LEN,4,2        ## @ETP_FINGER_DATA_LEN
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_ABS_DISTANCE,4,2               ## @ABS_DISTANCE
	.no_dead_strip	_elan_report_absolute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elan_report_absolute
_elan_report_absolute:                  ; @elan_report_absolute
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _ETP_TOUCH_INFO_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETP_TOUCH_INFO_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w24, [x1, x8, lsl #2]
Lloh3:
	adrp	x8, _ETP_HOVER_INFO_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETP_HOVER_INFO_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w23, [x1, x8, lsl #2]
Lloh6:
	adrp	x25, _ETP_MAX_FINGERS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ETP_MAX_FINGERS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w21, #0
Lloh8:
	adrp	x8, _ETP_FINGER_DATA_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETP_FINGER_DATA_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x22, x1, x8, lsl #2
	mov	w26, #8
Lloh11:
	adrp	x27, _ETP_FINGER_DATA_LEN@GOTPAGE
Lloh12:
	ldr	x27, [x27, _ETP_FINGER_DATA_LEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w28, w26, w21
	ands	w2, w28, w24
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_elan_report_contact
	tst	w28, w24
	ldr	w8, [x27]
	csel	w8, wzr, w8, eq
	add	x22, x22, w8, sxtw #2
	add	w21, w21, #1
	ldr	w8, [x25]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
Lloh13:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	mov	w0, #0
	bl	_BIT
	and	w2, w0, w24
	mov	x0, x19
	mov	x1, x20
	bl	_input_report_key
Lloh16:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	mov	w0, #2
	bl	_BIT
	and	w2, w0, w24
	mov	x0, x19
	mov	x1, x20
	bl	_input_report_key
Lloh19:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	mov	w0, #1
	bl	_BIT
	and	w2, w0, w24
	mov	x0, x19
	mov	x1, x20
	bl	_input_report_key
Lloh22:
	adrp	x8, _ABS_DISTANCE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ABS_DISTANCE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ubfx	w2, w23, #6, #1
	mov	x0, x19
	bl	_input_report_abs
	mov	x0, x19
	mov	w1, #1
	bl	_input_mt_report_pointer_emulation
	mov	x0, 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	_input_sync
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ETP_FINGER_DATA_OFFSET,8,3     ; @ETP_FINGER_DATA_OFFSET
	.comm	_ETP_TOUCH_INFO_OFFSET,8,3      ; @ETP_TOUCH_INFO_OFFSET
	.comm	_ETP_HOVER_INFO_OFFSET,8,3      ; @ETP_HOVER_INFO_OFFSET
	.comm	_ETP_MAX_FINGERS,4,2            ; @ETP_MAX_FINGERS
	.comm	_ETP_FINGER_DATA_LEN,4,2        ; @ETP_FINGER_DATA_LEN
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_ABS_DISTANCE,4,2               ; @ABS_DISTANCE
	.no_dead_strip	_elan_report_absolute
.subsections_via_symbols
