	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_sce_init
_mrb_sce_init:                          ## @mrb_sce_init
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	callq	_mrb_get_args
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	movl	-68(%rbp), %edi
	callq	_mrb_type
	movq	_MRB_TT_FIXNUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movl	-68(%rbp), %edi
	callq	_mrb_fixnum
	movq	%rax, -80(%rbp)
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movl	%eax, -68(%rbp)
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_module_get
	movl	%eax, %edi
	callq	_mrb_obj_value
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_intern_lit
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mrb_const_get
	movl	%eax, %r15d
	movq	-80(%rbp), %rdi
	callq	_mrb_fixnum_value
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_mrb_hash_fetch
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mrb_nil_p
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_intern_lit
	movl	%eax, %ebx
	movq	-80(%rbp), %rdi
	callq	_mrb_fixnum_value
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_mrb_iv_set
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_str_new_cstr
	movl	%eax, %r15d
	movl	-80(%rbp), %ecx
	leaq	L_.str.5(%rip), %rdx
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_snprintf
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_mrb_str_cat2
	jmp	LBB0_8
LBB0_4:
	movl	%ebx, %edi
	callq	_mrb_class_ptr
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_mrb_basic_ptr
	movl	%ebx, (%rax)
	movq	-80(%rbp), %rdi
	callq	_strerror
	movq	%r12, %rdi
	movq	%rax, %rsi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
LBB0_7:
	callq	_mrb_str_new_cstr
	movl	%eax, %r15d
LBB0_8:
	movl	-68(%rbp), %edi
	callq	_mrb_nil_p
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.7(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mrb_str_cat2
	movl	-68(%rbp), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mrb_str_append
LBB0_10:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_intern_lit
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_mrb_iv_set
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o|i"

	.comm	_MRB_TT_FIXNUM,8,3              ## @MRB_TT_FIXNUM
L_.str.1:                               ## @.str.1
	.asciz	"Errno"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"Unknown error: "

L_.str.5:                               ## @.str.5
	.asciz	"%d"

L_.str.6:                               ## @.str.6
	.asciz	"unknown error"

L_.str.7:                               ## @.str.7
	.asciz	" - "

L_.str.8:                               ## @.str.8
	.asciz	"mesg"

	.no_dead_strip	_mrb_sce_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_sce_init
_mrb_sce_init:                          ; @mrb_sce_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_mrb_get_args
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [sp, #16]
	bl	_mrb_type
Lloh5:
	adrp	x8, _MRB_TT_FIXNUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MRB_TT_FIXNUM@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [sp, #16]
	bl	_mrb_fixnum
	str	x0, [sp, #8]
	bl	_mrb_nil_value
	str	w0, [sp, #16]
LBB0_3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mrb_module_get
	bl	_mrb_obj_value
	mov	x21, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_const_get
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_mrb_fixnum_value
	mov	x22, x0
	bl	_mrb_nil_value
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_mrb_hash_fetch
	mov	x21, x0
	bl	_mrb_nil_p
	cbz	w0, LBB0_5
; %bb.4:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_mrb_fixnum_value
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_mrb_iv_set
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_mrb_str_new_cstr
	mov	x21, x0
	ldr	w3, [sp, #8]
Lloh16:
	adrp	x2, l_.str.5@PAGE
Lloh17:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x0, sp, #20
	mov	w1, #20
	bl	_snprintf
	add	x2, sp, #20
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_str_cat2
	b	LBB0_8
LBB0_5:
	mov	x0, x21
	bl	_mrb_class_ptr
	mov	x21, x0
	mov	x0, x19
	bl	_mrb_basic_ptr
	str	w21, [x0]
	ldr	x0, [sp, #8]
	bl	_strerror
	mov	x1, x0
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_mrb_str_new_cstr
	mov	x21, x0
LBB0_8:
	ldr	w0, [sp, #16]
	bl	_mrb_nil_p
	cbnz	w0, LBB0_10
; %bb.9:
Lloh20:
	adrp	x2, l_.str.7@PAGE
Lloh21:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_str_cat2
	ldr	w2, [sp, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_str_append
LBB0_10:
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_mrb_iv_set
	ldr	x8, [sp, #40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o|i"

	.comm	_MRB_TT_FIXNUM,8,3              ; @MRB_TT_FIXNUM
l_.str.1:                               ; @.str.1
	.asciz	"Errno"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"Unknown error: "

l_.str.5:                               ; @.str.5
	.asciz	"%d"

l_.str.6:                               ; @.str.6
	.asciz	"unknown error"

l_.str.7:                               ; @.str.7
	.asciz	" - "

l_.str.8:                               ; @.str.8
	.asciz	"mesg"

	.no_dead_strip	_mrb_sce_init
.subsections_via_symbols
