	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RB_SurfaceRailRings
_RB_SurfaceRailRings:                   ## @RB_SurfaceRailRings
	.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	_backEnd@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	4(%rbx), %edi
	callq	_VectorCopy
	movl	(%rbx), %edi
	callq	_VectorCopy
	callq	_VectorSubtract
	callq	_VectorNormalize
	movl	%eax, %ebx
	callq	_MakeNormalVectors
	movq	_r_railSegmentLength@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	%ebx, %eax
	cltd
	idivl	%esi
	cmpl	$2, %eax
	movl	$1, %ebx
	cmovgel	%eax, %ebx
	callq	_VectorScale
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DoRailDiscs                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_backEnd,8,3                    ## @backEnd
	.comm	_r_railSegmentLength,8,3        ## @r_railSegmentLength
	.no_dead_strip	_RB_SurfaceRailRings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RB_SurfaceRailRings
_RB_SurfaceRailRings:                   ; @RB_SurfaceRailRings
	.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	x8, _backEnd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _backEnd@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldr	w0, [x19, #4]
	bl	_VectorCopy
	ldr	w0, [x19]
	bl	_VectorCopy
	bl	_VectorSubtract
	bl	_VectorNormalize
	mov	x19, x0
	bl	_MakeNormalVectors
Lloh3:
	adrp	x8, _r_railSegmentLength@GOTPAGE
Lloh4:
	ldr	x8, [x8, _r_railSegmentLength@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w1, [x8]
	sdiv	w8, w19, w1
	cmp	w8, #1
	csinc	w19, w8, wzr, gt
	bl	_VectorScale
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DoRailDiscs
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_backEnd,8,3                    ; @backEnd
	.comm	_r_railSegmentLength,8,3        ; @r_railSegmentLength
	.no_dead_strip	_RB_SurfaceRailRings
.subsections_via_symbols
