	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntrig_input_mapping
_ntrig_input_mapping:                   ## @ntrig_input_mapping
	.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	%r9, %r14
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	callq	_hid_get_drvdata
	xorl	%r9d, %r9d
	cmpq	$0, 16(%rbx)
	je	LBB0_1
LBB0_15:
	movl	%r9d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ebx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	movl	$-1, %r9d
	cmpl	$-16777216, %ecx                ## imm = 0xFF000000
	je	LBB0_15
## %bb.2:
	cmpl	$129, %ecx
	je	LBB0_10
## %bb.3:
	cmpl	$128, %ecx
	jne	LBB0_14
## %bb.4:
	movq	%r13, %rdi
	cmpl	$130, %ebx
	je	LBB0_8
## %bb.5:
	movl	$0, %r9d
	cmpl	$131, %ebx
	jne	LBB0_15
## %bb.6:
	movq	_EV_ABS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%rax, %r13
	movq	%rdi, %rbx
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_hid_map_usage
	movl	(%rbx), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movl	$1, %r9d
	cmpl	$0, (%r13)
	jne	LBB0_15
## %bb.7:
	movq	%r13, %rdi
	movl	4(%rbx), %ecx
	subl	(%rbx), %ecx
	movl	%ecx, (%r13)
	movl	8(%rbx), %esi
	subl	12(%rbx), %esi
	movl	%esi, 4(%r13)
	movq	_activation_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, 8(%r13)
	movq	_min_width@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, 12(%r13)
	jmp	LBB0_15
LBB0_10:
	addl	$-132, %ebx
	cmpl	$5, %ebx
	ja	LBB0_14
## %bb.11:
	leaq	LJTI0_0(%rip), %r8
	movslq	(%r8,%rbx,4), %rax
	addq	%r8, %rax
	jmpq	*%rax
LBB0_12:
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_hid_map_usage
	movl	$1, %r9d
	jmp	LBB0_15
LBB0_14:
	xorl	%r9d, %r9d
	jmp	LBB0_15
LBB0_8:
	movq	_EV_ABS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%rax, %r13
	movq	%rdi, %rbx
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_hid_map_usage
	movl	(%rbx), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movl	$1, %r9d
	cmpl	$0, 16(%r13)
	jne	LBB0_15
## %bb.9:
	movq	%r13, %rdi
	movl	4(%rbx), %ecx
	subl	(%rbx), %ecx
	movl	%ecx, 16(%r13)
	movl	8(%rbx), %esi
	subl	12(%rbx), %esi
	movl	%esi, 20(%r13)
	movq	_activation_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, 24(%r13)
	movq	_min_height@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, 28(%r13)
	jmp	LBB0_15
LBB0_13:
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ABS_MT_TOUCH_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_hid_map_usage
	movl	(%r13), %edi
	movq	_ABS_MT_ORIENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movl	$1, %r9d
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_activation_width,4,2           ## @activation_width
	.comm	_min_width,4,2                  ## @min_width
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_activation_height,4,2          ## @activation_height
	.comm	_min_height,4,2                 ## @min_height
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ## @ABS_MT_TOUCH_MINOR
	.comm	_ABS_MT_ORIENTATION,4,2         ## @ABS_MT_ORIENTATION
	.no_dead_strip	_ntrig_input_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntrig_input_mapping
_ntrig_input_mapping:                   ; @ntrig_input_mapping
	.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	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	bl	_hid_get_drvdata
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
LBB0_1:
	mov	w19, #0
LBB0_2:
	mov	x0, x19
	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_3:
	ldr	w8, [x24]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	mov	w10, #-16777216
	cmp	w9, w10
	b.eq	LBB0_13
; %bb.4:
	cmp	w9, #129
	b.eq	LBB0_10
; %bb.5:
	cmp	w9, #128
	b.ne	LBB0_1
; %bb.6:
	mov	x19, x0
	cmp	w8, #130
	b.eq	LBB0_14
; %bb.7:
	cmp	w8, #131
	b.ne	LBB0_1
; %bb.8:
Lloh3:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_hid_map_usage
	ldr	w0, [x21]
Lloh9:
	adrp	x8, _ABS_X@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldp	w2, w3, [x20]
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
; %bb.9:
	ldp	w9, w8, [x20]
	sub	w8, w8, w9
	ldp	w9, w10, [x20, #8]
	sub	w9, w9, w10
Lloh12:
	adrp	x10, _activation_width@GOTPAGE
Lloh13:
	ldr	x10, [x10, _activation_width@GOTPAGEOFF]
	str	w8, [x19]
Lloh14:
	ldr	w10, [x10]
	mul	w10, w10, w8
Lloh15:
	adrp	x11, _min_width@GOTPAGE
Lloh16:
	ldr	x11, [x11, _min_width@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	mul	w8, w11, w8
	sdiv	w10, w10, w9
	sdiv	w8, w8, w9
	stp	w9, w10, [x19, #4]
	str	w8, [x19, #12]
	mov	w19, #1
	b	LBB0_2
LBB0_10:
	sub	w8, w8, #132
	cmp	w8, #5
	b.hi	LBB0_1
; %bb.11:
	mov	w19, #-1
Lloh18:
	adrp	x9, lJTI0_0@PAGE
Lloh19:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
Lloh20:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
Lloh23:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_hid_map_usage
	mov	w19, #1
	b	LBB0_2
LBB0_13:
	mov	w19, #-1
	b	LBB0_2
LBB0_14:
Lloh26:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
Lloh29:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh31:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_hid_map_usage
	ldr	w0, [x21]
Lloh32:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldp	w2, w3, [x20]
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_17
LBB0_15:
	mov	w19, #1
	b	LBB0_2
LBB0_16:
Lloh35:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh37:
	ldr	w4, [x8]
Lloh38:
	adrp	x8, _ABS_MT_TOUCH_MINOR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ABS_MT_TOUCH_MINOR@GOTPAGEOFF]
Lloh40:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_hid_map_usage
	ldr	w0, [x21]
Lloh41:
	adrp	x8, _ABS_MT_ORIENTATION@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ABS_MT_ORIENTATION@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	w19, #1
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	b	LBB0_2
LBB0_17:
	ldp	w9, w8, [x20]
	sub	w8, w8, w9
	ldp	w9, w10, [x20, #8]
	sub	w9, w9, w10
Lloh44:
	adrp	x10, _activation_height@GOTPAGE
Lloh45:
	ldr	x10, [x10, _activation_height@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	mul	w10, w10, w8
Lloh47:
	adrp	x11, _min_height@GOTPAGE
Lloh48:
	ldr	x11, [x11, _min_height@GOTPAGEOFF]
Lloh49:
	ldr	w11, [x11]
	mul	w11, w11, w8
	stp	w8, w9, [x19, #16]
	sdiv	w8, w10, w9
	sdiv	w9, w11, w9
	stp	w8, w9, [x19, #24]
	mov	w19, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_activation_width,4,2           ; @activation_width
	.comm	_min_width,4,2                  ; @min_width
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_activation_height,4,2          ; @activation_height
	.comm	_min_height,4,2                 ; @min_height
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ; @ABS_MT_TOUCH_MINOR
	.comm	_ABS_MT_ORIENTATION,4,2         ; @ABS_MT_ORIENTATION
	.no_dead_strip	_ntrig_input_mapping
.subsections_via_symbols
