	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function R_ComputeIQMFogNum
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_R_ComputeIQMFogNum
	.p2align	4, 0x90
_R_ComputeIQMFogNum:                    ## @R_ComputeIQMFogNum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	l___const.R_ComputeIQMFogNum.defaultBounds+16(%rip), %rax
	movq	%rax, -32(%rbp)
	movaps	l___const.R_ComputeIQMFogNum.defaultBounds(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_tr@GOTPCREL(%rip), %rax
	movq	_RDF_NOWORLDMODEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movslq	(%r14), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %rbx
	jmp	LBB0_4
LBB0_3:
	leaq	-48(%rbp), %rbx
LBB0_4:
	leaq	12(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_VectorSubtract
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	%rbx, %rdi
	callq	_VectorMA
	movl	4(%r14), %edi
	callq	_VectorAdd
	callq	_VectorLength
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.R_ComputeIQMFogNum.defaultBounds
l___const.R_ComputeIQMFogNum.defaultBounds:
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8

	.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_ComputeIQMFogNum             ; -- Begin function R_ComputeIQMFogNum
	.p2align	2
_R_ComputeIQMFogNum:                    ; @R_ComputeIQMFogNum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l___const.R_ComputeIQMFogNum.defaultBounds@PAGE
Lloh4:
	add	x9, x9, l___const.R_ComputeIQMFogNum.defaultBounds@PAGEOFF
	str	x8, [sp, #24]
	ldr	q0, [x9]
	str	q0, [sp]
	ldr	x8, [x9, #16]
Lloh5:
	adrp	x9, _tr@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tr@GOTPAGEOFF]
	str	x8, [sp, #16]
Lloh7:
	ldr	w8, [x9, #8]
Lloh8:
	adrp	x9, _RDF_NOWORLDMODEL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RDF_NOWORLDMODEL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	ldrsw	x9, [x19]
	mov	w10, #24
	madd	x20, x9, x10, x8
	b	LBB0_4
LBB0_3:
	mov	x20, sp
LBB0_4:
	add	x0, x20, #12
	mov	x1, x20
	bl	_VectorSubtract
	fmov	s0, #0.50000000
	mov	x0, x20
	bl	_VectorMA
	ldr	w0, [x19, #4]
	bl	_VectorAdd
	bl	_VectorLength
LBB0_5:
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.R_ComputeIQMFogNum.defaultBounds
l___const.R_ComputeIQMFogNum.defaultBounds:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967288                      ; 0xfffffff8
	.long	4294967288                      ; 0xfffffff8
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	8                               ; 0x8

	.comm	_tr,16,3                        ; @tr
	.comm	_RDF_NOWORLDMODEL,4,2           ; @RDF_NOWORLDMODEL
.subsections_via_symbols
