	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_mpeg4hdr_to_package
_gen_mpeg4hdr_to_package:               ## @gen_mpeg4hdr_to_package
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$5120, %edi                     ## imm = 0x1400
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_PFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r13d
	movq	%r15, %r14
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_mpeg4_frame_header
	movl	%eax, (%r14)
	leaq	1472(%rbx), %rsi
	movq	_BFRAME_PRE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	callq	_mpeg4_frame_header
	movl	%eax, 4(%r14)
	leaq	8000(%rbx), %rsi
	movq	_BFRAME_POST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	callq	_mpeg4_frame_header
	movl	%eax, 8(%r14)
	leaq	13728(%rbx), %rsi
	movq	_BFRAME_BIDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	callq	_mpeg4_frame_header
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movl	%eax, 12(%r14)
	leaq	20256(%rbx), %rsi
	movq	_BFRAME_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	callq	_mpeg4_frame_header
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	20320(%rbx), %rsi
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_mpeg4_sequence_header
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movslq	%r13d, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	16(%rcx), %rbx
	movl	$15872, %r12d                   ## imm = 0x3E00
	movl	$25, -84(%rbp)                  ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$28, %ebx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	$4124, %edi                     ## imm = 0x101C
	callq	___cpu_to_le16
	movq	%rax, (%r14,%r15,8)
	movq	$0, 248(%r14,%r15,8)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movslq	%r13d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	leal	(%r12,%r12), %edx
	movq	%rbx, %rdi
	callq	_memcpy
	addq	$32, %r15
	leal	(%r13,%r12,2), %r13d
	addq	$256, %rbx                      ## imm = 0x100
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$-32, %rax
	cmpl	$5120, %r13d                    ## imm = 0x1400
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, %r14d
	cmpq	$32, %rax
	jl	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	callq	___cpu_to_le16
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 8(%r14,%r15,8)
	movl	$16384, %eax                    ## imm = 0x4000
	subl	%r12d, %eax
	cmpl	$16357, %r12d                   ## imm = 0x3FE5
	movl	$28, %ecx
	cmovll	%ecx, %eax
	leal	(%r13,%rax,2), %ecx
	movq	%r12, %rbx
	movl	$5120, %r12d                    ## imm = 0x1400
	subl	%r13d, %r12d
	shrl	%r12d
	cmpl	$5121, %ecx                     ## imm = 0x1401
	cmovll	%eax, %r12d
	cmpl	$27, %r12d
	jg	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	orl	$16384, %edi                    ## imm = 0x4000
	callq	___cpu_to_le16
	movq	%rax, (%r14,%r15,8)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	___cpu_to_le16
	movq	%rax, 248(%r14,%r15,8)
	leal	(%r12,%rbx), %edx
	xorl	%eax, %eax
	movl	$15872, %ecx                    ## imm = 0x3E00
	cmpl	$16384, %edx                    ## imm = 0x4000
	sete	%dl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%dl, %al
	addl	%eax, -84(%rbp)                 ## 4-byte Folded Spill
	movl	%ecx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_22
LBB0_10:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-144(%rbp), %r13                ## 8-byte Reload
	cmpq	$0, (%r13)
	movl	$2809, %eax                     ## imm = 0xAF9
	movl	$5369, %ecx                     ## imm = 0x14F9
	cmovel	%eax, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$5120, %edx                     ## imm = 0x1400
	callq	_memset
	movq	_PFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_mpeg4_frame_header
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movl	%eax, 16(%r12)
	movq	_BFRAME_PRE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	$1, %edx
	callq	_mpeg4_frame_header
	movl	%eax, 20(%r12)
	movq	_BFRAME_POST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	$1, %edx
	callq	_mpeg4_frame_header
	movl	%eax, 24(%r12)
	movq	_BFRAME_BIDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	$1, %edx
	callq	_mpeg4_frame_header
	movl	%eax, 28(%r12)
	movq	_BFRAME_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	$1, %edx
	callq	_mpeg4_frame_header
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%r15d, %eax
	movl	$15872, %ebx                    ## imm = 0x3E00
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	addl	$28, %ebx
	movq	%rbx, %r14
	movl	$4124, %edi                     ## imm = 0x101C
	callq	___cpu_to_le16
	movq	%rax, (%r12,%r15,8)
	movq	$0, 248(%r12,%r15,8)
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movslq	%r12d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	leal	(%r13,%r13), %edx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_memcpy
	addq	$32, %r15
	leal	(%r12,%r13,2), %r12d
	addq	$256, %rbx                      ## imm = 0x100
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	$-32, %eax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	cmpl	$5120, %r12d                    ## imm = 0x1400
	movq	%r14, %rbx
	jge	LBB0_19
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$32, %eax
	jl	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	callq	___cpu_to_le16
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, 8(%r12,%r15,8)
	movl	$16384, %eax                    ## imm = 0x4000
	subl	%ebx, %eax
	cmpl	$16357, %ebx                    ## imm = 0x3FE5
	movl	$28, %ecx
	cmovll	%ecx, %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%rax,2), %ecx
	movl	$5120, %r13d                    ## imm = 0x1400
	subl	%edx, %r13d
	shrl	%r13d
	cmpl	$5121, %ecx                     ## imm = 0x1401
	cmovll	%eax, %r13d
	cmpl	$27, %r13d
	jg	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r13d, %edi
	orl	$16384, %edi                    ## imm = 0x4000
	callq	___cpu_to_le16
	movq	%rax, (%r12,%r15,8)
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	___cpu_to_le16
	movq	%rax, 248(%r12,%r15,8)
	leal	(%rbx,%r13), %edx
	xorl	%eax, %eax
	movl	$15872, %ecx                    ## imm = 0x3E00
	cmpl	$16384, %edx                    ## imm = 0x4000
	sete	%dl
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, %ecx
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	%dl, %al
	addl	%eax, %r14d
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movl	%ecx, %r14d
	jmp	LBB0_18
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %r14d
	jmp	LBB0_21
LBB0_19:
	movl	%r15d, %r14d
LBB0_20:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_21:
	callq	_kfree
LBB0_22:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PFRAME,4,2                     ## @PFRAME
	.comm	_BFRAME_PRE,4,2                 ## @BFRAME_PRE
	.comm	_BFRAME_POST,4,2                ## @BFRAME_POST
	.comm	_BFRAME_BIDIR,4,2               ## @BFRAME_BIDIR
	.comm	_BFRAME_EMPTY,4,2               ## @BFRAME_EMPTY
	.no_dead_strip	_gen_mpeg4hdr_to_package
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_mpeg4hdr_to_package
_gen_mpeg4hdr_to_package:               ; @gen_mpeg4hdr_to_package
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	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
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w26, #5120
	mov	w0, #5120
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _PFRAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PFRAME@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	w2, #0
	bl	_mpeg4_frame_header
	str	w0, [x23]
	add	x1, x19, #1472
Lloh6:
	adrp	x8, _BFRAME_PRE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BFRAME_PRE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x22
	str	x1, [sp, #32]                   ; 8-byte Folded Spill
	mov	w2, #0
	bl	_mpeg4_frame_header
	str	w0, [x23, #4]
	mov	w8, #8000
	add	x1, x19, x8
Lloh9:
	adrp	x8, _BFRAME_POST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BFRAME_POST@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x22
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	w2, #0
	bl	_mpeg4_frame_header
	str	w0, [x23, #8]
	mov	w8, #13728
	add	x1, x19, x8
Lloh12:
	adrp	x8, _BFRAME_BIDIR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BFRAME_BIDIR@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x22
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	w2, #0
	bl	_mpeg4_frame_header
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	str	w0, [x23, #12]
	mov	w8, #20256
	add	x1, x19, x8
Lloh15:
	adrp	x8, _BFRAME_EMPTY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BFRAME_EMPTY@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x22
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	w2, #0
	bl	_mpeg4_frame_header
	mov	w8, #20320
	add	x1, x19, x8
	str	x22, [sp, #48]                  ; 8-byte Folded Spill
	mov	x0, x22
	mov	w2, #0
	bl	_mpeg4_sequence_header
	mov	x25, #0
	mov	w27, #0
	str	x20, [sp, #56]                  ; 8-byte Folded Spill
	sxtw	x23, w20
	mov	w28, #25
	mov	w20, #28
	mov	w22, #15872
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #28
	mov	w0, #4124
	bl	___cpu_to_le16
	str	x0, [x21]
	str	xzr, [x21, #248]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x21, #16
	lsl	w24, w24, #1
	add	x1, x19, w27, sxtw #2
	mov	x2, x24
	bl	_memcpy
	add	x21, x21, #256
	sub	x25, x25, #32
	add	w27, w24, w27
	cmp	w27, w26
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x23, x25
	cmp	x8, #32
	b.lt	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w0, w22, #0x8000
	bl	___cpu_to_le16
	str	x0, [x21, #8]
	mov	w8, #16384
	sub	w8, w8, w22
	mov	w9, #16356
	cmp	w22, w9
	csel	w8, w8, w20, gt
	add	w9, w27, w8, lsl #1
	sub	w10, w26, w27
	lsr	w10, w10, #1
	cmp	w9, w26
	csel	w24, w10, w8, gt
	cmp	w24, #27
	b.gt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w0, w24, #0x4000
	bl	___cpu_to_le16
	str	x0, [x21]
	mov	x0, x28
	bl	___cpu_to_le16
	str	x0, [x21, #248]
	add	w8, w24, w22
	cmp	w8, #4, lsl #12                 ; =16384
	mov	w8, #15872
	csel	w22, w8, w22, eq
	cinc	w28, w28, eq
	b	LBB0_3
LBB0_7:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_17
LBB0_8:
	ldr	x20, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x8, [x20]
	cmp	x8, #0
	mov	w8, #5369
	mov	w9, #2809
	csel	w28, w9, w8, eq
	mov	w24, #5120
	mov	x0, x19
	mov	w1, #0
	mov	w2, #5120
	bl	_memset
Lloh21:
	adrp	x8, _PFRAME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PFRAME@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_mpeg4_frame_header
	ldp	x1, x22, [sp, #32]              ; 16-byte Folded Reload
	str	w0, [x22, #16]
Lloh24:
	adrp	x8, _BFRAME_PRE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BFRAME_PRE@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_mpeg4_frame_header
	str	w0, [x22, #20]
Lloh27:
	adrp	x8, _BFRAME_POST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BFRAME_POST@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	mov	x0, x20
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	w2, #1
	bl	_mpeg4_frame_header
	str	w0, [x22, #24]
Lloh30:
	adrp	x8, _BFRAME_BIDIR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BFRAME_BIDIR@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x20
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	w2, #1
	bl	_mpeg4_frame_header
	str	w0, [x22, #28]
Lloh33:
	adrp	x8, _BFRAME_EMPTY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BFRAME_EMPTY@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	w2, #1
	bl	_mpeg4_frame_header
	mov	w20, #0
	mov	w27, #16356
	mov	w23, #28
	mov	w26, #15872
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	w26, w26, #28
	mov	w0, #4124
	bl	___cpu_to_le16
	str	x0, [x21]
	str	xzr, [x21, #248]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x0, x21, #16
	lsl	w22, w22, #1
	add	x1, x19, w20, sxtw #2
	mov	x2, x22
	bl	_memcpy
	add	x21, x21, #256
	sub	w25, w25, #32
	add	w20, w22, w20
	cmp	w20, w24
	b.ge	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	w8, w8, w25
	cmp	w8, #32
	b.lt	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	orr	w0, w26, #0x8000
	bl	___cpu_to_le16
	str	x0, [x21, #8]
	mov	w8, #16384
	sub	w8, w8, w26
	cmp	w26, w27
	csel	w8, w8, w23, gt
	add	w9, w20, w8, lsl #1
	sub	w10, w24, w20
	lsr	w10, w10, #1
	cmp	w9, w24
	csel	w22, w10, w8, gt
	cmp	w22, #27
	b.gt	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	orr	w0, w22, #0x4000
	bl	___cpu_to_le16
	str	x0, [x21]
	mov	x0, x28
	bl	___cpu_to_le16
	str	x0, [x21, #248]
	add	w8, w22, w26
	cmp	w8, #4, lsl #12                 ; =16384
	mov	w8, #15872
	csel	w26, w8, w26, eq
	cinc	w28, w28, eq
	b	LBB0_10
LBB0_14:
	mov	w20, #-1
	b	LBB0_16
LBB0_15:
	neg	w20, w25
LBB0_16:
	mov	x0, x19
	bl	_kfree
LBB0_17:
	mov	x0, x20
	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
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PFRAME,4,2                     ; @PFRAME
	.comm	_BFRAME_PRE,4,2                 ; @BFRAME_PRE
	.comm	_BFRAME_POST,4,2                ; @BFRAME_POST
	.comm	_BFRAME_BIDIR,4,2               ; @BFRAME_BIDIR
	.comm	_BFRAME_EMPTY,4,2               ; @BFRAME_EMPTY
	.no_dead_strip	_gen_mpeg4hdr_to_package
.subsections_via_symbols
