	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntrig_input_configured
_ntrig_input_configured:                ## @ntrig_input_configured
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rsi), %r14
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.4:
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___clear_bit
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___clear_bit
	movq	_BTN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___clear_bit
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rcx, %rax
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rax
LBB0_5:
	movq	%rax, (%r14)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"N-Trig Pen"

	.comm	_BTN_TOOL_PEN,4,2               ## @BTN_TOOL_PEN
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_0,4,2                      ## @BTN_0
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ## @BTN_TOOL_DOUBLETAP
L_.str.1:                               ## @.str.1
	.asciz	"N-Trig Touchscreen"

L_.str.2:                               ## @.str.2
	.asciz	"N-Trig MultiTouch"

	.no_dead_strip	_ntrig_input_configured
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntrig_input_configured
_ntrig_input_configured:                ; @ntrig_input_configured
	.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
	ldr	x8, [x1]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x1
	ldr	x20, [x1, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _BTN_TOOL_PEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTN_TOOL_PEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	___clear_bit
Lloh3:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	___clear_bit
Lloh6:
	adrp	x8, _BTN_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_0@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	___clear_bit
Lloh9:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	___set_bit
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, #4]
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, eq
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, l_.str@PAGE
Lloh17:
	add	x8, x8, l_.str@PAGEOFF
LBB0_5:
	str	x8, [x20]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"N-Trig Pen"

	.comm	_BTN_TOOL_PEN,4,2               ; @BTN_TOOL_PEN
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_0,4,2                      ; @BTN_0
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ; @BTN_TOOL_DOUBLETAP
l_.str.1:                               ; @.str.1
	.asciz	"N-Trig Touchscreen"

l_.str.2:                               ; @.str.2
	.asciz	"N-Trig MultiTouch"

	.no_dead_strip	_ntrig_input_configured
.subsections_via_symbols
