	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r600_pm_init_profile           ## -- Begin function r600_pm_init_profile
	.p2align	4, 0x90
_r600_pm_init_profile:                  ## @r600_pm_init_profile
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CHIP_R600@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	16(%rbx), %eax
	movq	24(%rbx), %rcx
	movq	_PM_PROFILE_DEFAULT_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_LOW_SH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_MID_SH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_HIGH_SH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_LOW_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_MID_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_HIGH_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	%eax, (%rcx,%rdx,8)
	movl	%eax, 4(%rcx,%rdx,8)
	leaq	(%rcx,%rdx,8), %rdx
	addq	$16, %rdx
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movl	16(%rbx), %eax
	cmpl	$3, 20(%rbx)
	movq	24(%rbx), %rcx
	movq	_PM_PROFILE_DEFAULT_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$2, 8(%rcx,%rax,8)
	jg	LBB0_4
## %bb.3:
	movq	_PM_PROFILE_LOW_SH_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movabsq	$4294967297, %rsi               ## imm = 0x100000001
	movq	%rsi, (%rcx,%rdx,8)
	movq	$0, 16(%rcx,%rdx,8)
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$0, 8(%rcx,%rax,8)
	movq	_PM_PROFILE_MID_SH_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rsi, (%rcx,%rdx,8)
	movq	$0, 16(%rcx,%rdx,8)
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$1, 8(%rcx,%rax,8)
	movq	_PM_PROFILE_HIGH_SH_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rsi, (%rcx,%rdx,8)
	movq	$0, 16(%rcx,%rdx,8)
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$2, 8(%rcx,%rax,8)
	movq	_PM_PROFILE_LOW_MH_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movabsq	$8589934594, %rsi               ## imm = 0x200000002
	movq	%rsi, (%rcx,%rdx,8)
	movq	$0, 16(%rcx,%rdx,8)
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$0, 8(%rcx,%rax,8)
	movq	_PM_PROFILE_MID_MH_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rsi, (%rcx,%rdx,8)
	movq	$0, 16(%rcx,%rdx,8)
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$1, 8(%rcx,%rax,8)
	movq	_PM_PROFILE_HIGH_MH_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movq	%rsi, (%rcx,%rax,8)
	leaq	(%rcx,%rax,8), %rdx
	addq	$16, %rdx
	jmp	LBB0_5
LBB0_4:
	movq	_RADEON_IS_MOBILITY@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	andl	8(%rbx), %eax
	movq	_POWER_STATE_TYPE_PERFORMANCE@GOTPCREL(%rip), %r14
	movq	_POWER_STATE_TYPE_BATTERY@GOTPCREL(%rip), %r12
	movq	%r12, %rax
	cmoveq	%r14, %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_radeon_pm_get_type_index
	movq	24(%rbx), %rcx
	movq	_PM_PROFILE_LOW_SH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_MID_SH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$1, 8(%rcx,%rax,8)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_radeon_pm_get_type_index
	movq	24(%rbx), %rcx
	movq	_PM_PROFILE_HIGH_SH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$2, 8(%rcx,%rax,8)
	movl	(%r15), %eax
	andl	8(%rbx), %eax
	cmoveq	%r14, %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_radeon_pm_get_type_index
	movq	24(%rbx), %rcx
	movq	_PM_PROFILE_LOW_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	$0, 8(%rcx,%rdx,8)
	movq	_PM_PROFILE_MID_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movl	%eax, (%rcx,%rsi,8)
	movl	%eax, 4(%rcx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	(%rdx), %rax
	leaq	(%rax,%rax,2), %rax
	movl	$1, 8(%rcx,%rax,8)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_radeon_pm_get_type_index
	movq	24(%rbx), %rcx
	movq	_PM_PROFILE_HIGH_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	%eax, (%rcx,%rdx,8)
	movl	%eax, 4(%rcx,%rdx,8)
	leaq	(%rcx,%rdx,8), %rdx
	addq	$16, %rdx
LBB0_5:
	movl	$2, %eax
LBB0_6:
	movq	$0, (%rdx)
	movq	_PM_PROFILE_HIGH_MH_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	%eax, 8(%rcx,%rdx,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_R600,8,3                  ## @CHIP_R600
	.comm	_PM_PROFILE_DEFAULT_IDX,8,3     ## @PM_PROFILE_DEFAULT_IDX
	.comm	_PM_PROFILE_LOW_SH_IDX,8,3      ## @PM_PROFILE_LOW_SH_IDX
	.comm	_PM_PROFILE_MID_SH_IDX,8,3      ## @PM_PROFILE_MID_SH_IDX
	.comm	_PM_PROFILE_HIGH_SH_IDX,8,3     ## @PM_PROFILE_HIGH_SH_IDX
	.comm	_PM_PROFILE_LOW_MH_IDX,8,3      ## @PM_PROFILE_LOW_MH_IDX
	.comm	_PM_PROFILE_MID_MH_IDX,8,3      ## @PM_PROFILE_MID_MH_IDX
	.comm	_PM_PROFILE_HIGH_MH_IDX,8,3     ## @PM_PROFILE_HIGH_MH_IDX
	.comm	_RADEON_IS_MOBILITY,4,2         ## @RADEON_IS_MOBILITY
	.comm	_POWER_STATE_TYPE_BATTERY,4,2   ## @POWER_STATE_TYPE_BATTERY
	.comm	_POWER_STATE_TYPE_PERFORMANCE,4,2 ## @POWER_STATE_TYPE_PERFORMANCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r600_pm_init_profile           ; -- Begin function r600_pm_init_profile
	.p2align	2
_r600_pm_init_profile:                  ; @r600_pm_init_profile
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_R600@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_R600@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x20, _PM_PROFILE_HIGH_MH_IDX@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PM_PROFILE_HIGH_MH_IDX@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	ldr	w9, [x19, #16]
	ldr	x8, [x19, #24]
Lloh5:
	adrp	x10, _PM_PROFILE_DEFAULT_IDX@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PM_PROFILE_DEFAULT_IDX@GOTPAGEOFF]
	ldr	x11, [x10]
	mov	w12, #24
	madd	x11, x11, x12, x8
	stp	w9, w9, [x11]
	str	xzr, [x11, #16]
	ldr	x10, [x10]
	madd	x10, x10, x12, x8
Lloh7:
	adrp	x11, _PM_PROFILE_LOW_SH_IDX@GOTPAGE
Lloh8:
	ldr	x11, [x11, _PM_PROFILE_LOW_SH_IDX@GOTPAGEOFF]
	str	wzr, [x10, #8]
	ldr	x10, [x11]
	madd	x10, x10, x12, x8
	stp	w9, w9, [x10]
	str	xzr, [x10, #16]
	ldr	x10, [x11]
	madd	x10, x10, x12, x8
	str	wzr, [x10, #8]
Lloh9:
	adrp	x10, _PM_PROFILE_MID_SH_IDX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PM_PROFILE_MID_SH_IDX@GOTPAGEOFF]
	ldr	x11, [x10]
	madd	x11, x11, x12, x8
	stp	w9, w9, [x11]
	str	xzr, [x11, #16]
	ldr	x10, [x10]
	madd	x10, x10, x12, x8
	str	wzr, [x10, #8]
Lloh11:
	adrp	x10, _PM_PROFILE_HIGH_SH_IDX@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PM_PROFILE_HIGH_SH_IDX@GOTPAGEOFF]
	ldr	x11, [x10]
	madd	x11, x11, x12, x8
	stp	w9, w9, [x11]
	str	xzr, [x11, #16]
	ldr	x10, [x10]
	madd	x10, x10, x12, x8
Lloh13:
	adrp	x11, _PM_PROFILE_LOW_MH_IDX@GOTPAGE
Lloh14:
	ldr	x11, [x11, _PM_PROFILE_LOW_MH_IDX@GOTPAGEOFF]
	str	wzr, [x10, #8]
	ldr	x10, [x11]
	madd	x10, x10, x12, x8
	stp	w9, w9, [x10]
	str	xzr, [x10, #16]
	ldr	x10, [x11]
	madd	x10, x10, x12, x8
	str	wzr, [x10, #8]
Lloh15:
	adrp	x10, _PM_PROFILE_MID_MH_IDX@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PM_PROFILE_MID_MH_IDX@GOTPAGEOFF]
	ldr	x11, [x10]
	madd	x11, x11, x12, x8
	stp	w9, w9, [x11]
	str	xzr, [x11, #16]
	ldr	x10, [x10]
	madd	x10, x10, x12, x8
	str	wzr, [x10, #8]
	ldr	x10, [x20]
	madd	x10, x10, x12, x8
	stp	w9, w9, [x10]
	add	x9, x10, #16
	b	LBB0_5
LBB0_2:
	ldp	w10, w9, [x19, #16]
Lloh17:
	adrp	x11, _PM_PROFILE_DEFAULT_IDX@GOTPAGE
Lloh18:
	ldr	x11, [x11, _PM_PROFILE_DEFAULT_IDX@GOTPAGEOFF]
	ldr	x8, [x19, #24]
	ldr	x12, [x11]
	mov	w13, #24
	madd	x12, x12, x13, x8
	stp	w10, w10, [x12]
	str	xzr, [x12, #16]
	ldr	x10, [x11]
	madd	x10, x10, x13, x8
	mov	w21, #2
	str	w21, [x10, #8]
	cmp	w9, #3
	b.gt	LBB0_4
; %bb.3:
Lloh19:
	adrp	x9, _PM_PROFILE_LOW_SH_IDX@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PM_PROFILE_LOW_SH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	mov	w11, #24
	madd	x10, x10, x11, x8
	movi.2s	v0, #1
	str	d0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x9, x9, x11, x8
	str	wzr, [x9, #8]
Lloh21:
	adrp	x9, _PM_PROFILE_MID_SH_IDX@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PM_PROFILE_MID_SH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	madd	x10, x10, x11, x8
	str	d0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x9, x9, x11, x8
	mov	w10, #1
	str	w10, [x9, #8]
Lloh23:
	adrp	x9, _PM_PROFILE_HIGH_SH_IDX@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PM_PROFILE_HIGH_SH_IDX@GOTPAGEOFF]
	ldr	x12, [x9]
	madd	x12, x12, x11, x8
	str	d0, [x12]
	str	xzr, [x12, #16]
	ldr	x9, [x9]
	madd	x9, x9, x11, x8
	str	w21, [x9, #8]
Lloh25:
	adrp	x9, _PM_PROFILE_LOW_MH_IDX@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PM_PROFILE_LOW_MH_IDX@GOTPAGEOFF]
	ldr	x12, [x9]
	madd	x12, x12, x11, x8
	movi.2s	v0, #2
	str	d0, [x12]
	str	xzr, [x12, #16]
	ldr	x9, [x9]
	madd	x9, x9, x11, x8
Lloh27:
	adrp	x12, _PM_PROFILE_MID_MH_IDX@GOTPAGE
Lloh28:
	ldr	x12, [x12, _PM_PROFILE_MID_MH_IDX@GOTPAGEOFF]
	str	wzr, [x9, #8]
	ldr	x9, [x12]
	madd	x9, x9, x11, x8
	str	d0, [x9]
	str	xzr, [x9, #16]
	ldr	x9, [x12]
	madd	x9, x9, x11, x8
	str	w10, [x9, #8]
	ldr	x9, [x20]
	madd	x9, x9, x11, x8
	str	d0, [x9], #16
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #8]
Lloh29:
	adrp	x24, _RADEON_IS_MOBILITY@GOTPAGE
Lloh30:
	ldr	x24, [x24, _RADEON_IS_MOBILITY@GOTPAGEOFF]
Lloh31:
	adrp	x22, _POWER_STATE_TYPE_PERFORMANCE@GOTPAGE
Lloh32:
	ldr	x22, [x22, _POWER_STATE_TYPE_PERFORMANCE@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh33:
	adrp	x25, _POWER_STATE_TYPE_BATTERY@GOTPAGE
Lloh34:
	ldr	x25, [x25, _POWER_STATE_TYPE_BATTERY@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x22, x25, eq
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_radeon_pm_get_type_index
	ldr	x8, [x19, #24]
Lloh35:
	adrp	x9, _PM_PROFILE_LOW_SH_IDX@GOTPAGE
Lloh36:
	ldr	x9, [x9, _PM_PROFILE_LOW_SH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	mov	w23, #24
	madd	x10, x10, x23, x8
	stp	w0, w0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x9, x9, x23, x8
	str	wzr, [x9, #8]
Lloh37:
	adrp	x9, _PM_PROFILE_MID_SH_IDX@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PM_PROFILE_MID_SH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	madd	x10, x10, x23, x8
	stp	w0, w0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x8, x9, x23, x8
	mov	w26, #1
	str	w26, [x8, #8]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_radeon_pm_get_type_index
	ldr	x8, [x19, #24]
Lloh39:
	adrp	x9, _PM_PROFILE_HIGH_SH_IDX@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PM_PROFILE_HIGH_SH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	madd	x10, x10, x23, x8
	stp	w0, w0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x8, x9, x23, x8
	str	w21, [x8, #8]
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	tst	w9, w8
	csel	x8, x22, x25, eq
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_radeon_pm_get_type_index
	ldr	x8, [x19, #24]
Lloh41:
	adrp	x9, _PM_PROFILE_LOW_MH_IDX@GOTPAGE
Lloh42:
	ldr	x9, [x9, _PM_PROFILE_LOW_MH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	madd	x10, x10, x23, x8
	stp	w0, w0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x9, x9, x23, x8
	str	wzr, [x9, #8]
Lloh43:
	adrp	x9, _PM_PROFILE_MID_MH_IDX@GOTPAGE
Lloh44:
	ldr	x9, [x9, _PM_PROFILE_MID_MH_IDX@GOTPAGEOFF]
	ldr	x10, [x9]
	madd	x10, x10, x23, x8
	stp	w0, w0, [x10]
	str	xzr, [x10, #16]
	ldr	x9, [x9]
	madd	x8, x9, x23, x8
	str	w26, [x8, #8]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	bl	_radeon_pm_get_type_index
	ldr	x8, [x19, #24]
	ldr	x9, [x20]
	madd	x9, x9, x23, x8
	stp	w0, w0, [x9], #16
LBB0_5:
	str	xzr, [x9]
	ldr	x9, [x20]
	mov	w10, #24
	madd	x8, x9, x10, x8
	str	w21, [x8, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_R600,8,3                  ; @CHIP_R600
	.comm	_PM_PROFILE_DEFAULT_IDX,8,3     ; @PM_PROFILE_DEFAULT_IDX
	.comm	_PM_PROFILE_LOW_SH_IDX,8,3      ; @PM_PROFILE_LOW_SH_IDX
	.comm	_PM_PROFILE_MID_SH_IDX,8,3      ; @PM_PROFILE_MID_SH_IDX
	.comm	_PM_PROFILE_HIGH_SH_IDX,8,3     ; @PM_PROFILE_HIGH_SH_IDX
	.comm	_PM_PROFILE_LOW_MH_IDX,8,3      ; @PM_PROFILE_LOW_MH_IDX
	.comm	_PM_PROFILE_MID_MH_IDX,8,3      ; @PM_PROFILE_MID_MH_IDX
	.comm	_PM_PROFILE_HIGH_MH_IDX,8,3     ; @PM_PROFILE_HIGH_MH_IDX
	.comm	_RADEON_IS_MOBILITY,4,2         ; @RADEON_IS_MOBILITY
	.comm	_POWER_STATE_TYPE_BATTERY,4,2   ; @POWER_STATE_TYPE_BATTERY
	.comm	_POWER_STATE_TYPE_PERFORMANCE,4,2 ; @POWER_STATE_TYPE_PERFORMANCE
.subsections_via_symbols
