	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trackpoint_sync
_trackpoint_sync:                       ## @trackpoint_sync
	.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), %r14
	movq	_TP_TOGGLE_TWOHAND@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	callq	_trackpoint_read
	movq	_TP_MASK_TWOHAND@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	testb	%al, -25(%rbp)
	je	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_trackpoint_toggle_bit
LBB0_2:
	movq	_TP_TOGGLE_SOURCE_TAG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_trackpoint_read
	movq	_TP_MASK_SOURCE_TAG@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	testb	%al, -25(%rbp)
	je	LBB0_4
## %bb.3:
	movl	(%r15), %esi
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_trackpoint_toggle_bit
LBB0_4:
	movq	_TP_TOGGLE_MB@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_trackpoint_read
	movq	_TP_MASK_MB@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	testb	%al, -25(%rbp)
	je	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_trackpoint_toggle_bit
LBB0_6:
	movq	_TP_SENS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_INERTIA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_REACH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	36(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_DRAGHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_MINDRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_UP_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_Z_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_JENKS_CURV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%rbx, %rdi
	callq	_trackpoint_write
	movq	_TP_TOGGLE_PTSON@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_trackpoint_read
	movb	-25(%rbp), %cl
	movq	_TP_MASK_PTSON@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	notb	%cl
	xorl	%edx, %edx
	testb	%cl, %al
	sete	%dl
	cmpl	%edx, (%r14)
	je	LBB0_8
## %bb.7:
	movl	(%r15), %esi
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_trackpoint_toggle_bit
LBB0_8:
	movq	_TP_TOGGLE_SKIPBACK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_trackpoint_read
	movb	-25(%rbp), %cl
	movq	_TP_MASK_SKIPBACK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	notb	%cl
	xorl	%edx, %edx
	testb	%cl, %al
	sete	%dl
	cmpl	%edx, 4(%r14)
	je	LBB0_10
## %bb.9:
	movl	(%r15), %esi
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_trackpoint_toggle_bit
LBB0_10:
	movq	_TP_TOGGLE_EXT_DEV@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_trackpoint_read
	movb	-25(%rbp), %cl
	movq	_TP_MASK_EXT_DEV@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	notb	%cl
	xorl	%edx, %edx
	testb	%cl, %al
	sete	%dl
	cmpl	%edx, 8(%r14)
	je	LBB0_12
## %bb.11:
	movl	(%r15), %esi
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_trackpoint_toggle_bit
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_TOGGLE_TWOHAND,4,2          ## @TP_TOGGLE_TWOHAND
	.comm	_TP_MASK_TWOHAND,1,0            ## @TP_MASK_TWOHAND
	.comm	_TP_TOGGLE_SOURCE_TAG,4,2       ## @TP_TOGGLE_SOURCE_TAG
	.comm	_TP_MASK_SOURCE_TAG,1,0         ## @TP_MASK_SOURCE_TAG
	.comm	_TP_TOGGLE_MB,4,2               ## @TP_TOGGLE_MB
	.comm	_TP_MASK_MB,1,0                 ## @TP_MASK_MB
	.comm	_TP_SENS,4,2                    ## @TP_SENS
	.comm	_TP_INERTIA,4,2                 ## @TP_INERTIA
	.comm	_TP_SPEED,4,2                   ## @TP_SPEED
	.comm	_TP_REACH,4,2                   ## @TP_REACH
	.comm	_TP_DRAGHYS,4,2                 ## @TP_DRAGHYS
	.comm	_TP_MINDRAG,4,2                 ## @TP_MINDRAG
	.comm	_TP_THRESH,4,2                  ## @TP_THRESH
	.comm	_TP_UP_THRESH,4,2               ## @TP_UP_THRESH
	.comm	_TP_Z_TIME,4,2                  ## @TP_Z_TIME
	.comm	_TP_JENKS_CURV,4,2              ## @TP_JENKS_CURV
	.comm	_TP_TOGGLE_PTSON,4,2            ## @TP_TOGGLE_PTSON
	.comm	_TP_MASK_PTSON,1,0              ## @TP_MASK_PTSON
	.comm	_TP_TOGGLE_SKIPBACK,4,2         ## @TP_TOGGLE_SKIPBACK
	.comm	_TP_MASK_SKIPBACK,1,0           ## @TP_MASK_SKIPBACK
	.comm	_TP_TOGGLE_EXT_DEV,4,2          ## @TP_TOGGLE_EXT_DEV
	.comm	_TP_MASK_EXT_DEV,1,0            ## @TP_MASK_EXT_DEV
	.no_dead_strip	_trackpoint_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trackpoint_sync
_trackpoint_sync:                       ; @trackpoint_sync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x21, _TP_TOGGLE_TWOHAND@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TP_TOGGLE_TWOHAND@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	bl	_trackpoint_read
	ldrb	w8, [sp, #15]
Lloh2:
	adrp	x9, _TP_MASK_TWOHAND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TP_MASK_TWOHAND@GOTPAGEOFF]
	ldrb	w2, [x9]
	tst	w2, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_trackpoint_toggle_bit
LBB0_2:
Lloh4:
	adrp	x21, _TP_TOGGLE_SOURCE_TAG@GOTPAGE
Lloh5:
	ldr	x21, [x21, _TP_TOGGLE_SOURCE_TAG@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	x0, x19
	bl	_trackpoint_read
	ldrb	w8, [sp, #15]
Lloh6:
	adrp	x9, _TP_MASK_SOURCE_TAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TP_MASK_SOURCE_TAG@GOTPAGEOFF]
	ldrb	w2, [x9]
	tst	w2, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_trackpoint_toggle_bit
LBB0_4:
Lloh8:
	adrp	x21, _TP_TOGGLE_MB@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TP_TOGGLE_MB@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	x0, x19
	bl	_trackpoint_read
	ldrb	w8, [sp, #15]
Lloh10:
	adrp	x9, _TP_MASK_MB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TP_MASK_MB@GOTPAGEOFF]
	ldrb	w2, [x9]
	tst	w2, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_trackpoint_toggle_bit
LBB0_6:
Lloh12:
	adrp	x8, _TP_SENS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TP_SENS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #48]
	mov	x0, x19
	bl	_trackpoint_write
Lloh15:
	adrp	x8, _TP_INERTIA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TP_INERTIA@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #44]
	mov	x0, x19
	bl	_trackpoint_write
Lloh18:
	adrp	x8, _TP_SPEED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TP_SPEED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #40]
	mov	x0, x19
	bl	_trackpoint_write
Lloh21:
	adrp	x8, _TP_REACH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TP_REACH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20, #36]
	mov	x0, x19
	bl	_trackpoint_write
Lloh24:
	adrp	x8, _TP_DRAGHYS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TP_DRAGHYS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20, #32]
	mov	x0, x19
	bl	_trackpoint_write
Lloh27:
	adrp	x8, _TP_MINDRAG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TP_MINDRAG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	mov	x0, x19
	bl	_trackpoint_write
Lloh30:
	adrp	x8, _TP_THRESH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TP_THRESH@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_trackpoint_write
Lloh33:
	adrp	x8, _TP_UP_THRESH@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TP_UP_THRESH@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_trackpoint_write
Lloh36:
	adrp	x8, _TP_Z_TIME@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TP_Z_TIME@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_trackpoint_write
Lloh39:
	adrp	x8, _TP_JENKS_CURV@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TP_JENKS_CURV@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_trackpoint_write
Lloh42:
	adrp	x21, _TP_TOGGLE_PTSON@GOTPAGE
Lloh43:
	ldr	x21, [x21, _TP_TOGGLE_PTSON@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	x0, x19
	bl	_trackpoint_read
Lloh44:
	adrp	x8, _TP_MASK_PTSON@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TP_MASK_PTSON@GOTPAGEOFF]
	ldrb	w9, [sp, #15]
	ldrb	w2, [x8]
	bics	wzr, w2, w9
	cset	w8, eq
	ldr	w9, [x20]
	cmp	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_trackpoint_toggle_bit
LBB0_8:
Lloh46:
	adrp	x21, _TP_TOGGLE_SKIPBACK@GOTPAGE
Lloh47:
	ldr	x21, [x21, _TP_TOGGLE_SKIPBACK@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	x0, x19
	bl	_trackpoint_read
Lloh48:
	adrp	x8, _TP_MASK_SKIPBACK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TP_MASK_SKIPBACK@GOTPAGEOFF]
	ldrb	w9, [sp, #15]
	ldrb	w2, [x8]
	bics	wzr, w2, w9
	cset	w8, eq
	ldr	w9, [x20, #4]
	cmp	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_trackpoint_toggle_bit
LBB0_10:
Lloh50:
	adrp	x21, _TP_TOGGLE_EXT_DEV@GOTPAGE
Lloh51:
	ldr	x21, [x21, _TP_TOGGLE_EXT_DEV@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #15
	mov	x0, x19
	bl	_trackpoint_read
Lloh52:
	adrp	x8, _TP_MASK_EXT_DEV@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TP_MASK_EXT_DEV@GOTPAGEOFF]
	ldrb	w9, [sp, #15]
	ldrb	w2, [x8]
	bics	wzr, w2, w9
	cset	w8, eq
	ldr	w9, [x20, #8]
	cmp	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_trackpoint_toggle_bit
LBB0_12:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_TOGGLE_TWOHAND,4,2          ; @TP_TOGGLE_TWOHAND
	.comm	_TP_MASK_TWOHAND,1,0            ; @TP_MASK_TWOHAND
	.comm	_TP_TOGGLE_SOURCE_TAG,4,2       ; @TP_TOGGLE_SOURCE_TAG
	.comm	_TP_MASK_SOURCE_TAG,1,0         ; @TP_MASK_SOURCE_TAG
	.comm	_TP_TOGGLE_MB,4,2               ; @TP_TOGGLE_MB
	.comm	_TP_MASK_MB,1,0                 ; @TP_MASK_MB
	.comm	_TP_SENS,4,2                    ; @TP_SENS
	.comm	_TP_INERTIA,4,2                 ; @TP_INERTIA
	.comm	_TP_SPEED,4,2                   ; @TP_SPEED
	.comm	_TP_REACH,4,2                   ; @TP_REACH
	.comm	_TP_DRAGHYS,4,2                 ; @TP_DRAGHYS
	.comm	_TP_MINDRAG,4,2                 ; @TP_MINDRAG
	.comm	_TP_THRESH,4,2                  ; @TP_THRESH
	.comm	_TP_UP_THRESH,4,2               ; @TP_UP_THRESH
	.comm	_TP_Z_TIME,4,2                  ; @TP_Z_TIME
	.comm	_TP_JENKS_CURV,4,2              ; @TP_JENKS_CURV
	.comm	_TP_TOGGLE_PTSON,4,2            ; @TP_TOGGLE_PTSON
	.comm	_TP_MASK_PTSON,1,0              ; @TP_MASK_PTSON
	.comm	_TP_TOGGLE_SKIPBACK,4,2         ; @TP_TOGGLE_SKIPBACK
	.comm	_TP_MASK_SKIPBACK,1,0           ; @TP_MASK_SKIPBACK
	.comm	_TP_TOGGLE_EXT_DEV,4,2          ; @TP_TOGGLE_EXT_DEV
	.comm	_TP_MASK_EXT_DEV,1,0            ; @TP_MASK_EXT_DEV
	.no_dead_strip	_trackpoint_sync
.subsections_via_symbols
