	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc_to_smu_clock_type
_dc_to_smu_clock_type:                  ## @dc_to_smu_clock_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %esi
	leal	-128(%rsi), %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	_SMU_SOCCLK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_SMU_CLK_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DRM_ERROR
	jmp	LBB0_9
LBB0_4:
	movq	_SMU_MCLK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_SMU_GFXCLK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_SMU_DISPCLK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_SMU_DCEFCLK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.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
	.comm	_SMU_CLK_COUNT,4,2              ## @SMU_CLK_COUNT
	.comm	_SMU_DISPCLK,4,2                ## @SMU_DISPCLK
	.comm	_SMU_GFXCLK,4,2                 ## @SMU_GFXCLK
	.comm	_SMU_MCLK,4,2                   ## @SMU_MCLK
	.comm	_SMU_DCEFCLK,4,2                ## @SMU_DCEFCLK
	.comm	_SMU_SOCCLK,4,2                 ## @SMU_SOCCLK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DM_PPLIB: invalid clock type: %d!\n"

	.no_dead_strip	_dc_to_smu_clock_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc_to_smu_clock_type
_dc_to_smu_clock_type:                  ; @dc_to_smu_clock_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %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, _SMU_SOCCLK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SMU_SOCCLK@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	x1, x0
Lloh4:
	adrp	x8, _SMU_CLK_COUNT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SMU_CLK_COUNT@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_9
LBB0_4:
Lloh9:
	adrp	x8, _SMU_MCLK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SMU_MCLK@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x8, _SMU_GFXCLK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SMU_GFXCLK@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh13:
	adrp	x8, _SMU_DISPCLK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SMU_DISPCLK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _SMU_DCEFCLK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SMU_DCEFCLK@GOTPAGEOFF]
LBB0_8:
	ldr	w19, [x8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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
	.comm	_SMU_CLK_COUNT,4,2              ; @SMU_CLK_COUNT
	.comm	_SMU_DISPCLK,4,2                ; @SMU_DISPCLK
	.comm	_SMU_GFXCLK,4,2                 ; @SMU_GFXCLK
	.comm	_SMU_MCLK,4,2                   ; @SMU_MCLK
	.comm	_SMU_DCEFCLK,4,2                ; @SMU_DCEFCLK
	.comm	_SMU_SOCCLK,4,2                 ; @SMU_SOCCLK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DM_PPLIB: invalid clock type: %d!\n"

	.no_dead_strip	_dc_to_smu_clock_type
.subsections_via_symbols
