	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_ComputeFogNum                ## -- Begin function R_ComputeFogNum
	.p2align	4, 0x90
_R_ComputeFogNum:                       ## @R_ComputeFogNum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tr@GOTPCREL(%rip), %rax
	movq	_RDF_NOWORLDMODEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	jne	LBB0_2
## %bb.1:
	movslq	(%rdi), %rax
	leaq	(%rdi,%rax,4), %rax
	movslq	(%rsi), %rcx
	movl	4(%rsi), %edi
	shlq	$4, %rcx
	movl	8(%rcx,%rax), %esi
	callq	_VectorAdd
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,16,3                        ## @tr
	.comm	_RDF_NOWORLDMODEL,4,2           ## @RDF_NOWORLDMODEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_ComputeFogNum                ; -- Begin function R_ComputeFogNum
	.p2align	2
_R_ComputeFogNum:                       ; @R_ComputeFogNum
	.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, _tr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8, #8]
Lloh3:
	adrp	x9, _RDF_NOWORLDMODEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RDF_NOWORLDMODEL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldrsw	x8, [x0]
	add	x8, x0, x8, lsl #2
	ldp	w9, w0, [x1]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x8, x8, x9, lsl #4
	ldr	w1, [x8, #8]
	bl	_VectorAdd
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,16,3                        ; @tr
	.comm	_RDF_NOWORLDMODEL,4,2           ; @RDF_NOWORLDMODEL
.subsections_via_symbols
