	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Team_Parse
_Team_Parse:                            ## @Team_Parse
	.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, %r15
	movq	_qtrue@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_COM_ParseExt
	movq	_qfalse@GOTPCREL(%rip), %rcx
	cmpb	$123, (%rax)
	jne	LBB0_16
## %bb.1:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_COM_ParseExt
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	_uiInfo@GOTPCREL(%rip), %r14
	movq	_qtrue@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	testb	%al, %al
	je	LBB0_17
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_COM_ParseExt
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_18
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movb	(%r12), %al
	cmpb	$123, %al
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rax
	movq	_MAX_TEAMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rax
	movq	%rax, (%r14)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	(%r14), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	imulq	$56, %rax, %rsi
	addq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi
	movq	8(%r14), %rax
	imulq	$56, (%r14), %rcx
	movq	%rdi, 8(%rax,%rcx)
	callq	_trap_R_RegisterShaderNoMip
	movq	8(%r14), %rcx
	imulq	$56, (%r14), %rdx
	movq	%rax, 48(%rcx,%rdx)
	movq	8(%rcx,%rdx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_va
	movq	%rax, %rdi
	callq	_trap_R_RegisterShaderNoMip
	movq	8(%r14), %rcx
	imulq	$56, (%r14), %rdx
	movq	%rax, 40(%rcx,%rdx)
	movq	8(%rcx,%rdx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_va
	movq	%rax, %rdi
	callq	_trap_R_RegisterShaderNoMip
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	imulq	$56, %rcx, %rsi
	movq	%rax, 32(%rdx,%rsi)
	movl	$-1, 16(%rdx,%rsi)
	movq	_TEAM_MEMBERS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	imulq	$56, %rcx, %rax
	movq	24(%rdx,%rax), %rcx
	movq	$0, (%rcx,%rbx)
	movq	8(%r14), %rcx
	movq	24(%rcx,%rax), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	%r12
	movq	_TEAM_MEMBERS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	addq	$8, %rbx
	cmpq	%rax, %r12
	jl	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	imulq	$56, %rcx, %rax
	movq	(%rdx,%rax), %rsi
	movq	-48(%rbp), %rdx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	incq	(%r14)
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_COM_ParseExt
	cmpb	$125, (%rax)
	leaq	L_.str(%rip), %rbx
	je	LBB0_4
LBB0_17:
	movq	_qfalse@GOTPCREL(%rip), %r13
	jmp	LBB0_18
LBB0_16:
	movq	%rcx, %r13
LBB0_18:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"}"

	.comm	_uiInfo,16,3                    ## @uiInfo
	.comm	_MAX_TEAMS,8,3                  ## @MAX_TEAMS
L_.str.1:                               ## @.str.1
	.asciz	"Too many teams, last team replaced!\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s_metal"

L_.str.3:                               ## @.str.3
	.asciz	"%s_name"

	.comm	_TEAM_MEMBERS,4,2               ## @TEAM_MEMBERS
L_.str.4:                               ## @.str.4
	.asciz	"Loaded team %s with team icon %s.\n"

	.no_dead_strip	_Team_Parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Team_Parse
_Team_Parse:                            ; @Team_Parse
	.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	x26, _qtrue@GOTPAGE
Lloh1:
	ldr	x26, [x26, _qtrue@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cmp	w8, #123
	b.ne	LBB0_15
; %bb.1:
	ldr	w1, [x26]
	mov	x0, x19
	bl	_COM_ParseExt
	mov	x25, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_16
; %bb.2:
Lloh4:
	adrp	x28, _uiInfo@GOTPAGE
Lloh5:
	ldr	x28, [x28, _uiInfo@GOTPAGEOFF]
Lloh6:
	adrp	x27, _MAX_TEAMS@GOTPAGE
Lloh7:
	ldr	x27, [x27, _MAX_TEAMS@GOTPAGEOFF]
	mov	w20, #56
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh10:
	adrp	x23, _TEAM_MEMBERS@GOTPAGE
Lloh11:
	ldr	x23, [x23, _TEAM_MEMBERS@GOTPAGEOFF]
Lloh12:
	adrp	x24, l_.str@PAGE
Lloh13:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_15
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x26]
	mov	x0, x19
	bl	_COM_ParseExt
	mov	x25, x0
	mov	x1, x24
	bl	_Q_stricmp
	cbz	x0, LBB0_16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldrb	w8, [x25]
	cmp	w8, #123
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x8, #1
	str	x8, [x28]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	ldr	x8, [x28]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x28, #8]
	madd	x1, x8, x20, x9
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	ldp	x9, x8, [x28]
	madd	x8, x9, x20, x8
	str	x0, [x8, #8]
	bl	_trap_R_RegisterShaderNoMip
	ldp	x9, x8, [x28]
	madd	x8, x9, x20, x8
	str	x0, [x8, #48]
	ldr	x1, [x8, #8]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_va
	bl	_trap_R_RegisterShaderNoMip
	ldp	x9, x8, [x28]
	madd	x8, x9, x20, x8
	str	x0, [x8, #40]
	ldr	x1, [x8, #8]
	mov	x0, x22
	bl	_va
	bl	_trap_R_RegisterShaderNoMip
	ldp	x9, x8, [x28]
	madd	x10, x9, x20, x8
	str	x0, [x10, #32]
	mov	w11, #-1
	str	w11, [x10, #16]
	ldr	w10, [x23]
	cmp	w10, #1
	b.lt	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, #0
	mov	x21, #0
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	x9, x9, x20
	add	x8, x8, x9
	ldr	x8, [x8, #24]
	str	xzr, [x8, x25]
	ldr	x8, [x28, #8]
	add	x8, x8, x9
	ldr	x8, [x8, #24]
	add	x1, x8, x25
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x21, x21, #1
	ldrsw	x10, [x23]
	ldp	x9, x8, [x28]
	add	x25, x25, #8
	cmp	x21, x10
	b.lt	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mul	x9, x9, x20
	ldr	x8, [x8, x9]
	ldr	x9, [sp, #24]
	stp	x8, x9, [sp]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Com_Printf
	ldr	x8, [x28]
	add	x8, x8, #1
	str	x8, [x28]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cmp	w8, #125
	b.eq	LBB0_4
LBB0_15:
Lloh20:
	adrp	x26, _qfalse@GOTPAGE
Lloh21:
	ldr	x26, [x26, _qfalse@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x26]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"}"

	.comm	_uiInfo,16,3                    ; @uiInfo
	.comm	_MAX_TEAMS,8,3                  ; @MAX_TEAMS
l_.str.1:                               ; @.str.1
	.asciz	"Too many teams, last team replaced!\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s_metal"

l_.str.3:                               ; @.str.3
	.asciz	"%s_name"

	.comm	_TEAM_MEMBERS,4,2               ; @TEAM_MEMBERS
l_.str.4:                               ; @.str.4
	.asciz	"Loaded team %s with team icon %s.\n"

	.no_dead_strip	_Team_Parse
.subsections_via_symbols
