	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_fhandle
_fetch_fhandle:                         ## @fetch_fhandle
	.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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	%rsi, -40(%rbp)
	movl	$20, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_plog
	movq	_MOUNTPROC_MNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_dirpath@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rcx
	movq	_xdr_fhstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %r9
	movups	-56(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_clnt_call
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movl	-32(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movl	(%rbx), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_clnt_sperrno
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_plog
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	leaq	-28(%rbp), %rsi
	movq	_NFS_FHSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memmove
	xorl	%eax, %eax
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fetching fhandle for %s"

	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"fetch_fhandle: NFS version %d"

	.comm	_MOUNTPROC_MNT,4,2              ## @MOUNTPROC_MNT
	.comm	_xdr_dirpath,8,3                ## @xdr_dirpath
	.comm	_xdr_fhstatus,8,3               ## @xdr_fhstatus
	.comm	_RPC_SUCCESS,4,2                ## @RPC_SUCCESS
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"mountd rpc failed: %s"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"fhandle fetch for mount version 1 failed: %m"

	.comm	_NFS_FHSIZE,4,2                 ## @NFS_FHSIZE
	.comm	_NFS_VERSION3,8,3               ## @NFS_VERSION3
	.comm	_NFS_VERSION4,8,3               ## @NFS_VERSION4
	.comm	_xdr_am_mountres3,8,3           ## @xdr_am_mountres3
	.no_dead_strip	_fetch_fhandle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_fhandle
_fetch_fhandle:                         ; @fetch_fhandle
	.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	x20, x3
	mov	x19, x2
	mov	x21, x0
	str	x1, [sp, #24]
	str	x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlog
Lloh2:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_plog
Lloh7:
	adrp	x8, _MOUNTPROC_MNT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MOUNTPROC_MNT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _xdr_dirpath@GOTPAGE
Lloh11:
	ldr	x8, [x8, _xdr_dirpath@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _xdr_fhstatus@GOTPAGE
Lloh14:
	ldr	x8, [x8, _xdr_fhstatus@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	add	x3, sp, #24
	add	x5, sp, #16
	mov	x0, x21
	mov	w6, #20
	mov	x7, #0
	bl	_clnt_call
Lloh16:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_4
; %bb.2:
Lloh19:
	adrp	x19, _errno@GOTPAGE
Lloh20:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	str	w8, [x19]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dlog
	ldr	w0, [x19]
	b	LBB0_5
LBB0_3:
Lloh23:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
	bl	_clnt_sperrno
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_plog
Lloh28:
	adrp	x8, _EIO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	add	x8, sp, #16
	orr	x1, x8, #0x4
Lloh31:
	adrp	x8, _NFS_FHSIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NFS_FHSIZE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_memmove
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fetching fhandle for %s"

	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"fetch_fhandle: NFS version %d"

	.comm	_MOUNTPROC_MNT,4,2              ; @MOUNTPROC_MNT
	.comm	_xdr_dirpath,8,3                ; @xdr_dirpath
	.comm	_xdr_fhstatus,8,3               ; @xdr_fhstatus
	.comm	_RPC_SUCCESS,4,2                ; @RPC_SUCCESS
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"mountd rpc failed: %s"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"fhandle fetch for mount version 1 failed: %m"

	.comm	_NFS_FHSIZE,4,2                 ; @NFS_FHSIZE
	.comm	_NFS_VERSION3,8,3               ; @NFS_VERSION3
	.comm	_NFS_VERSION4,8,3               ; @NFS_VERSION4
	.comm	_xdr_am_mountres3,8,3           ; @xdr_am_mountres3
	.no_dead_strip	_fetch_fhandle
.subsections_via_symbols
