	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fec_read_parity
_fec_read_parity:                       ## @fec_read_parity
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rax
	movl	%esi, %r15d
	movq	%rdi, %rbx
	addl	%esi, %edx
	movq	8(%rdi), %rsi
	imull	(%rsi), %edx
	movb	(%rdi), %cl
	movl	%edx, %edi
	sarl	%cl, %edi
	movslq	%edi, %r12
	shll	%cl, %edi
	subl	%edi, %edx
	movl	%edx, (%rax)
	movl	16(%rsi), %edi
	movq	8(%rsi), %rsi
	addq	%r12, %rsi
	movq	%r8, %rdx
	callq	_dm_bufio_read
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %ebx
	movslq	%r15d, %r15
	addq	8(%rax), %r12
	movq	%r13, %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_DMERR
	movq	$0, (%r14)
LBB0_2:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: FEC %llu: parity read failed (block %llu): %ld"

	.no_dead_strip	_fec_read_parity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fec_read_parity
_fec_read_parity:                       ; @fec_read_parity
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x1
	mov	x21, x0
	add	w8, w2, w1
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	mul	w8, w10, w8
	ldr	w10, [x0]
	asr	w11, w8, w10
	lsl	w10, w11, w10
	sub	w8, w8, w10
	str	w8, [x3]
	ldr	w0, [x9, #16]
	ldr	x8, [x9, #8]
	sxtw	x23, w11
	add	x1, x8, x23
	mov	x2, x4
	bl	_dm_bufio_read
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x9, x8, [x21, #8]
	ldr	w21, [x8]
	sxtw	x20, w20
	ldr	x8, [x9, #8]
	add	x23, x8, x23
	mov	x0, x22
	bl	_PTR_ERR
	mov	x4, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_DMERR
	str	xzr, [x19]
LBB0_2:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: FEC %llu: parity read failed (block %llu): %ld"

	.no_dead_strip	_fec_read_parity
.subsections_via_symbols
