	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PM_WaterEvents
_PM_WaterEvents:                        ## @PM_WaterEvents
	.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
	movq	_pml@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	movq	_pm@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.5:
	cmpl	$3, %eax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_1:
	movq	_pm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.2:
	movq	_EV_WATER_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PM_AddEvent
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	_EV_WATER_LEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PM_AddEvent
	movl	(%rbx), %eax
	cmpl	$3, %eax
	je	LBB0_8
LBB0_6:
	movq	_pm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$3, (%rax)
	jne	LBB0_9
## %bb.7:
	movq	_EV_WATER_UNDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PM_AddEvent
	cmpl	$3, (%rbx)
	jne	LBB0_9
LBB0_8:
	movq	_pm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$3, (%rax)
	jne	LBB0_10
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	movq	_EV_WATER_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PM_AddEvent                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pml,4,2                        ## @pml
	.comm	_pm,8,3                         ## @pm
	.comm	_EV_WATER_TOUCH,4,2             ## @EV_WATER_TOUCH
	.comm	_EV_WATER_LEAVE,4,2             ## @EV_WATER_LEAVE
	.comm	_EV_WATER_UNDER,4,2             ## @EV_WATER_UNDER
	.comm	_EV_WATER_CLEAR,4,2             ## @EV_WATER_CLEAR
	.no_dead_strip	_PM_WaterEvents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PM_WaterEvents
_PM_WaterEvents:                        ; @PM_WaterEvents
	.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
Lloh0:
	adrp	x20, _pml@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pml@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x19, _pm@GOTPAGE
Lloh3:
	ldr	x19, [x19, _pm@GOTPAGEOFF]
	cbz	w8, LBB0_3
LBB0_1:
	ldr	x9, [x19]
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.2:
	cmp	w8, #3
	b.ne	LBB0_6
	b	LBB0_8
LBB0_3:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _EV_WATER_TOUCH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EV_WATER_TOUCH@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_PM_AddEvent
	ldr	w8, [x20]
	cbnz	w8, LBB0_1
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _EV_WATER_LEAVE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EV_WATER_LEAVE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_PM_AddEvent
	ldr	w8, [x20]
	cmp	w8, #3
	b.eq	LBB0_8
LBB0_6:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #3
	b.ne	LBB0_9
; %bb.7:
Lloh10:
	adrp	x8, _EV_WATER_UNDER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EV_WATER_UNDER@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_PM_AddEvent
	ldr	w8, [x20]
	cmp	w8, #3
	b.ne	LBB0_9
LBB0_8:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #3
	b.ne	LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh13:
	adrp	x8, _EV_WATER_CLEAR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EV_WATER_CLEAR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PM_AddEvent
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_pml,4,2                        ; @pml
	.comm	_pm,8,3                         ; @pm
	.comm	_EV_WATER_TOUCH,4,2             ; @EV_WATER_TOUCH
	.comm	_EV_WATER_LEAVE,4,2             ; @EV_WATER_LEAVE
	.comm	_EV_WATER_UNDER,4,2             ; @EV_WATER_UNDER
	.comm	_EV_WATER_CLEAR,4,2             ; @EV_WATER_CLEAR
	.no_dead_strip	_PM_WaterEvents
.subsections_via_symbols
