	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv6xx_set_safe_backbias
_rv6xx_set_safe_backbias:               ## @rv6xx_set_safe_backbias
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	callq	_rv6xx_get_ps
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rv6xx_get_ps
	movq	_ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	je	LBB0_4
## %bb.1:
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BACKBIAS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	jmp	LBB0_3
LBB0_4:
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BACKBIAS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE,4,2 ## @ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE
	.comm	_GENERAL_PWRMGT,4,2             ## @GENERAL_PWRMGT
	.comm	_BACKBIAS_VALUE,4,2             ## @BACKBIAS_VALUE
	.no_dead_strip	_rv6xx_set_safe_backbias
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv6xx_set_safe_backbias
_rv6xx_set_safe_backbias:               ; @rv6xx_set_safe_backbias
	.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
	mov	x19, x2
	mov	x0, x1
	bl	_rv6xx_get_ps
	mov	x20, x0
	mov	x0, x19
	bl	_rv6xx_get_ps
	ldr	w9, [x20]
Lloh0:
	adrp	x8, _ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	w9, [x0]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GENERAL_PWRMGT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _BACKBIAS_VALUE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BACKBIAS_VALUE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	ldr	w1, [x9]
	mvn	w2, w1
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GENERAL_PWRMGT@GOTPAGEOFF]
Lloh11:
	adrp	x9, _BACKBIAS_VALUE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BACKBIAS_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	ldr	w8, [x9]
	mvn	w2, w8
	mov	w1, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_P
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE,4,2 ; @ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE
	.comm	_GENERAL_PWRMGT,4,2             ; @GENERAL_PWRMGT
	.comm	_BACKBIAS_VALUE,4,2             ; @BACKBIAS_VALUE
	.no_dead_strip	_rv6xx_set_safe_backbias
.subsections_via_symbols
