	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_create
_check_create:                          ## @check_create
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movq	16(%rdi), %rbx
	movq	_NAND_BBT_PERCHIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	leaq	4(%r12), %rdi
	callq	_nanddev_ntargets
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jg	LBB0_3
LBB0_46:
	xorl	%eax, %eax
LBB0_47:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, -84(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	xorl	%r15d, %r15d
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rax
	movl	$-1, (%rax,%r14,4)
	movq	16(%rbx), %rax
	movl	$0, (%rax,%r14,4)
	decl	%r14d
	movl	%r14d, %r15d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_45:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	cmpl	-84(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_46
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	movq	_NAND_BBT_PERCHIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	$1, %ecx
	movl	$0, %r8d
	sbbl	%r8d, %r8d
	orl	%r15d, %r8d
	movq	8(%rbx), %rcx
	movslq	%r15d, %r14
	movl	(%rcx,%r14,4), %ecx
	testq	%r13, %r13
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rdx
	movl	(%rdx,%r14,4), %edx
	cmpl	$-1, %ecx
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$-1, %edx
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rcx
	movq	16(%r13), %rdx
	movl	(%rdx,%r14,4), %edx
	cmpl	%edx, (%rcx,%r14,4)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_NAND_BBT_VERSION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	$0, %ecx
	cmoveq	%r13, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$-1, %ecx
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$-1, %edx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$2, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	setg	%al
	movzbl	%al, %ecx
	movq	%rbx, %rax
	movq	%r13, %rbx
	cmovgq	%rax, %rbx
	incl	%ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$3, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_NAND_BBT_CREATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_NAND_BBT_CREATE_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	%r8d, %ecx
	movl	%r8d, %r12d
	callq	_create_bbt
	movl	%r12d, %r8d
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	movl	$1, (%rax,%r14,4)
	testq	%r13, %r13
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %rax
	movl	$1, (%rax,%r14,4)
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r8d, %ecx
	movl	%r8d, %r13d
	callq	_read_abs_bbt
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_mtd_is_eccerr
	testq	%rax, %rax
	jne	LBB0_44
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_read_abs_bbt
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_mtd_is_eccerr
	testq	%rax, %rax
	jne	LBB0_44
## %bb.30:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_31
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_32
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-104(%rbp), %r13                ## 8-byte Reload
LBB0_32:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%r12d, %edi
	callq	_mtd_is_bitflip
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_mtd_is_bitflip
	testq	%rax, %rax
	je	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$3, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_35:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	movl	(%rax,%r14,4), %edi
	movq	16(%r13), %rax
	movl	(%rax,%r14,4), %esi
	callq	_max
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx,%r14,4)
	movq	16(%r13), %rcx
	movl	%eax, (%rcx,%r14,4)
LBB0_37:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testb	$1, %r14b
	je	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_NAND_BBT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_write_bbt
	testl	%eax, %eax
	js	LBB0_47
LBB0_40:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$2, %r14b
	je	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	je	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_NAND_BBT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_write_bbt
	testl	%eax, %eax
	jns	LBB0_45
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_BBT_PERCHIP,4,2           ## @NAND_BBT_PERCHIP
	.comm	_NAND_BBT_VERSION,4,2           ## @NAND_BBT_VERSION
	.comm	_NAND_BBT_CREATE,4,2            ## @NAND_BBT_CREATE
	.comm	_NAND_BBT_CREATE_EMPTY,4,2      ## @NAND_BBT_CREATE_EMPTY
	.comm	_NAND_BBT_WRITE,4,2             ## @NAND_BBT_WRITE
	.no_dead_strip	_check_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_create
_check_create:                          ; @check_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x2, [sp]                        ; 8-byte Folded Spill
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	x19, x0
	ldp	x23, x22, [x0, #8]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _NAND_BBT_PERCHIP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAND_BBT_PERCHIP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	add	x0, x19, #4
	bl	_nanddev_ntargets
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w0, #1
	b.ge	LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_5:
	mov	w24, #0
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	lsl	x8, x20, #2
	ldp	x9, x10, [x27, #8]
	mov	w11, #-1
	str	w11, [x9, x8]
	str	wzr, [x10, x8]
	sub	w24, w24, #1
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w24, w8
	b.ge	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _NAND_BBT_PERCHIP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NAND_BBT_PERCHIP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	csinv	w25, w24, wzr, ne
	ldr	x9, [x22, #8]
	sxtw	x20, w24
	ldr	w9, [x9, w24, sxtw #2]
	cbz	x23, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x23, #8]
	ldr	w10, [x10, x20, lsl #2]
	cmn	w9, #1
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cmn	w10, #1
	b.eq	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x22, #16]
	lsl	x10, x20, #2
	ldr	w9, [x9, x10]
	ldr	x11, [x23, #16]
	ldr	w10, [x11, x10]
	cmp	w9, w10
	b.ne	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #0
Lloh6:
	adrp	x9, _NAND_BBT_VERSION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NAND_BBT_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x26, x23, xzr, eq
	mov	x27, x22
	b	LBB0_28
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	cmn	w9, #1
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #0
	mov	x27, x22
	b	LBB0_26
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	cmn	w10, #1
	b.eq	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	mov	w21, #1
	mov	x27, x23
	b	LBB0_28
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	mov	w21, #2
	mov	x27, x22
	b	LBB0_28
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #1
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	mov	w8, #1
	cinc	w21, w8, gt
	csel	x27, x22, x23, gt
	b	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #3
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh9:
	adrp	x9, _NAND_BBT_CREATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NAND_BBT_CREATE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _NAND_BBT_CREATE_EMPTY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NAND_BBT_CREATE_EMPTY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	mov	x3, x25
	bl	_create_bbt
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22, #16]
	mov	w9, #1
	str	w9, [x8, x20, lsl #2]
	mov	x27, #0
	cbz	x23, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23, #16]
	str	w9, [x8, x20, lsl #2]
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x27, LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
LBB0_28:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x27
	mov	x3, x25
	bl	_read_abs_bbt
	mov	x28, x0
	bl	_mtd_is_eccerr
	cbnz	x0, LBB0_6
; %bb.29:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x26, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x0, x1, [sp, #16]               ; 16-byte Folded Reload
	mov	x2, x26
	mov	x3, x25
	bl	_read_abs_bbt
	mov	x19, x0
	bl	_mtd_is_eccerr
	mov	x27, x26
	cbnz	x0, LBB0_6
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w28, #0
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w19, #0
LBB0_33:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x28
	bl	_mtd_is_bitflip
	cbnz	x0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_mtd_is_bitflip
	cbz	x0, LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #3
LBB0_36:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x23, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22, #16]
	lsl	x19, x20, #2
	ldr	w0, [x8, x19]
	ldr	x8, [x23, #16]
	ldr	w1, [x8, x19]
	bl	_max
	ldr	x8, [x22, #16]
	str	w0, [x8, x19]
	ldr	x8, [x23, #16]
	str	w0, [x8, x19]
LBB0_38:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	tbz	w21, #0, LBB0_41
; %bb.39:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22]
Lloh15:
	adrp	x9, _NAND_BBT_WRITE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NAND_BBT_WRITE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x22
	mov	x3, x23
	mov	x4, x25
	bl	_write_bbt
	tbnz	w0, #31, LBB0_3
LBB0_41:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w21, #1, LBB0_7
; %bb.42:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x23, LBB0_7
; %bb.43:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x23]
Lloh18:
	adrp	x9, _NAND_BBT_WRITE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NAND_BBT_WRITE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.44:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x23
	mov	x3, x22
	mov	x4, x25
	bl	_write_bbt
	tbz	w0, #31, LBB0_7
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_BBT_PERCHIP,4,2           ; @NAND_BBT_PERCHIP
	.comm	_NAND_BBT_VERSION,4,2           ; @NAND_BBT_VERSION
	.comm	_NAND_BBT_CREATE,4,2            ; @NAND_BBT_CREATE
	.comm	_NAND_BBT_CREATE_EMPTY,4,2      ; @NAND_BBT_CREATE_EMPTY
	.comm	_NAND_BBT_WRITE,4,2             ; @NAND_BBT_WRITE
	.no_dead_strip	_check_create
.subsections_via_symbols
