	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_nal_unit
_decode_nal_unit:                       ## @decode_nal_unit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	96(%rdi), %r13
	movl	16(%rsi), %eax
	movl	%eax, (%r13)
	movl	(%rsi), %r8d
	movl	%r8d, (%rdi)
	movl	12(%rsi), %eax
	movl	%eax, 88(%rdi)
	leal	-128(%r8), %eax
	cmpl	$24, %eax
	ja	LBB0_32
## %bb.1:
	movq	%rsi, %rbx
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r15, %rdi
	callq	_hls_slice_header
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	cmpl	$1, %r12d
	jne	LBB0_7
## %bb.4:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_5
LBB0_6:
	movl	%r12d, %r14d
	jmp	LBB0_77
LBB0_7:
	movq	24(%r15), %rax
	movl	16(%rax), %eax
	movq	_AVDISCARD_BIDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_9
## %bb.8:
	movl	56(%r15), %ecx
	movq	_HEVC_SLICE_B@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_77
LBB0_9:
	movq	_AVDISCARD_NONINTRA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_11
## %bb.10:
	movl	56(%r15), %ecx
	movq	_HEVC_SLICE_I@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_77
LBB0_11:
	movq	_AVDISCARD_NONKEY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	callq	_IS_IRAP
	testl	%eax, %eax
	je	LBB0_77
LBB0_13:
	cmpl	$0, 52(%r15)
	je	LBB0_51
## %bb.14:
	movq	32(%r15), %rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.15:
	cmpl	$148, (%r15)
	je	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	callq	_IS_BLA
	testl	%eax, %eax
	je	LBB0_78
LBB0_17:
	leaq	72(%r15), %rax
LBB0_18:
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
LBB0_19:
	movl	(%r15), %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$138, %ecx
	jne	LBB0_23
## %bb.20:
	movq	72(%r15), %rcx
	cmpq	32(%r15), %rcx
	jbe	LBB0_63
## %bb.21:
	cmpl	$138, %eax
	jne	LBB0_23
## %bb.22:
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
LBB0_23:
	incl	68(%r15)
	movq	%r15, %rdi
	callq	_hevc_frame_start
	testl	%eax, %eax
	jns	LBB0_52
## %bb.24:
	movl	%eax, %r14d
	jmp	LBB0_77
LBB0_25:
	movq	24(%r15), %rsi
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.26:
	movq	(%rax), %r9
	testq	%r9, %r9
	je	LBB0_29
## %bb.27:
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	movq	%rsi, %rdi
	movl	%r8d, %esi
	callq	*%r9
	testl	%eax, %eax
	js	LBB0_70
## %bb.28:
	movq	24(%r15), %rsi
	movl	(%r15), %r8d
LBB0_29:
	leaq	80(%r15), %rdx
	leaq	40(%r15), %rcx
	movq	%r13, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_ff_hevc_decode_nal_sei
	testl	%eax, %eax
	jns	LBB0_77
	jmp	LBB0_70
LBB0_31:
	movl	16(%r15), %eax
	incl	%eax
	movzbl	%al, %eax
	movl	%eax, 16(%r15)
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	jmp	LBB0_77
LBB0_32:
	movq	24(%r15), %rdi
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%r14d, %r14d
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_77
LBB0_33:
	movq	24(%r15), %rsi
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_37
## %bb.34:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_37
## %bb.35:
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	movq	%rsi, %rdi
	movl	$128, %esi
	callq	*%rax
	testl	%eax, %eax
	js	LBB0_70
## %bb.36:
	movq	24(%r15), %rsi
LBB0_37:
	leaq	40(%r15), %rdx
	movq	%r13, %rdi
	callq	_ff_hevc_decode_nal_vps
	testl	%eax, %eax
	jns	LBB0_77
	jmp	LBB0_70
LBB0_39:
	movq	24(%r15), %rsi
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_43
## %bb.40:
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_43
## %bb.41:
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	movq	%rsi, %rdi
	movl	$135, %esi
	callq	*%r8
	testl	%eax, %eax
	js	LBB0_70
## %bb.42:
	movq	24(%r15), %rsi
LBB0_43:
	leaq	40(%r15), %rdx
	movl	84(%r15), %ecx
	movq	%r13, %rdi
	callq	_ff_hevc_decode_nal_sps
	testl	%eax, %eax
	jns	LBB0_77
	jmp	LBB0_70
LBB0_45:
	movq	24(%r15), %rsi
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_49
## %bb.46:
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_49
## %bb.47:
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	movq	%rsi, %rdi
	movl	$142, %esi
	callq	*%r8
	testl	%eax, %eax
	js	LBB0_70
## %bb.48:
	movq	24(%r15), %rsi
LBB0_49:
	leaq	40(%r15), %rdx
	movq	%r13, %rdi
	callq	_ff_hevc_decode_nal_pps
	testl	%eax, %eax
	jns	LBB0_77
	jmp	LBB0_70
LBB0_51:
	cmpl	$0, 64(%r15)
	je	LBB0_64
LBB0_52:
	movl	(%r15), %r8d
	movl	8(%r15), %ecx
	cmpl	%ecx, %r8d
	jne	LBB0_62
## %bb.53:
	cmpl	$0, 60(%r15)
	jne	LBB0_56
## %bb.54:
	movl	56(%r15), %eax
	movq	_HEVC_SLICE_I@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_56
## %bb.55:
	movq	%r15, %rdi
	callq	_ff_hevc_slice_rpl
	testl	%eax, %eax
	js	LBB0_81
LBB0_56:
	cmpl	$0, 52(%r15)
	je	LBB0_59
## %bb.57:
	movq	24(%r15), %rdi
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_59
## %bb.58:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	*8(%rax)
	testl	%eax, %eax
	js	LBB0_70
LBB0_59:
	movq	24(%r15), %rdi
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_67
## %bb.60:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	callq	*16(%rax)
	testl	%eax, %eax
	jns	LBB0_77
LBB0_70:
	movl	%eax, %r12d
LBB0_5:
	movq	24(%r15), %rax
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	(%rax), %r14d
	cmovnel	%r12d, %r14d
LBB0_77:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_62:
	movq	24(%r15), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_77
LBB0_63:
	movl	$0, 4(%r15)
	jmp	LBB0_77
LBB0_64:
	movq	24(%r15), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_65:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_5
LBB0_67:
	cmpl	$2, 12(%r15)
	jl	LBB0_73
## %bb.68:
	cmpl	$0, 48(%r15)
	jle	LBB0_73
## %bb.69:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hls_slice_data_wpp
	jmp	LBB0_74
LBB0_73:
	movq	%r15, %rdi
	callq	_hls_slice_data
LBB0_74:
	movl	%eax, %r12d
	movq	40(%r15), %rax
	movl	4(%rax), %ecx
	imull	(%rax), %ecx
	cmpl	%ecx, %r12d
	jl	LBB0_76
## %bb.75:
	movl	$1, 4(%r15)
LBB0_76:
	testl	%r12d, %r12d
	jns	LBB0_77
	jmp	LBB0_5
LBB0_78:
	movq	%r15, %rdi
	callq	_IS_IDR
	testl	%eax, %eax
	je	LBB0_19
## %bb.79:
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_81:
	movl	%eax, %r12d
	movq	24(%r15), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_65
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_77, LBB0_77-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_33
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_39
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_45
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_77
	.long	L0_0_set_31
	.long	L0_0_set_31
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_77
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AVDISCARD_BIDIR,4,2            ## @AVDISCARD_BIDIR
	.comm	_HEVC_SLICE_B,4,2               ## @HEVC_SLICE_B
	.comm	_AVDISCARD_NONINTRA,4,2         ## @AVDISCARD_NONINTRA
	.comm	_HEVC_SLICE_I,4,2               ## @HEVC_SLICE_I
	.comm	_AVDISCARD_NONKEY,4,2           ## @AVDISCARD_NONKEY
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_INT_MIN,8,3                    ## @INT_MIN
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"First slice in a frame missing.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Non-matching NAL types of the VCL NALUs: %d %d\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"Error constructing the reference lists for the current slice.\n"

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"Skipping NAL unit %d\n"

	.comm	_AV_EF_EXPLODE,4,2              ## @AV_EF_EXPLODE
	.no_dead_strip	_decode_nal_unit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_nal_unit
_decode_nal_unit:                       ; @decode_nal_unit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x22, [x0, #96]
	ldr	w8, [x1, #16]
	str	w8, [x22]
	ldr	w4, [x1]
	str	w4, [x0]
	ldr	w8, [x1, #12]
	str	w8, [x0, #88]
	sub	w8, w4, #128
	cmp	w8, #24
	b.hi	LBB0_29
; %bb.1:
	mov	x20, x1
	mov	w21, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_hls_slice_header
	mov	x21, x0
	tbnz	w0, #31, LBB0_69
; %bb.3:
	cmp	w21, #1
	b.ne	LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	b	LBB0_56
LBB0_5:
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #16]
Lloh5:
	adrp	x9, _AVDISCARD_BIDIR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AVDISCARD_BIDIR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.6:
	ldr	w9, [x19, #56]
Lloh8:
	adrp	x10, _HEVC_SLICE_B@GOTPAGE
Lloh9:
	ldr	x10, [x10, _HEVC_SLICE_B@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_68
LBB0_7:
Lloh11:
	adrp	x9, _AVDISCARD_NONINTRA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AVDISCARD_NONINTRA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.8:
	ldr	w9, [x19, #56]
Lloh14:
	adrp	x10, _HEVC_SLICE_I@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HEVC_SLICE_I@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_68
LBB0_9:
Lloh17:
	adrp	x9, _AVDISCARD_NONKEY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AVDISCARD_NONKEY@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_IS_IRAP
	cbz	w0, LBB0_68
LBB0_11:
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_45
; %bb.12:
	ldr	x8, [x19, #32]
Lloh20:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.13:
	ldr	w8, [x19]
	cmp	w8, #148
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_IS_BLA
	cbz	w0, LBB0_70
LBB0_15:
	add	x8, x19, #72
LBB0_16:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_17:
	ldr	w8, [x19]
	and	w9, w8, #0xfffffffe
	cmp	w9, #138
	b.ne	LBB0_21
; %bb.18:
	ldr	x9, [x19, #72]
	ldr	x10, [x19, #32]
	cmp	x9, x10
	b.ls	LBB0_58
; %bb.19:
	cmp	w8, #138
	b.ne	LBB0_21
; %bb.20:
Lloh23:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_21:
	ldr	w8, [x19, #68]
	add	w8, w8, #1
	str	w8, [x19, #68]
	mov	x0, x19
	bl	_hevc_frame_start
	tbz	w0, #31, LBB0_46
; %bb.22:
	mov	x21, x0
	b	LBB0_69
LBB0_23:
	ldr	x1, [x19, #24]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_27
; %bb.24:
	ldr	x8, [x8]
	cbz	x8, LBB0_27
; %bb.25:
	ldp	w3, w2, [x20, #4]
	mov	x0, x1
	mov	x1, x4
	blr	x8
	tbnz	w0, #31, LBB0_55
; %bb.26:
	ldr	x1, [x19, #24]
	ldr	w4, [x19]
LBB0_27:
	add	x2, x19, #80
	add	x3, x19, #40
	mov	x0, x22
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_ff_hevc_decode_nal_sei
	tbz	w0, #31, LBB0_68
	b	LBB0_55
LBB0_28:
	mov	w21, #0
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	and	w8, w8, #0xff
	str	w8, [x19, #16]
Lloh26:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	b	LBB0_69
LBB0_29:
	ldr	x0, [x19, #24]
Lloh29:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	str	x4, [sp]
Lloh32:
	adrp	x2, l_.str.3@PAGE
Lloh33:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_av_log
	b	LBB0_68
LBB0_30:
	ldr	x1, [x19, #24]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_34
; %bb.31:
	ldr	x8, [x8]
	cbz	x8, LBB0_34
; %bb.32:
	ldp	w3, w2, [x20, #4]
	mov	x0, x1
	mov	w1, #128
	blr	x8
	tbnz	w0, #31, LBB0_55
; %bb.33:
	ldr	x1, [x19, #24]
LBB0_34:
	add	x2, x19, #40
	mov	x0, x22
	bl	_ff_hevc_decode_nal_vps
	tbz	w0, #31, LBB0_68
	b	LBB0_55
LBB0_35:
	ldr	x1, [x19, #24]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_39
; %bb.36:
	ldr	x8, [x8]
	cbz	x8, LBB0_39
; %bb.37:
	ldp	w3, w2, [x20, #4]
	mov	x0, x1
	mov	w1, #135
	blr	x8
	tbnz	w0, #31, LBB0_55
; %bb.38:
	ldr	x1, [x19, #24]
LBB0_39:
	add	x2, x19, #40
	ldr	w3, [x19, #84]
	mov	x0, x22
	bl	_ff_hevc_decode_nal_sps
	tbz	w0, #31, LBB0_68
	b	LBB0_55
LBB0_40:
	ldr	x1, [x19, #24]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_44
; %bb.41:
	ldr	x8, [x8]
	cbz	x8, LBB0_44
; %bb.42:
	ldp	w3, w2, [x20, #4]
	mov	x0, x1
	mov	w1, #142
	blr	x8
	tbnz	w0, #31, LBB0_55
; %bb.43:
	ldr	x1, [x19, #24]
LBB0_44:
	add	x2, x19, #40
	mov	x0, x22
	bl	_ff_hevc_decode_nal_pps
	tbz	w0, #31, LBB0_68
	b	LBB0_55
LBB0_45:
	ldr	w8, [x19, #64]
	cbz	w8, LBB0_59
LBB0_46:
	ldr	w9, [x19]
	ldr	w8, [x19, #8]
	cmp	w9, w8
	b.ne	LBB0_57
; %bb.47:
	ldr	w8, [x19, #60]
	cbnz	w8, LBB0_50
; %bb.48:
	ldr	w8, [x19, #56]
Lloh34:
	adrp	x9, _HEVC_SLICE_I@GOTPAGE
Lloh35:
	ldr	x9, [x9, _HEVC_SLICE_I@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_50
; %bb.49:
	mov	x0, x19
	bl	_ff_hevc_slice_rpl
	tbnz	w0, #31, LBB0_72
LBB0_50:
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_53
; %bb.51:
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_53
; %bb.52:
	ldr	x8, [x8, #8]
	mov	x1, #0
	mov	w2, #0
	blr	x8
	tbnz	w0, #31, LBB0_55
LBB0_53:
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_61
; %bb.54:
	ldr	x8, [x8, #16]
	ldp	w2, w1, [x20, #4]
	blr	x8
	tbz	w0, #31, LBB0_68
LBB0_55:
	mov	x21, x0
LBB0_56:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	csel	w21, wzr, w21, eq
	b	LBB0_69
LBB0_57:
	ldr	x0, [x19, #24]
Lloh40:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh41:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x10]
	stp	x8, x9, [sp]
Lloh43:
	adrp	x2, l_.str.1@PAGE
Lloh44:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
Lloh45:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh47:
	ldr	w21, [x8]
	b	LBB0_69
LBB0_58:
	mov	w21, #0
	str	wzr, [x19, #4]
	b	LBB0_69
LBB0_59:
	ldr	x0, [x19, #24]
Lloh48:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x2, l_.str@PAGE
Lloh52:
	add	x2, x2, l_.str@PAGEOFF
LBB0_60:
	bl	_av_log
	b	LBB0_56
LBB0_61:
	ldr	w8, [x19, #12]
	cmp	w8, #2
	b.lt	LBB0_64
; %bb.62:
	ldr	w8, [x19, #48]
	cmp	w8, #1
	b.lt	LBB0_64
; %bb.63:
	mov	x0, x19
	mov	x1, x20
	bl	_hls_slice_data_wpp
	b	LBB0_65
LBB0_64:
	mov	x0, x19
	bl	_hls_slice_data
LBB0_65:
	mov	x21, x0
	ldr	x8, [x19, #40]
	ldp	w9, w8, [x8]
	mul	w8, w8, w9
	cmp	w0, w8
	b.lt	LBB0_67
; %bb.66:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_67:
	tbnz	w21, #31, LBB0_56
LBB0_68:
	mov	w21, #0
LBB0_69:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_70:
	mov	x0, x19
	bl	_IS_IDR
	cbz	w0, LBB0_17
; %bb.71:
Lloh53:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh54:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
	b	LBB0_16
LBB0_72:
	mov	x21, x0
	ldr	x0, [x19, #24]
Lloh55:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh56:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x2, l_.str.2@PAGE
Lloh59:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_60
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_30-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_35-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_40-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_69-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_69-LBB0_2)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AVDISCARD_BIDIR,4,2            ; @AVDISCARD_BIDIR
	.comm	_HEVC_SLICE_B,4,2               ; @HEVC_SLICE_B
	.comm	_AVDISCARD_NONINTRA,4,2         ; @AVDISCARD_NONINTRA
	.comm	_HEVC_SLICE_I,4,2               ; @HEVC_SLICE_I
	.comm	_AVDISCARD_NONKEY,4,2           ; @AVDISCARD_NONKEY
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_INT_MIN,8,3                    ; @INT_MIN
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"First slice in a frame missing.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Non-matching NAL types of the VCL NALUs: %d %d\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"Error constructing the reference lists for the current slice.\n"

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"Skipping NAL unit %d\n"

	.comm	_AV_EF_EXPLODE,4,2              ; @AV_EF_EXPLODE
	.no_dead_strip	_decode_nal_unit
.subsections_via_symbols
