	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_SnowLink                    ## -- Begin function CG_SnowLink
	.p2align	4, 0x90
_CG_SnowLink:                           ## @CG_SnowLink
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_active_particles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_P_WEATHER@GOTPCREL(%rip), %rdx
	movq	_P_WEATHER_TURBULENT@GOTPCREL(%rip), %r8
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.3:
	movq	_qfalse@GOTPCREL(%rip), %r9
	jmp	LBB0_4
LBB0_2:
	movq	_qtrue@GOTPCREL(%rip), %r9
LBB0_4:
	movl	(%rdi), %ecx
	movq	(%rdx), %rdx
	movq	(%r8), %rsi
	movl	(%r9), %r8d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rdi
	cmpq	%rdx, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rdi
	jne	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ecx, 8(%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r8d, 12(%rax)
	jmp	LBB0_9
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_active_particles,8,3           ## @active_particles
	.comm	_P_WEATHER,8,3                  ## @P_WEATHER
	.comm	_P_WEATHER_TURBULENT,8,3        ## @P_WEATHER_TURBULENT
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_SnowLink                    ; -- Begin function CG_SnowLink
	.p2align	2
_CG_SnowLink:                           ; @CG_SnowLink
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _active_particles@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_particles@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
Lloh3:
	adrp	x10, _P_WEATHER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _P_WEATHER@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _P_WEATHER_TURBULENT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _P_WEATHER_TURBULENT@GOTPAGEOFF]
Lloh8:
	adrp	x12, _qtrue@GOTPAGE
Lloh9:
	ldr	x12, [x12, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	adrp	x13, _qfalse@GOTPAGE
Lloh12:
	ldr	x13, [x13, _qfalse@GOTPAGEOFF]
	cmp	x1, #0
	csel	x12, x13, x12, eq
	ldr	w12, [x12]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8]
	cmp	x13, x10
	ccmp	x13, x11, #4, ne
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x8, #8]
	cmp	w13, w9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w12, [x8, #12]
	b	LBB0_2
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_active_particles,8,3           ; @active_particles
	.comm	_P_WEATHER,8,3                  ; @P_WEATHER
	.comm	_P_WEATHER_TURBULENT,8,3        ; @P_WEATHER_TURBULENT
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
