	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_calc_checksum
_qat_uclo_calc_checksum:                ## @qat_uclo_calc_checksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	shrl	$24, %eax
	xorl	%esi, %eax
	shll	$8, %eax
	xorl	%edi, %eax
	leal	(%rax,%rax), %ecx
	movl	%ecx, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%ecx, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	movl	%eax, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%eax, %edx
	leal	(%rdx,%rdx), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	movzwl	%cx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qat_uclo_calc_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_calc_checksum
_qat_uclo_calc_checksum:                ; @qat_uclo_calc_checksum
	.cfi_startproc
; %bb.0:
	eor	w8, w1, w0, lsr #24
	eor	w8, w0, w8, lsl #8
	lsl	w9, w8, #1
	mov	w10, #4129
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w11, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w11, eq
	lsl	w9, w8, #1
	eor	w10, w9, w10
	tst	w8, #0x8000
	csel	w8, w9, w10, eq
	and	w0, w8, #0xffff
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qat_uclo_calc_checksum
.subsections_via_symbols
