	.file	"extr_mxms.c_mxms_foreach.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown descriptor type %d\n"
.LC1:
	.string	"%02x"
.LC2:
	.string	"%4s: %s\n"
.LC3:
	.string	"      %s\n"
	.text
	.p2align 4
	.globl	mxms_foreach
	.type	mxms_foreach, @function
mxms_foreach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	DWORD PTR 36[rsp], esi
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 48[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	call	mxms_data@PLT
	mov	rdi, r15
	mov	rbx, rax
	call	mxms_headerlen@PLT
	mov	rdi, r15
	cdqe
	lea	r14, [rbx+rax*4]
	call	mxms_structlen@PLT
	cdqe
	lea	rax, -4[r14+rax*4]
	mov	QWORD PTR 40[rsp], rax
	cmp	r14, rax
	jnb	.L22
	mov	QWORD PTR 8[rsp], r15
	lea	r12, .LC1[rip]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR [r14]
	mov	r13d, edi
	and	r13d, 15
	cmp	r13d, 7
	ja	.L4
	lea	rcx, .L6[rip]
	mov	eax, r13d
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L11-.L6
	.long	.L25-.L6
	.long	.L25-.L6
	.long	.L25-.L6
	.long	.L9-.L6
	.long	.L12-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L25:
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 32[rsp], 0
	mov	DWORD PTR 20[rsp], 4
.L10:
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR NV_DBG_DEBUG[rip]
	cmp	QWORD PTR [rax], rsi
	jl	.L13
	cmp	QWORD PTR 24[rsp], 0
	je	.L43
.L13:
	mov	eax, DWORD PTR 36[rsp]
	bt	eax, r13d
	jnc	.L23
	mov	rdx, QWORD PTR 48[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r14
	mov	rax, QWORD PTR 24[rsp]
	call	rax
	test	eax, eax
	je	.L1
.L23:
	mov	ebx, DWORD PTR 32[rsp]
	imul	ebx, DWORD PTR 16[rsp]
	add	ebx, DWORD PTR 20[rsp]
	movsx	rbx, ebx
	lea	r14, [r14+rbx*4]
	cmp	QWORD PTR 40[rsp], r14
	ja	.L2
.L22:
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rsi, QWORD PTR 120[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L44
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	call	mxms_version@PLT
	cmp	eax, 767
	jle	.L26
.L12:
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 32[rsp], 0
	mov	DWORD PTR 20[rsp], 8
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR 4[r14]
	mov	DWORD PTR 32[rsp], 4
	mov	DWORD PTR 20[rsp], 8
	and	eax, 7
	mov	DWORD PTR 16[rsp], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	call	ROM32@PLT
	mov	DWORD PTR 20[rsp], r13d
	sar	eax, 20
	mov	DWORD PTR 32[rsp], 2
	mov	ebx, eax
	and	ebx, 31
	mov	DWORD PTR 16[rsp], ebx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 8[rsp]
	call	mxms_version@PLT
	cmp	eax, 767
	jle	.L12
	mov	ebx, DWORD PTR 4[r14]
	mov	DWORD PTR 32[rsp], 8
	mov	DWORD PTR 20[rsp], 4
	sar	ebx, 4
	and	ebx, 15
	mov	DWORD PTR 16[rsp], ebx
	jmp	.L10
.L4:
	mov	r15, QWORD PTR 8[rsp]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	xor	eax, eax
	mov	rdi, r15
	call	nvkm_debug@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	DWORD PTR 16[rsp], r13d
	mov	DWORD PTR 32[rsp], r13d
	mov	DWORD PTR 20[rsp], 6
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L43:
	mov	eax, DWORD PTR 20[rsp]
	lea	rcx, 80[rsp]
	mov	r15, rcx
	mov	rbx, rcx
	lea	ebp, -1[rax]
	movsx	rbp, ebp
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edx, DWORD PTR [r14+rbp*4]
	mov	rdi, rbx
	mov	rsi, r12
	sub	rbp, 1
	call	sprintf@PLT
	cdqe
	add	rbx, rax
	test	ebp, ebp
	jns	.L14
	movsx	rax, DWORD PTR 20[rsp]
	lea	rsi, mxms_desc.1965[rip]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rcx, r15
	lea	rbp, [r14+rax*4]
	movsx	rax, r13d
	mov	rdx, QWORD PTR [rsi+rax*8]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	nvkm_debug@PLT
	mov	eax, DWORD PTR 16[rsp]
	test	eax, eax
	je	.L13
	movsx	rax, DWORD PTR 32[rsp]
	mov	DWORD PTR 68[rsp], r13d
	xor	ebx, ebx
	mov	QWORD PTR 72[rsp], r14
	mov	r14, r15
	mov	rcx, rax
	sal	rax, 2
	mov	QWORD PTR 56[rsp], rax
	lea	eax, -1[rcx]
	mov	DWORD PTR 64[rsp], eax
	.p2align 4,,10
	.p2align 3
.L17:
	movsx	r13, DWORD PTR 64[rsp]
	mov	r15, r14
	cmp	r13d, -1
	je	.L20
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edx, DWORD PTR 0[rbp+r13*4]
	mov	rdi, r15
	mov	rsi, r12
	sub	r13, 1
	call	sprintf@PLT
	cdqe
	add	r15, rax
	cmp	r13d, -1
	jne	.L19
.L20:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r14
	xor	eax, eax
	add	ebx, 1
	lea	rsi, .LC3[rip]
	call	nvkm_debug@PLT
	add	rbp, QWORD PTR 56[rsp]
	cmp	DWORD PTR 16[rsp], ebx
	jne	.L17
	mov	r13d, DWORD PTR 68[rsp]
	mov	r14, QWORD PTR 72[rsp]
	jmp	.L13
.L44:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mxms_foreach, .-mxms_foreach
	.section	.rodata.str1.1
.LC4:
	.string	"ODS"
.LC5:
	.string	"SCCS"
.LC6:
	.string	"TS"
.LC7:
	.string	"IPS"
.LC8:
	.string	"GSD"
.LC9:
	.string	"VSS"
.LC10:
	.string	"BCS"
.LC11:
	.string	"FCS"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	mxms_desc.1965, @object
	.size	mxms_desc.1965, 64
mxms_desc.1965:
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.comm	NV_DBG_DEBUG,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_mxms.c_mxms_foreach.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown descriptor type %d\012\000"
	.align	2
.LC1:
	.ascii	"%02x\000"
	.align	2
.LC2:
	.ascii	"%4s: %s\012\000"
	.align	2
.LC3:
	.ascii	"      %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mxms_foreach
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxms_foreach, %function
mxms_foreach:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #84
	str	r3, [sp, #24]
	ldr	r3, .L39
	str	r1, [sp, #16]
	str	r2, [sp, #12]
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	mov	fp, r0
	bl	mxms_data
	mov	r4, r0
	mov	r0, fp
	bl	mxms_headerlen
	mov	r8, r0
	mov	r0, fp
	bl	mxms_structlen
	add	r8, r4, r8, lsl #2
	sub	r0, r0, #-1073741823
	add	r3, r8, r0, lsl #2
	cmp	r8, r3
	str	r3, [sp, #20]
	bcs	.L22
	ldr	r7, .L39+4
.L2:
	ldr	r0, [r8]
	and	r10, r0, #15
	cmp	r10, #7
	ldrls	pc, [pc, r10, asl #2]
	b	.L4
.L6:
	.word	.L11
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L9
	.word	.L12
	.word	.L7
	.word	.L5
.L25:
	mov	r5, #0
	mov	r3, #4
	str	r5, [sp, #4]
	str	r3, [sp, #8]
.L10:
	ldr	r3, .L39+8
	ldr	r2, [fp]
	ldr	r3, [r3]
	ldr	r1, [sp, #12]
	cmp	r2, r3
	cmpge	r1, #0
	beq	.L37
.L13:
	ldr	r3, [sp, #16]
	asr	r10, r3, r10
	tst	r10, #1
	beq	.L23
	mov	r1, r8
	mov	r0, fp
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #12]
	blx	r3
	cmp	r0, #0
	beq	.L1
.L23:
	ldr	r3, [sp, #4]
	ldr	r2, [sp, #8]
	mla	r3, r5, r3, r2
	add	r8, r8, r3, lsl #2
	ldr	r3, [sp, #20]
	cmp	r3, r8
	bhi	.L2
.L22:
	mov	r0, #1
.L1:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, fp
	bl	mxms_version
	cmp	r0, #768
	blt	.L26
.L12:
	mov	r5, #0
	mov	r3, #8
	str	r5, [sp, #4]
	str	r3, [sp, #8]
	b	.L10
.L9:
	bl	ROM32
	mov	r3, #2
	asr	r5, r0, #20
	and	r5, r5, #31
	str	r10, [sp, #8]
	str	r3, [sp, #4]
	b	.L10
.L5:
	mov	r3, #4
	str	r3, [sp, #4]
	mov	r3, #8
	ldr	r5, [r8, #4]
	str	r3, [sp, #8]
	and	r5, r5, #7
	b	.L10
.L7:
	mov	r0, fp
	bl	mxms_version
	cmp	r0, #768
	blt	.L12
	mov	r3, #8
	str	r3, [sp, #4]
	mov	r3, #4
	ldr	r5, [r8, #4]
	str	r3, [sp, #8]
	asr	r5, r5, #4
	and	r5, r5, #15
	b	.L10
.L26:
	mov	r3, #6
	mov	r5, r10
	str	r10, [sp, #4]
	str	r3, [sp, #8]
	b	.L10
.L37:
	ldr	r3, [sp, #8]
	add	r4, sp, #44
	add	r6, r8, r3, lsl #2
	mov	r9, r6
.L14:
	mov	r0, r4
	ldr	r2, [r9, #-4]!
	mov	r1, r7
	bl	sprintf
	cmp	r8, r9
	add	r4, r4, r0
	bne	.L14
	ldr	r2, .L39+12
	mov	r0, fp
	ldr	r2, [r2, r10, lsl #2]
	ldr	r1, .L39+16
	add	r3, sp, #44
	bl	nvkm_debug
	cmp	r5, #0
	beq	.L13
	mov	r3, #0
	str	r8, [sp, #36]
	mov	r8, r3
	ldr	r2, [sp, #4]
	str	r10, [sp, #32]
	lsl	r2, r2, #2
	str	r2, [sp, #28]
.L17:
	ldr	r3, [sp, #4]
	cmp	r3, #0
	ldr	r3, [sp, #28]
	addne	r4, sp, #44
	add	r9, r3, r6
	movne	r10, r9
	beq	.L20
.L19:
	mov	r0, r4
	ldr	r2, [r10, #-4]!
	mov	r1, r7
	bl	sprintf
	cmp	r6, r10
	add	r4, r4, r0
	bne	.L19
.L20:
	mov	r0, fp
	ldr	r1, .L39+20
	add	r8, r8, #1
	add	r2, sp, #44
	bl	nvkm_debug
	cmp	r5, r8
	mov	r6, r9
	bne	.L17
	ldr	r10, [sp, #32]
	ldr	r8, [sp, #36]
	b	.L13
.L38:
	bl	__stack_chk_fail
.L4:
	mov	r2, r10
	mov	r0, fp
	ldr	r1, .L39+24
	bl	nvkm_debug
	mov	r0, #0
	b	.L1
.L40:
	.align	2
.L39:
	.word	.LC4
	.word	.LC1
	.word	NV_DBG_DEBUG
	.word	.LANCHOR0
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.size	mxms_foreach, .-mxms_foreach
	.section	.rodata.str1.4
	.align	2
.LC5:
	.ascii	"ODS\000"
	.align	2
.LC6:
	.ascii	"SCCS\000"
	.align	2
.LC7:
	.ascii	"TS\000"
	.align	2
.LC8:
	.ascii	"IPS\000"
	.align	2
.LC9:
	.ascii	"GSD\000"
	.align	2
.LC10:
	.ascii	"VSS\000"
	.align	2
.LC11:
	.ascii	"BCS\000"
	.align	2
.LC12:
	.ascii	"FCS\000"
	.comm	NV_DBG_DEBUG,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	mxms_desc.4249, %object
	.size	mxms_desc.4249, 32
mxms_desc.4249:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
