	.file	"extr_map_sin.c_Sin_SetLeafBrushesModelNumbers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Sin_SetLeafBrushesModelNumbers
	.type	Sin_SetLeafBrushesModelNumbers, @function
Sin_SetLeafBrushesModelNumbers:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR sin_dleafs[rip]
	movsx	rdx, edi
	lea	rcx, [rax+rdx*8]
	mov	eax, DWORD PTR [rcx]
	test	eax, eax
	jle	.L1
	mov	r10, QWORD PTR sin_dleafbrushes[rip]
	mov	r9, QWORD PTR brushmodelnumbers[rip]
	xor	eax, eax
	mov	r8, QWORD PTR dbrushleafnums[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR 4[rcx]
	add	edx, eax
	add	eax, 1
	movsx	rdx, edx
	movsx	rdx, DWORD PTR [r10+rdx*4]
	mov	DWORD PTR [r9+rdx*4], esi
	mov	DWORD PTR [r8+rdx*4], edi
	cmp	DWORD PTR [rcx], eax
	jg	.L3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	Sin_SetLeafBrushesModelNumbers, .-Sin_SetLeafBrushesModelNumbers
	.comm	sin_dleafs,8,8
	.comm	sin_dleafbrushes,8,8
	.comm	dbrushleafnums,8,8
	.comm	brushmodelnumbers,8,8
	.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_map_sin.c_Sin_SetLeafBrushesModelNumbers.c"
	.text
	.align	2
	.global	Sin_SetLeafBrushesModelNumbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	Sin_SetLeafBrushesModelNumbers, %function
Sin_SetLeafBrushesModelNumbers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	ip, [r3]
	ldr	r3, [ip, r0, lsl #3]
	add	ip, ip, r0, lsl #3
	cmp	r3, #0
	bxle	lr
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	r2, .L10+4
	ldr	r4, .L10+8
	ldr	lr, .L10+12
	ldr	r5, [r4]
	ldr	r4, [lr]
	ldr	lr, [r2]
.L3:
	ldr	r2, [ip, #4]
	add	r2, r3, r2
	ldr	r2, [r5, r2, lsl #2]
	add	r3, r3, #1
	str	r1, [r4, r2, lsl #2]
	str	r0, [lr, r2, lsl #2]
	ldr	r2, [ip]
	cmp	r2, r3
	bgt	.L3
	pop	{r4, r5, pc}
.L11:
	.align	2
.L10:
	.word	sin_dleafs
	.word	dbrushleafnums
	.word	sin_dleafbrushes
	.word	brushmodelnumbers
	.size	Sin_SetLeafBrushesModelNumbers, .-Sin_SetLeafBrushesModelNumbers
	.comm	sin_dleafs,4,4
	.comm	sin_dleafbrushes,4,4
	.comm	dbrushleafnums,4,4
	.comm	brushmodelnumbers,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
