	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msb_ftl_scan
_msb_ftl_scan:                          ## @msb_ftl_scan
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	cmpq	$0, (%rbx)
	je	LBB0_36
## %bb.3:
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_dbg_verbose
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_msb_mark_block_used
LBB0_35:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	cmpq	(%rbx), %r13
	jae	LBB0_36
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	(%rax), %r13
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	8(%rax), %r13
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	24(%rbx), %esi
	movq	%r13, %rdi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_dbg_verbose
	jmp	LBB0_35
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_msb_read_oob
	movl	%eax, %r14d
	movq	_EBADMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_pr_notice
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_msb_mark_block_used
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_msb_erase_block
	jmp	LBB0_35
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-72(%rbp), %edi
	callq	_be16_to_cpu
	movq	%rax, %r8
	movl	-80(%rbp), %edx
	movl	-76(%rbp), %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax,%r13,4)
	movq	_MEMSTICK_OVERWRITE_BKST@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%edx, %eax
	notl	%eax
	movq	_MEMSTICK_MANAGEMENT_FLAG_NORMAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_MEMSTICK_MANAGEMENT_ATFLG@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_MS_BLOCK_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_10
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_dbg
	jmp	LBB0_7
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_dbg
	jmp	LBB0_7
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_dbg
	jmp	LBB0_13
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	callq	_msb_mark_block_used
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_msb_get_zone_from_lba
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_msb_get_zone_from_pba
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %rcx
	movq	_MS_BLOCK_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.10(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	movq	%rdx, %r14
	callq	_dbg_verbose
	movq	16(%rbx), %rax
	movq	%r13, (%rax,%r14,8)
	jmp	LBB0_35
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_pr_notice
	jmp	LBB0_14
LBB0_29:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	L_.str.11(%rip), %rdi
	movq	%r13, %rsi
	movq	%rcx, %rdx
	xorl	%eax, %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_pr_notice
	movq	_MEMSTICK_OVERWRITE_UDST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	%eax, -68(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.13(%rip), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_pr_notice
	movq	%rbx, %rdi
	movq	%r14, %rsi
	jmp	LBB0_34
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.12(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_pr_notice
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_msb_erase_block
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, (%rax,%rcx,8)
	jmp	LBB0_35
LBB0_32:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.12(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_pr_notice
	jmp	LBB0_14
LBB0_36:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	xorl	%r14d, %r14d
	jmp	LBB0_37
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_37:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_pr_err
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Start of media scanning"

L_.str.1:                               ## @.str.1
	.asciz	"pba %05d -> [boot block]"

L_.str.2:                               ## @.str.2
	.asciz	"pba %05d -> [factory bad]"

	.comm	_EBADMSG,4,2                    ## @EBADMSG
L_.str.3:                               ## @.str.3
	.asciz	"oob of pba %d damaged, will try to erase it"

L_.str.4:                               ## @.str.4
	.asciz	"unknown error %d on read of oob of pba %d - aborting"

	.comm	_MEMSTICK_OVERWRITE_BKST,4,2    ## @MEMSTICK_OVERWRITE_BKST
L_.str.5:                               ## @.str.5
	.asciz	"pba %05d -> [BAD]"

	.comm	_MEMSTICK_MANAGEMENT_FLAG_NORMAL,4,2 ## @MEMSTICK_MANAGEMENT_FLAG_NORMAL
L_.str.6:                               ## @.str.6
	.asciz	"pba %05d -> [reserved management flag %02x]"

	.comm	_MEMSTICK_MANAGEMENT_ATFLG,4,2  ## @MEMSTICK_MANAGEMENT_ATFLG
L_.str.7:                               ## @.str.7
	.asciz	"pba %05d -> [temp table] - will erase"

	.comm	_MS_BLOCK_INVALID,8,3           ## @MS_BLOCK_INVALID
L_.str.8:                               ## @.str.8
	.asciz	"pba %05d -> [free]"

L_.str.9:                               ## @.str.9
	.asciz	"pba %05d -> [bad lba %05d] - will erase"

L_.str.10:                              ## @.str.10
	.asciz	"pba %05d -> [lba %05d]"

L_.str.11:                              ## @.str.11
	.asciz	"Collision between pba %d and pba %d"

	.comm	_MEMSTICK_OVERWRITE_UDST,4,2    ## @MEMSTICK_OVERWRITE_UDST
L_.str.12:                              ## @.str.12
	.asciz	"pba %d is marked as stable, use it"

L_.str.13:                              ## @.str.13
	.asciz	"collision between blocks %d and %d, without stable flag set on both, erasing pba %d"

L_.str.14:                              ## @.str.14
	.asciz	"End of media scanning"

	.no_dead_strip	_msb_ftl_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msb_ftl_scan
_msb_ftl_scan:                          ; @msb_ftl_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_38
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	ldr	x8, [x20]
	cbz	x8, LBB0_37
; %bb.2:
	mov	x21, #0
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh7:
	adrp	x28, _EBADMSG@GOTPAGE
Lloh8:
	ldr	x28, [x28, _EBADMSG@GOTPAGEOFF]
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh11:
	adrp	x27, l_.str.2@PAGE
Lloh12:
	add	x27, x27, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_dbg_verbose
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_msb_mark_block_used
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	cmp	x21, x8
	b.hs	LBB0_37
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x9, [x8]
	cmp	x21, x9
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x8, #8]
	cmp	x21, x8
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x20, #24]
	mov	x0, x21
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x21
	bl	_dbg_verbose
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	add	x3, sp, #32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_msb_read_oob
	ldr	w8, [x28]
	cmn	w0, w8
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_pr_notice
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_msb_mark_block_used
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_msb_erase_block
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	cbnz	w0, LBB0_40
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #40]
	bl	_be16_to_cpu
	ldp	w8, w24, [sp, #32]
	str	w24, [x19, x21, lsl #2]
Lloh13:
	adrp	x9, _MEMSTICK_OVERWRITE_BKST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MEMSTICK_OVERWRITE_BKST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w24
	b.eq	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x9, _MEMSTICK_MANAGEMENT_FLAG_NORMAL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MEMSTICK_MANAGEMENT_FLAG_NORMAL@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x9, _MEMSTICK_MANAGEMENT_ATFLG@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MEMSTICK_MANAGEMENT_ATFLG@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x0
Lloh22:
	adrp	x8, _MS_BLOCK_INVALID@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MS_BLOCK_INVALID@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_10
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x21, [sp]
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	stp	x21, x8, [sp]
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_dbg
	b	LBB0_4
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x21, [sp]
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dbg
	b	LBB0_13
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_msb_mark_block_used
	mov	x0, x26
	bl	_msb_get_zone_from_lba
	mov	x25, x0
	mov	x0, x21
	bl	_msb_get_zone_from_pba
	cmp	x25, x0
	b.ne	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	ldr	x25, [x8, x26, lsl #3]
Lloh33:
	adrp	x8, _MS_BLOCK_INVALID@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MS_BLOCK_INVALID@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x25, x8
	b.ne	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x26, [sp]
Lloh36:
	adrp	x0, l_.str.10@PAGE
Lloh37:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x21
	bl	_dbg_verbose
	b	LBB0_35
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x26, [sp]
Lloh38:
	adrp	x0, l_.str.9@PAGE
Lloh39:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x21
LBB0_29:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_pr_notice
	b	LBB0_14
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, x25, lsl #2]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	str	x25, [sp]
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x21
	bl	_pr_notice
Lloh42:
	adrp	x8, _MEMSTICK_OVERWRITE_UDST@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MEMSTICK_OVERWRITE_UDST@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_36
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
	stp	x25, x25, [sp]
Lloh45:
	adrp	x0, l_.str.13@PAGE
Lloh46:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh47:
	adrp	x0, l_.str.12@PAGE
Lloh48:
	add	x0, x0, l_.str.12@PAGEOFF
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x21
	bl	_pr_notice
	mov	x0, x20
	mov	x1, x25
	bl	_msb_erase_block
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	str	x21, [x8, x26, lsl #3]
	b	LBB0_5
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh49:
	adrp	x0, l_.str.12@PAGE
Lloh50:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x25
	b	LBB0_29
LBB0_37:
Lloh51:
	adrp	x0, l_.str.14@PAGE
Lloh52:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_dbg
	mov	x0, x19
	bl	_kfree
	mov	w25, #0
	b	LBB0_39
LBB0_38:
Lloh53:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_39:
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_40:
Lloh56:
	adrp	x0, l_.str.4@PAGE
Lloh57:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x25
	mov	x2, x21
	bl	_pr_err
	mov	x0, x19
	bl	_kfree
	b	LBB0_39
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Start of media scanning"

l_.str.1:                               ; @.str.1
	.asciz	"pba %05d -> [boot block]"

l_.str.2:                               ; @.str.2
	.asciz	"pba %05d -> [factory bad]"

	.comm	_EBADMSG,4,2                    ; @EBADMSG
l_.str.3:                               ; @.str.3
	.asciz	"oob of pba %d damaged, will try to erase it"

l_.str.4:                               ; @.str.4
	.asciz	"unknown error %d on read of oob of pba %d - aborting"

	.comm	_MEMSTICK_OVERWRITE_BKST,4,2    ; @MEMSTICK_OVERWRITE_BKST
l_.str.5:                               ; @.str.5
	.asciz	"pba %05d -> [BAD]"

	.comm	_MEMSTICK_MANAGEMENT_FLAG_NORMAL,4,2 ; @MEMSTICK_MANAGEMENT_FLAG_NORMAL
l_.str.6:                               ; @.str.6
	.asciz	"pba %05d -> [reserved management flag %02x]"

	.comm	_MEMSTICK_MANAGEMENT_ATFLG,4,2  ; @MEMSTICK_MANAGEMENT_ATFLG
l_.str.7:                               ; @.str.7
	.asciz	"pba %05d -> [temp table] - will erase"

	.comm	_MS_BLOCK_INVALID,8,3           ; @MS_BLOCK_INVALID
l_.str.8:                               ; @.str.8
	.asciz	"pba %05d -> [free]"

l_.str.9:                               ; @.str.9
	.asciz	"pba %05d -> [bad lba %05d] - will erase"

l_.str.10:                              ; @.str.10
	.asciz	"pba %05d -> [lba %05d]"

l_.str.11:                              ; @.str.11
	.asciz	"Collision between pba %d and pba %d"

	.comm	_MEMSTICK_OVERWRITE_UDST,4,2    ; @MEMSTICK_OVERWRITE_UDST
l_.str.12:                              ; @.str.12
	.asciz	"pba %d is marked as stable, use it"

l_.str.13:                              ; @.str.13
	.asciz	"collision between blocks %d and %d, without stable flag set on both, erasing pba %d"

l_.str.14:                              ; @.str.14
	.asciz	"End of media scanning"

	.no_dead_strip	_msb_ftl_scan
.subsections_via_symbols
