	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfar_rx_checksum
_gfar_rx_checksum:                      ## @gfar_rx_checksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	callq	_be16_to_cpu
	movq	_RXFCB_CSUM_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_RXFCB_CIP@GOTPCREL(%rip), %rcx
	movq	_RXFCB_CTU@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_2
## %bb.1:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_skb_checksum_none_assert       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RXFCB_CSUM_MASK,4,2            ## @RXFCB_CSUM_MASK
	.comm	_RXFCB_CIP,4,2                  ## @RXFCB_CIP
	.comm	_RXFCB_CTU,4,2                  ## @RXFCB_CTU
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_gfar_rx_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfar_rx_checksum
_gfar_rx_checksum:                      ; @gfar_rx_checksum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
	bl	_be16_to_cpu
Lloh0:
	adrp	x8, _RXFCB_CSUM_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXFCB_CSUM_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _RXFCB_CIP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RXFCB_CIP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _RXFCB_CTU@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RXFCB_CTU@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_skb_checksum_none_assert
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RXFCB_CSUM_MASK,4,2            ; @RXFCB_CSUM_MASK
	.comm	_RXFCB_CIP,4,2                  ; @RXFCB_CIP
	.comm	_RXFCB_CTU,4,2                  ; @RXFCB_CTU
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_gfar_rx_checksum
.subsections_via_symbols
