	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_fstat64                    ## -- Begin function sys_fstat64
	.p2align	4, 0x90
_sys_fstat64:                           ## @sys_fstat64
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_STRACE
	movl	%ebx, %edi
	callq	_f_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$0, -24(%rbp)
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	*(%rcx)
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movl	-24(%rbp), %edi
	callq	_stat_convert_newstat64
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_user_put
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	__EBADF@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fstat64(%d, 0x%x)"

	.comm	__EBADF,4,2                     ## @_EBADF
	.comm	__EFAULT,4,2                    ## @_EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_fstat64                    ; -- Begin function sys_fstat64
	.p2align	2
_sys_fstat64:                           ; @sys_fstat64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_STRACE
	mov	x0, x20
	bl	_f_get
	cbz	x0, LBB0_3
; %bb.1:
	str	wzr, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x1, sp, #8
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_stat_convert_newstat64
	mov	w1, w0
	mov	x0, x19
	bl	_user_put
Lloh2:
	adrp	x8, __EFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, __EBADF@GOTPAGE
Lloh6:
	ldr	x8, [x8, __EBADF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fstat64(%d, 0x%x)"

	.comm	__EBADF,4,2                     ; @_EBADF
	.comm	__EFAULT,4,2                    ; @_EFAULT
.subsections_via_symbols
