	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v6_0_enable_lbpw
_gfx_v6_0_enable_lbpw:                  ## @gfx_v6_0_enable_lbpw
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_RLC_LB_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOAD_BALANCE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	testl	%ebx, %ebx
	setne	%dl
	callq	_WREG32_FIELD
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	movl	$-1, %ecx
	callq	_gfx_v6_0_select_se_sh
	movq	_mmSPI_LB_CU_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$255, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RLC_LB_CNTL,4,2                ## @RLC_LB_CNTL
	.comm	_LOAD_BALANCE_ENABLE,4,2        ## @LOAD_BALANCE_ENABLE
	.comm	_mmSPI_LB_CU_MASK,4,2           ## @mmSPI_LB_CU_MASK
	.no_dead_strip	_gfx_v6_0_enable_lbpw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v6_0_enable_lbpw
_gfx_v6_0_enable_lbpw:                  ; @gfx_v6_0_enable_lbpw
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RLC_LB_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RLC_LB_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _LOAD_BALANCE_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOAD_BALANCE_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cmp	w20, #0
	cset	w2, ne
	bl	_WREG32_FIELD
	cbz	w20, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #-1
	mov	w3, #-1
	bl	_gfx_v6_0_select_se_sh
Lloh6:
	adrp	x8, _mmSPI_LB_CU_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmSPI_LB_CU_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #255
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RLC_LB_CNTL,4,2                ; @RLC_LB_CNTL
	.comm	_LOAD_BALANCE_ENABLE,4,2        ; @LOAD_BALANCE_ENABLE
	.comm	_mmSPI_LB_CU_MASK,4,2           ; @mmSPI_LB_CU_MASK
	.no_dead_strip	_gfx_v6_0_enable_lbpw
.subsections_via_symbols
