	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_element_descriptors
_decode_element_descriptors:            ## @decode_element_descriptors
	.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	%rdx, %rbx
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_bits_bytes_left
	cmpl	$3, %eax
	jl	LBB0_15
## %bb.1:
	movslq	-48(%rbp), %r14                 ## 4-byte Folded Reload
	shlq	$5, %r14
	jmp	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	$129, (%rax,%r14)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_update_pes_kind
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	shll	$3, %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_bits_skip
	movq	%rbx, %rdi
	callq	_bits_bytes_left
	cmpl	$2, %eax
	jle	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r13
	leal	-86(%r12), %eax
	cmpl	$36, %eax
	ja	LBB0_3
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	$0, (%rax,%r14)
	movq	_N@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax,%r14)
	movl	4(%rax,%r14), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$10, %r12d
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$5, %r12d
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_bits_get
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx,%r14)
	leal	-32(,%r13,8), %esi
	movq	%rbx, %rdi
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	$0, (%rax,%r14)
	movq	_N@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax,%r14)
	movl	4(%rax,%r14), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$80, %edx
	callq	_strncpy
	jmp	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	$135, (%rax,%r14)
	jmp	LBB0_12
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movb	%al, -43(%rbp)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movb	%al, -42(%rbp)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movb	%al, -41(%rbp)
	leaq	-43(%rbp), %rdi
	callq	_lang_for_code2
	movl	%eax, %edi
	callq	_lang_to_code
	movq	(%r15), %rcx
	movl	%eax, 16(%rcx,%r14)
	leal	-24(,%r13,8), %esi
	movq	%rbx, %rdi
	jmp	LBB0_14
LBB0_15:
	addq	$8, %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_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_N,8,3                          ## @N
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DVB Teletext"

L_.str.1:                               ## @.str.1
	.asciz	"DVB Subtitling"

	.no_dead_strip	_decode_element_descriptors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_element_descriptors
_decode_element_descriptors:            ; @decode_element_descriptors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_bits_bytes_left
	cmp	w0, #3
	b.lt	LBB0_16
; %bb.1:
Lloh0:
	adrp	x26, lJTI0_0@PAGE
Lloh1:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x27, _N@GOTPAGE
Lloh3:
	ldr	x27, [x27, _N@GOTPAGEOFF]
	sxtw	x28, w20
	lsl	x22, x28, #5
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	mov	w9, #129
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x8, x22]
	mov	x0, x21
	mov	x1, x20
	bl	_update_pes_kind
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	lsl	w1, w24, #3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_bits_skip
	mov	x0, x19
	bl	_bits_bytes_left
	cmp	w0, #2
	b.le	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #8
	bl	_bits_get
	mov	x25, x0
	mov	x0, x19
	mov	w1, #8
	bl	_bits_get
	mov	x24, x0
	sub	w8, w25, #86
	cmp	w8, #36
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	add	x8, x8, x28, lsl #5
	str	wzr, [x8]
	ldr	x9, [x27]
	str	x9, [x8, #8]
	ldr	w0, [x8, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #10
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #5
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	w1, #32
	bl	_bits_get
	ldr	x8, [x21]
	add	x8, x8, x28, lsl #5
	str	x0, [x8, #24]
	lsl	w8, w24, #3
	sub	w1, w8, #32
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	add	x8, x8, x28, lsl #5
	str	wzr, [x8]
	ldr	x9, [x27]
	str	x9, [x8, #8]
	ldr	w0, [x8, #4]
	mov	x1, x23
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w2, #80
	bl	_strncpy
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	mov	w9, #135
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	w1, #8
	bl	_bits_get
	strb	w0, [sp, #13]
	mov	x0, x19
	mov	w1, #8
	bl	_bits_get
	strb	w0, [sp, #14]
	mov	x0, x19
	mov	w1, #8
	bl	_bits_get
	strb	w0, [sp, #15]
	add	x0, sp, #13
	bl	_lang_for_code2
	bl	_lang_to_code
	ldr	x8, [x21]
	add	x8, x8, x28, lsl #5
	str	w0, [x8, #16]
	lsl	w8, w24, #3
	sub	w1, w8, #24
	b	LBB0_5
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_N,8,3                          ; @N
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DVB Teletext"

l_.str.1:                               ; @.str.1
	.asciz	"DVB Subtitling"

	.no_dead_strip	_decode_element_descriptors
.subsections_via_symbols
