	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dos_stat
_dos_stat:                              ## @dos_stat
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rsi
	movq	_FA_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	movl	$365, %edx                      ## imm = 0x16D
	orl	(%rcx), %edx
	movq	_S_IFREG@GOTPCREL(%rip), %rcx
	movl	$292, %edi                      ## imm = 0x124
	orl	(%rcx), %edi
	testl	%eax, %eax
	cmovnel	%edx, %edi
	movl	%edi, (%rbx)
	movl	$1, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movl	4(%rsi), %edi
	callq	_fsize
	movl	%eax, %ecx
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FA_DIR,4,2                     ## @FA_DIR
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dos_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dos_stat
_dos_stat:                              ; @dos_stat
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x1, [x0]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _FA_DIR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FA_DIR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _S_IFDIR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _S_IFDIR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	mov	w11, #365
Lloh6:
	adrp	x12, _S_IFREG@GOTPAGE
Lloh7:
	ldr	x12, [x12, _S_IFREG@GOTPAGEOFF]
	orr	w10, w10, w11
Lloh8:
	ldr	w11, [x12]
	mov	w12, #292
	orr	w11, w11, w12
	tst	w9, w8
	csel	w8, w11, w10, eq
	mov	w9, #1
	stp	w8, w9, [x19]
	stp	xzr, xzr, [x19, #16]
	ldr	w0, [x1, #4]
	bl	_fsize
	str	w0, [x19, #8]
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, #1
	csel	w0, w8, wzr, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FA_DIR,4,2                     ; @FA_DIR
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dos_stat
.subsections_via_symbols
