	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_partial_copy_from_skb      ## -- Begin function xdr_partial_copy_from_skb
	.p2align	4, 0x90
_xdr_partial_copy_from_skb:             ## @xdr_partial_copy_from_skb
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	32(%rdi), %r12
	movl	(%rdi), %r13d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rax
	movl	(%rax), %esi
	movl	%esi, %ebx
	subl	%r14d, %ebx
	jbe	LBB0_3
## %bb.1:
	movl	%r14d, %esi
	addq	8(%rax), %rsi
	movq	%rdx, %rdi
	movq	%rdx, %r15
	movl	%ebx, %edx
	movq	%rcx, %r14
	callq	*%rcx
	movq	%rax, %rdx
	cmpq	%rbx, %rax
	jne	LBB0_22
## %bb.2:
	movq	%r14, %rbx
	xorl	%r14d, %r14d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r15)
	jne	LBB0_4
	jmp	LBB0_22
LBB0_3:
	movq	%rcx, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	subl	%esi, %r14d
	xorl	%edx, %edx
LBB0_4:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.5:
	movl	%r14d, %r15d
	jmp	LBB0_19
LBB0_6:
	xorl	%edi, %edi
	movl	%r14d, %r15d
	subl	%r13d, %r15d
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
LBB0_19:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edx
	subl	%r15d, %edx
	jbe	LBB0_20
## %bb.21:
	movl	%r15d, %esi
	addq	8(%rax), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	%rax, %rdx
	jmp	LBB0_22
LBB0_20:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_22:
	movq	%rdx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.8:
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	subl	%r14d, %r13d
	addl	%r14d, %eax
	movq	_PAGE_CACHE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%rax, %rdx
	shrq	%cl, %rdx
	leaq	(%r12,%rdx,8), %r12
	movq	_PAGE_CACHE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	notl	%r15d
	andl	%eax, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_page
	movq	%rax, (%r12)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_PAGE_CACHE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r12), %rdi
	movq	_KM_SKB_SUNRPC_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmap_atomic
	movq	%rax, %r14
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	subl	%r15d, %ebx
	cmpl	%ebx, %r13d
	cmovbl	%r13d, %ebx
	movl	%r15d, %eax
	movq	%r14, %rsi
	addq	%rax, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%ebx, %r13d
	cmovbl	%r13d, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %edx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movq	%rax, %r15
	movq	(%r12), %rdi
	callq	_flush_dcache_page
	movq	_KM_SKB_SUNRPC_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kunmap_atomic
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	%r15, %rdx
	movl	%ebx, %eax
	cmpq	%rax, %r15
	jne	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %r12
	xorl	%r15d, %r15d
	subl	%ebx, %r13d
	jne	LBB0_10
	jmp	LBB0_19
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subq	(%rax), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	cmoveq	%rcx, %rdx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_CACHE_SHIFT,4,2           ## @PAGE_CACHE_SHIFT
	.comm	_PAGE_CACHE_MASK,4,2            ## @PAGE_CACHE_MASK
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_PAGE_CACHE_SIZE,4,2            ## @PAGE_CACHE_SIZE
	.comm	_KM_SKB_SUNRPC_DATA,4,2         ## @KM_SKB_SUNRPC_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_partial_copy_from_skb      ; -- Begin function xdr_partial_copy_from_skb
	.p2align	2
_xdr_partial_copy_from_skb:             ; @xdr_partial_copy_from_skb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	ldr	w26, [x0]
	ldp	x8, x27, [x0, #24]
	ldr	w9, [x8]
	subs	w23, w9, w1
	b.ls	LBB0_4
; %bb.1:
	ldr	x8, [x8, #8]
	add	x1, x8, w1, uxtw
	mov	x0, x21
	mov	x2, x23
	blr	x20
	mov	x19, x0
	cmp	x0, x23
	b.ne	LBB0_10
; %bb.2:
	ldr	w8, [x21]
	cbz	w8, LBB0_10
; %bb.3:
	mov	w24, #0
	b	LBB0_5
LBB0_4:
	mov	x19, #0
	sub	w24, w1, w9
LBB0_5:
	cmp	w26, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_8
; %bb.6:
	subs	w23, w24, w26
	cset	w0, hs
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.7:
	mov	x24, x23
LBB0_8:
	ldr	x8, [x22, #8]
	ldr	w9, [x8]
	subs	w2, w9, w24
	b.ls	LBB0_10
; %bb.9:
	ldr	x8, [x8, #8]
	add	x1, x8, w24, uxtw
	mov	x0, x21
	blr	x20
	add	x19, x0, x19
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x22, #16]
	cmp	w24, #0
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_13
; %bb.12:
	sub	w26, w26, w24
Lloh0:
	adrp	x9, _PAGE_CACHE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_CACHE_SHIFT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _PAGE_CACHE_MASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PAGE_CACHE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	add	w8, w24, w8
	bic	w25, w8, w10
	lsr	x8, x8, x9
	add	x27, x27, x8, lsl #3
	b	LBB0_14
LBB0_13:
	mov	w25, #0
LBB0_14:
Lloh6:
	adrp	x28, _KM_SKB_SUNRPC_DATA@GOTPAGE
Lloh7:
	ldr	x28, [x28, _KM_SKB_SUNRPC_DATA@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_alloc_page
	str	x0, [x27]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh11:
	adrp	x8, _PAGE_CACHE_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PAGE_CACHE_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	ldr	x0, [x27]
	ldr	w1, [x28]
	bl	_kmap_atomic
	mov	x24, x0
	cbz	w25, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	w8, w23, w25
	cmp	w26, w8
	csel	w23, w26, w8, lo
	add	x1, x24, w25, uxtw
	mov	x0, x21
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	w26, w23
	csel	w23, w26, w23, lo
	mov	x0, x21
	mov	x1, x24
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x2, x23
	blr	x20
	mov	x25, x0
	ldr	x0, [x27]
	bl	_flush_dcache_page
	ldr	w1, [x28]
	mov	x0, x24
	bl	_kunmap_atomic
	add	x19, x25, x19
	cmp	x25, w23, uxtw
	b.ne	LBB0_10
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x21]
	cbz	w8, LBB0_10
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w25, #0
	mov	w24, #0
	add	x27, x27, #8
	subs	w26, w26, w23
	b.ne	LBB0_15
	b	LBB0_8
LBB0_23:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x19, #0
	csneg	x19, x19, x8, ne
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_CACHE_SHIFT,4,2           ; @PAGE_CACHE_SHIFT
	.comm	_PAGE_CACHE_MASK,4,2            ; @PAGE_CACHE_MASK
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_PAGE_CACHE_SIZE,4,2            ; @PAGE_CACHE_SIZE
	.comm	_KM_SKB_SUNRPC_DATA,4,2         ; @KM_SKB_SUNRPC_DATA
.subsections_via_symbols
