	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xma_parse
_xma_parse:                             ## @xma_parse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %eax
	testl	$2047, %r9d                     ## imm = 0x7FF
	jne	LBB0_15
## %bb.1:
	xorl	%r9d, %r9d
	cmpl	$2048, %eax                     ## imm = 0x800
	jl	LBB0_14
## %bb.2:
	movq	8(%rdi), %r10
	movl	%eax, %r14d
	shrl	$11, %r14d
	movl	(%r10), %esi
	cmpl	$1, %r14d
	jne	LBB0_4
## %bb.3:
	xorl	%r11d, %r11d
	xorl	%r9d, %r9d
LBB0_10:
	testb	$1, %r14b
	je	LBB0_14
## %bb.11:
	testl	%esi, %esi
	jne	LBB0_13
## %bb.12:
	movl	(%r8,%r11,4), %esi
	shlq	$2, %r11
	shll	$7, %esi
	addl	%esi, %r9d
	orq	$12, %r11
	movl	(%r8,%r11), %esi
	incl	%esi
LBB0_13:
	decl	%esi
	movl	%esi, (%r10)
LBB0_14:
	movl	%r9d, (%rdi)
	xorl	%esi, %esi
	testl	%r9d, %r9d
	setne	%sil
	movl	%esi, 4(%rdi)
LBB0_15:
	movq	%r8, (%rdx)
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r14d, %ebx
	andl	$-2, %ebx
	xorl	%r11d, %r11d
	xorl	%r9d, %r9d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	decl	%esi
	movl	%esi, (%r10)
	addq	$4096, %r11                     ## imm = 0x1000
	addq	$-2, %rbx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%esi, %esi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r8,%r11,4), %r15d
	movl	12(%r8,%r11,4), %esi
	shll	$7, %r15d
	addl	%r15d, %r9d
	incl	%esi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	decl	%esi
	movl	%esi, (%r10)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8192(%r8,%r11,4), %r15d
	movl	8204(%r8,%r11,4), %esi
	shll	$7, %r15d
	addl	%r15d, %r9d
	incl	%esi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xma_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xma_parse
_xma_parse:                             ; @xma_parse
	.cfi_startproc
; %bb.0:
	tst	w5, #0x7ff
	b.ne	LBB0_8
; %bb.1:
	cmp	w5, #2048
	b.lt	LBB0_6
; %bb.2:
	mov	w8, #0
	ldr	x9, [x0, #8]
	lsr	w10, w5, #11
	ldr	w12, [x9]
	mov	x11, x4
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w12, #1
	str	w12, [x9]
	add	x11, x11, #2, lsl #12           ; =8192
	subs	x10, x10, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w12, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x11]
	add	w8, w8, w12, lsl #7
	ldr	w12, [x11, #12]
	add	w12, w12, #1
	b	LBB0_3
LBB0_6:
	mov	w8, #0
LBB0_7:
	cmp	w8, #0
	cset	w9, ne
	stp	w8, w9, [x0]
LBB0_8:
	str	x4, [x2]
	str	w5, [x3]
	mov	x0, x5
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xma_parse
.subsections_via_symbols
