	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_detect_preproduction_hw
_intel_detect_preproduction_hw:         ## @intel_detect_preproduction_hw
	.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	%rdi, %r15
	callq	_IS_HSW_EARLY_SDV
	movl	%eax, %r14d
	movq	_SKL_REVID_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_IS_SKL_REVID
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movq	_BXT_REVID_B_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_IS_BXT_REVID
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movq	_KBL_REVID_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_IS_KBL_REVID
	orl	%r14d, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	movq	_TAINT_MACHINE_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOCKDEP_STILL_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_taint                      ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SKL_REVID_F0,4,2               ## @SKL_REVID_F0
	.comm	_BXT_REVID_B_LAST,4,2           ## @BXT_REVID_B_LAST
	.comm	_KBL_REVID_A0,4,2               ## @KBL_REVID_A0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"This is a pre-production stepping. It may not be fully functional.\n"

	.comm	_TAINT_MACHINE_CHECK,4,2        ## @TAINT_MACHINE_CHECK
	.comm	_LOCKDEP_STILL_OK,4,2           ## @LOCKDEP_STILL_OK
	.no_dead_strip	_intel_detect_preproduction_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_detect_preproduction_hw
_intel_detect_preproduction_hw:         ; @intel_detect_preproduction_hw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_IS_HSW_EARLY_SDV
	mov	x20, x0
Lloh0:
	adrp	x8, _SKL_REVID_F0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SKL_REVID_F0@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_IS_SKL_REVID
	orr	w20, w0, w20
Lloh3:
	adrp	x8, _BXT_REVID_B_LAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BXT_REVID_B_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_IS_BXT_REVID
	orr	w20, w20, w0
Lloh6:
	adrp	x8, _KBL_REVID_A0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KBL_REVID_A0@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_IS_KBL_REVID
	orr	w8, w20, w0
	cbz	w8, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
Lloh11:
	adrp	x8, _TAINT_MACHINE_CHECK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TAINT_MACHINE_CHECK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _LOCKDEP_STILL_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOCKDEP_STILL_OK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_add_taint
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SKL_REVID_F0,4,2               ; @SKL_REVID_F0
	.comm	_BXT_REVID_B_LAST,4,2           ; @BXT_REVID_B_LAST
	.comm	_KBL_REVID_A0,4,2               ; @KBL_REVID_A0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"This is a pre-production stepping. It may not be fully functional.\n"

	.comm	_TAINT_MACHINE_CHECK,4,2        ; @TAINT_MACHINE_CHECK
	.comm	_LOCKDEP_STILL_OK,4,2           ; @LOCKDEP_STILL_OK
	.no_dead_strip	_intel_detect_preproduction_hw
.subsections_via_symbols
