	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_report_tool_width
_asus_report_tool_width:                ## @asus_report_tool_width
	.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	8(%rdi), %rax
	cmpl	$5, (%rax)
	jl	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %r12
	cmpl	$0, 4(%r12)
	jle	LBB0_8
## %bb.2:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%r12), %r14d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	4(%r12), %rax
	addq	$4, %r13
	cmpq	%rax, %r15
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rbx
	addq	%r13, %rbx
	movq	_ABS_MT_TRACKING_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_input_mt_get_value
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	subl	%r14d, %ecx
	movq	_TRKID_SGN@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_8
## %bb.9:
	movq	(%rax), %r14
	movq	_ABS_TOOL_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_mt_get_value
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_report_abs               ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ABS_MT_TRACKING_ID,4,2         ## @ABS_MT_TRACKING_ID
	.comm	_TRKID_SGN,4,2                  ## @TRKID_SGN
	.comm	_ABS_TOOL_WIDTH,4,2             ## @ABS_TOOL_WIDTH
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.no_dead_strip	_asus_report_tool_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_report_tool_width
_asus_report_tool_width:                ; @asus_report_tool_width
	.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	x8, [x0, #8]
	ldr	w8, [x8]
	cmp	w8, #5
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	mov	x20, #0
	ldr	w25, [x22]
Lloh0:
	adrp	x26, _ABS_MT_TRACKING_ID@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ABS_MT_TRACKING_ID@GOTPAGEOFF]
Lloh2:
	adrp	x27, _TRKID_SGN@GOTPAGE
Lloh3:
	ldr	x27, [x27, _TRKID_SGN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x22, #4]
	add	x23, x23, #4
	cmp	x24, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x21, x8, x23
	ldr	w1, [x26]
	mov	x0, x21
	bl	_input_mt_get_value
	tbnz	w0, #31, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w0, w25
	ldr	w9, [x27]
	tst	w9, w8
	csel	w25, w25, w0, eq
	csel	x20, x20, x21, eq
	b	LBB0_3
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	ldr	x19, [x19]
Lloh4:
	adrp	x8, _ABS_TOOL_WIDTH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ABS_TOOL_WIDTH@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
Lloh7:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_input_mt_get_value
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	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_report_abs
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ABS_MT_TRACKING_ID,4,2         ; @ABS_MT_TRACKING_ID
	.comm	_TRKID_SGN,4,2                  ; @TRKID_SGN
	.comm	_ABS_TOOL_WIDTH,4,2             ; @ABS_TOOL_WIDTH
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.no_dead_strip	_asus_report_tool_width
.subsections_via_symbols
