	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9300_comp_cksum
_ar9300_comp_cksum:                     ## @ar9300_comp_cksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, %esi
	leaq	-1(%rsi), %rax
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rax
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rdi,%rdx,8), %eax
	addl	8(%rdi,%rdx,8), %eax
	addl	16(%rdi,%rdx,8), %eax
	addl	24(%rdi,%rdx,8), %eax
	movzwl	%ax, %eax
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_5
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	leaq	(%rdi,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rdx,%rsi,8), %eax
	movzwl	%ax, %eax
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ar9300_comp_cksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9300_comp_cksum
_ar9300_comp_cksum:                     ; @ar9300_comp_cksum
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
	mov	w9, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #8
	add	w8, w8, w10
	and	w8, w8, #0xffff
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ar9300_comp_cksum
.subsections_via_symbols
