	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_erratum_bdm70
_check_erratum_bdm70:                   ## @check_erratum_bdm70
	.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_2
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	callq	_pt_pkt_decoder_init
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	subq	(%r15), %r14
	shrq	$2, %r14
	leaq	-32(%rbp), %rdi
	movl	%r14d, %esi
	callq	_pt_pkt_sync_set
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	leaq	-32(%rbp), %rdi
	callq	_scan_for_erratum_bdm70
LBB0_7:
	movl	%eax, %ebx
	leaq	-32(%rbp), %rdi
	callq	_pt_pkt_decoder_fini
	jmp	LBB0_8
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %ebx
LBB0_8:
	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
	.no_dead_strip	_check_erratum_bdm70
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_erratum_bdm70
_check_erratum_bdm70:                   ; @check_erratum_bdm70
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_pt_pkt_decoder_init
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x8, [x21]
	sub	x8, x20, x8
	lsr	x1, x8, #2
	add	x0, sp, #8
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pt_pkt_sync_set
	tbnz	w0, #31, LBB0_5
; %bb.4:
	add	x0, sp, #8
	bl	_scan_for_erratum_bdm70
LBB0_5:
	mov	x19, x0
	add	x0, sp, #8
	bl	_pt_pkt_decoder_fini
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_8
LBB0_7:
	mov	x19, x0
LBB0_8:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.no_dead_strip	_check_erratum_bdm70
.subsections_via_symbols
