	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_blk_proceed_to_ptwrite
_pt_blk_proceed_to_ptwrite:             ## @pt_blk_proceed_to_ptwrite
	.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
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%r8, %rbx
	testq	%r8, %r8
	je	LBB0_2
## %bb.3:
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.4:
	movq	_pt_insn_is_ptwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_pt_blk_proceed_to_insn
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movq	$0, 8(%rbx)
	jmp	LBB0_8
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_6:
	movl	(%rbx), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_pt_blk_proceed_to_ip
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_pt_blk_proceed_one_insn
	testl	%eax, %eax
	jle	LBB0_9
LBB0_8:
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pt_insn_is_ptwrite,4,2         ## @pt_insn_is_ptwrite
	.no_dead_strip	_pt_blk_proceed_to_ptwrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_blk_proceed_to_ptwrite
_pt_blk_proceed_to_ptwrite:             ; @pt_blk_proceed_to_ptwrite
	.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
	cbz	x2, LBB0_5
; %bb.1:
	mov	x21, x4
	cbz	x4, LBB0_5
; %bb.2:
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _pt_insn_is_ptwrite@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pt_insn_is_ptwrite@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_pt_blk_proceed_to_insn
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.4:
	ldr	w8, [x19]
	str	w8, [x21]
	str	xzr, [x21, #8]
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	ldr	w4, [x21]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_pt_blk_proceed_to_ip
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_pt_blk_proceed_one_insn
	cmp	w0, #1
	b.lt	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pt_insn_is_ptwrite,4,2         ; @pt_insn_is_ptwrite
	.no_dead_strip	_pt_blk_proceed_to_ptwrite
.subsections_via_symbols
