	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r100_errata
_r100_errata:                           ## @r100_errata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, 8(%rdi)
	movq	(%rdi), %rax
	movq	_CHIP_RV200@GOTPCREL(%rip), %rcx
	movq	_CHIP_RS200@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	cmpq	%rdx, %rax
	jne	LBB0_3
LBB0_2:
	movq	_CHIP_ERRATA_PLL_DUMMYREADS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdi)
LBB0_3:
	movq	_CHIP_RV100@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	je	LBB0_6
## %bb.4:
	movq	_CHIP_RS100@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	je	LBB0_6
## %bb.5:
	cmpq	%rdx, %rax
	je	LBB0_6
## %bb.7:
	popq	%rbp
	retq
LBB0_6:
	movq	_CHIP_ERRATA_PLL_DELAY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_RV200,8,3                 ## @CHIP_RV200
	.comm	_CHIP_RS200,8,3                 ## @CHIP_RS200
	.comm	_CHIP_ERRATA_PLL_DUMMYREADS,4,2 ## @CHIP_ERRATA_PLL_DUMMYREADS
	.comm	_CHIP_RV100,8,3                 ## @CHIP_RV100
	.comm	_CHIP_RS100,8,3                 ## @CHIP_RS100
	.comm	_CHIP_ERRATA_PLL_DELAY,4,2      ## @CHIP_ERRATA_PLL_DELAY
	.no_dead_strip	_r100_errata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r100_errata
_r100_errata:                           ; @r100_errata
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	str	wzr, [x0, #8]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _CHIP_RV200@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CHIP_RV200@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x10]
Lloh3:
	adrp	x10, _CHIP_RS200@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CHIP_RS200@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x11
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _CHIP_ERRATA_PLL_DUMMYREADS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHIP_ERRATA_PLL_DUMMYREADS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #8]
LBB0_2:
Lloh9:
	adrp	x11, _CHIP_RV100@GOTPAGE
Lloh10:
	ldr	x11, [x11, _CHIP_RV100@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
Lloh12:
	adrp	x12, _CHIP_RS100@GOTPAGE
Lloh13:
	ldr	x12, [x12, _CHIP_RS100@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	cmp	x9, x11
	ccmp	x9, x12, #4, ne
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x9, _CHIP_ERRATA_PLL_DELAY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CHIP_ERRATA_PLL_DELAY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0, #8]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_RV200,8,3                 ; @CHIP_RV200
	.comm	_CHIP_RS200,8,3                 ; @CHIP_RS200
	.comm	_CHIP_ERRATA_PLL_DUMMYREADS,4,2 ; @CHIP_ERRATA_PLL_DUMMYREADS
	.comm	_CHIP_RV100,8,3                 ; @CHIP_RV100
	.comm	_CHIP_RS100,8,3                 ; @CHIP_RS100
	.comm	_CHIP_ERRATA_PLL_DELAY,4,2      ; @CHIP_ERRATA_PLL_DELAY
	.no_dead_strip	_r100_errata
.subsections_via_symbols
