	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfs_filestat                   ## -- Begin function nfs_filestat
	.p2align	4, 0x90
_nfs_filestat:                          ## @nfs_filestat
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_VTONFS
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$24, %ecx
	callq	_kvm_read_all
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-36(%rbp), %eax
	movl	%eax, 16(%r14)
	movl	-40(%rbp), %eax
	movl	%eax, 12(%r14)
	movl	-32(%rbp), %eax
	movl	%eax, 8(%r14)
	movq	-48(%rbp), %rax
	movl	(%r15), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_12
## %bb.3:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	_S_IFSOCK@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_1:
	movq	%r15, %rdi
	callq	_VTONFS
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_warnx
	movl	$1, %eax
	jmp	LBB0_13
LBB0_4:
	movq	_S_IFREG@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_8:
	movq	_S_IFLNK@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_10:
	movq	_S_IFIFO@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_5:
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_7:
	movq	_S_IFCHR@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_6:
	movq	_S_IFBLK@GOTPCREL(%rip), %rcx
LBB0_11:
	orq	(%rcx), %rax
LBB0_12:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't read nfsnode at %p"

	.comm	_S_IFREG,8,3                    ## @S_IFREG
	.comm	_S_IFDIR,8,3                    ## @S_IFDIR
	.comm	_S_IFBLK,8,3                    ## @S_IFBLK
	.comm	_S_IFCHR,8,3                    ## @S_IFCHR
	.comm	_S_IFLNK,8,3                    ## @S_IFLNK
	.comm	_S_IFSOCK,8,3                   ## @S_IFSOCK
	.comm	_S_IFIFO,8,3                    ## @S_IFIFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfs_filestat                   ; -- Begin function nfs_filestat
	.p2align	2
_nfs_filestat:                          ; @nfs_filestat
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_VTONFS
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w3, #24
	bl	_kvm_read_all
	cbz	w0, LBB0_4
; %bb.1:
	ldr	d0, [sp, #16]
	stur	d0, [x19, #12]
	ldr	w8, [sp, #24]
	str	w8, [x19, #8]
	ldr	x8, [sp, #8]
	ldr	w9, [x20]
	sub	w9, w9, #128
	cmp	w9, #6
	b.hi	LBB0_12
; %bb.2:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh2:
	adrp	x9, _S_IFSOCK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _S_IFSOCK@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
	mov	x0, x20
	bl	_VTONFS
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	mov	w0, #1
	b	LBB0_13
LBB0_5:
Lloh6:
	adrp	x9, _S_IFREG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_IFREG@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh8:
	adrp	x9, _S_IFLNK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S_IFLNK@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh10:
	adrp	x9, _S_IFIFO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _S_IFIFO@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh12:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh14:
	adrp	x9, _S_IFCHR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _S_IFCHR@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh16:
	adrp	x9, _S_IFBLK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _S_IFBLK@GOTPAGEOFF]
LBB0_11:
	ldr	x9, [x9]
	orr	x8, x9, x8
LBB0_12:
	mov	w0, #0
	str	x8, [x19]
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't read nfsnode at %p"

	.comm	_S_IFREG,8,3                    ; @S_IFREG
	.comm	_S_IFDIR,8,3                    ; @S_IFDIR
	.comm	_S_IFBLK,8,3                    ; @S_IFBLK
	.comm	_S_IFCHR,8,3                    ; @S_IFCHR
	.comm	_S_IFLNK,8,3                    ; @S_IFLNK
	.comm	_S_IFSOCK,8,3                   ; @S_IFSOCK
	.comm	_S_IFIFO,8,3                    ; @S_IFIFO
.subsections_via_symbols
