	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_test
_run_test:                              ## @run_test
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	$0, -44(%rbp)
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, -144(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movups	8(%r15), %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_av_frame_get_buffer
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	xorl	%edi, %edi
	callq	_av_log
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, -136(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	movq	_NUMBER_OF_AUDIO_FRAMES@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	imull	(%rax), %edi
	callq	_av_malloc
	movq	%rax, -128(%rbp)
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	24(%rbx), %rax
	movl	(%r12), %edi
	imull	(%rax), %edi
	callq	_av_malloc
	movq	%rax, -120(%rbp)
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.13:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-104(%rbp), %r13
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_36:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_NUMBER_OF_AUDIO_FRAMES@GOTPCREL(%rip), %r13
	addl	%r12d, -48(%rbp)                ## 4-byte Folded Spill
	leaq	-104(%rbp), %r12
	movq	%r12, %rdi
	callq	_av_packet_unref
	incl	%r14d
	movl	(%r13), %eax
	movq	%r12, %r13
	cmpl	%eax, %r14d
	jge	LBB0_37
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_av_init_packet
	movq	$0, -96(%rbp)
	movl	$0, -104(%rbp)
	movq	40(%rbx), %rax
	movq	(%rax), %rdi
	movl	28(%r15), %edx
	movl	(%r15), %r8d
	movl	24(%r15), %ecx
	movl	%r14d, %esi
	callq	_generate_raw_frame
	movl	(%rbx), %r12d
	imull	32(%rbx), %r12d
	shll	$2, %r12d
	movq	24(%rbx), %rax
	cmpl	(%rax), %r12d
	jg	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	movq	40(%rbx), %rax
	movq	(%rax), %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	leaq	-44(%rbp), %rcx
	callq	_avcodec_encode_audio2
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -44(%rbp)
	je	LBB0_36
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-44(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	callq	_avcodec_decode_audio4
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -44(%rbp)
	je	LBB0_36
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	-104(%rbp), %r13d
	jne	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rbx), %r13d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rcx), %r13d
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%rbx), %rax
	cmpq	16(%rcx), %rax
	jne	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%rbx), %rax
	cmpq	8(%rcx), %rax
	jne	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_14 Depth=1
	imull	32(%rcx), %r13d
	shll	$2, %r13d
	movq	24(%rcx), %rax
	cmpl	(%rax), %r13d
	jg	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movslq	%r14d, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rdi
	movq	40(%rcx), %rax
	movq	(%rax), %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	addl	%r13d, %r14d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_36
LBB0_6:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_2
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_2
LBB0_12:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_2
LBB0_11:
                                        ## implicit-def: $ecx
                                        ## kill: killed $ecx
LBB0_37:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	imull	%eax, %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.13(%rip), %rdx
	jmp	LBB0_16
LBB0_39:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_av_log
	leaq	-128(%rbp), %rdi
	callq	_av_freep
	leaq	-120(%rbp), %rdi
	callq	_av_freep
	leaq	-144(%rbp), %rdi
	callq	_av_frame_free
	leaq	-136(%rbp), %rdi
	callq	_av_frame_free
	jmp	LBB0_40
LBB0_15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_16
LBB0_18:
	movl	%eax, %r13d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_22
LBB0_21:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
LBB0_22:
	xorl	%edi, %edi
	callq	_av_log
	jmp	LBB0_40
LBB0_25:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_26
LBB0_28:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdx
	jmp	LBB0_26
LBB0_30:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_26
LBB0_32:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdx
LBB0_26:
	xorl	%edi, %edi
	callq	_av_log
	movq	_AVERROR_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_40
LBB0_34:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdx
LBB0_16:
	xorl	%edi, %edi
	callq	_av_log
	movl	$1, %r13d
LBB0_40:
	movl	%r13d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate input frame\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate a buffer for input frame\n"

L_.str.2:                               ## @.str.2
	.asciz	"Can't allocate output frame\n"

	.comm	_NUMBER_OF_AUDIO_FRAMES,4,2     ## @NUMBER_OF_AUDIO_FRAMES
L_.str.3:                               ## @.str.3
	.asciz	"Can't allocate memory for raw_in\n"

L_.str.4:                               ## @.str.4
	.asciz	"Can't allocate memory for raw_out\n"

L_.str.5:                               ## @.str.5
	.asciz	"Incorrect value of input frame linesize\n"

L_.str.6:                               ## @.str.6
	.asciz	"Error encoding audio frame\n"

L_.str.7:                               ## @.str.7
	.asciz	"Error decoding audio packet\n"

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.8:                               ## @.str.8
	.asciz	"Decoder consumed only part of a packet, it is allowed to do so -- need to update this test\n"

	.comm	_AVERROR_UNKNOWN,4,2            ## @AVERROR_UNKNOWN
L_.str.9:                               ## @.str.9
	.asciz	"Error frames before and after decoding has different number of samples\n"

L_.str.10:                              ## @.str.10
	.asciz	"Error frames before and after decoding has different channel layout\n"

L_.str.11:                              ## @.str.11
	.asciz	"Error frames before and after decoding has different sample format\n"

L_.str.12:                              ## @.str.12
	.asciz	"Incorrect value of output frame linesize\n"

L_.str.13:                              ## @.str.13
	.asciz	"Output differs\n"

L_.str.14:                              ## @.str.14
	.asciz	"OK\n"

	.no_dead_strip	_run_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_test
_run_test:                              ; @run_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x3
	mov	x20, x2
	str	wzr, [sp, #28]
	bl	_av_frame_alloc
	str	x0, [sp, #56]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w8, [x20]
	str	w8, [x0]
	ldur	q0, [x20, #8]
	stur	q0, [x0, #8]
	mov	w1, #32
	bl	_av_frame_get_buffer
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
LBB0_4:
	bl	_av_log
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_AVERROR
LBB0_5:
	bl	_av_frame_alloc
	str	x0, [sp, #48]
	cbz	x0, LBB0_22
; %bb.6:
	mov	x23, x0
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
Lloh13:
	adrp	x26, _NUMBER_OF_AUDIO_FRAMES@GOTPAGE
Lloh14:
	ldr	x26, [x26, _NUMBER_OF_AUDIO_FRAMES@GOTPAGEOFF]
	ldr	w9, [x26]
	mul	w0, w9, w8
	bl	_av_malloc
	str	x0, [sp, #40]
	cbz	x0, LBB0_23
; %bb.7:
	mov	x22, x0
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
	ldr	w9, [x26]
	mul	w0, w9, w8
	bl	_av_malloc
	str	x0, [sp, #32]
	cbz	x0, LBB0_24
; %bb.8:
	mov	x1, x0
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.9:
	stp	x19, x1, [sp, #8]               ; 16-byte Folded Spill
	mov	w25, #0
	str	wzr, [sp, #24]                  ; 4-byte Folded Spill
	mov	w24, #0
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w24, w27, w24
	add	x0, sp, #64
	bl	_av_packet_unref
	add	w25, w25, #1
	ldr	w8, [x26]
	cmp	w25, w8
	b.ge	LBB0_28
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #64
	bl	_av_init_packet
	str	xzr, [sp, #72]
	str	wzr, [sp, #64]
	ldr	x8, [x21, #40]
	ldr	x0, [x8]
	ldp	w3, w2, [x20, #24]
	ldr	w4, [x20]
	mov	x1, x25
	bl	_generate_raw_frame
	ldr	w8, [x21]
	ldr	w9, [x21, #32]
	mul	w8, w8, w9
	lsl	w27, w8, #2
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
	cmp	w27, w8
	b.gt	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, x22, w24, sxtw #2
	ldr	x8, [x21, #40]
	ldr	x1, [x8]
	mov	x2, x27
	bl	_memcpy
	add	x1, sp, #64
	add	x3, sp, #28
	mov	x0, x20
	mov	x2, x21
	bl	_avcodec_encode_audio2
	tbnz	w0, #31, LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x2, sp, #28
	add	x3, sp, #64
	mov	x0, x19
	mov	x1, x23
	bl	_avcodec_decode_audio4
	mov	x28, x0
	tbnz	w0, #31, LBB0_33
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #64]
	cmp	w28, w8
	b.ne	LBB0_35
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_36
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x21, #16]
	ldr	x10, [x23, #16]
	cmp	x9, x10
	b.ne	LBB0_37
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x21, #8]
	ldr	x10, [x23, #8]
	cmp	x9, x10
	b.ne	LBB0_38
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x19, x22
	ldr	w9, [x23, #32]
	mul	w8, w8, w9
	lsl	w22, w8, #2
	ldr	x8, [x23, #24]
	ldr	w8, [x8]
	cmp	w22, w8
	b.gt	LBB0_41
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w28, [sp, #24]                  ; 4-byte Folded Reload
	add	x0, x8, w28, sxtw #2
	ldr	x8, [x23, #40]
	ldr	x1, [x8]
	mov	x2, x22
	bl	_memcpy
	str	w22, [sp, #4]                   ; 4-byte Folded Spill
	add	w28, w22, w28
	str	w28, [sp, #24]                  ; 4-byte Folded Spill
	mov	x22, x19
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_10
LBB0_22:
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_23:
Lloh20:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_24:
Lloh25:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_25:
                                        ; implicit-def: $w9
	b	LBB0_29
LBB0_26:
Lloh30:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.5@PAGE
Lloh34:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_31
LBB0_27:
	mov	x28, x0
Lloh35:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.6@PAGE
Lloh39:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_34
LBB0_28:
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
LBB0_29:
	mul	w2, w8, w9
	mov	x0, x22
	bl	_memcmp
	cbz	x0, LBB0_32
; %bb.30:
Lloh40:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x2, l_.str.13@PAGE
Lloh44:
	add	x2, x2, l_.str.13@PAGEOFF
LBB0_31:
	mov	x0, #0
	bl	_av_log
	mov	w28, #1
	b	LBB0_40
LBB0_32:
Lloh45:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x2, l_.str.14@PAGE
Lloh49:
	add	x2, x2, l_.str.14@PAGEOFF
	bl	_av_log
	add	x0, sp, #40
	bl	_av_freep
	add	x0, sp, #32
	bl	_av_freep
	add	x0, sp, #56
	bl	_av_frame_free
	add	x0, sp, #48
	bl	_av_frame_free
	mov	w28, #0
	b	LBB0_40
LBB0_33:
Lloh50:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
Lloh53:
	adrp	x2, l_.str.7@PAGE
Lloh54:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_34:
	mov	x0, #0
	bl	_av_log
	b	LBB0_40
LBB0_35:
Lloh55:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh56:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x2, l_.str.8@PAGE
Lloh59:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_39
LBB0_36:
Lloh60:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
Lloh63:
	adrp	x2, l_.str.9@PAGE
Lloh64:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_39
LBB0_37:
Lloh65:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
Lloh68:
	adrp	x2, l_.str.10@PAGE
Lloh69:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_39
LBB0_38:
Lloh70:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
Lloh73:
	adrp	x2, l_.str.11@PAGE
Lloh74:
	add	x2, x2, l_.str.11@PAGEOFF
LBB0_39:
	mov	x0, #0
	bl	_av_log
Lloh75:
	adrp	x8, _AVERROR_UNKNOWN@GOTPAGE
Lloh76:
	ldr	x8, [x8, _AVERROR_UNKNOWN@GOTPAGEOFF]
Lloh77:
	ldr	w28, [x8]
LBB0_40:
	mov	x0, x28
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_41:
Lloh78:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x2, l_.str.12@PAGE
Lloh82:
	add	x2, x2, l_.str.12@PAGEOFF
	b	LBB0_31
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate input frame\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate a buffer for input frame\n"

l_.str.2:                               ; @.str.2
	.asciz	"Can't allocate output frame\n"

	.comm	_NUMBER_OF_AUDIO_FRAMES,4,2     ; @NUMBER_OF_AUDIO_FRAMES
l_.str.3:                               ; @.str.3
	.asciz	"Can't allocate memory for raw_in\n"

l_.str.4:                               ; @.str.4
	.asciz	"Can't allocate memory for raw_out\n"

l_.str.5:                               ; @.str.5
	.asciz	"Incorrect value of input frame linesize\n"

l_.str.6:                               ; @.str.6
	.asciz	"Error encoding audio frame\n"

l_.str.7:                               ; @.str.7
	.asciz	"Error decoding audio packet\n"

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.8:                               ; @.str.8
	.asciz	"Decoder consumed only part of a packet, it is allowed to do so -- need to update this test\n"

	.comm	_AVERROR_UNKNOWN,4,2            ; @AVERROR_UNKNOWN
l_.str.9:                               ; @.str.9
	.asciz	"Error frames before and after decoding has different number of samples\n"

l_.str.10:                              ; @.str.10
	.asciz	"Error frames before and after decoding has different channel layout\n"

l_.str.11:                              ; @.str.11
	.asciz	"Error frames before and after decoding has different sample format\n"

l_.str.12:                              ; @.str.12
	.asciz	"Incorrect value of output frame linesize\n"

l_.str.13:                              ; @.str.13
	.asciz	"Output differs\n"

l_.str.14:                              ; @.str.14
	.asciz	"OK\n"

	.no_dead_strip	_run_test
.subsections_via_symbols
