	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotAddToAvoidReach             ## -- Begin function BotAddToAvoidReach
	.p2align	4, 0x90
_BotAddToAvoidReach:                    ## @BotAddToAvoidReach
	.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
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	_MAX_AVOIDREACH@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, (%rcx,%rbx,4)
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_2
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %r13
	xorl	%eax, %eax
	callq	_AAS_Time
	cmpq	%rax, %r13
	jl	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
	jmp	LBB0_11
LBB0_3:
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	xorl	%eax, %eax
	callq	_AAS_Time
	movq	16(%r14), %rcx
	movl	$1, %edx
	cmpq	%rax, %r15
	jle	LBB0_5
## %bb.4:
	movl	(%rcx,%rbx,4), %edx
	incl	%edx
LBB0_5:
	movl	%edx, (%rcx,%rbx,4)
	xorl	%eax, %eax
	callq	_AAS_Time
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	cvttss2si	%xmm0, %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	jmp	LBB0_11
LBB0_9:
	movq	(%r14), %rax
	movl	%r15d, (%rax,%rbx,4)
	xorl	%eax, %eax
	callq	_AAS_Time
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	cvttss2si	%xmm0, %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	16(%r14), %rax
	movl	$1, (%rax,%rbx,4)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_AVOIDREACH,4,2             ## @MAX_AVOIDREACH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotAddToAvoidReach             ; -- Begin function BotAddToAvoidReach
	.p2align	2
_BotAddToAvoidReach:                    ; @BotAddToAvoidReach
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
Lloh0:
	adrp	x22, _MAX_AVOIDREACH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAX_AVOIDREACH@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	fmov	s8, s0
	mov	x20, x1
	mov	x19, x0
	mov	x21, #0
	ldr	x9, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x21, lsl #2]
	cmp	w10, w20
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x23, [x8, x21, lsl #3]
	bl	_AAS_Time
	cmp	x23, x0
	b.lt	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_5
	b	LBB0_12
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x20, [x8, x21, lsl #3]
	bl	_AAS_Time
	ldr	x8, [x19, #16]
	cmp	x20, x0
	b.le	LBB0_9
; %bb.8:
	ldr	w9, [x8, x21, lsl #2]
	add	w9, w9, #1
	b	LBB0_10
LBB0_9:
	mov	w9, #1
LBB0_10:
	str	w9, [x8, x21, lsl #2]
	bl	_AAS_Time
	scvtf	s0, x0
	fadd	s0, s0, s8
	fcvtzs	x8, s0
	ldr	x9, [x19, #8]
	str	x8, [x9, x21, lsl #3]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19]
	lsl	x22, x21, #2
	str	w20, [x8, x22]
	bl	_AAS_Time
	scvtf	s0, x0
	fadd	s0, s0, s8
	fcvtzs	x8, s0
	ldp	x9, x10, [x19, #8]
	str	x8, [x9, x21, lsl #3]
	mov	w8, #1
	str	w8, [x10, x22]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_AVOIDREACH,4,2             ; @MAX_AVOIDREACH
.subsections_via_symbols
