	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_pp_soft_reset_async
_lima_pp_soft_reset_async:              ## @lima_pp_soft_reset_async
	.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
	cmpl	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_LIMA_PP_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_pp_write
	movq	_LIMA_PP_INT_RAWSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LIMA_PP_IRQ_MASK_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pp_write
	movq	_LIMA_PP_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LIMA_PP_CTRL_SOFT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pp_write
	movl	$1, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIMA_PP_INT_MASK,4,2           ## @LIMA_PP_INT_MASK
	.comm	_LIMA_PP_INT_RAWSTAT,4,2        ## @LIMA_PP_INT_RAWSTAT
	.comm	_LIMA_PP_IRQ_MASK_ALL,4,2       ## @LIMA_PP_IRQ_MASK_ALL
	.comm	_LIMA_PP_CTRL,4,2               ## @LIMA_PP_CTRL
	.comm	_LIMA_PP_CTRL_SOFT_RESET,4,2    ## @LIMA_PP_CTRL_SOFT_RESET
	.no_dead_strip	_lima_pp_soft_reset_async
.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_async
_lima_pp_soft_reset_async:              ; @lima_pp_soft_reset_async
	.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	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _LIMA_PP_INT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIMA_PP_INT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_pp_write
Lloh3:
	adrp	x8, _LIMA_PP_INT_RAWSTAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIMA_PP_INT_RAWSTAT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _LIMA_PP_IRQ_MASK_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LIMA_PP_IRQ_MASK_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_pp_write
Lloh9:
	adrp	x8, _LIMA_PP_CTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LIMA_PP_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _LIMA_PP_CTRL_SOFT_RESET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LIMA_PP_CTRL_SOFT_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_pp_write
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_LIMA_PP_INT_MASK,4,2           ; @LIMA_PP_INT_MASK
	.comm	_LIMA_PP_INT_RAWSTAT,4,2        ; @LIMA_PP_INT_RAWSTAT
	.comm	_LIMA_PP_IRQ_MASK_ALL,4,2       ; @LIMA_PP_IRQ_MASK_ALL
	.comm	_LIMA_PP_CTRL,4,2               ; @LIMA_PP_CTRL
	.comm	_LIMA_PP_CTRL_SOFT_RESET,4,2    ; @LIMA_PP_CTRL_SOFT_RESET
	.no_dead_strip	_lima_pp_soft_reset_async
.subsections_via_symbols
