	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_buf_read_netobj            ## -- Begin function xdr_buf_read_netobj
	.p2align	4, 0x90
_xdr_buf_read_netobj:                   ## @xdr_buf_read_netobj
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%edx, %esi
	movq	%r14, %rdx
	callq	_xdr_decode_word
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	addl	$4, %ebx
	movq	(%r14), %rcx
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_xdr_buf_subsegment
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_EFAULT@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-40(%rbp), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%r14)
	movq	(%r14), %rdx
	xorl	%ebx, %ebx
	cmpq	%rdx, 8(%rax)
	je	LBB0_11
## %bb.5:
	movq	-32(%rbp), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%r14)
	cmpq	%rdx, 8(%rax)
	je	LBB0_11
## %bb.6:
	movq	(%r15), %rax
	subq	8(%r15), %rax
	cmpq	%rax, %rdx
	jle	LBB0_8
## %bb.7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	24(%r15), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	jne	LBB0_10
## %bb.9:
	movq	16(%r15), %rax
	movq	(%rax), %rsi
	addq	$8, %rax
LBB0_10:
	addq	(%rax), %rsi
	movq	%rsi, 8(%r14)
	leaq	-56(%rbp), %rdi
	callq	___read_bytes_from_xdr_buf
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_buf_read_netobj            ; -- Begin function xdr_buf_read_netobj
	.p2align	2
_xdr_buf_read_netobj:                   ; @xdr_buf_read_netobj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x1, x2
	mov	x2, x19
	bl	_xdr_decode_word
	cbnz	x0, LBB0_2
; %bb.1:
	add	w2, w21, #4
	ldr	x3, [x19]
	mov	x1, sp
	mov	x0, x20
	bl	_xdr_buf_subsegment
	cbz	x0, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	x8, [sp, #16]
	ldr	x9, [x8]
	str	x9, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	x2, [x19]
	cmp	x8, x2
	b.eq	LBB0_12
; %bb.6:
	ldr	x8, [sp, #24]
	ldr	x9, [x8]
	str	x9, [x19, #8]
	ldr	x8, [x8, #8]
	cmp	x8, x2
	b.eq	LBB0_12
; %bb.7:
	ldp	x8, x9, [x20]
	sub	x8, x8, x9
	cmp	x2, x8
	b.le	LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
LBB0_9:
	ldr	x8, [x20, #24]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_11
; %bb.10:
	ldr	x8, [x20, #16]
	ldr	x9, [x8], #8
LBB0_11:
	ldr	x8, [x8]
	add	x1, x8, x9
	str	x1, [x19, #8]
	mov	x0, sp
	bl	___read_bytes_from_xdr_buf
LBB0_12:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
