	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_data
_output_data:                           ## @output_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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	40(%rdi), %rbx
	movq	48(%rdi), %r15
	movq	(%rbx), %rax
	movq	_AV_SAMPLE_FMT_S32@GOTPCREL(%rip), %r8
	cmpq	(%r8), %rax
	movl	%esi, %eax
	sete	%r8b
	leaq	(%rax,%rax,4), %r14
	shlq	$4, %r14
	movl	(%r15,%r14), %r13d
	leal	1(%r13), %eax
	cmpl	%eax, 8(%rbx)
	jne	LBB0_1
## %bb.3:
	cmpq	$0, 32(%r15,%r14)
	je	LBB0_4
## %bb.5:
	cmpl	$0, 72(%r15,%r14)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movb	%r8b, -41(%rbp)                 ## 1-byte Spill
	je	LBB0_6
## %bb.7:
	callq	_fill_noise_buffer
	jmp	LBB0_8
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	%rbx, %rdi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	_generate_2_noise_channels
	addl	$2, %r13d
LBB0_8:
	leaq	(%r15,%r14), %r8
	addq	$32, %r8
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r15,%r14), %ebx
	testl	%ebx, %ebx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	4(%r12), %rax
	movl	(%rax,%r15), %edx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	(%rsi), %rax
	movq	16(%rsi), %rdi
	movq	%rdi, -184(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	60(%r12), %rax
	movl	(%rax,%r15), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	32(%rsi), %rax
	movq	(%rax), %r13
	addq	%r15, %r13
	movl	28(%rsi), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	addl	%ecx, %ebx
	movq	(%r8), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	52(%r12), %rax
	movl	(%rax,%r15), %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	24(%rsi), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	44(%r12), %rax
	movl	(%rax,%rdx,4), %edi
	callq	_MSB_MASK
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movq	-144(%rbp), %r9                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%rax
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	-176(%rbp)                      ## 8-byte Folded Reload
	callq	*-184(%rbp)                     ## 8-byte Folded Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	addq	$48, %rsp
	incq	%r14
	movl	(%r12), %ebx
	decl	%ecx
	addq	$4, %r15
	cmpq	%rbx, %r14
	jb	LBB0_10
LBB0_11:
	movq	(%r8), %rax
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%rax, 8(%r14)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r8, %r12
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_14
## %bb.12:
	xorl	%eax, %eax
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %al
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r15,%rbx), %r10
	movl	40(%r15,%rbx), %edi
	movq	(%r12), %rsi
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	movq	(%r11), %rdx
	movq	(%r14), %rcx
	movl	(%rcx), %ecx
	movl	20(%r15,%rbx), %r9d
	movl	24(%r15,%rbx), %r8d
	movl	(%r10), %r10d
	pushq	%rax
	pushq	%r10
	callq	*8(%r11)
	addq	$16, %rsp
	movl	%eax, 40(%r15,%rbx)
	movl	16(%r15,%rbx), %esi
	movq	%r14, %rdi
	callq	_ff_side_data_update_matrix_encoding
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_S32,8,3          ## @AV_SAMPLE_FMT_S32
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"channel count mismatch\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"No samples to output.\n"

	.no_dead_strip	_output_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_data
_output_data:                           ; @output_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	mov	x27, x0
	ldr	x0, [x0, #40]
	ldr	x19, [x27, #48]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AV_SAMPLE_FMT_S32@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_SAMPLE_FMT_S32@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w10, eq
	ldr	w8, [x0, #8]
	mov	w9, #80
	umaddl	x11, w1, w9, x19
	ldr	w25, [x11]
	add	w9, w25, #1
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	mov	w20, w1
	mov	w8, #80
	madd	x21, x20, x8, x19
	ldr	x8, [x21, #32]!
	cbz	x8, LBB0_5
; %bb.2:
	mov	w8, #80
	madd	x8, x20, x8, x19
	ldr	w8, [x8, #72]
	stp	x3, x11, [sp, #24]              ; 16-byte Folded Spill
	stp	x0, x2, [sp, #48]               ; 16-byte Folded Spill
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	mov	x0, x27
	cbz	w8, LBB0_8
; %bb.3:
	bl	_fill_noise_buffer
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
	bl	_av_log
Lloh13:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_8:
	bl	_generate_2_noise_channels
	add	w25, w25, #2
LBB0_9:
	mov	w8, #80
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	madd	x28, x20, x8, x19
	ldr	w8, [x28, #4]!
	cbz	w8, LBB0_12
; %bb.10:
	mov	x24, #0
	mov	w23, #0
	mov	x22, #0
	mov	w9, #80
	ldp	x11, x10, [sp, #64]             ; 16-byte Folded Reload
	madd	x9, x11, x9, x10
	add	x11, x9, #8
	add	x10, x9, #64
	stp	x10, x11, [sp, #96]             ; 16-byte Folded Spill
	add	x10, x9, #56
	add	x9, x9, #48
	stp	x9, x10, [sp, #80]              ; 16-byte Folded Spill
	str	w25, [sp, #116]                 ; 4-byte Folded Spill
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	ldr	x9, [x9]
	ldr	w25, [x9, x24]
	ldr	x10, [x27, #16]
	ldr	x9, [x27]
	ldr	x9, [x9]
	stp	x9, x10, [x29, #-104]           ; 16-byte Folded Spill
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x9, [x9]
	ldr	w9, [x9, x24]
	stur	w9, [x29, #-108]                ; 4-byte Folded Spill
	ldr	x9, [x27, #32]
	ldr	x9, [x9]
	add	x9, x9, x24
	stur	x9, [x29, #-120]                ; 8-byte Folded Spill
	add	w8, w8, w23
	stur	w8, [x29, #-124]                ; 4-byte Folded Spill
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w26, [x8, x24]
	ldr	x8, [x21]
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
	ldp	w19, w20, [x27, #24]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w0, [x8, x25, lsl #2]
	bl	_MSB_MASK
	stp	w19, w0, [sp, #4]
	str	w26, [sp]
	ldp	x0, x8, [x29, #-104]            ; 16-byte Folded Reload
	ldur	w1, [x29, #-108]                ; 4-byte Folded Reload
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	mov	x3, x20
	ldur	w4, [x29, #-124]                ; 4-byte Folded Reload
	mov	x5, x25
	ldr	w7, [sp, #116]                  ; 4-byte Folded Reload
	ldr	x6, [sp, #120]                  ; 8-byte Folded Reload
	blr	x8
	add	x22, x22, #1
	ldr	w8, [x28]
	sub	w23, w23, #1
	add	x24, x24, #4
	cmp	x22, x8
	b.lo	LBB0_11
LBB0_12:
	ldr	x8, [x21]
	ldp	x0, x20, [sp, #48]              ; 16-byte Folded Reload
	str	x8, [x20, #8]
	mov	x1, x20
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_7
; %bb.13:
	mov	w8, #80
	ldp	x10, x9, [sp, #64]              ; 16-byte Folded Reload
	madd	x19, x10, x8, x9
	ldr	w0, [x19, #40]
	ldr	x1, [x21]
	ldp	x2, x8, [x27]
	ldr	x9, [x20]
	ldr	w3, [x9]
	ldp	w5, w4, [x19, #20]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w6, [x9]
	ldr	w7, [sp, #44]                   ; 4-byte Folded Reload
	blr	x8
	str	w0, [x19, #40]
	ldr	w1, [x19, #16]
	mov	x0, x20
	bl	_ff_side_data_update_matrix_encoding
	tbnz	w0, #31, LBB0_7
; %bb.14:
	mov	w0, #0
	mov	w8, #1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_S32,8,3          ; @AV_SAMPLE_FMT_S32
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"channel count mismatch\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"No samples to output.\n"

	.no_dead_strip	_output_data
.subsections_via_symbols
