	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_init
_io_init:                               ## @io_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	64(%rdi), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ubi_err
	jmp	LBB0_22
LBB0_2:
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	js	LBB0_11
## %bb.3:
	movl	8(%rsi), %eax
	movl	%eax, 4(%r14)
	movl	56(%rsi), %edi
	callq	_mtd_div_by_eb
	movl	%eax, 8(%r14)
	movq	64(%r14), %rax
	movl	56(%rax), %ecx
	movl	%ecx, 72(%r14)
	cmpq	$0, 48(%rax)
	je	LBB0_6
## %bb.4:
	cmpq	$0, 40(%rax)
	je	LBB0_6
## %bb.5:
	movl	$1, 12(%r14)
LBB0_6:
	movq	16(%rax), %rcx
	movq	_MTD_NORFLASH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	cmpl	$1, 24(%rax)
	sete	%dil
	callq	_ubi_assert
	movl	$1, 16(%r14)
	movq	64(%r14), %rax
LBB0_8:
	movl	24(%rax), %edi
	movl	%edi, 20(%r14)
	movb	28(%rax), %cl
	movl	%edi, %eax
	sarl	%cl, %eax
	movl	%eax, 24(%r14)
	callq	_is_power_of_2
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	xorl	%edi, %edi
	cmpl	$0, 24(%r14)
	setg	%dil
	callq	_ubi_assert
	movl	24(%r14), %eax
	xorl	%edi, %edi
	cmpl	20(%r14), %eax
	setle	%dil
	callq	_ubi_assert
	movl	20(%r14), %eax
	cltd
	idivl	24(%r14)
	xorl	%edi, %edi
	testl	%edx, %edx
	sete	%dil
	callq	_ubi_assert
	movq	_UBI_EC_HDR_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	24(%r14), %esi
	callq	_ALIGN
	movl	%eax, 28(%r14)
	movq	_UBI_VID_HDR_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	24(%r14), %esi
	callq	_ALIGN
	movl	%eax, 32(%r14)
	movl	20(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_dbg_msg
	movl	24(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_dbg_msg
	movl	28(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_dbg_msg
	movl	32(%r14), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_dbg_msg
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.10:
	xorl	%eax, %eax
	subl	24(%r14), %eax
	andl	%edi, %eax
	movl	%edi, %ecx
	subl	%eax, %ecx
	movl	%ecx, 40(%r14)
	jmp	LBB0_14
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_12:
	movl	20(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_16
LBB0_13:
	movl	28(%r14), %edi
	movl	%edi, (%r14)
	movl	%edi, %eax
LBB0_14:
	movl	%eax, 36(%r14)
	addl	(%rbx), %edi
	movl	%edi, 44(%r14)
	movl	20(%r14), %esi
	callq	_ALIGN
	movl	%eax, 44(%r14)
	movl	(%r14), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_dbg_msg
	movl	36(%r14), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_dbg_msg
	movl	40(%r14), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_dbg_msg
	movl	44(%r14), %esi
	leaq	L_.str.9(%rip), %rdi
	callq	_dbg_msg
	movl	40(%r14), %esi
	testb	$3, %sil
	je	LBB0_17
## %bb.15:
	leaq	L_.str.10(%rip), %rdi
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ubi_err
	jmp	LBB0_22
LBB0_17:
	movl	(%r14), %esi
	movl	44(%r14), %edx
	cmpl	(%rbx), %esi
	jl	LBB0_21
## %bb.18:
	movl	(%r15), %eax
	leal	(%rax,%rsi), %ecx
	cmpl	%ecx, %edx
	jl	LBB0_21
## %bb.19:
	movl	4(%r14), %ecx
	subl	%eax, %ecx
	cmpl	%ecx, %edx
	jg	LBB0_21
## %bb.20:
	movl	20(%r14), %eax
	decl	%eax
	testl	%edx, %eax
	je	LBB0_25
LBB0_21:
	leaq	L_.str.11(%rip), %rdi
	xorl	%ebx, %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_ubi_err
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_23:
	subl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	8(%r14), %eax
	movl	$16, %esi
	cmpl	$160, %eax
	jl	LBB0_27
## %bb.26:
	cltq
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
LBB0_27:
	movl	%esi, 48(%r14)
	leaq	L_.str.12(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_dbg_msg
	movl	(%r15), %eax
	addl	(%r14), %eax
	cmpl	24(%r14), %eax
	jg	LBB0_29
## %bb.28:
	leaq	L_.str.13(%rip), %rdi
	callq	_ubi_warn
	movl	$1, 52(%r14)
LBB0_29:
	movl	4(%r14), %esi
	movl	%esi, %eax
	subl	44(%r14), %eax
	movl	%eax, 56(%r14)
	movq	64(%r14), %rax
	movq	_MTD_WRITEABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 32(%rax)
	jne	LBB0_31
## %bb.30:
	movl	36(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_ubi_msg
	movl	$1, 52(%r14)
	movl	4(%r14), %esi
LBB0_31:
	movl	%esi, %edx
	sarl	$10, %edx
	leaq	L_.str.15(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ubi_msg
	movl	56(%r14), %esi
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_ubi_msg
	movl	20(%r14), %esi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_ubi_msg
	movl	24(%r14), %esi
	cmpl	20(%r14), %esi
	je	LBB0_33
## %bb.32:
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_ubi_msg
LBB0_33:
	movl	(%r14), %esi
	movl	36(%r14), %edx
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_ubi_msg
	movl	44(%r14), %esi
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_ubi_msg
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"multiple regions, not implemented"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MTD_NORFLASH,8,3               ## @MTD_NORFLASH
L_.str.1:                               ## @.str.1
	.asciz	"min. I/O unit (%d) is not power of 2"

	.comm	_UBI_EC_HDR_SIZE,4,2            ## @UBI_EC_HDR_SIZE
	.comm	_UBI_VID_HDR_SIZE,4,2           ## @UBI_VID_HDR_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"min_io_size      %d"

L_.str.3:                               ## @.str.3
	.asciz	"hdrs_min_io_size %d"

L_.str.4:                               ## @.str.4
	.asciz	"ec_hdr_alsize    %d"

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

L_.str.6:                               ## @.str.6
	.asciz	"vid_hdr_offset   %d"

L_.str.7:                               ## @.str.7
	.asciz	"vid_hdr_aloffset %d"

L_.str.8:                               ## @.str.8
	.asciz	"vid_hdr_shift    %d"

L_.str.9:                               ## @.str.9
	.asciz	"leb_start        %d"

L_.str.10:                              ## @.str.10
	.asciz	"unaligned VID header shift %d"

L_.str.11:                              ## @.str.11
	.asciz	"bad VID header (%d) or data offsets (%d)"

L_.str.12:                              ## @.str.12
	.asciz	"max_erroneous    %d"

L_.str.13:                              ## @.str.13
	.asciz	"EC and VID headers are in the same minimal I/O unit, switch to read-only mode"

	.comm	_MTD_WRITEABLE,4,2              ## @MTD_WRITEABLE
L_.str.14:                              ## @.str.14
	.asciz	"MTD device %d is write-protected, attach in read-only mode"

L_.str.15:                              ## @.str.15
	.asciz	"physical eraseblock size:   %d bytes (%d KiB)"

L_.str.16:                              ## @.str.16
	.asciz	"logical eraseblock size:    %d bytes"

L_.str.17:                              ## @.str.17
	.asciz	"smallest flash I/O unit:    %d"

L_.str.18:                              ## @.str.18
	.asciz	"sub-page size:              %d"

L_.str.19:                              ## @.str.19
	.asciz	"VID header offset:          %d (aligned %d)"

L_.str.20:                              ## @.str.20
	.asciz	"data offset:                %d"

	.no_dead_strip	_io_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_init
_io_init:                               ; @io_init
	.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
	ldr	x1, [x0, #64]
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_ubi_err
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
	mov	x19, x0
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_3
; %bb.6:
	ldr	w8, [x1, #8]
	str	w8, [x19, #4]
	ldr	w0, [x1, #56]
	bl	_mtd_div_by_eb
	str	w0, [x19, #8]
	ldr	x8, [x19, #64]
	ldr	w9, [x8, #56]
	str	w9, [x19, #72]
	ldr	x9, [x8, #48]
	cbz	x9, LBB0_9
; %bb.7:
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_9
; %bb.8:
	mov	w9, #1
	str	w9, [x19, #12]
LBB0_9:
	ldr	x9, [x8, #16]
Lloh5:
	adrp	x10, _MTD_NORFLASH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MTD_NORFLASH@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.10:
	ldr	w8, [x8, #24]
	cmp	w8, #1
	cset	w0, eq
	bl	_ubi_assert
	mov	w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #64]
LBB0_11:
	ldp	w0, w8, [x8, #24]
	asr	w8, w0, w8
	stp	w0, w8, [x19, #20]
	bl	_is_power_of_2
	cbz	w0, LBB0_14
; %bb.12:
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w0, gt
	bl	_ubi_assert
	ldp	w9, w8, [x19, #20]
	cmp	w8, w9
	cset	w0, le
	bl	_ubi_assert
	ldp	w8, w9, [x19, #20]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cmp	w8, #0
	cset	w0, eq
	bl	_ubi_assert
Lloh8:
	adrp	x21, _UBI_EC_HDR_SIZE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _UBI_EC_HDR_SIZE@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19, #24]
	bl	_ALIGN
	str	w0, [x19, #28]
Lloh10:
	adrp	x20, _UBI_VID_HDR_SIZE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _UBI_VID_HDR_SIZE@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x19, #24]
	bl	_ALIGN
	str	w0, [x19, #32]
	ldr	w1, [x19, #20]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg_msg
	ldr	w1, [x19, #24]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dbg_msg
	ldr	w1, [x19, #28]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dbg_msg
	ldr	w1, [x19, #32]
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dbg_msg
	ldr	w8, [x19]
	cbz	w8, LBB0_15
; %bb.13:
	ldr	w9, [x19, #24]
	neg	w9, w9
	and	w9, w8, w9
	sub	w10, w8, w9
	str	w10, [x19, #40]
	b	LBB0_16
LBB0_14:
	ldr	w8, [x19, #20]
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_15:
	ldr	w8, [x19, #28]
	str	w8, [x19]
	mov	x9, x8
LBB0_16:
	str	w9, [x19, #36]
	ldr	w9, [x21]
	add	w0, w9, w8
	str	w0, [x19, #44]
	ldr	w1, [x19, #20]
	bl	_ALIGN
	str	w0, [x19, #44]
	ldr	w1, [x19]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dbg_msg
	ldr	w1, [x19, #36]
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dbg_msg
	ldr	w1, [x19, #40]
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_dbg_msg
	ldr	w1, [x19, #44]
Lloh28:
	adrp	x0, l_.str.9@PAGE
Lloh29:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_dbg_msg
	ldr	w8, [x19, #40]
	tst	w8, #0x3
	b.eq	LBB0_18
; %bb.17:
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.10@PAGE
Lloh31:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_2
LBB0_18:
	ldr	w8, [x19]
	ldr	w10, [x21]
	ldr	w9, [x19, #44]
	cmp	w8, w10
	b.lt	LBB0_22
; %bb.19:
	ldr	w10, [x20]
	add	w11, w10, w8
	cmp	w9, w11
	b.lt	LBB0_22
; %bb.20:
	ldr	w11, [x19, #4]
	sub	w10, w11, w10
	cmp	w9, w10
	b.gt	LBB0_22
; %bb.21:
	ldr	w10, [x19, #20]
	sub	w10, w10, #1
	tst	w10, w9
	b.eq	LBB0_23
LBB0_22:
	stp	x8, x9, [sp]
Lloh32:
	adrp	x0, l_.str.11@PAGE
Lloh33:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_2
LBB0_23:
	ldrsw	x8, [x19, #8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #16
	cmp	w8, #160
	csel	w1, w10, w9, lt
	str	w1, [x19, #48]
Lloh34:
	adrp	x0, l_.str.12@PAGE
Lloh35:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_dbg_msg
	ldr	w8, [x19]
	ldr	w9, [x20]
	ldr	w10, [x19, #24]
	add	w8, w9, w8
	cmp	w8, w10
	b.gt	LBB0_25
; %bb.24:
Lloh36:
	adrp	x0, l_.str.13@PAGE
Lloh37:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_ubi_warn
	mov	w8, #1
	str	w8, [x19, #52]
LBB0_25:
	ldr	w1, [x19, #4]
	ldr	w8, [x19, #44]
	sub	w8, w1, w8
	str	w8, [x19, #56]
	ldr	x8, [x19, #64]
	ldr	w9, [x8, #32]
Lloh38:
	adrp	x10, _MTD_WRITEABLE@GOTPAGE
Lloh39:
	ldr	x10, [x10, _MTD_WRITEABLE@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_27
; %bb.26:
	ldr	w1, [x8, #36]
Lloh41:
	adrp	x0, l_.str.14@PAGE
Lloh42:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_ubi_msg
	mov	w8, #1
	str	w8, [x19, #52]
	ldr	w1, [x19, #4]
LBB0_27:
	asr	w8, w1, #10
	str	x8, [sp]
Lloh43:
	adrp	x0, l_.str.15@PAGE
Lloh44:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_ubi_msg
	ldr	w1, [x19, #56]
Lloh45:
	adrp	x0, l_.str.16@PAGE
Lloh46:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_ubi_msg
	ldr	w1, [x19, #20]
Lloh47:
	adrp	x0, l_.str.17@PAGE
Lloh48:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_ubi_msg
	ldp	w8, w1, [x19, #20]
	cmp	w1, w8
	b.eq	LBB0_29
; %bb.28:
Lloh49:
	adrp	x0, l_.str.18@PAGE
Lloh50:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_ubi_msg
LBB0_29:
	ldr	w1, [x19]
	ldr	w8, [x19, #36]
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.19@PAGE
Lloh52:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_ubi_msg
	ldr	w1, [x19, #44]
Lloh53:
	adrp	x0, l_.str.20@PAGE
Lloh54:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_ubi_msg
	mov	w0, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"multiple regions, not implemented"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MTD_NORFLASH,8,3               ; @MTD_NORFLASH
l_.str.1:                               ; @.str.1
	.asciz	"min. I/O unit (%d) is not power of 2"

	.comm	_UBI_EC_HDR_SIZE,4,2            ; @UBI_EC_HDR_SIZE
	.comm	_UBI_VID_HDR_SIZE,4,2           ; @UBI_VID_HDR_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"min_io_size      %d"

l_.str.3:                               ; @.str.3
	.asciz	"hdrs_min_io_size %d"

l_.str.4:                               ; @.str.4
	.asciz	"ec_hdr_alsize    %d"

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

l_.str.6:                               ; @.str.6
	.asciz	"vid_hdr_offset   %d"

l_.str.7:                               ; @.str.7
	.asciz	"vid_hdr_aloffset %d"

l_.str.8:                               ; @.str.8
	.asciz	"vid_hdr_shift    %d"

l_.str.9:                               ; @.str.9
	.asciz	"leb_start        %d"

l_.str.10:                              ; @.str.10
	.asciz	"unaligned VID header shift %d"

l_.str.11:                              ; @.str.11
	.asciz	"bad VID header (%d) or data offsets (%d)"

l_.str.12:                              ; @.str.12
	.asciz	"max_erroneous    %d"

l_.str.13:                              ; @.str.13
	.asciz	"EC and VID headers are in the same minimal I/O unit, switch to read-only mode"

	.comm	_MTD_WRITEABLE,4,2              ; @MTD_WRITEABLE
l_.str.14:                              ; @.str.14
	.asciz	"MTD device %d is write-protected, attach in read-only mode"

l_.str.15:                              ; @.str.15
	.asciz	"physical eraseblock size:   %d bytes (%d KiB)"

l_.str.16:                              ; @.str.16
	.asciz	"logical eraseblock size:    %d bytes"

l_.str.17:                              ; @.str.17
	.asciz	"smallest flash I/O unit:    %d"

l_.str.18:                              ; @.str.18
	.asciz	"sub-page size:              %d"

l_.str.19:                              ; @.str.19
	.asciz	"VID header offset:          %d (aligned %d)"

l_.str.20:                              ; @.str.20
	.asciz	"data offset:                %d"

	.no_dead_strip	_io_init
.subsections_via_symbols
