	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_blk_next                    ## -- Begin function pt_blk_next
	.p2align	4, 0x90
_pt_blk_next:                           ## @pt_blk_next
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %r12
	cmpq	$12, %rdx
	leaq	-56(%rbp), %rbx
	movq	%rbx, %r13
	cmoveq	%r15, %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	12(%r12), %eax
	movl	%eax, 8(%r13)
	movl	8(%r12), %eax
	movl	%eax, 4(%r13)
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.4:
	cmpq	$12, %r14
	cmoveq	%r15, %rbx
	movl	$1, (%rbx)
LBB0_5:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_pt_blk_proceed
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_block_to_user
	testl	%eax, %eax
	cmovsl	%eax, %ebx
	jmp	LBB0_6
LBB0_2:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_blk_next                    ; -- Begin function pt_blk_next
	.p2align	2
_pt_blk_next:                           ; @pt_blk_next
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x19, x2
	mov	x21, x0
	mov	x23, sp
	cmp	x2, #12
	csel	x22, x20, x23, eq
	mov	x0, x22
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldp	w9, w8, [x21, #8]
	stp	w9, w8, [x22, #4]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	cmp	x19, #12
	csel	x8, x20, x23, eq
	mov	w9, #1
	str	w9, [x8]
LBB0_4:
	mov	x0, x21
	mov	x1, x22
	bl	_pt_blk_proceed
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_block_to_user
	cmp	w0, #0
	csel	w0, w0, w21, lt
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
.subsections_via_symbols
