	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_mt_report_slot_state     ## -- Begin function input_mt_report_slot_state
	.p2align	4, 0x90
_input_mt_report_slot_state:            ## @input_mt_report_slot_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	16(%rbx), %rax
	movq	(%rbx), %rcx
	movl	8(%rbx), %esi
	movl	%esi, (%rax,%rcx,4)
	testl	%edx, %edx
	je	LBB0_3
## %bb.4:
	leaq	(%rax,%rcx,4), %rdi
	movq	_ABS_MT_TRACKING_ID@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_input_mt_get_value
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_input_mt_new_trkid
LBB0_6:
	movq	_EV_ABS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_input_event
	movl	$1, %ebx
	movq	_ABS_MT_TOOL_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_3:
	xorl	%ebx, %ebx
	movl	$-1, %r14d
	movq	_ABS_MT_TRACKING_ID@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_EV_ABS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %ecx
	callq	_input_event
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_MT_TRACKING_ID,4,2         ## @ABS_MT_TRACKING_ID
	.comm	_ABS_MT_TOOL_TYPE,4,2           ## @ABS_MT_TOOL_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_mt_report_slot_state     ; -- Begin function input_mt_report_slot_state
	.p2align	2
_input_mt_report_slot_state:            ; @input_mt_report_slot_state
	.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
	ldr	x21, [x0]
	cbz	x21, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	ldr	w8, [x21, #8]
	str	w8, [x0]
Lloh0:
	adrp	x23, _ABS_MT_TRACKING_ID@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ABS_MT_TRACKING_ID@GOTPAGEOFF]
Lloh2:
	adrp	x22, _EV_ABS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EV_ABS@GOTPAGEOFF]
	cbz	w2, LBB0_5
; %bb.2:
	mov	x19, x1
	ldr	w1, [x23]
	bl	_input_mt_get_value
	mov	x3, x0
	tbz	w0, #31, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_input_mt_new_trkid
	mov	x3, x0
LBB0_4:
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_input_event
	mov	w21, #1
Lloh4:
	adrp	x23, _ABS_MT_TOOL_TYPE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ABS_MT_TOOL_TYPE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	w21, #0
	mov	w19, #-1
LBB0_6:
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x19
	bl	_input_event
LBB0_7:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_MT_TRACKING_ID,4,2         ; @ABS_MT_TRACKING_ID
	.comm	_ABS_MT_TOOL_TYPE,4,2           ; @ABS_MT_TOOL_TYPE
.subsections_via_symbols
