	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function has_erratum_319
_has_erratum_319:                       ## @has_erratum_319
	.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
	movq	_boot_cpu_data@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	cmpl	$16, (%r15)
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movl	$-2147483647, %edi              ## imm = 0x80000001
	callq	_cpuid_ebx
	movq	_CPUID_PKGTYPE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_CPUID_PKGTYPE_F@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	_CPUID_PKGTYPE_AM2R2_AM3@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.4:
	movl	(%r14), %edi
	movl	4(%r14), %r14d
	callq	_PCI_SLOT
	movl	%eax, %edi
	movl	$2, %esi
	callq	_PCI_DEVFN
	movq	_REG_DCT0_CONFIG_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-28(%rbp), %rcx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_pci_bus_read_config_dword
	movq	_DDR3_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -28(%rbp)
	jne	LBB0_7
## %bb.5:
	cmpl	$4, 4(%r15)
	movl	$1, %ebx
	jl	LBB0_7
## %bb.6:
	sete	%al
	cmpl	$3, 8(%r15)
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_boot_cpu_data,12,2             ## @boot_cpu_data
	.comm	_CPUID_PKGTYPE_MASK,4,2         ## @CPUID_PKGTYPE_MASK
	.comm	_CPUID_PKGTYPE_F,4,2            ## @CPUID_PKGTYPE_F
	.comm	_CPUID_PKGTYPE_AM2R2_AM3,4,2    ## @CPUID_PKGTYPE_AM2R2_AM3
	.comm	_REG_DCT0_CONFIG_HIGH,4,2       ## @REG_DCT0_CONFIG_HIGH
	.comm	_DDR3_MODE,4,2                  ## @DDR3_MODE
	.no_dead_strip	_has_erratum_319
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function has_erratum_319
_has_erratum_319:                       ; @has_erratum_319
	.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
Lloh0:
	adrp	x21, _boot_cpu_data@GOTPAGE
Lloh1:
	ldr	x21, [x21, _boot_cpu_data@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #16
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w0, #-2147483647
	bl	_cpuid_ebx
Lloh2:
	adrp	x8, _CPUID_PKGTYPE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPUID_PKGTYPE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh5:
	adrp	x9, _CPUID_PKGTYPE_F@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CPUID_PKGTYPE_F@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x9, _CPUID_PKGTYPE_AM2R2_AM3@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPUID_PKGTYPE_AM2R2_AM3@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	ldp	w0, w20, [x19]
	bl	_PCI_SLOT
	mov	w1, #2
	bl	_PCI_DEVFN
	mov	x1, x0
Lloh11:
	adrp	x8, _REG_DCT0_CONFIG_HIGH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_DCT0_CONFIG_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x20
	bl	_pci_bus_read_config_dword
	ldr	w8, [sp, #12]
Lloh14:
	adrp	x9, _DDR3_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DDR3_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
LBB0_7:
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.8:
	ldr	w8, [x21, #8]
	ccmp	w8, #3, #0, eq
	cset	w0, lt
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_boot_cpu_data,12,2             ; @boot_cpu_data
	.comm	_CPUID_PKGTYPE_MASK,4,2         ; @CPUID_PKGTYPE_MASK
	.comm	_CPUID_PKGTYPE_F,4,2            ; @CPUID_PKGTYPE_F
	.comm	_CPUID_PKGTYPE_AM2R2_AM3,4,2    ; @CPUID_PKGTYPE_AM2R2_AM3
	.comm	_REG_DCT0_CONFIG_HIGH,4,2       ; @REG_DCT0_CONFIG_HIGH
	.comm	_DDR3_MODE,4,2                  ; @DDR3_MODE
	.no_dead_strip	_has_erratum_319
.subsections_via_symbols
