	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cik_init_microcode
_cik_init_microcode:                    ## @cik_init_microcode
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_CIK_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movq	_CIK_ME_UCODE_SIZE@GOTPCREL(%rip), %rcx
	movq	_CIK_CE_UCODE_SIZE@GOTPCREL(%rip), %rdx
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rdx), %xmm0
	movq	_CIK_MEC_UCODE_SIZE@GOTPCREL(%rip), %rax
	pinsrd	$3, (%rax), %xmm0
	pslld	$2, %xmm0
	pmovsxdq	%xmm0, %xmm1
	movdqa	%xmm1, -176(%rbp)               ## 16-byte Spill
	pshufd	$238, %xmm0, %xmm0              ## xmm0 = xmm0[2,3,2,3]
	pmovsxdq	%xmm0, %xmm0
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	movq	_ML_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_CIK_SDMA_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	$6, -100(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str.10(%rip), %r15
	leaq	L_.str.9(%rip), %r12
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BUG
                                        ## implicit-def: $r12
                                        ## implicit-def: $r15
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
                                        ## implicit-def: $xmm0
                                        ## kill: killed $xmm0
                                        ## implicit-def: $xmm0
                                        ## kill: killed $xmm0
	jmp	LBB0_12
LBB0_4:
	movq	_CIK_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movq	_CIK_ME_UCODE_SIZE@GOTPCREL(%rip), %rcx
	movq	_CIK_CE_UCODE_SIZE@GOTPCREL(%rip), %rdx
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rdx), %xmm0
	movq	_CIK_MEC_UCODE_SIZE@GOTPCREL(%rip), %rax
	pinsrd	$3, (%rax), %xmm0
	pslld	$2, %xmm0
	pmovsxdq	%xmm0, %xmm1
	movdqa	%xmm1, -176(%rbp)               ## 16-byte Spill
	pshufd	$238, %xmm0, %xmm0              ## xmm0 = xmm0[2,3,2,3]
	pmovsxdq	%xmm0, %xmm0
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	movq	_KV_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_CIK_SDMA_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	$7, -100(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str.6(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_6
LBB0_5:
	movq	_CIK_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movq	_CIK_ME_UCODE_SIZE@GOTPCREL(%rip), %rcx
	movq	_CIK_CE_UCODE_SIZE@GOTPCREL(%rip), %rdx
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rdx), %xmm0
	movq	_CIK_MEC_UCODE_SIZE@GOTPCREL(%rip), %rax
	pinsrd	$3, (%rax), %xmm0
	pslld	$2, %xmm0
	pmovsxdq	%xmm0, %xmm1
	movdqa	%xmm1, -176(%rbp)               ## 16-byte Spill
	pshufd	$238, %xmm0, %xmm0              ## xmm0 = xmm0[2,3,2,3]
	pmovsxdq	%xmm0, %xmm0
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	movq	_KB_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_CIK_SDMA_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	$6, -100(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str.8(%rip), %r15
	leaq	L_.str.7(%rip), %r12
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_7:
	movq	96(%r14), %rax
	xorl	%ecx, %ecx
	cmpl	$128, (%rax)
	sete	%cl
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	_CIK_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movq	_CIK_ME_UCODE_SIZE@GOTPCREL(%rip), %rcx
	movq	_CIK_CE_UCODE_SIZE@GOTPCREL(%rip), %rdx
	movq	_CIK_MEC_UCODE_SIZE@GOTPCREL(%rip), %rsi
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rdx), %xmm0
	pinsrd	$3, (%rsi), %xmm0
	pslld	$2, %xmm0
	pmovsxdq	%xmm0, %xmm1
	movdqa	%xmm1, -176(%rbp)               ## 16-byte Spill
	pshufd	$238, %xmm0, %xmm0              ## xmm0 = xmm0[2,3,2,3]
	pmovsxdq	%xmm0, %xmm0
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	movq	_BONAIRE_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_HAWAII_MC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_HAWAII_MC2_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_CIK_SDMA_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	_HAWAII_SMC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_ALIGN
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$8, -100(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_12
LBB0_8:
	movq	96(%r14), %rax
	movl	(%rax), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	je	LBB0_10
## %bb.9:
	xorl	%ecx, %ecx
	cmpl	$26207, 4(%rax)                 ## imm = 0x665F
	jne	LBB0_11
LBB0_10:
	movl	$1, %ecx
LBB0_11:
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	_CIK_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movq	_CIK_ME_UCODE_SIZE@GOTPCREL(%rip), %rcx
	movq	_CIK_CE_UCODE_SIZE@GOTPCREL(%rip), %rdx
	movq	_CIK_MEC_UCODE_SIZE@GOTPCREL(%rip), %rsi
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rdx), %xmm0
	pinsrd	$3, (%rsi), %xmm0
	pslld	$2, %xmm0
	pmovsxdq	%xmm0, %xmm1
	movdqa	%xmm1, -176(%rbp)               ## 16-byte Spill
	pshufd	$238, %xmm0, %xmm0              ## xmm0 = xmm0[2,3,2,3]
	pmovsxdq	%xmm0, %xmm0
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	movq	_BONAIRE_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_BONAIRE_MC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_BONAIRE_MC2_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_CIK_SDMA_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	_BONAIRE_SMC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_ALIGN
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$8, -100(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str.2(%rip), %r15
	leaq	L_.str.1(%rip), %r12
LBB0_12:
	leaq	L_.str.11(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_DRM_INFO
	leaq	L_.str.12(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rcx
	callq	_snprintf
	leaq	80(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	leaq	L_.str.12(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.14:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movdqa	-176(%rbp), %xmm0               ## 16-byte Reload
	movq	%xmm0, %rax
	xorl	%ecx, %ecx
	cmpq	%rax, %rsi
	je	LBB0_21
## %bb.15:
	leaq	L_.str.13(%rip), %rdi
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_17:
	testl	%r13d, %r13d
	jne	LBB0_39
## %bb.18:
	xorl	%r13d, %r13d
	jmp	LBB0_42
LBB0_19:
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.20:
	movl	$1, %ecx
LBB0_21:
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	leaq	L_.str.15(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	leaq	72(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_25
## %bb.22:
	leaq	L_.str.15(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.23:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movdqa	-176(%rbp), %xmm0               ## 16-byte Reload
	pextrq	$1, %xmm0, %rax
	cmpq	%rax, %rsi
	je	LBB0_27
## %bb.24:
	leaq	L_.str.13(%rip), %rdi
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_27
LBB0_25:
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.26:
	incl	-84(%rbp)                       ## 4-byte Folded Spill
LBB0_27:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.16(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	callq	_snprintf
	leaq	64(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_31
## %bb.28:
	leaq	L_.str.16(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.29:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movdqa	-160(%rbp), %xmm0               ## 16-byte Reload
	movq	%xmm0, %rax
	cmpq	%rax, %rsi
	je	LBB0_33
## %bb.30:
	leaq	L_.str.13(%rip), %rdi
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_33
LBB0_31:
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.32:
	incl	-84(%rbp)                       ## 4-byte Folded Spill
LBB0_33:
	movq	%r12, %r13
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.17(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	callq	_snprintf
	leaq	56(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_37
## %bb.34:
	leaq	L_.str.17(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r13, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	movq	%r13, %rbx
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.35:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movdqa	-160(%rbp), %xmm0               ## 16-byte Reload
	pextrq	$1, %xmm0, %rax
	cmpq	%rax, %rsi
	je	LBB0_45
## %bb.36:
	leaq	L_.str.13(%rip), %rdi
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_45
LBB0_37:
	movq	%r13, %rbx
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_44
LBB0_38:
	leaq	L_.str.14(%rip), %rdi
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_39:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	je	LBB0_41
## %bb.40:
	leaq	L_.str.32(%rip), %rdi
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_41:
	movq	80(%r14), %rdi
	callq	_release_firmware
	movq	$0, 80(%r14)
	movq	72(%r14), %rdi
	callq	_release_firmware
	movq	$0, 72(%r14)
	movq	64(%r14), %rdi
	callq	_release_firmware
	movq	$0, 64(%r14)
	movq	56(%r14), %rdi
	callq	_release_firmware
	movq	$0, 56(%r14)
	movq	48(%r14), %rdi
	callq	_release_firmware
	movq	$0, 48(%r14)
	movq	40(%r14), %rdi
	callq	_release_firmware
	movq	$0, 40(%r14)
	movq	32(%r14), %rdi
	callq	_release_firmware
	movq	$0, 32(%r14)
	movq	24(%r14), %rdi
	callq	_release_firmware
	movq	$0, 24(%r14)
	movq	16(%r14), %rdi
	callq	_release_firmware
	movq	$0, 16(%r14)
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_86
## %bb.43:
	movl	%r13d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	incl	-84(%rbp)                       ## 4-byte Folded Spill
LBB0_45:
	cmpl	$129, (%r14)
	jne	LBB0_49
## %bb.46:
	leaq	L_.str.18(%rip), %rdx
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movl	$30, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	leaq	48(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.47:
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.48:
	incl	-84(%rbp)                       ## 4-byte Folded Spill
LBB0_49:
	leaq	L_.str.19(%rip), %rdx
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movl	$30, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	leaq	40(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_53
## %bb.50:
	leaq	L_.str.19(%rip), %rdx
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movl	$30, %esi
	movq	%rbx, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.51:
	movq	%rbx, %r12
	movq	(%r15), %rax
	movq	(%rax), %rsi
	cmpq	-144(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_55
## %bb.52:
	leaq	L_.str.20(%rip), %rdi
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_55
LBB0_53:
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.54:
	incl	-84(%rbp)                       ## 4-byte Folded Spill
	movq	%rbx, %r12
LBB0_55:
	leaq	L_.str.21(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	leaq	32(%r14), %r15
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_59
## %bb.56:
	leaq	L_.str.21(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.57:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	xorl	%r13d, %r13d
	cmpq	-136(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_62
## %bb.61:
	leaq	L_.str.22(%rip), %rdi
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_62:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_63
LBB0_59:
	movq	(%r15), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.60:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	xorl	%r13d, %r13d
LBB0_63:
	movq	_RADEON_IS_IGP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_67
LBB0_64:
	testl	%ecx, %ecx
	movl	-100(%rbp), %eax                ## 4-byte Reload
	je	LBB0_74
## %bb.65:
	cmpl	%eax, %ecx
	jae	LBB0_82
LBB0_66:
	leaq	L_.str.31(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_16
LBB0_67:
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	leaq	L_.str.23(%rip), %rdx
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	movl	$30, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	leaq	24(%r14), %rbx
	movl	88(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_75
## %bb.68:
	leaq	L_.str.24(%rip), %rdx
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_70
## %bb.69:
	leaq	L_.str.23(%rip), %rdx
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
LBB0_70:
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	cmpq	-128(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_73
## %bb.71:
	cmpq	-120(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_73
## %bb.72:
	leaq	L_.str.25(%rip), %rdi
	leaq	-80(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_pr_err
	movq	(%rbx), %rax
	movq	(%rax), %rdx
LBB0_73:
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	movq	%r12, %r15
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	leaq	L_.str.26(%rip), %rdi
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_DRM_INFO
	jmp	LBB0_77
LBB0_74:
	movl	$0, 8(%r14)
	jmp	LBB0_17
LBB0_75:
	movq	(%rbx), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.76:
	incl	-84(%rbp)                       ## 4-byte Folded Spill
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	movq	%r12, %r15
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_77:
	testl	%ebx, %ebx
	leaq	L_.str.28(%rip), %rax
	leaq	L_.str.27(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r12, %rcx
	callq	_snprintf
	leaq	16(%r14), %r12
	movl	88(%r14), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_80
## %bb.78:
	leaq	L_.str.28(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$30, %esi
	movq	%r15, %rcx
	callq	_snprintf
	movl	88(%r14), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_83
## %bb.79:
	leaq	L_.str.29(%rip), %rdi
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movq	(%r12), %rdi
	callq	_release_firmware
	movq	$0, (%r12)
	jmp	LBB0_85
LBB0_80:
	movq	(%r12), %rdi
	callq	_radeon_ucode_validate
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.81:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	xorl	%r13d, %r13d
	movl	-100(%rbp), %eax                ## 4-byte Reload
	cmpl	%eax, %ecx
	jb	LBB0_66
LBB0_82:
	movl	$1, 8(%r14)
	jmp	LBB0_17
LBB0_83:
	movq	(%r12), %rax
	movq	(%rax), %rsi
	xorl	%r13d, %r13d
	cmpq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_85
## %bb.84:
	leaq	L_.str.30(%rip), %rdi
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_85:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_64
LBB0_86:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"BONAIRE"

L_.str.2:                               ## @.str.2
	.asciz	"bonaire"

	.comm	_CIK_PFP_UCODE_SIZE,4,2         ## @CIK_PFP_UCODE_SIZE
	.comm	_CIK_ME_UCODE_SIZE,4,2          ## @CIK_ME_UCODE_SIZE
	.comm	_CIK_CE_UCODE_SIZE,4,2          ## @CIK_CE_UCODE_SIZE
	.comm	_CIK_MEC_UCODE_SIZE,4,2         ## @CIK_MEC_UCODE_SIZE
	.comm	_BONAIRE_RLC_UCODE_SIZE,4,2     ## @BONAIRE_RLC_UCODE_SIZE
	.comm	_BONAIRE_MC_UCODE_SIZE,4,2      ## @BONAIRE_MC_UCODE_SIZE
	.comm	_BONAIRE_MC2_UCODE_SIZE,4,2     ## @BONAIRE_MC2_UCODE_SIZE
	.comm	_CIK_SDMA_UCODE_SIZE,4,2        ## @CIK_SDMA_UCODE_SIZE
	.comm	_BONAIRE_SMC_UCODE_SIZE,4,2     ## @BONAIRE_SMC_UCODE_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"HAWAII"

L_.str.4:                               ## @.str.4
	.asciz	"hawaii"

	.comm	_HAWAII_MC_UCODE_SIZE,4,2       ## @HAWAII_MC_UCODE_SIZE
	.comm	_HAWAII_MC2_UCODE_SIZE,4,2      ## @HAWAII_MC2_UCODE_SIZE
	.comm	_HAWAII_SMC_UCODE_SIZE,4,2      ## @HAWAII_SMC_UCODE_SIZE
L_.str.5:                               ## @.str.5
	.asciz	"KAVERI"

L_.str.6:                               ## @.str.6
	.asciz	"kaveri"

	.comm	_KV_RLC_UCODE_SIZE,4,2          ## @KV_RLC_UCODE_SIZE
L_.str.7:                               ## @.str.7
	.asciz	"KABINI"

L_.str.8:                               ## @.str.8
	.asciz	"kabini"

	.comm	_KB_RLC_UCODE_SIZE,4,2          ## @KB_RLC_UCODE_SIZE
L_.str.9:                               ## @.str.9
	.asciz	"MULLINS"

L_.str.10:                              ## @.str.10
	.asciz	"mullins"

	.comm	_ML_RLC_UCODE_SIZE,4,2          ## @ML_RLC_UCODE_SIZE
L_.str.11:                              ## @.str.11
	.asciz	"Loading %s Microcode\n"

L_.str.12:                              ## @.str.12
	.asciz	"radeon/%s_pfp.bin"

L_.str.13:                              ## @.str.13
	.asciz	"cik_cp: Bogus length %zu in firmware \"%s\"\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.14:                              ## @.str.14
	.asciz	"cik_fw: validation failed for firmware \"%s\"\n"

L_.str.15:                              ## @.str.15
	.asciz	"radeon/%s_me.bin"

L_.str.16:                              ## @.str.16
	.asciz	"radeon/%s_ce.bin"

L_.str.17:                              ## @.str.17
	.asciz	"radeon/%s_mec.bin"

L_.str.18:                              ## @.str.18
	.asciz	"radeon/%s_mec2.bin"

L_.str.19:                              ## @.str.19
	.asciz	"radeon/%s_rlc.bin"

L_.str.20:                              ## @.str.20
	.asciz	"cik_rlc: Bogus length %zu in firmware \"%s\"\n"

L_.str.21:                              ## @.str.21
	.asciz	"radeon/%s_sdma.bin"

L_.str.22:                              ## @.str.22
	.asciz	"cik_sdma: Bogus length %zu in firmware \"%s\"\n"

	.comm	_RADEON_IS_IGP,4,2              ## @RADEON_IS_IGP
L_.str.23:                              ## @.str.23
	.asciz	"radeon/%s_mc.bin"

L_.str.24:                              ## @.str.24
	.asciz	"radeon/%s_mc2.bin"

L_.str.25:                              ## @.str.25
	.asciz	"cik_mc: Bogus length %zu in firmware \"%s\"\n"

L_.str.26:                              ## @.str.26
	.asciz	"%s: %zu bytes\n"

L_.str.27:                              ## @.str.27
	.asciz	"radeon/%s_k_smc.bin"

L_.str.28:                              ## @.str.28
	.asciz	"radeon/%s_smc.bin"

L_.str.29:                              ## @.str.29
	.asciz	"smc: error loading firmware \"%s\"\n"

L_.str.30:                              ## @.str.30
	.asciz	"cik_smc: Bogus length %zu in firmware \"%s\"\n"

L_.str.31:                              ## @.str.31
	.asciz	"ci_fw: mixing new and old firmware!\n"

L_.str.32:                              ## @.str.32
	.asciz	"cik_cp: Failed to load firmware \"%s\"\n"

	.no_dead_strip	_cik_init_microcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cik_init_microcode
_cik_init_microcode:                    ; @cik_init_microcode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	stp	xzr, xzr, [sp, #48]             ; 16-byte Folded Spill
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
Lloh7:
	adrp	x8, _CIK_PFP_UCODE_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CIK_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh9:
	ldrsw	x8, [x8]
Lloh10:
	adrp	x9, _CIK_ME_UCODE_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CIK_ME_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh12:
	ldrsw	x8, [x9]
	lsl	x26, x8, #2
Lloh13:
	adrp	x8, _CIK_CE_UCODE_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CIK_CE_UCODE_SIZE@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
	lsl	x28, x8, #2
Lloh16:
	adrp	x8, _CIK_MEC_UCODE_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CIK_MEC_UCODE_SIZE@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
Lloh19:
	adrp	x9, _ML_RLC_UCODE_SIZE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ML_RLC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x27, x8, #2
Lloh21:
	ldrsw	x8, [x9]
	lsl	x20, x8, #2
Lloh22:
	adrp	x8, _CIK_SDMA_UCODE_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CIK_SDMA_UCODE_SIZE@GOTPAGEOFF]
Lloh24:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w8, #6
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh25:
	adrp	x22, l_.str.10@PAGE
Lloh26:
	add	x22, x22, l_.str.10@PAGEOFF
Lloh27:
	adrp	x21, l_.str.9@PAGE
Lloh28:
	add	x21, x21, l_.str.9@PAGEOFF
	b	LBB0_12
LBB0_3:
	bl	_BUG
	stp	xzr, xzr, [sp, #48]             ; 16-byte Folded Spill
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
                                        ; implicit-def: $x21
                                        ; implicit-def: $x22
                                        ; implicit-def: $x25
                                        ; implicit-def: $x26
                                        ; implicit-def: $x28
                                        ; implicit-def: $x27
                                        ; implicit-def: $x20
                                        ; implicit-def: $x8
                                        ; kill: killed $x8
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	b	LBB0_12
LBB0_4:
	stp	xzr, xzr, [sp, #48]             ; 16-byte Folded Spill
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
Lloh29:
	adrp	x8, _CIK_PFP_UCODE_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CIK_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh31:
	ldrsw	x8, [x8]
Lloh32:
	adrp	x9, _CIK_ME_UCODE_SIZE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CIK_ME_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh34:
	ldrsw	x8, [x9]
	lsl	x26, x8, #2
Lloh35:
	adrp	x8, _CIK_CE_UCODE_SIZE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CIK_CE_UCODE_SIZE@GOTPAGEOFF]
Lloh37:
	ldrsw	x8, [x8]
	lsl	x28, x8, #2
Lloh38:
	adrp	x8, _CIK_MEC_UCODE_SIZE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CIK_MEC_UCODE_SIZE@GOTPAGEOFF]
Lloh40:
	ldrsw	x8, [x8]
Lloh41:
	adrp	x9, _KV_RLC_UCODE_SIZE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _KV_RLC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x27, x8, #2
Lloh43:
	ldrsw	x8, [x9]
	lsl	x20, x8, #2
Lloh44:
	adrp	x8, _CIK_SDMA_UCODE_SIZE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CIK_SDMA_UCODE_SIZE@GOTPAGEOFF]
Lloh46:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w8, #7
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh47:
	adrp	x22, l_.str.6@PAGE
Lloh48:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh49:
	adrp	x21, l_.str.5@PAGE
Lloh50:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_5:
	stp	xzr, xzr, [sp, #48]             ; 16-byte Folded Spill
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
Lloh51:
	adrp	x8, _CIK_PFP_UCODE_SIZE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CIK_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh53:
	ldrsw	x8, [x8]
Lloh54:
	adrp	x9, _CIK_ME_UCODE_SIZE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _CIK_ME_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh56:
	ldrsw	x8, [x9]
	lsl	x26, x8, #2
Lloh57:
	adrp	x8, _CIK_CE_UCODE_SIZE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _CIK_CE_UCODE_SIZE@GOTPAGEOFF]
Lloh59:
	ldrsw	x8, [x8]
	lsl	x28, x8, #2
Lloh60:
	adrp	x8, _CIK_MEC_UCODE_SIZE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _CIK_MEC_UCODE_SIZE@GOTPAGEOFF]
Lloh62:
	ldrsw	x8, [x8]
Lloh63:
	adrp	x9, _KB_RLC_UCODE_SIZE@GOTPAGE
Lloh64:
	ldr	x9, [x9, _KB_RLC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x27, x8, #2
Lloh65:
	ldrsw	x8, [x9]
	lsl	x20, x8, #2
Lloh66:
	adrp	x8, _CIK_SDMA_UCODE_SIZE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _CIK_SDMA_UCODE_SIZE@GOTPAGEOFF]
Lloh68:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w8, #6
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh69:
	adrp	x22, l_.str.8@PAGE
Lloh70:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh71:
	adrp	x21, l_.str.7@PAGE
Lloh72:
	add	x21, x21, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_6:
	ldr	x8, [x19, #96]
	ldr	w8, [x8]
	cmp	w8, #128
	cset	w8, eq
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
Lloh73:
	adrp	x8, _CIK_PFP_UCODE_SIZE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _CIK_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh75:
	ldrsw	x8, [x8]
Lloh76:
	adrp	x9, _CIK_ME_UCODE_SIZE@GOTPAGE
Lloh77:
	ldr	x9, [x9, _CIK_ME_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh78:
	ldrsw	x8, [x9]
	lsl	x26, x8, #2
Lloh79:
	adrp	x8, _CIK_CE_UCODE_SIZE@GOTPAGE
Lloh80:
	ldr	x8, [x8, _CIK_CE_UCODE_SIZE@GOTPAGEOFF]
Lloh81:
	ldrsw	x8, [x8]
	lsl	x28, x8, #2
Lloh82:
	adrp	x8, _CIK_MEC_UCODE_SIZE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _CIK_MEC_UCODE_SIZE@GOTPAGEOFF]
Lloh84:
	ldrsw	x8, [x8]
Lloh85:
	adrp	x9, _BONAIRE_RLC_UCODE_SIZE@GOTPAGE
Lloh86:
	ldr	x9, [x9, _BONAIRE_RLC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x27, x8, #2
Lloh87:
	ldrsw	x8, [x9]
	lsl	x20, x8, #2
Lloh88:
	adrp	x8, _HAWAII_MC_UCODE_SIZE@GOTPAGE
Lloh89:
	ldr	x8, [x8, _HAWAII_MC_UCODE_SIZE@GOTPAGEOFF]
Lloh90:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
Lloh91:
	adrp	x8, _HAWAII_MC2_UCODE_SIZE@GOTPAGE
Lloh92:
	ldr	x8, [x8, _HAWAII_MC2_UCODE_SIZE@GOTPAGEOFF]
Lloh93:
	ldrsw	x8, [x8]
Lloh94:
	adrp	x9, _CIK_SDMA_UCODE_SIZE@GOTPAGE
Lloh95:
	ldr	x9, [x9, _CIK_SDMA_UCODE_SIZE@GOTPAGEOFF]
	lsl	x8, x8, #2
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
Lloh96:
	ldrsw	x8, [x9]
	lsl	x8, x8, #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh97:
	adrp	x8, _HAWAII_SMC_UCODE_SIZE@GOTPAGE
Lloh98:
	ldr	x8, [x8, _HAWAII_SMC_UCODE_SIZE@GOTPAGEOFF]
Lloh99:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_ALIGN
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	w8, #8
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh100:
	adrp	x22, l_.str.4@PAGE
Lloh101:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh102:
	adrp	x21, l_.str.3@PAGE
Lloh103:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_7:
	ldr	x8, [x19, #96]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffffe
	cmp	w9, #128
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x8, #4]
	mov	w9, #26207
	cmp	w8, w9
	b.ne	LBB0_10
LBB0_9:
	mov	w8, #1
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	b	LBB0_11
LBB0_10:
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
LBB0_11:
Lloh104:
	adrp	x8, _CIK_PFP_UCODE_SIZE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _CIK_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh106:
	ldrsw	x8, [x8]
Lloh107:
	adrp	x9, _CIK_ME_UCODE_SIZE@GOTPAGE
Lloh108:
	ldr	x9, [x9, _CIK_ME_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh109:
	ldrsw	x8, [x9]
	lsl	x26, x8, #2
Lloh110:
	adrp	x8, _CIK_CE_UCODE_SIZE@GOTPAGE
Lloh111:
	ldr	x8, [x8, _CIK_CE_UCODE_SIZE@GOTPAGEOFF]
Lloh112:
	ldrsw	x8, [x8]
	lsl	x28, x8, #2
Lloh113:
	adrp	x8, _CIK_MEC_UCODE_SIZE@GOTPAGE
Lloh114:
	ldr	x8, [x8, _CIK_MEC_UCODE_SIZE@GOTPAGEOFF]
Lloh115:
	ldrsw	x8, [x8]
Lloh116:
	adrp	x9, _BONAIRE_RLC_UCODE_SIZE@GOTPAGE
Lloh117:
	ldr	x9, [x9, _BONAIRE_RLC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x27, x8, #2
Lloh118:
	ldrsw	x8, [x9]
	lsl	x20, x8, #2
Lloh119:
	adrp	x8, _BONAIRE_MC_UCODE_SIZE@GOTPAGE
Lloh120:
	ldr	x8, [x8, _BONAIRE_MC_UCODE_SIZE@GOTPAGEOFF]
Lloh121:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
Lloh122:
	adrp	x8, _BONAIRE_MC2_UCODE_SIZE@GOTPAGE
Lloh123:
	ldr	x8, [x8, _BONAIRE_MC2_UCODE_SIZE@GOTPAGEOFF]
Lloh124:
	ldrsw	x8, [x8]
Lloh125:
	adrp	x9, _CIK_SDMA_UCODE_SIZE@GOTPAGE
Lloh126:
	ldr	x9, [x9, _CIK_SDMA_UCODE_SIZE@GOTPAGEOFF]
	lsl	x8, x8, #2
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
Lloh127:
	ldrsw	x8, [x9]
	lsl	x8, x8, #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh128:
	adrp	x8, _BONAIRE_SMC_UCODE_SIZE@GOTPAGE
Lloh129:
	ldr	x8, [x8, _BONAIRE_SMC_UCODE_SIZE@GOTPAGEOFF]
Lloh130:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_ALIGN
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	w8, #8
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh131:
	adrp	x22, l_.str.2@PAGE
Lloh132:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh133:
	adrp	x21, l_.str.1@PAGE
Lloh134:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_12:
Lloh135:
	adrp	x0, l_.str.11@PAGE
Lloh136:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x22
	bl	_DRM_INFO
Lloh137:
	adrp	x2, l_.str.12@PAGE
Lloh138:
	add	x2, x2, l_.str.12@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #80
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_16
; %bb.13:
Lloh139:
	adrp	x2, l_.str.12@PAGE
Lloh140:
	add	x2, x2, l_.str.12@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.14:
	ldr	x8, [x24]
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_22
; %bb.15:
	mov	w25, #0
	b	LBB0_18
LBB0_16:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.17:
	mov	w25, #1
LBB0_18:
Lloh141:
	adrp	x2, l_.str.15@PAGE
Lloh142:
	add	x2, x2, l_.str.15@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #72
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_24
; %bb.19:
Lloh143:
	adrp	x2, l_.str.15@PAGE
Lloh144:
	add	x2, x2, l_.str.15@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.20:
	ldr	x8, [x24]
	ldr	x8, [x8]
	cmp	x8, x26
	b.eq	LBB0_26
; %bb.21:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh145:
	adrp	x0, l_.str.13@PAGE
Lloh146:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_err
	b	LBB0_26
LBB0_22:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh147:
	adrp	x0, l_.str.13@PAGE
Lloh148:
	add	x0, x0, l_.str.13@PAGEOFF
LBB0_23:
	bl	_pr_err
Lloh149:
	adrp	x8, _EINVAL@GOTPAGE
Lloh150:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh151:
	ldr	w8, [x8]
	neg	w23, w8
	cbnz	w23, LBB0_38
	b	LBB0_41
LBB0_24:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.25:
	add	w25, w25, #1
LBB0_26:
Lloh152:
	adrp	x2, l_.str.16@PAGE
Lloh153:
	add	x2, x2, l_.str.16@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #64
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_30
; %bb.27:
Lloh154:
	adrp	x2, l_.str.16@PAGE
Lloh155:
	add	x2, x2, l_.str.16@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.28:
	ldr	x8, [x24]
	ldr	x8, [x8]
	cmp	x8, x28
	b.eq	LBB0_32
; %bb.29:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh156:
	adrp	x0, l_.str.13@PAGE
Lloh157:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_err
	b	LBB0_32
LBB0_30:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.31:
	add	w25, w25, #1
LBB0_32:
Lloh158:
	adrp	x2, l_.str.17@PAGE
Lloh159:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #56
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_36
; %bb.33:
Lloh160:
	adrp	x2, l_.str.17@PAGE
Lloh161:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.34:
	ldr	x8, [x24]
	ldr	x8, [x8]
	cmp	x8, x27
	b.eq	LBB0_44
; %bb.35:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh162:
	adrp	x0, l_.str.13@PAGE
Lloh163:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_err
	b	LBB0_44
LBB0_36:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbz	w0, LBB0_43
LBB0_37:
	add	x8, sp, #74
	str	x8, [sp]
Lloh164:
	adrp	x0, l_.str.14@PAGE
Lloh165:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_pr_err
LBB0_38:
Lloh166:
	adrp	x8, _EINVAL@GOTPAGE
Lloh167:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh168:
	ldr	w8, [x8]
	cmn	w23, w8
	b.eq	LBB0_40
; %bb.39:
	add	x8, sp, #74
	str	x8, [sp]
Lloh169:
	adrp	x0, l_.str.32@PAGE
Lloh170:
	add	x0, x0, l_.str.32@PAGEOFF
	bl	_pr_err
LBB0_40:
	ldr	x0, [x19, #80]
	bl	_release_firmware
	str	xzr, [x19, #80]
	ldr	x0, [x19, #72]
	bl	_release_firmware
	str	xzr, [x19, #72]
	ldr	x0, [x19, #64]
	bl	_release_firmware
	str	xzr, [x19, #64]
	ldr	x0, [x19, #56]
	bl	_release_firmware
	str	xzr, [x19, #56]
	ldr	x0, [x19, #48]
	bl	_release_firmware
	str	xzr, [x19, #48]
	ldr	x0, [x19, #40]
	bl	_release_firmware
	str	xzr, [x19, #40]
	ldr	x0, [x19, #32]
	bl	_release_firmware
	str	xzr, [x19, #32]
	ldr	x0, [x19, #24]
	bl	_release_firmware
	str	xzr, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_release_firmware
	str	xzr, [x19, #16]
LBB0_41:
	ldur	x8, [x29, #-88]
Lloh171:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh172:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh173:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_84
; %bb.42:
	mov	x0, x23
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_43:
	add	w25, w25, #1
LBB0_44:
	ldr	w8, [x19]
	cmp	w8, #129
	b.ne	LBB0_48
; %bb.45:
Lloh174:
	adrp	x2, l_.str.18@PAGE
Lloh175:
	add	x2, x2, l_.str.18@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #48
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.46:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.47:
	add	w25, w25, #1
LBB0_48:
Lloh176:
	adrp	x2, l_.str.19@PAGE
Lloh177:
	add	x2, x2, l_.str.19@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #40
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_52
; %bb.49:
Lloh178:
	adrp	x2, l_.str.19@PAGE
Lloh179:
	add	x2, x2, l_.str.19@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.50:
	ldr	x8, [x24]
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_54
; %bb.51:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh180:
	adrp	x0, l_.str.20@PAGE
Lloh181:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_pr_err
	b	LBB0_54
LBB0_52:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.53:
	add	w25, w25, #1
LBB0_54:
Lloh182:
	adrp	x2, l_.str.21@PAGE
Lloh183:
	add	x2, x2, l_.str.21@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #32
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_58
; %bb.55:
Lloh184:
	adrp	x2, l_.str.21@PAGE
Lloh185:
	add	x2, x2, l_.str.21@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
; %bb.56:
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_60
; %bb.57:
	mov	w23, #0
	b	LBB0_61
LBB0_58:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.59:
	add	w25, w25, #1
	b	LBB0_61
LBB0_60:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh186:
	adrp	x0, l_.str.22@PAGE
Lloh187:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_pr_err
Lloh188:
	adrp	x8, _EINVAL@GOTPAGE
Lloh189:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh190:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_61:
	ldr	w8, [x19, #4]
Lloh191:
	adrp	x9, _RADEON_IS_IGP@GOTPAGE
Lloh192:
	ldr	x9, [x9, _RADEON_IS_IGP@GOTPAGEOFF]
Lloh193:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_65
LBB0_62:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w25, LBB0_72
; %bb.63:
	cmp	w25, w8
	b.hs	LBB0_80
LBB0_64:
Lloh194:
	adrp	x0, l_.str.31@PAGE
Lloh195:
	add	x0, x0, l_.str.31@PAGEOFF
	b	LBB0_23
LBB0_65:
Lloh196:
	adrp	x2, l_.str.23@PAGE
Lloh197:
	add	x2, x2, l_.str.23@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x24, x19, #24
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_73
; %bb.66:
Lloh198:
	adrp	x2, l_.str.24@PAGE
Lloh199:
	add	x2, x2, l_.str.24@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	cbz	w0, LBB0_68
; %bb.67:
Lloh200:
	adrp	x2, l_.str.23@PAGE
Lloh201:
	add	x2, x2, l_.str.23@PAGEOFF
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x24
	bl	_request_firmware
	mov	x23, x0
	cbnz	w0, LBB0_38
LBB0_68:
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_71
; %bb.69:
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_71
; %bb.70:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh202:
	adrp	x0, l_.str.25@PAGE
Lloh203:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_pr_err
	ldr	x8, [x24]
	ldr	x8, [x8]
LBB0_71:
	ldr	w20, [sp, #68]                  ; 4-byte Folded Reload
	str	x8, [sp]
Lloh204:
	adrp	x0, l_.str.26@PAGE
Lloh205:
	add	x0, x0, l_.str.26@PAGEOFF
	add	x1, sp, #74
	bl	_DRM_INFO
	b	LBB0_75
LBB0_72:
	str	wzr, [x19, #8]
	cbnz	w23, LBB0_38
	b	LBB0_41
LBB0_73:
	ldr	x0, [x24]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.74:
	add	w25, w25, #1
	ldr	w20, [sp, #68]                  ; 4-byte Folded Reload
LBB0_75:
Lloh206:
	adrp	x8, l_.str.27@PAGE
Lloh207:
	add	x8, x8, l_.str.27@PAGEOFF
Lloh208:
	adrp	x9, l_.str.28@PAGE
Lloh209:
	add	x9, x9, l_.str.28@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x22
	bl	_snprintf
	add	x22, x19, #16
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x22
	bl	_request_firmware
	cbz	w0, LBB0_78
; %bb.76:
Lloh210:
	adrp	x2, l_.str.28@PAGE
Lloh211:
	add	x2, x2, l_.str.28@PAGEOFF
	add	x20, sp, #74
	add	x0, sp, #74
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	ldr	w2, [x19, #88]
	add	x1, sp, #74
	mov	x0, x22
	bl	_request_firmware
	cbz	w0, LBB0_81
; %bb.77:
	str	x20, [sp]
Lloh212:
	adrp	x0, l_.str.29@PAGE
Lloh213:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_pr_err
	ldr	x0, [x22]
	bl	_release_firmware
	mov	w23, #0
	str	xzr, [x22]
	b	LBB0_62
LBB0_78:
	ldr	x0, [x22]
	bl	_radeon_ucode_validate
	mov	x23, x0
	cbnz	w0, LBB0_37
; %bb.79:
	add	w25, w25, #1
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w25, w8
	b.lo	LBB0_64
LBB0_80:
	mov	w8, #1
	str	w8, [x19, #8]
	cbnz	w23, LBB0_38
	b	LBB0_41
LBB0_81:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_83
; %bb.82:
	mov	w23, #0
	b	LBB0_62
LBB0_83:
	add	x9, sp, #74
	stp	x8, x9, [sp]
Lloh214:
	adrp	x0, l_.str.30@PAGE
Lloh215:
	add	x0, x0, l_.str.30@PAGEOFF
	bl	_pr_err
Lloh216:
	adrp	x8, _EINVAL@GOTPAGE
Lloh217:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh218:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_62
LBB0_84:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh137, Lloh138
	.loh AdrpAdd	Lloh135, Lloh136
	.loh AdrpAdd	Lloh139, Lloh140
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpAdd	Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpAdd	Lloh152, Lloh153
	.loh AdrpAdd	Lloh154, Lloh155
	.loh AdrpAdd	Lloh156, Lloh157
	.loh AdrpAdd	Lloh158, Lloh159
	.loh AdrpAdd	Lloh160, Lloh161
	.loh AdrpAdd	Lloh162, Lloh163
	.loh AdrpAdd	Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpAdd	Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpAdd	Lloh174, Lloh175
	.loh AdrpAdd	Lloh176, Lloh177
	.loh AdrpAdd	Lloh178, Lloh179
	.loh AdrpAdd	Lloh180, Lloh181
	.loh AdrpAdd	Lloh182, Lloh183
	.loh AdrpAdd	Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpAdd	Lloh186, Lloh187
	.loh AdrpLdrGotLdr	Lloh191, Lloh192, Lloh193
	.loh AdrpAdd	Lloh194, Lloh195
	.loh AdrpAdd	Lloh196, Lloh197
	.loh AdrpAdd	Lloh198, Lloh199
	.loh AdrpAdd	Lloh200, Lloh201
	.loh AdrpAdd	Lloh202, Lloh203
	.loh AdrpAdd	Lloh204, Lloh205
	.loh AdrpAdd	Lloh208, Lloh209
	.loh AdrpAdd	Lloh206, Lloh207
	.loh AdrpAdd	Lloh210, Lloh211
	.loh AdrpAdd	Lloh212, Lloh213
	.loh AdrpLdrGotLdr	Lloh216, Lloh217, Lloh218
	.loh AdrpAdd	Lloh214, Lloh215
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"BONAIRE"

l_.str.2:                               ; @.str.2
	.asciz	"bonaire"

	.comm	_CIK_PFP_UCODE_SIZE,4,2         ; @CIK_PFP_UCODE_SIZE
	.comm	_CIK_ME_UCODE_SIZE,4,2          ; @CIK_ME_UCODE_SIZE
	.comm	_CIK_CE_UCODE_SIZE,4,2          ; @CIK_CE_UCODE_SIZE
	.comm	_CIK_MEC_UCODE_SIZE,4,2         ; @CIK_MEC_UCODE_SIZE
	.comm	_BONAIRE_RLC_UCODE_SIZE,4,2     ; @BONAIRE_RLC_UCODE_SIZE
	.comm	_BONAIRE_MC_UCODE_SIZE,4,2      ; @BONAIRE_MC_UCODE_SIZE
	.comm	_BONAIRE_MC2_UCODE_SIZE,4,2     ; @BONAIRE_MC2_UCODE_SIZE
	.comm	_CIK_SDMA_UCODE_SIZE,4,2        ; @CIK_SDMA_UCODE_SIZE
	.comm	_BONAIRE_SMC_UCODE_SIZE,4,2     ; @BONAIRE_SMC_UCODE_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"HAWAII"

l_.str.4:                               ; @.str.4
	.asciz	"hawaii"

	.comm	_HAWAII_MC_UCODE_SIZE,4,2       ; @HAWAII_MC_UCODE_SIZE
	.comm	_HAWAII_MC2_UCODE_SIZE,4,2      ; @HAWAII_MC2_UCODE_SIZE
	.comm	_HAWAII_SMC_UCODE_SIZE,4,2      ; @HAWAII_SMC_UCODE_SIZE
l_.str.5:                               ; @.str.5
	.asciz	"KAVERI"

l_.str.6:                               ; @.str.6
	.asciz	"kaveri"

	.comm	_KV_RLC_UCODE_SIZE,4,2          ; @KV_RLC_UCODE_SIZE
l_.str.7:                               ; @.str.7
	.asciz	"KABINI"

l_.str.8:                               ; @.str.8
	.asciz	"kabini"

	.comm	_KB_RLC_UCODE_SIZE,4,2          ; @KB_RLC_UCODE_SIZE
l_.str.9:                               ; @.str.9
	.asciz	"MULLINS"

l_.str.10:                              ; @.str.10
	.asciz	"mullins"

	.comm	_ML_RLC_UCODE_SIZE,4,2          ; @ML_RLC_UCODE_SIZE
l_.str.11:                              ; @.str.11
	.asciz	"Loading %s Microcode\n"

l_.str.12:                              ; @.str.12
	.asciz	"radeon/%s_pfp.bin"

l_.str.13:                              ; @.str.13
	.asciz	"cik_cp: Bogus length %zu in firmware \"%s\"\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.14:                              ; @.str.14
	.asciz	"cik_fw: validation failed for firmware \"%s\"\n"

l_.str.15:                              ; @.str.15
	.asciz	"radeon/%s_me.bin"

l_.str.16:                              ; @.str.16
	.asciz	"radeon/%s_ce.bin"

l_.str.17:                              ; @.str.17
	.asciz	"radeon/%s_mec.bin"

l_.str.18:                              ; @.str.18
	.asciz	"radeon/%s_mec2.bin"

l_.str.19:                              ; @.str.19
	.asciz	"radeon/%s_rlc.bin"

l_.str.20:                              ; @.str.20
	.asciz	"cik_rlc: Bogus length %zu in firmware \"%s\"\n"

l_.str.21:                              ; @.str.21
	.asciz	"radeon/%s_sdma.bin"

l_.str.22:                              ; @.str.22
	.asciz	"cik_sdma: Bogus length %zu in firmware \"%s\"\n"

	.comm	_RADEON_IS_IGP,4,2              ; @RADEON_IS_IGP
l_.str.23:                              ; @.str.23
	.asciz	"radeon/%s_mc.bin"

l_.str.24:                              ; @.str.24
	.asciz	"radeon/%s_mc2.bin"

l_.str.25:                              ; @.str.25
	.asciz	"cik_mc: Bogus length %zu in firmware \"%s\"\n"

l_.str.26:                              ; @.str.26
	.asciz	"%s: %zu bytes\n"

l_.str.27:                              ; @.str.27
	.asciz	"radeon/%s_k_smc.bin"

l_.str.28:                              ; @.str.28
	.asciz	"radeon/%s_smc.bin"

l_.str.29:                              ; @.str.29
	.asciz	"smc: error loading firmware \"%s\"\n"

l_.str.30:                              ; @.str.30
	.asciz	"cik_smc: Bogus length %zu in firmware \"%s\"\n"

l_.str.31:                              ; @.str.31
	.asciz	"ci_fw: mixing new and old firmware!\n"

l_.str.32:                              ; @.str.32
	.asciz	"cik_cp: Failed to load firmware \"%s\"\n"

	.no_dead_strip	_cik_init_microcode
.subsections_via_symbols
