	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_init_encode                ## -- Begin function xdr_init_encode
	.p2align	4, 0x90
_xdr_init_encode:                       ## @xdr_init_encode
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	24(%rsi), %r12
	movl	(%rsi), %ebx
	movl	4(%rsi), %eax
	movq	16(%rsi), %rcx
	addl	(%rcx), %eax
	subl	%eax, %ebx
	movl	%ebx, %edi
	shrl	$31, %edi
	callq	_BUG_ON
	movq	%r15, 24(%r13)
	movq	%r12, 16(%r13)
	movq	8(%r12), %rax
	movslq	(%r12), %rcx
	movq	%rcx, %rdx
	addq	%rax, %rdx
	movq	%rdx, (%r13)
	movslq	%ebx, %rdx
	addq	%rdx, %rax
	movq	%rax, 8(%r13)
	xorl	%edi, %edi
	cmpl	%edx, %ecx
	setg	%dil
	callq	_BUG_ON
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	cmpq	%r14, (%r13)
	je	LBB0_5
## %bb.2:
	movl	$1, %edi
	ja	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	%r14, 8(%r13)
	setb	%dil
LBB0_4:
	callq	_BUG_ON
	movq	%r14, %rax
	subq	(%r13), %rax
	movq	%r14, (%r13)
	addq	%rax, 8(%r15)
	addl	%eax, (%r12)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_init_encode                ; -- Begin function xdr_init_encode
	.p2align	2
_xdr_init_encode:                       ; @xdr_init_encode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldp	w8, w9, [x1]
	ldp	x10, x22, [x1, #16]
	ldr	w10, [x10]
	add	w9, w9, w10
	sub	w23, w8, w9
	lsr	w0, w23, #31
	bl	_BUG_ON
	stp	x22, x19, [x21, #16]
	ldr	x8, [x22, #8]
	ldrsw	x9, [x22]
	add	x10, x8, x9
	add	x8, x8, w23, sxtw
	stp	x10, x8, [x21]
	cmp	w9, w23
	cset	w0, gt
	bl	_BUG_ON
	cbz	x20, LBB0_6
; %bb.1:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_6
; %bb.2:
	b.ls	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	ldr	x8, [x21, #8]
	cmp	x8, x20
	cset	w0, lo
LBB0_5:
	bl	_BUG_ON
	ldr	x8, [x21]
	str	x20, [x21]
	ldr	x9, [x19, #8]
	sub	x8, x20, x8
	add	x9, x9, x8
	str	x9, [x19, #8]
	ldr	w9, [x22]
	add	w8, w9, w8
	str	w8, [x22]
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
