	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvbsub_decode
_dvbsub_decode:                         ## @dvbsub_decode
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rcx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	8(%rcx), %ebx
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_ff_dlog
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpq	%r13, %rbx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_ff_dlog
	movl	%r13d, %eax
	notl	%eax
	testb	$15, %al
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_ff_dlog
	jmp	LBB0_4
LBB0_5:
	testb	$15, %bl
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ff_dlog
LBB0_7:
	cmpl	$7, %ebx
	jl	LBB0_9
## %bb.8:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	$15, (%rax)
	jne	LBB0_9
## %bb.10:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	leaq	(%r12,%rbx,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	8(%r12), %rdi
	movl	4(%r12), %r13d
	callq	_AV_RB16
	movl	%eax, %r15d
	leaq	16(%r12), %rdi
	callq	_AV_RB16
	movl	%eax, %ebx
	addq	$24, %r12
	movq	_FF_DEBUG_STARTCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rdx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_av_log
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	sarq	$2, %rax
	movslq	%ebx, %r13
	cmpq	%r13, %rax
	jl	LBB0_42
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	cmpl	%eax, %r15d
	jne	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	leal	-128(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_31
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_dvbsub_parse_region_segment
	orl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	4(%rcx), %ecx
	cmpl	$-1, %ecx
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%ecx, %r15d
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_34
	jmp	LBB0_18
LBB0_31:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_ff_dlog
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_dvbsub_parse_page_segment
	orl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_33
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_dvbsub_parse_object_segment
	orl	$8, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_33
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_dvbsub_display_end_segment
	cmpl	$15, -44(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, 4(%r14)
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, 8(%r14)
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=1
	movabsq	$2473901163216, %rcx            ## imm = 0x240000002D0
	movq	%rcx, 4(%r14)
LBB0_30:                                ##   in Loop: Header=BB0_11 Depth=1
	orl	$16, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_33
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_dvbsub_parse_display_definition_segment
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_11 Depth=1
	testl	%eax, %eax
	js	LBB0_38
LBB0_34:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%r12,%r13,4), %r12
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	cmpq	$21, %rax
	jl	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$15, (%r12)
	je	LBB0_11
	jmp	LBB0_36
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_dvbsub_parse_clut_segment
	testl	%eax, %eax
	js	LBB0_38
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	orl	$4, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_34
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ff_dlog
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_41:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	cmpl	$15, -44(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_38
## %bb.37:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_dvbsub_display_end_segment
LBB0_38:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$1, 8(%rcx)
	jne	LBB0_40
## %bb.39:
	movq	_int64_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rcx), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	callq	_FFSWAP
LBB0_40:
	subq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	shrq	$2, %r12
	jmp	LBB0_41
LBB0_42:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ff_dlog
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_avsubtitle_free
	movl	$-1, %r12d
	jmp	LBB0_41
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_32
	.long	L0_0_set_23
	.long	L0_0_set_25
	.long	L0_0_set_24
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DVB sub packet:\n"

L_.str.1:                               ## @.str.1
	.asciz	"%02x "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

L_.str.3:                               ## @.str.3
	.asciz	"incomplete or broken packet"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_FF_DEBUG_STARTCODE,4,2         ## @FF_DEBUG_STARTCODE
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.4:                               ## @.str.4
	.asciz	"segment_type:%d page_id:%d segment_length:%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Subtitling segment type 0x%x, page id %d, length %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Missing display_end_segment, emulating\n"

	.comm	_int64_t,4,2                    ## @int64_t
	.no_dead_strip	_dvbsub_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dvbsub_decode
lCPI0_0:
	.long	720                             ; 0x2d0
	.long	576                             ; 0x240
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dvbsub_decode:                         ; @dvbsub_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	stp	x2, x1, [sp, #32]               ; 16-byte Folded Spill
	mov	x21, x0
	ldr	x27, [x3]
	ldr	w19, [x3, #8]
	ldr	x28, [x0, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ff_dlog
	cmp	w19, #1
	b.lt	LBB0_35
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x19, x20
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mvn	w24, w20
	ldr	w8, [x27, x20, lsl #2]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_ff_dlog
	tst	x24, #0xf
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ff_dlog
	b	LBB0_2
LBB0_5:
	tst	w19, #0xf
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_ff_dlog
LBB0_7:
	cmp	w19, #7
	b.lt	LBB0_35
; %bb.8:
	ldr	w8, [x27]
	cmp	w8, #15
	b.ne	LBB0_35
; %bb.9:
	mov	w23, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	add	x24, x27, x19, lsl #2
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	mov	x22, x27
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x22, #8
	ldr	w20, [x22, #4]
	bl	_AV_RB16
	mov	x26, x0
	add	x0, x22, #16
	bl	_AV_RB16
	mov	x25, x0
	ldr	w8, [x21]
Lloh10:
	adrp	x9, _FF_DEBUG_STARTCODE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FF_DEBUG_STARTCODE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh13:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x8, x25
	stp	x26, x8, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
Lloh16:
	adrp	x2, l_.str.4@PAGE
Lloh17:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_av_log
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #24
	sub	x8, x24, x22
	sxtw	x19, w25
	cmp	x19, x8, asr #2
	b.gt	LBB0_42
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x28]
	cmp	w26, w8
	b.ne	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w8, w20, #128
	cmp	w8, #5
	b.hi	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh18:
	adrp	x11, lJTI0_0@PAGE
Lloh19:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_16
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_dvbsub_parse_region_segment
	orr	w23, w23, #0x2
	b	LBB0_30
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x28, #4]
	cmn	w9, #1
	b.eq	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w26, w9
	b.eq	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	cmn	w8, #1
	b.ne	LBB0_31
	b	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x26, x25, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_ff_dlog
	b	LBB0_31
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	ldp	x4, x3, [sp, #32]               ; 16-byte Folded Reload
	bl	_dvbsub_parse_page_segment
	orr	w23, w23, #0x1
	b	LBB0_30
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_dvbsub_parse_object_segment
	orr	w23, w23, #0x8
	b	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	ldp	x4, x3, [sp, #32]               ; 16-byte Folded Reload
	bl	_dvbsub_display_end_segment
	cmp	w23, #15
	b.ne	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_10 Depth=1
	stur	d8, [x21, #4]
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=1
	orr	w23, w23, #0x10
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_dvbsub_parse_display_definition_segment
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=1
	tbnz	w0, #31, LBB0_39
LBB0_31:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, x19, lsl #2
	sub	x8, x24, x22
	cmp	x8, #21
	b.lt	LBB0_37
; %bb.32:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x22]
	cmp	w8, #15
	b.eq	LBB0_10
	b	LBB0_37
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_dvbsub_parse_clut_segment
	tbnz	w0, #31, LBB0_39
; %bb.34:                               ;   in Loop: Header=BB0_10 Depth=1
	orr	w23, w23, #0x4
	b	LBB0_31
LBB0_35:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_ff_dlog
Lloh24:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
LBB0_36:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_37:
	cmp	w23, #15
	b.ne	LBB0_39
; %bb.38:
Lloh27:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.6@PAGE
Lloh31:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_av_log
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	ldp	x4, x3, [sp, #32]               ; 16-byte Folded Reload
	bl	_dvbsub_display_end_segment
LBB0_39:
	ldr	w8, [x28, #8]
	cmp	w8, #1
	b.ne	LBB0_41
; %bb.40:
Lloh32:
	adrp	x8, _int64_t@GOTPAGE
Lloh33:
	ldr	x8, [x8, _int64_t@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w1, [x28, #12]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w2, [x8]
	bl	_FFSWAP
LBB0_41:
	sub	x8, x22, x27
	lsr	x0, x8, #2
	b	LBB0_36
LBB0_42:
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_ff_dlog
	ldp	x8, x0, [sp, #32]               ; 16-byte Folded Reload
	str	wzr, [x8]
	bl	_avsubtitle_free
	mov	w0, #-1
	b	LBB0_36
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_21-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_23-LBB0_16)>>2
	.byte	(LBB0_29-LBB0_16)>>2
	.byte	(LBB0_33-LBB0_16)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DVB sub packet:\n"

l_.str.1:                               ; @.str.1
	.asciz	"%02x "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

l_.str.3:                               ; @.str.3
	.asciz	"incomplete or broken packet"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_FF_DEBUG_STARTCODE,4,2         ; @FF_DEBUG_STARTCODE
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.4:                               ; @.str.4
	.asciz	"segment_type:%d page_id:%d segment_length:%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Subtitling segment type 0x%x, page id %d, length %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Missing display_end_segment, emulating\n"

	.comm	_int64_t,4,2                    ; @int64_t
	.no_dead_strip	_dvbsub_decode
.subsections_via_symbols
