	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dhav_read_packet
_dhav_read_packet:                      ## @dhav_read_packet
	.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, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	leaq	12(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_read_chunk
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	js	LBB0_42
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %eax
	cmpl	$240, %eax
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$253, %eax
	jne	LBB0_34
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$-1, (%rax)
	jne	LBB0_34
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%r12), %rax
	movl	%ecx, 16(%rax)
	movl	8(%r13), %edx
	leal	-1(%rdx), %ecx
	cmpl	$11, %ecx
	ja	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_1(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$-1, (%rax)
	jne	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%r12), %rax
	movl	%ecx, 16(%rax)
	movl	16(%r13), %edx
	leal	-7(%rdx), %ecx
	cmpl	$26, %ecx
	ja	LBB0_31
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_PCM_S16LE@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_PCM_MULAW@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_MPEG4@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_MJPEG@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_avpriv_request_sample
	movq	16(%r12), %rax
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_HEVC@GOTPCREL(%rip), %rcx
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	40(%r13), %ecx
	movl	%ecx, 24(%rax)
	movl	36(%r13), %ecx
	movl	%ecx, 20(%rax)
	movl	32(%r13), %eax
	movl	%eax, 28(%r12)
	movl	$1, 24(%r12)
	movl	$8, %edi
	callq	_av_mallocz
	movq	%rax, 8(%r12)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_33
	jmp	LBB0_17
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_PCM_S8@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_avpriv_request_sample
	movq	16(%r12), %rax
	jmp	LBB0_32
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_ADPCM_MS@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_PCM_ALAW@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_MP2@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_ID_MP3@GOTPCREL(%rip), %rcx
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	28(%r13), %ecx
	movl	%ecx, 4(%rax)
	movl	24(%r13), %ecx
	movl	%ecx, (%rax)
	movl	$8, %edi
	callq	_av_mallocz
	movq	%rax, 8(%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_17
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax)
	movl	(%r12), %eax
	movl	%eax, (%rcx)
	movq	%r12, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$1000, %ecx                     ## imm = 0x3E8
	callq	_avpriv_set_pts_info
LBB0_34:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	cmpl	$240, (%r13)
	sete	%al
	movl	4(%r13,%rax,8), %ebx
	movl	(%r15), %edi
	testl	%ebx, %ebx
	jns	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %esi
	callq	_avio_skip
	movl	(%r15), %edi
	callq	_avio_rl32
	movq	%rax, %rbx
	movl	$100, %edi
	movl	$104, %esi
	movl	$97, %edx
	movl	$118, %ecx
	callq	_MKTAG
	cmpq	%rax, %rbx
	jne	LBB0_1
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movl	$4, %esi
	callq	_avio_skip
	jmp	LBB0_1
LBB0_37:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_av_get_packet
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_42
## %bb.38:
	movl	%ebx, (%r12)
	cmpl	$252, (%r13)
	je	LBB0_40
## %bb.39:
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r12)
LBB0_40:
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_get_pts
	movl	%eax, 12(%r12)
	movl	$1, 4(%r12)
	movl	20(%r13), %eax
	movl	%eax, 8(%r12)
	movl	(%r15), %edi
	callq	_avio_rl32
	movq	%rax, %rbx
	movl	$100, %edi
	movl	$104, %esi
	movl	$97, %edx
	movl	$118, %ecx
	callq	_MKTAG
	cmpq	%rax, %rbx
	jne	LBB0_42
## %bb.41:
	movl	(%r15), %edi
	movl	$4, %esi
	callq	_avio_skip
LBB0_42:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_25
	.long	L0_0_set_31
	.long	L0_0_set_24
	.long	L0_0_set_30
	.long	L0_0_set_26
	.long	L0_0_set_31
	.long	L0_0_set_24
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_25
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_27
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_28
	.long	L0_0_set_31
	.long	L0_0_set_29
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
LJTI0_1:
	.long	L0_1_set_9
	.long	L0_1_set_12
	.long	L0_1_set_11
	.long	L0_1_set_12
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_12
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_13
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_MPEG4,8,3          ## @AV_CODEC_ID_MPEG4
	.comm	_AV_CODEC_ID_MJPEG,8,3          ## @AV_CODEC_ID_MJPEG
	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_HEVC,8,3           ## @AV_CODEC_ID_HEVC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown video codec %X\n"

	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_PCM_S8,8,3         ## @AV_CODEC_ID_PCM_S8
	.comm	_AV_CODEC_ID_PCM_S16LE,8,3      ## @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_PCM_MULAW,8,3      ## @AV_CODEC_ID_PCM_MULAW
	.comm	_AV_CODEC_ID_PCM_ALAW,8,3       ## @AV_CODEC_ID_PCM_ALAW
	.comm	_AV_CODEC_ID_AAC,8,3            ## @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_MP2,8,3            ## @AV_CODEC_ID_MP2
	.comm	_AV_CODEC_ID_MP3,8,3            ## @AV_CODEC_ID_MP3
	.comm	_AV_CODEC_ID_ADPCM_MS,8,3       ## @AV_CODEC_ID_ADPCM_MS
L_.str.1:                               ## @.str.1
	.asciz	"Unknown audio codec %X\n"

	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.no_dead_strip	_dhav_read_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dhav_read_packet
_dhav_read_packet:                      ; @dhav_read_packet
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x25, [x0, #16]
	add	x27, x25, #12
Lloh0:
	adrp	x22, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_NOPTS_VALUE@GOTPAGEOFF]
	add	x23, x25, #4
	mov	w26, #4
	mov	w28, #12
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_read_chunk
	cbz	w0, LBB0_1
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	tbnz	w0, #31, LBB0_40
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x25]
	cmp	w8, #240
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #253
	b.ne	LBB0_32
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x23]
	cmn	w8, #1
	b.ne	LBB0_32
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_41
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x24, x0
Lloh2:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	x8, [x0, #16]
	str	w9, [x8, #16]
	ldr	w2, [x25, #8]
	sub	w9, w2, #1
	cmp	w9, #11
	b.hi	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh5:
	adrp	x12, lJTI0_1@PAGE
Lloh6:
	add	x12, x12, lJTI0_1@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh7:
	adrp	x9, _AV_CODEC_ID_H264@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AV_CODEC_ID_H264@GOTPAGEOFF]
	b	LBB0_20
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	cmn	w8, #1
	b.ne	LBB0_32
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_41
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x24, x0
Lloh9:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
	ldr	x8, [x0, #16]
	str	w9, [x8, #16]
	ldr	w2, [x25, #16]
	sub	w9, w2, #7
	cmp	w9, #26
	b.hi	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
Lloh12:
	adrp	x12, lJTI0_0@PAGE
Lloh13:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_14
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh14:
	adrp	x9, _AV_CODEC_ID_PCM_S16LE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_S16LE@GOTPAGEOFF]
	b	LBB0_29
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh16:
	adrp	x9, _AV_CODEC_ID_PCM_MULAW@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_MULAW@GOTPAGEOFF]
	b	LBB0_29
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh18:
	adrp	x9, _AV_CODEC_ID_MPEG4@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AV_CODEC_ID_MPEG4@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh20:
	adrp	x9, _AV_CODEC_ID_MJPEG@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AV_CODEC_ID_MJPEG@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_avpriv_request_sample
	ldr	x8, [x24, #16]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh24:
	adrp	x9, _AV_CODEC_ID_HEVC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AV_CODEC_ID_HEVC@GOTPAGEOFF]
LBB0_20:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x9]
	str	x9, [x8, #8]
LBB0_21:                                ;   in Loop: Header=BB0_1 Depth=1
	ldur	d0, [x25, #36]
	stur	d0, [x8, #20]
	ldr	w9, [x25, #32]
	mov	w8, #1
	stp	w8, w9, [x24, #24]
	mov	w0, #8
	bl	_av_mallocz
	str	x0, [x24, #8]
	mov	x8, x23
	cbnz	x0, LBB0_31
	b	LBB0_41
LBB0_22:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh26:
	adrp	x9, _AV_CODEC_ID_PCM_S8@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_S8@GOTPAGEOFF]
	b	LBB0_29
LBB0_23:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_avpriv_request_sample
	ldr	x8, [x24, #16]
	b	LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh30:
	adrp	x9, _AV_CODEC_ID_ADPCM_MS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AV_CODEC_ID_ADPCM_MS@GOTPAGEOFF]
	b	LBB0_29
LBB0_25:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh32:
	adrp	x9, _AV_CODEC_ID_PCM_ALAW@GOTPAGE
Lloh33:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_ALAW@GOTPAGEOFF]
	b	LBB0_29
LBB0_26:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh34:
	adrp	x9, _AV_CODEC_ID_AAC@GOTPAGE
Lloh35:
	ldr	x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh36:
	adrp	x9, _AV_CODEC_ID_MP2@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AV_CODEC_ID_MP2@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh38:
	adrp	x9, _AV_CODEC_ID_MP3@GOTPAGE
Lloh39:
	ldr	x9, [x9, _AV_CODEC_ID_MP3@GOTPAGEOFF]
LBB0_29:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x9]
	str	x9, [x8, #8]
LBB0_30:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	d0, [x25, #24]
	str	d0, [x8]
	mov	w0, #8
	bl	_av_mallocz
	str	x0, [x24, #8]
	mov	x8, x27
	cbz	x0, LBB0_41
LBB0_31:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x22]
	str	x9, [x0]
	ldr	w9, [x24]
	str	w9, [x8]
	mov	x0, x24
	mov	w1, #64
	mov	w2, #1
	mov	w3, #1000
	bl	_avpriv_set_pts_info
LBB0_32:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x25]
	cmp	w8, #240
	csel	x8, x28, x26, eq
	ldr	w24, [x25, x8]
	ldr	w0, [x19]
	tbz	w24, #31, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x21
	bl	_avio_skip
	ldr	w0, [x19]
	bl	_avio_rl32
	mov	x21, x0
	mov	w0, #100
	mov	w1, #104
	mov	w2, #97
	mov	w3, #118
	bl	_MKTAG
	cmp	x21, x0
	b.ne	LBB0_1
; %bb.34:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19]
	mov	w1, #4
	bl	_avio_skip
	b	LBB0_1
LBB0_35:
	mov	x1, x20
	mov	x2, x21
	bl	_av_get_packet
	mov	x21, x0
	tbnz	w0, #31, LBB0_40
; %bb.36:
	str	w24, [x20]
	ldr	w8, [x25]
	cmp	w8, #252
	b.eq	LBB0_38
; %bb.37:
Lloh40:
	adrp	x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	str	w8, [x20, #16]
LBB0_38:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_get_pts
	str	w0, [x20, #12]
	mov	w8, #1
	ldr	w9, [x25, #20]
	stp	w8, w9, [x20, #4]
	ldr	w0, [x19]
	bl	_avio_rl32
	mov	x20, x0
	mov	w0, #100
	mov	w1, #104
	mov	w2, #97
	mov	w3, #118
	bl	_MKTAG
	cmp	x20, x0
	b.ne	LBB0_40
; %bb.39:
	ldr	w0, [x19]
	mov	w1, #4
	bl	_avio_skip
LBB0_40:
	mov	x0, x21
	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
LBB0_41:
Lloh43:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_15-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_24-LBB0_14)>>2
	.byte	(LBB0_25-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_15-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_26-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_27-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
lJTI0_1:
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_MPEG4,8,3          ; @AV_CODEC_ID_MPEG4
	.comm	_AV_CODEC_ID_MJPEG,8,3          ; @AV_CODEC_ID_MJPEG
	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_HEVC,8,3           ; @AV_CODEC_ID_HEVC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown video codec %X\n"

	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_PCM_S8,8,3         ; @AV_CODEC_ID_PCM_S8
	.comm	_AV_CODEC_ID_PCM_S16LE,8,3      ; @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_PCM_MULAW,8,3      ; @AV_CODEC_ID_PCM_MULAW
	.comm	_AV_CODEC_ID_PCM_ALAW,8,3       ; @AV_CODEC_ID_PCM_ALAW
	.comm	_AV_CODEC_ID_AAC,8,3            ; @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_MP2,8,3            ; @AV_CODEC_ID_MP2
	.comm	_AV_CODEC_ID_MP3,8,3            ; @AV_CODEC_ID_MP3
	.comm	_AV_CODEC_ID_ADPCM_MS,8,3       ; @AV_CODEC_ID_ADPCM_MS
l_.str.1:                               ; @.str.1
	.asciz	"Unknown audio codec %X\n"

	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.no_dead_strip	_dhav_read_packet
.subsections_via_symbols
