	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p9stat_read                    ## -- Begin function p9stat_read
	.p2align	4, 0x90
_p9stat_read:                           ## @p9stat_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rax
	movl	%esi, -32(%rbp)
	movl	%esi, -28(%rbp)
	movq	%rdi, -24(%rbp)
	movq	$0, -16(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-32(%rbp), %rdi
	movl	%ecx, %esi
	movq	%rax, %rcx
	callq	_p9pdu_readf
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_P9_DEBUG_9P@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_P9_DPRINTK
	leaq	-32(%rbp), %rsi
	movl	$1, %edi
	callq	_p9pdu_dump
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"S"

	.comm	_P9_DEBUG_9P,4,2                ## @P9_DEBUG_9P
L_.str.1:                               ## @.str.1
	.asciz	"<<< p9stat_read failed: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p9stat_read                    ; -- Begin function p9stat_read
	.p2align	2
_p9stat_read:                           ; @p9stat_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x8, x2
	stp	w1, w1, [sp, #8]
	stp	x0, xzr, [sp, #16]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x1, x3
	mov	x3, x8
	bl	_p9pdu_readf
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _P9_DEBUG_9P@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P9_DEBUG_9P@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_P9_DPRINTK
	add	x1, sp, #8
	mov	w0, #1
	bl	_p9pdu_dump
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"S"

	.comm	_P9_DEBUG_9P,4,2                ; @P9_DEBUG_9P
l_.str.1:                               ; @.str.1
	.asciz	"<<< p9stat_read failed: %d\n"

.subsections_via_symbols
