	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucode_intel_load               ## -- Begin function ucode_intel_load
	.p2align	4, 0x90
_ucode_intel_load:                      ## @ucode_intel_load
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MSR_BIOS_SIGN@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_rdmsr
	xorl	%eax, %eax
	callq	_wbinvd
	movq	_MSR_BIOS_UPDT_TRIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	callq	_wrmsr_safe
	jmp	LBB0_3
LBB0_2:
	callq	_wrmsr
LBB0_3:
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_wrmsr
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	callq	_do_cpuid
	movl	(%r15), %edi
	callq	_rdmsr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_BIOS_SIGN,4,2              ## @MSR_BIOS_SIGN
	.comm	_MSR_BIOS_UPDT_TRIG,4,2         ## @MSR_BIOS_UPDT_TRIG
	.comm	_EEXIST,4,2                     ## @EEXIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucode_intel_load               ; -- Begin function ucode_intel_load
	.p2align	2
_ucode_intel_load:                      ; @ucode_intel_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _MSR_BIOS_SIGN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MSR_BIOS_SIGN@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rdmsr
	bl	_wbinvd
Lloh5:
	adrp	x8, _MSR_BIOS_UPDT_TRIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSR_BIOS_UPDT_TRIG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	cbz	w20, LBB0_2
; %bb.1:
	bl	_wrmsr_safe
	b	LBB0_3
LBB0_2:
	bl	_wrmsr
LBB0_3:
	ldr	w0, [x21]
	mov	w1, #0
	bl	_wrmsr
	add	x1, sp, #8
	mov	w0, #0
	bl	_do_cpuid
	ldr	w0, [x21]
	bl	_rdmsr
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_BIOS_SIGN,4,2              ; @MSR_BIOS_SIGN
	.comm	_MSR_BIOS_UPDT_TRIG,4,2         ; @MSR_BIOS_UPDT_TRIG
	.comm	_EEXIST,4,2                     ; @EEXIST
.subsections_via_symbols
