	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doc_ecc_decode
_doc_ecc_decode:                        ## @doc_ecc_decode
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -272(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movzbl	16(%rdx), %eax
	movl	20(%rdx), %edi
	movl	%edi, %esi
	andl	$3, %esi
	shlq	$8, %rsi
	orq	%rax, %rsi
	movq	%rsi, -112(%rbp)
	shrl	$2, %edi
	andl	$63, %edi
	movl	8(%rdx), %eax
	movl	%eax, %ecx
	andl	$15, %ecx
	shlq	$6, %rcx
	orq	%rdi, %rcx
	movq	%rcx, -104(%rbp)
	shrl	$4, %eax
	andl	$15, %eax
	movl	12(%rdx), %ebx
	movl	%ebx, %edi
	andl	$63, %edi
	shlq	$4, %rdi
	orq	%rax, %rdi
	movq	%rdi, -96(%rbp)
	shrl	$6, %ebx
	andl	$3, %ebx
	movl	(%rdx), %eax
	movzbl	%al, %eax
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -88(%rbp)
	movl	4(%rdx), %eax
	movl	%eax, -260(%rbp)                ## 4-byte Spill
	movq	_NROOTS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_26
## %bb.1:
	cmpl	$4, %eax
	jae	LBB0_4
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_4:
	movl	%eax, %edx
	andl	$-4, %edx
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$7, %r8d
	cmpq	$28, %rbx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	andq	$-8, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -160(%rbp,%rbx,8)
	movdqa	%xmm0, -144(%rbp,%rbx,8)
	movdqa	%xmm0, -128(%rbp,%rbx,8)
	movdqa	%xmm0, -112(%rbp,%rbx,8)
	movdqa	%xmm0, -96(%rbp,%rbx,8)
	movdqa	%xmm0, -80(%rbp,%rbx,8)
	movdqa	%xmm0, -64(%rbp,%rbx,8)
	movdqa	%xmm0, -48(%rbp,%rbx,8)
	movdqa	%xmm0, -32(%rbp,%rbx,8)
	movdqa	%xmm0, -16(%rbp,%rbx,8)
	movdqa	%xmm0, (%rbp,%rbx,8)
	movdqa	%xmm0, 16(%rbp,%rbx,8)
	movdqa	%xmm0, 32(%rbp,%rbx,8)
	movdqa	%xmm0, 48(%rbp,%rbx,8)
	movdqa	%xmm0, 64(%rbp,%rbx,8)
	movdqa	%xmm0, 80(%rbp,%rbx,8)
	addq	$32, %rbx
	addq	$-8, %rdi
	jne	LBB0_7
LBB0_8:
	testq	%r8, %r8
	je	LBB0_11
## %bb.9:
	leaq	-144(,%rbx,8), %rdi
	addq	%rbp, %rdi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -16(%rdi,%rbx)
	movdqa	%xmm0, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_10
LBB0_11:
	cmpq	%rax, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -160(%rbp,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_3
LBB0_12:
	cmpl	$2, %eax
	jl	LBB0_20
## %bb.13:
	movl	$1, %ebx
	movq	_FCR@GOTPCREL(%rip), %r15
	testq	%rcx, %rcx
	je	LBB0_19
	.p2align	4, 0x90
LBB0_15:
	testl	%eax, %eax
	jle	LBB0_19
## %bb.16:
	movq	(%r13), %rax
	movl	(%rax,%rcx,8), %eax
	movl	%eax, -264(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r14
	movl	(%r15), %esi
	addl	%r12d, %esi
	imull	%ebx, %esi
	addl	-264(%rbp), %esi                ## 4-byte Folded Reload
	movq	%r13, %rdi
	callq	_rs_modnn
	movq	(%r14,%rax,8), %rax
	xorq	%rax, -160(%rbp,%r12,8)
	incq	%r12
	movq	_NROOTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jl	LBB0_17
## %bb.18:
	movq	_NROOTS@GOTPCREL(%rip), %r12
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_20
## %bb.43:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-112(%rbp,%rbx,8), %rcx
	testq	%rcx, %rcx
	jne	LBB0_15
	jmp	LBB0_19
LBB0_20:
	testl	%eax, %eax
	jle	LBB0_26
## %bb.21:
	xorl	%r14d, %r14d
	movl	$1, %ebx
	movq	_FCR@GOTPCREL(%rip), %r15
                                        ## implicit-def: $rcx
	testq	%rcx, %rcx
	je	LBB0_24
	.p2align	4, 0x90
LBB0_23:
	movq	(%r13), %rax
	movq	-168(%rbp,%rbx,8), %rcx
	movq	_NN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	addl	(%rax,%rcx,8), %esi
	subl	(%r15), %esi
	addl	%r14d, %esi
	movq	%r13, %rdi
	callq	_rs_modnn
	movq	%rax, -264(%rbp,%rbx,8)
	movl	(%r12), %eax
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	-256(%rbp,%rbx,8), %rcx
	decl	%r14d
	incq	%rbx
	testq	%rcx, %rcx
	jne	LBB0_23
	jmp	LBB0_24
LBB0_26:
	subq	$8, %rsp
	leaq	-224(%rbp), %rax
	leaq	-80(%rbp), %rbx
	leaq	-256(%rbp), %r8
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1019, %ecx                     ## imm = 0x3FB
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	pushq	%rbx
	callq	_decode_rs16
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_27
## %bb.28:
	je	LBB0_40
## %bb.29:
	movl	%eax, %r10d
	xorl	%esi, %esi
	movq	_NB_DATA@GOTPCREL(%rip), %r9
	movq	_SECTOR_SIZE@GOTPCREL(%rip), %r8
	movq	-272(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%rsi
	cmpq	%rsi, %r10
	je	LBB0_40
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movl	-80(%rbp,%rsi,4), %ecx
	movl	$1015, %edi                     ## imm = 0x3F7
	subl	%ecx, %edi
	movl	(%r9), %edx
	cmpl	%edx, %edi
	jge	LBB0_39
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	addl	%edx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %edi
	addl	$-10160, %edi                   ## imm = 0xD850
	leal	(%rcx,%rcx,4), %ecx
	addl	$-10166, %ecx                   ## imm = 0xD84A
	movl	%ecx, %edx
	sarl	$3, %edx
	movl	%edx, %ebx
	xorl	$1, %ebx
	cmpl	$6, %edi
	setge	%r15b
	movl	(%r8), %r14d
	cmpl	%r14d, %ebx
	setl	%r12b
	leal	1(%r14), %r11d
	testb	%r12b, %r15b
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpl	%r11d, %ebx
	jne	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-224(%rbp,%rsi,8), %r15
	andb	$6, %cl
	addb	$2, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %r15
	xorl	%r15d, -260(%rbp)               ## 4-byte Folded Spill
	cmpl	%r14d, %ebx
	jge	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_30 Depth=1
	movslq	%ebx, %rcx
	xorl	%r15d, (%r13,%rcx,4)
	movl	(%r8), %r14d
	leal	1(%r14), %r11d
LBB0_35:                                ##   in Loop: Header=BB0_30 Depth=1
	incl	%edx
	xorl	$1, %edx
	cmpl	$-2, %edi
	setge	%cl
	cmpl	%r14d, %edx
	setl	%bl
	testb	%bl, %cl
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpl	%r11d, %edx
	jne	LBB0_39
LBB0_37:                                ##   in Loop: Header=BB0_30 Depth=1
	addl	$4, %edi
	andl	$6, %edi
	movb	$8, %cl
	subb	%dil, %cl
	testl	%edi, %edi
	movzbl	%cl, %ecx
	cmovel	%edi, %ecx
	movl	-224(%rbp,%rsi,8), %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	xorl	%edi, -260(%rbp)                ## 4-byte Folded Spill
	cmpl	%r14d, %edx
	jge	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_30 Depth=1
	movslq	%edx, %rcx
	xorl	%edi, (%r13,%rcx,4)
	jmp	LBB0_39
LBB0_40:
	movq	_EBADMSG@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	cmpl	$0, -260(%rbp)                  ## 4-byte Folded Reload
	cmovel	%eax, %ecx
	jmp	LBB0_41
LBB0_27:
	movl	%eax, %ecx
LBB0_41:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_44
## %bb.42:
	movl	%ecx, %eax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NROOTS,4,2                     ## @NROOTS
	.comm	_FCR,4,2                        ## @FCR
	.comm	_NN,4,2                         ## @NN
	.comm	_NB_DATA,4,2                    ## @NB_DATA
	.comm	_SECTOR_SIZE,4,2                ## @SECTOR_SIZE
	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.no_dead_strip	_doc_ecc_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function doc_ecc_decode
lCPI0_0:
	.long	4294967292                      ; 0xfffffffc
	.long	4294967290                      ; 0xfffffffa
lCPI0_1:
	.long	15                              ; 0xf
	.long	3                               ; 0x3
lCPI0_2:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
lCPI0_3:
	.long	1020                            ; 0x3fc
	.long	1008                            ; 0x3f0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_doc_ecc_decode:                        ; @doc_ecc_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldrb	w8, [x2, #16]
	ldr	w11, [x2, #20]
	lsl	w9, w11, #8
	and	x9, x9, #0x300
	orr	x10, x9, x8
	ldr	d0, [x2, #8]
	fmov	w8, s0
	lsl	w8, w8, #6
	and	x9, x8, #0x3c0
	bfxil	x9, x11, #2, #6
	stp	x10, x9, [sp, #160]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v1, v0, v1
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d2, [x8, lCPI0_1@PAGEOFF]
	and.8b	v1, v1, v2
	ld1.s	{ v0 }[0], [x2], #4
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	d2, [x8, lCPI0_2@PAGEOFF]
	ushl.2s	v0, v0, v2
Lloh9:
	adrp	x8, lCPI0_3@PAGE
Lloh10:
	ldr	d2, [x8, lCPI0_3@PAGEOFF]
	and.8b	v0, v0, v2
	rev64.2s	v0, v0
	orr.8b	v0, v0, v1
	ushll.2d	v0, v0, #0
	str	q0, [sp, #176]
	ldr	w21, [x2]
Lloh11:
	adrp	x22, _NROOTS@GOTPAGE
Lloh12:
	ldr	x22, [x22, _NROOTS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.1:
	cmp	w8, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	and	x11, x8, #0xfffffff8
	dup.2d	v0, x10
	add	x12, sp, #120
	add	x12, x12, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x8
	b.eq	LBB0_8
LBB0_6:
	add	x12, sp, #120
	add	x12, x12, x11, lsl #3
	sub	x11, x8, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x10, [x12], #8
	subs	x11, x11, #1
	b.ne	LBB0_7
LBB0_8:
Lloh13:
	adrp	x23, _FCR@GOTPAGE
Lloh14:
	ldr	x23, [x23, _FCR@GOTPAGEOFF]
	cmp	w8, #1
	b.le	LBB0_16
; %bb.9:
	mov	w24, #1
	add	x25, sp, #120
	add	x26, sp, #160
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cbz	x9, LBB0_13
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x27, #0
	ldr	x8, [x20]
	ldr	x28, [x8, x9, lsl #3]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x20, #8]
	ldr	w8, [x23]
	add	w8, w27, w8
	madd	w1, w8, w24, w28
	mov	x0, x20
	bl	_rs_modnn
	ldr	x8, [x19, x0, lsl #3]
	lsl	x9, x27, #3
	ldr	x10, [x25, x9]
	eor	x8, x10, x8
	str	x8, [x25, x9]
	add	x27, x27, #1
	ldrsw	x8, [x22]
	cmp	x27, x8
	b.lt	LBB0_12
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x26, x24, lsl #3]
	cbnz	x9, LBB0_10
	b	LBB0_13
LBB0_15:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_16:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.17:
	mov	w24, #0
	mov	x27, #0
	add	x25, sp, #24
	add	x26, sp, #120
                                        ; implicit-def: $x9
Lloh15:
	adrp	x28, _NN@GOTPAGE
Lloh16:
	ldr	x28, [x28, _NN@GOTPAGEOFF]
	cbz	x9, LBB0_19
LBB0_18:
	lsl	x19, x27, #3
	ldr	x8, [x20]
	ldr	x9, [x26, x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w9, [x28]
	ldr	w10, [x23]
	add	w8, w9, w8
	sub	w8, w8, w10
	add	w1, w24, w8
	mov	x0, x20
	bl	_rs_modnn
	str	x0, [x25, x19]
	ldr	w8, [x22]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x27, #1
	cmp	x10, w8, sxtw
	b.ge	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x9, x25, x27, lsl #3
	ldr	x9, [x9, #8]
	sub	w24, w24, #1
	mov	x27, x10
	cbnz	x9, LBB0_18
	b	LBB0_19
LBB0_21:
	add	x8, sp, #56
	str	x8, [sp]
	add	x4, sp, #24
	sub	x6, x29, #128
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	w3, #1019
	mov	w5, #0
	mov	w7, #0
	bl	_decode_rs16
	tbnz	w0, #31, LBB0_33
; %bb.22:
	cbz	w0, LBB0_32
; %bb.23:
	add	x8, sp, #56
	sub	x9, x29, #128
	mov	w10, #1015
Lloh17:
	adrp	x11, _NB_DATA@GOTPAGE
Lloh18:
	ldr	x11, [x11, _NB_DATA@GOTPAGEOFF]
	mov	w12, #-10160
	mov	w13, #-10166
Lloh19:
	adrp	x14, _SECTOR_SIZE@GOTPAGE
Lloh20:
	ldr	x14, [x14, _SECTOR_SIZE@GOTPAGEOFF]
	mov	w15, #-3
	mov	w16, #8
	mov	w17, w0
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x8, x8, #8
	add	x9, x9, #4
	subs	x17, x17, #1
	b.eq	LBB0_32
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x9]
	ldr	w2, [x11]
	sub	w3, w10, w1
	cmp	w3, w2
	b.ge	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	add	w1, w1, w2
	add	w1, w1, w1, lsl #2
	lsl	w2, w1, #1
	add	w1, w2, w12
	add	w6, w2, w13
	sbfx	x3, x6, #3, #29
	eor	x5, x3, #0x1
	ldr	w2, [x14]
	cmp	w5, w2
	ccmp	w1, #5, #4, lt
	add	w4, w2, #1
	ccmp	w5, w4, #4, le
	b.ne	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	and	w6, w6, #0x6
	ldr	x7, [x8]
	add	w6, w6, #2
	lsr	x6, x7, x6
	eor	w21, w21, w6
	cmp	w5, w2
	b.ge	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	lsl	x2, x5, #2
	ldr	w4, [x19, x2]
	eor	w4, w4, w6
	str	w4, [x19, x2]
	ldr	w2, [x14]
	add	w4, w2, #1
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x3, x3, #1
	eor	x3, x3, #0x1
	cmp	w3, w2
	ccmp	w1, w15, #4, lt
	ccmp	w3, w4, #4, le
	b.ne	LBB0_24
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	add	w1, w1, #4
	ands	w4, w1, #0x6
	sub	w4, w16, w4
	tst	w1, #0x6
	ldr	w1, [x8]
	csel	w4, wzr, w4, eq
	lsl	w1, w1, w4
	eor	w21, w21, w1
	cmp	w3, w2
	b.ge	LBB0_24
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	lsl	x2, x3, #2
	ldr	w3, [x19, x2]
	eor	w1, w3, w1
	str	w1, [x19, x2]
	b	LBB0_24
LBB0_32:
Lloh21:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w21, #0
	csneg	w0, w0, w8, eq
LBB0_33:
	ldur	x8, [x29, #-96]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.34:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NROOTS,4,2                     ; @NROOTS
	.comm	_FCR,4,2                        ; @FCR
	.comm	_NN,4,2                         ; @NN
	.comm	_NB_DATA,4,2                    ; @NB_DATA
	.comm	_SECTOR_SIZE,4,2                ; @SECTOR_SIZE
	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.no_dead_strip	_doc_ecc_decode
.subsections_via_symbols
