	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v9_0_init_microcode
_gfx_v9_0_init_microcode:               ## @gfx_v9_0_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.1:
	leaq	L_.str.7(%rip), %r15
	leaq	L_.str.1(%rip), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	leaq	L_.str.3(%rip), %rbx
	jmp	LBB0_9
LBB0_2:
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.8(%rip), %rbx
	jmp	LBB0_9
LBB0_4:
	cmpl	$7, 4(%r14)
	jle	LBB0_6
## %bb.5:
	leaq	L_.str.4(%rip), %rbx
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	callq	_BUG
	cmpl	$133, (%r14)
                                        ## implicit-def: $rbx
                                        ## implicit-def: $r15
	jne	LBB0_9
	jmp	LBB0_10
LBB0_6:
	movq	8(%r14), %rax
	cmpl	$5592, (%rax)                   ## imm = 0x15D8
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rbx
	cmoveq	%rax, %rbx
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gfx_v9_0_init_cp_gfx_microcode
	movq	%rbx, %r15
	testl	%eax, %eax
	jne	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_gfx_v9_0_init_rlc_microcode
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gfx_v9_0_init_cp_compute_microcode ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"vega20"

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

L_.str.5:                               ## @.str.5
	.asciz	"picasso"

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

L_.str.7:                               ## @.str.7
	.asciz	"arcturus"

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

	.no_dead_strip	_gfx_v9_0_init_microcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v9_0_init_microcode
_gfx_v9_0_init_microcode:               ; @gfx_v9_0_init_microcode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.1:
Lloh2:
	adrp	x21, l_.str.7@PAGE
Lloh3:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh8:
	adrp	x20, l_.str.3@PAGE
Lloh9:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_3:
Lloh10:
	adrp	x20, l_.str.2@PAGE
Lloh11:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_4:
Lloh12:
	adrp	x20, l_.str.8@PAGE
Lloh13:
	add	x20, x20, l_.str.8@PAGEOFF
	b	LBB0_9
LBB0_5:
	ldr	w8, [x19, #4]
	cmp	w8, #7
	b.le	LBB0_8
; %bb.6:
Lloh14:
	adrp	x20, l_.str.4@PAGE
Lloh15:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:
	bl	_BUG
	ldr	w8, [x19]
                                        ; implicit-def: $x20
                                        ; implicit-def: $x21
	cmp	w8, #133
	b.ne	LBB0_9
	b	LBB0_10
LBB0_8:
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, l_.str.6@PAGE
Lloh17:
	add	x9, x9, l_.str.6@PAGEOFF
	ldr	w8, [x8]
Lloh18:
	adrp	x10, l_.str.5@PAGE
Lloh19:
	add	x10, x10, l_.str.5@PAGEOFF
	mov	w11, #5592
	cmp	w8, w11
	csel	x20, x10, x9, eq
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_gfx_v9_0_init_cp_gfx_microcode
	mov	x21, x20
	cbnz	w0, LBB0_11
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_gfx_v9_0_init_rlc_microcode
	cbz	w0, LBB0_12
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gfx_v9_0_init_cp_compute_microcode
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"vega20"

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

l_.str.5:                               ; @.str.5
	.asciz	"picasso"

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

l_.str.7:                               ; @.str.7
	.asciz	"arcturus"

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

	.no_dead_strip	_gfx_v9_0_init_microcode
.subsections_via_symbols
