	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_pp_soft_reset_poll
_lima_pp_soft_reset_poll:               ## @lima_pp_soft_reset_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LIMA_PP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pp_read
	movl	%eax, %ecx
	movq	_LIMA_PP_STATUS_RENDERING_ACTIVE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movq	_LIMA_PP_INT_RAWSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pp_read
	movl	%eax, %ecx
	movq	_LIMA_PP_IRQ_RESET_COMPLETED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIMA_PP_STATUS,4,2             ## @LIMA_PP_STATUS
	.comm	_LIMA_PP_STATUS_RENDERING_ACTIVE,4,2 ## @LIMA_PP_STATUS_RENDERING_ACTIVE
	.comm	_LIMA_PP_INT_RAWSTAT,4,2        ## @LIMA_PP_INT_RAWSTAT
	.comm	_LIMA_PP_IRQ_RESET_COMPLETED,4,2 ## @LIMA_PP_IRQ_RESET_COMPLETED
	.no_dead_strip	_lima_pp_soft_reset_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lima_pp_soft_reset_poll
_lima_pp_soft_reset_poll:               ; @lima_pp_soft_reset_poll
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _LIMA_PP_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIMA_PP_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_pp_read
Lloh3:
	adrp	x8, _LIMA_PP_STATUS_RENDERING_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIMA_PP_STATUS_RENDERING_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _LIMA_PP_INT_RAWSTAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LIMA_PP_INT_RAWSTAT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_pp_read
Lloh9:
	adrp	x8, _LIMA_PP_IRQ_RESET_COMPLETED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LIMA_PP_IRQ_RESET_COMPLETED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LIMA_PP_STATUS,4,2             ; @LIMA_PP_STATUS
	.comm	_LIMA_PP_STATUS_RENDERING_ACTIVE,4,2 ; @LIMA_PP_STATUS_RENDERING_ACTIVE
	.comm	_LIMA_PP_INT_RAWSTAT,4,2        ; @LIMA_PP_INT_RAWSTAT
	.comm	_LIMA_PP_IRQ_RESET_COMPLETED,4,2 ; @LIMA_PP_IRQ_RESET_COMPLETED
	.no_dead_strip	_lima_pp_soft_reset_poll
.subsections_via_symbols
