	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfar_detect_errata
_gfar_detect_errata:                    ## @gfar_detect_errata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	movq	_GFAR_ERRATA_A002@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFAR_ERRATA_A002,4,2           ## @GFAR_ERRATA_A002
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabled errata workarounds, flags: 0x%x\n"

	.comm	_PVR_VER_E500V1,4,2             ## @PVR_VER_E500V1
	.comm	_PVR_VER_E500V2,4,2             ## @PVR_VER_E500V2
	.no_dead_strip	_gfar_detect_errata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfar_detect_errata
_gfar_detect_errata:                    ; @gfar_detect_errata
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x9, _GFAR_ERRATA_A002@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GFAR_ERRATA_A002@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w2, w10, w9
	str	w2, [x8]
	cbz	w2, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	_dev_info
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFAR_ERRATA_A002,4,2           ; @GFAR_ERRATA_A002
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabled errata workarounds, flags: 0x%x\n"

	.comm	_PVR_VER_E500V1,4,2             ; @PVR_VER_E500V1
	.comm	_PVR_VER_E500V2,4,2             ; @PVR_VER_E500V2
	.no_dead_strip	_gfar_detect_errata
.subsections_via_symbols
