	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_calc_ptr_chksum
_ar9003_calc_ptr_chksum:                ## @ar9003_calc_ptr_chksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movdqu	(%rdi), %xmm0
	movdqu	16(%rdi), %xmm1
	paddd	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	addl	32(%rdi), %eax
	addl	36(%rdi), %eax
	movzwl	%ax, %ecx
	sarl	$16, %eax
	addl	%ecx, %eax
	movq	_AR_TxPtrChkSum@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_TxPtrChkSum,4,2             ## @AR_TxPtrChkSum
	.no_dead_strip	_ar9003_calc_ptr_chksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_calc_ptr_chksum
_ar9003_calc_ptr_chksum:                ; @ar9003_calc_ptr_chksum
	.cfi_startproc
; %bb.0:
	ldp	q1, q0, [x0]
	ldp	w8, w9, [x0, #32]
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w10, s0
	add	w8, w10, w8
	add	w8, w8, w9
	asr	w9, w8, #16
	add	w8, w9, w8, uxth
Lloh0:
	adrp	x9, _AR_TxPtrChkSum@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AR_TxPtrChkSum@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_TxPtrChkSum,4,2             ; @AR_TxPtrChkSum
	.no_dead_strip	_ar9003_calc_ptr_chksum
.subsections_via_symbols
