	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotPushOntoActivateGoalStack   ## -- Begin function BotPushOntoActivateGoalStack
	.p2align	4, 0x90
_BotPushOntoActivateGoalStack:          ## @BotPushOntoActivateGoalStack
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_FloatTime
	movq	_MAX_ACTIVATESTACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_qfalse@GOTPCREL(%rip), %r8
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.1:
	addl	$9999, %eax                     ## imm = 0x270F
	cvtsi2ss	%eax, %xmm0
	movq	(%r15), %r9
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.2:
	movl	$-1, %esi
	xorl	%edi, %edi
LBB0_11:
	testb	$1, %cl
	je	LBB0_15
## %bb.12:
	movq	%rdi, %rax
	shlq	$4, %rax
	cmpl	$0, (%r9,%rax)
	jne	LBB0_15
## %bb.13:
	ucomiss	4(%r9,%rax), %xmm0
	jbe	LBB0_15
## %bb.14:
	movl	%edi, %esi
LBB0_15:
	cmpl	$-1, %esi
	je	LBB0_17
## %bb.16:
	movslq	%esi, %rbx
	shlq	$4, %rbx
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_qtrue@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	movq	(%r15), %rcx
	leaq	(%rcx,%rbx), %rdx
	movl	%eax, (%rcx,%rbx)
	movq	8(%r15), %rax
	movq	%rax, 8(%rcx,%rbx)
	movq	%rdx, 8(%r15)
LBB0_17:
	movl	(%r8), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%ecx, %edx
	andl	$-2, %edx
	leaq	20(%r9), %rax
	movl	$-1, %esi
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rdi
	addq	$32, %rax
	cmpq	%rdi, %rdx
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -20(%rax)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movss	-16(%rax), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %esi
	movaps	%xmm1, %xmm0
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -4(%rax)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%rdi), %esi
	movaps	%xmm1, %xmm0
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ACTIVATESTACK,4,2          ## @MAX_ACTIVATESTACK
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotPushOntoActivateGoalStack   ; -- Begin function BotPushOntoActivateGoalStack
	.p2align	2
_BotPushOntoActivateGoalStack:          ; @BotPushOntoActivateGoalStack
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_FloatTime
Lloh0:
	adrp	x8, _MAX_ACTIVATESTACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_ACTIVATESTACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	mov	w10, #9999
	add	w10, w0, w10
	scvtf	s0, w10
	ldr	x10, [x19]
	add	x11, x10, #4
	mov	w10, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x11, x11, #16
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x11, #-4]
	cbnz	w12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	s1, [x11]
	fcmp	s1, s0
	b.pl	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, x9
	fmov	s0, s1
	b	LBB0_2
LBB0_6:
	cmn	w10, #1
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x19]
	sbfiz	x21, x10, #4, #32
	add	x0, x8, x21
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
Lloh3:
	adrp	x8, _qtrue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	ldr	w9, [x8]
	ldp	x10, x11, [x19]
	add	x10, x10, x21
	str	w9, [x10]
	str	x11, [x10, #8]
	str	x10, [x19, #8]
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _qfalse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ACTIVATESTACK,4,2          ; @MAX_ACTIVATESTACK
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
