	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_generic_getfrag             ## -- Begin function ip_generic_getfrag
	.p2align	4, 0x90
_ip_generic_getfrag:                    ## @ip_generic_getfrag
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %rsi
	movq	(%r9), %rdi
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	jne	LBB0_3
## %bb.1:
	movq	%rax, %rdi
	callq	_memcpy_fromiovecend
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jns	LBB0_5
	jmp	LBB0_2
LBB0_3:
	movq	%r9, %r15
	movl	%r8d, %r14d
	movl	$0, -28(%rbp)
	leaq	-28(%rbp), %r8
	movq	%rax, %rdi
	callq	_csum_partial_copy_fromiovecend
	testq	%rax, %rax
	js	LBB0_2
## %bb.4:
	movl	8(%r15), %edi
	movl	-28(%rbp), %esi
	movl	%r14d, %edx
	callq	_csum_block_add
	movl	%eax, 8(%r15)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_generic_getfrag             ; -- Begin function ip_generic_getfrag
	.p2align	2
_ip_generic_getfrag:                    ; @ip_generic_getfrag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x1
	mov	x1, x0
	ldr	x9, [x5]
Lloh0:
	adrp	x10, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x8
	bl	_memcpy_fromiovecend
	tbnz	x0, #63, LBB0_5
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	x19, x5
	mov	x20, x4
	str	wzr, [sp, #12]
	add	x4, sp, #12
	mov	x0, x8
	bl	_csum_partial_copy_fromiovecend
	tbnz	x0, #63, LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	ldr	w1, [sp, #12]
	mov	x2, x20
	bl	_csum_block_add
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
