	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a6xx_gmu_clear_oob             ## -- Begin function a6xx_gmu_clear_oob
	.p2align	4, 0x90
_a6xx_gmu_clear_oob:                    ## @a6xx_gmu_clear_oob
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	cmpl	$2, %esi
	ja	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	leaq	l_switch.table.a6xx_gmu_clear_oob(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	_REG_A6XX_GMU_HOST2GMU_INTR_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movb	(%rax), %cl
	movl	$1, %edx
	shll	%cl, %edx
	popq	%rbp
	jmp	_gmu_write                      ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_A6XX_GMU_HOST2GMU_INTR_SET,4,2 ## @REG_A6XX_GMU_HOST2GMU_INTR_SET
	.comm	_GMU_OOB_GPU_SET_CLEAR,4,2      ## @GMU_OOB_GPU_SET_CLEAR
	.comm	_GMU_OOB_BOOT_SLUMBER_CLEAR,4,2 ## @GMU_OOB_BOOT_SLUMBER_CLEAR
	.comm	_GMU_OOB_DCVS_CLEAR,4,2         ## @GMU_OOB_DCVS_CLEAR
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.a6xx_gmu_clear_oob
l_switch.table.a6xx_gmu_clear_oob:
	.quad	_GMU_OOB_GPU_SET_CLEAR
	.quad	_GMU_OOB_DCVS_CLEAR
	.quad	_GMU_OOB_BOOT_SLUMBER_CLEAR

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_a6xx_gmu_clear_oob             ; -- Begin function a6xx_gmu_clear_oob
	.p2align	2
_a6xx_gmu_clear_oob:                    ; @a6xx_gmu_clear_oob
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.a6xx_gmu_clear_oob@PAGE
Lloh1:
	add	x9, x9, l_switch.table.a6xx_gmu_clear_oob@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
Lloh2:
	adrp	x9, _REG_A6XX_GMU_HOST2GMU_INTR_SET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_A6XX_GMU_HOST2GMU_INTR_SET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w2, w9, w8
	b	_gmu_write
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_A6XX_GMU_HOST2GMU_INTR_SET,4,2 ; @REG_A6XX_GMU_HOST2GMU_INTR_SET
	.comm	_GMU_OOB_GPU_SET_CLEAR,4,2      ; @GMU_OOB_GPU_SET_CLEAR
	.comm	_GMU_OOB_BOOT_SLUMBER_CLEAR,4,2 ; @GMU_OOB_BOOT_SLUMBER_CLEAR
	.comm	_GMU_OOB_DCVS_CLEAR,4,2         ; @GMU_OOB_DCVS_CLEAR
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.a6xx_gmu_clear_oob
l_switch.table.a6xx_gmu_clear_oob:
	.quad	_GMU_OOB_GPU_SET_CLEAR
	.quad	_GMU_OOB_DCVS_CLEAR
	.quad	_GMU_OOB_BOOT_SLUMBER_CLEAR

.subsections_via_symbols
