	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Think_SetupTrainTargets        ## -- Begin function Think_SetupTrainTargets
	.p2align	4, 0x90
_Think_SetupTrainTargets:               ## @Think_SetupTrainTargets
	.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, %rbx
	movq	_targetname@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_FOFS
	movl	12(%rbx), %edx
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_G_Find
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	L_.str.3(%rip), %r15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testq	%r14, %r14
	cmoveq	%r12, %r14
	cmpl	$0, 12(%r12)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %edi
	callq	_FOFS
	movl	12(%r12), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_G_Find
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, %rbx
	movl	16(%rax), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, (%r12)
	movq	%rbx, %r12
	cmpq	%rbx, %r14
	jne	LBB0_4
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Reached_Train                  ## TAILCALL
LBB0_7:
	movl	8(%r12), %edi
	callq	_vtos
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	movl	20(%rbx), %edi
	callq	_vtos
	leaq	L_.str(%rip), %rdi
LBB0_2:
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_G_Printf                       ## TAILCALL
LBB0_11:
	movl	8(%r12), %edi
	callq	_vtos
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_targetname,4,2                 ## @targetname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"func_train at %s with an unfound target\n"

L_.str.1:                               ## @.str.1
	.asciz	"Train corner at %s without a target\n"

L_.str.2:                               ## @.str.2
	.asciz	"Train corner at %s without a target path_corner\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Think_SetupTrainTargets        ; -- Begin function Think_SetupTrainTargets
	.p2align	2
_Think_SetupTrainTargets:               ; @Think_SetupTrainTargets
	.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, x0
Lloh0:
	adrp	x23, _targetname@GOTPAGE
Lloh1:
	ldr	x23, [x23, _targetname@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_FOFS
	mov	x1, x0
	ldr	w2, [x19, #12]
	mov	x0, #0
	bl	_G_Find
	str	x0, [x19]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x24, #0
Lloh2:
	adrp	x21, l_.str.3@PAGE
Lloh3:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cmp	x24, #0
	csel	x24, x20, x24, eq
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, #0
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	bl	_FOFS
	mov	x1, x0
	ldr	w2, [x20, #12]
	mov	x0, x22
	bl	_G_Find
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x22, x0
	ldr	w0, [x0, #16]
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x22, [x20]
	mov	x20, x22
	cmp	x24, x22
	b.ne	LBB0_2
; %bb.7:
	mov	x0, x19
	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
	b	_Reached_Train
LBB0_8:
	ldr	w0, [x20, #8]
	bl	_vtos
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19, #20]
	bl	_vtos
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_10:
	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
	b	_G_Printf
LBB0_11:
	ldr	w0, [x20, #8]
	bl	_vtos
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_targetname,4,2                 ; @targetname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"func_train at %s with an unfound target\n"

l_.str.1:                               ; @.str.1
	.asciz	"Train corner at %s without a target\n"

l_.str.2:                               ; @.str.2
	.asciz	"Train corner at %s without a target path_corner\n"

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

.subsections_via_symbols
