	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sumo_set_tdp_limit             ## -- Begin function sumo_set_tdp_limit
	.p2align	4, 0x90
_sumo_set_tdp_limit:                    ## @sumo_set_tdp_limit
	.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
	movl	%edx, %ebx
	xorl	%r14d, %r14d
	cmpl	$7, %esi
	ja	LBB0_1
## %bb.2:
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	xorl	%r15d, %r15d
	jmpq	*%rax
LBB0_3:
	movq	_RCU_SclkDpmTdpLimit01@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_RCU_SclkDpmTdpLimit01@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movq	_RCU_SclkDpmTdpLimit23@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_RCU_SclkDpmTdpLimit23@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_RCU_SclkDpmTdpLimit47@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r15d
	jmp	LBB0_11
LBB0_8:
	movq	_RCU_SclkDpmTdpLimit47@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r15d
	movl	$16, %r14d
LBB0_11:
	movl	%r15d, %edi
	callq	_RREG32_RCU
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	%r14d, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	shll	%cl, %ebx
	orl	%edx, %ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_RCU                     ## TAILCALL
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-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
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_RCU_SclkDpmTdpLimit01,4,2      ## @RCU_SclkDpmTdpLimit01
	.comm	_RCU_SclkDpmTdpLimit23,4,2      ## @RCU_SclkDpmTdpLimit23
	.comm	_RCU_SclkDpmTdpLimit47,4,2      ## @RCU_SclkDpmTdpLimit47
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sumo_set_tdp_limit             ; -- Begin function sumo_set_tdp_limit
	.p2align	2
_sumo_set_tdp_limit:                    ; @sumo_set_tdp_limit
	.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, x2
	mov	w21, #0
	cmp	w1, #7
	b.hi	LBB0_11
; %bb.1:
	mov	w8, w1
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
	mov	x20, x21
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _RCU_SclkDpmTdpLimit01@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RCU_SclkDpmTdpLimit01@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	mov	w21, #0
Lloh4:
	adrp	x8, _RCU_SclkDpmTdpLimit01@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RCU_SclkDpmTdpLimit01@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _RCU_SclkDpmTdpLimit23@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCU_SclkDpmTdpLimit23@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	w21, #0
Lloh8:
	adrp	x8, _RCU_SclkDpmTdpLimit23@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RCU_SclkDpmTdpLimit23@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	w21, #0
Lloh10:
	adrp	x8, _RCU_SclkDpmTdpLimit47@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RCU_SclkDpmTdpLimit47@GOTPAGEOFF]
LBB0_7:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _RCU_SclkDpmTdpLimit47@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RCU_SclkDpmTdpLimit47@GOTPAGEOFF]
LBB0_9:
	ldr	w20, [x8]
	mov	w21, #16
LBB0_10:
	mov	x0, x20
	bl	_RREG32_RCU
	mov	w8, #4095
	lsl	w8, w8, w21
	bic	w8, w0, w8
	lsl	w9, w19, w21
	orr	w1, w8, w9
	mov	x0, x20
	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	_WREG32_RCU
LBB0_11:
	mov	x20, x21
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_RCU_SclkDpmTdpLimit01,4,2      ; @RCU_SclkDpmTdpLimit01
	.comm	_RCU_SclkDpmTdpLimit23,4,2      ; @RCU_SclkDpmTdpLimit23
	.comm	_RCU_SclkDpmTdpLimit47,4,2      ; @RCU_SclkDpmTdpLimit47
.subsections_via_symbols
