	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotGoalName                    ## -- Begin function BotGoalName
	.p2align	4, 0x90
_BotGoalName:                           ## @BotGoalName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_itemconfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	_levelitems@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rcx)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
LBB0_4:
	movq	(%rax), %rax
	movq	8(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movslq	%edx, %r14
	leaq	-1(%r14), %rdx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movb	$0, -1(%rbx,%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_itemconfig,8,3                 ## @itemconfig
	.comm	_levelitems,8,3                 ## @levelitems
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotGoalName                    ; -- Begin function BotGoalName
	.p2align	2
_BotGoalName:                           ; @BotGoalName
	.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
                                        ; kill: def $w2 killed $w2 def $x2
Lloh0:
	adrp	x8, _itemconfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _itemconfig@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x9, _levelitems@GOTPAGE
Lloh4:
	ldr	x9, [x9, _levelitems@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cbz	x9, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x9, #16]
	cbnz	x9, LBB0_2
LBB0_4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strcpy
LBB0_5:
	ldr	x8, [x8]
	ldr	x9, [x9, #8]
	ldr	w1, [x8, x9, lsl #2]
	sxtw	x8, w2
	sub	x20, x8, #1
	mov	x0, x19
	mov	x2, x20
	bl	_strncpy
	strb	wzr, [x19, x20]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_itemconfig,8,3                 ; @itemconfig
	.comm	_levelitems,8,3                 ; @levelitems
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
