	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function SV_CreateworldSector
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SV_CreateworldSector
	.p2align	4, 0x90
_SV_CreateworldSector:                  ## @SV_CreateworldSector
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_sv_worldSectors@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_sv_numworldSectors@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	leaq	(,%rbx,8), %r12
	addq	%r13, %r12
	incq	%rcx
	movq	%rcx, (%rax)
	movq	_AREA_DEPTH@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$-1, (%r12)
	movq	16(%r13,%rbx,8), %rax
	movq	$0, 8(%rax)
	movq	16(%r13,%rbx,8), %rax
	movq	$0, (%rax)
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdx, %rdi
	callq	_VectorSubtract
	movl	$1, (%r12)
	movq	8(%r15), %rax
	addq	8(%r14), %rax
	cvtsi2sd	%rax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, 8(%r13,%rbx,8)
	movq	%r15, %rdi
	callq	_VectorCopy
	movq	%r15, %rdi
	callq	_VectorCopy
	movq	%r14, %rdi
	callq	_VectorCopy
	movq	%r14, %rdi
	callq	_VectorCopy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_sv_worldSectors,8,3            ## @sv_worldSectors
	.comm	_sv_numworldSectors,8,3         ## @sv_numworldSectors
	.comm	_AREA_DEPTH,4,2                 ## @AREA_DEPTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_CreateworldSector           ; -- Begin function SV_CreateworldSector
	.p2align	2
_SV_CreateworldSector:                  ; @SV_CreateworldSector
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x8, x0
Lloh0:
	adrp	x9, _sv_worldSectors@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sv_worldSectors@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x11, _sv_numworldSectors@GOTPAGE
Lloh4:
	ldr	x11, [x11, _sv_numworldSectors@GOTPAGEOFF]
	ldr	x10, [x11]
	mov	w12, #24
	madd	x0, x10, x12, x9
	add	x12, x10, #1
	str	x12, [x11]
Lloh5:
	adrp	x11, _AREA_DEPTH@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AREA_DEPTH@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	cmp	w11, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #-1
	str	w8, [x0]
	mov	w8, #24
	madd	x8, x10, x8, x9
	ldr	x9, [x8, #16]
	str	xzr, [x9, #8]
	ldr	x8, [x8, #16]
	str	xzr, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x21, x0
	mov	x0, x2
	mov	x19, x1
	mov	x20, x2
	mov	x22, x9
	mov	x23, x10
	bl	_VectorSubtract
	mov	w8, #1
	ldr	x9, [x20, #8]
	ldr	x10, [x19, #8]
	add	x9, x10, x9
	scvtf	d0, x9
	str	w8, [x21]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	mov	w8, #24
	madd	x8, x23, x8, x22
	str	d0, [x8, #8]
	mov	x0, x19
	bl	_VectorCopy
	mov	x0, x19
	bl	_VectorCopy
	mov	x0, x20
	bl	_VectorCopy
	mov	x0, x20
	bl	_VectorCopy
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sv_worldSectors,8,3            ; @sv_worldSectors
	.comm	_sv_numworldSectors,8,3         ; @sv_numworldSectors
	.comm	_AREA_DEPTH,4,2                 ; @AREA_DEPTH
.subsections_via_symbols
