	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a6xx_gmu_gfx_rail_on
_a6xx_gmu_gfx_rail_on:                  ## @a6xx_gmu_gfx_rail_on
	.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	%rdi, %rbx
	movq	_REG_A6XX_GMU_BOOT_SLUMBER_OPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_gmu_write
	movq	(%rbx), %rax
	movslq	8(%rbx), %rcx
	movl	-4(%rax,%rcx,4), %ecx
	movq	_REG_A6XX_GMU_GX_VOTE_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%cl, %edx
	movl	%ecx, %r14d
	movq	%rbx, %rdi
	callq	_gmu_write
	movq	_REG_A6XX_GMU_MX_VOTE_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %eax
	movzbl	%ah, %edx
	movq	%rbx, %rdi
	callq	_gmu_write
	movq	_GMU_OOB_BOOT_SLUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_a6xx_gmu_set_oob               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_A6XX_GMU_BOOT_SLUMBER_OPTION,4,2 ## @REG_A6XX_GMU_BOOT_SLUMBER_OPTION
	.comm	_REG_A6XX_GMU_GX_VOTE_IDX,4,2   ## @REG_A6XX_GMU_GX_VOTE_IDX
	.comm	_REG_A6XX_GMU_MX_VOTE_IDX,4,2   ## @REG_A6XX_GMU_MX_VOTE_IDX
	.comm	_GMU_OOB_BOOT_SLUMBER,4,2       ## @GMU_OOB_BOOT_SLUMBER
	.no_dead_strip	_a6xx_gmu_gfx_rail_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a6xx_gmu_gfx_rail_on
_a6xx_gmu_gfx_rail_on:                  ; @a6xx_gmu_gfx_rail_on
	.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, x0
Lloh0:
	adrp	x8, _REG_A6XX_GMU_BOOT_SLUMBER_OPTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_A6XX_GMU_BOOT_SLUMBER_OPTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_gmu_write
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #2
	ldur	w20, [x8, #-4]
Lloh3:
	adrp	x8, _REG_A6XX_GMU_GX_VOTE_IDX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_A6XX_GMU_GX_VOTE_IDX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	and	w2, w20, #0xff
	mov	x0, x19
	bl	_gmu_write
Lloh6:
	adrp	x8, _REG_A6XX_GMU_MX_VOTE_IDX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_A6XX_GMU_MX_VOTE_IDX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ubfx	w2, w20, #8, #8
	mov	x0, x19
	bl	_gmu_write
Lloh9:
	adrp	x8, _GMU_OOB_BOOT_SLUMBER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GMU_OOB_BOOT_SLUMBER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_a6xx_gmu_set_oob
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_A6XX_GMU_BOOT_SLUMBER_OPTION,4,2 ; @REG_A6XX_GMU_BOOT_SLUMBER_OPTION
	.comm	_REG_A6XX_GMU_GX_VOTE_IDX,4,2   ; @REG_A6XX_GMU_GX_VOTE_IDX
	.comm	_REG_A6XX_GMU_MX_VOTE_IDX,4,2   ; @REG_A6XX_GMU_MX_VOTE_IDX
	.comm	_GMU_OOB_BOOT_SLUMBER,4,2       ; @GMU_OOB_BOOT_SLUMBER
	.no_dead_strip	_a6xx_gmu_gfx_rail_on
.subsections_via_symbols
