	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_ih_doorbell_rptr
_vega10_ih_doorbell_rptr:               ## @vega10_ih_doorbell_rptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 8(%rdi)
	movq	_IH_DOORBELL_RPTR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	je	LBB0_2
## %bb.1:
	movq	_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rdi), %ecx
	xorl	%edi, %edi
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	jmp	LBB0_3
LBB0_2:
	movq	_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_SET_FIELD                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IH_DOORBELL_RPTR,4,2           ## @IH_DOORBELL_RPTR
	.comm	_OFFSET,4,2                     ## @OFFSET
	.comm	_ENABLE,4,2                     ## @ENABLE
	.no_dead_strip	_vega10_ih_doorbell_rptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_ih_doorbell_rptr
_vega10_ih_doorbell_rptr:               ; @vega10_ih_doorbell_rptr
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x19, _IH_DOORBELL_RPTR@GOTPAGE
Lloh1:
	ldr	x19, [x19, _IH_DOORBELL_RPTR@GOTPAGEOFF]
	ldr	w1, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldr	w3, [x0]
	mov	w0, #0
	bl	_REG_SET_FIELD
Lloh5:
	adrp	x8, _ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENABLE@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh7:
	ldr	w2, [x8]
	mov	w3, #1
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET_FIELD
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IH_DOORBELL_RPTR,4,2           ; @IH_DOORBELL_RPTR
	.comm	_OFFSET,4,2                     ; @OFFSET
	.comm	_ENABLE,4,2                     ; @ENABLE
	.no_dead_strip	_vega10_ih_doorbell_rptr
.subsections_via_symbols
