	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ReadWeightConfig
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ReadWeightConfig
	.p2align	4, 0x90
_ReadWeightConfig:                      ## @ReadWeightConfig
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_LibVarGetValue
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	movq	_BOTFILESBASEFOLDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PC_SetBaseFolder
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_LoadSourceFile
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rax, %r15
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	$24, %edi
	callq	_GetClearedMemory
	movq	%rax, %r13
	movq	$0, 8(%rax)
	movq	(%rax), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_Q_strncpyz
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PC_ReadToken
	testq	%rax, %rax
	je	LBB0_35
## %bb.14:
	leaq	L_.str.3(%rip), %r12
	movq	_MAX_WEIGHTS@GOTPCREL(%rip), %rbx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r13), %rcx
	leaq	-48(%rbp), %rsi
LBB0_34:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rcx
	movq	%rcx, 8(%r13)
	movq	%r15, %rdi
	callq	_PC_ReadToken
	testq	%rax, %rax
	je	LBB0_35
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_38
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r13), %rax
	cmpq	(%rbx), %rax
	jae	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_TT_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rcx
	callq	_PC_ExpectTokenType
	testl	%eax, %eax
	je	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-48(%rbp), %rdi
	callq	_StripDoubleQuotes
	movq	-48(%rbp), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_GetClearedMemory
	movq	8(%r13), %rcx
	movq	16(%r13), %rdx
	shlq	$4, %rcx
	movq	%rax, (%rdx,%rcx)
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_PC_ExpectAnyToken
	testl	%eax, %eax
	je	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-48(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_PC_ExpectAnyToken
	testl	%eax, %eax
	je	LBB0_19
LBB0_24:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_38
## %bb.28:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movl	$32, %edi
	callq	_GetClearedMemory
	movq	%rax, %r12
	movq	$0, 24(%rax)
	movq	_MAX_INVENTORYVALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movq	%r15, %r14
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ReadFuzzyWeight
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r13), %rcx
	movq	16(%r13), %rax
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	%r12, 8(%rax,%rdx)
	leaq	L_.str.3(%rip), %r12
	movq	%r14, %r15
	leaq	-48(%rbp), %rsi
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	jne	LBB0_32
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	callq	_ReadFuzzySeperators_r
	testq	%rax, %rax
	je	LBB0_19
## %bb.26:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r13), %rcx
	movq	16(%r13), %rdx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movq	%rax, 8(%rdx,%rsi)
	leaq	-48(%rbp), %rsi
	testl	%r14d, %r14d
	je	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_PC_ExpectTokenString
	testl	%eax, %eax
	jne	LBB0_33
	jmp	LBB0_19
LBB0_1:
	movq	_MAX_WEIGHT_FILES@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	movl	$-1, %r12d
	xorl	%ebx, %ebx
	movq	_weightFileList@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r12d
	cmovel	%ebx, %r12d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_37
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_12:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	cmpl	$-1, %r12d
	jne	LBB0_11
LBB0_9:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_10:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%rax)
	xorl	%r13d, %r13d
	jmp	LBB0_37
LBB0_38:
	movq	-48(%rbp), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_SourceError
LBB0_19:
	movq	%r13, %rdi
	callq	_FreeWeightConfig
	movq	%r15, %rdi
LBB0_20:
	callq	_FreeSource
	xorl	%r13d, %r13d
	jmp	LBB0_37
LBB0_17:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_SourceWarning
LBB0_35:
	movq	%r15, %rdi
	callq	_FreeSource
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%rax)
	leaq	L_.str(%rip), %rdi
	callq	_LibVarGetValue
	testl	%eax, %eax
	jne	LBB0_37
## %bb.36:
	movq	_weightFileList@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-60(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%r13, (%rax,%rcx,8)
LBB0_37:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	%r12, %rdi
	callq	_FreeMemory
	movq	%r13, %rdi
	callq	_FreeWeightConfig
	movq	%r14, %rdi
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bot_reloadcharacters"

	.comm	_MAX_WEIGHT_FILES,4,2           ## @MAX_WEIGHT_FILES
	.comm	_weightFileList,8,3             ## @weightFileList
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"weightFileList was full trying to load %s\n"

	.comm	_BOTFILESBASEFOLDER,4,2         ## @BOTFILESBASEFOLDER
L_.str.2:                               ## @.str.2
	.asciz	"counldn't load %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"weight"

	.comm	_MAX_WEIGHTS,8,3                ## @MAX_WEIGHTS
L_.str.4:                               ## @.str.4
	.asciz	"too many fuzzy weights\n"

	.comm	_TT_STRING,4,2                  ## @TT_STRING
	.comm	_qfalse,4,2                     ## @qfalse
L_.str.5:                               ## @.str.5
	.asciz	"{"

	.comm	_qtrue,4,2                      ## @qtrue
L_.str.6:                               ## @.str.6
	.asciz	"switch"

L_.str.7:                               ## @.str.7
	.asciz	"return"

	.comm	_MAX_INVENTORYVALUE,4,2         ## @MAX_INVENTORYVALUE
L_.str.8:                               ## @.str.8
	.asciz	"invalid name %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"}"

	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
L_.str.10:                              ## @.str.10
	.asciz	"loaded %s\n"

	.comm	_bot_developer,8,3              ## @bot_developer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadWeightConfig               ; -- Begin function ReadWeightConfig
	.p2align	2
_ReadWeightConfig:                      ; @ReadWeightConfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LibVarGetValue
	cbz	w0, LBB0_20
; %bb.1:
	mov	w24, #0
LBB0_2:
Lloh2:
	adrp	x8, _BOTFILESBASEFOLDER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BOTFILESBASEFOLDER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_PC_SetBaseFolder
	mov	x0, x19
	bl	_LoadSourceFile
	cbz	x0, LBB0_27
; %bb.3:
	mov	x21, x0
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
	mov	w0, #24
	bl	_GetClearedMemory
	mov	x20, x0
	str	xzr, [x0, #8]
	ldr	x0, [x0]
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	mov	x1, x19
	mov	w2, #8
	bl	_Q_strncpyz
	add	x1, sp, #24
	mov	x0, x21
	bl	_PC_ReadToken
	cbz	x0, LBB0_33
; %bb.4:
Lloh5:
	adrp	x22, l_.str.3@PAGE
Lloh6:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh7:
	adrp	x25, _MAX_WEIGHTS@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MAX_WEIGHTS@GOTPAGEOFF]
Lloh9:
	adrp	x26, _TT_STRING@GOTPAGE
Lloh10:
	ldr	x26, [x26, _TT_STRING@GOTPAGEOFF]
Lloh11:
	adrp	x27, _qfalse@GOTPAGE
Lloh12:
	ldr	x27, [x27, _qfalse@GOTPAGEOFF]
Lloh13:
	adrp	x23, l_.str.5@PAGE
Lloh14:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh15:
	adrp	x28, l_.str.6@PAGE
Lloh16:
	add	x28, x28, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
Lloh17:
	adrp	x1, l_.str.9@PAGE
Lloh18:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_PC_ExpectTokenString
	cbz	w0, LBB0_36
; %bb.6:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
	str	x8, [x20, #8]
	add	x1, sp, #24
	mov	x0, x21
	bl	_PC_ReadToken
	cbz	x0, LBB0_33
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #24]
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_31
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.hs	LBB0_32
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x26]
	add	x3, sp, #24
	mov	x0, x21
	mov	w2, #0
	bl	_PC_ExpectTokenType
	cbz	w0, LBB0_36
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]
	bl	_StripDoubleQuotes
	ldr	x0, [sp, #24]
	bl	_strlen
	add	w0, w0, #1
	bl	_GetClearedMemory
	ldp	x9, x8, [x20, #8]
	lsl	x9, x9, #4
	str	x0, [x8, x9]
	ldr	x1, [sp, #24]
	bl	_strcpy
	add	x1, sp, #24
	mov	x0, x21
	bl	_PC_ExpectAnyToken
	cbz	w0, LBB0_36
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w24, [x27]
	ldr	x0, [sp, #24]
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh19:
	adrp	x8, _qtrue@GOTPAGE
Lloh20:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh21:
	ldr	w24, [x8]
	add	x1, sp, #24
	mov	x0, x21
	bl	_PC_ExpectAnyToken
	cbz	w0, LBB0_36
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]
	mov	x1, x28
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_31
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x19, x22
	mov	x22, x25
	mov	x25, x26
	mov	x26, x23
	mov	x23, x27
	mov	w0, #32
	bl	_GetClearedMemory
	mov	x27, x0
	str	xzr, [x0, #24]
Lloh24:
	adrp	x8, _MAX_INVENTORYVALUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAX_INVENTORYVALUE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	stp	xzr, xzr, [x0]
	mov	x0, x21
	mov	x1, x27
	bl	_ReadFuzzyWeight
	cbz	w0, LBB0_35
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x8, x9, [x20, #8]
	add	x9, x9, x8, lsl #4
	str	x27, [x9, #8]
	mov	x27, x23
	mov	x23, x26
	mov	x26, x25
	mov	x25, x22
	mov	x22, x19
	cbnz	w24, LBB0_5
	b	LBB0_7
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_ReadFuzzySeperators_r
	cbz	x0, LBB0_36
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x8, x9, [x20, #8]
	add	x9, x9, x8, lsl #4
	str	x0, [x9, #8]
	cbnz	w24, LBB0_5
	b	LBB0_7
LBB0_20:
Lloh27:
	adrp	x21, _MAX_WEIGHT_FILES@GOTPAGE
Lloh28:
	ldr	x21, [x21, _MAX_WEIGHT_FILES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.21:
	mov	x22, #0
	mov	w24, #-1
Lloh29:
	adrp	x23, _weightFileList@GOTPAGE
Lloh30:
	ldr	x23, [x23, _weightFileList@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	cmn	w24, #1
	csel	w24, w22, w24, eq
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_28
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x20, [x9, x22, lsl #3]
	cbz	x20, LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x1, [x20]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_38
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x21]
	b	LBB0_23
LBB0_27:
Lloh31:
	adrp	x8, _botimport@GOTPAGE
Lloh32:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh35:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x9]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_28:
	cmn	w24, #1
	b.ne	LBB0_2
LBB0_29:
Lloh39:
	adrp	x8, _botimport@GOTPAGE
Lloh40:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x9]
Lloh45:
	adrp	x1, l_.str.1@PAGE
Lloh46:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_30:
	mov	x2, x19
	blr	x8
	b	LBB0_37
LBB0_31:
	ldr	x2, [sp, #24]
Lloh47:
	adrp	x1, l_.str.8@PAGE
Lloh48:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_SourceError
	b	LBB0_36
LBB0_32:
Lloh49:
	adrp	x1, l_.str.4@PAGE
Lloh50:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_SourceWarning
LBB0_33:
	mov	x0, x21
	bl	_FreeSource
Lloh51:
	adrp	x8, _botimport@GOTPAGE
Lloh52:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
Lloh54:
	adrp	x9, _PRT_MESSAGE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PRT_MESSAGE@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x9]
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
Lloh59:
	adrp	x0, l_.str@PAGE
Lloh60:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LibVarGetValue
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w0, LBB0_38
; %bb.34:
Lloh61:
	adrp	x8, _weightFileList@GOTPAGE
Lloh62:
	ldr	x8, [x8, _weightFileList@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	str	x20, [x8, w9, sxtw #3]
	b	LBB0_38
LBB0_35:
	mov	x0, x27
	bl	_FreeMemory
LBB0_36:
	mov	x0, x20
	bl	_FreeWeightConfig
	mov	x0, x21
	bl	_FreeSource
LBB0_37:
	mov	x20, #0
LBB0_38:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bot_reloadcharacters"

	.comm	_MAX_WEIGHT_FILES,4,2           ; @MAX_WEIGHT_FILES
	.comm	_weightFileList,8,3             ; @weightFileList
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"weightFileList was full trying to load %s\n"

	.comm	_BOTFILESBASEFOLDER,4,2         ; @BOTFILESBASEFOLDER
l_.str.2:                               ; @.str.2
	.asciz	"counldn't load %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"weight"

	.comm	_MAX_WEIGHTS,8,3                ; @MAX_WEIGHTS
l_.str.4:                               ; @.str.4
	.asciz	"too many fuzzy weights\n"

	.comm	_TT_STRING,4,2                  ; @TT_STRING
	.comm	_qfalse,4,2                     ; @qfalse
l_.str.5:                               ; @.str.5
	.asciz	"{"

	.comm	_qtrue,4,2                      ; @qtrue
l_.str.6:                               ; @.str.6
	.asciz	"switch"

l_.str.7:                               ; @.str.7
	.asciz	"return"

	.comm	_MAX_INVENTORYVALUE,4,2         ; @MAX_INVENTORYVALUE
l_.str.8:                               ; @.str.8
	.asciz	"invalid name %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"}"

	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
l_.str.10:                              ; @.str.10
	.asciz	"loaded %s\n"

	.comm	_bot_developer,8,3              ; @bot_developer
.subsections_via_symbols
