	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function part_read_oob
_part_read_oob:                         ## @part_read_oob
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_PART
	movq	(%r14), %rcx
	cmpq	%rbx, %rcx
	jle	LBB0_1
## %bb.2:
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rdx
	addq	%rbx, %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rax), %rdi
	addq	(%rax), %rbx
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	*(%rdi)
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	_EUCLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_7
## %bb.6:
	incl	12(%r14)
LBB0_7:
	movq	_EBADMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_9
## %bb.8:
	incl	8(%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EUCLEAN,4,2                    ## @EUCLEAN
	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.no_dead_strip	_part_read_oob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function part_read_oob
_part_read_oob:                         ; @part_read_oob
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_PART
	ldr	x8, [x19]
	cmp	x8, x21
	b.le	LBB0_3
; %bb.1:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_5
; %bb.2:
	ldr	x9, [x20]
	add	x9, x9, x21
	cmp	x9, x8
	b.le	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x9, x8, [x0]
	ldr	x10, [x8]
	add	x1, x9, x21
	mov	x0, x8
	mov	x2, x20
	blr	x10
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.6:
Lloh3:
	adrp	x8, _EUCLEAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EUCLEAN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_8:
Lloh6:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_4
; %bb.9:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EUCLEAN,4,2                    ; @EUCLEAN
	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.no_dead_strip	_part_read_oob
.subsections_via_symbols
