	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_report_contact_down
_asus_report_contact_down:              ## @asus_report_contact_down
	.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	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	(%rdx), %eax
	movq	_CONTACT_X_MSB_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	shll	$4, %edx
	orl	4(%r12), %edx
	movq	(%rdi), %rcx
	movq	_CONTACT_Y_MSB_MASK@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	movq	8(%rdi), %r14
	shll	$8, %eax
	orl	8(%r12), %eax
	movl	(%rcx), %ebx
	subl	%eax, %ebx
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_input_report_abs
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_input_report_abs
	movq	(%r13), %rax
	cmpl	$5, 4(%rax)
	jge	LBB0_1
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_MT_TOOL_PALM@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_MAX_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAX_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	movl	12(%r12), %edx
	sarl	$4, %edx
	movq	_CONTACT_TOUCH_MAJOR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movq	_CONTACT_PRESSURE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	16(%r12), %ebx
LBB0_4:
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_input_report_abs
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_report_abs               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTACT_X_MSB_MASK,4,2         ## @CONTACT_X_MSB_MASK
	.comm	_CONTACT_Y_MSB_MASK,4,2         ## @CONTACT_Y_MSB_MASK
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_MT_TOOL_PALM,4,2               ## @MT_TOOL_PALM
	.comm	_MAX_TOUCH_MAJOR,4,2            ## @MAX_TOUCH_MAJOR
	.comm	_MAX_PRESSURE,4,2               ## @MAX_PRESSURE
	.comm	_CONTACT_TOUCH_MAJOR_MASK,4,2   ## @CONTACT_TOUCH_MAJOR_MASK
	.comm	_CONTACT_PRESSURE_MASK,4,2      ## @CONTACT_PRESSURE_MASK
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_PRESSURE,4,2            ## @ABS_MT_PRESSURE
	.no_dead_strip	_asus_report_contact_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_report_contact_down
_asus_report_contact_down:              ; @asus_report_contact_down
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _CONTACT_X_MSB_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONTACT_X_MSB_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x2]
	and	w8, w8, w9
	orr	w2, w10, w8, lsl #4
	ldp	x8, x19, [x0]
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _CONTACT_Y_MSB_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CONTACT_Y_MSB_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w9, w10, w9
	ldr	w10, [x20, #8]
	orr	w9, w10, w9, lsl #8
	sub	w23, w8, w9
Lloh6:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_input_report_abs
Lloh9:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_input_report_abs
	ldr	x8, [x22]
	ldr	w8, [x8, #4]
	cmp	w8, #5
	b.ge	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh12:
	adrp	x8, _MT_TOOL_PALM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MT_TOOL_PALM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _MAX_TOUCH_MAJOR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX_TOUCH_MAJOR@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _MAX_PRESSURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAX_PRESSURE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _CONTACT_TOUCH_MAJOR_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CONTACT_TOUCH_MAJOR_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldp	w9, w10, [x20, #12]
	and	w2, w8, w9, asr #4
Lloh24:
	adrp	x8, _CONTACT_PRESSURE_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CONTACT_PRESSURE_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w20, w8, w10
LBB0_5:
Lloh27:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_input_report_abs
Lloh30:
	adrp	x8, _ABS_MT_PRESSURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ABS_MT_PRESSURE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_input_report_abs
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTACT_X_MSB_MASK,4,2         ; @CONTACT_X_MSB_MASK
	.comm	_CONTACT_Y_MSB_MASK,4,2         ; @CONTACT_Y_MSB_MASK
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_MT_TOOL_PALM,4,2               ; @MT_TOOL_PALM
	.comm	_MAX_TOUCH_MAJOR,4,2            ; @MAX_TOUCH_MAJOR
	.comm	_MAX_PRESSURE,4,2               ; @MAX_PRESSURE
	.comm	_CONTACT_TOUCH_MAJOR_MASK,4,2   ; @CONTACT_TOUCH_MAJOR_MASK
	.comm	_CONTACT_PRESSURE_MASK,4,2      ; @CONTACT_PRESSURE_MASK
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_PRESSURE,4,2            ; @ABS_MT_PRESSURE
	.no_dead_strip	_asus_report_contact_down
.subsections_via_symbols
