	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_insn_at_disabled_event
_pt_insn_at_disabled_event:             ## @pt_insn_at_disabled_event
	.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	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	%rcx, %r13
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.6:
	movq	%rdi, %r15
	cmpq	$0, 8(%rdi)
	je	LBB0_13
## %bb.7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_insn_is_far_branch
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_insn_changes_cpl
	testq	%rax, %rax
	jne	LBB0_21
## %bb.9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pt_insn_changes_cr3
	testq	%rax, %rax
	jne	LBB0_21
## %bb.10:
	cmpq	$0, 8(%r13)
	je	LBB0_20
## %bb.11:
	cmpq	$0, (%r13)
	je	LBB0_20
## %bb.12:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_pt_insn_at_skl014
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_20
LBB0_4:
	movq	_pte_internal@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_20
## %bb.14:
	movl	$1, %ebx
	movl	$369, %ecx                      ## imm = 0x171
	btl	%eax, %ecx
	jb	LBB0_21
## %bb.15:
	movl	$520, %ecx                      ## imm = 0x208
	btl	%eax, %ecx
	jae	LBB0_16
## %bb.18:
	cmpl	$0, 4(%r14)
	je	LBB0_21
## %bb.19:
	movl	4(%r12), %eax
	addl	8(%r12), %eax
	addl	(%r14), %eax
	cmpl	(%r15), %eax
	je	LBB0_21
	jmp	LBB0_20
LBB0_16:
	cmpl	$7, %eax
	jne	LBB0_20
## %bb.17:
	movq	_pte_bad_insn@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_fallthrough,4,2                ## @fallthrough
	.comm	_pte_bad_insn,4,2               ## @pte_bad_insn
	.no_dead_strip	_pt_insn_at_disabled_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_insn_at_disabled_event
_pt_insn_at_disabled_event:             ; @pt_insn_at_disabled_event
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_11
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_11
; %bb.3:
	mov	x22, x3
	cbz	x3, LBB0_11
; %bb.4:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_13
; %bb.5:
	mov	x0, x21
	mov	x1, x19
	bl	_pt_insn_is_far_branch
	cbnz	x0, LBB0_18
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	bl	_pt_insn_changes_cpl
	cbnz	x0, LBB0_18
; %bb.7:
	mov	x0, x21
	mov	x1, x19
	bl	_pt_insn_changes_cr3
	cbnz	x0, LBB0_18
; %bb.8:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_22
; %bb.9:
	ldr	x8, [x22]
	cbz	x8, LBB0_22
; %bb.10:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	bl	_pt_insn_at_skl014
	cbnz	x0, LBB0_18
	b	LBB0_22
LBB0_11:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_13:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_22
; %bb.14:
	mov	w0, #1
	lsl	w9, w0, w8
	mov	w10, #369
	tst	w9, w10
	b.ne	LBB0_19
; %bb.15:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #520
	tst	w9, w10
	b.eq	LBB0_20
; %bb.16:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_18
; %bb.17:
	ldp	w9, w8, [x21, #4]
	ldr	w10, [x19]
	add	w8, w9, w8
	add	w8, w8, w10
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_22
LBB0_18:
	mov	w0, #1
LBB0_19:
	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_20:
	cmp	w8, #7
	b.ne	LBB0_22
; %bb.21:
Lloh2:
	adrp	x8, _pte_bad_insn@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_bad_insn@GOTPAGEOFF]
	b	LBB0_12
LBB0_22:
	mov	w0, #0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_fallthrough,4,2                ; @fallthrough
	.comm	_pte_bad_insn,4,2               ; @pte_bad_insn
	.no_dead_strip	_pt_insn_at_disabled_event
.subsections_via_symbols
