	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotGPSToPosition               ## -- Begin function BotGPSToPosition
	.p2align	4, 0x90
_BotGPSToPosition:                      ## @BotGPSToPosition
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%rbx), %eax
	cmpb	$32, %al
	jne	LBB0_2
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	jmp	LBB0_1
LBB0_2:
	cmpb	$45, %al
	jne	LBB0_4
## %bb.3:
	incl	%ebx
	movl	$-1, %r13d
	jmp	LBB0_5
LBB0_4:
	movl	$1, %r13d
LBB0_5:
	movslq	%ebx, %rax
	movb	(%r15,%rax), %cl
	testb	%cl, %cl
	je	LBB0_6
## %bb.7:
	addq	%r15, %rax
	incq	%rax
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-48(%rcx), %edx
	cmpb	$9, %dl
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movzbl	%cl, %ecx
	leal	(%r12,%r12,4), %edx
	leal	(%rcx,%rdx,2), %r12d
	addl	$-48, %r12d
	movzbl	(%rax), %ecx
	incl	%ebx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_8
	jmp	LBB0_11
LBB0_6:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_10:
	incl	%ebx
LBB0_11:
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %edx
	imull	%r13d, %edx
	leaq	L_.str(%rip), %rsi
	callq	_BotAI_Print
	cvtsi2ss	%r13d, %xmm0
	cvtsi2ss	%r12d, %xmm1
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%r14)
	movslq	%ebx, %rax
	addq	%r15, %rax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$32, %cl
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	incq	%rax
	jmp	LBB0_12
LBB0_13:
	cmpb	$45, %cl
	jne	LBB0_16
## %bb.14:
	incl	%ebx
	movl	$-1, %r13d
	jmp	LBB0_17
LBB0_16:
	movl	$1, %r13d
LBB0_17:
	movslq	%ebx, %rax
	movb	(%r15,%rax), %cl
	testb	%cl, %cl
	je	LBB0_18
## %bb.19:
	addq	%r15, %rax
	incq	%rax
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	leal	-48(%rcx), %edx
	cmpb	$10, %dl
	jae	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movzbl	%cl, %ecx
	leal	(%r12,%r12,4), %edx
	leal	(%rcx,%rdx,2), %r12d
	addl	$-48, %r12d
	movzbl	(%rax), %ecx
	incl	%ebx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_20
	jmp	LBB0_23
LBB0_18:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_21:
	incl	%ebx
LBB0_23:
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %edx
	imull	%r13d, %edx
	leaq	L_.str(%rip), %rsi
	callq	_BotAI_Print
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r12d, %xmm1
	mulss	%xmm0, %xmm1
	movss	%xmm1, 4(%r14)
	movslq	%ebx, %rax
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%rax), %ecx
	cmpb	$32, %cl
	jne	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%rax
	jmp	LBB0_24
LBB0_25:
	cmpb	$45, %cl
	jne	LBB0_28
## %bb.26:
	incq	%rax
	movl	$-1, %r12d
	jmp	LBB0_29
LBB0_28:
	movl	$1, %r12d
LBB0_29:
	cltq
	movb	(%r15,%rax), %cl
	testb	%cl, %cl
	je	LBB0_30
## %bb.31:
	addq	%r15, %rax
	incq	%rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	leal	-48(%rcx), %edx
	cmpb	$9, %dl
	ja	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movzbl	%cl, %ecx
	leal	(%rbx,%rbx,4), %edx
	leal	(%rcx,%rdx,2), %ebx
	addl	$-48, %ebx
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_32
	jmp	LBB0_34
LBB0_30:
	xorl	%ebx, %ebx
LBB0_34:
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %edx
	imull	%r12d, %edx
	leaq	L_.str(%rip), %rsi
	callq	_BotAI_Print
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ebx, %xmm1
	mulss	%xmm0, %xmm1
	movss	%xmm1, 8(%r14)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotGPSToPosition               ; -- Begin function BotGPSToPosition
	.p2align	2
_BotGPSToPosition:                      ; @BotGPSToPosition
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x8, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x8]
	cmp	w9, #32
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #1
	b	LBB0_1
LBB0_3:
	mov	w10, #-1
	mov	w11, #1
	cmp	w9, #45
	csel	w23, w10, w11, eq
	cinc	w22, w8, eq
	sxtw	x9, w22
	ldrb	w8, [x20, x9]
	cbz	w8, LBB0_7
; %bb.4:
	mov	w24, #0
	add	x9, x9, x20
	add	x9, x9, #1
	mov	w10, #10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w8, #48
	cmp	w11, #9
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	w8, w24, w10, w8
	sub	w24, w8, #48
	ldrb	w8, [x9], #1
	add	w22, w22, #1
	cbnz	w8, LBB0_5
	b	LBB0_9
LBB0_7:
	mov	w24, #0
	b	LBB0_9
LBB0_8:
	add	w22, w22, #1
LBB0_9:
Lloh0:
	adrp	x21, _PRT_MESSAGE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PRT_MESSAGE@GOTPAGEOFF]
	ldr	w0, [x21]
	mul	w2, w24, w23
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BotAI_Print
	scvtf	s0, w23
	scvtf	s1, w24
	fmul	s0, s0, s1
	str	s0, [x19]
	add	x8, x20, w22, sxtw
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	add	x8, x8, #1
	b	LBB0_10
LBB0_12:
	mov	w8, #1
	mov	w10, #-1
	cmp	w9, #45
	csel	w23, w8, w10, ne
	cinc	w22, w22, eq
	mov	x8, x22
	sxtw	x9, w8
	ldrb	w8, [x20, x9]
	cbz	w8, LBB0_16
; %bb.13:
	mov	w24, #0
	add	x9, x9, x20
	add	x9, x9, #1
	mov	w10, #10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sub	w11, w8, #48
	cmp	w11, #10
	b.hs	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	madd	w8, w24, w10, w8
	sub	w24, w8, #48
	ldrb	w8, [x9], #1
	add	w22, w22, #1
	cbnz	w8, LBB0_14
	b	LBB0_18
LBB0_16:
	mov	w24, #0
	b	LBB0_18
LBB0_17:
	add	w22, w22, #1
LBB0_18:
	ldr	w0, [x21]
	mul	w2, w24, w23
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BotAI_Print
	scvtf	s0, w23
	scvtf	s1, w24
	fmul	s0, s0, s1
	str	s0, [x19, #4]
	sxtw	x8, w22
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x8]
	cmp	w9, #32
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, #1
	b	LBB0_19
LBB0_21:
	mov	w10, #1
	mov	w11, #-1
	cmp	w9, #45
	csel	w22, w10, w11, ne
	cinc	x8, x8, eq
	sxtw	x9, w8
	ldrb	w8, [x20, x9]
	cbz	w8, LBB0_25
; %bb.22:
	mov	w23, #0
	add	x9, x9, x20
	add	x9, x9, #1
	mov	w10, #10
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	sub	w11, w8, #48
	cmp	w11, #9
	b.hi	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	madd	w8, w23, w10, w8
	sub	w23, w8, #48
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_23
	b	LBB0_26
LBB0_25:
	mov	w23, #0
LBB0_26:
	ldr	w0, [x21]
	mul	w2, w23, w22
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BotAI_Print
	scvtf	s0, w22
	scvtf	s1, w23
	fmul	s0, s0, s1
	str	s0, [x19, #8]
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
