	.file	"extr_errno.c_mrb_sce_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"o|i"
.LC1:
	.string	"unknown error"
.LC2:
	.string	"Errno2class"
.LC3:
	.string	"Errno"
.LC4:
	.string	"errno"
.LC5:
	.string	"Unknown error: "
.LC6:
	.string	"%d"
.LC7:
	.string	" - "
.LC8:
	.string	"mesg"
	.text
	.p2align 4
	.type	mrb_sce_init, @function
mrb_sce_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rcx, 8[rsp]
	lea	rdx, 4[rsp]
	call	mrb_get_args@PLT
	cmp	eax, 1
	je	.L10
.L2:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	mrb_intern_lit@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	r13d, eax
	call	mrb_module_get@PLT
	mov	edi, eax
	call	mrb_obj_value@PLT
	mov	edx, r13d
	mov	rdi, rbp
	mov	esi, eax
	call	mrb_const_get@PLT
	mov	r13d, eax
	xor	eax, eax
	call	mrb_nil_value@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r14d, eax
	call	mrb_fixnum_value@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	ecx, r14d
	mov	edx, eax
	call	mrb_hash_fetch@PLT
	mov	edi, eax
	mov	r13d, eax
	call	mrb_nil_p@PLT
	test	eax, eax
	je	.L11
	mov	rdi, QWORD PTR 8[rsp]
	lea	r14, 16[rsp]
	call	mrb_fixnum_value@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	mov	r13d, eax
	call	mrb_intern_lit@PLT
	mov	ecx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	mrb_iv_set@PLT
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	mrb_str_new_cstr@PLT
	mov	ecx, DWORD PTR 8[rsp]
	mov	esi, 20
	mov	rdi, r14
	mov	r13d, eax
	lea	rdx, .LC6[rip]
	call	snprintf@PLT
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	call	mrb_str_cat2@PLT
.L4:
	mov	edi, DWORD PTR 4[rsp]
	call	mrb_nil_p@PLT
	test	eax, eax
	je	.L12
.L6:
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	call	mrb_intern_lit@PLT
	mov	ecx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	mrb_iv_set@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, r12d
	call	mrb_basic_ptr@PLT
	mov	edi, r13d
	mov	r14, rax
	call	mrb_class_ptr@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR [r14], eax
	call	strerror@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	mrb_str_new_cstr@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	r13d, eax
	call	mrb_nil_p@PLT
	test	eax, eax
	jne	.L6
.L12:
	mov	esi, r13d
	mov	rdi, rbp
	lea	rdx, .LC7[rip]
	call	mrb_str_cat2@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, r13d
	mov	rdi, rbp
	call	mrb_str_append@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 4[rsp]
	call	mrb_type@PLT
	cmp	rax, QWORD PTR MRB_TT_FIXNUM[rip]
	je	.L3
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	mrb_str_new_cstr@PLT
	mov	r13d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR 4[rsp]
	call	mrb_fixnum@PLT
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	mrb_nil_value@PLT
	mov	DWORD PTR 4[rsp], eax
	jmp	.L2
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mrb_sce_init, .-mrb_sce_init
	.comm	MRB_TT_FIXNUM,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_errno.c_mrb_sce_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"o|i\000"
	.align	2
.LC1:
	.ascii	"unknown error\000"
	.align	2
.LC2:
	.ascii	"Errno\000"
	.align	2
.LC3:
	.ascii	"Errno2class\000"
	.align	2
.LC4:
	.ascii	"errno\000"
	.align	2
.LC5:
	.ascii	"Unknown error: \000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	" - \000"
	.align	2
.LC8:
	.ascii	"mesg\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mrb_sce_init, %function
mrb_sce_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	ip, .L14
	sub	sp, sp, #36
	mov	r5, r1
	mov	r2, sp
	ldr	r1, .L14+4
	add	r3, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	mov	r4, r0
	bl	mrb_get_args
	cmp	r0, #1
	beq	.L10
.L2:
	ldr	r1, .L14+8
	mov	r0, r4
	bl	mrb_module_get
	bl	mrb_obj_value
	ldr	r1, .L14+12
	mov	r6, r0
	mov	r0, r4
	bl	mrb_intern_lit
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	mrb_const_get
	mov	r6, r0
	ldr	r0, [sp, #4]
	bl	mrb_fixnum_value
	mov	r7, r0
	bl	mrb_nil_value
	mov	r1, r6
	mov	r3, r0
	mov	r2, r7
	mov	r0, r4
	bl	mrb_hash_fetch
	mov	r6, r0
	bl	mrb_nil_p
	cmp	r0, #0
	beq	.L11
	ldr	r1, .L14+16
	mov	r0, r4
	bl	mrb_intern_lit
	mov	r6, r0
	ldr	r0, [sp, #4]
	bl	mrb_fixnum_value
	mov	r2, r6
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	bl	mrb_iv_set
	ldr	r1, .L14+20
	mov	r0, r4
	bl	mrb_str_new_cstr
	mov	r6, r0
	mov	r1, #20
	ldr	r2, .L14+24
	ldr	r3, [sp, #4]
	add	r0, sp, #8
	bl	snprintf
	mov	r1, r6
	mov	r0, r4
	add	r2, sp, #8
	bl	mrb_str_cat2
.L4:
	ldr	r0, [sp]
	bl	mrb_nil_p
	cmp	r0, #0
	beq	.L12
.L6:
	ldr	r1, .L14+28
	mov	r0, r4
	bl	mrb_intern_lit
	mov	r3, r6
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	bl	mrb_iv_set
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r0, r5
	bl	mrb_basic_ptr
	mov	r3, r0
	mov	r0, r6
	mov	r6, r3
	bl	mrb_class_ptr
	mov	r3, r0
	ldr	r0, [sp, #4]
	str	r3, [r6]
	bl	strerror
	mov	r1, r0
	mov	r0, r4
	bl	mrb_str_new_cstr
	mov	r6, r0
	ldr	r0, [sp]
	bl	mrb_nil_p
	cmp	r0, #0
	bne	.L6
.L12:
	mov	r1, r6
	mov	r0, r4
	ldr	r2, .L14+32
	bl	mrb_str_cat2
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [sp]
	bl	mrb_str_append
	b	.L6
.L10:
	ldr	r0, [sp]
	bl	mrb_type
	ldr	r3, .L14+36
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	mov	r0, r4
	ldr	r1, .L14+40
	bl	mrb_str_new_cstr
	mov	r6, r0
	b	.L4
.L3:
	ldr	r0, [sp]
	bl	mrb_fixnum
	str	r0, [sp, #4]
	bl	mrb_nil_value
	str	r0, [sp]
	b	.L2
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC9
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC8
	.word	.LC7
	.word	MRB_TT_FIXNUM
	.word	.LC1
	.size	mrb_sce_init, .-mrb_sce_init
	.comm	MRB_TT_FIXNUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
