	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotLoadCharacter
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x40a00000                      ## float 5
LCPI0_2:
	.long	0x40800000                      ## float 4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotLoadCharacter
	.p2align	4, 0x90
_BotLoadCharacter:                      ## @BotLoadCharacter
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	ja	LBB0_9
## %bb.1:
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_9
## %bb.2:
	ucomiss	LCPI0_1(%rip), %xmm0
	jne	LBB0_3
	jnp	LBB0_8
LBB0_3:
	ucomiss	LCPI0_0(%rip), %xmm0
	jne	LBB0_4
	jnp	LBB0_8
LBB0_4:
	ucomiss	LCPI0_2(%rip), %xmm0
	jne	LBB0_5
	jnp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	callq	_BotFindCachedCharacter
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movl	%eax, %r14d
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	%rbx, %rdx
	callq	*(%rax)
	jmp	LBB0_7
LBB0_8:
	movaps	%xmm0, %xmm1
LBB0_9:
	cvttss2si	%xmm1, %esi
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BotLoadCharacterSkill          ## TAILCALL
LBB0_10:
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_BotLoadCharacterSkill
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$4, %esi
	jmp	LBB0_15
LBB0_13:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_BotLoadCharacterSkill
	testl	%eax, %eax
	je	LBB0_18
## %bb.14:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$5, %esi
LBB0_15:
	callq	_BotLoadCharacterSkill
	testl	%eax, %eax
	je	LBB0_7
## %bb.16:
	movl	%r14d, %edi
	movl	%eax, %esi
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_BotInterpolateCharacters
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r14d
	movq	_botcharacters@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_BotDumpCharacter
	jmp	LBB0_7
LBB0_18:
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loaded cached skill %f from %s\n"

	.comm	_botcharacters,8,3              ## @botcharacters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotLoadCharacter               ; -- Begin function BotLoadCharacter
	.p2align	2
_BotLoadCharacter:                      ; @BotLoadCharacter
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	fmov	s8, s0
	mov	x19, x0
	fmov	s0, #1.00000000
	fcmp	s8, s0
	b.mi	LBB0_4
; %bb.1:
	fmov	s0, #5.00000000
	fcmp	s8, s0
	b.gt	LBB0_4
; %bb.2:
	fmov	s0, #5.00000000
	fcmp	s8, s0
	fmov	s0, #1.00000000
	fccmp	s8, s0, #4, ne
	fmov	s0, #4.00000000
	fccmp	s8, s0, #4, ne
	b.ne	LBB0_5
; %bb.3:
	fmov	s0, s8
LBB0_4:
	fcvtzs	w1, s0
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_BotLoadCharacterSkill
LBB0_5:
	mov	x0, x19
	fmov	s0, s8
	bl	_BotFindCachedCharacter
	cbz	w0, LBB0_8
; %bb.6:
	mov	x20, x0
Lloh0:
	adrp	x8, _botimport@GOTPAGE
Lloh1:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PRT_MESSAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRT_MESSAGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	fmov	s0, s8
	mov	x2, x19
	blr	x8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
LBB0_8:
	fmov	s0, #4.00000000
	mov	x0, x19
	fcmp	s8, s0
	b.pl	LBB0_11
; %bb.9:
	mov	w1, #1
	bl	_BotLoadCharacterSkill
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.10:
	mov	x0, x19
	mov	w1, #4
	b	LBB0_13
LBB0_11:
	mov	w1, #4
	bl	_BotLoadCharacterSkill
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.12:
	mov	x0, x19
	mov	w1, #5
LBB0_13:
	bl	_BotLoadCharacterSkill
	mov	x1, x0
	cbz	w0, LBB0_7
; %bb.14:
	mov	x0, x20
	fmov	s0, s8
	bl	_BotInterpolateCharacters
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.15:
Lloh8:
	adrp	x8, _botcharacters@GOTPAGE
Lloh9:
	ldr	x8, [x8, _botcharacters@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x8, w20, sxtw #2]
	bl	_BotDumpCharacter
	b	LBB0_7
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loaded cached skill %f from %s\n"

	.comm	_botcharacters,8,3              ; @botcharacters
.subsections_via_symbols
