	.file	"extr_tr_bsp.c_R_LoadShaders.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"LoadMap: funny lump size in %s"
	.text
	.p2align 4
	.type	R_LoadShaders, @function
R_LoadShaders:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	mov	rbp, QWORD PTR fileBase[rip]
	add	rbp, QWORD PTR 8[rdi]
	test	al, 15
	je	.L2
	mov	rbx, rdi
	mov	edx, DWORD PTR s_worldData[rip+16]
	mov	edi, DWORD PTR ERR_DROP[rip]
	lea	rsi, .LC0[rip]
	call	[QWORD PTR ri[rip+8]]
	mov	eax, DWORD PTR [rbx]
.L2:
	movsx	r12, eax
	mov	esi, DWORD PTR h_low[rip]
	mov	r13, r12
	sar	r12, 4
	sal	r12d, 4
	shr	r13, 4
	mov	edi, r12d
	call	[QWORD PTR ri[rip]]
	mov	edx, r12d
	mov	rsi, rbp
	mov	DWORD PTR s_worldData[rip], r13d
	mov	rdi, rax
	mov	QWORD PTR s_worldData[rip+8], rax
	mov	rbx, rax
	call	Com_Memcpy@PLT
	test	r13d, r13d
	jle	.L1
	lea	eax, -1[r13]
	sal	rax, 4
	lea	rbp, 16[rbx+rax]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 8[rbx]
	add	rbx, 16
	call	LittleLong@PLT
	mov	rdi, QWORD PTR -16[rbx]
	mov	QWORD PTR -8[rbx], rax
	call	LittleLong@PLT
	mov	QWORD PTR -16[rbx], rax
	cmp	rbp, rbx
	jne	.L4
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	R_LoadShaders, .-R_LoadShaders
	.comm	s_worldData,24,16
	.comm	ri,16,16
	.comm	h_low,4,4
	.comm	fileBase,8,8
	.comm	ERR_DROP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tr_bsp.c_R_LoadShaders.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LoadMap: funny lump size in %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	R_LoadShaders, %function
R_LoadShaders:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r0]
	ldr	r5, [r0, #4]
	ldr	r3, [r3]
	tst	r6, #7
	add	r5, r5, r3
	bne	.L9
	ldr	r7, .L12+4
	ldr	r9, .L12+8
.L2:
	ldr	r2, .L12+12
	bic	r8, r6, #7
	ldr	r1, [r2]
	ldr	r3, [r9]
	mov	r0, r8
	blx	r3
	lsr	r6, r6, #3
	mov	r2, r8
	mov	r1, r5
	mov	r4, r0
	str	r6, [r7]
	str	r0, [r7, #4]
	bl	Com_Memcpy
	cmp	r6, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	add	r6, r4, r6, lsl #3
	add	r5, r4, #4
.L4:
	ldr	r0, [r4, #4]
	bl	LittleLong
	str	r0, [r4, #4]
	ldr	r0, [r5, #-4]
	bl	LittleLong
	add	r4, r4, #8
	cmp	r4, r6
	str	r0, [r5, #-4]
	add	r5, r5, #8
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	mov	r4, r0
	ldr	r3, .L12+16
	ldr	r7, .L12+4
	ldr	r9, .L12+8
	ldr	r0, [r3]
	ldr	r2, [r7, #8]
	ldr	r3, [r9, #4]
	ldr	r1, .L12+20
	blx	r3
	ldr	r6, [r4]
	b	.L2
.L13:
	.align	2
.L12:
	.word	fileBase
	.word	s_worldData
	.word	ri
	.word	h_low
	.word	ERR_DROP
	.word	.LC0
	.size	R_LoadShaders, .-R_LoadShaders
	.comm	s_worldData,12,4
	.comm	ri,8,4
	.comm	h_low,4,4
	.comm	fileBase,4,4
	.comm	ERR_DROP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
