	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_report_semi_mt_data
_alps_report_semi_mt_data:              ## @alps_report_semi_mt_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpl	$1, %esi
	jg	LBB0_4
## %bb.1:
	movl	44(%r15), %edx
	movq	32(%r15), %rax
	movl	%edx, 4(%rax)
	movl	40(%r15), %ecx
	movl	%ecx, (%rax)
	cmpq	$0, 8(%r15)
	movl	$-1, (%r15)
	jle	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_alps_set_slot
	movl	$1, %r14d
	jmp	LBB0_5
LBB0_4:
	movl	%esi, %r14d
	movq	32(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_alps_set_slot
	movq	32(%r15), %rax
	movl	8(%rax), %ecx
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_alps_set_slot
	jmp	LBB0_5
LBB0_2:
	xorl	%r14d, %r14d
LBB0_5:
	movq	%rbx, %rdi
	callq	_input_mt_sync_frame
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_input_mt_report_finger_count
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r15), %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r15), %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r15), %rdx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.no_dead_strip	_alps_report_semi_mt_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_report_semi_mt_data
_alps_report_semi_mt_data:              ; @alps_report_semi_mt_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	x19, x21, [x0]
	cmp	w1, #1
	b.gt	LBB0_3
; %bb.1:
	ldr	x8, [x21, #32]
	ldp	w3, w2, [x21, #40]
	stp	w3, w2, [x8]
	ldr	x8, [x21, #8]
	mov	w9, #-1
	str	w9, [x21]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_alps_set_slot
	mov	w20, #1
	b	LBB0_5
LBB0_3:
	mov	x20, x1
	ldr	x8, [x21, #32]
	ldp	w3, w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_alps_set_slot
	ldr	x8, [x21, #32]
	ldp	w3, w2, [x8, #8]
	mov	x0, x19
	mov	w1, #1
	bl	_alps_set_slot
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_input_mt_sync_frame
	mov	x0, x19
	mov	x1, x20
	bl	_input_mt_report_finger_count
Lloh0:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21, #24]
	mov	x0, x19
	bl	_input_report_key
Lloh3:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x21, #20]
	mov	x0, x19
	bl	_input_report_key
Lloh6:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x21, #16]
	mov	x0, x19
	bl	_input_report_key
Lloh9:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x2, [x21, #8]
	mov	x0, x19
	bl	_input_report_abs
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.no_dead_strip	_alps_report_semi_mt_data
.subsections_via_symbols
