	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function part_read
_part_read:                             ## @part_read
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_mtd_to_part
	movq	%rax, %r15
	movq	(%rax), %rdi
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	8(%r15), %rbx
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	*(%rdi)
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_mtd_is_eccerr
	movl	%eax, %edi
	callq	_unlikely
	movq	(%r15), %rcx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%rcx), %rax
	subq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	addq	$4, %r13
	jmp	LBB0_3
LBB0_2:
	movq	8(%rcx), %rax
	subq	-48(%rbp), %rax                 ## 8-byte Folded Reload
LBB0_3:
	addl	%eax, (%r13)
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_part_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function part_read
_part_read:                             ; @part_read
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_mtd_to_part
	mov	x24, x0
	ldr	x0, [x0]
	ldr	x8, [x24, #8]
	ldp	x26, x25, [x0, #8]
	ldr	x9, [x0]
	add	x1, x8, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	blr	x9
	mov	x20, x0
	bl	_mtd_is_eccerr
	bl	_unlikely
	ldr	x8, [x24]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x8, #16]
	sub	x8, x8, x25
	add	x19, x19, #4
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8, #8]
	sub	x8, x8, x26
LBB0_3:
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_part_read
.subsections_via_symbols
