	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm_bluray_decode_frame
_pcm_bluray_decode_frame:               ## @pcm_bluray_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	%rdi, %r12
	movl	(%rcx), %r15d
	cmpl	$3, %r15d
	jg	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_40
LBB0_2:
	movq	%rsi, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pcm_bluray_parse_header
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_40
## %bb.3:
	addq	$16, %r14
	addl	$-4, %r15d
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_bytestream2_init
	movl	(%r12), %edi
	movl	$2, %esi
	callq	_FFALIGN
	movq	8(%r12), %rcx
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	cmpq	(%rsi), %rcx
	movl	%r15d, %esi
	movl	%eax, %r15d
	setne	%dl
	leal	16(,%rdx,8), %ecx
	imull	%eax, %ecx
	sarl	$3, %ecx
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r14d
	movl	%eax, (%r13)
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	testl	%r14d, %r14d
	je	LBB0_37
## %bb.6:
	movl	16(%r12), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_37
## %bb.7:
	movq	8(%r13), %rcx
	movq	(%rcx), %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_14
## %bb.18:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movl	(%r12), %ebx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, (%r13)
	addq	$8, %r13
	decl	%ebx
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_bytestream2_skip
	decl	%r14d
	jne	LBB0_19
	jmp	LBB0_37
LBB0_4:
	movl	%eax, %ebx
	jmp	LBB0_40
LBB0_8:
	imull	%r15d, %r14d
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_9
## %bb.11:
	movl	%r14d, %r15d
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, (%r13,%rbx,8)
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_12
	jmp	LBB0_37
LBB0_14:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movl	(%r12), %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, (%r13)
	addq	$4, %r13
	decl	%ebx
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_bytestream2_skip
	decl	%r14d
	jne	LBB0_15
	jmp	LBB0_37
LBB0_9:
	movl	%r14d, %r15d
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, (%r13,%rbx,4)
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_10
	jmp	LBB0_37
LBB0_32:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_33
## %bb.35:
	leaq	-44(%rbp), %rbx
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 8(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 16(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 48(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 32(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 40(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 56(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 24(%r13)
	addq	$64, %r13
	decl	%r14d
	jne	LBB0_36
	jmp	LBB0_37
LBB0_22:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_23
## %bb.25:
	leaq	-44(%rbp), %rbx
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 8(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 16(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 32(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 40(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 24(%r13)
	addq	$48, %r13
	decl	%r14d
	jne	LBB0_26
	jmp	LBB0_37
LBB0_27:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_28
## %bb.30:
	leaq	-44(%rbp), %rbx
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 8(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 16(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 40(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 24(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 32(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movq	%rax, 48(%r13)
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_bytestream2_skip
	addq	$56, %r13
	decl	%r14d
	jne	LBB0_31
	jmp	LBB0_37
LBB0_33:
	leaq	-44(%rbp), %rbx
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, (%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 4(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 8(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 24(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 16(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 20(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 28(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 12(%r13)
	addq	$32, %r13
	decl	%r14d
	jne	LBB0_34
	jmp	LBB0_37
LBB0_23:
	leaq	-44(%rbp), %rbx
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, (%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 4(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 8(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 16(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 20(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 12(%r13)
	addq	$24, %r13
	decl	%r14d
	jne	LBB0_24
	jmp	LBB0_37
LBB0_28:
	leaq	-44(%rbp), %rbx
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, (%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 4(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 8(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 20(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 12(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 16(%r13)
	movq	%rbx, %rdi
	callq	_bytestream2_get_be24u
	shll	$8, %eax
	movl	%eax, 24(%r13)
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_bytestream2_skip
	addq	$28, %r13
	decl	%r14d
	jne	LBB0_29
LBB0_37:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_tell
	movl	%eax, %ebx
	movq	_FF_DEBUG_BITSTREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r12)
	je	LBB0_39
## %bb.38:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_ff_dlog
LBB0_39:
	addl	$4, %ebx
LBB0_40:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_32
	.long	L0_0_set_27
	.long	L0_0_set_22
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCM packet too small\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_SAMPLE_FMT_S16,8,3          ## @AV_SAMPLE_FMT_S16
	.comm	_FF_DEBUG_BITSTREAM,4,2         ## @FF_DEBUG_BITSTREAM
L_.str.1:                               ## @.str.1
	.asciz	"pcm_bluray_decode_frame: decoded %d -> %d bytes\n"

	.no_dead_strip	_pcm_bluray_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_bluray_decode_frame
_pcm_bluray_decode_frame:               ; @pcm_bluray_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	ldr	w23, [x3]
	cmp	w23, #3
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_29
LBB0_2:
	mov	x20, x2
	mov	x22, x1
	ldr	x21, [x3, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_pcm_bluray_parse_header
	cbnz	w0, LBB0_29
; %bb.3:
	add	x1, x21, #16
	sub	w21, w23, #4
	add	x0, sp, #12
	mov	x2, x21
	bl	_bytestream2_init
	ldr	w0, [x19]
	mov	w1, #2
	bl	_FFALIGN
	mov	x23, x0
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x25, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh9:
	ldr	x25, [x25, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	mov	w8, #24
	mov	w9, #16
	csel	w8, w9, w8, eq
	mul	w8, w8, w0
	asr	w8, w8, #3
	sdiv	w24, w21, w8
	str	w24, [x22]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_29
; %bb.4:
	cbz	w24, LBB0_26
; %bb.5:
	ldr	w8, [x19, #16]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_26
; %bb.6:
	ldr	x9, [x22, #8]
	ldr	x22, [x9]
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	ldr	x8, [x25]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w23, [x19]
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22], #8
	subs	w23, w23, #1
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #12
	mov	w1, #2
	bl	_bytestream2_skip
	subs	w24, w24, #1
	b.ne	LBB0_8
	b	LBB0_26
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w23, [x19]
LBB0_12:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22], #4
	subs	w23, w23, #1
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #12
	mov	w1, #3
	bl	_bytestream2_skip
	subs	w24, w24, #1
	b.ne	LBB0_11
	b	LBB0_26
LBB0_14:
	mul	w23, w24, w23
	ldr	x8, [x25]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22], #8
	subs	w23, w23, #1
	b.ne	LBB0_15
	b	LBB0_26
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22], #4
	subs	w23, w23, #1
	b.ne	LBB0_16
	b	LBB0_26
LBB0_17:
	ldr	x8, [x25]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_19
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #8]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #16]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #48]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #32]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #40]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #56]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #24]
	add	x22, x22, #64
	subs	w24, w24, #1
	b.ne	LBB0_18
	b	LBB0_26
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #4]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #8]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #24]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #16]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #20]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #28]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #12]
	add	x22, x22, #32
	subs	w24, w24, #1
	b.ne	LBB0_19
	b	LBB0_26
LBB0_20:
	ldr	x8, [x25]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_22
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #8]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #16]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #40]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #24]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #32]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #48]
	add	x0, sp, #12
	mov	w1, #2
	bl	_bytestream2_skip
	add	x22, x22, #56
	subs	w24, w24, #1
	b.ne	LBB0_21
	b	LBB0_26
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #4]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #8]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #20]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #12]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #16]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #24]
	add	x0, sp, #12
	mov	w1, #3
	bl	_bytestream2_skip
	add	x22, x22, #28
	subs	w24, w24, #1
	b.ne	LBB0_22
	b	LBB0_26
LBB0_23:
	ldr	x8, [x25]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_25
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #8]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #16]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #32]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #40]
	add	x0, sp, #12
	bl	_bytestream2_get_be16u
	str	x0, [x22, #24]
	add	x22, x22, #48
	subs	w24, w24, #1
	b.ne	LBB0_24
	b	LBB0_26
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #4]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #8]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #16]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #20]
	add	x0, sp, #12
	bl	_bytestream2_get_be24u
	lsl	w8, w0, #8
	str	w8, [x22, #12]
	add	x22, x22, #24
	subs	w24, w24, #1
	b.ne	LBB0_25
LBB0_26:
	mov	w8, #1
	str	w8, [x20]
	add	x0, sp, #12
	bl	_bytestream2_tell
	mov	x20, x0
	ldr	w8, [x19, #20]
Lloh12:
	adrp	x9, _FF_DEBUG_BITSTREAM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FF_DEBUG_BITSTREAM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_ff_dlog
LBB0_28:
	add	w0, w20, #4
LBB0_29:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_23-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCM packet too small\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_SAMPLE_FMT_S16,8,3          ; @AV_SAMPLE_FMT_S16
	.comm	_FF_DEBUG_BITSTREAM,4,2         ; @FF_DEBUG_BITSTREAM
l_.str.1:                               ; @.str.1
	.asciz	"pcm_bluray_decode_frame: decoded %d -> %d bytes\n"

	.no_dead_strip	_pcm_bluray_decode_frame
.subsections_via_symbols
