	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _get_prev_page
__get_prev_page:                        ## @_get_prev_page
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%esi, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %ebx
	cmpl	$-1, %r14d
	jne	LBB0_8
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	testl	%r13d, %r13d
	movl	$0, %eax
	cmovlel	%eax, %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	__seek_helper
	testl	%eax, %eax
	jne	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, %r14d
	cmpl	%r15d, (%r12)
	jge	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%r15d, %edx
	subl	(%r12), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	__get_next_page
	movl	%eax, %ebx
	movq	_OV_EREAD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	%ebx, %r14d
	cmpl	%r15d, (%r12)
	jl	LBB0_5
LBB0_8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, (%r14)
	je	LBB0_9
LBB0_12:
	movl	%ebx, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	__seek_helper
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:
	movq	_CHUNKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	__get_next_page
	testl	%eax, %eax
	jns	LBB0_12
## %bb.11:
	movq	_OV_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNKSIZE,4,2                  ## @CHUNKSIZE
	.comm	_OV_EREAD,4,2                   ## @OV_EREAD
	.comm	_OV_EFAULT,4,2                  ## @OV_EFAULT
	.no_dead_strip	__get_prev_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _get_prev_page
__get_prev_page:                        ; @_get_prev_page
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _CHUNKSIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CHUNKSIZE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _OV_EREAD@GOTPAGE
Lloh3:
	ldr	x25, [x25, _OV_EREAD@GOTPAGEOFF]
	mov	x22, x1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x26
	cmn	w26, #1
	b.ne	LBB0_7
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w8, [x24]
	sub	w8, w22, w8
	cmp	w8, #0
	csel	w22, w8, wzr, gt
	mov	x0, x20
	mov	x1, x22
	bl	__seek_helper
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	mov	w26, #-1
	cmp	w8, w21
	b.ge	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x20]
	sub	w2, w21, w8
	mov	x0, x20
	mov	x1, x19
	bl	__get_next_page
	mov	x23, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	tbnz	w23, #31, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x20]
	mov	x26, x23
	cmp	w8, w21
	b.lt	LBB0_4
LBB0_7:
	ldr	x8, [x19]
	cbz	x8, LBB0_10
LBB0_8:
	mov	x0, x23
LBB0_9:
	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
LBB0_10:
	mov	x0, x20
	mov	x1, x23
	bl	__seek_helper
	cbnz	w0, LBB0_9
; %bb.11:
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x19
	bl	__get_next_page
Lloh4:
	adrp	x8, _OV_EFAULT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OV_EFAULT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, w23, lt
	b	LBB0_9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNKSIZE,4,2                  ; @CHUNKSIZE
	.comm	_OV_EREAD,4,2                   ; @OV_EREAD
	.comm	_OV_EFAULT,4,2                  ; @OV_EFAULT
	.no_dead_strip	__get_prev_page
.subsections_via_symbols
