	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_huc_init_early           ## -- Begin function intel_huc_init_early
	.p2align	4, 0x90
_intel_huc_init_early:                  ## @intel_huc_init_early
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_huc_to_gt
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_intel_huc_fw_init_early
	movq	%r14, %rdi
	callq	_INTEL_GEN
	cmpl	$11, %eax
	movq	_HUC_FW_VERIFIED@GOTPCREL(%rip), %rax
	cmovgeq	_HUC_LOAD_SUCCESSFUL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HUC_STATUS2@GOTPCREL(%rip), %rcx
	cmovgeq	_GEN11_HUC_KERNEL_LOAD_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN11_HUC_KERNEL_LOAD_INFO,4,2 ## @GEN11_HUC_KERNEL_LOAD_INFO
	.comm	_HUC_LOAD_SUCCESSFUL,8,3        ## @HUC_LOAD_SUCCESSFUL
	.comm	_HUC_STATUS2,4,2                ## @HUC_STATUS2
	.comm	_HUC_FW_VERIFIED,8,3            ## @HUC_FW_VERIFIED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_huc_init_early           ; -- Begin function intel_huc_init_early
	.p2align	2
_intel_huc_init_early:                  ; @intel_huc_init_early
	.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	_huc_to_gt
	ldr	x20, [x0]
	mov	x0, x19
	bl	_intel_huc_fw_init_early
	mov	x0, x20
	bl	_INTEL_GEN
Lloh0:
	adrp	x8, _HUC_LOAD_SUCCESSFUL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HUC_LOAD_SUCCESSFUL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HUC_FW_VERIFIED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HUC_FW_VERIFIED@GOTPAGEOFF]
	cmp	w0, #10
	csel	x8, x8, x9, gt
Lloh4:
	adrp	x9, _GEN11_HUC_KERNEL_LOAD_INFO@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GEN11_HUC_KERNEL_LOAD_INFO@GOTPAGEOFF]
Lloh6:
	adrp	x10, _HUC_STATUS2@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HUC_STATUS2@GOTPAGEOFF]
	ldr	x8, [x8]
	csel	x9, x9, x10, gt
	ldr	w9, [x9]
	str	w9, [x19, #16]
	stp	x8, x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN11_HUC_KERNEL_LOAD_INFO,4,2 ; @GEN11_HUC_KERNEL_LOAD_INFO
	.comm	_HUC_LOAD_SUCCESSFUL,8,3        ; @HUC_LOAD_SUCCESSFUL
	.comm	_HUC_STATUS2,4,2                ; @HUC_STATUS2
	.comm	_HUC_FW_VERIFIED,8,3            ; @HUC_FW_VERIFIED
.subsections_via_symbols
