	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsp_set_input_params
_fsp_set_input_params:                  ## @fsp_set_input_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	8(%rdi), %rbx
	movq	(%rax), %rax
	movq	_FSP_VER_STL3888_C0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_BTN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_BTN_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	___set_bit
	movq	_REL_HWHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	___set_bit
	jmp	LBB0_3
LBB0_2:
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	___set_bit
	movq	_EV_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	___clear_bit
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_INPUT_PROP_SEMI_MT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$967, %ecx                      ## imm = 0x3C7
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$711, %ecx                      ## imm = 0x2C7
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_input_mt_init_slots
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$967, %ecx                      ## imm = 0x3C7
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$711, %ecx                      ## imm = 0x2C7
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSP_VER_STL3888_C0,8,3         ## @FSP_VER_STL3888_C0
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_BTN_BACK,4,2                   ## @BTN_BACK
	.comm	_BTN_FORWARD,4,2                ## @BTN_FORWARD
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.comm	_REL_HWHEEL,4,2                 ## @REL_HWHEEL
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_EV_REL,4,2                     ## @EV_REL
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ## @BTN_TOOL_DOUBLETAP
	.comm	_INPUT_PROP_SEMI_MT,4,2         ## @INPUT_PROP_SEMI_MT
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.no_dead_strip	_fsp_set_input_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsp_set_input_params
_fsp_set_input_params:                  ; @fsp_set_input_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	x8, x19, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _FSP_VER_STL3888_C0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSP_VER_STL3888_C0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh6:
	adrp	x8, _BTN_BACK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_BACK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh9:
	adrp	x8, _BTN_FORWARD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_FORWARD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh12:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	___set_bit
Lloh15:
	adrp	x8, _REL_HWHEEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REL_HWHEEL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	___set_bit
	b	LBB0_3
LBB0_2:
Lloh18:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh21:
	adrp	x8, _EV_REL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EV_REL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___clear_bit
Lloh24:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh27:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh30:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh33:
	adrp	x8, _INPUT_PROP_SEMI_MT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _INPUT_PROP_SEMI_MT@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh36:
	adrp	x8, _ABS_X@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #967
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh39:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #711
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_input_mt_init_slots
Lloh42:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #967
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh45:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #711
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FSP_VER_STL3888_C0,8,3         ; @FSP_VER_STL3888_C0
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_BTN_BACK,4,2                   ; @BTN_BACK
	.comm	_BTN_FORWARD,4,2                ; @BTN_FORWARD
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.comm	_REL_HWHEEL,4,2                 ; @REL_HWHEEL
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_EV_REL,4,2                     ; @EV_REL
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ; @BTN_TOOL_DOUBLETAP
	.comm	_INPUT_PROP_SEMI_MT,4,2         ; @INPUT_PROP_SEMI_MT
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.no_dead_strip	_fsp_set_input_params
.subsections_via_symbols
