	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_gain_info
_decode_gain_info:                      ## @decode_gain_info
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_get_bits_left
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_get_unary
	testl	%eax, %eax
	je	LBB0_22
## %bb.1:
	movl	%eax, %r15d
	leaq	112(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %r13d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	je	LBB0_21
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_get_bits
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	addl	$-7, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	decl	%r15d
	movl	%r12d, %r9d
	subl	%r13d, %r9d
	jl	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r13d, %rcx
	incl	%r12d
	cmpl	$7, %r9d
	jb	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r9
	movq	%r9, %r8
	andq	$-8, %r8
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rdx
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	andq	$-4, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rbx,%rdx,4)
	movdqu	%xmm0, -96(%rbx,%rdx,4)
	movdqu	%xmm0, -80(%rbx,%rdx,4)
	movdqu	%xmm0, -64(%rbx,%rdx,4)
	movdqu	%xmm0, -48(%rbx,%rdx,4)
	movdqu	%xmm0, -32(%rbx,%rdx,4)
	movdqu	%xmm0, -16(%rbx,%rdx,4)
	movdqu	%xmm0, (%rbx,%rdx,4)
	addq	$32, %rdx
	addq	$-4, %rdi
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	%rcx, %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rdx,4), %rdx
	shlq	$5, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rdx,%rdi)
	movdqu	%xmm0, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %r9
	je	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	%r8, %rcx
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %edx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%r14,%rcx,4)
	incq	%rcx
	cmpl	%ecx, %edx
	jne	LBB0_19
	jmp	LBB0_2
LBB0_21:
	cmpl	$8, %r13d
	jg	LBB0_23
LBB0_22:
	movslq	%r13d, %rax
	leaq	(%r14,%rax,4), %rdi
	movl	$8, %ecx
	subl	%eax, %ecx
	leaq	4(,%rcx,4), %rsi
	callq	___bzero
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_gain_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_gain_info
_decode_gain_info:                      ; @decode_gain_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_get_bits_left
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	bl	_get_unary
	cbz	w0, LBB0_14
; %bb.1:
	mov	x21, x0
	mov	w23, #0
	add	x24, x19, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x20
	mov	w1, #3
	bl	_get_bits
	mov	x22, x0
	mov	x0, x20
	bl	_get_bits1
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	sub	w8, w0, #7
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #-1
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w21, w21, #1
	subs	w10, w22, w23
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x12, w23
	add	w23, w22, #1
	mov	x9, x12
	cmp	w10, #15
	b.lo	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	and	x11, x10, #0x1fffffff0
	add	x9, x11, x12
	dup.4s	v0, w8
	add	x12, x24, x12, lsl #2
	mov	x13, x11
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x10, x11
	b.eq	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x19, x9, lsl #2
	sub	w9, w22, w9
	add	w9, w9, #1
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w8, [x10], #4
	subs	w9, w9, #1
	b.ne	LBB0_12
	b	LBB0_2
LBB0_13:
	cmp	w23, #8
	b.le	LBB0_15
	b	LBB0_16
LBB0_14:
	mov	w23, #0
LBB0_15:
	add	x0, x19, w23, sxtw #2
	mov	w8, #8
	sub	w8, w8, w23
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_gain_info
.subsections_via_symbols
