	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_copy_and_csum_dev          ## -- Begin function skb_copy_and_csum_dev
	.p2align	4, 0x90
_skb_copy_and_csum_dev:                 ## @skb_copy_and_csum_dev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %r15
	movq	%rbx, %rdi
	callq	_skb_headroom
	subq	%rax, %r15
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_headlen
	movq	%rax, %r15
LBB0_3:
	movq	%rbx, %rdi
	callq	_skb_headlen
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setg	%dil
	callq	_BUG_ON
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_skb_copy_from_linear_data
	movq	16(%rbx), %rcx
	subq	%r15, %rcx
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	leaq	(%r14,%r15,4), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_skb_copy_and_csum_bits
LBB0_6:
	movq	(%rbx), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_8
## %bb.7:
	addq	24(%rbx), %r15
	movq	%rax, %rdi
	callq	_csum_fold
	movl	%eax, (%r14,%r15,4)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_copy_and_csum_dev          ; -- Begin function skb_copy_and_csum_dev
	.p2align	2
_skb_copy_and_csum_dev:                 ; @skb_copy_and_csum_dev
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CHECKSUM_PARTIAL@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x21, [x20, #8]
	mov	x0, x20
	bl	_skb_headroom
	sub	x21, x21, x0
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_skb_headlen
	mov	x21, x0
LBB0_3:
	mov	x0, x20
	bl	_skb_headlen
	cmp	x21, x0
	cset	w0, gt
	bl	_BUG_ON
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_skb_copy_from_linear_data
	ldr	x8, [x20, #16]
	subs	x3, x8, x21
	b.ne	LBB0_5
; %bb.4:
	mov	x0, #0
	b	LBB0_6
LBB0_5:
	add	x2, x19, x21, lsl #2
	mov	x0, x20
	mov	x1, x21
	mov	w4, #0
	bl	_skb_copy_and_csum_bits
LBB0_6:
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x20, #24]
	add	x20, x8, x21
	bl	_csum_fold
	str	w0, [x19, x20, lsl #2]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
.subsections_via_symbols
