	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ni_init_microcode              ## -- Begin function ni_init_microcode
	.p2align	4, 0x90
_ni_init_microcode:                     ## @ni_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	movl	(%r15), %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	_EVERGREEN_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	shlq	$2, %r12
	movq	_EVERGREEN_PM4_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_EVERGREEN_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_BTC_MC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_TURKS_SMC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_ALIGN
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	callq	_BUG
                                        ## implicit-def: $r14
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $r12
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	jmp	LBB0_9
LBB0_4:
	movq	_CAYMAN_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	shlq	$2, %r12
	movq	_CAYMAN_PM4_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_CAYMAN_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_CAYMAN_MC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_CAYMAN_SMC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_ALIGN
	leaq	L_.str.5(%rip), %r14
	jmp	LBB0_8
LBB0_5:
	movq	_EVERGREEN_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	shlq	$2, %r12
	movq	_EVERGREEN_PM4_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_EVERGREEN_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_BTC_MC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_CAICOS_SMC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_ALIGN
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str.4(%rip), %r14
	jmp	LBB0_9
LBB0_6:
	movq	_EVERGREEN_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	shlq	$2, %r12
	movq	_EVERGREEN_PM4_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_EVERGREEN_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_BTC_MC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_BARTS_SMC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_ALIGN
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_9
LBB0_7:
	movq	_CAYMAN_PFP_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	shlq	$2, %r12
	movq	_CAYMAN_PM4_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_ARUBA_RLC_UCODE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str.6(%rip), %r14
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_8:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
LBB0_9:
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	callq	_DRM_INFO
	leaq	L_.str.8(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$30, %esi
	movq	%r14, %rcx
	callq	_snprintf
	leaq	32(%r15), %rbx
	movl	48(%r15), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_15
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.17(%rip), %rdi
	leaq	-80(%rbp), %rsi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_12:
	movq	32(%r15), %rdi
	callq	_release_firmware
	movq	$0, 32(%r15)
	movq	24(%r15), %rdi
	callq	_release_firmware
	movq	$0, 24(%r15)
	movq	16(%r15), %rdi
	callq	_release_firmware
	movq	$0, 16(%r15)
	movq	8(%r15), %rdi
	callq	_release_firmware
	movq	$0, 8(%r15)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.14:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	cmpq	%r12, %rsi
	jne	LBB0_26
## %bb.16:
	leaq	L_.str.10(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$30, %esi
	movq	%r14, %rcx
	callq	_snprintf
	leaq	24(%r15), %rbx
	movl	48(%r15), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.17:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	cmpq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	je	LBB0_19
## %bb.18:
	leaq	L_.str.9(%rip), %rdi
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_19:
	leaq	L_.str.11(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$30, %esi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	_snprintf
	leaq	16(%r15), %rbx
	movl	48(%r15), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.20:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	xorl	%r13d, %r13d
	cmpq	-96(%rbp), %rsi                 ## 8-byte Folded Reload
	je	LBB0_22
## %bb.21:
	leaq	L_.str.12(%rip), %rdi
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_22:
	movq	_RADEON_IS_IGP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_28
## %bb.23:
	leaq	L_.str.13(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$30, %esi
	movq	%r14, %rcx
	callq	_snprintf
	leaq	8(%r15), %rbx
	movl	48(%r15), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_request_firmware
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.24:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	xorl	%r13d, %r13d
	cmpq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	je	LBB0_13
## %bb.25:
	leaq	L_.str.14(%rip), %rdi
	jmp	LBB0_27
LBB0_26:
	leaq	L_.str.9(%rip), %rdi
LBB0_27:
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_28:
	testl	%r13d, %r13d
	jne	LBB0_10
## %bb.29:
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_30:
	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_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

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

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

	.comm	_EVERGREEN_PFP_UCODE_SIZE,4,2   ## @EVERGREEN_PFP_UCODE_SIZE
	.comm	_EVERGREEN_PM4_UCODE_SIZE,4,2   ## @EVERGREEN_PM4_UCODE_SIZE
	.comm	_EVERGREEN_RLC_UCODE_SIZE,4,2   ## @EVERGREEN_RLC_UCODE_SIZE
	.comm	_BTC_MC_UCODE_SIZE,4,2          ## @BTC_MC_UCODE_SIZE
	.comm	_BARTS_SMC_UCODE_SIZE,4,2       ## @BARTS_SMC_UCODE_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"TURKS"

	.comm	_TURKS_SMC_UCODE_SIZE,4,2       ## @TURKS_SMC_UCODE_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"CAICOS"

	.comm	_CAICOS_SMC_UCODE_SIZE,4,2      ## @CAICOS_SMC_UCODE_SIZE
L_.str.5:                               ## @.str.5
	.asciz	"CAYMAN"

	.comm	_CAYMAN_PFP_UCODE_SIZE,4,2      ## @CAYMAN_PFP_UCODE_SIZE
	.comm	_CAYMAN_PM4_UCODE_SIZE,4,2      ## @CAYMAN_PM4_UCODE_SIZE
	.comm	_CAYMAN_RLC_UCODE_SIZE,4,2      ## @CAYMAN_RLC_UCODE_SIZE
	.comm	_CAYMAN_MC_UCODE_SIZE,4,2       ## @CAYMAN_MC_UCODE_SIZE
	.comm	_CAYMAN_SMC_UCODE_SIZE,4,2      ## @CAYMAN_SMC_UCODE_SIZE
L_.str.6:                               ## @.str.6
	.asciz	"ARUBA"

	.comm	_ARUBA_RLC_UCODE_SIZE,4,2       ## @ARUBA_RLC_UCODE_SIZE
L_.str.7:                               ## @.str.7
	.asciz	"Loading %s Microcode\n"

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

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

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.10:                              ## @.str.10
	.asciz	"radeon/%s_me.bin"

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

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

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

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ni_init_microcode              ; -- Begin function ni_init_microcode
	.p2align	2
_ni_init_microcode:                     ; @ni_init_microcode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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]
	str	x8, [sp, #56]
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:
Lloh7:
	adrp	x8, _EVERGREEN_PFP_UCODE_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVERGREEN_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh9:
	ldrsw	x8, [x8]
	lsl	x27, x8, #2
Lloh10:
	adrp	x8, _EVERGREEN_PM4_UCODE_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EVERGREEN_PM4_UCODE_SIZE@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	lsl	x26, x8, #2
Lloh13:
	adrp	x8, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
Lloh16:
	adrp	x9, _BTC_MC_UCODE_SIZE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BTC_MC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh18:
	ldrsw	x8, [x9]
	lsl	x24, x8, #2
Lloh19:
	adrp	x8, _TURKS_SMC_UCODE_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TURKS_SMC_UCODE_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_ALIGN
Lloh22:
	adrp	x21, l_.str.2@PAGE
Lloh23:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh24:
	adrp	x20, l_.str.3@PAGE
Lloh25:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_3:
	bl	_BUG
                                        ; implicit-def: $x20
                                        ; implicit-def: $x21
                                        ; implicit-def: $x27
                                        ; implicit-def: $x26
                                        ; implicit-def: $x25
                                        ; implicit-def: $x24
	b	LBB0_9
LBB0_4:
Lloh26:
	adrp	x8, _CAYMAN_PFP_UCODE_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CAYMAN_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh28:
	ldrsw	x8, [x8]
	lsl	x27, x8, #2
Lloh29:
	adrp	x8, _CAYMAN_PM4_UCODE_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CAYMAN_PM4_UCODE_SIZE@GOTPAGEOFF]
Lloh31:
	ldrsw	x8, [x8]
	lsl	x26, x8, #2
Lloh32:
	adrp	x8, _CAYMAN_RLC_UCODE_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CAYMAN_RLC_UCODE_SIZE@GOTPAGEOFF]
Lloh34:
	ldrsw	x8, [x8]
Lloh35:
	adrp	x9, _CAYMAN_MC_UCODE_SIZE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CAYMAN_MC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh37:
	ldrsw	x8, [x9]
	lsl	x24, x8, #2
Lloh38:
	adrp	x8, _CAYMAN_SMC_UCODE_SIZE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CAYMAN_SMC_UCODE_SIZE@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_ALIGN
Lloh41:
	adrp	x20, l_.str.5@PAGE
Lloh42:
	add	x20, x20, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh43:
	adrp	x8, _EVERGREEN_PFP_UCODE_SIZE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EVERGREEN_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh45:
	ldrsw	x8, [x8]
	lsl	x27, x8, #2
Lloh46:
	adrp	x8, _EVERGREEN_PM4_UCODE_SIZE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EVERGREEN_PM4_UCODE_SIZE@GOTPAGEOFF]
Lloh48:
	ldrsw	x8, [x8]
	lsl	x26, x8, #2
Lloh49:
	adrp	x8, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGEOFF]
Lloh51:
	ldrsw	x8, [x8]
Lloh52:
	adrp	x9, _BTC_MC_UCODE_SIZE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _BTC_MC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh54:
	ldrsw	x8, [x9]
	lsl	x24, x8, #2
Lloh55:
	adrp	x8, _CAICOS_SMC_UCODE_SIZE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CAICOS_SMC_UCODE_SIZE@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_ALIGN
Lloh58:
	adrp	x21, l_.str.2@PAGE
Lloh59:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh60:
	adrp	x20, l_.str.4@PAGE
Lloh61:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_6:
Lloh62:
	adrp	x8, _EVERGREEN_PFP_UCODE_SIZE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EVERGREEN_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh64:
	ldrsw	x8, [x8]
	lsl	x27, x8, #2
Lloh65:
	adrp	x8, _EVERGREEN_PM4_UCODE_SIZE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EVERGREEN_PM4_UCODE_SIZE@GOTPAGEOFF]
Lloh67:
	ldrsw	x8, [x8]
	lsl	x26, x8, #2
Lloh68:
	adrp	x8, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGEOFF]
Lloh70:
	ldrsw	x8, [x8]
Lloh71:
	adrp	x9, _BTC_MC_UCODE_SIZE@GOTPAGE
Lloh72:
	ldr	x9, [x9, _BTC_MC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x25, x8, #2
Lloh73:
	ldrsw	x8, [x9]
	lsl	x24, x8, #2
Lloh74:
	adrp	x8, _BARTS_SMC_UCODE_SIZE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _BARTS_SMC_UCODE_SIZE@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_ALIGN
Lloh77:
	adrp	x21, l_.str.2@PAGE
Lloh78:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh79:
	adrp	x20, l_.str.1@PAGE
Lloh80:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
	mov	x24, #0
Lloh81:
	adrp	x8, _CAYMAN_PFP_UCODE_SIZE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _CAYMAN_PFP_UCODE_SIZE@GOTPAGEOFF]
Lloh83:
	ldrsw	x8, [x8]
	lsl	x27, x8, #2
Lloh84:
	adrp	x8, _CAYMAN_PM4_UCODE_SIZE@GOTPAGE
Lloh85:
	ldr	x8, [x8, _CAYMAN_PM4_UCODE_SIZE@GOTPAGEOFF]
Lloh86:
	ldrsw	x8, [x8]
Lloh87:
	adrp	x9, _ARUBA_RLC_UCODE_SIZE@GOTPAGE
Lloh88:
	ldr	x9, [x9, _ARUBA_RLC_UCODE_SIZE@GOTPAGEOFF]
	lsl	x26, x8, #2
Lloh89:
	ldrsw	x8, [x9]
	lsl	x25, x8, #2
Lloh90:
	adrp	x20, l_.str.6@PAGE
Lloh91:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_8:
	mov	x21, x20
LBB0_9:
Lloh92:
	adrp	x0, l_.str.7@PAGE
Lloh93:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
	bl	_DRM_INFO
Lloh94:
	adrp	x2, l_.str.8@PAGE
Lloh95:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x0, sp, #26
	mov	w1, #30
	mov	x3, x20
	bl	_snprintf
	add	x23, x19, #32
	ldr	w2, [x19, #48]
	add	x1, sp, #26
	mov	x0, x23
	bl	_request_firmware
	mov	x22, x0
Lloh96:
	adrp	x28, _EINVAL@GOTPAGE
Lloh97:
	ldr	x28, [x28, _EINVAL@GOTPAGEOFF]
	cbz	w0, LBB0_15
LBB0_10:
	ldr	w8, [x28]
	cmn	w22, w8
	b.eq	LBB0_12
; %bb.11:
	add	x8, sp, #26
	str	x8, [sp]
Lloh98:
	adrp	x0, l_.str.17@PAGE
Lloh99:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_pr_err
LBB0_12:
	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]
	ldr	x0, [x19, #8]
	bl	_release_firmware
	str	xzr, [x19, #8]
LBB0_13:
	ldr	x8, [sp, #56]
Lloh100:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh101:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh102:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.14:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_15:
	ldr	x8, [x23]
	ldr	x8, [x8]
	cmp	x8, x27
	b.ne	LBB0_22
; %bb.16:
Lloh103:
	adrp	x2, l_.str.10@PAGE
Lloh104:
	add	x2, x2, l_.str.10@PAGEOFF
	add	x0, sp, #26
	mov	w1, #30
	mov	x3, x20
	bl	_snprintf
	add	x23, x19, #24
	ldr	w2, [x19, #48]
	add	x1, sp, #26
	mov	x0, x23
	bl	_request_firmware
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.17:
	ldr	x8, [x23]
	ldr	x8, [x8]
	cmp	x8, x26
	b.eq	LBB0_19
; %bb.18:
	add	x9, sp, #26
	stp	x8, x9, [sp]
Lloh105:
	adrp	x0, l_.str.9@PAGE
Lloh106:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_err
LBB0_19:
Lloh107:
	adrp	x2, l_.str.11@PAGE
Lloh108:
	add	x2, x2, l_.str.11@PAGEOFF
	add	x0, sp, #26
	mov	w1, #30
	mov	x3, x21
	bl	_snprintf
	add	x21, x19, #16
	ldr	w2, [x19, #48]
	add	x1, sp, #26
	mov	x0, x21
	bl	_request_firmware
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.20:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_25
; %bb.21:
	mov	w22, #0
	b	LBB0_26
LBB0_22:
	add	x9, sp, #26
	stp	x8, x9, [sp]
Lloh109:
	adrp	x0, l_.str.9@PAGE
Lloh110:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_23:
	bl	_pr_err
	ldr	w8, [x28]
	neg	w22, w8
LBB0_24:
	cbnz	w22, LBB0_10
	b	LBB0_13
LBB0_25:
	add	x9, sp, #26
	stp	x8, x9, [sp]
Lloh111:
	adrp	x0, l_.str.12@PAGE
Lloh112:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pr_err
	ldr	w8, [x28]
	neg	w22, w8
LBB0_26:
	ldr	w8, [x19, #4]
Lloh113:
	adrp	x9, _RADEON_IS_IGP@GOTPAGE
Lloh114:
	ldr	x9, [x9, _RADEON_IS_IGP@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_24
; %bb.27:
Lloh116:
	adrp	x2, l_.str.13@PAGE
Lloh117:
	add	x2, x2, l_.str.13@PAGEOFF
	add	x0, sp, #26
	mov	w1, #30
	mov	x3, x20
	bl	_snprintf
	add	x20, x19, #8
	ldr	w2, [x19, #48]
	add	x1, sp, #26
	mov	x0, x20
	bl	_request_firmware
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.28:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_30
; %bb.29:
	mov	w22, #0
	b	LBB0_13
LBB0_30:
	add	x9, sp, #26
	stp	x8, x9, [sp]
Lloh118:
	adrp	x0, l_.str.14@PAGE
Lloh119:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_23
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.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	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpAdd	Lloh118, Lloh119
	.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	"BARTS"

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

	.comm	_EVERGREEN_PFP_UCODE_SIZE,4,2   ; @EVERGREEN_PFP_UCODE_SIZE
	.comm	_EVERGREEN_PM4_UCODE_SIZE,4,2   ; @EVERGREEN_PM4_UCODE_SIZE
	.comm	_EVERGREEN_RLC_UCODE_SIZE,4,2   ; @EVERGREEN_RLC_UCODE_SIZE
	.comm	_BTC_MC_UCODE_SIZE,4,2          ; @BTC_MC_UCODE_SIZE
	.comm	_BARTS_SMC_UCODE_SIZE,4,2       ; @BARTS_SMC_UCODE_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"TURKS"

	.comm	_TURKS_SMC_UCODE_SIZE,4,2       ; @TURKS_SMC_UCODE_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"CAICOS"

	.comm	_CAICOS_SMC_UCODE_SIZE,4,2      ; @CAICOS_SMC_UCODE_SIZE
l_.str.5:                               ; @.str.5
	.asciz	"CAYMAN"

	.comm	_CAYMAN_PFP_UCODE_SIZE,4,2      ; @CAYMAN_PFP_UCODE_SIZE
	.comm	_CAYMAN_PM4_UCODE_SIZE,4,2      ; @CAYMAN_PM4_UCODE_SIZE
	.comm	_CAYMAN_RLC_UCODE_SIZE,4,2      ; @CAYMAN_RLC_UCODE_SIZE
	.comm	_CAYMAN_MC_UCODE_SIZE,4,2       ; @CAYMAN_MC_UCODE_SIZE
	.comm	_CAYMAN_SMC_UCODE_SIZE,4,2      ; @CAYMAN_SMC_UCODE_SIZE
l_.str.6:                               ; @.str.6
	.asciz	"ARUBA"

	.comm	_ARUBA_RLC_UCODE_SIZE,4,2       ; @ARUBA_RLC_UCODE_SIZE
l_.str.7:                               ; @.str.7
	.asciz	"Loading %s Microcode\n"

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

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

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.10:                              ; @.str.10
	.asciz	"radeon/%s_me.bin"

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

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

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

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

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

.subsections_via_symbols
