	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_wear
_update_wear:                           ## @update_wear
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_erase_block_wear@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_53
## %bb.1:
	movl	%edi, %ebx
	movq	_total_wear@GOTPCREL(%rip), %rcx
	incq	(%rcx)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_ERR
	movq	(%r14), %rax
LBB0_3:
	movl	%ebx, %ecx
	incl	(%rax,%rcx,4)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_NS_ERR
LBB0_5:
	movq	_rptwear_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	_rptwear@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_6
LBB0_53:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_55
## %bb.54:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	$0, (%rax)
	movq	_wear_eb_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.8:
	movq	(%r14), %rax
	cmpl	$1, %edi
	jne	LBB0_14
## %bb.9:
	movq	$-1, %r14
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_7:
	xorl	%r15d, %r15d
	movq	$-1, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_14:
	movl	%edi, %edx
	andl	$-2, %edx
	movq	$-1, %r14
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rcx,4), %rsi
	cmpq	%rsi, %r14
	cmovaeq	%rsi, %r14
	cmpq	%rsi, %rbx
	cmovbeq	%rsi, %rbx
	addq	%rsi, %r15
	movslq	4(%rax,%rcx,4), %rsi
	cmpq	%rsi, %r14
	cmovaeq	%rsi, %r14
	cmpq	%rsi, %rbx
	cmovbeq	%rsi, %rbx
	addq	%rsi, %r15
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_15
LBB0_10:
	testb	$1, %dil
	je	LBB0_12
## %bb.11:
	movslq	(%rax,%rcx,4), %rax
	cmpq	%rax, %r14
	cmovaeq	%rax, %r14
	cmpq	%rax, %rbx
	cmovbeq	%rax, %rbx
	addq	%rax, %r15
LBB0_12:
	leaq	5(%rbx), %rax
	movabsq	$-3689348814741910323, %rsi     ## imm = 0xCCCCCCCCCCCCCCCD
	mulq	%rsi
	movq	%rdx, %r12
	shrq	$3, %r12
	leaq	(%rbx,%rbx), %rax
	addq	$5, %rax
	mulq	%rsi
	movq	%rdx, %rcx
	shrq	$3, %rcx
	leaq	(%rbx,%rbx,2), %rax
	addq	$5, %rax
	mulq	%rsi
	movq	%rdx, %r11
	shrq	$3, %r11
	leaq	5(,%rbx,4), %rax
	mulq	%rsi
	movq	%rdx, %r10
	shrq	$3, %r10
	leaq	(%rbx,%rbx,4), %rax
	addq	$5, %rax
	mulq	%rsi
	movq	%rsi, %r8
	movq	%rdx, %r13
	shrq	$3, %r13
	leaq	(%rbx,%rbx,2), %rax
	addq	%rax, %rax
	addq	$5, %rax
	mulq	%rsi
	movq	%rdx, %rsi
	shrq	$3, %rsi
	leaq	(,%rbx,8), %rax
	subq	%rbx, %rax
	addq	$5, %rax
	mulq	%r8
	movq	%rdx, %r9
	shrq	$3, %r9
	leaq	4(,%rbx,8), %rax
	mulq	%r8
	movq	%rdx, %r8
	shrq	$3, %r8
	leaq	(%rbx,%rbx,8), %rax
	addq	$5, %rax
	movabsq	$-3689348814741910323, %rdx     ## imm = 0xCCCCCCCCCCCCCCCD
	mulq	%rdx
	shrq	$3, %rdx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	%r12, -208(%rbp)
	movq	%rcx, -200(%rbp)
	movq	%r11, -240(%rbp)                ## 8-byte Spill
	movq	%r11, -192(%rbp)
	movq	%r10, -232(%rbp)                ## 8-byte Spill
	movq	%r10, -184(%rbp)
	movq	%r13, -176(%rbp)
	movq	%rsi, -248(%rbp)                ## 8-byte Spill
	movq	%rsi, -168(%rbp)
	movq	%r9, -224(%rbp)                 ## 8-byte Spill
	movq	%r9, -160(%rbp)
	movq	%r8, -216(%rbp)                 ## 8-byte Spill
	movq	%r8, -152(%rbp)
	movq	%rdx, -144(%rbp)
	movq	%rbx, -136(%rbp)
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.16:
	movq	%r13, %r11
	movq	%rdx, %r13
	movq	_erase_block_wear@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r9d, %r9d
	movq	%r11, %r8
	movq	-232(%rbp), %r10                ## 8-byte Reload
	movq	-240(%rbp), %rdx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%r9,4), %rsi
	cmpq	%rsi, %r12
	jae	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$1, %r11d
	cmpq	%rsi, %rcx
	jae	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$2, %r11d
	cmpq	%rsi, %rdx
	jae	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$3, %r11d
	cmpq	%rsi, %r10
	jae	LBB0_19
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$4, %r11d
	cmpq	%rsi, %r8
	jae	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$5, %r11d
	cmpq	%rsi, -248(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_19
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$6, %r11d
	cmpq	%rsi, -224(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_19
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$7, %r11d
	cmpq	%rsi, -216(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_19
## %bb.27:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$8, %r11d
	cmpq	%rsi, %r13
	jae	LBB0_19
## %bb.28:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$9, %r11d
	cmpq	%rsi, %rbx
	jae	LBB0_19
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	xorl	%r11d, %r11d
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	-128(%rbp,%r11,8)
LBB0_29:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r9
	cmpq	%r9, %rdi
	jne	LBB0_17
	jmp	LBB0_30
LBB0_13:
	xorl	%edi, %edi
LBB0_30:
	movq	%r15, %rax
	shrq	$32, %rax
	je	LBB0_31
## %bb.32:
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%rdi
	movq	%rax, %r13
	jmp	LBB0_33
LBB0_31:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%edi
	movl	%eax, %r13d
LBB0_33:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_NS_INFO
	movq	_wear_eb_count@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_NS_INFO
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_NS_INFO
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_NS_INFO
	movq	-128(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_NS_INFO
	movq	-208(%rbp), %rsi
	movq	-200(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_35
## %bb.34:
	movq	-120(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_35:
	movq	-200(%rbp), %rsi
	movq	-192(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_37
## %bb.36:
	movq	-112(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_37:
	movq	-192(%rbp), %rsi
	movq	-184(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_39
## %bb.38:
	movq	-104(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_39:
	movq	-184(%rbp), %rsi
	movq	-176(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_41
## %bb.40:
	movq	-96(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_41:
	movq	-176(%rbp), %rsi
	movq	-168(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_43
## %bb.42:
	movq	-88(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_43:
	movq	-168(%rbp), %rsi
	movq	-160(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_45
## %bb.44:
	movq	-80(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_45:
	movq	-160(%rbp), %rsi
	movq	-152(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_47
## %bb.46:
	movq	-72(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_47:
	movq	-152(%rbp), %rsi
	movq	-144(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_49
## %bb.48:
	movq	-64(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_49:
	movq	-144(%rbp), %rsi
	movq	-136(%rbp), %rdx
	incq	%rsi
	cmpq	%rdx, %rsi
	ja	LBB0_51
## %bb.50:
	movq	-56(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_NS_INFO
LBB0_51:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_55
## %bb.52:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NS_INFO                        ## TAILCALL
LBB0_55:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_erase_block_wear,8,3           ## @erase_block_wear
	.comm	_total_wear,8,3                 ## @total_wear
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Erase counter total overflow\n"

L_.str.1:                               ## @.str.1
	.asciz	"Erase counter overflow for erase block %u\n"

	.comm	_rptwear_cnt,8,3                ## @rptwear_cnt
	.comm	_rptwear,8,3                    ## @rptwear
	.comm	_wear_eb_count,4,2              ## @wear_eb_count
L_.str.2:                               ## @.str.2
	.asciz	"*** Wear Report ***\n"

L_.str.3:                               ## @.str.3
	.asciz	"Total numbers of erases:  %lu\n"

L_.str.4:                               ## @.str.4
	.asciz	"Number of erase blocks:   %u\n"

L_.str.5:                               ## @.str.5
	.asciz	"Average number of erases: %lu\n"

L_.str.6:                               ## @.str.6
	.asciz	"Maximum number of erases: %lu\n"

L_.str.7:                               ## @.str.7
	.asciz	"Minimum number of erases: %lu\n"

L_.str.8:                               ## @.str.8
	.asciz	"Number of ebs with erase counts from %lu to %lu : %lu\n"

L_.str.9:                               ## @.str.9
	.asciz	"*** End of Wear Report ***\n"

	.no_dead_strip	_update_wear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_wear
_update_wear:                           ; @update_wear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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 w27, -72
	.cfi_offset w28, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x20, _erase_block_wear@GOTPAGE
Lloh4:
	ldr	x20, [x20, _erase_block_wear@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x9, _total_wear@GOTPAGE
Lloh6:
	ldr	x9, [x9, _total_wear@GOTPAGEOFF]
	ldr	x10, [x9]
	adds	x10, x10, #1
	str	x10, [x9]
	b.lo	LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_NS_ERR
	ldr	x8, [x20]
LBB0_3:
	mov	w9, w19
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	adds	w10, w10, #1
	str	w10, [x8, x9]
	b.lo	LBB0_5
; %bb.4:
	str	x19, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_NS_ERR
LBB0_5:
Lloh11:
	adrp	x8, _rptwear_cnt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rptwear_cnt@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
Lloh13:
	adrp	x10, _rptwear@GOTPAGE
Lloh14:
	ldr	x10, [x10, _rptwear@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_8
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_62
; %bb.7:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_8:
	str	xzr, [x8]
Lloh19:
	adrp	x19, _wear_eb_count@GOTPAGE
Lloh20:
	ldr	x19, [x19, _wear_eb_count@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.9:
	ldr	x9, [x20]
	cmp	w8, #8
	b.hs	LBB0_12
; %bb.10:
	mov	x10, #0
	mov	x21, #0
	mov	x23, #0
	mov	x22, #-1
	b	LBB0_15
LBB0_11:
	mov	x23, #0
	mov	x21, #0
	mov	x22, #-1
	b	LBB0_17
LBB0_12:
	movi.2d	v4, #0000000000000000
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0xffffffffffffffff
	add	x11, x9, #16
	movi.2d	v3, #0xffffffffffffffff
	mov	x12, x10
	movi.2d	v2, #0xffffffffffffffff
	movi.2d	v1, #0xffffffffffffffff
	movi.2d	v7, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
	movi.2d	v19, #0000000000000000
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	d20, d21, [x11, #-16]
	sshll.2d	v22, v20, #0
	sshll.2d	v23, v21, #0
	ldp	d24, d25, [x11], #32
	sshll.2d	v26, v24, #0
	sshll.2d	v27, v25, #0
	cmhi.2d	v28, v22, v0
	bif.16b	v0, v22, v28
	cmhi.2d	v28, v23, v3
	bif.16b	v3, v23, v28
	cmhi.2d	v28, v26, v2
	bif.16b	v2, v26, v28
	cmhi.2d	v28, v27, v1
	bif.16b	v1, v27, v28
	cmhi.2d	v28, v4, v22
	bif.16b	v4, v22, v28
	cmhi.2d	v22, v7, v23
	bif.16b	v7, v23, v22
	cmhi.2d	v22, v6, v26
	bif.16b	v6, v26, v22
	cmhi.2d	v22, v5, v27
	bif.16b	v5, v27, v22
	saddw.2d	v16, v16, v20
	saddw.2d	v17, v17, v21
	saddw.2d	v18, v18, v24
	saddw.2d	v19, v19, v25
	subs	x12, x12, #8
	b.ne	LBB0_13
; %bb.14:
	add.2d	v16, v17, v16
	add.2d	v16, v18, v16
	add.2d	v16, v19, v16
	addp.2d	d16, v16
	fmov	x23, d16
	cmhi.2d	v16, v4, v7
	bif.16b	v4, v7, v16
	cmhi.2d	v7, v4, v6
	bif.16b	v4, v6, v7
	cmhi.2d	v6, v4, v5
	bif.16b	v4, v5, v6
	ext.16b	v5, v4, v4, #8
	cmhi	d6, d4, d5
	bif.8b	v4, v5, v6
	fmov	x21, d4
	cmhi.2d	v4, v3, v0
	bif.16b	v0, v3, v4
	cmhi.2d	v3, v2, v0
	bif.16b	v0, v2, v3
	cmhi.2d	v2, v1, v0
	bif.16b	v0, v1, v2
	ext.16b	v1, v0, v0, #8
	cmhi	d2, d1, d0
	bif.8b	v0, v1, v2
	fmov	x22, d0
	cmp	x10, x8
	b.eq	LBB0_17
LBB0_15:
	add	x9, x9, x10, lsl #2
	sub	x10, x8, x10
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x9], #4
	cmp	x22, x11
	csel	x22, x22, x11, lo
	cmp	x21, x11
	csel	x21, x21, x11, hi
	add	x23, x23, x11
	subs	x10, x10, #1
	b.ne	LBB0_16
LBB0_17:
	stp	xzr, xzr, [sp, #176]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #144]
	stp	q0, q0, [sp, #112]
	add	x9, x21, #5
	mov	x16, #-3689348814741910324
	movk	x16, #52429
	umulh	x9, x9, x16
	lsr	x24, x9, #3
	lsl	x10, x21, #1
	add	x9, x10, #5
	umulh	x9, x9, x16
	lsr	x9, x9, #3
	stp	x24, x9, [sp, #32]
	add	x10, x10, x21
	add	x10, x10, #5
	umulh	x10, x10, x16
	lsr	x10, x10, #3
	lsl	x12, x21, #2
	add	x11, x12, #5
	umulh	x11, x11, x16
	lsr	x11, x11, #3
	stp	x10, x11, [sp, #48]
	add	x12, x12, x21
	add	x12, x12, #5
	umulh	x12, x12, x16
	lsr	x12, x12, #3
	mov	w13, #6
	mul	x13, x21, x13
	add	x13, x13, #5
	umulh	x13, x13, x16
	lsr	x13, x13, #3
	stp	x12, x13, [sp, #64]
	lsl	x17, x21, #3
	sub	x14, x17, x21
	add	x14, x14, #5
	umulh	x14, x14, x16
	lsr	x14, x14, #3
	mov	w15, #4
	bfi	x15, x21, #3, #61
	umulh	x15, x15, x16
	lsr	x15, x15, #3
	stp	x14, x15, [sp, #80]
	add	x17, x17, x21
	add	x17, x17, #5
	umulh	x16, x17, x16
	lsr	x16, x16, #3
	stp	x16, x21, [sp, #96]
	cbz	w8, LBB0_41
; %bb.18:
	ldr	x17, [x20]
	add	x0, sp, #112
	mov	x1, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x2, [x17]
	cmp	x24, x2
	b.hs	LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x9, x2
	b.hs	LBB0_31
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x10, x2
	b.hs	LBB0_32
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x11, x2
	b.hs	LBB0_33
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x12, x2
	b.hs	LBB0_34
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x13, x2
	b.hs	LBB0_35
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x14, x2
	b.hs	LBB0_36
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x15, x2
	b.hs	LBB0_37
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x16, x2
	b.hs	LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x21, x2
	b.lo	LBB0_40
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #9
	b	LBB0_39
LBB0_30:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x2, #0
	b	LBB0_39
LBB0_31:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #1
	b	LBB0_39
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #2
	b	LBB0_39
LBB0_33:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #3
	b	LBB0_39
LBB0_34:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #4
	b	LBB0_39
LBB0_35:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #5
	b	LBB0_39
LBB0_36:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #6
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #7
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w2, #8
LBB0_39:                                ;   in Loop: Header=BB0_19 Depth=1
	lsl	x2, x2, #3
	ldr	x3, [x0, x2]
	add	x3, x3, #1
	str	x3, [x0, x2]
LBB0_40:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x17, x17, #4
	subs	x1, x1, #1
	b.ne	LBB0_19
	b	LBB0_42
LBB0_41:
	mov	x8, #0
LBB0_42:
	udiv	x20, x23, x8
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_NS_INFO
	str	x23, [sp]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_NS_INFO
	ldr	w8, [x19]
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_NS_INFO
	str	x20, [sp]
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_NS_INFO
	str	x21, [sp]
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_NS_INFO
	str	x22, [sp]
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_NS_INFO
	ldr	x8, [sp, #112]
	stp	x24, x8, [sp, #8]
	str	xzr, [sp]
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
	ldp	x8, x9, [sp, #32]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_44
; %bb.43:
	ldr	x10, [sp, #120]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.8@PAGE
Lloh36:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_44:
	ldp	x8, x9, [sp, #40]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_46
; %bb.45:
	ldr	x10, [sp, #128]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh37:
	adrp	x0, l_.str.8@PAGE
Lloh38:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_46:
	ldp	x8, x9, [sp, #48]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_48
; %bb.47:
	ldr	x10, [sp, #136]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.8@PAGE
Lloh40:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_48:
	ldp	x8, x9, [sp, #56]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_50
; %bb.49:
	ldr	x10, [sp, #144]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh41:
	adrp	x0, l_.str.8@PAGE
Lloh42:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_50:
	ldp	x8, x9, [sp, #64]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_52
; %bb.51:
	ldr	x10, [sp, #152]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh43:
	adrp	x0, l_.str.8@PAGE
Lloh44:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_52:
	ldp	x8, x9, [sp, #72]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_54
; %bb.53:
	ldr	x10, [sp, #160]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh45:
	adrp	x0, l_.str.8@PAGE
Lloh46:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_54:
	ldp	x8, x9, [sp, #80]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_56
; %bb.55:
	ldr	x10, [sp, #168]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh47:
	adrp	x0, l_.str.8@PAGE
Lloh48:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_56:
	ldp	x8, x9, [sp, #88]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_58
; %bb.57:
	ldr	x10, [sp, #176]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.8@PAGE
Lloh50:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_58:
	ldp	x8, x9, [sp, #96]
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_60
; %bb.59:
	ldr	x10, [sp, #184]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.8@PAGE
Lloh52:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_NS_INFO
LBB0_60:
	ldur	x8, [x29, #-72]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_62
; %bb.61:
Lloh56:
	adrp	x0, l_.str.9@PAGE
Lloh57:
	add	x0, x0, l_.str.9@PAGEOFF
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #288
	b	_NS_INFO
LBB0_62:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.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	_erase_block_wear,8,3           ; @erase_block_wear
	.comm	_total_wear,8,3                 ; @total_wear
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Erase counter total overflow\n"

l_.str.1:                               ; @.str.1
	.asciz	"Erase counter overflow for erase block %u\n"

	.comm	_rptwear_cnt,8,3                ; @rptwear_cnt
	.comm	_rptwear,8,3                    ; @rptwear
	.comm	_wear_eb_count,4,2              ; @wear_eb_count
l_.str.2:                               ; @.str.2
	.asciz	"*** Wear Report ***\n"

l_.str.3:                               ; @.str.3
	.asciz	"Total numbers of erases:  %lu\n"

l_.str.4:                               ; @.str.4
	.asciz	"Number of erase blocks:   %u\n"

l_.str.5:                               ; @.str.5
	.asciz	"Average number of erases: %lu\n"

l_.str.6:                               ; @.str.6
	.asciz	"Maximum number of erases: %lu\n"

l_.str.7:                               ; @.str.7
	.asciz	"Minimum number of erases: %lu\n"

l_.str.8:                               ; @.str.8
	.asciz	"Number of ebs with erase counts from %lu to %lu : %lu\n"

l_.str.9:                               ; @.str.9
	.asciz	"*** End of Wear Report ***\n"

	.no_dead_strip	_update_wear
.subsections_via_symbols
