	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elantech_set_input_params
_elantech_set_input_params:             ## @elantech_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	%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	%rdi, %r15
	movq	(%rdi), %r12
	movq	8(%rdi), %rbx
	movl	8(%r12), %r14d
	movl	12(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	16(%r12), %r13d
	movl	20(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	24(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_INPUT_PROP_POINTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	___set_bit
	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_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	cmpq	$0, 64(%r12)
	je	LBB0_2
## %bb.1:
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
LBB0_2:
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_TRIPLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movl	28(%r12), %eax
	decl	%eax
	cmpl	$3, %eax
	ja	LBB0_16
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	cmpl	$131071, 32(%r12)               ## imm = 0x1FFFF
	jg	LBB0_7
## %bb.5:
	movq	40(%r12), %rax
	movq	_ETP_CAP_HAS_ROCKER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_BTN_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
LBB0_7:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_9:
	movq	_BTN_TOOL_QUADTAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_INPUT_PROP_SEMI_MT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	___set_bit
	cmpl	$3, 28(%r12)
	jne	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	callq	_elantech_set_buttonpad_prop
LBB0_11:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r13d, %r15d
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	cmpl	$0, 56(%r12)
	je	LBB0_13
## %bb.12:
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETP_PMIN_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETP_PMAX_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_TOOL_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETP_WMIN_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETP_WMAX_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_13:
	movq	_INPUT_MT_SEMI_MT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_input_mt_init_slots
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	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
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_elantech_set_buttonpad_prop
	movq	_BTN_TOOL_QUADTAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r13d, %r15d
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETP_PMIN_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETP_PMAX_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_TOOL_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETP_WMIN_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETP_WMAX_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ETP_MAX_FINGERS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_mt_init_slots
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	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
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETP_PMIN_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETP_PMAX_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETP_WMAX_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	imull	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_15:
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_16:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	52(%r12), %edx
	movq	%rbx, %rdi
	callq	_input_abs_set_res
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%r12), %edx
	movq	%rbx, %rdi
	callq	_input_abs_set_res
	cmpl	$2, 28(%r12)
	jl	LBB0_18
## %bb.17:
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	52(%r12), %edx
	movq	%rbx, %rdi
	callq	_input_abs_set_res
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%r12), %edx
	movq	%rbx, %rdi
	callq	_input_abs_set_res
LBB0_18:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r12)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_INPUT_PROP_POINTER,4,2         ## @INPUT_PROP_POINTER
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_EV_REL,4,2                     ## @EV_REL
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.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	_BTN_TOOL_TRIPLETAP,4,2         ## @BTN_TOOL_TRIPLETAP
	.comm	_ETP_CAP_HAS_ROCKER,4,2         ## @ETP_CAP_HAS_ROCKER
	.comm	_BTN_FORWARD,4,2                ## @BTN_FORWARD
	.comm	_BTN_BACK,4,2                   ## @BTN_BACK
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_BTN_TOOL_QUADTAP,4,2           ## @BTN_TOOL_QUADTAP
	.comm	_INPUT_PROP_SEMI_MT,4,2         ## @INPUT_PROP_SEMI_MT
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_ETP_PMIN_V2,4,2                ## @ETP_PMIN_V2
	.comm	_ETP_PMAX_V2,4,2                ## @ETP_PMAX_V2
	.comm	_ABS_TOOL_WIDTH,4,2             ## @ABS_TOOL_WIDTH
	.comm	_ETP_WMIN_V2,4,2                ## @ETP_WMIN_V2
	.comm	_ETP_WMAX_V2,4,2                ## @ETP_WMAX_V2
	.comm	_INPUT_MT_SEMI_MT,4,2           ## @INPUT_MT_SEMI_MT
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_ETP_MAX_FINGERS,4,2            ## @ETP_MAX_FINGERS
	.comm	_ABS_MT_PRESSURE,4,2            ## @ABS_MT_PRESSURE
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.no_dead_strip	_elantech_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 elantech_set_input_params
_elantech_set_input_params:             ; @elantech_set_input_params
	.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
	mov	x24, x0
	ldp	x25, x19, [x0]
	ldp	w23, w21, [x25, #8]
	ldp	w22, w20, [x25, #16]
	ldr	w26, [x25, #24]
Lloh0:
	adrp	x8, _INPUT_PROP_POINTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPUT_PROP_POINTER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
Lloh3:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh6:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh9:
	adrp	x8, _EV_REL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EV_REL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___clear_bit
Lloh12:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
	ldr	x8, [x25, #64]
	cbz	x8, LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
LBB0_2:
Lloh18:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh21:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh24:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh27:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh30:
	adrp	x8, _BTN_TOOL_TRIPLETAP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BTN_TOOL_TRIPLETAP@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
	ldr	w8, [x25, #28]
	sub	w8, w8, #1
Lloh33:
	adrp	x28, _ABS_X@GOTPAGE
Lloh34:
	ldr	x28, [x28, _ABS_X@GOTPAGEOFF]
Lloh35:
	adrp	x27, _ABS_Y@GOTPAGE
Lloh36:
	ldr	x27, [x27, _ABS_Y@GOTPAGEOFF]
	cmp	w8, #3
	b.hi	LBB0_16
; %bb.3:
Lloh37:
	adrp	x9, lJTI0_0@PAGE
Lloh38:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w8, [x25, #32]
	cmp	w8, #32, lsl #12                ; =131072
	b.ge	LBB0_7
; %bb.5:
	ldr	x8, [x25, #40]
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _ETP_CAP_HAS_ROCKER@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ETP_CAP_HAS_ROCKER@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh42:
	adrp	x8, _BTN_FORWARD@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BTN_FORWARD@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh45:
	adrp	x8, _BTN_BACK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BTN_BACK@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
LBB0_7:
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w1, [x27]
	b	LBB0_13
LBB0_8:
Lloh48:
	adrp	x8, _BTN_TOOL_QUADTAP@GOTPAGE
Lloh49:
	ldr	x8, [x8, _BTN_TOOL_QUADTAP@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh51:
	adrp	x8, _INPUT_PROP_SEMI_MT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _INPUT_PROP_SEMI_MT@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	___set_bit
	ldr	w8, [x25, #28]
	cmp	w8, #3
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x24
	bl	_elantech_set_buttonpad_prop
LBB0_10:
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w8, [x25, #56]
	cbz	w8, LBB0_12
; %bb.11:
Lloh54:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _ETP_PMIN_V2@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ETP_PMIN_V2@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x8, _ETP_PMAX_V2@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ETP_PMAX_V2@GOTPAGEOFF]
Lloh62:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh63:
	adrp	x8, _ABS_TOOL_WIDTH@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ABS_TOOL_WIDTH@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _ETP_WMIN_V2@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ETP_WMIN_V2@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
Lloh69:
	adrp	x8, _ETP_WMAX_V2@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ETP_WMAX_V2@GOTPAGEOFF]
Lloh71:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_12:
Lloh72:
	adrp	x8, _INPUT_MT_SEMI_MT@GOTPAGE
Lloh73:
	ldr	x8, [x8, _INPUT_MT_SEMI_MT@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_input_mt_init_slots
Lloh75:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh78:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
LBB0_13:
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	b	LBB0_15
LBB0_14:
	mov	x0, x24
	bl	_elantech_set_buttonpad_prop
Lloh81:
	adrp	x8, _BTN_TOOL_QUADTAP@GOTPAGE
Lloh82:
	ldr	x8, [x8, _BTN_TOOL_QUADTAP@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh84:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh85:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
Lloh87:
	adrp	x8, _ETP_PMIN_V2@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ETP_PMIN_V2@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
Lloh90:
	adrp	x8, _ETP_PMAX_V2@GOTPAGE
Lloh91:
	ldr	x8, [x8, _ETP_PMAX_V2@GOTPAGEOFF]
Lloh92:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh93:
	adrp	x8, _ABS_TOOL_WIDTH@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ABS_TOOL_WIDTH@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
Lloh96:
	adrp	x8, _ETP_WMIN_V2@GOTPAGE
Lloh97:
	ldr	x8, [x8, _ETP_WMIN_V2@GOTPAGEOFF]
Lloh98:
	ldr	w2, [x8]
Lloh99:
	adrp	x24, _ETP_WMAX_V2@GOTPAGE
Lloh100:
	ldr	x24, [x24, _ETP_WMAX_V2@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh101:
	adrp	x8, _ETP_MAX_FINGERS@GOTPAGE
Lloh102:
	ldr	x8, [x8, _ETP_MAX_FINGERS@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_input_mt_init_slots
Lloh104:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh105:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh107:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh108:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh109:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh110:
	adrp	x8, _ABS_MT_PRESSURE@GOTPAGE
Lloh111:
	ldr	x8, [x8, _ABS_MT_PRESSURE@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
Lloh113:
	adrp	x8, _ETP_PMIN_V2@GOTPAGE
Lloh114:
	ldr	x8, [x8, _ETP_PMIN_V2@GOTPAGEOFF]
Lloh115:
	ldr	w2, [x8]
Lloh116:
	adrp	x8, _ETP_PMAX_V2@GOTPAGE
Lloh117:
	ldr	x8, [x8, _ETP_PMAX_V2@GOTPAGEOFF]
Lloh118:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh119:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh120:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh121:
	ldr	w1, [x8]
	ldr	w8, [x24]
	mul	w3, w8, w26
	mov	x0, x19
	mov	w2, #0
LBB0_15:
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_16:
	ldr	w1, [x28]
	ldr	w2, [x25, #52]
	mov	x0, x19
	bl	_input_abs_set_res
	ldr	w1, [x27]
	ldr	w2, [x25, #48]
	mov	x0, x19
	bl	_input_abs_set_res
	ldr	w8, [x25, #28]
	cmp	w8, #2
	b.lt	LBB0_18
; %bb.17:
Lloh122:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh123:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
	ldr	w2, [x25, #52]
	mov	x0, x19
	bl	_input_abs_set_res
Lloh125:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh126:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh127:
	ldr	w1, [x8]
	ldr	w2, [x25, #48]
	mov	x0, x19
	bl	_input_abs_set_res
LBB0_18:
	stp	w20, w26, [x25]
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.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
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
                                        ; -- End function
	.comm	_INPUT_PROP_POINTER,4,2         ; @INPUT_PROP_POINTER
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_EV_REL,4,2                     ; @EV_REL
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.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	_BTN_TOOL_TRIPLETAP,4,2         ; @BTN_TOOL_TRIPLETAP
	.comm	_ETP_CAP_HAS_ROCKER,4,2         ; @ETP_CAP_HAS_ROCKER
	.comm	_BTN_FORWARD,4,2                ; @BTN_FORWARD
	.comm	_BTN_BACK,4,2                   ; @BTN_BACK
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_BTN_TOOL_QUADTAP,4,2           ; @BTN_TOOL_QUADTAP
	.comm	_INPUT_PROP_SEMI_MT,4,2         ; @INPUT_PROP_SEMI_MT
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_ETP_PMIN_V2,4,2                ; @ETP_PMIN_V2
	.comm	_ETP_PMAX_V2,4,2                ; @ETP_PMAX_V2
	.comm	_ABS_TOOL_WIDTH,4,2             ; @ABS_TOOL_WIDTH
	.comm	_ETP_WMIN_V2,4,2                ; @ETP_WMIN_V2
	.comm	_ETP_WMAX_V2,4,2                ; @ETP_WMAX_V2
	.comm	_INPUT_MT_SEMI_MT,4,2           ; @INPUT_MT_SEMI_MT
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_ETP_MAX_FINGERS,4,2            ; @ETP_MAX_FINGERS
	.comm	_ABS_MT_PRESSURE,4,2            ; @ABS_MT_PRESSURE
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.no_dead_strip	_elantech_set_input_params
.subsections_via_symbols
