	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_encode_pages               ## -- Begin function xdr_encode_pages
	.p2align	4, 0x90
_xdr_encode_pages:                      ## @xdr_encode_pages
	.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
	movl	%ecx, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	32(%rdi), %r15
	movq	%rsi, 24(%rdi)
	movl	%edx, (%rdi)
	movl	%ecx, 4(%rdi)
	movq	8(%rax), %r12
	movl	(%rax), %edi
	callq	_XDR_QUADLEN
	cltq
	addq	%r12, %rax
	movq	%rax, (%r15)
	movl	$0, 8(%r15)
	movl	%r14d, %ecx
	andl	$3, %ecx
	je	LBB0_2
## %bb.1:
	movl	$4, %edx
	subl	%ecx, %edx
	movb	$0, (%rax)
	movl	%ecx, %ecx
	addq	%rax, %rcx
	movq	%rcx, (%r15)
	movl	%edx, 8(%r15)
	addl	%edx, %r14d
LBB0_2:
	addl	%r14d, 8(%rbx)
	addl	%r14d, 12(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_encode_pages               ; -- Begin function xdr_encode_pages
	.p2align	2
_xdr_encode_pages:                      ; @xdr_encode_pages
	.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, x3
	mov	x20, x0
	ldr	x21, [x0, #32]
	str	x1, [x0, #24]
	stp	w2, w3, [x0]
	ldr	x8, [x0, #16]
	ldr	x22, [x8, #8]
	ldr	w0, [x8]
	bl	_XDR_QUADLEN
	add	x8, x22, w0, sxtw
	str	x8, [x21]
	str	wzr, [x21, #8]
	ands	w9, w19, #0x3
	b.eq	LBB0_2
; %bb.1:
	mov	w10, #4
	strb	wzr, [x8]
	add	x8, x8, w9, uxtw
	str	x8, [x21]
	sub	w8, w10, w9
	add	w19, w8, w19
	str	w8, [x21, #8]
LBB0_2:
	ldr	d0, [x20, #8]
	dup.2s	v1, w19
	add.2s	v0, v0, v1
	str	d0, [x20, #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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
