	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stat_ftype
_stat_ftype:                            ## @stat_ftype
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_get_stat
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_5
LBB0_2:
	movl	(%rbx), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rax, %rbx
LBB0_5:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mrb_str_new_static             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

L_.str.1:                               ## @.str.1
	.asciz	"directory"

L_.str.2:                               ## @.str.2
	.asciz	"characterSpecial"

L_.str.3:                               ## @.str.3
	.asciz	"unknown"

	.no_dead_strip	_stat_ftype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stat_ftype
_stat_ftype:                            ; @stat_ftype
	.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, x0
	bl	_get_stat
	mov	x20, x0
	ldr	w0, [x0]
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:
	ldr	w0, [x20]
	bl	_S_ISDIR
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w0, [x20]
	bl	_S_ISCHR
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh6:
	adrp	x9, l_.str.3@PAGE
Lloh7:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x20, x9, x8, eq
LBB0_5:
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mrb_str_new_static
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

l_.str.1:                               ; @.str.1
	.asciz	"directory"

l_.str.2:                               ; @.str.2
	.asciz	"characterSpecial"

l_.str.3:                               ; @.str.3
	.asciz	"unknown"

	.no_dead_strip	_stat_ftype
.subsections_via_symbols
