	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs690_pm_info                  ## -- Begin function rs690_pm_info
	.p2align	4, 0x90
_rs690_pm_info:                         ## @rs690_pm_info
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IntegratedSystemInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	72(%r15), %rdi
	leaq	-52(%rbp), %rcx
	leaq	-36(%rbp), %r8
	leaq	-48(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	72(%r15), %rax
	movq	(%rax), %r12
	movq	-48(%rbp), %rbx
	movl	-36(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_11
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.3:
	movl	$100, %edi
	callq	_dfixed_const
	movq	%rax, %r14
	movl	12(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	callq	_dfixed_const
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dfixed_div
	movq	%rax, 8(%r15)
	movl	8(%r12,%rbx), %edi
	callq	_le16_to_cpu
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	8(%r12,%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, %edi
LBB0_8:
	callq	_dfixed_const
	jmp	LBB0_9
LBB0_15:
	movl	$200, %edi
	callq	_dfixed_const
	movq	%rax, 8(%r15)
	movl	$200, %edi
	callq	_dfixed_const
	movq	%rax, 48(%r15)
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_dfixed_const
	movq	%rax, 40(%r15)
	movl	$8, %edi
	callq	_dfixed_const
	movq	%rax, 32(%r15)
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_16
LBB0_11:
	movl	$100, %edi
	callq	_dfixed_const
	movq	%rax, %r14
	movl	12(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	callq	_dfixed_const
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dfixed_div
	movq	%rax, 8(%r15)
	movl	8(%r12,%rbx), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	8(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	jmp	LBB0_14
LBB0_5:
	movl	64(%r15), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.6:
	callq	_dfixed_const
	movq	%rax, 48(%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dfixed_div
LBB0_9:
	movq	%rax, 48(%r15)
	movl	4(%r12,%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, %edi
	callq	_dfixed_const
	movq	%rax, 40(%r15)
	movl	(%r12,%rbx), %edi
	jmp	LBB0_10
LBB0_13:
	movl	64(%r15), %eax
	testl	%eax, %eax
	movl	$66700, %edi                    ## imm = 0x1048C
	cmovnel	%eax, %edi
LBB0_14:
	callq	_dfixed_const
	movq	%rax, 48(%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dfixed_div
	movq	%rax, 48(%r15)
	movl	4(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	callq	_dfixed_const
	movq	%rax, 40(%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dfixed_div
	movq	%rax, 40(%r15)
	movl	(%r12,%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, %edi
LBB0_10:
	callq	_dfixed_const
	movq	%rax, 32(%r15)
LBB0_16:
	movl	$4, %edi
	callq	_dfixed_const
	movq	48(%r15), %rdi
	movq	%rax, %rsi
	callq	_dfixed_mul
	movq	%rax, 56(%r15)
	movl	$5, %edi
	callq	_dfixed_const
	movq	%rax, %rbx
	movq	32(%r15), %rsi
	movq	40(%r15), %rdi
	callq	_dfixed_mul
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_dfixed_div
	movq	%rax, 24(%r15)
	cmpq	%rbx, 16(%r15)
	jle	LBB0_18
## %bb.17:
	movq	%rbx, 16(%r15)
LBB0_18:
	movl	$14, %edi
	callq	_dfixed_const
	movq	8(%r15), %rdi
	movq	%rax, %rsi
	callq	_dfixed_mul
	movq	%rax, (%r15)
	movl	$10, %edi
	callq	_dfixed_const
	movq	(%r15), %rdi
	movq	%rax, %rsi
	callq	_dfixed_div
	movq	%rax, (%r15)
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$400, %edi                      ## imm = 0x190
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_IntegratedSystemInfo,4,2       ## @IntegratedSystemInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No integrated system info for your GPU, using safe default\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs690_pm_info                  ; -- Begin function rs690_pm_info
	.p2align	2
_rs690_pm_info:                         ; @rs690_pm_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _IntegratedSystemInfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IntegratedSystemInfo@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	ldr	x0, [x19, #72]
	add	x3, sp, #4
	mov	x4, sp
	add	x5, sp, #8
	mov	x2, #0
	bl	_atom_parse_data_header
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	add	x21, x9, x8
	ldr	w8, [sp]
	cmp	w8, #2
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.3:
	mov	w0, #100
	bl	_dfixed_const
	mov	x20, x0
	ldr	w0, [x21, #12]
	bl	_le32_to_cpu
	bl	_dfixed_const
	str	x0, [x19, #8]
	mov	x1, x20
	bl	_dfixed_div
	str	x0, [x19, #8]
	ldr	w0, [x21, #8]
	bl	_le16_to_cpu
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w0, [x21, #8]
	bl	_le16_to_cpu
LBB0_5:
	bl	_dfixed_const
	b	LBB0_11
LBB0_6:
	mov	w0, #200
	bl	_dfixed_const
	str	x0, [x19, #8]
	mov	w0, #200
	bl	_dfixed_const
	str	x0, [x19, #48]
	mov	w0, #1000
	bl	_dfixed_const
	str	x0, [x19, #40]
	mov	w0, #8
	bl	_dfixed_const
	str	x0, [x19, #32]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_15
LBB0_7:
	mov	w0, #100
	bl	_dfixed_const
	mov	x20, x0
	ldr	w0, [x21, #12]
	bl	_le32_to_cpu
	bl	_dfixed_const
	str	x0, [x19, #8]
	mov	x1, x20
	bl	_dfixed_div
	str	x0, [x19, #8]
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	cbz	w0, LBB0_12
; %bb.8:
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	b	LBB0_13
LBB0_9:
	ldr	w0, [x19, #64]
	cbz	w0, LBB0_18
; %bb.10:
	bl	_dfixed_const
	str	x0, [x19, #48]
	mov	x1, x20
	bl	_dfixed_div
LBB0_11:
	str	x0, [x19, #48]
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	bl	_dfixed_const
	str	x0, [x19, #40]
	ldr	w0, [x21]
	b	LBB0_14
LBB0_12:
	ldr	w8, [x19, #64]
	mov	w9, #1164
	movk	w9, #1, lsl #16
	cmp	w8, #0
	csel	w0, w9, w8, eq
LBB0_13:
	bl	_dfixed_const
	str	x0, [x19, #48]
	mov	x1, x20
	bl	_dfixed_div
	str	x0, [x19, #48]
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	bl	_dfixed_const
	str	x0, [x19, #40]
	mov	x1, x20
	bl	_dfixed_div
	str	x0, [x19, #40]
	ldr	w0, [x21]
	bl	_le16_to_cpu
LBB0_14:
	bl	_dfixed_const
	str	x0, [x19, #32]
LBB0_15:
	mov	w0, #4
	bl	_dfixed_const
	mov	x1, x0
	ldr	x0, [x19, #48]
	bl	_dfixed_mul
	str	x0, [x19, #56]
	mov	w0, #5
	bl	_dfixed_const
	mov	x20, x0
	ldp	x1, x0, [x19, #32]
	bl	_dfixed_mul
	str	x0, [x19, #24]
	mov	x1, x20
	bl	_dfixed_div
	str	x0, [x19, #24]
	ldr	x8, [x19, #16]
	cmp	x8, x20
	b.le	LBB0_17
; %bb.16:
	str	x20, [x19, #16]
LBB0_17:
	mov	w0, #14
	bl	_dfixed_const
	mov	x1, x0
	ldr	x0, [x19, #8]
	bl	_dfixed_mul
	str	x0, [x19]
	mov	w0, #10
	bl	_dfixed_const
	mov	x1, x0
	ldr	x0, [x19]
	bl	_dfixed_div
	str	x0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_18:
	mov	w0, #400
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_IntegratedSystemInfo,4,2       ; @IntegratedSystemInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No integrated system info for your GPU, using safe default\n"

.subsections_via_symbols
