	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function al_decode_frame
_al_decode_frame:                       ## @al_decode_frame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	leaq	16(%r15), %r13
	shll	$3, %edx
	movq	%r13, %rdi
	callq	_init_get_bits
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	movslq	%eax, %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	(%rbx,%rbx,2), %rdx
	shlq	$2, %rdx
	addq	8(%r15), %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rcx
	movl	20(%r15), %r9d
	movq	%r15, %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %r8d
	callq	_decode_channel_sound_unit
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	movq	%r14, %r15
	jge	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_get_bits_left
	cmpl	$7, %eax
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_show_bits
	cmpl	$40, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_skip_bits
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_7
LBB0_9:
	testl	%eax, %eax
	jle	LBB0_12
## %bb.10:
	movq	%r15, %r14
	xorl	%r15d, %r15d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rbx
	leaq	1024(%rbx), %rsi
	leaq	2048(%rbx), %r13
	leaq	3072(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	8(%rax,%r15), %r8d
	movl	(%r14), %r9d
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	movq	%rbx, %rcx
	callq	_ff_atrac_iqmf
	movq	8(%r14), %rax
	movl	4(%rax,%r15), %r8d
	movl	(%r14), %r9d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$256, %edx                      ## imm = 0x100
	movq	%r13, %rcx
	callq	_ff_atrac_iqmf
	movq	8(%r14), %rax
	movl	(%rax,%r15), %r8d
	movl	(%r14), %r9d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$512, %edx                      ## imm = 0x200
	movq	%rbx, %rcx
	callq	_ff_atrac_iqmf
	incq	%r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	addq	$12, %r15
	cmpq	%rax, %r12
	jl	LBB0_11
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_al_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function al_decode_frame
_al_decode_frame:                       ; @al_decode_frame
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x0
	ldr	x21, [x0, #8]
	add	x22, x21, #16
	lsl	w2, w2, #3
	mov	x0, x22
	bl	_init_get_bits
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x23, #0
	mov	w24, #12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x23, x9
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x21, #8]
	madd	x2, x23, x24, x8
	ldr	x3, [x19, x23, lsl #3]
	ldr	w5, [x21, #20]
	mov	x0, x21
	mov	x1, x22
	mov	x4, x23
	bl	_decode_channel_sound_unit
	cbnz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	sxtw	x9, w8
	cmp	x23, x9
	b.ge	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_get_bits_left
	cmp	w0, #7
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x22
	mov	w1, #6
	bl	_show_bits
	cmp	w0, #40
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x22
	mov	w1, #1
	bl	_skip_bits
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.lt	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	sxtw	x9, w8
	b	LBB0_3
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x25, #0
	mov	x26, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x19, x26, lsl #3]
	add	x1, x22, #1024
	add	x23, x22, #2048
	add	x24, x22, #3072
	ldr	x8, [x21, #8]
	add	x8, x8, x25
	ldr	w4, [x8, #8]
	ldr	w5, [x21]
	mov	x0, x22
	mov	w2, #256
	mov	x3, x22
	bl	_ff_atrac_iqmf
	ldr	x8, [x21, #8]
	add	x8, x8, x25
	ldr	w4, [x8, #4]
	ldr	w5, [x21]
	mov	x0, x24
	mov	x1, x23
	mov	w2, #256
	mov	x3, x23
	bl	_ff_atrac_iqmf
	ldr	x8, [x21, #8]
	ldr	w4, [x8, x25]
	ldr	w5, [x21]
	mov	x0, x22
	mov	x1, x23
	mov	w2, #512
	mov	x3, x22
	bl	_ff_atrac_iqmf
	add	x26, x26, #1
	ldrsw	x8, [x20]
	add	x25, x25, #12
	cmp	x26, x8
	b.lt	LBB0_12
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_al_decode_frame
.subsections_via_symbols
