	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_erratum_bdm64
_handle_erratum_bdm64:                  ## @handle_erratum_bdm64
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	cmpl	$0, 4(%r14)
	je	LBB0_9
## %bb.6:
	movq	%rdi, %r15
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	callq	_pt_insn_is_branch
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	(%r14), %esi
	movl	12(%r15), %edx
	movl	(%r15), %edi
	movl	8(%r15), %ecx
	leaq	4(%r15), %r8
	movq	_bdm64_max_steps@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	callq	_pt_insn_range_is_contiguous
	testl	%eax, %eax
	jg	LBB0_9
## %bb.8:
	movl	(%r14), %eax
	movl	%eax, (%r15)
	movl	$1, %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_pte_internal@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
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_bdm64_max_steps,4,2            ## @bdm64_max_steps
	.no_dead_strip	_handle_erratum_bdm64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_erratum_bdm64
_handle_erratum_bdm64:                  ; @handle_erratum_bdm64
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_8
; %bb.2:
	cbz	x2, LBB0_8
; %bb.3:
	cbz	x3, LBB0_8
; %bb.4:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_7
; %bb.5:
	mov	x19, x0
	mov	x0, x2
	mov	x1, x3
	bl	_pt_insn_is_branch
	cbz	w0, LBB0_9
; %bb.6:
	ldr	w0, [x19]
	ldr	w1, [x20]
	ldp	w3, w2, [x19, #8]
	add	x4, x19, #4
Lloh0:
	adrp	x8, _bdm64_max_steps@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bdm64_max_steps@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	bl	_pt_insn_range_is_contiguous
	cmp	w0, #0
	b.le	LBB0_10
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x20]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_bdm64_max_steps,4,2            ; @bdm64_max_steps
	.no_dead_strip	_handle_erratum_bdm64
.subsections_via_symbols
