	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpeg4_frame_header
_mpeg4_frame_header:                    ## @mpeg4_frame_header
	.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
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	_c@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	addq	$6, %rsi
	callq	_CODE_GEN
	movl	(%r14), %r15d
	movl	4(%r14), %ebx
	sarl	$4, %r15d
	sarl	$4, %ebx
	movl	(%r12), %edi
	xorl	%eax, %eax
	cmpl	$128, %r13d
	sete	%al
	movl	$2, %esi
	subl	%eax, %esi
	movl	$2, %edx
	callq	_CODE_ADD
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_CODE_ADD
LBB0_2:
	imull	%r15d, %ebx
	movl	(%r12), %edi
	movl	$1, %esi
	movl	$2, %edx
	callq	_CODE_ADD
	movl	(%r12), %r15d
	movq	%r14, %rdi
	callq	_vti_bitlen
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_CODE_ADD
	movl	(%r12), %edi
	movl	$3, %esi
	movl	$2, %edx
	callq	_CODE_ADD
	movl	(%r12), %edi
	cmpl	$128, %r13d
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_CODE_ADD
	movl	(%r12), %edi
	movl	$12, %esi
	movl	$11, %edx
	callq	_CODE_ADD
	jmp	LBB0_5
LBB0_4:
	movl	$12, %esi
	movl	$11, %edx
	callq	_CODE_ADD
	movl	(%r12), %edi
	movl	$4, %esi
	movl	$3, %edx
	callq	_CODE_ADD
	cmpl	$131, %r13d
	je	LBB0_16
LBB0_5:
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.6:
	addl	$-128, %r13d
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edi
	movl	$95, %esi
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$8, %edx
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	callq	_CODE_ADD
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	decl	%ebx
	je	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$4, %r13d
	ja	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r14,%r13,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edi
	movl	$1, %esi
	movl	$1, %edx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edi
	movl	$71, %esi
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edi
	movl	$39, %esi
	movl	$7, %edx
	jmp	LBB0_14
LBB0_16:
	movl	(%r12), %edi
	callq	_CODE_LENGTH
	movl	%eax, %r14d
	leal	7(%r14), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	andl	$-8, %ebx
	movl	(%r12), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_CODE_ADD
	movl	(%r12), %edi
	subl	%r14d, %ebx
	addl	$7, %ebx
	movl	$-1, %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	notl	%esi
	movl	%ebx, %edx
	callq	_CODE_ADD
	movl	(%r12), %edi
	callq	_CODE_LENGTH
	addl	$32, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx)
	movb	%ah, 1(%rcx)
	movl	$-1241448448, 2(%rcx)           ## imm = 0xB6010000
	addq	$24, %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_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_c,4,2                          ## @c
	.no_dead_strip	_mpeg4_frame_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpeg4_frame_header
_mpeg4_frame_header:                    ; @mpeg4_frame_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _c@GOTPAGE
Lloh1:
	ldr	x23, [x23, _c@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x1, x1, #6
	bl	_CODE_GEN
	ldp	w8, w9, [x21]
	asr	w24, w8, #4
	asr	w25, w9, #4
	ldr	w0, [x23]
	cmp	w20, #128
	mov	w8, #1
	cinc	w1, w8, ne
	mov	w2, #2
	bl	_CODE_ADD
	cbz	w22, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	mov	w1, #1
	mov	w2, #1
	bl	_CODE_ADD
LBB0_2:
	mul	w24, w25, w24
	ldr	w0, [x23]
	mov	w1, #1
	mov	w2, #2
	bl	_CODE_ADD
	ldr	w22, [x23]
	mov	x0, x21
	bl	_vti_bitlen
	mov	x2, x0
	mov	x0, x22
	mov	w1, #0
	bl	_CODE_ADD
	ldr	w0, [x23]
	mov	w1, #3
	mov	w2, #2
	bl	_CODE_ADD
	ldr	w0, [x23]
	subs	w21, w20, #128
	b.ne	LBB0_4
; %bb.3:
	mov	w1, #0
	mov	w2, #1
	bl	_CODE_ADD
	ldr	w0, [x23]
	mov	w1, #12
	mov	w2, #11
	bl	_CODE_ADD
	cmp	w24, #0
	b.gt	LBB0_6
	b	LBB0_16
LBB0_4:
	mov	w1, #12
	mov	w2, #11
	bl	_CODE_ADD
	ldr	w0, [x23]
	mov	w1, #4
	mov	w2, #3
	bl	_CODE_ADD
	cmp	w20, #131
	b.eq	LBB0_16
; %bb.5:
	cmp	w24, #1
	b.lt	LBB0_16
LBB0_6:
Lloh2:
	adrp	x20, lJTI0_0@PAGE
Lloh3:
	add	x20, x20, lJTI0_0@PAGEOFF
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x23]
	mov	w1, #95
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w2, #8
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	bl	_CODE_ADD
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	w21, #4
	b.hi	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	adr	x8, LBB0_7
	ldrb	w9, [x20, x21]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x23]
	mov	w1, #1
	mov	w2, #1
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x23]
	mov	w1, #71
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x23]
	mov	w1, #39
	mov	w2, #7
	b	LBB0_9
LBB0_16:
	ldr	w0, [x23]
	bl	_CODE_LENGTH
	negs	w8, w0
	and	w8, w8, #0x7
	and	w9, w0, #0x7
	csneg	w20, w9, w8, mi
	ldr	w0, [x23]
	mov	w1, #0
	mov	w2, #1
	bl	_CODE_ADD
	ldr	w0, [x23]
	mov	w8, #7
	sub	w2, w8, w20
	mov	w8, #-1
	lsl	w8, w8, w2
	mvn	w1, w8
	bl	_CODE_ADD
	ldr	w0, [x23]
	bl	_CODE_LENGTH
	add	w0, w0, #32
	strb	w0, [x19]
	lsr	w8, w0, #8
	strb	w8, [x19, #1]
	mov	w8, #-1241448448
	stur	w8, [x19, #2]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_c,4,2                          ; @c
	.no_dead_strip	_mpeg4_frame_header
.subsections_via_symbols
