	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxt_calc_crc24
_mxt_calc_crc24:                        ## @mxt_calc_crc24
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	shll	$8, %edx
	orl	%esi, %edx
	movl	(%rdi), %eax
	addl	%eax, %eax
	xorl	%edx, %eax
	movl	%eax, %ecx
	xorl	$8388635, %ecx                  ## imm = 0x80001B
	testl	$16777216, %eax                 ## imm = 0x1000000
	cmovel	%eax, %ecx
	movl	%ecx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mxt_calc_crc24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxt_calc_crc24
_mxt_calc_crc24:                        ; @mxt_calc_crc24
	.cfi_startproc
; %bb.0:
	orr	w8, w1, w2, lsl #8
	ldr	w9, [x0]
	eor	w8, w8, w9, lsl #1
	mov	w9, #27
	movk	w9, #128, lsl #16
	eor	w9, w8, w9
	tst	w8, #0x1000000
	csel	w8, w8, w9, eq
	str	w8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mxt_calc_crc24
.subsections_via_symbols
