	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpeg4_encode_blocks
_mpeg4_encode_blocks:                   ## @mpeg4_encode_blocks
	.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
	movq	%r8, %r10
	movq	%rcx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movq	_AV_CODEC_FLAG2_NO_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rcx), %eax
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	%rdx, %r15
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	8(%rbx), %r13
	movl	(%r15), %ecx
	movq	(%r12), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_mpeg4_get_block_length
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	256(%r14), %rsi
	movl	4(%r15), %ecx
	movq	8(%r12), %r8
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_mpeg4_get_block_length
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	512(%r14), %rsi
	movl	8(%r15), %ecx
	movq	16(%r12), %r8
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_mpeg4_get_block_length
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	768(%r14), %rsi
	movl	12(%r15), %ecx
	movq	24(%r12), %r8
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_mpeg4_get_block_length
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	1024(%r14), %rsi
	movl	16(%r15), %ecx
	movq	32(%r12), %r8
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_mpeg4_get_block_length
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	addq	$1280, %r14                     ## imm = 0x500
	movl	20(%r15), %ecx
	movq	40(%r12), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	callq	_mpeg4_get_block_length
	movq	%r13, %rdi
	jmp	LBB0_6
LBB0_4:
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	leaq	8(%rbx), %r15
	movq	(%rbx), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mpeg4_get_block_length
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	256(%r14), %rsi
	movq	(%rbx), %r8
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mpeg4_get_block_length
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	512(%r14), %rsi
	movq	(%rbx), %r8
	movq	%rbx, %rdi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_mpeg4_get_block_length
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	768(%r14), %rsi
	movq	(%rbx), %r8
	movq	%rbx, %rdi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_mpeg4_get_block_length
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	leaq	1024(%r14), %rsi
	movq	(%rbx), %r8
	movq	%rbx, %rdi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_mpeg4_get_block_length
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skip_put_bits
	addq	$1280, %r14                     ## imm = 0x500
	movq	(%rbx), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	callq	_mpeg4_get_block_length
	movq	%r15, %rdi
LBB0_6:
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skip_put_bits                  ## TAILCALL
LBB0_2:
	movl	(%r15), %ecx
	movq	(%r12), %r8
	movq	%r9, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r10, -48(%rbp)                 ## 8-byte Spill
	movq	%r9, %r13
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r10, %r9
	callq	_mpeg4_encode_block
	leaq	256(%r14), %rsi
	movl	4(%r15), %ecx
	movq	8(%r12), %r8
	movq	%r13, (%rsp)
	movq	%rbx, %rdi
	movl	$1, %edx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	callq	_mpeg4_encode_block
	leaq	512(%r14), %rsi
	movl	8(%r15), %ecx
	movq	16(%r12), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$2, %edx
	movq	%r13, %r9
	callq	_mpeg4_encode_block
	leaq	768(%r14), %rsi
	movl	12(%r15), %ecx
	movq	24(%r12), %r8
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, (%rsp)
	movq	%rbx, %rdi
	movl	$3, %edx
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	_mpeg4_encode_block
	leaq	1024(%r14), %rsi
	movl	16(%r15), %ecx
	movq	32(%r12), %r8
	movq	%r13, (%rsp)
	movq	%rbx, %rdi
	movl	$4, %edx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	callq	_mpeg4_encode_block
	addq	$1280, %r14                     ## imm = 0x500
	movl	20(%r15), %ecx
	movq	40(%r12), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	movq	%r13, %r9
	jmp	LBB0_8
LBB0_7:
	movq	(%rbx), %r8
	movq	%r9, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r10, %r15
	movq	%r9, %r12
	movq	%r10, %r9
	callq	_mpeg4_encode_block
	leaq	256(%r14), %rsi
	movq	(%rbx), %r8
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_mpeg4_encode_block
	leaq	512(%r14), %rsi
	movq	(%rbx), %r8
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movl	$2, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_mpeg4_encode_block
	leaq	768(%r14), %rsi
	movq	(%rbx), %r8
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movl	$3, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_mpeg4_encode_block
	leaq	1024(%r14), %rsi
	movq	(%rbx), %r8
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_mpeg4_encode_block
	addq	$1280, %r14                     ## imm = 0x500
	movq	(%rbx), %r8
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r9
LBB0_8:
	callq	_mpeg4_encode_block
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_FLAG2_NO_OUTPUT,4,2   ## @AV_CODEC_FLAG2_NO_OUTPUT
	.no_dead_strip	_mpeg4_encode_blocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpeg4_encode_blocks
_mpeg4_encode_blocks:                   ; @mpeg4_encode_blocks
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x5
	mov	x24, x4
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _AV_CODEC_FLAG2_NO_OUTPUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_FLAG2_NO_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	x3, LBB0_3
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	cbz	w8, LBB0_6
; %bb.2:
	add	x23, x19, #8
	ldr	w3, [x22]
	ldr	x4, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x23
	bl	_skip_put_bits
	add	x1, x20, #256
	ldr	w3, [x22, #4]
	ldr	x4, [x21, #8]
	mov	x0, x19
	mov	w2, #1
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x23
	bl	_skip_put_bits
	add	x1, x20, #512
	ldr	w3, [x22, #8]
	ldr	x4, [x21, #16]
	mov	x0, x19
	mov	w2, #2
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x23
	bl	_skip_put_bits
	add	x1, x20, #768
	ldr	w3, [x22, #12]
	ldr	x4, [x21, #24]
	mov	x0, x19
	mov	w2, #3
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x23
	bl	_skip_put_bits
	add	x1, x20, #1024
	ldr	w3, [x22, #16]
	ldr	x4, [x21, #32]
	mov	x0, x19
	mov	w2, #4
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x23
	bl	_skip_put_bits
	add	x1, x20, #1280
	ldr	w3, [x22, #20]
	ldr	x4, [x21, #40]
	mov	x0, x19
	mov	w2, #5
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x23
	b	LBB0_5
LBB0_3:
	cbz	w8, LBB0_7
; %bb.4:
	add	x21, x19, #8
	ldr	x4, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x21
	bl	_skip_put_bits
	add	x1, x20, #256
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x21
	bl	_skip_put_bits
	add	x1, x20, #512
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x21
	bl	_skip_put_bits
	add	x1, x20, #768
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x21
	bl	_skip_put_bits
	add	x1, x20, #1024
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x21
	bl	_skip_put_bits
	add	x1, x20, #1280
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #0
	bl	_mpeg4_get_block_length
	mov	x1, x0
	mov	x0, x21
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_skip_put_bits
LBB0_6:
	ldr	w3, [x22]
	ldr	x4, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #256
	ldr	w3, [x22, #4]
	ldr	x4, [x21, #8]
	mov	x0, x19
	mov	w2, #1
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #512
	ldr	w3, [x22, #8]
	ldr	x4, [x21, #16]
	mov	x0, x19
	mov	w2, #2
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #768
	ldr	w3, [x22, #12]
	ldr	x4, [x21, #24]
	mov	x0, x19
	mov	w2, #3
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #1024
	ldr	w3, [x22, #16]
	ldr	x4, [x21, #32]
	mov	x0, x19
	mov	w2, #4
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #1280
	ldr	w3, [x22, #20]
	ldr	x4, [x21, #40]
	mov	x0, x19
	mov	w2, #5
	b	LBB0_8
LBB0_7:
	ldr	x4, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #256
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #512
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #0
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #768
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #0
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #1024
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #0
	mov	x5, x24
	mov	x6, x23
	bl	_mpeg4_encode_block
	add	x1, x20, #1280
	ldr	x4, [x19]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #0
LBB0_8:
	mov	x5, x24
	mov	x6, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mpeg4_encode_block
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_FLAG2_NO_OUTPUT,4,2   ; @AV_CODEC_FLAG2_NO_OUTPUT
	.no_dead_strip	_mpeg4_encode_blocks
.subsections_via_symbols
