	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_stat
_io_stat:                               ## @io_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_mrb_intern_lit
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_respond_to
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	callq	_mrb_funcall
	movl	%eax, %edi
	callq	_mrb_fixnum
	leaq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_sys_fail
LBB0_3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_class_get
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mrb_class_get_under
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_mrb_stat_alloc
	movl	-24(%rbp), %ecx
	movl	%ecx, (%rax)
	movq	_mrb_stat_type@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rcx
	callq	_Data_Wrap_Struct
	movl	%eax, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mrb_obj_value                  ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	callq	_io_stat.cold.1
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function io_stat.cold.1
_io_stat.cold.1:                        ## @io_stat.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_E_NOTIMP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_mrb_raise
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fileno"

	.comm	_E_NOTIMP_ERROR,4,2             ## @E_NOTIMP_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"`fileno' is not implemented"

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

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

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_stat
_io_stat:                               ; @io_stat
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_respond_to
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_mrb_funcall
	bl	_mrb_fixnum
	add	x1, sp, #8
	bl	_fstat
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mrb_sys_fail
LBB0_3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mrb_class_get
	mov	x1, x0
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	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]
Lloh10:
	adrp	x2, _mrb_stat_type@GOTPAGE
Lloh11:
	ldr	x2, [x2, _mrb_stat_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_Data_Wrap_Struct
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_mrb_obj_value
LBB0_4:
	mov	x0, x19
	bl	_io_stat.cold.1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function io_stat.cold.1
_io_stat.cold.1:                        ; @io_stat.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh12:
	adrp	x8, _E_NOTIMP_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E_NOTIMP_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mrb_raise
	brk	#0x1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fileno"

	.comm	_E_NOTIMP_ERROR,4,2             ; @E_NOTIMP_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"`fileno' is not implemented"

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

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

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

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