	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_uc_fw_fetch              ## -- Begin function intel_uc_fw_fetch
	.p2align	4, 0x90
_intel_uc_fw_fetch:                     ## @intel_uc_fw_fetch
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rsi), %r14
	movq	$0, -48(%rbp)
	xorl	%edi, %edi
	cmpq	$0, (%rsi)
	sete	%dil
	callq	_GEM_BUG_ON
	movq	%r15, %rdi
	callq	_intel_uc_fw_is_enabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_GEM_BUG_ON
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i915_inject_load_error
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	subl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	___force_fw_fetch_failures
	movq	_ESTALE@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	___force_fw_fetch_failures
	movl	56(%r15), %esi
	leaq	-48(%rbp), %rdi
	movq	%r14, %rdx
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$32, (%rax)
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	movq	-48(%rbp), %rdx
	movslq	(%rdx), %r8
	leaq	L_.str(%rip), %rsi
	movl	$32, %r9d
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
	movq	_ENODATA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rbx
	movslq	(%rbx), %rax
	movslq	16(%rbx), %rcx
	addq	8(%rbx), %rcx
	movslq	20(%rbx), %rdx
	addq	%rdx, %rcx
	subq	%rcx, %rax
	movabsq	$4611686018427387903, %rcx      ## imm = 0x3FFFFFFFFFFFFFFF
	andq	%rax, %rcx
	xorl	%edi, %edi
	cmpq	$8, %rcx
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	movq	-48(%rbp), %rdx
	movslq	(%rdx), %r8
	leaq	L_.str.1(%rip), %rsi
	movl	$32, %r9d
	jmp	LBB0_8
LBB0_6:
	movl	24(%rbx), %eax
	subl	(%rbx), %eax
	shll	$2, %eax
	movl	%eax, 4(%r15)
	movq	8(%rbx), %rax
	movq	_UOS_RSA_SCRATCH_COUNT@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	movq	8(%rbx), %r8
	movq	(%r13), %r9
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
	movq	_EPROTO@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	subl	(%rax), %r13d
LBB0_11:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	jne	LBB0_13
## %bb.12:
	movq	_INTEL_UC_FIRMWARE_MISSING@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_INTEL_UC_FIRMWARE_ERROR@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_uc_fw_change_status
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_dev_notice
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movq	_INTEL_UC_FIRMWARE_URL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_info
LBB0_15:
	movq	-48(%rbp), %rdi
	callq	_release_firmware
LBB0_16:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	8(%rbx), %eax
	shll	$2, %eax
	movl	%eax, 8(%r15)
	movslq	4(%r15), %rcx
	cltq
	leaq	(%rcx,%rax), %r13
	addq	$32, %r13
	movq	-48(%rbp), %rax
	movslq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	%rax, %r13
	seta	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	movq	-48(%rbp), %rdx
	movslq	(%rdx), %r8
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r13, %r9
	callq	_dev_warn
	movq	_ENOEXEC@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_19:
	movq	%r15, %rdi
	callq	___intel_uc_fw_get_upload_size
	movq	%rax, %r13
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setae	%dil
	callq	_unlikely
	movl	(%r15), %edi
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	movq	(%r12), %r9
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r13, %r8
	callq	_dev_warn
	movq	_E2BIG@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_21:
	cmpl	$128, %edi
	je	LBB0_24
## %bb.22:
	cmpl	$129, %edi
	jne	LBB0_26
## %bb.23:
	movq	_CSS_SW_VERSION_GUC_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	_FIELD_GET
	movq	%rax, 16(%r15)
	movq	_CSS_SW_VERSION_GUC_MINOR@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_24:
	movq	_CSS_SW_VERSION_HUC_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	_FIELD_GET
	movq	%rax, 16(%r15)
	movq	_CSS_SW_VERSION_HUC_MINOR@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	_FIELD_GET
	movq	%rax, 24(%r15)
	jmp	LBB0_27
LBB0_26:
	callq	_MISSING_CASE
LBB0_27:
	movq	16(%r15), %rax
	cmpq	32(%r15), %rax
	jne	LBB0_29
## %bb.28:
	movq	24(%r15), %rax
	cmpq	40(%r15), %rax
	jge	LBB0_30
LBB0_29:
	movl	(%r15), %edi
	callq	_intel_uc_fw_type_repr
	movl	56(%r15), %ecx
	movl	16(%r15), %r8d
	movq	24(%r15), %r9
	movups	32(%r15), %xmm0
	movups	%xmm0, (%rsp)
	leaq	L_.str.4(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_notice
	movq	%r15, %rdi
	callq	_intel_uc_fw_is_overridden
	testl	%eax, %eax
	je	LBB0_32
LBB0_30:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rsi
	movslq	(%rax), %rdx
	movq	%r12, %rdi
	callq	_i915_gem_object_create_shmem_from_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_33
## %bb.31:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_11
LBB0_32:
	movq	_ENOEXEC@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_33:
	movq	%rbx, 64(%r15)
	movq	-48(%rbp), %rax
	movslq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	_INTEL_UC_FIRMWARE_AVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_uc_fw_change_status
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESTALE,4,2                     ## @ESTALE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s firmware %s: invalid size: %zu < %zu\n"

	.comm	_ENODATA,4,2                    ## @ENODATA
L_.str.1:                               ## @.str.1
	.asciz	"%s firmware %s: unexpected header size: %zu != %zu\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_UOS_RSA_SCRATCH_COUNT,8,3      ## @UOS_RSA_SCRATCH_COUNT
L_.str.2:                               ## @.str.2
	.asciz	"%s firmware %s: unexpected key size: %u != %u\n"

	.comm	_ENOEXEC,4,2                    ## @ENOEXEC
L_.str.3:                               ## @.str.3
	.asciz	"%s firmware %s: invalid size: %zu > %zu\n"

	.comm	_E2BIG,4,2                      ## @E2BIG
	.comm	_CSS_SW_VERSION_GUC_MAJOR,4,2   ## @CSS_SW_VERSION_GUC_MAJOR
	.comm	_CSS_SW_VERSION_GUC_MINOR,4,2   ## @CSS_SW_VERSION_GUC_MINOR
	.comm	_CSS_SW_VERSION_HUC_MAJOR,4,2   ## @CSS_SW_VERSION_HUC_MAJOR
	.comm	_CSS_SW_VERSION_HUC_MINOR,4,2   ## @CSS_SW_VERSION_HUC_MINOR
L_.str.4:                               ## @.str.4
	.asciz	"%s firmware %s: unexpected version: %u.%u != %u.%u\n"

	.comm	_INTEL_UC_FIRMWARE_AVAILABLE,4,2 ## @INTEL_UC_FIRMWARE_AVAILABLE
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_INTEL_UC_FIRMWARE_MISSING,4,2  ## @INTEL_UC_FIRMWARE_MISSING
	.comm	_INTEL_UC_FIRMWARE_ERROR,4,2    ## @INTEL_UC_FIRMWARE_ERROR
L_.str.5:                               ## @.str.5
	.asciz	"%s firmware %s: fetch failed with error %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s firmware(s) can be downloaded from %s\n"

	.comm	_INTEL_UC_FIRMWARE_URL,4,2      ## @INTEL_UC_FIRMWARE_URL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_uc_fw_fetch              ; -- Begin function intel_uc_fw_fetch
	.p2align	2
_intel_uc_fw_fetch:                     ; @intel_uc_fw_fetch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #24]
	ldp	x8, x20, [x1]
	cmp	x8, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
	mov	x0, x19
	bl	_intel_uc_fw_is_enabled
	cmp	w0, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x21
	bl	_i915_inject_load_error
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w2, w8
	mov	x0, x19
	mov	x1, x21
	bl	___force_fw_fetch_failures
Lloh6:
	adrp	x8, _ESTALE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ESTALE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w2, w8
	mov	x0, x19
	mov	x1, x21
	bl	___force_fw_fetch_failures
	ldr	w1, [x19, #56]
	add	x0, sp, #24
	mov	x2, x20
	bl	_request_firmware
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	cmp	w8, #32
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
	ldr	x8, [sp, #24]
	ldrsw	x4, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w5, #32
	bl	_dev_warn
Lloh11:
	adrp	x8, _ENODATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	ldr	x8, [sp, #24]
	ldr	x23, [x8, #8]
	ldrsw	x8, [x23]
	ldr	x9, [x23, #8]
	ldpsw	x10, x11, [x23, #16]
	add	x9, x9, x10
	add	x9, x9, x11
	sub	x8, x8, x9
	and	x8, x8, #0x3fffffffffffffff
	cmp	x8, #8
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
	ldr	x8, [sp, #24]
	ldrsw	x4, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w5, #32
	b	LBB0_8
LBB0_6:
	ldr	w8, [x23, #24]
	ldr	w9, [x23]
	sub	w8, w8, w9
	lsl	w8, w8, #2
	str	w8, [x19, #4]
	ldr	x8, [x23, #8]
Lloh15:
	adrp	x22, _UOS_RSA_SCRATCH_COUNT@GOTPAGE
Lloh16:
	ldr	x22, [x22, _UOS_RSA_SCRATCH_COUNT@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.7:
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
	ldr	x4, [x23, #8]
	ldr	x5, [x22]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
LBB0_8:
	bl	_dev_warn
Lloh19:
	adrp	x8, _EPROTO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
Lloh21:
	adrp	x8, _ENOENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh23:
	adrp	x9, _INTEL_UC_FIRMWARE_MISSING@GOTPAGE
Lloh24:
	ldr	x9, [x9, _INTEL_UC_FIRMWARE_MISSING@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x10, _INTEL_UC_FIRMWARE_ERROR@GOTPAGE
Lloh27:
	ldr	x10, [x10, _INTEL_UC_FIRMWARE_ERROR@GOTPAGEOFF]
	cmn	w22, w8
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_uc_fw_change_status
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x4, x22
	bl	_dev_notice
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
Lloh30:
	adrp	x8, _INTEL_UC_FIRMWARE_URL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _INTEL_UC_FIRMWARE_URL@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_info
LBB0_11:
	ldr	x0, [sp, #24]
	bl	_release_firmware
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldr	w8, [x23, #8]
	lsl	w8, w8, #2
	str	w8, [x19, #8]
	ldrsw	x9, [x19, #4]
	add	x8, x9, w8, sxtw
	add	x22, x8, #32
	ldr	x8, [sp, #24]
	ldrsw	x8, [x8]
	cmp	x22, x8
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
	ldr	x8, [sp, #24]
	ldrsw	x4, [x8]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x5, x22
	bl	_dev_warn
LBB0_15:
Lloh37:
	adrp	x8, _ENOEXEC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOEXEC@GOTPAGEOFF]
	b	LBB0_9
LBB0_16:
	mov	x0, x19
	bl	___intel_uc_fw_get_upload_size
	mov	x22, x0
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, hs
	bl	_unlikely
	mov	x8, x0
	ldr	w0, [x19]
	cbz	x8, LBB0_18
; %bb.17:
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
	ldr	x5, [x21]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x4, x22
	bl	_dev_warn
Lloh41:
	adrp	x8, _E2BIG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
	b	LBB0_9
LBB0_18:
	cmp	w0, #128
	b.eq	LBB0_21
; %bb.19:
	cmp	w0, #129
	b.ne	LBB0_23
; %bb.20:
Lloh43:
	adrp	x8, _CSS_SW_VERSION_GUC_MAJOR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CSS_SW_VERSION_GUC_MAJOR@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	w1, [x23, #28]
	bl	_FIELD_GET
	str	x0, [x19, #16]
Lloh46:
	adrp	x8, _CSS_SW_VERSION_GUC_MINOR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CSS_SW_VERSION_GUC_MINOR@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh48:
	adrp	x8, _CSS_SW_VERSION_HUC_MAJOR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CSS_SW_VERSION_HUC_MAJOR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	w1, [x23, #28]
	bl	_FIELD_GET
	str	x0, [x19, #16]
Lloh51:
	adrp	x8, _CSS_SW_VERSION_HUC_MINOR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CSS_SW_VERSION_HUC_MINOR@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	ldr	w1, [x23, #28]
	bl	_FIELD_GET
	str	x0, [x19, #24]
	b	LBB0_24
LBB0_23:
	bl	_MISSING_CASE
LBB0_24:
	ldr	x8, [x19, #16]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.25:
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #40]
	cmp	x8, x9
	b.ge	LBB0_27
LBB0_26:
	ldr	w0, [x19]
	bl	_intel_uc_fw_type_repr
	mov	x2, x0
	ldr	w3, [x19, #56]
	ldr	w4, [x19, #16]
	ldur	q0, [x19, #24]
	ldr	x8, [x19, #40]
	str	x8, [sp, #16]
Lloh53:
	adrp	x1, l_.str.4@PAGE
Lloh54:
	add	x1, x1, l_.str.4@PAGEOFF
	str	q0, [sp]
	mov	x0, x20
	bl	_dev_notice
	mov	x0, x19
	bl	_intel_uc_fw_is_overridden
	cbz	w0, LBB0_15
LBB0_27:
	ldr	x8, [sp, #24]
	ldr	x1, [x8, #8]
	ldrsw	x2, [x8]
	mov	x0, x21
	bl	_i915_gem_object_create_shmem_from_data
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_29
; %bb.28:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_10
LBB0_29:
	str	x21, [x19, #64]
	ldr	x8, [sp, #24]
	ldrsw	x8, [x8]
	str	x8, [x19, #48]
Lloh55:
	adrp	x8, _INTEL_UC_FIRMWARE_AVAILABLE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _INTEL_UC_FIRMWARE_AVAILABLE@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_uc_fw_change_status
	mov	w22, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESTALE,4,2                     ; @ESTALE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s firmware %s: invalid size: %zu < %zu\n"

	.comm	_ENODATA,4,2                    ; @ENODATA
l_.str.1:                               ; @.str.1
	.asciz	"%s firmware %s: unexpected header size: %zu != %zu\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_UOS_RSA_SCRATCH_COUNT,8,3      ; @UOS_RSA_SCRATCH_COUNT
l_.str.2:                               ; @.str.2
	.asciz	"%s firmware %s: unexpected key size: %u != %u\n"

	.comm	_ENOEXEC,4,2                    ; @ENOEXEC
l_.str.3:                               ; @.str.3
	.asciz	"%s firmware %s: invalid size: %zu > %zu\n"

	.comm	_E2BIG,4,2                      ; @E2BIG
	.comm	_CSS_SW_VERSION_GUC_MAJOR,4,2   ; @CSS_SW_VERSION_GUC_MAJOR
	.comm	_CSS_SW_VERSION_GUC_MINOR,4,2   ; @CSS_SW_VERSION_GUC_MINOR
	.comm	_CSS_SW_VERSION_HUC_MAJOR,4,2   ; @CSS_SW_VERSION_HUC_MAJOR
	.comm	_CSS_SW_VERSION_HUC_MINOR,4,2   ; @CSS_SW_VERSION_HUC_MINOR
l_.str.4:                               ; @.str.4
	.asciz	"%s firmware %s: unexpected version: %u.%u != %u.%u\n"

	.comm	_INTEL_UC_FIRMWARE_AVAILABLE,4,2 ; @INTEL_UC_FIRMWARE_AVAILABLE
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_INTEL_UC_FIRMWARE_MISSING,4,2  ; @INTEL_UC_FIRMWARE_MISSING
	.comm	_INTEL_UC_FIRMWARE_ERROR,4,2    ; @INTEL_UC_FIRMWARE_ERROR
l_.str.5:                               ; @.str.5
	.asciz	"%s firmware %s: fetch failed with error %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s firmware(s) can be downloaded from %s\n"

	.comm	_INTEL_UC_FIRMWARE_URL,4,2      ; @INTEL_UC_FIRMWARE_URL
.subsections_via_symbols
