	.file	"extr_gf100.c_gf100_gr_oneinit_sm_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gf100_gr_oneinit_sm_id
	.type	gf100_gr_oneinit_sm_id, @function
gf100_gr_oneinit_sm_id:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10d, DWORD PTR [rdi]
	test	r10d, r10d
	jle	.L1
	mov	r11d, DWORD PTR 4[rdi]
	xor	ecx, ecx
	lea	r9d, -1[r11]
	.p2align 4,,10
	.p2align 3
.L3:
	test	r11d, r11d
	jle	.L7
	mov	r8, QWORD PTR 8[rdi]
	xor	eax, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, rdx
.L5:
	cmp	DWORD PTR [r8+rax*4], ecx
	jle	.L4
	mov	rdx, QWORD PTR 16[rdi]
	mov	rsi, QWORD PTR 24[rdi]
	lea	rsi, [rsi+rdx*8]
	add	rdx, 1
	mov	DWORD PTR [rsi], eax
	mov	DWORD PTR 4[rsi], ecx
	mov	QWORD PTR 16[rdi], rdx
.L4:
	lea	rdx, 1[rax]
	cmp	r9, rax
	jne	.L8
.L7:
	add	ecx, 1
	cmp	ecx, r10d
	jne	.L3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	gf100_gr_oneinit_sm_id, .-gf100_gr_oneinit_sm_id
	.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_gf100.c_gf100_gr_oneinit_sm_id.c"
	.text
	.align	2
	.global	gf100_gr_oneinit_sm_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	gf100_gr_oneinit_sm_id, %function
gf100_gr_oneinit_sm_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r7, [r0]
	cmp	r7, #0
	pople	{r4, r5, r6, r7, r8, r9, pc}
	mov	ip, #0
	ldr	r8, [r0, #4]
	lsl	r9, r8, #2
.L3:
	cmp	r8, #0
	ble	.L7
	mov	r2, #0
	ldr	r3, [r0, #8]
	sub	r3, r3, #4
	add	r4, r3, r9
.L5:
	ldr	r1, [r3, #4]!
	cmp	r1, ip
	ble	.L4
	ldr	r1, [r0, #12]
	ldr	lr, [r0, #16]
	add	r5, r1, #1
	add	r6, lr, r1, lsl #3
	str	r2, [lr, r1, lsl #3]
	str	ip, [r6, #4]
	str	r5, [r0, #12]
.L4:
	cmp	r4, r3
	add	r2, r2, #1
	bne	.L5
.L7:
	add	ip, ip, #1
	cmp	ip, r7
	bne	.L3
	pop	{r4, r5, r6, r7, r8, r9, pc}
	.size	gf100_gr_oneinit_sm_id, .-gf100_gr_oneinit_sm_id
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
