	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_copy_and_csum_datagram_iovec ## -- Begin function skb_copy_and_csum_datagram_iovec
	.p2align	4, 0x90
_skb_copy_and_csum_datagram_iovec:      ## @skb_copy_and_csum_datagram_iovec
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r15d
	xorl	%r14d, %r14d
	subl	%esi, %r15d
	je	LBB0_14
## %bb.1:
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r12
	addq	$-8, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %eax
	addq	$8, %rbx
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	%r15d, %eax
	jge	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	___skb_checksum_complete
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_skb_copy_datagram_iovec
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_14
LBB0_7:
	movl	20(%r12), %edx
	movl	24(%r12), %edi
	movl	%r13d, %esi
	callq	_csum_partial
	movl	%eax, -44(%rbp)
	movl	4(%rbx), %edx
	leaq	-44(%rbp), %r8
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %ecx
	callq	_skb_copy_and_csum_datagram
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movl	-44(%rbp), %edi
	callq	_csum_fold
	testq	%rax, %rax
	je	LBB0_9
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	8(%r12), %rax
	movq	_CHECKSUM_COMPLETE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	16(%r12), %edi
	callq	_netdev_rx_csum_fault
LBB0_11:
	subl	%r15d, (%rbx)
	addl	%r15d, 4(%rbx)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_COMPLETE,8,3          ## @CHECKSUM_COMPLETE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_copy_and_csum_datagram_iovec ; -- Begin function skb_copy_and_csum_datagram_iovec
	.p2align	2
_skb_copy_and_csum_datagram_iovec:      ; @skb_copy_and_csum_datagram_iovec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	subs	w19, w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	mov	x22, x1
	mov	x21, x0
	sub	x20, x2, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #8]!
	cbz	w8, LBB0_3
; %bb.4:
	cmp	w8, w19
	b.ge	LBB0_7
; %bb.5:
	mov	x0, x21
	bl	___skb_checksum_complete
	cbnz	x0, LBB0_10
; %bb.6:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_skb_copy_datagram_iovec
	cbnz	x0, LBB0_8
	b	LBB0_12
LBB0_7:
	ldp	w2, w0, [x21, #20]
	mov	x1, x22
	bl	_csum_partial
	str	w0, [sp, #12]
	ldr	w2, [x20, #4]
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	bl	_skb_copy_and_csum_datagram
	cbz	x0, LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	ldr	w0, [sp, #12]
	bl	_csum_fold
	cbz	x0, LBB0_13
LBB0_10:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_13:
	ldr	x8, [x21, #8]
Lloh4:
	adrp	x9, _CHECKSUM_COMPLETE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CHECKSUM_COMPLETE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w0, [x21, #16]
	bl	_netdev_rx_csum_fault
LBB0_15:
	mov	w0, #0
	ldp	w8, w9, [x20]
	sub	w8, w8, w19
	add	w9, w9, w19
	stp	w8, w9, [x20]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_COMPLETE,8,3          ; @CHECKSUM_COMPLETE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
