	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotDumpNodeSwitches            ## -- Begin function BotDumpNodeSwitches
	.p2align	4, 0x90
_BotDumpNodeSwitches:                   ## @BotDumpNodeSwitches
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NETNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r14), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_ClientName
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	xorl	%eax, %eax
	callq	_FloatTime
	movq	_MAX_NODESWITCHES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_BotAI_Print
	movq	_numnodeswitches@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	movq	_nodeswitch@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_BotAI_Print
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_PRT_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_BotAI_Print
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NETNAME,4,2                ## @MAX_NETNAME
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s at %1.1f switched more than %d AI nodes\n"

	.comm	_MAX_NODESWITCHES,4,2           ## @MAX_NODESWITCHES
	.comm	_numnodeswitches,4,2            ## @numnodeswitches
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_nodeswitch,8,3                 ## @nodeswitch
	.comm	_PRT_FATAL,4,2                  ## @PRT_FATAL
L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotDumpNodeSwitches            ; -- Begin function BotDumpNodeSwitches
	.p2align	2
_BotDumpNodeSwitches:                   ; @BotDumpNodeSwitches
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_NETNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NETNAME@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x9, x2
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	ldr	w0, [x0]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ClientName
Lloh8:
	adrp	x21, _PRT_MESSAGE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PRT_MESSAGE@GOTPAGEOFF]
	ldr	w20, [x21]
	bl	_FloatTime
                                        ; kill: def $w0 killed $w0 def $x0
Lloh10:
	adrp	x8, _MAX_NODESWITCHES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_NODESWITCHES@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	sub	sp, sp, #32
	stp	x0, x8, [sp, #8]
	str	x19, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_BotAI_Print
	add	sp, sp, #32
Lloh15:
	adrp	x20, _numnodeswitches@GOTPAGE
Lloh16:
	ldr	x20, [x20, _numnodeswitches@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
Lloh17:
	adrp	x23, _nodeswitch@GOTPAGE
Lloh18:
	ldr	x23, [x23, _nodeswitch@GOTPAGEOFF]
Lloh19:
	adrp	x19, l_.str.1@PAGE
Lloh20:
	add	x19, x19, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	x8, [x23]
	ldr	w8, [x8, x22, lsl #2]
	str	x8, [sp, #-16]!
	mov	x1, x19
	bl	_BotAI_Print
	add	sp, sp, #16
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
Lloh21:
	adrp	x8, _PRT_FATAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PRT_FATAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BotAI_Print
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NETNAME,4,2                ; @MAX_NETNAME
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s at %1.1f switched more than %d AI nodes\n"

	.comm	_MAX_NODESWITCHES,4,2           ; @MAX_NODESWITCHES
	.comm	_numnodeswitches,4,2            ; @numnodeswitches
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_nodeswitch,8,3                 ; @nodeswitch
	.comm	_PRT_FATAL,4,2                  ; @PRT_FATAL
l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
