	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_noise_data
_read_noise_data:                       ## @read_noise_data
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rdi), %esi
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	movq	_noise_bands_size@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	8(%rdi), %rdx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_vtable@GOTPCREL(%rip), %r12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_16 Depth 4
	cmpl	$0, (%r8,%rdx,4)
	jle	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_16 Depth 4
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qdmc_get_vlc
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	leal	1(%rax), %ecx
	movl	%eax, %edx
	negl	%edx
	testb	$1, %al
	cmovnel	%ecx, %edx
	movl	%edx, %r14d
	shrl	$31, %r14d
	addl	%edx, %r14d
	sarl	%r14d
	leal	-1(%r14), %eax
	movq	16(%r13), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx)
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_16 Depth 4
	movq	(%r12), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	movq	%rbx, %r13
	callq	_qdmc_get_vlc
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	%r12, %rbx
	movl	%eax, %r12d
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_qdmc_get_vlc
	testl	%eax, %eax
	js	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	%eax, %r9d
	incl	%r12d
	testb	$1, %r9b
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=3
	shrl	%r9d
	movl	%r14d, %eax
	subl	%r9d, %eax
	movl	%eax, %r9d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=3
	incl	%r9d
	shrl	%r9d
	addl	%r14d, %r9d
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=3
	leal	(%r12,%r15), %eax
	incl	%eax
	cmpl	$16, %eax
	jg	LBB0_6
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=3
	leal	(%r12,%r15), %r8d
	incl	%r15d
	movl	%r9d, %r10d
	subl	%r14d, %r10d
	decl	%r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r13
	movq	16(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	movslq	%r15d, %rbx
	movslq	%r8d, %rcx
	decq	%rbx
	movl	%r10d, %esi
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%esi, %eax
	cltd
	idivl	%r12d
	addl	%r14d, %eax
	movl	%eax, 4(%rdi,%rbx,4)
	incq	%rbx
	addl	%r10d, %esi
	cmpq	%rcx, %rbx
	jl	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=3
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	cmpl	$14, %r8d
	movq	_vtable@GOTPCREL(%rip), %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_9
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	_noise_bands_size@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	8(%r13), %rdx
	movslq	(%r8,%rdx,4), %rax
	movq	%rsi, %rcx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rsi
	jl	LBB0_5
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %esi
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movslq	%esi, %r9
	xorl	%eax, %eax
	movq	%rcx, %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%r9, %rcx
	jl	LBB0_3
	jmp	LBB0_20
LBB0_6:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_1:
	xorl	%eax, %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_noise_bands_size,8,3           ## @noise_bands_size
	.comm	_vtable,8,3                     ## @vtable
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_read_noise_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_noise_data
_read_noise_data:                       ; @read_noise_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
Lloh0:
	adrp	x23, _noise_bands_size@GOTPAGE
Lloh1:
	ldr	x23, [x23, _noise_bands_size@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x0, #8]
Lloh2:
	adrp	x24, _vtable@GOTPAGE
Lloh3:
	ldr	x24, [x24, _vtable@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_16 Depth 4
	ldr	w11, [x8, x9, lsl #2]
	cmp	w11, #1
	b.lt	LBB0_19
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, #0
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_16 Depth 4
	ldr	x1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_qdmc_get_vlc
	tbnz	w0, #31, LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	w26, #0
	neg	w8, w0
	tst	w0, #0x1
	csinc	w8, w8, w0, eq
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w9, w8, #1
	ldr	x10, [x20, #16]
	ldr	x10, [x10, x22, lsl #3]
	ldr	x10, [x10, x25, lsl #3]
	str	w9, [x10]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=3
	cmp	w26, #14
	b.gt	LBB0_17
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;         Child Loop BB0_16 Depth 4
	mov	x27, x8
	ldr	x8, [x24]
	add	x1, x8, #4
	mov	x0, x19
	mov	w2, #1
	bl	_qdmc_get_vlc
	tbnz	w0, #31, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	mov	x21, x0
	ldr	x1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_qdmc_get_vlc
	tbnz	w0, #31, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=3
	add	w9, w21, #1
	sub	w8, w27, w0, lsr #1
	add	w10, w0, #1
	add	w10, w27, w10, lsr #1
	tst	w0, #0x1
	csel	w8, w8, w10, eq
	add	w13, w26, #1
	add	w10, w9, w13
	cmp	w10, #16
	b.gt	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=3
	add	w26, w9, w26
	sub	w10, w8, w27
	sub	w11, w27, #1
	ldr	x12, [x20, #16]
	ldr	x12, [x12, x22, lsl #3]
	ldr	x12, [x12, x25, lsl #3]
	sxtw	x2, w13
	sxtw	x13, w26
	cmp	x13, x2
	csel	x14, x13, x2, gt
	sub	x14, x14, x2
	add	x16, x14, #1
	cmp	x16, #4
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=3
	mov	w15, #1
	mov	x14, x2
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=3
	mov	w0, #0
	and	x17, x16, #0xfffffffffffffffc
	add	x14, x17, x2
	orr	w15, w17, #0x1
	lsl	w3, w8, #2
	lsl	w4, w8, #1
	lsl	w5, w27, #1
	sub	w1, w4, w5
	add	x2, x12, x2, lsl #2
	add	x2, x2, #8
	sub	w3, w3, w27, lsl #2
	add	w4, w4, w8
	add	w5, w5, w27
	sub	w4, w4, w5
	mov	x5, x17
LBB0_13:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_7 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	add	w6, w10, w0
	add	w7, w1, w0
	add	w21, w4, w0
	add	w0, w3, w0
	sdiv	w6, w6, w9
	sdiv	w7, w7, w9
	sdiv	w21, w21, w9
	add	w6, w11, w6
	add	w7, w11, w7
	add	w21, w11, w21
	stp	w6, w7, [x2, #-8]
	sdiv	w6, w0, w9
	add	w6, w11, w6
	stp	w21, w6, [x2], #16
	subs	x5, x5, #4
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=3
	cmp	x16, x17
	b.eq	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=3
	mul	w15, w15, w10
LBB0_16:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_7 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	sdiv	w16, w15, w9
	add	w16, w11, w16
	str	w16, [x12, x14, lsl #2]
	add	x16, x14, #1
	add	w15, w15, w10
	cmp	x14, x13
	mov	x14, x16
	b.lt	LBB0_16
	b	LBB0_6
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x25, x25, #1
	ldr	x8, [x23]
	ldr	x9, [x20, #8]
	ldrsw	x10, [x8, x9, lsl #2]
	cmp	x25, x10
	b.lt	LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x20]
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	add	x22, x22, #1
	cmp	x22, w10, sxtw
	b.lt	LBB0_2
	b	LBB0_22
LBB0_20:
Lloh4:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_22
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_noise_bands_size,8,3           ; @noise_bands_size
	.comm	_vtable,8,3                     ; @vtable
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_read_noise_data
.subsections_via_symbols
