	.file	"extr_xma_parser.c_xma_parse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xma_parse, @function
xma_parse:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, r9d
	test	eax, 2047
	jne	.L10
	test	eax, eax
	lea	r9d, 2047[r9]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	cmovns	r9d, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sar	r9d, 11
	cmp	eax, 2047
	jle	.L7
	mov	rbp, QWORD PTR 8[rdi]
	xor	esi, esi
	xor	ebx, ebx
	mov	r10d, DWORD PTR 0[rbp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	sub	r10d, 1
	add	rsi, 1
	mov	DWORD PTR 0[rbp], r10d
	cmp	r9d, esi
	jle	.L14
.L6:
	test	r10d, r10d
	jne	.L15
	mov	r11, rsi
	add	rsi, 1
	sal	r11, 13
	mov	r10d, DWORD PTR [r8+r11]
	sal	r10d, 7
	add	ebx, r10d
	mov	r10d, DWORD PTR 12[r8+r11]
	mov	DWORD PTR 0[rbp], r10d
	cmp	r9d, esi
	jg	.L6
.L14:
	xor	esi, esi
	test	ebx, ebx
	setne	sil
.L3:
	mov	DWORD PTR [rdi], ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	DWORD PTR 4[rdi], esi
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	QWORD PTR [rdx], r8
	mov	DWORD PTR [rcx], eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	mov	QWORD PTR [rdx], r8
	mov	DWORD PTR [rcx], r9d
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	xor	esi, esi
	xor	ebx, ebx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	xma_parse, .-xma_parse
	.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_xma_parser.c_xma_parse.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xma_parse, %function
xma_parse:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r4, [sp, #32]
	ldr	r7, [sp, #28]
	lsl	r1, r4, #21
	lsr	r1, r1, #21
	cmp	r1, #0
	bne	.L2
	cmp	r4, #0
	add	lr, r4, #2032
	add	lr, lr, #15
	movge	lr, r4
	cmp	r4, #2048
	mov	r5, r1
	asr	lr, lr, #11
	blt	.L3
	ldr	r6, [r0, #8]
	add	r9, r7, #12
	ldr	ip, [r6]
.L6:
	cmp	ip, #0
	ldreq	r8, [r7, r1, lsl #13]
	ldreq	ip, [r9, r1, lsl #13]
	add	r1, r1, #1
	subne	ip, ip, #1
	addeq	r5, r5, r8, lsl #7
	cmp	lr, r1
	str	ip, [r6]
	bgt	.L6
	subs	r1, r5, #0
	movne	r1, #1
.L3:
	str	r5, [r0]
	str	r1, [r0, #4]
.L2:
	str	r7, [r2]
	mov	r0, r4
	str	r4, [r3]
	pop	{r4, r5, r6, r7, r8, r9, pc}
	.size	xma_parse, .-xma_parse
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
