	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_translate_firmware_enum_to_arg
_smu8_translate_firmware_enum_to_arg:   ## @smu8_translate_firmware_enum_to_arg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$21, %esi
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_20:
	movq	_TASK_ARG_REG_MMIO@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_16:
	movq	_UCODE_ID_RLC_SRM_DRAM@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_15:
	movq	_UCODE_ID_RLC_SRM_ARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_14:
	movq	_UCODE_ID_RLC_SCRATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_12:
	movq	_UCODE_ID_GMCON_RENG@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_17:
	movq	_UCODE_ID_DMCU_ERAM@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_9:
	movl	(%rdi), %eax
	movq	_CHIP_STONEY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
LBB0_10:
	movq	_UCODE_ID_CP_MEC_JT1@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_6:
	movq	_UCODE_ID_CP_CE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_TASK_ARG_INIT_CLK_TABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	(%rdi), %eax
	movq	_CHIP_STONEY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
LBB0_4:
	movq	_UCODE_ID_SDMA0@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_13:
	movq	_UCODE_ID_RLC_G@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_19:
	movq	_TASK_ARG_INIT_MM_PWR_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_18:
	movq	_UCODE_ID_DMCU_IRAM@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_7:
	movq	_UCODE_ID_CP_PFP@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_8:
	movq	_UCODE_ID_CP_ME@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_11:
	movq	_UCODE_ID_CP_MEC_JT2@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_5:
	movq	_UCODE_ID_SDMA1@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_19
	.long	L0_0_set_12
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_UCODE_ID_SDMA0,4,2             ## @UCODE_ID_SDMA0
	.comm	_CHIP_STONEY,4,2                ## @CHIP_STONEY
	.comm	_UCODE_ID_SDMA1,4,2             ## @UCODE_ID_SDMA1
	.comm	_UCODE_ID_CP_CE,4,2             ## @UCODE_ID_CP_CE
	.comm	_UCODE_ID_CP_PFP,4,2            ## @UCODE_ID_CP_PFP
	.comm	_UCODE_ID_CP_ME,4,2             ## @UCODE_ID_CP_ME
	.comm	_UCODE_ID_CP_MEC_JT1,4,2        ## @UCODE_ID_CP_MEC_JT1
	.comm	_UCODE_ID_CP_MEC_JT2,4,2        ## @UCODE_ID_CP_MEC_JT2
	.comm	_UCODE_ID_GMCON_RENG,4,2        ## @UCODE_ID_GMCON_RENG
	.comm	_UCODE_ID_RLC_G,4,2             ## @UCODE_ID_RLC_G
	.comm	_UCODE_ID_RLC_SCRATCH,4,2       ## @UCODE_ID_RLC_SCRATCH
	.comm	_UCODE_ID_RLC_SRM_ARAM,4,2      ## @UCODE_ID_RLC_SRM_ARAM
	.comm	_UCODE_ID_RLC_SRM_DRAM,4,2      ## @UCODE_ID_RLC_SRM_DRAM
	.comm	_UCODE_ID_DMCU_ERAM,4,2         ## @UCODE_ID_DMCU_ERAM
	.comm	_UCODE_ID_DMCU_IRAM,4,2         ## @UCODE_ID_DMCU_IRAM
	.comm	_TASK_ARG_INIT_MM_PWR_LOG,4,2   ## @TASK_ARG_INIT_MM_PWR_LOG
	.comm	_TASK_ARG_REG_MMIO,4,2          ## @TASK_ARG_REG_MMIO
	.comm	_TASK_ARG_INIT_CLK_TABLE,4,2    ## @TASK_ARG_INIT_CLK_TABLE
	.no_dead_strip	_smu8_translate_firmware_enum_to_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_translate_firmware_enum_to_arg
_smu8_translate_firmware_enum_to_arg:   ; @smu8_translate_firmware_enum_to_arg
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #21
	b.hi	LBB0_12
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _TASK_ARG_REG_MMIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TASK_ARG_REG_MMIO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh5:
	adrp	x8, _UCODE_ID_RLC_SRM_DRAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UCODE_ID_RLC_SRM_DRAM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh8:
	adrp	x8, _UCODE_ID_RLC_SRM_ARAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UCODE_ID_RLC_SRM_ARAM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh11:
	adrp	x8, _UCODE_ID_RLC_SCRATCH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UCODE_ID_RLC_SCRATCH@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh14:
	adrp	x8, _UCODE_ID_GMCON_RENG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UCODE_ID_GMCON_RENG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh17:
	adrp	x8, _UCODE_ID_DMCU_ERAM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UCODE_ID_DMCU_ERAM@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ret
LBB0_8:
	ldr	w8, [x0]
Lloh20:
	adrp	x9, _CHIP_STONEY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CHIP_STONEY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
LBB0_9:
Lloh23:
	adrp	x8, _UCODE_ID_CP_MEC_JT1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UCODE_ID_CP_MEC_JT1@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh26:
	adrp	x8, _UCODE_ID_CP_CE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _UCODE_ID_CP_CE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ret
LBB0_11:
Lloh29:
	adrp	x8, _TASK_ARG_INIT_CLK_TABLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TASK_ARG_INIT_CLK_TABLE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ret
LBB0_12:
	mov	w0, #0
	ret
LBB0_13:
	ldr	w8, [x0]
Lloh32:
	adrp	x9, _CHIP_STONEY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CHIP_STONEY@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
LBB0_14:
Lloh35:
	adrp	x8, _UCODE_ID_SDMA0@GOTPAGE
Lloh36:
	ldr	x8, [x8, _UCODE_ID_SDMA0@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ret
LBB0_15:
Lloh38:
	adrp	x8, _UCODE_ID_RLC_G@GOTPAGE
Lloh39:
	ldr	x8, [x8, _UCODE_ID_RLC_G@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ret
LBB0_16:
Lloh41:
	adrp	x8, _TASK_ARG_INIT_MM_PWR_LOG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _TASK_ARG_INIT_MM_PWR_LOG@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ret
LBB0_17:
Lloh44:
	adrp	x8, _UCODE_ID_DMCU_IRAM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _UCODE_ID_DMCU_IRAM@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ret
LBB0_18:
Lloh47:
	adrp	x8, _UCODE_ID_CP_PFP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _UCODE_ID_CP_PFP@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	ret
LBB0_19:
Lloh50:
	adrp	x8, _UCODE_ID_CP_ME@GOTPAGE
Lloh51:
	ldr	x8, [x8, _UCODE_ID_CP_ME@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	ret
LBB0_20:
Lloh53:
	adrp	x8, _UCODE_ID_CP_MEC_JT2@GOTPAGE
Lloh54:
	ldr	x8, [x8, _UCODE_ID_CP_MEC_JT2@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	ret
LBB0_21:
Lloh56:
	adrp	x8, _UCODE_ID_SDMA1@GOTPAGE
Lloh57:
	ldr	x8, [x8, _UCODE_ID_SDMA1@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_UCODE_ID_SDMA0,4,2             ; @UCODE_ID_SDMA0
	.comm	_CHIP_STONEY,4,2                ; @CHIP_STONEY
	.comm	_UCODE_ID_SDMA1,4,2             ; @UCODE_ID_SDMA1
	.comm	_UCODE_ID_CP_CE,4,2             ; @UCODE_ID_CP_CE
	.comm	_UCODE_ID_CP_PFP,4,2            ; @UCODE_ID_CP_PFP
	.comm	_UCODE_ID_CP_ME,4,2             ; @UCODE_ID_CP_ME
	.comm	_UCODE_ID_CP_MEC_JT1,4,2        ; @UCODE_ID_CP_MEC_JT1
	.comm	_UCODE_ID_CP_MEC_JT2,4,2        ; @UCODE_ID_CP_MEC_JT2
	.comm	_UCODE_ID_GMCON_RENG,4,2        ; @UCODE_ID_GMCON_RENG
	.comm	_UCODE_ID_RLC_G,4,2             ; @UCODE_ID_RLC_G
	.comm	_UCODE_ID_RLC_SCRATCH,4,2       ; @UCODE_ID_RLC_SCRATCH
	.comm	_UCODE_ID_RLC_SRM_ARAM,4,2      ; @UCODE_ID_RLC_SRM_ARAM
	.comm	_UCODE_ID_RLC_SRM_DRAM,4,2      ; @UCODE_ID_RLC_SRM_DRAM
	.comm	_UCODE_ID_DMCU_ERAM,4,2         ; @UCODE_ID_DMCU_ERAM
	.comm	_UCODE_ID_DMCU_IRAM,4,2         ; @UCODE_ID_DMCU_IRAM
	.comm	_TASK_ARG_INIT_MM_PWR_LOG,4,2   ; @TASK_ARG_INIT_MM_PWR_LOG
	.comm	_TASK_ARG_REG_MMIO,4,2          ; @TASK_ARG_REG_MMIO
	.comm	_TASK_ARG_INIT_CLK_TABLE,4,2    ; @TASK_ARG_INIT_CLK_TABLE
	.no_dead_strip	_smu8_translate_firmware_enum_to_arg
.subsections_via_symbols
