	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddRemap                       ## -- Begin function AddRemap
	.p2align	4, 0x90
_AddRemap:                              ## @AddRemap
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	movq	_remapCount@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_remappedShaders@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	4(%rax,%rbx), %esi
	movq	%r12, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r15), %rax
	addq	$12, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
## %bb.5:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_6:
	movq	_MAX_SHADER_REMAPS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_8
## %bb.7:
	movq	_remappedShaders@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cltq
	leaq	(%rax,%rax,2), %rax
	movl	8(%rcx,%rax,4), %edi
	callq	_strcpy
	movq	(%rbx), %rax
	movslq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	4(%rax,%rcx,4), %edi
	movq	%r12, %rsi
	callq	_strcpy
	movq	(%rbx), %rax
	movslq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rdx
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax,%rdx,4)
	leal	1(%rcx), %eax
	movl	%eax, (%r15)
	jmp	LBB0_8
LBB0_3:
	movq	(%r13), %rax
	movl	8(%rax,%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
	movq	(%r13), %rax
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax,%rbx)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remapCount,4,2                 ## @remapCount
	.comm	_remappedShaders,8,3            ## @remappedShaders
	.comm	_MAX_SHADER_REMAPS,4,2          ## @MAX_SHADER_REMAPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddRemap                       ; -- Begin function AddRemap
	.p2align	2
_AddRemap:                              ; @AddRemap
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	fmov	s8, s0
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _remapCount@GOTPAGE
Lloh1:
	ldr	x21, [x21, _remapCount@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x24, #0
Lloh2:
	adrp	x23, _remappedShaders@GOTPAGE
Lloh3:
	ldr	x23, [x23, _remappedShaders@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x8, x8, x22
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_Q_stricmp
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	x22, x22, #12
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_4:
Lloh4:
	adrp	x9, _MAX_SHADER_REMAPS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MAX_SHADER_REMAPS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.5:
Lloh7:
	adrp	x22, _remappedShaders@GOTPAGE
Lloh8:
	ldr	x22, [x22, _remappedShaders@GOTPAGEOFF]
	ldr	x9, [x22]
	mov	w23, #12
	smaddl	x8, w8, w23, x9
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_strcpy
	ldr	x8, [x22]
	ldrsw	x9, [x21]
	madd	x8, x9, x23, x8
	ldr	w0, [x8, #4]
	mov	x1, x19
	bl	_strcpy
	ldr	x8, [x22]
	ldrsw	x9, [x21]
	mul	x10, x9, x23
	str	s8, [x8, x10]
	add	w8, w9, #1
	str	w8, [x21]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x23]
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_strcpy
	ldr	x8, [x23]
	str	s8, [x8, x22]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_remapCount,4,2                 ; @remapCount
	.comm	_remappedShaders,8,3            ; @remappedShaders
	.comm	_MAX_SHADER_REMAPS,4,2          ; @MAX_SHADER_REMAPS
.subsections_via_symbols
