	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_s_lstat
_file_s_lstat:                          ## @file_s_lstat
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	callq	_mrb_get_args
	movl	-36(%rbp), %esi
	movq	_MRB_TT_STRING@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	movq	%r15, %rdi
	callq	_mrb_check_convert_type
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mrb_nil_p
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-36(%rbp), %esi
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	movq	%r15, %rdi
	callq	_mrb_convert_type
	movl	%eax, %ebx
LBB0_2:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mrb_str_to_cstr
	movq	%rax, %rbx
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_LSTAT
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mrb_sys_fail
LBB0_4:
	movl	%r14d, %edi
	callq	_mrb_class_ptr
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_mrb_class_get_under
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_mrb_stat_alloc
	movl	-40(%rbp), %ecx
	movl	%ecx, (%rax)
	movq	_mrb_stat_type@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rcx
	callq	_Data_Wrap_Struct
	movl	%eax, %edi
	callq	_mrb_obj_value
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o"

	.comm	_MRB_TT_STRING,4,2              ## @MRB_TT_STRING
L_.str.1:                               ## @.str.1
	.asciz	"String"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"Stat"

	.comm	_mrb_stat_type,4,2              ## @mrb_stat_type
	.no_dead_strip	_file_s_lstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_s_lstat
_file_s_lstat:                          ; @file_s_lstat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	bl	_mrb_get_args
	ldr	w1, [sp, #4]
Lloh2:
	adrp	x22, _MRB_TT_STRING@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MRB_TT_STRING@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh6:
	adrp	x4, l_.str.2@PAGE
Lloh7:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mrb_check_convert_type
	mov	x21, x0
	bl	_mrb_nil_p
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [sp, #4]
	ldr	w2, [x22]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh10:
	adrp	x4, l_.str.3@PAGE
Lloh11:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mrb_convert_type
	mov	x21, x0
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_str_to_cstr
	mov	x21, x0
	add	x1, sp, #8
	bl	_LSTAT
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_sys_fail
LBB0_4:
	mov	x0, x20
	bl	_mrb_class_ptr
	mov	x1, x0
Lloh12:
	adrp	x2, l_.str.4@PAGE
Lloh13:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mrb_class_get_under
	mov	x20, x0
	mov	x0, x19
	bl	_mrb_stat_alloc
	mov	x3, x0
	ldr	w8, [sp, #8]
	str	w8, [x0]
Lloh14:
	adrp	x2, _mrb_stat_type@GOTPAGE
Lloh15:
	ldr	x2, [x2, _mrb_stat_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_Data_Wrap_Struct
	bl	_mrb_obj_value
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o"

	.comm	_MRB_TT_STRING,4,2              ; @MRB_TT_STRING
l_.str.1:                               ; @.str.1
	.asciz	"String"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"Stat"

	.comm	_mrb_stat_type,4,2              ; @mrb_stat_type
	.no_dead_strip	_file_s_lstat
.subsections_via_symbols
