	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_bist
_check_bist:                            ## @check_bist
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	$2, %edx
	callq	_bist_rd
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$14, %edx
	callq	_bist_rd
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$13, %edx
	callq	_bist_rd
	movl	%r14d, %ecx
	notl	%ecx
	testb	$3, %cl
	je	LBB0_2
## %bb.1:
	shll	$8, %r12d
	addl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_pr_err
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Result: 0x%x  BIST error in ram %d, column: 0x%04x\n"

	.no_dead_strip	_check_bist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_bist
_check_bist:                            ; @check_bist
	.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
	mov	x19, x1
	mov	x22, x0
	mov	w2, #2
	bl	_bist_rd
	mov	x20, x0
	mvn	w23, w0
	mov	x0, x22
	mov	x1, x19
	mov	w2, #14
	bl	_bist_rd
	mov	x21, x0
	mov	x0, x22
	mov	x1, x19
	mov	w2, #13
	bl	_bist_rd
	tst	w23, #0x3
	b.eq	LBB0_2
; %bb.1:
	add	w3, w0, w21, lsl #8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_pr_err
LBB0_2:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Result: 0x%x  BIST error in ram %d, column: 0x%04x\n"

	.no_dead_strip	_check_bist
.subsections_via_symbols
