	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv770_get_engine_memory_ss     ## -- Begin function rv770_get_engine_memory_ss
	.p2align	4, 0x90
_rv770_get_engine_memory_ss:            ## @rv770_get_engine_memory_ss
	.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
	movq	%rdi, %r14
	callq	_rv770_get_pi
	movq	%rax, %rbx
	movq	_ASIC_INTERNAL_ENGINE_SS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_radeon_atombios_get_asic_ss_info
	movq	%rax, 16(%rbx)
	movq	_ASIC_INTERNAL_MEMORY_SS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_radeon_atombios_get_asic_ss_info
	movq	%rax, 8(%rbx)
	xorl	%ecx, %ecx
	orq	16(%rbx), %rax
	setne	%cl
	movl	%ecx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASIC_INTERNAL_ENGINE_SS,4,2    ## @ASIC_INTERNAL_ENGINE_SS
	.comm	_ASIC_INTERNAL_MEMORY_SS,4,2    ## @ASIC_INTERNAL_MEMORY_SS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv770_get_engine_memory_ss     ; -- Begin function rv770_get_engine_memory_ss
	.p2align	2
_rv770_get_engine_memory_ss:            ; @rv770_get_engine_memory_ss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_rv770_get_pi
	mov	x20, x0
Lloh0:
	adrp	x8, _ASIC_INTERNAL_ENGINE_SS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASIC_INTERNAL_ENGINE_SS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w3, #0
	bl	_radeon_atombios_get_asic_ss_info
	str	x0, [x20, #16]
Lloh3:
	adrp	x8, _ASIC_INTERNAL_MEMORY_SS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASIC_INTERNAL_MEMORY_SS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w3, #0
	bl	_radeon_atombios_get_asic_ss_info
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	orr	x8, x8, x0
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASIC_INTERNAL_ENGINE_SS,4,2    ; @ASIC_INTERNAL_ENGINE_SS
	.comm	_ASIC_INTERNAL_MEMORY_SS,4,2    ; @ASIC_INTERNAL_MEMORY_SS
.subsections_via_symbols
